Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [HTML5] Libraries refactor for linting. | Fabio Alessandrelli | 2020-11-21 | 1 | -85/+0 |
| | | | | | | | | | | | | 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. | ||||
* | Remove empty lines around braces with the formatting script | Aaron Franke | 2020-11-16 | 1 | -2/+0 |
| | |||||
* | [HTML5] Port JavaScript inline code to libraries. | Fabio Alessandrelli | 2020-11-10 | 1 | -0/+87 |
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). |