Commit Graph

22087 Commits

Author SHA1 Message Date
Panagiotis Vasilopoulos
6e4c4a757d Improved socket code
* Removed assertion
* Fixes networking/compiling on the Haiku operating system

Co-authored-by: Benau <Benau@users.noreply.github.com>
2020-06-14 22:03:50 +03: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
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
Deve
4298e686d0 Add missing directories in clean command 2020-06-01 00:57:31 +02:00
Deve
880aaa8121 Add stk-editor to the build script 2020-06-01 00:56:01 +02: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
Deve
12ec0621a1 Add linux build script 2020-05-31 00:05:34 +02:00
riso
661688db2d
Show a message once a goal is made in soccer (#4304)
* log the goal on server once a player scored in soccer

* show a message once a player made a goal in soccer

* bug fix, add comments

* remove server log
2020-05-30 13:28:27 +08:00
Benau
7829cb3928 Avoid possible crash 2020-05-24 23:59:41 +08:00
riso
b22c09e345
Os emoji in lobby (#4298)
* first version, not work with old version server

* fix bug of sending extra byte

* delete the extra line
2020-05-24 23:56:25 +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
3risian
712854b33a
Expose getDifficulty() to scripting 2020-05-23 11:40:58 +10: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