Commit Graph

16245 Commits

Author SHA1 Message Date
Benau
a26f67bf16 Allow using AI in lan racing game 2019-10-09 14:08:22 +08:00
Benau
9e0da6a283 Update translation source 2019-10-08 09:15:01 +08:00
Benau
4a3631ded3 Fix #3858 2019-10-08 09:06:02 +08:00
Benau
b472639da0 Fix left / right toggle in race result gui 2019-10-07 16:30:09 +08:00
Deve
72e364a38d Some GUI tweaks 2019-10-05 23:48:44 +02:00
riso
657e02efe4 Clean icon name (Improve PR#4073) (#4081)
* fix icon names

* add file mode_weapon.png
2019-10-06 01:14:09 +08:00
Benau
4a3dfd975f Make text translatable 2019-10-05 10:11:57 +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
123survesh
94ef5124d0 Fix for #3444: Changing the title text for key bindings dialog box 2019-10-04 12:14:16 +05:30
Du maosen
71fec6780c Icon button for race result (#4071)
* Icons for race result

* Fix bugs && improvements

* Tabs to spaces

* Fix bugs && improvements
2019-09-30 15:33:07 +08:00
Deve
98d8aca91a Add half vsync to gui 2019-09-28 22:19:03 +02:00
Deve
fc8f6a218e Add possibility to use half vsync 2019-09-28 01:43:26 +02:00
Du maosen
8316d91469 Some improvements for soccer AI spinner (#4069)
* Improve code

* Bigger space in track info

* Bug fix && improvements

* Bug fix && improvements

* Bug fix && improvements
2019-09-26 10:12:24 +08:00
riso
351a6ed6c0 forgot to fix this bug in previous pr4063 2019-09-23 20:10:58 -05:00
riso
0547e1e469 Add options to control the number of red/blue AI in soccer mode (#4063)
* Add options to control the number of red/blue AI in soccer mode (offline)

* fix a bug related to the upper bound when AI num=0 and trying to lower the number

* forgot to fix this

* remove the Balanced/Custom spinner

* improve the AI number spinner's behavior at lower bound

* Hide blue ai number setting if not soccer

* move getting red/blue players number to function TrackInfoScreen::getRedBluePlayerNumber()

* Tab to Space

* rename local variable m_xxx to num_xxx

* bug fix

* improve the default AI number: try the previously used one, if cannot use the previous, recalculate the AI number using balanced
2019-09-23 21:59:17 +08:00
Benau
1553d7b70f Use copyTo for same size glyph 2019-09-22 09:00:26 +08:00
Benau
9154aeda58 Add support for CPAL / COLR tables color emoji
Require freetype 2.10, emoji can be Windows 10 Segoe UI Emoji for
example
2019-09-21 16:08:12 +08:00
Benau
f4cf63572d Clear some global variables for android 2019-09-21 13:05:42 +08:00
Benau
25aca4328b Add font configuration to skin 2019-09-21 11:48:22 +08:00
Benau
1d74efcd08 Clear message queue when destroying GUIEngine
So it won't call font which could already been reset
2019-09-21 11:42:35 +08:00
Benau
660a35a468 Allow changing font size live 2019-09-21 11:41:21 +08:00
Benau
d7a66f72e8 Allow changing icon theme live 2019-09-21 11:36:12 +08:00
Benau
48ba0aaf27 Rearrange skin structure for usage in addons folder 2019-09-21 11:33:11 +08:00
Benau
e6801e1599 Initial work on icon theme 2019-09-21 11:25:13 +08:00
Deve
95a74a9917 Allow reset object in script 2019-09-21 02:04:37 +02:00
Deve
2056cd3e91 Add better teleport function 2019-09-18 23:56:51 +02:00
Deve
4895cd27a4 Avoid minimap on left side when spectating with touch gui 2019-09-08 22:12:33 +02:00
riso
0e4f875443 Clean IPV4/ipv4 to IPv4, IPV6/ipv6 to IPv6 2019-09-03 14:24:03 -05:00
Benau
58ad947443 Add IPV6 support to stats database 2019-08-23 11:01:00 +08:00
Benau
69f3c72101 Use new code for iOS IPV6 only server connection 2019-08-21 16:10:41 +08:00
Benau
c705b8fe80 Enable IPV6 in android 2019-08-21 14:59:13 +08:00
Benau
850d270260 Allow choosing IPV6 connection in server selection screen 2019-08-21 12:00:50 +08:00
Benau
7becfb311d Use more real address in server 2019-08-21 10:46:04 +08:00
Benau
02f8f6fadd Allow windows using IPV6 2019-08-21 09:19:05 +08:00
Benau
1053c582fa Add --connect-now6 for ipv6 connection 2019-08-21 00:21:54 +08:00
Benau
ab56a4fa8b Add ipv6 info to game server 2019-08-21 00:17:31 +08:00
Benau
a92b9abf54 Remove expired mapped address using last activity 2019-08-20 13:10:18 +08:00
Benau
5cacd486da Add ipv6 server configuration 2019-08-20 10:45:33 +08:00
Benau
3f0db672d6 Allow getting public IPV6 address with STUN for server 2019-08-20 00:54:13 +08:00
Benau
0c5166ac39 Add getaddrinfo_compat for workaround of an iOS 9 bug 2019-08-19 14:38:26 +08:00
Benau
285e4e7be5 Remove stun servers not supporting ipv6 2019-08-19 00:12:28 +08:00
Benau
c2c5c20d92 Initial work on IPV6 game server 2019-08-19 00:05:34 +08:00
Benau
ce2c442402 Add accelerator with handle icons 2019-08-17 00:13:57 +08:00
Benau
41a74817f7 Allow steering wheel following touchscreen control with acceleration indicator 2019-08-16 21:56:21 +08:00
Benau
f787832772 Add 2d drawing shader with custom alpha 2019-08-16 11:48:10 +08:00
Benau
ce1c188b1a Add rotation uniform to 2d drawing shader 2019-08-16 10:31:24 +08:00
Benau
4a12d6aba2 Allow buttons to be used in a linked way 2019-08-15 15:35:58 +08:00
Benau
c8e3d5b512 Reload addons and grand prix info after downloading assets 2019-08-12 10:21:57 +08:00
Benau
819fa6537b Correct active state for assets download when internet option changes 2019-08-12 10:02:57 +08:00
Benau
88adfbc8df Limit chat to 1000 characters 2019-08-11 02:11:48 +08:00
Benau
1397f3834f Add max length to string16 en/decoding 2019-08-11 01:59:31 +08:00
Benau
d78b57ad9b Optimize large string conversion 2019-08-11 01:30:26 +08:00
Benau
f786c6fde8 Fix missing channel count in network creation 2019-08-11 01:27:32 +08:00
Benau
6669a5b073 Fix track reloading memory leak 2019-08-09 01:15:22 +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
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
87b515ee75 Avoid hanging if exit connecting to server 2019-07-26 18:25:39 +08:00
Benau
504e2b8cbf Hide quit button in main menu for iOS 2019-07-26 15:43:09 +08:00
Benau
afa26ccf97 Show download size for each option of game assets 2019-07-26 01:19:34 +08:00
Benau
4d761f3958 Use a detailed error message 2019-07-24 15:46:50 +08:00
dumaosen
bee235a65c UI fix bundle XI (#4018)
* Prettier server conf

* Better icon size for race result

* Delete useless min value
2019-07-24 01:44:53 +08:00
MiroslavR
7e1af5d87c Make achievement goal string consistent (#4019) 2019-07-24 01:44:17 +08:00
Benau
82557ff032 Fix crashes when leaving lobby in iOS 2019-07-24 01:38:41 +08:00
Benau
857232fb52 Get system language for iOS 2019-07-24 01:36:21 +08:00
Benau
ef68f8377a Move creation of music information after downloading assets 2019-07-24 01:35:40 +08:00
Benau
3293196707 Move loading of SP shaders after downloading assets 2019-07-24 01:35:15 +08:00
Benau
d24e253435 Re-initialize file archives after downloading assets 2019-07-24 01:34:31 +08:00
Benau
5cc5780f28 Add download assets screen for mobile stk 2019-07-24 01:33:12 +08:00
Benau
ed011bed4c Allow extract_zip to work recursively 2019-07-21 16:37:11 +08:00
Benau
5d2b3efe12 Add graphics restrictions for iOS simulator 2019-07-19 17:14:31 +08:00
Deve
fd3a2099bc
Tell system that it should use nvidia on optimus devices 2019-07-19 09:25:48 +02:00
Benau
f1cd119465 Use vaules from settings to determine buttons
In iOS seems that the sensors do not immediately update after you
activate them
2019-07-18 16:16:25 +08:00
Benau
3e51fadc09 Improve english 2019-07-18 15:47:47 +08:00
Alayan
40a8411090 Restore replay list density, and keep a consistent tab size 2019-07-17 20:12:10 +02:00
Benau
dbb14a2861 Fix default windows size and height in iOS 2019-07-17 16:55:09 +08:00
Alayan-stk-2
b95c3233d6
Remove a useless and confusing test
If min_sector could be anything but UNKNOWN_SECTOR out of the loop, the "return 0" would be wrong.
2019-07-16 12:04:03 +02:00
Nathan Mills
5e9b3d2c4e Limit sscanf %s fields to prevent possible crash. (#4006)
The crash could happen if the input replay files are corrupted.
2019-07-16 11:46:11 +02:00
Benau
3c252ac4c2 Fix missing loading icons in iOS 2019-07-16 14:03:56 +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
5537959b19 Update hardware stats for iOS 2019-07-16 13:42:16 +08:00
Benau
610d7f1fef Hide server creation buttons in iOS 2019-07-16 13:41:30 +08:00
Benau
1b0bae6954 Add version info for iOS 2019-07-16 10:39:14 +08:00
Benau
48fedb48c7 Add accelerometer and gyroscope to iOS 2019-07-16 01:03:37 +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
8c00a1e857 Share the override default params with android 2019-07-13 14:22:22 +08:00
Benau
e9a6882bc3 Fix data path discovery in iOS 2019-07-13 13:46:20 +08:00
Benau
8510ebfb27 Add iOSDevice and EAGLManager 2019-07-13 13:44:03 +08:00
QwertyChouskie
c34a68896d Fix display of high-res background images 2019-07-11 19:34:52 -07:00
QwertyChouskie
a238dc27e5 Scrollbar: Support Advanced Stretching for background and thumb 2019-07-11 19:34:52 -07:00
Benau
963c6de4cd Fix #3991 2019-07-08 11:44:10 +08:00
Benau
6c096bb63b Fix #3989 2019-07-08 10:57:59 +08:00
Benau
6cab3b07c9 Avoid crashing in TrackSector if findOutOfRoadSector failed 2019-07-08 10:18:50 +08:00
Benau
400c1e5347 Fix #3597 2019-07-08 01:45:36 +08:00
Benau
dc8bbfc603 Allow saving kart color to KartStatus 2019-07-08 01:29:11 +08:00
Benau
f79f115b58 Fix country flag in CTF result screen 2019-07-08 01:08:46 +08:00
Benau
5ac5932d3a Allow specifying database waiting timeout 2019-07-08 00:26:11 +08:00
Benau
9e6e31cfb2 Allow osx app bundle running inside unicode directory 2019-07-06 16:33:55 +08:00
dumaosen
2818a1870e Delete nobest (#3987)
* Delete nobest

* Make supertux locked
2019-07-06 09:58:20 +08:00
Deve
98f7b45a21 Add a possibility to disable system screen keyboard 2019-07-05 22:39:28 +02:00
Benau
5e2f75a078 Fix possible null current screen in overworld 2019-07-06 01:40:05 +08:00
Benau
2fe99efee0 Fix #3982 2019-07-03 07:58:27 +08:00
Benau
6dfc8dd52c Add text shaping rule for variation selector-16 2019-07-01 14:53:44 +08:00
Benau
7c4c7b6f63 Use quicker ways to stop ingame protocol after finishing game 2019-07-01 14:20:24 +08:00
Benau
3573f64ae1 Allow start and terminate protocol directly 2019-07-01 10:49:41 +08:00
Deve
242f1ecfe2 Change to spectator mode after race end in multitouch gui.
Tested only on desktop, but should work on android too.
2019-06-30 23:19:59 +02:00
Benau
c5452cda64 Allow karts with custom engine sfx 2019-07-01 01:50:29 +08:00
Benau
1aca4a9ff5 Fix artifacts in the begining of race by raytracer reflexion 2019-06-30 15:42:22 +08:00
Benau
8fa3c79be7 Clear only data from network to fix #3980 2019-06-30 10:05:56 +08:00
Benau
c710057db1 Allow compling crash reporting with mingw with unicode support 2019-06-29 14:50:33 +08:00
Benau
a37b300530 Fix possible crashes in null device 2019-06-29 12:41:56 +08:00
Benau
c321490a8a Handle exception in unicode conversion other than exiting STK immediately 2019-06-29 12:17:43 +08:00
Benau
4f1361b71f Fix encoding for default username 2019-06-29 09:38:36 +08:00
Deve
4df28023b5 Fixed race results that were drawn too early.
It fixes #3978
2019-06-28 22:18:22 +02:00
Benau
08d686f156 Use already set unicode exe name in separate process 2019-06-29 02:02:28 +08:00
Benau
35c70a16b5 Avoid crashing if color emoji failed to load 2019-06-29 01:38:23 +08:00
Benau
b3200937da Allow getting unicode environment variables in windows 2019-06-29 00:31:30 +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
12a9237016 Make all rename utf8 path aware 2019-06-28 21:06:27 +08:00
Benau
31caa7e056 Make all fopen utf8 path aware 2019-06-28 21:05:50 +08:00
Benau
ea8896bc17 Add unicode filepath support to replay class 2019-06-28 20:59:44 +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
Alayan
fb99661d5d Display hours between 1h and 2h too in GPs 2019-06-28 12:25:17 +02:00
Benau
12f08c410d Fix non-networked race with AIs country flag handling 2019-06-27 10:21:03 +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
samuncle
476b73375a Experimental raytracer with multisampling (todo: implement this properly) 2019-06-24 23:33:03 +02:00
samuncle
a5e40f9a8a Add color buffer to compute proper space screen reflexion 2019-06-24 23:33:03 +02: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
Donough Liu
1ce37e3bea Function name typo fix 2019-06-22 09:51:32 +08:00
Donough Liu
25926b0aec Typo fix 2019-06-22 09:37:24 +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
13b6a6b25c Fix inherited script font selection 2019-06-20 15:37:53 +08:00
Benau
d0fac726d3 Allow to use emoji ingame 2019-06-20 10:34:47 +08:00
Benau
d6aa111f16 Rename country_flag capability to color_emoji for more usage 2019-06-20 01:33:46 +08:00
Benau
7165449da8 Add emoji keyboard 2019-06-20 01:24:55 +08:00
Benau
1389d55e35 Use last cluster to determine linebreaking so ligatures is handled 2019-06-19 12:49:47 +08:00
Benau
59ccef98fb Add thai dictionary from ICU for linebreaking 2019-06-19 11:08:41 +08:00
Benau
e344a94946 Allow game protocols self-terminated if world is gone 2019-06-18 00:42:44 +08:00
Benau
0ce185e42c Allow breaking with zero-width space 2019-06-17 16:09:27 +08:00
Benau
d666a350f6 Rewrite message queue with GlyphLayout and fix #3922 2019-06-17 15:48:15 +08:00
Benau
7d1afc99fe Fix missing achievements translation 2019-06-17 11:01:04 +08:00
Benau
d44275a1f6 Fix FPS drawing if there it's translated 2019-06-17 10:37:32 +08:00
Deve
4bd94f8ea6 Check hardware keyboard availability on wayland for better touch screen support 2019-06-16 22:48:06 +02:00
Benau
a0e182b142 Fix RTL top text missing 2019-06-17 01:31:51 +08:00
Benau
bb63a85d6f Remove unneeded RTL settings 2019-06-17 01:22:34 +08:00
Benau
8995342b94 Clear cached glyph layouts if too many 2019-06-17 01:12:54 +08:00
Benau
ae3fb4b004 Fix missing server infos if back from live join kart selection 2019-06-17 01:07:28 +08:00
Benau
275dbe3631 Show country flag in soccer if client supports 2019-06-16 15:25:53 +08:00
Benau
970061358b Show country flag in result screen 2019-06-16 14:07:16 +08:00
Benau
6c74d4a287 Show country flag in race gui 2019-06-16 13:56:37 +08:00
Benau
6a05325c75 Show country flag in lobby 2019-06-16 13:34:56 +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
9f953fab0e Show country flag in server screen 2019-06-16 01:40:31 +08:00
Benau
8df24aedab Add tool in StringUtils to make country flag 2019-06-16 01:40:06 +08:00
Benau
a7b096ab9b Add translation help for select challenge dialog 2019-06-16 00:58:09 +08:00
Benau
44095088ee Avoid using extreme size in non-artist debug mode if going back from it 2019-06-16 00:47:35 +08:00
dumaosen
4f6e3793b8 fix #3923 && replace fonts size to font size (#3960)
* Replace fonts size into font size

* replace fonts size to font size

* Replace fonts size into font size

* #3923 && replace fonts size to font size

* delete min & max

* add font size spinner in loadedfromfile

* Delete wrap around

* Fix a bug

* Wider range in artist debug mode

* Better word
2019-06-16 00:33:57 +08:00
Benau
fb31ddc81f Fix cursor positioning with emoji in android 2019-06-15 16:26:57 +08:00
Benau
784c6715ad Fix composing text color 2019-06-15 15:00:03 +08:00
Benau
2b33917b91 Remove unneeded RTL handling in widgets and translation 2019-06-15 14:41:23 +08:00
Benau
8d1923acfd Remove unneeded translation.hpp in header files 2019-06-15 14:28:35 +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
b5e5d44808 Remove no longer needed fribidize 2019-06-15 14:04:55 +08:00
Benau
fc143276fe Allow to use stringw directly when setText 2019-06-15 13:56:36 +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
64b8fc4466 Round next line offset to integer to avoid blurring effect 2019-06-15 11:08:11 +08:00
Deve
b892836e94 Fixed credits screen 2019-06-14 21:47:52 +02:00
Benau
70a17007b6 Use separate info in server dialog 2019-06-14 21:57:56 +08:00
Benau
c2339dc83b Make too long broken text draw as fit as possible 2019-06-14 20:39:30 +08:00
Benau
69f71e4959 Fix post race info out of border when using big font 2019-06-14 15:33:43 +08:00
Benau
5589003a80 Fix RTL text missing in race result gui
We need to always specify the lower corner to allow auto RTL text
alignment working
2019-06-14 14:14:31 +08:00
Benau
1edb0b152e Use 4 spaces instead of tab for separation 2019-06-14 13:44:43 +08:00
Benau
d51f7f4448 Avoid substr exception when using on-screen keyboard 2019-06-14 11:32:47 +08:00
Benau
c3a719cd4b Change some on-screen keyboard characters after FreeSans is removed 2019-06-14 11:03:51 +08:00
Benau
acc05bfcef Only toggleOnScreenKeyboard false if using it 2019-06-14 10:40:54 +08:00
dumaosen
b7dc5dd6f2 New interface of challenge selection (#3957)
* New interface

* New interface

* New interface

* Replace tabs into 4 spaces && fix a bug

* Change the solution

* Fix a bug
2019-06-13 20:49:25 +02:00
Benau
84fa4ecac8 Fix text display with RTL 2019-06-14 01:45:21 +08:00
Deve
ec97bc8316 Always call drawTooltips.
If tooltips list is empty, then it does nothing and at least the list is cleared each frame.

It fixes a crash for #3957
2019-06-13 19:21:31 +02:00
Deve
8c4ace6c17 Call onUpdate before drawing is started.
No idea why it's in render() function, especially that some dialogs are self-destroyed in onUpdate.

It may need some testing if everything is ok.
2019-06-13 19:17:25 +02:00
Benau
392d3cfe86 Fix memory read error by moving destruction of dialog to onUpdate 2019-06-12 12:07:58 +08:00
Benau
effc0a27dc Always use thin border for fallback font (emoji)
Which avoids the scaling issue of border
2019-06-12 09:06:54 +08:00
Benau
f07110ed26 Fix #3936 2019-06-12 08:44:39 +08:00
Benau
c398ba4484 Fix server only build 2019-06-12 00:34:32 +08:00
Benau
d7cd98f636 Use a smaller ratio to waste less space 2019-06-11 16:30:06 +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
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
591bd0c3af Use utf16 for java string to stringw conversion 2019-06-10 16:09:07 +08:00
Benau
c0faf69a42 Add utf32 / wchar_t handling in network string 2019-06-10 15:31:49 +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
dumaosen
6cc75a106b UI fix bundle VII (#3949)
* Smarter size

* Better size

* Smarter row size

* Smarter size

* Fix #3792

* Bigger title && use 4 spaces

* Fix #3792

* Better credits

* Smarter size

* Less lines to preserve space

* Smarter icon size

* Better size

* Completely fix #3792

Using buttonbar in every line can avoid scaling problems

* Completely fix #3792

* Completely fix #3792

* Add space under the screen

* Make space smaller

* Smarter ratingbar size

* Better size

* More reasonable size for powerup texts

* Better spacer under the screen

* Sparter space under buttons

* Smarter space under buttons

* Smarter space

* Smaeter space under icons

* Smarter space under buttons

* Smarter space

* Smarter space under butons

* Smarter space

* Smarter space under buttons

* Smarter space

* Smarter space under buttons

* Smarter space

* Smarter stars size

* Fix an extra line

* change buttonbar back into ribbon

* dont declare the width of the buttons

It may cause some characters partly showed or hidden in some lang
2019-06-08 22:01:54 +02:00
Deve
08c61bfb91 Disable changing font size during race 2019-06-05 23:31:24 +02:00
Deve
7f42b84432 Allow to modify multitouch settings during the race 2019-06-05 22:59:47 +02:00
Reiner Herrmann
07b6a16000 Fix several spelling/grammar errors (#3951)
found by lintian
2019-06-04 19:04:18 -04:00
Benau
867cecc01e Refactor FaceTTF for later better usage 2019-05-30 10:34:47 +08:00
dumaosen
dd9d5c89e1 Use icons in general_text_field (#3944)
* Use icons in general_text_field

* Use icons for general_text_field

* Add </buttonbar>

* Use 4 spaces
2019-05-29 01:14:01 +08:00
Benau
d487a2e72e Clear text when closing keyboard if onEnterPressed returns true 2019-05-28 15:21:06 +08:00
Benau
391b61be95 Fix highlighting of composing text in the middle of sentence 2019-05-28 14:24:45 +08:00
Benau
4413c06a82 Allow login with next button in native android keyboard 2019-05-28 09:52:20 +08:00
Benau
1d3dfc3110 Only do android callback for soft keyboard 2019-05-28 01:55:10 +08:00
Benau
677d984267 Fix navigation with hacker keyboard arrows 2019-05-28 01:43:42 +08:00
Benau
1d5e80c131 Add cap sentences for chat
Can be disabled in per keyboard setting in system configuration
2019-05-28 00:43:08 +08:00
Benau
e3ce7d0a19 Use email keyboard if possible 2019-05-27 21:11:35 +08:00
Benau
336300b997 Allow showing different soft keyboard in android 2019-05-27 16:34:16 +08:00
Benau
420c51955e Handle action next with STK properly 2019-05-27 15:51:36 +08:00
Benau
72c61e412a Fix compiler warnings 2019-05-27 13:13:51 +08:00
Benau
f61241f745 Add onTextUpdated for android soft keyboard input 2019-05-27 12:32:23 +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
9b94437cac Make it possible to show missing texture file name 2019-05-27 08:44:57 +08:00
Benau
baa2feab14 Use utf32 for conversion 2019-05-26 01:18:51 +08:00
David CARLIER
a4f962ce57 Silent build warning, exception as ref. instead (#3940) 2019-05-26 00:36:54 +08:00
Benau
34e680bfbd Allow copying from STK edit box to android edit text 2019-05-25 22:19:15 +08:00
Benau
e6d5346e5e Allow copying java EditText to STK editbox 2019-05-25 00:40:37 +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
dumaosen
18dc77c8f9 UI fix bundle VI (#3926)
* Fix skill bars bug in local multiplayer

* Fix skill bars bug in local multiplayer

* Smaller height

* Better multiplayer spinner
2019-05-19 22:42:46 +02:00
dumaosen
2d3ae6aefc UI fix bundle V (#3921)
* Use font height

* Smarter space

* Smarter space

* Better space to avoid bad looking ui

* Smarter space

* Use font height

* Better height

* Better skill bar look

* Better skill bars look
2019-05-17 21:42:45 +02:00
Deve
ec485bae4c Add font size to options 2019-05-16 22:16:36 +02:00
dumaosen
86a0d06f99 IV for better row size (#3920)
* Smaller rows

* Bigger row

* Smaller row
2019-05-16 21:21:56 +02:00
Deve
5b133c21c9 Make hiscores list scrollable 2019-05-15 22:27:29 +02:00
dumaosen
dff77dd808 GenIII for scaling issues fix (#3917)
* Use foont height

* Use font height

* Bigger size

* Use font height

* Use font height

* Use font height

* Use font height

* Better height

* Use font height

* Use font height

* Bigger size
2019-05-15 12:13:50 +02:00
Benau
206a3d8aec Add server location to dialog 2019-05-14 15:16:21 +08:00
Benau
b9f82ebdf0 Rename network user dialog to network player dialog 2019-05-14 14:44:58 +08:00
Benau
b79151c760 Enable live join only when no game protocols 2019-05-14 09:05:46 +08:00
Benau
45cafe9984 Replace tab with 4 spaces 2019-05-14 08:34:36 +08:00
Deve
4883e4a585 Use floating point value for font scale 2019-05-13 23:46:28 +02:00
dumaosen
da4ac0a976 A better solution for those scaling issues in high or creepy resolutions gen II (#3910)
* Fix scaling issues

* Fonts size adjustion support

* Add fonts size support && Fix scaling issue

* Use fonts height

* Fix scaling issues

* Add my name onto CREDITS

* Fix scaling issues

* Fix scaling issues

* Use space instead of tab

* Use space instead of tab

* Fix bad scale

* Use font height
2019-05-13 23:39:43 +02:00
Benau
86bc8bd877 Add country code info to submit ranking 2019-05-14 01:04:20 +08:00
Benau
07e490c038 Make sure protocol only started once 2019-05-14 00:25:01 +08:00
Benau
8027df6373 Fix possible enet packet leaking 2019-05-14 00:07:40 +08:00
Benau
7ee774118b Move validation checking to sendPacketToAllPeersWith 2019-05-13 15:41:15 +08:00
Benau
bb65ba927e Always discard unknown synchronous message instead of keeping it
Synchronous message can only be EVENT_TYPE_MESSAGE anyway
2019-05-13 14:02:04 +08:00
Benau
fff6c1d51f Add success status to player who reports 2019-05-13 13:25:43 +08:00
Benau
5b6b38346c Clean up protocol manager 2019-05-13 12:02:21 +08:00
Benau
0912758d0e Get a copied list of protocols to prevent long time locking 2019-05-12 15:43:11 +08:00
Benau
b0695b08a5 Use mono time for event arrival time 2019-05-12 14:33:48 +08:00
Benau
d7bffa4ade Check again for max players if it's pending connection
Should fix #3874
2019-05-12 13:39:16 +08:00
Benau
4fe2fc5f58 Add last session player info if sqlite supports window functions 2019-05-12 13:04:43 +08:00