Age | Commit message (Collapse) | Author |
|
|
|
|
|
Detect channel count and mix rate in HTML5 audio driver
|
|
Refactor WebAudio driver.
|
|
This also removes `unix_global_settings_path` from SConstruct
since it is no longer used.
|
|
new one.
|
|
|
|
|
|
Initialized the PID to -2, which will be the value returns in blocking-
mode where the PID is not available. (-1 was already taken to signify an
execution failure).
OS::execute will now properly return a non-OK error code when it fails
to execute the target file.
The documentation was rewritten to be very clear about the differences
between blocking and non-blocking mode.
Fixes #19056.
|
|
|
|
|
|
Add validation in set_custom_mouse_cursor
|
|
Check if the image is valid.
|
|
|
|
Javascript: Remove weird log
|
|
|
|
[x11] Preserve window size when calling this method.
[osx] Make sure it don't make the window resizable if it's not needed.
[windows] clean up the code.
|
|
Fix mouse confined and set_borderless_window
|
|
Fix cursor not displaying arrow when transiting from mode captured to visible.
|
|
Fix cursor not displaying arrow when transiting from mode captured to
visible.
|
|
|
|
- Fix a bug when mouse is confined don't update the cursor shape.
- Don't let the mouse leave the window when resizing to a smaller
resolution when MOUSE_MODE_CONFINED.
- Fix set_borderless_window to preserve the actual video_mode.widht/height.
|
|
Build HTML5 release_debug with -Os
|
|
Dummy texture importer
|
|
The increased build time is negligible in comparison to the decreased
file size.
|
|
Drop logic for non-existent 'profile' target
|
|
Catch NSException in macOS run loop to prevent crashs
|
|
|
|
Fix custom cursor disappearing on osx
|
|
PR #18675 (commit 96301e9) revealed a problem with how iOS lifecycle
callbacks were handled by Godot. Before that PR it was possible to get
NOTIFICATION_WM_FOCUS_IN callback without getting the corresponding
NOTIFICATION_WM_FOCUS_OUT. That commit added a flag to ensure they are
always coupled, but now there is an issue when, for example, you open a
notification panel on iOS without moving the app to background.
It resulted in view.stopAnimation being called without the
corresponding startAnimation when the app moves to foreground again, so
it looked like the game hanged.
I changed focus out notification to be sent in applicationWillResignActive,
because it makes more sense than to do it in applicationDidEnterBackground,
because it is always called in pair with applicationDidBecomeActive, where
focus in is sent. applicationDidEnterBackground may not come under
circumstances that are now described as a comment in code.
|
|
|
|
Facilitate using non-default filename extensions in HTML5 platform
|
|
Use local path for custom HTML5 shell export
|
|
|
|
Allows using startGame() with main packs exported as .zip, but also any
other custom extension, for example if a web game host does not allow
the .pck filename extension.
|
|
Fix keyboard focus lock-out with HTML5 canvas in iframe
|
|
Some web game hosts only allow certain filename extensions. If .wasm is
not allowed, this function allows overriding the WebAssembly filename
extension to work around that restriction.
|
|
|
|
Fix relative motion with captured mouse in HTML5 platform
|
|
|
|
|
|
guilhermefelipecgs/support_for_atlas_tex_on_cursor_2
Add support for atlas texture on set_custom_mouse_cursor
|
|
|
|
Added a dummy importer for textures to use with the server platform.
Allows for running a project in headless mode without crashing when loading scenes containing textured objects
Also as a result decreases load time as no image files have to be loaded.
|
|
|
|
Remove android compatibility under API 16
|
|
|
|
Experimental support for windows with per-pixel transparency.
|
|
Matches the change for 2.1 in #18626, and the new requirements from Google
for new apps starting with August 2018 (targetSdkVersion 26 or higher):
https://android-developers.googleblog.com/2017/12/improving-app-security-and-performance.html
|
|
Windows detect.py: Detect missing WindowsSdkDir
|