Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-21 | [HTML5] Libraries refactor for linting. | Fabio Alessandrelli | |
Initial work to make liniting easier. This includes: - Rename http_request.js to library_godot_http_request.js. - Rename externs.js to engine.externs.js. - New library_godot_runtime.js (GodotRuntime) wraps around emscripten functions. - Refactor of XMLHttpRequest handler in engine/preloader.js. - Few fixes to bugs spotted by early stage linting. | |||
2020-11-16 | Remove empty lines around braces with the formatting script | Aaron Franke | |
2020-11-10 | [HTML5] Port JavaScript inline code to libraries. | Fabio Alessandrelli | |
The API is implemented in javascript, and generates C functions that can be called from godot. This allows much cleaner code replacing all `EM_ASM` calls in our C++ code with plain C function calls. This also gets rid of few hacks and comes with few optimizations (e.g. custom cursor shapes should be much faster now). |