Age | Commit message (Collapse) | Author |
|
|
|
And make it configurable, too.
|
|
Add support for XDG Base Directory spec
|
|
Change HTML5 start-up API
|
|
Rename engine.start() to startGame(), new start() takes string arguments
handed directly to main(). Rename Engine.loadEngine() to load().
Add setLocale(), setResizeCanvasOnStart(), setExecutableName() and
preloadFile().
|
|
This makes the interfaces available, without implementation, in other
platforms and the editor, which facilitates documenting platform-exclusive
classes.
Platform-exclusive APIs must be set up in platform/<platform>/api/api.cpp.
Provide noop method-implementations where necessary.
Also setup and document the HTML5 platform's JavaScript singleton.
|
|
Will be needed to avoid confusion with system data path (XDG_DATA_HOME)
and editor data dir in upcoming refactoring.
|
|
|
|
|
|
|
|
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
|
|
Add OS::is_userfs_persistent, allow starting HTML5 platform in private mode
|
|
Allows starting HTML5 export when IndexedDB is not available.
|
|
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
|
|
Prevent sending MainLoop notifications before initialized
|
|
|
|
|
|
|
|
|
|
Implement OS.has_touchscreen_ui_hint() in HTML5 platform
|
|
- 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 :)
|
|
|
|
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
|
|
|
|
|
|
Fixes inverted scrolling on Chromium
|
|
Control set_pos -> set_position
Control set_global_pos -> set_global_position
[gs]et_mouse_pos -> [gs]et_mouse_position
[gs]et_global_mouse_pos -> [gs]et_global_mouse_position
fixes #8005
|
|
|
|
WebGL 2 export per WebAssembly or asm.js
|
|
|
|
The ID property for InputEvents is set by `SceneTree` when sending the event down the tree.
So there's no need for the platform specific code to set this value when it will later be overriden anyway...
|
|
I can show you the code
Pretty, with proper whitespace
Tell me, coder, now when did
You last write readable code?
I can open your eyes
Make you see your bad indent
Force you to respect the style
The core devs agreed upon
A whole new world
A new fantastic code format
A de facto standard
With some sugar
Enforced with clang-format
A whole new world
A dazzling style we all dreamed of
And when we read it through
It's crystal clear
That now we're in a whole new world of code
|
|
Done:
- X11, server (tested)
- Windows (developed, would be nice to retest)
- OSX (not tested)
Prepared (not developed):
- Android (code is here, but may not compile)
- iphone
- winrt
- bb10
- haiku
- javascript
|
|
work though
|
|
modified files)
-.pck and .zip exporting redone, seems to be working..
|
|
Will not yet compile
|
|
Fixes compilation on Windows and likely other platforms (at least
as far as AudioServer changes were concerned), though they were
not tested.
|