Benau
d6db020bfe
Add thread-safe existFile in IFileSystem
2022-04-08 14:35:04 +08:00
Mary Strodl
878f064ecf
CImageLoaderSVG: don't rescale on server
2022-04-07 14:21:00 -04:00
Benau
4c4daf9698
Move screen height detection inside CImageLoaderSVG::loadImage
2022-04-07 08:51:25 +08:00
Benau
a98a470ea8
Implement live updating swap interval value for vulkan
2022-04-02 14:17:27 +08:00
Benau
067ac4fe01
Implement resume behaviour for mobile stk
2022-04-02 13:33:08 +08:00
Benau
cd9e2f0adf
Remove always exiting behaviour when pausing vulkan enabled stk
2022-03-28 15:30:42 +08:00
Benau
17a899aa2c
Fix exit crash
2022-03-01 15:59:48 +08:00
David CARLIER
1f0ea77f80
illumos port. ( #4732 )
...
overcoming sun constant defined in this platform.
forcing 64 bits build as angelscript assembly is incorrect for 32 bits.
2022-02-13 00:31:14 +08:00
Benau
baeafd9f7d
Fix missing ime candidate window using SDL2 hint
2021-12-24 09:43:06 +08:00
Varro33
6b022368cf
Fix irrlicht error indent ( #4676 )
2021-11-22 21:49:15 +08:00
Benau
835154bde2
Handle SDL_RENDER_DEVICE_RESET event
2021-10-04 21:16:26 +08:00
Benau
17329a1b29
Register native functions in SDL_main
2021-10-04 13:01:00 +08:00
Benau
307791beda
Highlight URLs or addon names from /installaddon in lobby
2021-09-09 09:57:35 +08:00
Benau
38cfd912bd
Add extractURLFromGlyphLayouts which handles RTL layout properly
2021-09-08 14:58:35 +08:00
Benau
e85b82001f
Fix invalid URL in line breaking
2021-09-08 13:27:09 +08:00
Benau
0c20dda1da
Remove SF_DISABLE_URL_HIGHLIGHT flag to avoid conflicts with cache
...
Manually remove the URL highlighting if needed
2021-09-08 09:38:30 +08:00
Benau
8c3bacf769
Only save original string in GlyphLayout if needed
2021-09-06 14:51:45 +08:00
Benau
ae98b0cf9b
Use LinkHelper::openURL on highlighted URL
2021-09-06 14:19:39 +08:00
Benau
280d8fc114
Highlight URL with skin marked text color
2021-09-06 11:05:24 +08:00
Benau
8f41b721ed
Share FontWithFace render code with getCluster for more functionality
2021-09-05 08:41:46 +08:00
Benau
4deeac7dc8
Move getCluster code to a dedicated function for later usage
2021-09-05 00:54:52 +08:00
Benau
c76d41c903
Add callback to IGUIStaticText to allow text handling
2021-09-03 18:25:47 +08:00
Benau
33a4369a71
Store shared original string to glyph layouts directly
2021-09-03 13:09:42 +08:00
Benau
91e2217eba
Fix typo
2021-08-06 09:21:42 +08:00
Benau
608f75e0af
Fix GLES2 build
2021-07-29 12:39:00 +08:00
Benau
508eef4b81
Fix exit crash on some AMD driver
2021-07-29 10:44:21 +08:00
Benau
17d26338f8
Add MoltenVK support
...
SDL_Vulkan_LoadLibrary is used for macOS to keep 10.9 compatibility
2021-06-10 13:21:11 +08:00
Benau
d5c848c4c2
Add basic vulkan driver
2021-06-10 01:02:24 +08:00
Benau
fc387fa30d
Fix broken accelerometer with iOS
...
After some iOS version it gets reversed for orientation handling
2021-05-07 22:18:16 +08:00
Benau
75f14740ad
Add a way to print message to stk gui from java
2021-05-04 09:03:38 +08:00
Benau
4081efbcaa
Use initial orientation for device rotation instead of hardcoded values
2021-05-01 16:39:06 +08:00
Benau
b56a042cd3
Fix compiler warnings
2021-04-29 01:13:26 +08:00
Benau
a5f29bc560
Add GEDX9Texture
2021-04-23 10:58:19 +08:00
Benau
18690fad3a
Add scissor test for CD3D9Driver
2021-04-21 16:39:45 +08:00
Benau
b9b5ac2fec
Add DirectX 9 driver
2021-04-21 16:33:52 +08:00
Benau
f3d8b96149
Move scissor test reverse code to gl drivers
2021-04-21 07:56:37 +08:00
Benau
b21c620fea
Make SDL device handle non-gl drivers
2021-04-20 00:51:42 +08:00
Benau
af7d6cf391
Move scissor test to IVideoDriver
2021-04-19 12:17:10 +08:00
Benau
c4cae7d622
Add GEGLTexture
2021-04-17 12:44:25 +08:00
Benau
7496609bfa
Use dedicated function to handle sky textures
2021-04-14 09:34:59 +08:00
Benau
c5bbefd476
Use 64bit texture handler for pointer later
2021-04-14 01:05:44 +08:00
Benau
4ec4fda91b
Implement display cutout support for android
2021-03-22 07:04:21 +08:00
Mary
8daf149895
Switch fixes (rest of cherry pick) ( #4504 )
...
* InputManager: support split joycons, fix mappings
* CFileSystem: getAbsoluteFilename() - replace double slashes
* CFileSystem: typo in macro
* debug: use touch handler for debug (strange behaviour on switch SDL)
* InputManager: don't need SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS
* CFileSystem: getAbsoluteFilename() - replace double slashes
* MaterialManager: hack to make material properties apply properly
2021-03-10 09:59:48 +08:00
Mary
cc125c5f68
Switch fixes ( #4503 )
...
* InputManager: support split joycons, fix mappings
* CFileSystem: getAbsoluteFilename() - replace double slashes
* CFileSystem: typo in macro
* debug: use touch handler for debug (strange behaviour on switch SDL)
* InputManager: don't need SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS
2021-03-09 23:42:48 +08:00
Mary
d9b8b7acad
Support for Nintendo Switch ( #4491 )
...
* WIP support for Nintendo Switch
* OpenAL is usable
* Remove some debug code, add manual crash when DEBUG_NXLINK is on
* Remove more debug logs
* Support touch, account name detection, language detection. Remove resolution settings
* Stylistic changes
* SFXManager: update on main thread
* Add build script, remove crypto.hpp changes, disable opengl recorder on switch
* make: use sudo where needed, libs=>lib, portlib=>portlibs
* make: build harfbuzz with freetype
* main: remove DEBUG_NXLINK
* socket_address: this comment is no longer relevant
* Fix indentation in SDL, remove extra debug logs from InputManager
* InputManager: make log debug, not info
* CMakeLists: add mbedtls include dirs on switch
* main: deinitialize stuff
* main_loop: fix format
2021-03-04 09:23:23 +08:00
jean
89acc4e6a0
Removing sky dome (not used anywhere + deprecated even in irrlicht)
2021-02-07 21:56:58 +01:00
Benau
fa4318b6ad
Implement smooth frame transition for animated mesh
2021-02-05 14:41:39 +08:00
Benau
65f23987f1
Fix inconsistent kart size with server
2021-01-26 14:52:22 +08:00
QwertyChouskie
6d3ee0ce31
Add Render resolution (scale_rtts) slider with auto-mode
...
Auto mode adjusts based on your display's DPI in order to hit a target DPI. Currently it will default to Always Full for render resolution, but High Quality or even Quality might make a good default, community testing is needed.
2021-01-19 00:12:20 +01:00
David CARLIER
2899cf8977
Mac M1 build fix proposal avoiding mixing up with homwbrew for Rosetta
...
as well.
2021-01-09 22:33:42 +00:00
Benau
922296f5eb
Use correct calling method for jni functions
2020-12-08 09:03:47 +08:00
Benau
5500b4dcc9
Avoid making filenames lower case in windows
...
It breaks fallback translation (zh_TW to zh_tw) which tinygettext
uses zh_TW to detect
2020-12-04 11:08:20 +08:00
Benau
3f0eb215f7
Replace glew with glad with vulkan support
2020-12-04 09:39:06 +08:00
Benau
13fa56d951
Fix #4368
2020-08-31 08:46:02 +08:00
Benau
2e990ac7b3
Fix #4360
2020-08-30 00:44:12 +08:00
Benau
37527baf51
Remove unused functions to avoid deprecated sysctl
2020-08-18 12:16:03 +08:00
Benau
34b5b40d4e
Don't exit if failed to init sensors
...
wine supertuxkart.exe at the moment doesn't support sensors
2020-08-11 13:32:32 +08:00
Benau
9599117c28
Add high dpi support to supported platforms
2020-07-22 09:41:15 +08:00
Benau
f2b774d63a
Fix possible undismissed screen keyboard in iOS
2020-07-17 19:10:53 +08:00
Benau
3a62d5179e
Fix in game chat dialog crash
2020-07-15 15:56:53 +08:00
Benau
dc8e4ba0dc
Add missing key map
2020-07-15 14:49:46 +08:00
Benau
fa943c70e3
Fix missing joystick if device is reinitialized
2020-07-15 14:16:19 +08:00
Benau
cef6eb0558
Remove EGL linking dependency
2020-07-12 11:00:53 +08:00
Benau
8ede6dcaa7
Allow resizable activity in android
2020-07-12 10:15:21 +08:00
Benau
f4233977e5
Port moved height to android STK
2020-07-12 08:34:59 +08:00
Benau
8cc4dd3383
Initial work to make android STK use SDL2 completely
2020-07-12 08:25:06 +08:00
Benau
7f7815efb7
Add missing alt key mapping
2020-07-09 14:18:05 +08:00
Benau
453b834f85
Fix missing key binding
2020-07-05 08:39:36 +08:00
Benau
2171bd7bf3
Update SDL2 with screen keyboard height functions for iOS
2020-06-16 12:07:13 +08:00
Benau
2b0b941219
Add window position to creation parameters
2020-06-15 16:35:33 +08:00
Benau
964a13368c
Fix branch new initialization of iOS STK
2020-06-15 12:02:16 +08:00
Panagiotis Vasilopoulos
d8709fde8f
Added support for Haiku operating system
...
* OpenGL and SDL2 are used
* Added Haiku platform in Irrlicht configurations
* Added support for Haiku in AngelScript
* Fixed multiple assertions
2020-06-14 22:03:37 +03:00
riso
4694223c03
SVG support ( #4306 )
...
* first version of svg support
* merge some nanosvg pr
* look for svg icons first
* bug fix
* scale svg depends on screen size
* use irrlicht headers to get screen size
* finish isALoadableFileFormat for svg
* delete dynamically allocated memory
* fix wrong delete
* only rescale icons, due to size settings in stkskin.xml depends on the size of the image file
* check svg in FileManager::getAsset
* fix large icon in list
2020-06-14 15:15:47 +08:00
Benau
fa8665a360
Add server only irrlicht device
2020-06-14 15:07:15 +08:00
Benau
5ca51fd2a9
Add support for adaptive vsync
2020-06-13 16:10:27 +08:00
Benau
84cf6b1ea0
Add pause main loop for mobile STK
2020-06-13 15:38:22 +08:00
Benau
b054c3b4a0
Add sensors handling to SDL2
2020-06-12 19:38:59 +08:00
Benau
a201507763
Clean up irrlicht linking
2020-06-12 12:23:43 +08:00
Benau
784d641ebc
Add screen keyboard handling for iOS
2020-06-11 13:53:47 +08:00
Benau
05a75dcbce
Add touch event to SDL2
2020-06-11 12:00:14 +08:00
Benau
ea0380ae16
Use SDL2 to create iOS device
2020-06-11 11:40:25 +08:00
Benau
23a26648d8
Improve in game resizing handling
2020-06-09 11:56:05 +08:00
Benau
d4cd6d6fc9
Add minimum window size
2020-06-06 01:02:01 +08:00
Benau
da1d41bf85
Add resizing of GUIEngine (only works with some screen)
2020-06-04 15:49:34 +08:00
Benau
7d16f2456a
Add unicode text input with SDL2
2020-06-02 10:58:39 +08:00
Benau
cc13d32951
Use SDL2 clipboard for edit box
2020-06-02 10:46:20 +08:00
Benau
2eaca2091e
Use SDL2 to handle window creation
2020-06-02 10:36:06 +08:00
Benau
4a8306fca5
Initialize global variables in android device before android_app->running
2020-05-14 10:49:49 +08:00
Benau
6c5a33fa5c
Fix frozen STK when connecting USB hidapi gamepad
2020-05-14 10:48:03 +08:00
Benau
6d30bb8f05
Update android with latest libjpeg, libpng and zlib and remove bundled libraries
2020-05-14 10:13:57 +08:00
Benau
5faa856b0e
Fix keyboard arrow binding bug
2020-04-21 16:33:34 +08:00
Benau
8f9fc8f7fe
Handle all input events in java
2020-04-21 15:47:04 +08:00
Benau
bae2262bd9
Add SDL2 to android
2020-04-21 15:28:02 +08:00
Benau
00cb6c2d48
Use SDL2 for better gamepad support and hotplug
2020-04-21 00:14:32 +08:00
Benau
b8e9ada499
Allow jni attach and detach thread only once
...
For the other jni usage at the moment they are not in main thread
2020-03-25 00:38:54 +08:00
Benau
1e5e91dabf
Try to fix broken gyroscope control in iOS
2020-03-15 15:06:32 +08:00
Benau
932f0f888e
Avoid updating editbox if hardware keyboard connected which discards all input
2020-03-15 13:58:51 +08:00
Benau
7598dc7b37
Use minidns for android to fix starting crash
2020-03-13 21:31:33 +08:00
Benau
2cdd6cf754
Fix iOS compiler warning
2020-02-07 13:04:34 +08:00
David Carlier
21cf075e41
FreeBSD build fix proposal.
2020-02-05 15:16:12 +00:00