Commit Graph

20231 Commits

Author SHA1 Message Date
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
Alayan-stk-2
5368b57147
Remove a few credits line for tracks/karts no longer in the main game
I suspect that some kart credits are also for old versions of karts which have been redone since then, but if the new version is based on the old, entirely removing credit may not be appropriate either.
2018-10-16 03:01:15 +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
Deve
9cbf15c1a2 Update to stable xdg shell 2018-10-14 22:11:30 +02:00
Alayan
04c9ab2290 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2018-10-14 18:49:35 +02:00
Alayan
dad837511b Allow word wrap for list items in the achievement info dialog 2018-10-14 18:49:25 +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