Commit Graph
100 Commits
Author SHA1 Message Date
Benau 8cc4dd3383 Initial work to make android STK use SDL2 completely 2020-07-12 08:25:06 +08:00
Benau 296b38ea51 Allow track screen searching with name 2020-07-10 22:12:45 +08:00
Benau 04cd0208e2 Fix delayed handleTextUpdated 2020-07-10 22:08:13 +08:00
Benau 51b50a27cd Add some guidelines for LAN and WAN server 2020-07-10 19:55:28 +08:00
Benau bd897e390c Fix #4244 2020-07-10 19:28:39 +08:00
Benau e54bb44e44 Fix #4300 2020-07-10 18:34:57 +08:00
Benau e848713ed4 Improve english source 2020-07-10 13:07:27 +08:00
Benau c487ad0166 Update translation source 2020-07-10 12:13:12 +08:00
Benau 83995cf9d4 Update create_kart_properties.py and include 2020-07-10 12:07:52 +08:00
Benau 7f7815efb7 Add missing alt key mapping 2020-07-09 14:18:05 +08:00
Benau 67332bc991 Use gui race message for goal text to avoid confusing with in game chat 2020-07-05 09:50:30 +08:00
Benau b5f25ef057 Fix assertion when resizing screen in result gui 2020-07-05 09:20:58 +08:00
Benau 453b834f85 Fix missing key binding 2020-07-05 08:39:36 +08:00
Benau 65b13cfeb2 Only rebuild device list when there is difference in gamepad count 2020-06-17 14:42:53 +08:00
Benau 1055dd8932 Remove unused gamepad android config 2020-06-17 11:12:09 +08:00
Benau 11a7cdfe9d Fix server only build 2020-06-17 10:05:10 +08:00
Benau 571cca90d6 Update translation 2020-06-16 14:24:04 +08:00
Benau 5feed3186a Hide the anonymous hardware statistics button because server is down 2020-06-16 14:07:49 +08:00
Benau 451bbd1a4a Allow downloading addon icons on demand, fixed #2844 2020-06-16 14:02:55 +08:00
Benau 2171bd7bf3 Update SDL2 with screen keyboard height functions for iOS 2020-06-16 12:07:13 +08:00
Benau 945565790c Fix crash in OSX
Resizing of screen can only be done in main thread
2020-06-16 09:59:02 +08:00
Benau d1ab5f8aaf Allow remembering network splitscreen option when opening STK 2020-06-16 09:46:56 +08:00
Benau 07f6282142 Remove hasHardwareKeyboard because it's not reliable in iOS 2020-06-16 08:04:46 +08:00
Benau 89a57e6e19 Allow configure event callback for widgets based on input type
This will allow for example touch screen tapping to not triggering kart
selection in mobile STK
2020-06-16 00:44:11 +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
Benau fa8665a360 Add server only irrlicht device 2020-06-14 15:07:15 +08:00
Benau 128ef93abf Fix crashes if resize event exists unexpectedly 2020-06-13 16:36:28 +08:00
Benau d2474f79aa Update strings for iOS STK 2020-06-13 16:16:27 +08:00
Benau 5ca51fd2a9 Add support for adaptive vsync 2020-06-13 16:10:27 +08:00
Benau a2675497e0 Fix strings for mobile STK 2020-06-13 15:45:03 +08:00
Benau 84cf6b1ea0 Add pause main loop for mobile STK 2020-06-13 15:38:22 +08:00
Benau ae3497a31d Save keyboard and gamepad availability result in kart selection screen
Calling hasHardwareKeyboard maybe expensive in iOS
2020-06-12 20:43:00 +08:00
Benau b054c3b4a0 Add sensors handling to SDL2 2020-06-12 19:38:59 +08:00
Benau 2f094f4a29 Update iOS toolchain 2020-06-12 16:46:07 +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 0a7f9cd314 Add race gui resizing 2020-06-09 11:05:56 +08:00
Benau 83a49068e4 Add text billboard resizing 2020-06-09 10:56:19 +08:00
Benau 81def6cb65 Add in game screen resizing 2020-06-07 16:03:16 +08:00
Benau d4cd6d6fc9 Add minimum window size 2020-06-06 01:02:01 +08:00
Benau 2f1acc8139 Enable screen resizing in some places 2020-06-04 15:51:54 +08:00
Benau da1d41bf85 Add resizing of GUIEngine (only works with some screen) 2020-06-04 15:49:34 +08:00
Benau d7695cb0a7 Fix crash when render loading polling joystick event 2020-06-02 15:14:09 +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 9c0c7f62c9 Update translation source 2020-05-31 12:04:26 +08:00
Benau 3c80892b86 Allow specifying python version in update_pot.sh 2020-05-31 12:01:47 +08:00
Benau 03fd9f1639 Fix broken translation generation 2020-05-31 12:00:21 +08:00
Benau 7829cb3928 Avoid possible crash 2020-05-24 23:59:41 +08:00
Benau f316a83c63 Limit max user name length for offline account in server 2020-05-23 13:35:05 +08:00
Benau 92b40a986f Remove duplicated code 2020-05-23 13:12:10 +08:00
Benau cbb3863180 Use std::unique_ptr for message queue memory management 2020-05-23 13:02:04 +08:00
Benau acf862903d Allow message queue changing size with font 2020-05-23 12:52:00 +08:00
Benau 30e39b5a7a Fix crash during encoding when exiting race 2020-05-23 12:13:09 +08:00
Benau 68aa1c3346 Update translation 2020-05-18 00:01:43 +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 52cf0f16d1 Fix compilation with latest SDL2 2020-05-14 10:07:35 +08:00
Benau 1795495bde Allow picking tracks from addon category now 2020-05-14 09:40:28 +08:00
Benau ed32329eb3 Update localized language name 2020-05-13 16:33:28 +08:00
Benau 6b43af33fa Add Silesian language support to tinygettext 2020-05-13 15:47:22 +08:00
Benau 54aac69f5e Update translation source 2020-05-13 15:18:39 +08:00
Benau 53bf93f2df Allow always spectating with /spectate [0 or 1] 2020-05-13 11:27:27 +08:00
Benau b122572a0c Handle invisibility of team chat button depends on settings 2020-05-13 08:53:02 +08:00
Benau 8f40f49506 Fix missing initialization of variables 2020-05-13 08:48:50 +08:00
Benau e802b21d15 Fix missing country names translation when system language is used 2020-05-13 08:44:28 +08:00
Benau 5d3ccb54b0 Move server refresh list storage to class user
This fixes possible duplicated servers when refreshing too quickly
2020-05-09 13:24:07 +08:00
Benau 0fc9e8dba8 Use std::stable_sort to avoid destroying order when toggling IPv6 2020-05-08 10:13:28 +08:00
Benau 3d74dfea34 Add team chat for online team game 2020-05-08 09:21:37 +08:00
Benau c77a695f35 Add back the default stun servers list to user config
Now we can remove stun server in c8d9383d6a
2020-05-07 15:23:12 +08:00
Benau c8d9383d6a Allow erasing stun server by using zero weight in dns record 2020-05-07 09:19:41 +08:00
Benau 80d1ba6b10 Revert "Allow music title to be translatable, fix #4281"
Some translator and stk fans think it is confusing
2020-05-06 14:28:46 +08:00
Benau 0db86f6d52 Update translation source 2020-05-05 10:47:22 +08:00
Benau 70a9aaf5a5 Rename Exit Race to Quit Server to avoid confusion 2020-05-05 10:40:31 +08:00
Benau d03a821e53 Allow music title to be translatable, fix #4281 2020-05-05 10:22:21 +08:00
Benau 69b2f5fce7 Fix #4278 2020-05-02 11:08:18 +08:00
Benau 980bc0903a Use a better english source for clearer translation 2020-05-01 12:21:32 +08:00
Benau cf24157358 Fix #2438 with SDL2 gamecontroller mapping 2020-05-01 12:17:14 +08:00
Benau 3bb910099d Update buttons translation 2020-05-01 11:40:21 +08:00
Benau 9f217ccf62 Add some text drawing batching in race gui 2020-05-01 09:55:29 +08:00
Benau e892b43d0e Remove unneeded setShadow because black border is always used 2020-05-01 09:51:24 +08:00
Benau 5c77e641e9 Add batch drawing for list box widget 2020-05-01 09:45:22 +08:00
Benau 4d72b118e3 Batch glyph for quicker text rendering 2020-05-01 09:34:04 +08:00
Benau 719af8c54b Add the missing checking for wrong password 2020-05-01 08:36:53 +08:00
Benau 7154af2278 Fix SDL2 include directory in iOS toolchain 2020-05-01 00:40:55 +08:00
Benau a1b592beb1 Fixed incorrect Ubuntu SDL2 dependency name 2020-04-30 23:46:16 +08:00
Benau b1bcfd94a1 Fix crash when widget is cleared and old spinner widget received callback 2020-04-30 16:34:44 +08:00
Benau 10af6f7a80 Allow updating kart color when slider moves with mouse 2020-04-30 16:10:41 +08:00
Benau cc9980f2a4 Allow re-enter password instantly for failed private server joining 2020-04-30 07:43:14 +08:00
Benau 1bd34e338e Allow showing or hiding soccer player list with F7 in artist debug mode 2020-04-29 01:09:33 +08:00
Benau 5dffc8cfa1 Allow exit splitscreen multiplayer with gamepad only 2020-04-28 12:37:40 +08:00
Benau ea6115273d Update translation source 2020-04-28 10:34:42 +08:00
Benau 11757a557a Update gui strings and hide some button for mobile stk (with gamepad) 2020-04-28 10:20:24 +08:00
Benau e7e702ad39 Fix crashes if broken mesh is loaded (found in google play) 2020-04-28 09:27:25 +08:00