Commit Graph

874 Commits

Author SHA1 Message Date
Benau
ffbf5149cd Determine android STK platform specifically for lobby icon 2020-07-14 09:10:51 +08:00
Benau
8cc4dd3383 Initial work to make android STK use SDL2 completely 2020-07-12 08:25:06 +08:00
David Carlier
8025571338 util/debug thread naming for haiku. 2020-07-11 10:29:00 +00:00
David Carlier
a4b9900aee Haiku glew build fix and update. 2020-06-21 08:11:02 +00:00
Panagiotis Vasilopoulos
cdb33f18fa
Added user agent for Haiku 2020-06-14 22:03:50 +03:00
Benau
83a49068e4 Add text billboard resizing 2020-06-09 10:56:19 +08:00
Benau
e802b21d15 Fix missing country names translation when system language is used 2020-05-13 08:44:28 +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
9157fb43f0 Use std::thread, std::mutex and std::condition_variable everywhere 2020-04-11 11:01:18 +08:00
Benau
f6be14d157 Add proper cleaning of thread for news manager 2020-04-11 00:33:29 +08:00
Benau
5aafb42b28 Use thread local for thread id mapping in profiler 2020-04-10 09:58:45 +08:00
David Carlier
12afc23e4e NetBSD build few updates. 2020-04-05 16:10:34 +01:00
Benau
4170628d23 Rewrite some code for updated kart characteristics 2020-03-16 11:48:02 +08:00
Benau
f590280431 Fix mobile STK server logging 2020-02-28 19:53:01 +08:00
Benau
6a635e1a56 Turn physics into a singleton get for 2 processes 2020-02-28 09:43:05 +08:00
Benau
6a3e606c2d Turn race manager into a singleton get for 2 processes 2020-02-28 09:42:44 +08:00
Benau
b7f2a9614d Add tool for server creation in the same process
For iOS or Android App Bundle (or other platform) where create process
or fork is not possible or can not be easily done
2020-02-28 09:35:25 +08:00
Benau
d63c68af78 Add thread safe log prefix assignment 2020-02-28 09:35:11 +08:00
Benau
56fb1b9cba Add header helper for thread local storage 2020-02-28 09:35:07 +08:00
Benau
a418302d9f Add thread safe function for server time logging prefix 2020-02-25 12:17:27 +08:00
Benau
3df7feb654 Fix android compilation 2020-02-15 16:41:20 +08:00
Benau
88bbdbdc92 Move no graphics setting to guiengine which is a better place 2020-02-15 14:00:48 +08:00
David Carlier
5e3881117d FreeBSD thread name support. 2020-02-06 19:00:02 +00:00
Benau
50944bb8c3 Add debug logging for iOS device 2020-01-20 14:58:03 +08: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
5ce95ba5e7 Fix clang warning 2020-01-12 12:59:02 +08:00
David Carlier
a6aa0aa9eb crash reporter, getting process path in native way on FreeBSD. 2020-01-11 21:23:45 +00:00
Fouks0
cb236e9674 Always show times in ms (#4177)
* Always have the time(r)s showing milliseconds
* Format time in mm:ss.mmm in the Ghosts List/Dialog
2020-01-09 17:12:38 +01:00
Bilka
8ce0def43d Removed StringUtils::notEmpty (#4208) 2020-01-09 17:06:39 +01:00
Bart Ribbers
8cd8b7c26e Define VALIST as va_list rather than char* on non-glibc systems (#4185) 2019-12-29 12:29:09 +08:00
Benau
10c0515c88 Fix create process with executable with space in path 2019-12-28 12:42:40 +08:00
Benau
801aa12743 Update full assets size for mobile stk 2019-12-19 01:46:06 +08:00
Benau
a45d4fe9f2 Show download size for addons pack 2019-12-06 19:34:26 +08:00
Quipyowert2
46b833f11d Use unsigned int with %x format string 2019-12-04 21:23:15 -08:00
Benau
f4da9718c5 Fix gui warnings 2019-11-08 16:24:58 +08:00
Benau
8582258cae Fix several crashes after add or remove tracks from various places 2019-11-08 12:48:04 +08:00
Benau
4b23552ea8 Add function to extract stk version and OS from user agent 2019-11-08 01:02:53 +08:00
Alayan
102498f130 Separate DoF and motion blur from the main graphics preset 2019-10-24 15:56:42 +02:00
Alayan
b4fe68b53d Improve leaning 2019-10-22 18:31:09 +02:00
Deve
6b26737cd2 Fixed AI in lan multiplayer on android 2019-10-12 22:52:47 +02:00
Benau
a26f67bf16 Allow using AI in lan racing game 2019-10-09 14:08:22 +08:00
Deve
6ba5cc888f Tweak previous commit 2019-10-05 01:20:06 +02:00
Deve
564601fafe Open debug menu more easily on high resolution android device 2019-10-05 00:08:48 +02:00
Benau
c8e3d5b512 Reload addons and grand prix info after downloading assets 2019-08-12 10:21:57 +08:00
Benau
4200f0ca59 Allow install full game assets from stk server 2019-08-08 16:38:53 +08:00
Benau
bdf8c589de Allow using external full stk-assets 2019-08-08 09:39:01 +08:00
Benau
afa26ccf97 Show download size for each option of game assets 2019-07-26 01:19:34 +08:00
Benau
857232fb52 Get system language for iOS 2019-07-24 01:36:21 +08:00
Benau
b1ed88476c Use traditional chinese for Hong Kong 2019-07-16 13:51:00 +08:00
Benau
009bac7802 Share more ifdef with android and iOS 2019-07-16 13:48:25 +08:00
Benau
1b0bae6954 Add version info for iOS 2019-07-16 10:39:14 +08:00
Benau
c710057db1 Allow compling crash reporting with mingw with unicode support 2019-06-29 14:50:33 +08:00
Benau
c321490a8a Handle exception in unicode conversion other than exiting STK immediately 2019-06-29 12:17:43 +08:00
Benau
08d686f156 Use already set unicode exe name in separate process 2019-06-29 02:02:28 +08:00
Benau
bc555ac514 Make all ifstream creation utf8 path aware 2019-06-28 23:39:18 +08:00
Benau
cbf55b6ecf Make all ofstream creation utf8 path aware 2019-06-28 22:54:02 +08:00
Benau
31caa7e056 Make all fopen utf8 path aware 2019-06-28 21:05:50 +08:00
Benau
324d2817f5 Allow starting stk inside unicode filepath 2019-06-28 20:53:46 +08:00
Benau
1cd725586f Add functions to handle file in utf8 encoded name 2019-06-28 20:49:33 +08:00
Benau
c337976413 Use unicode windows build with enabling directinput support in mingw 2019-06-26 11:32:18 +08:00
Benau
b58b93ac98 Reserve enough space for each line in profiler
And use drawQuick to avoid text shaping
2019-06-20 16:29:07 +08:00
Benau
59ccef98fb Add thai dictionary from ICU for linebreaking 2019-06-19 11:08:41 +08:00
Deve
09c0731392 Fixed compilation.
sstream uses _C internally, so it must be included before our #undef _C.
2019-06-15 21:48:28 +02:00
Benau
8df24aedab Add tool in StringUtils to make country flag 2019-06-16 01:40:06 +08:00
Benau
2b33917b91 Remove unneeded RTL handling in widgets and translation 2019-06-15 14:41:23 +08:00
Benau
20864d3c53 Return a copy of stringw in translation to remove the mutex lock 2019-06-15 14:26:13 +08:00
Benau
9a7210614b Remove fribidize in translation class 2019-06-15 14:11:14 +08:00
Benau
a56343b7e3 Clean up headers
Remove special RTL handling as it will be done when texting shaping
2019-06-15 13:52:28 +08:00
Benau
0fdbe5d34f Fix utf16 conversion
Follow the rules in:
https://github.com/brofield/simpleini/blob/master/ConvertUTF.c
2019-06-11 08:29:48 +08:00
Benau
5af761b841 Make xmlEncode/Decode working in windows 2019-06-11 01:07:42 +08:00
Benau
c0faf69a42 Add utf32 / wchar_t handling in network string 2019-06-10 15:31:49 +08:00
Benau
acb9054dcb Use libraqm for text layout 2019-06-09 11:26:00 +08:00
Reiner Herrmann
07b6a16000 Fix several spelling/grammar errors (#3951)
found by lintian
2019-06-04 19:04:18 -04:00
Benau
72c61e412a Fix compiler warnings 2019-05-27 13:13:51 +08:00
Benau
1b5c0fbabe Add localized country name handling 2019-05-11 01:11:48 +08:00
Benau
ebf95ee958 Use monotonic clock to avoid system time changes 2019-05-06 15:17:19 +08:00
Benau
bcc3aef4c8 Add sqlite3 for ip / online id ban table 2019-05-06 00:19:58 +08:00
Benau
d8edde34da Add document for compressed network values 2019-03-26 02:44:52 +08:00
Benau
220f5e6e4c Use hex values for 24bit compression 2019-03-25 23:46:18 +08:00
Benau
4821b66520 Save 1 less digit for compressed origin from btTransform 2019-03-07 15:53:56 +08:00
Benau
cb1769acea Use btTransform and normal compression if possible 2019-02-27 11:04:49 +08:00
Benau
5bc8002caa Close debug menu whenever screen is changed 2019-02-04 16:13:14 +08:00
Benau
e869fbfd9e Merge remote-tracking branch 'origin/for_alayan' 2019-01-26 16:18:47 +08:00
Benau
2e08fe3b15 Add current date and time to log for server 2019-01-26 14:56:08 +08:00
Deve
b68f6c1382 Better line wrap for non-breakable characters 2019-01-25 22:20:41 +01:00
Daniel Butum
edd1280dbc Update config to use the new online servers & remove hardcoded certificate (#3703)
* Update config to use the new online servers. Remove hardcoded certificate as we will use Let's encrypt from now on

* Fix new server SSL curl certificate by shipping CA bundle from https://curl.haxx.se/docs/caextract.html

* Remove debug log for curl host

* Move server config to stk_config.xml and Update news.xml redirects
2019-01-19 17:49:11 -05:00
Deve
d1fc7732c3 Don't open debug menu if there is dialog window.
The modal dialog eats gui close event, which is quite annoying.
Also return event block as long as debug menu is opened.
2019-01-14 23:27:36 +01:00
hiker
20882b9e29 Addresses issues raised by Auria's review - thanks! Mostly
renaming of variables, though I also simplified code a bit.
2019-01-09 12:52:38 +11:00
hiker
55cf0b66c6 Support more version numbers: -alphaX, -betaX, and -rcX
now all work, and result in properly sorted integer
version numbers. Added tests.
2019-01-09 00:28:26 +11:00
auria.mg
e4168e7a28 Revert "Update config to use the new online servers. Remove hardcoded certificate as we will use Let's encrypt from now on (#3690)"
This reverts commit b2c11c120b.
2019-01-07 20:01:00 -05:00
Daniel Butum
b2c11c120b Update config to use the new online servers. Remove hardcoded certificate as we will use Let's encrypt from now on (#3690) 2019-01-07 19:42:30 -05:00
Kevin Zheng
f40ac02242 Implement getCurrentExecutableLocation() on FreeBSD (#3688) 2019-01-07 19:31:15 -05:00
Alayan
b67c70bad7 Add hypen to breakable characters 2019-01-06 18:46:57 +01:00
Benau
f3bb19125c Add network debugging info with speed stats 2018-12-22 09:12:24 +08:00
Benau
a906e607df Fix rectangle face culling 2018-11-30 19:00:05 +08:00
Deve
503dc25106 Fixed a crash when loading localized names 2018-11-22 23:24:38 +01:00
Benau
19c06ebed6 Remove an unneeded if 2018-11-09 01:06:23 +08:00
Benau
84840cfab9 Make translation thread safe 2018-11-08 16:36:00 +08:00
Alayan
fec0216492 Add RTL support to breakText 2018-10-14 18:14:05 +02:00
Alayan
de2d24a571 Handle gracefully break requests of an empty string 2018-10-14 17:44:37 +02:00