Commit Graph

15259 Commits

Author SHA1 Message Date
Benau
9061d527df Fix #3543 2018-11-09 09:51:05 +08: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
Benau
0f2bf9e899 Fix compiler warning 2018-11-08 15:41:08 +08:00
Alayan-stk-2
c724585bfc
Fix #3536
The more accurate finish time stored as a variable wasn't reset between races.
2018-11-07 19:01:27 +01:00
Benau
189b90b2c5 Convert more getRealTime to getRealTimeMs 2018-11-08 01:37:21 +08:00
Benau
866df61527 Make isPlaying of music thread safe 2018-11-08 01:00:17 +08:00
Alayan-stk-2
01c79c746f
Simplify getTexture calls 2018-11-07 15:12:39 +01:00
Mrxx99
998d27dc5f added lap icon to the the kart icons in RaceUI that have finished the race already (#3538)
* added lap icon to the the kart icons in RaceUI that have finished the race already

* fixed identation

* implemented Aurias feedback
2018-11-05 18:22:59 -05:00
Deve
6ae89331c0 Fixed word wrap in achievements description and make close button slightly bigger. 2018-11-03 23:25:50 +01:00
Benau
1c8f2afd28 Don't show thunderbird when waiting for others 2018-11-03 16:31:51 +08:00
Benau
8507a08c5c Move skidding particles to updateGraphics to avoid rewinding issue 2018-11-03 16:19:52 +08:00
Deve
b7856d4991 Make sensitivity independent of deadzone for touch device 2018-11-03 00:06:17 +01:00
Deve
f05172b93f Use higher sensitivity for y axis on touch device 2018-11-02 22:10:41 +01:00
Benau
a7bbe54ea6 Fix stuttering of item rotation for big nitro switched by bubblegum 2018-11-02 15:59:32 +08:00
Benau
a13af6bfc8 Fix dropping big nitro with switch on 2018-11-02 01:41:43 +08:00
Benau
90daf4ce87 Fix item model no update if missing the switch event 2018-11-01 15:48:27 +08:00
Deve
e4eb1513fc Some fixes for tracks screen.
Now it works better with very big resolutions. Previously label height was used as a kind of margin for columns. But in extreme case it could be even bigger than child height.
2018-10-31 23:21:56 +01:00
hiker
724a5d94ba Merge branch 'master' of github.com:supertuxkart/stk-code 2018-10-31 23:20:53 +11:00
Benau
0b2a691b24 Fix compiler warning 2018-10-31 12:47:26 +08:00
Benau
8fb4f4886e Fix server only build 2018-10-31 02:31:39 +08:00
Benau
a65eb2f774 Fix nitro bar missing in non glsl 2018-10-31 01:59:37 +08:00
Benau
9e2084b63c Hide kart color slider button if not GLSL 2018-10-31 01:24:05 +08:00
Benau
cc580cec8b Focus on cancel button to avoid bad misclick result 2018-10-30 14:01:04 +08:00
Benau
5b38f73b27 Allow displaying new friend requests without restart 2018-10-30 13:19:42 +08:00
Benau
5ec4865008 Fix possible crash 2018-10-30 13:14:39 +08:00
Benau
b5ba68ae71 Show disabled chat message in the lobby chat box 2018-10-30 01:06:13 +08:00
Deve
0313a308d8 Always use real dt for cutscenes.
It fixes #3213
2018-10-28 23:21:55 +01:00
Deve
4ece4a6c00 Change param name to avoid conflict 2018-10-28 22:27:34 +01:00
Deve
a3eecaedc1 Give a little sense for story mode on android.
At least close big door until all available challenges are completed.
2018-10-28 21:55:48 +01:00
Benau
8c8a0f8452 Fix timer paused if user dialog opened 2018-10-29 01:48:58 +08:00
Benau
59f29ca975 Fix #3168 2018-10-28 12:59:23 +08:00
Benau
a77b897cd5 Add lock for calling fileExists from other thread in addons manager 2018-10-27 15:55:17 +08:00
Benau
bdd2b53ec1 Adjust some default values for server config based on play test
You need to remove old server_config.xml to have effect
2018-10-27 00:07:51 +08:00
Benau
feb11fa223 Split strict-players from ranked for more usage 2018-10-26 23:55:18 +08:00
Benau
d8d0e870b1 Clean star effects if explosion animation failed to create 2018-10-26 22:11:03 +08:00
Benau
e6b8163579 Don't add deleting flyable to state 2018-10-26 20:32:19 +08:00
Benau
8257f71a60 End plunger animation early if has none told by state 2018-10-26 17:48:58 +08:00
Benau
89aea95b00 Bring back the quit button for continuing grand prix 2018-10-26 15:22:14 +08:00
Deve
be137155af Fix for opening screen keyboard with gamepad on login screen 2018-10-25 22:42:45 +02:00
Deve
571d3d3ba0 Minor optimization for assets extraction 2018-10-25 22:17:35 +02:00
Benau
7902431abe Show bad team message only to server owner 2018-10-25 15:12:18 +08:00
Benau
d731a658d8 Add notification sound when new player joins lobby 2018-10-25 15:12:06 +08:00
Benau
20ea6d4a5f Show network tips only once per game 2018-10-25 14:24:35 +08:00
Benau
610c976ce2 Fix #3530 2018-10-25 14:15:33 +08:00
Benau
378c5c18e7 Simplify squash graphics 2018-10-25 10:39:36 +08:00
Deve
8737b91cb9 Set focus on button when screen keyboard is opened 2018-10-24 21:52:01 +02:00
Deve
a05fa23bf3 Revert "Fix close inputs being throttled, and speed up scrolling when a key is held (#3515)"
This reverts commit 614d4ac2f7.
2018-10-24 21:16:18 +02:00
Benau
5326dacb5a Don't treat as quitted players if disconnect after finished the race 2018-10-25 00:51:27 +08:00
Benau
fb13eb105e Fix ranking messed up in network when finishing race 2018-10-25 00:36:47 +08:00
Benau
e78dbe2cce Don't start demo world wrongly when isNetworking is true in menu
Fix the weird abyss screenshot with tux in android
2018-10-24 14:37:51 +08:00
Benau
ce8125b03a Dismiss the on screen keyboard too when shutdown 2018-10-24 14:32:01 +08:00
Benau
d3db5d8808 Split slipstream instant speed update for better rewind 2018-10-24 14:29:44 +08:00
Deve
2a4c5ad557 Make sure that at least one backspace action is triggered when backspace key was used on screen keyboard.
This makes it working for gamepads.
2018-10-24 00:24:52 +02:00
Deve
e585c26833 Allow to activate screen keyboard using gamepad 2018-10-24 00:24:52 +02:00
Sergii Pylypenko
0629aa07dd Fix for gyroscope camera using world coordinates instead of camera orientation 2018-10-23 20:56:04 +03:00
Deve
b4524e1db6 Fixed missing columns in edit gp screen 2018-10-23 00:55:43 +02:00
Deve
5b1a016b13 Avoid ugly empty space in addons screen.
It's not used for anything and simple to restore if needed.
2018-10-23 00:27:34 +02:00
Benau
0c9ea5ab11 Fix crash if exiting quick race too early 2018-10-21 14:29:57 +08:00
Deve
dae5bb221f Make minimap bigger for arenas on android 2018-10-20 21:53:18 +02:00
Benau
5ff7db155d Fix broken network kart selection screen if no addon karts available 2018-10-20 16:22:51 +08:00
Benau
768d52b1c8 Fix disconnected players removing the flag in CTF 2018-10-20 15:22:07 +08:00
Benau
45f4cb2f58 Fix compiler warning 2018-10-20 07:58:30 +08:00
Ryan
dbda816d73 Update font size in updateItemDislpay() instead of buildInternalStructure to prevent a bug where text overlapped (#3523) 2018-10-19 18:33:05 -04:00
Deve
e4b8c9eac2 Avoid a crash in friends list.
Not my fault, but indeed it was crashing when you enabled sorting and then opened friends list in your friend profile.
2018-10-19 22:44:53 +02:00
Deve
acc920c14f
Merge pull request #3522 from pelya/gyroscope
Gyroscope support for Android
2018-10-19 21:27:31 +02:00
Benau
7075dd5a47 Add kartHit in physics for ctf candela 2018-10-20 01:31:34 +08:00
Benau
f377f53452 Fix clang warning 2018-10-20 00:10:07 +08:00
Benau
2bbe2d5b79 Fix duplicated setsquash explosion animation creation 2018-10-19 23:47:55 +08:00
Benau
8058b74603 Remove unused min speed in state 2018-10-19 23:08:16 +08:00
Benau
876defbc29 Fix valgrind warning 2018-10-19 23:06:36 +08:00
Sergii Pylypenko
0e7fbfd6ef Revert "Dynamic noise filter for gyroscope values"
This reverts commit d538cdaa2b459249818426167325906834083899.
2018-10-19 16:41:38 +03:00
Sergii Pylypenko
ee07b8737c Dynamic noise filter for gyroscope values 2018-10-19 16:41:38 +03:00
Sergii Pylypenko
2114c18ab7 Roll the camera when gyroscope is used, for visual representation of steering 2018-10-19 16:41:38 +03:00
Sergii Pylypenko
714e5a75a2 Added doxygen comments to gyroscope functions 2018-10-19 16:41:38 +03:00
Sergii Pylypenko
572132be46 Implemented gyroscope controls, no camera rotation and no filtering algorithm yet 2018-10-19 16:41:38 +03:00
Sergii Pylypenko
64e0c6312e Added MULTITOUCH_CONTROLS_... enum for m_multitouch_controls config option 2018-10-19 16:41:38 +03:00
Sergii Pylypenko
9f923fdfaa Gyroscope option in config dialogs 2018-10-19 16:41:38 +03:00
hiker
964d7bf8de Added timing output for physics loop when using --physics-debug. 2018-10-20 00:39:03 +11:00
hiker
8bb75803ab Applied Benau's bugfix - thanks! 2018-10-19 23:28:56 +11:00
hiker
c2c6652dd7 Merge remote-tracking branch 'origin/master' into network-item-debugging 2018-10-19 23:26:39 +11:00
hiker
df4a371789 Reset bubblegum torque. While this has no effect on behaviour,
it avoids false positives when debugging network code.
2018-10-19 23:25:18 +11:00
hiker
6b273f926a Fix crash that is triggered when a client on rewind does not get
a valid raycast for the item position. Current solution is a bit
of a work-around (creating the item potentially higher than the
ground with incorrect orientation).
2018-10-19 23:23:33 +11:00
Alayan-stk-2
ab0a0da716
Update the number of ranked races before using it in the rank computations 2018-10-19 01:46:24 +02:00
auria.mg
1d5e4de91d Revert "GP Editor Word Wrap (#3519)"
This reverts commit abd522d937.
2018-10-18 19:20:35 -04:00
hiker
dff64f5878 Try to fix network item crash, caused by one item being collected
at the same time by two different karts.
2018-10-19 00:28:43 +11:00
hiker
036f00b55a Added --network-item-debugging option to log item related events. 2018-10-19 00:27:53 +11:00
Benau
10956a9517 Use dialog for login reminder 2018-10-18 09:06:17 +08:00
Ryan
abd522d937 GP Editor Word Wrap (#3519)
* Always call buildInternalStructure when updating items to prevent font size issues

* Added word wrap for DynamicRibbonWidgets and enabled on the GP editor.
2018-10-17 20:14:33 -04:00
Deve
d9abe219ef Use less aggressive touch device scale on small devices.
After some tests both 4.3" phone and 6.4" phone return the same screen size, so we can't really base that much on it.
2018-10-17 21:13:43 +02:00
Benau
22f1111dbe Fix rare end race in network crash reported 2018-10-18 00:51:51 +08:00
Benau
c1f10d79cb Use resetMaxSpeed now that the material and physics update order are correct 2018-10-17 16:24:03 +08:00
Benau
76602ac65a Move updatePhysics after material raycast updated 2018-10-17 14:26:22 +08:00
Benau
d87cd364db Fix clang warning 2018-10-17 11:39:47 +08:00
Deve
2dd8c0f55b Always update remember-user checkbox when user was selected 2018-10-16 21:41:26 +02:00
Ryan
614d4ac2f7 Fix close inputs being throttled, and speed up scrolling when a key is held (#3515)
* Fix close inputs being throttled, and speed up scrolling when a key is held.

* Fix tabs
2018-10-16 18:13:01 +02:00
Alayan
bf7f734b69 Fix list cell update regression 2018-10-16 17:17:00 +02:00
Deve
1d8bcf02d8 Improve sorting friends by status.
Sort in order New Request -> Pending -> Online -> Offline
2018-10-15 23:34:49 +02:00
Alayan
7dbd64e48d Add a fast but hard way to unlock the SuperTux difficulty 2018-10-15 18:17:41 +02:00
Deve
90f30a6ce0 Don't use virtualbox devices as gamepads 2018-10-14 22:25:07 +02:00
Alayan
04c9ab2290 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2018-10-14 18:49:35 +02:00
Alayan
b0dd73552e Compute the correct width to fit the broken text in the list cell 2018-10-14 18:18:20 +02: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
Alayan
893ac9d994 Vertically center multi-lines list cell text 2018-10-14 17:24:07 +02:00
Alayan
df5ccc2472 Fix missing last char in a line 2018-10-14 17:17:45 +02:00
Alayan
ec657a16e3 Only break text once rather than on each frame 2018-10-14 17:14:45 +02:00
Alayan
8ec4da69f0 Fix a typo which caused an infinite loop 2018-10-14 04:56:37 +02:00
Alayan
ec7386a27e Fix linker error 2018-10-14 04:25:45 +02:00
Benau
8f6ed10a8e Fix ctf time limit formula 2018-10-14 10:07:09 +08:00
Alayan
bf7354a7d8 Add most of the logic to word wrap list items 2018-10-14 04:04:37 +02:00
Alayan
f33a9c1a18 Remove more code duplication 2018-10-13 23:14:44 +02:00
Alayan
4722ca680d Reduce code duplication 2018-10-13 23:05:32 +02:00
Alayan
f32b6059e6 Display different message when the player win a grand prix 2018-10-13 20:59:14 +02:00
Alayan
78b1d5c672 Fix #3449 2018-10-13 20:28:35 +02:00
Benau
f813fbe562 Fix #3511 2018-10-14 01:08:13 +08:00
hiker
51acb8f822 Made item handling simpler, removed isPredicted state from items. 2018-10-14 01:15:06 +11:00
auria.mg
457594379c Merge branch 'Fix3462' 2018-10-12 19:24:24 -04:00
Deve
14b04ebc18 Update friends list only when it's already fetched 2018-10-12 21:43:27 +02:00
Alayan
6ef5f66ef2 Fix windows compilation 2018-10-12 20:48:54 +02:00
Alayan
c84db6a571 Add skin-specific color emphasis for list items 2018-10-12 20:44:38 +02:00
Alayan
1f1d87e838 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2018-10-12 19:11:37 +02:00
Alayan
4734e50a68 Also increase the FTL countdown when the leader is rescued 2018-10-12 19:10:46 +02:00
Alayan
a4142c13c1 Make the FTL countdown addition work for all type of explosion affecting the leader 2018-10-12 19:05:07 +02:00
Benau
724ca795f0 Add the required code for advanced meta library animation handling 2018-10-13 00:43:59 +08:00
Alayan
089f6d108e Add 5s to the FTL countdown when the leader is hit by a flyable 2018-10-12 18:18:23 +02:00
Alayan
2e6b7fd8ac Fix #3435 with a warning for too small resolutions 2018-10-12 15:17:34 +02:00
Alayan
52c0ddd718 Add comment to clarify why the checkline check is done that way 2018-10-12 05:01:53 +02:00
Alayan
5db620eb0f Fix #3313 2018-10-12 04:30:15 +02:00
Alayan
4af04b0123 Make multiplayer selection focus colored by the theme 2018-10-12 03:12:44 +02:00
Deve
ad144c6fb7 Fixed missing music in cutscenes.
Fixes #3503
2018-10-11 23:03:05 +02:00
hiker
eb5045987e Fixed crash in networking when driving over a bananas when a
shield is active.
2018-10-12 07:32:22 +11:00
Deve
53e232144f Add missing header 2018-10-11 21:48:28 +02:00
Deve
35f6e465bc Don't flood with wrong way message.
It fixes #3427.
2018-10-11 21:36:09 +02:00
Benau
3725013135 Discard ThreeDAnimation with no IPO 2018-10-12 01:20:57 +08:00
Benau
359c468604 Split track animation with physical or graphical objects 2018-10-12 00:55:37 +08:00
hiker
17ab076858 Fixed various compiler warnings for 64-bit windows compilation. 2018-10-11 23:27:08 +11:00
Benau
510d221fbc Add updateGraphics for track object presentation 2018-10-11 16:23:20 +08:00
Alayan
19e2baed74 Fix #3085 2018-10-11 04:53:26 +02:00
Alayan
d4363f3604 Use black outlines and the special digit font for trophies/points numbers in the overworld UI 2018-10-11 04:18:34 +02:00
Alayan
2461e8a032 Reduce code duplication 2018-10-11 03:49:39 +02:00
Alayan
cc36aa9e7f Make the lap N message more legible, minor tweaks 2018-10-11 02:48:41 +02:00
auria.mg
98503a7ff6 Lapline fix, tweak values and add explanations 2018-10-10 20:06:07 -04:00
auria.mg
d8f85267ad Another attempt to fix #3462, this one works much better 2018-10-10 19:53:07 -04:00
Alayan
21af25ef9b Partial fix to distances frozen in cannons 2018-10-10 19:41:02 -04:00
Alayan
02859b673e Fix distances when off-road, keep rescue to last on-road node 2018-10-10 19:41:02 -04:00
Alayan
fb38f1f389 Fix inconsistency in the achievement dialog 2018-10-10 23:30:55 +02:00
Alayan
ed1ba448a8 Fix #3502 2018-10-10 23:00:34 +02:00
Alayan
7471d215db Check and remember if a challenge's supertux requirement (esp. time) have been met at a lower difficulty 2018-10-10 22:50:27 +02:00
Alayan
ef62e48e89 Fix #3500 2018-10-10 02:27:53 +02:00