Commit Graph

1225 Commits

Author SHA1 Message Date
Benau
8e64c69c5d Add command creation for GEVulkanDriver 2022-01-22 00:41:24 +08:00
Benau
2f4093516a Add createSyncObjects for GEVulkanDriver 2022-01-22 00:18:42 +08:00
Benau
f0f498d53f Add createSwapChain for GEVulkanDriver 2021-12-28 13:51:03 +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
Bryan Quigley
bee1c222af Always AS_MAX_PORTABILITY on AArch 2021-11-07 23:43:05 -08:00
Bryan Quigley
b710fab5c8 STK modifications to angelscript to let Windows/Apple builds
(and 3 forgotten source files)
2021-11-06 10:12:01 -07:00
Bryan Quigley
73c94f571d Update Angelscript from 2.32.0 to 2.35.1
Didn't require any changes except dos2unix.
2021-11-04 17:59:10 -07:00
Kalev Lember
164c51cb2e Always build tinygettext as a static library
Explicitly pass STATIC to tinygettext add_library() call to make sure
it's always built as static, even when distro's cmake is configured to
build libs shared by default.
2021-10-07 00:52:32 +02: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
6d763a1e26 Update mojoAL 2021-08-26 09:23:53 +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
724386bfcd Fix MSVC x86_64 build 2021-06-05 18:28:48 +08:00
Benau
fa03bc4461 Fix compiler warning 2021-05-21 22:04:31 +08:00
Benau
e992bb9cef Fix simulator missing in Xcode project 2021-05-21 17:47:40 +08:00
Benau
33459e852c Use libsamplerate to handle pitch for MojoAL 2021-05-19 11:29:48 +08:00
Benau
ec02331c73 Use MojoAL instead of OpenAL for Apple
Because OpenAL in iOS is broken at the moment
2021-05-14 23:51: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
0e9d45665b Update LLVM MinGW toolchain and CMake scripts for ARM64 Windows support 2021-04-27 16:19:17 +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
c58de0a91f Make GEGLTexture texture locking read only 2021-04-21 11:43:01 +08:00
Benau
7367610c1f Fix broken billboard text in legacy gl driver 2021-04-21 10:24:29 +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
23ec5ba379 Don't crash if null image 2021-04-19 12:43:35 +08:00
Benau
af7d6cf391 Move scissor test to IVideoDriver 2021-04-19 12:17:10 +08:00
Benau
2c3922f64f Move RGBA conversion to GEGLTexture 2021-04-19 11:41:22 +08:00
Benau
b3aa499cd4 Fix mingw build 2021-04-18 09:46:44 +08:00
Benau
64c5762eeb Implement updateTexture for GEGLTexture 2021-04-18 00:50:12 +08:00
Benau
4f9471dcff Add createFontTexture 2021-04-17 15:32:33 +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 Strodl
67af723087 Fix switch compilation 2021-03-11 20:13:27 -05:00
Benau
f1aa29634b Add dns c library 2021-03-12 09:07:14 +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
David Carlier
eace0982a2 DragonFlyBSD support, mainly FreeBSD codepath. 2020-10-10 14:14:49 +01:00
Adnan1091
995fdf8c81 Optimize images 2020-09-09 19:47:37 +03:00
Benau
fd4be023d5 Make tinygettext use stk logging 2020-09-09 14:46:29 +08:00
Benau
f1fb30250b Generate plural forms in tinygettext using python script 2020-09-09 13:43:26 +08:00
Benau
1a8b5cd2e1 Fix windows build of tinygettext 2020-09-09 13:36:21 +08:00
Benau
c51d464839 Add new languages to tinygettext 2020-09-09 13:32:53 +08:00
Benau
767ba27598 Add get_all_used_chars to tinygettext 2020-09-09 13:31:37 +08:00
Benau
22fb981fca Disable iconv in tinygettext 2020-09-09 13:29:17 +08:00
Benau
842278ffd9 Update bundled tinygettext
Remove unneeded files like gitignore and test and keep a simplified CMakeLists.txt
2020-09-09 13:27:10 +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
7b4d1dca6b Fix valgrind warnings 2020-08-24 00:58:11 +08:00
Benau
dc0a5a9c66 Remove unneeded FriBidi and libraqm files 2020-08-24 00:58:07 +08:00
Benau
13db1b83c1 Add SheenBidi library for better unicode support 2020-08-24 00:53:04 +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
46649e6b7d Fix always self-moving object in offline game 2020-08-05 12:10:17 +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
David Carlier
a4b9900aee Haiku glew build fix and update. 2020-06-21 08:11:02 +00: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
359e2ff84f Add llvm mingw for pdb generation
It uses visual studio dependencies
2020-04-11 16:25:58 +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
10e7ac603f Fix possible bullet crash 2020-03-09 16:12:49 +08:00
Benau
d7003ab9c3 Remove global variable in btQuantizedBvh 2020-02-28 09:32:11 +08:00
Benau
eed95e7c92 Remove global variable in btCollisionDispatcher 2020-02-28 09:31:11 +08:00
Benau
8008753aa5 Remove global variables in btOverlappingPairCache 2020-02-28 09:31:07 +08:00
Benau
1cb966d04d Remove global variable in btSequentialImpulseConstraintSolver 2020-02-28 09:31:02 +08:00
Benau
a58c443247 Remove global variables in btGjkPairDetector 2020-02-28 09:30:56 +08:00
Benau
05ed086d28 Remove global variables in btAlignedAllocator 2020-02-28 09:30:52 +08:00
Benau
336883e2e7 Remove global variables in btRigidBody 2020-02-28 09:30:47 +08:00
Benau
fa0da462fb Update ENetAddress to use 5 uint32_t to store IP
ENetAddress ea = {} will allow to listen to any IPv4 or IPv6 address
when using system or bundled enet

The last uint32_t is for IPv6 scope id (required for IPv6 only lan
servers)
2020-02-28 00:59:37 +08:00
Benau
8995491eb6 Update enet to 1.3.14 (remove all IPv6 changes first) 2020-02-28 00:55:10 +08:00
Benau
306eb1b531 Disable built-in bullet profiler which uses global variables
It breaks client and server in same process later
2020-02-24 09:26:22 +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
Benau
54e09dbbf3 Enable logging in iOS default with a correct encoding 2020-02-05 12:23:21 +08:00
David Carlier
a79a2a7fab mcpp dependency possible leak fix proposal 2020-01-26 18:52:14 +00:00
David Carlier
ba150e8659 bullet build warning fix replacing by C++ casting 2020-01-25 21:53:12 +00:00
Benau
aed64dfd1f Rename function to make it clearer 2020-01-22 15:56:47 +08:00
Benau
50944bb8c3 Add debug logging for iOS device 2020-01-20 14:58:03 +08:00
David Carlier
d97a1ce1ef removing compilation warning explicitly showing enum origin
to avoid confusions even though they have same values.
FreeBSD recognised as os in stats point of view.
2020-01-18 13:32:50 +00:00
David Carlier
7951d1a92d Reducing significantly build warning on MacOS
OpenGL deprecated APIs, gl/gl3 inclusion, OpenAL deprecated API.
Implementing process path for the crash reporter.
2020-01-12 07:28:15 +00:00
Benau
b09aec6b3f Remove Dmitry Marakasov changes for his disagreement 2020-01-07 00:08:09 +08:00
David Carlier
ea948fd5d5 Mac OS little update propsal.
Silencing deprecated OpenDL api warnings in recent MacOS releases.
Needed to set openssl for curl.
2020-01-04 21:22:43 +00:00
Benau
c8d0361837 Fix valgrind warning 2020-01-04 01:38:57 +08:00
Benau
7e129b3895 Fix iOS compilation 2020-01-03 20:45:24 +08:00
Benau
39821e9ad3 Allow compiling mcpp with android 2020-01-03 13:25:26 +08:00
Benau
d729c543f9 Fix compiler warnings 2020-01-03 13:16:16 +08:00
Benau
e401a3c865 Apply patches from debian libmcpp 2020-01-03 12:57:16 +08:00
Benau
b928ecf24c Remove CPU preprocessing which is unneeded for STK 2020-01-03 12:54:16 +08:00
Benau
db5d1420f9 Add mcpp from github.com/ned14/mcpp 2020-01-03 12:46:35 +08:00
QwertyChouskie
27fce1d1a4 Update Wiiuse to 0.15.5
Updates Wiiuse, while keeping (and labeling) STK-specific patches.
2019-12-27 18:13:32 -08:00
Deve
8df28b07b1 Restore function for hardware keyboard on android 2019-12-27 23:49:29 +01:00
Bart Ribbers
f6ee1ebab1 Include linux/sysctl.h rather than sys/sysctl.h on non-glibc systems (#4174) 2019-12-26 11:52:46 +08:00
Benau
01c57fa483 Add link helper for iOS 2019-12-21 01:30:01 +08:00
Benau
fa249efac1 Fix device orientation unknown in the first time 2019-12-21 01:04:08 +08:00
Benau
be77b5f294 Add code to handle screen padding in new iPhone 2019-12-20 13:10:58 +08:00
Benau
84f91d58db Hide home indicator in iPhone X default 2019-12-20 10:59:01 +08:00
Benau
16736c94bc Allow compiling wiiuse with mingw 2019-12-18 14:40:54 +08:00
Benau
b79bfa46cc Fix missing last character from replacing xml characters 2019-12-18 14:25:10 +08:00
Benau
ab3d8ef415 Implement link helper for android 2019-10-28 16:47:05 +08:00
Benau
ed6d657d90 Remove glFinish in OSX
From http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=49052

It should not exist in any case
2019-10-25 15:39:35 +08:00
Benau
a616664af2 Add menu command-q shortcut to quit STK in OSX 2019-10-19 13:00:28 +08:00
Benau
42d9e8967f Add default config for iOS devices 2019-10-18 22:22:32 +08:00
Sebastian Krzyszkowiak
2aef80864a
IrrDeviceWayland: Don't try to use non-existent wl_pointer object 2019-10-08 06:41:00 +02:00
Deve
fc8f6a218e Add possibility to use half vsync 2019-09-28 01:43:26 +02:00
riso
0e4f875443 Clean IPV4/ipv4 to IPv4, IPV6/ipv6 to IPv6 2019-09-03 14:24:03 -05:00
Benau
02f8f6fadd Allow windows using IPV6 2019-08-21 09:19:05 +08:00
Benau
a92b9abf54 Remove expired mapped address using last activity 2019-08-20 13:10:18 +08:00
Benau
c2c5c20d92 Initial work on IPV6 game server 2019-08-19 00:05:34 +08:00
Benau
c9656d4410 Allow IPV6 only in iOS to connect to game server not behind a firewall 2019-07-27 15:48:21 +08:00
Benau
0b1da5a1d0 Checking for IPV6 only before connecting to game server in iOS 2019-07-27 02:12:35 +08:00
Benau
9d2f0c9548 Fix resolution change crash in iOS 2019-07-24 01:37:12 +08:00
Benau
857232fb52 Get system language for iOS 2019-07-24 01:36:21 +08:00
Benau
d24e253435 Re-initialize file archives after downloading assets 2019-07-24 01:34:31 +08:00
Benau
35168d2ecb Hide status bar in iPad 2019-07-19 23:40:16 +08:00
Benau
cac5ee38b5 Fix gles 2.0 in iOS simulator 2019-07-19 22:09:31 +08:00
Benau
577d37ced3 Fix accelerometer conversion in iOS 2019-07-19 01:25:57 +08:00
Benau
dbb14a2861 Fix default windows size and height in iOS 2019-07-17 16:55:09 +08:00
Benau
3e912900fb Use 16bit depth format (we don't use stencil in default framebuffer) 2019-07-16 01:43:47 +08:00
Benau
48fedb48c7 Add accelerometer and gyroscope to iOS 2019-07-16 01:03:37 +08:00
Benau
05486943b7 Handle quit button in STK menu
App store may not like the quit button
2019-07-16 00:56:38 +08:00
Benau
9a62b97a67 Fix multitouch in iOS 2019-07-16 00:55:25 +08:00
Benau
cf966308f6 Use GLKView to handle framebuffer directly 2019-07-15 14:21:38 +08:00
Benau
5a60cb4cdb Don't assume default framebuffer is always zero (not true in iOS) 2019-07-15 11:40:40 +08:00
Benau
d74bc17c8b Disable iOS hardware keyboard for now 2019-07-14 16:44:42 +08:00
Benau
78ff49ced5 Fix screen scaling of iOS 2019-07-14 16:42:45 +08:00
Benau
1f826b5ba7 Share the simulateMouse with android and iOS 2019-07-14 00:43:38 +08:00
Benau
f9c2e40f13 Create GLES 3 context if not legacy device 2019-07-13 14:28:58 +08:00
Benau
8c00a1e857 Share the override default params with android 2019-07-13 14:22:22 +08:00
Benau
b9d00dba6d Add MobileCursorControl to share with iOS and android STK 2019-07-13 13:56:42 +08:00
Benau
8510ebfb27 Add iOSDevice and EAGLManager 2019-07-13 13:44:03 +08:00
Benau
c7308b82b0 Add iOS flags handling in cmake 2019-07-12 14:53:55 +08:00
Deve
b185544518 Tabs to spaces 2019-07-12 08:44:55 +02:00
Deve
9415c61d75
Merge pull request #4000 from mstoeckl/wayland-conn-close
Close program when Wayland connection hangs up
2019-07-12 08:43:06 +02:00
QwertyChouskie
f4c02a4237 Scrollbar: Increase size from 14 to 24 2019-07-11 19:34:52 -07:00
Manuel Stoeckl
1686a9e45b Close program when Wayland connection hangs up
This change ensures that SuperTuxKart will not keep running in the
background when the compositor crashes and doesn't close the STK
main window.
2019-07-11 19:36:18 -04:00
myfreeweb
ac99ace874
Fix AngelScript build on FreeBSD non-x86 2019-07-11 12:49:35 +03:00
Benau
57a37d9094 Hide supertuxkart in dock if null device for osx 2019-07-07 01:28:10 +08:00
Benau
3350d6c106 Add server only define to osx device 2019-07-07 01:12:10 +08:00
Benau
1bcb16bafb Use utf8 to handling copy and paste in osx 2019-07-06 00:46:03 +08:00
Benau
185b468cb4 Improve azerty handling in osx
TODO: fix "~" typing
2019-07-06 00:31:33 +08:00
Benau
0de1a41c5a Fix compilation in xcode 2019-07-05 17:22:18 +08:00
Benau
f9af8d3654 Use x86_64 only for libsquish in xcode 2019-07-05 16:39:06 +08:00
Benau
d1e2f87cc2 Use libpng and libjpeg from homebrew 2019-07-05 16:34:40 +08:00
Benau
0253384bf9 Fix valgrind warning 2019-06-30 09:41:32 +08:00
Benau
cc671dd710 Allow showing supertuxkart icon in header bar 2019-06-29 14:38:44 +08:00
Benau
1cd725586f Add functions to handle file in utf8 encoded name 2019-06-28 20:49:33 +08:00
Benau
1620cbdbd8 Add minimum composition text support in IME 2019-06-26 15:44:55 +08:00
Benau
7184119409 Clean up input method code in windows with better unicode handling 2019-06-26 13:14:52 +08:00
Benau
c337976413 Use unicode windows build with enabling directinput support in mingw 2019-06-26 11:32:18 +08:00
Benau
074039d2c5 Use a better image resize code
The box filter from irrlicht produces wrong brightness when using with
different size
2019-06-23 01:02:05 +08:00
Benau
7165449da8 Add emoji keyboard 2019-06-20 01:24:55 +08:00
Benau
2ff899e23e Fix android server creation exit crash 2019-06-17 11:32:08 +08:00
Deve
5853ffc15d Add a possibility to move the window on wayland compositors that don't support decorations 2019-06-16 22:48:06 +02:00
Deve
4bd94f8ea6 Check hardware keyboard availability on wayland for better touch screen support 2019-06-16 22:48:06 +02:00
Benau
bb63a85d6f Remove unneeded RTL settings 2019-06-17 01:22:34 +08:00
Benau
fb31ddc81f Fix cursor positioning with emoji in android 2019-06-15 16:26:57 +08:00
Benau
9a7210614b Remove fribidize in translation class 2019-06-15 14:11:14 +08:00
Benau
fc143276fe Allow to use stringw directly when setText 2019-06-15 13:56:36 +08:00
Benau
2eca3164b8 Improve cursor positioning for RTL text 2019-06-14 19:27:18 +08:00
Benau
65a54cbd8b Fix color emoji scaled wrongly with overbright color 2019-06-12 01:18:36 +08:00
Benau
1707ac7e1e Use GlyphLayout to draw list widget 2019-06-11 16:29:35 +08:00
Benau
44796bc8c0 Use a better way to erase top text 2019-06-11 15:05:46 +08:00
Benau
591bd0c3af Use utf16 for java string to stringw conversion 2019-06-10 16:09:07 +08:00
Benau
28cc2838a8 Add color emoji 2019-06-10 10:35:42 +08:00
Benau
89e3bcd11b Update stk edit box to be more i18n friendly 2019-06-10 00:43:31 +08:00
Benau
acb9054dcb Use libraqm for text layout 2019-06-09 11:26:00 +08:00
Benau
43d322c634 Add libraries for emoji and complex text 2019-06-09 10:06:50 +08:00
Reiner Herrmann
07b6a16000 Fix several spelling/grammar errors (#3951)
found by lintian
2019-06-04 19:04:18 -04:00
Benau
d487a2e72e Clear text when closing keyboard if onEnterPressed returns true 2019-05-28 15:21:06 +08:00
Benau
6216d003b6 Code clean up 2019-05-28 01:47:41 +08:00
Benau
336300b997 Allow showing different soft keyboard in android 2019-05-27 16:34:16 +08:00
Benau
72c61e412a Fix compiler warnings 2019-05-27 13:13:51 +08:00
Benau
d3ef05b37c Remove unused functions 2019-05-27 12:41:28 +08:00
Benau
a96071f9d3 Make android callback thread safe 2019-05-27 12:17:08 +08:00
Benau
febad27342 Prevent copying text to non focused widget in STK.
It can happen if user uses the arrows in hacker keyboard to change
widget focus
2019-05-27 11:09:28 +08:00
Benau
34e680bfbd Allow copying from STK edit box to android edit text 2019-05-25 22:19:15 +08:00
Benau
27f0f8c961 Move hideNavBar to java for native android keyboard 2019-05-21 16:31:59 +08:00
Benau
1814472214 Improve screen keyboard handling for android (tv)
And remove some android ifdef for wayland on screen keyboard later
2019-05-21 12:43:20 +08:00
Benau
d5246e5291 Move the screen and touchscreen events horizontally for screen keyboard 2019-05-21 01:46:14 +08:00
Benau
766c971339 Try to save keyboard height for moving screen with it later 2019-05-19 17:41:51 +08:00
Benau
ede56a3cf8 Move show and hide keyboard to java memeber function 2019-05-18 15:35:25 +08:00
Benau
0e1c0d1541 Allow handling ACTION_MULTIPLE for unicode and voice message 2019-05-18 09:15:58 +08:00
David Carlier
3b699034f9 register keyword removal 2019-04-30 21:20:08 +01:00
Benau
1b6ab86ab0 Fix crashing in MSVC 2019 2019-04-17 08:20:14 +08:00
Deve
157dc89cd2 Disable sse2 in libsquish for some known unsupported architectures 2019-04-05 21:43:34 +02:00
Deve
7b58c439fc Fixed a crash on nvidia when recreating egl context 2019-03-14 22:56:38 +01:00
samuncle
1acc6ecea0 Display the version of the engine 2019-03-11 23:26:44 +01:00
Deve
3c7673ccfc Revert waiting for mapped window before reading dimensions.
It causes issues on some systems.
2019-03-06 21:05:48 +01:00
Deve
c35c0af590 Merge remote-tracking branch 'origin/fix-xbox360-stick-buttons' 2019-02-14 22:15:45 +01:00
Deve
f69b1e7cf7 Add missing ifdef 2019-02-06 21:53:42 +01:00
Deve
6060e57d43 Sleep some time after changing resolution, so that window manager will be notified before we read window size 2019-02-06 21:53:42 +01:00
Deve
d0d036c372 Make sure that window is mapped before reading dimensions 2019-02-06 21:53:42 +01:00
Deve
cb8ee53edc Add environment variable to force legacy fullscreen on linux 2019-01-28 21:52:35 +01:00
hiker
9ea6e85205 Fix thumb-stick buttons on xbox controller. 2019-01-22 21:25:51 +11:00
hiker
7d688b241c Merge branch 'fix-wiiuse-uninstallation' 2019-01-20 01:45:31 +11:00
hiker
aea2739e9d Changed default library mode for wiiuse back to be static, not shared. 2019-01-15 18:23:21 +11:00
Deve
104afbd5f0 Don't break early when finding best monitor mode 2019-01-13 22:11:46 +01:00
deve
046f94394d Fixed server only build 2019-01-11 06:30:43 +01:00
Kevin Zheng
23706f4795 Fix build on FreeBSD 2019-01-10 00:07:05 +01:00
Deve
15ffc98369 Detect if there is touch device available 2019-01-09 22:04:50 +01:00
Sebastian Krzyszkowiak
20310f9dbc IrrDeviceWayland: set pointer position on touch down 2019-01-09 20:43:14 +01:00
deve
d961aa9521 Simulate mouse for single touch events on wayland 2019-01-09 10:57:39 +01:00
Sebastian Krzyszkowiak
51ca86b416 IrrDeviceWayland: initialize m_touch variable 2019-01-09 10:05:24 +01:00
Deve
8257d9eeee Handle touch events on wayland device 2019-01-08 22:31:37 +01:00
Deve
15e741fa04 Fixed compilation 2019-01-06 21:35:46 +01:00
Deve
b0ff15873e Fixed cmake warning 2019-01-03 20:53:08 +01:00
hiker
082d64c3d8 Merge branch 'wiiuse-update' of git://github.com/STK-helper/stk-code into STK-helper-wiiuse-update 2019-01-03 17:30:44 +11:00
Deve
e6081e64b2 Use xdg decoration for server-side decorations 2018-12-25 01:18:17 +01:00
Kevin Zheng
95564c4d74 Fix build with joystick on FreeBSD (#3660) 2018-12-22 21:49:15 -05:00
Kevin Zheng
ca419f8d59 Fix build without _IRR_COMPILE_WITH_JOYSTICK_EVENTS_ (#3659) 2018-12-22 21:13:03 +01:00
Deve
ddbe42680d Add experimental support for system screen keyboard on android.
Disabled by default, needs screen_keyboard = 3 in config.xml
2018-12-01 00:43:17 +01:00
Benau
b3e41db14b Add EMT_STK_GRASS for GLES2 to draw grass material without vertex color
Now EMT_TRANSPARENT_ALPHA_CHANNEL_REF in GLES2 can be used with vertex
color
2018-11-30 23:33:30 +08:00
Benau
874895ba11 Use STKTextBillboard for legacy pipeline for correct glyph metrics 2018-11-30 23:01:43 +08:00
Benau
8b825bf7df Fix meter missing in race gui for GLES 2 2018-11-30 18:47:15 +08:00
QwertyChouskie
2253dc9db9 Update to 0.15.4, with fix for Windows compilation 2018-11-28 11:18:32 -08:00
QwertyChouskie
0c5d728c48 Update Wiiuse library to 0.15.3, fixes support for newer Wiimotes on Linux 2018-11-26 09:58:53 -08:00
Deve
cdb3d2cae5 Fixed a crash when opening broken xml file 2018-11-22 22:09:05 +01:00
River Marks
665c8a8cec Fix for when attempting to input a server IP address on the num pad (#3603)
The decimal key was not registering on the number pad as the decimal
key, it was deleting the numbers of the IP address making it impossible
to use the num pad solely for entering an IP.

Fixes #3602
2018-11-20 11:37:18 +01:00
Deve
060855c710 Check wayland version in cmake.
Fixed #3579.
2018-11-17 21:56:23 +01:00
hiker
0221e2f6d1 Merge branch 'master' of github.com:supertuxkart/stk-code 2018-11-16 23:48:47 +11:00
Deve
7cc4c92b31 Fixed compilation with current mesa.
It fixes #3557.
2018-11-14 20:59:00 +01:00
hiker
5c14ce86d7 Merge branch 'master' of github.com:supertuxkart/stk-code 2018-11-13 17:55:56 +11:00
hiker
724a5d94ba Merge branch 'master' of github.com:supertuxkart/stk-code 2018-10-31 23:20:53 +11:00
Benau
c25c12e7a5 Disable jpg logging to make it thread safe 2018-10-31 13:26:34 +08:00
Benau
c1ed846e1e Remove X11 header usage if server only 2018-10-31 12:28:49 +08:00
Deve
6722f57b06 Fixed possible crash on 64-bit mingw build 2018-10-21 21:52:15 +02:00
Deve
9cbf15c1a2 Update to stable xdg shell 2018-10-14 22:11:30 +02:00
Benau
724ca795f0 Add the required code for advanced meta library animation handling 2018-10-13 00:43:59 +08:00
hiker
17ab076858 Fixed various compiler warnings for 64-bit windows compilation. 2018-10-11 23:27:08 +11:00
Deve
7cde4bcd36 Fixed wrong comment 2018-10-10 00:29:21 +02:00
Deve
ba1da58f0b Don't change current working directory.
It causes issues with multithreading.
Fixes #3498
2018-10-09 21:42:16 +02:00
Deve
efe68fef94 Disable billboard text rendering in GLES legacy pipeline 2018-10-07 23:27:19 +02:00