Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
Input source types are not pure bit flags, they are combinations of
flags, so != 0 check was incorrect and resulted in crashes later, when
trying to obtain the device.
|
|
Starting from April 2018 Apple no longer accepts apps that do not
support iPhone X. For games this mainly means respecting the safe area,
unobstructed by notch and virtual home button. UI controls must be
placed within the safe area so that users can interact with them.
This commit:
- Adds OS::get_window_safe_area method that returns unobscured area of
the window, where interactive controls should be rendered.
- Reorganizes how launch screens are exported - the previous way was
incorrect and modern iPhones did not pick up the correct screens and
because of that used a non-native resolution to render the game.
- Adds launch screen options for iPhone X.
- Makes launch screens optional in the export template. If not
specified, a white screen will be used.
- Adds App Store icon (1024x1024) export option as it now has to be
bundled with the app instead of being provided in iTunes Connect.
- Fixes crash when launching games in iOS Simulator. It happened because
controllerWasConnected callback came before the engine was
initialized. Now in such case the controllers will be queued up and
registered after initialization is done.
- Fixes issue with the virtual keyboard where for some reason
autocorrection panel would intersect with the keyboard itself and not
allow you to use the top row of the keyboard. This is fixed by
disabling autocorrection altogether.
Closes #17358. Fixes #17428. Fixes #17331.
|
|
[Linux] Ensures that the custom cursor will be used when changing to
MOUSE_MODE_VISIBLE. Fix #3086
[Windows] Fix cursor flickering when MOUSE_MODE_HIDDEN.
[Mac] Fix possible cursor flicker when MOUSE_MODE_HIDDEN.
|
|
Added new audio device functions to set/get the audio device
|
|
|
|
[macOS] Fix keyboard shortcuts on non QWERTY keyboard layouts.
|
|
[macOS] Return exit code specified by `OS.exit_code` parameter.
|
|
Handle directories in engine.js preloadFile()
|
|
Add safety checks when handling Android input
|
|
Fix UpdatePowerInfo method implementation in PowerIphone class
|
|
Detect and configure JavaScript build per Emscripten configuration file
|
|
Fix UWP build after #17194
|
|
|
|
The URL parameter already has a slash, adding an extra one results in
an invalid resource path
|
|
`uwp/detect.py` was not setting the `env.msvc` variable to true causing
scons to pass wrong arguments to `msvc` (using `clang/gcc` options)
which in turn break the build due to `-Werror=return-type` not being
recognized by ms compiler.
|
|
|
|
|
|
|
|
It is possible that input comes before the engine is fully initialized.
This fixes the crashes that ocurred when that happens.
|
|
|
|
|
|
|
|
|
|
|
|
Refactor HTML5 platform build script
|
|
|
|
|
|
This reverts commit e42576548f2c0ae2c6cb24ce2b0437ffb8978d65.
|
|
|
|
|
|
Add RWLockDummy for NO_THREADS builds
|
|
|
|
Fix getting Android device information
|
|
Fix #17644
|
|
|
|
|
|
The messages generated by some assertions can be confusing to users.
|
|
|
|
|
|
Didn't like the missing BoolVariable :)
|
|
Whether to use WebGL 1.0 or 2.0 can only be determined at runtime after
reading project settings, so check for the lower version.
The test is now in the HTML file, so if desired WebGL 2.0 can be
checked early by changing the behaviour there.
|
|
SCons has good compiler detection logic for MSVC compilers. Up to now,
Godot hasn't used it; it depends on passed-in OS environment vars from
a specific Visual Studio cmd.exe windows. This makes it harder to
build from a msys or cygwin shell.
This change allows SCons to autodetect Visual Studio unless it sees
VCINSTALLDIR in the os.environ. It also adds a 'msvc_version' arg for
manual specification of compiler version, and uses the existing 'bits'
arg to specify the target architecture. More detail could be added as
desired. It also adds 'use_mingw' to always use mingw, even if Visual
Studio is installed. That uses the existing mingw setup logic.
If people are used to building Godot in a Visual Studio cmd window,
this should not change the behavior in that case, since VCINSTALLDIR
will be set in those windows. (However, note that you could now unset
that var and build with any other MSVC version or target arch, even in
that window.)
I refactored much of platform/windows/detect.py during this, to
simplify and clarify the logic. I also cleaned up a bunch of env var
settings in windows/detect.py and SConstruct to use modern SCons
idioms and simplify things.
I suspect this will also enable using the Intel compiler on Windows,
though that hasn't been tested.
|
|
Improved error checking at EditorExportPlatformPC::export_project
|
|
Properly closing all files in Python build code
|
|
bruvzg[m] on irc)
|
|
|