godot/platform/web
Juan Linietsky 2b815df3c1 Use BitField<> in core type masks
* All core types masks are now correctly marked as bitfields.
* The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks.
* Most bitmask operations replaced by functions in BitField<>
* Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is.
* Documentation and API dump updated to reflect bitfields in core types.
2023-01-08 22:17:40 +01:00
..
api One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
export One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
js One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
.eslintrc.engine.js [Web] Add feature detection helpers to JS Engine class. 2022-09-17 11:21:17 +02:00
.eslintrc.html.js [Web] Add auto-formatting to HTML files. 2022-10-11 19:42:12 +02:00
.eslintrc.js [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
.eslintrc.libs.js [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
audio_driver_web.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
audio_driver_web.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
detect.py ci: add Python static analysis check via mypy 2022-09-30 19:03:17 +07:00
display_server_web.cpp Use BitField<> in core type masks 2023-01-08 22:17:40 +01:00
display_server_web.h Add support for the custom initial screen for the main window, fix primary screen detection. 2023-01-07 11:14:35 +02:00
dom_keys.inc One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
emscripten_helpers.py SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00
godot_audio.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
godot_js.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
godot_webgl2.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
http_client_web.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
http_client_web.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
javascript_bridge_singleton.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
logo.png [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
os_web.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
os_web.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
package-lock.json CI: Update minimatch npm dependency to silence security report 2022-10-31 11:52:52 +01:00
package.json [Web] Add auto-formatting to HTML files. 2022-10-11 19:42:12 +02:00
platform_config.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
README.md [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
run_icon.png [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
SCsub Get WebXR fully working in Godot 4! 2022-12-01 21:46:30 -06:00
serve.py [Web] Add the "serve" and "run" scons targets. 2022-10-12 22:29:35 +02:00
web_main.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
web_runtime.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00

Web platform port

This folder contains the C++ and JavaScript code for the Web platform port, compiled using Emscripten.

It also contains a ESLint linting setup (see package.json).

See also misc/dist/html folder for additional files used by this platform such as the html shell (web page).

Documentation

Artwork license

logo.png and run_icon.png are licensed under Creative Commons Attribution 3.0 Unported per the HTML5 logo usage guidelines.