Age | Commit message (Collapse) | Author |
|
Fix WebAudio and HTML5 build
|
|
|
|
Physics server plug
|
|
Moved init_physics
Implemented physics 2D plug
Fix clang
Fix clang
Fix static check
Fix clang
Fix static check
Moved physics server initialization
Moved physics server settings initialization
|
|
|
|
|
|
Improve JavaScript calls, allow passing byte arrays to GDScript
|
|
- Allow returning ArrayBuffer and views as PoolByteArray
- Return real_t for integral numbers
- Read all color channels as 0.0 - 1.0 floating point numbers
|
|
Add OS::is_userfs_persistent, allow starting HTML5 platform in private mode
|
|
Extract logging logic
|
|
Allows starting HTML5 export when IndexedDB is not available.
|
|
Previously WebAssembly.compile was used along with the secondary
WebAssembly.instantiate overload. Using only the primary overload is
recommended to get best performance.
|
|
|
|
|
|
|
|
Previously logging logic was scattered over OS class implementations
with plenty of duplication. Major changes in this commit:
- Extracted logging logic into a separate Logger hierarchy. It allows
easy configuration of logging mechanism depending on compile-time or
run-time configuration.
- Implemented RotatedFileLogger which is usually used with StdLogger,
providing persistency of logs. It is often important to be able to
obtain logs of the game even in production to be able to understand
what happened prior to some problem. On mobile there previously was
no way to obtain the logs aside from having the device connected to
your machine.
- flush() is not performed in release mode for every logged line. It
is only performed for errors.
|
|
Regression from 844c5e12e664e3212feacc9ee3200e116556fbc7
|
|
Fix crash when no audio driver is available
|
|
|
|
Add missed bindings for enums
Move some enums to class to have correct output of api.json
|
|
HTML5 start-up overhaul with download progress display
|
|
- Implement promise-based JS interface for custom HTML page
integration
- Add download progress callback
- Add progress bar and indeterminate spinner to default HTML page
- Try downloading files multiple times when failing
- Get rid of godotfs.js
- Separate steps for engine initialization, game initialization and game
start
- Allow multiple games on one HTML page
- Substitution placeholders only used in .html file
- Placeholders renamed: $GODOT_BASE => $GODOT_BASENAME,
$GODOT_TMEM -> $GODOT_TOTAL_MEMORY
- Emscripten Module is now Engine.RuntimeEnvironment (no longer a global)
|
|
Prevent sending MainLoop notifications before initialized
|
|
|
|
- The Windows, UWP, Android (on Windows) and Linux builds are
tested with Scons 3.0 alpha using Python 3.
- OSX and iOS should hopefully work but are not tested since
I don't have a Mac.
- Builds using SCons 2.5 and Python 2 should not be impacted.
|
|
|
|
|
|
|
|
|
|
Implement OS.has_touchscreen_ui_hint() in HTML5 platform
|
|
Improve HTML5 canvas management
|
|
Closes #7695
|
|
- set_window_maximized hides page content
- Fix sporadic full-screen render-size bug in Chromium
- Smoother resizing for maximized canvas
|
|
|
|
Implement input focus behavior in HTML5
|
|
- Key and mouse events are only consumed if canvas is focused
- NOTIFICATION_WM_MOUSE_ENTER, _MOUSE_EXIT, _FOCUS_IN and _FOCUS_OUT are
emitted
|
|
-Added system for feature overrides, it's pretty cool :)
|
|
|
|
Tried to organize the configure(env) calls in sections, using the same order
for all platforms whenever possible.
Apart from cosmetic changes, the following issues were fixed:
- Android: cleanup linkage, remove GLESv1_CM and GLESv2
- iPhone: Remove obsolete "ios_gles22_override" option
- OSX:
* Fix bits detection (default to 64) and remove obsolete "force_64_bits" option
(closes #9449)
* Make "fat" bits argument explicit
- Server: sync with X11
- Windows: clean up old DirectX 9 stuff
- X11:
* Do not require system OpenSSL for building (closes #9443)
* Fix typo'ed use_leak_sanitizer option
* Fix .llvm suffix overriding custom extra_suffix
|
|
|
|
|
|
|
|
|
|
this might cause bugs I haven't found yet..
|
|
|
|
HTML5: Cursor style control
|
|
|
|
Remove GLUT usage in HTML5 platform
|
|
MOUSE_MODE_CONFINED cannot be implemented.
|
|
Regression from 86f5ac3
|