Commit Graph

15295 Commits

Author SHA1 Message Date
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
Alayan-stk-2
15132c9ef6
Fix a spelling error 2018-10-10 02:11:27 +02:00
Deve
b5cde81b48 Some fixes for player icons in touch gui 2018-10-10 00:26:40 +02:00
Deve
b70bd83d9c Fixed compiler warnings 2018-10-09 22:27:39 +02:00
Deve
ba1da58f0b Don't change current working directory.
It causes issues with multithreading.
Fixes #3498
2018-10-09 21:42:16 +02:00
auria.mg
8cf997d9cf WIP fix for #3462 . Not merged yet since this has side-effects, can cause issues on tracks like lighthouse where you can drive around the lapline 2018-10-08 20:55:17 -04:00
Alayan
b4cb7321d6 Add a thin outline for lap time/battle lives 2018-10-08 16:18:13 +02:00
Alayan
027705f9b1 Avoid important messages blocking view 2018-10-08 15:20:36 +02:00
Alayan
57d225dd68 Make final lap message more legible 2018-10-08 15:06:30 +02:00
auria.mg
0cb89e1a4f Fix crash in karts sorting caused by inconsistent comparison predicate 2018-10-07 20:48:18 -04:00
Deve
2888f6ee2d Get correct track groups for soccer/battle mode 2018-10-07 21:45:48 +02:00
Alayan
0766df61f2 Block the final challenge being accessed earlier than intended 2018-10-07 19:12:13 +02:00
Alayan
9b6156279c Fix potential segfault 2018-10-07 16:29:18 +02:00
Alayan
767b613389 Fix an achievement's progress being displayed as -1 2018-10-07 16:09:47 +02:00
Alayan
18c2aa207f Fix an achievement save issue 2018-10-07 15:56:16 +02:00
Alayan
2dfecdb85f Fix #3488 2018-10-07 15:36:25 +02:00
Benau
aec3fb9e17 Update string 2018-10-07 13:14:59 +08:00
Benau
15c41ceaaf Fix clang warning 2018-10-07 12:14:22 +08:00
Benau
38d13adc07 Use a custom dialog to show the details of an achievement's progress 2018-10-07 11:33:38 +08:00
Benau
a8b1c54092 Don't assume socket creation is always succeed (not when using torsocks) 2018-10-07 10:15:58 +08:00
Alayan
cd3bf122e6 Display the number of goals fullfiled, and if only one goal, its value progress 2018-10-06 18:26:57 -04:00
Alayan
ff5bb8792e Minor fixes 2018-10-06 18:26:57 -04:00
Alayan
9e6bc5d5ba Set achievements progress on load based on data counters 2018-10-06 18:26:57 -04:00
Alayan
a4d81beda4 Store achievements in a goal tree ; update achievements progress entirely depending on config 2018-10-06 18:26:57 -04:00
Alayan
3eab9b11b6 Remove unused code, prepare transition to dynamic progress update 2018-10-06 18:26:57 -04:00
Alayan
b3b9f20592 Add game mode counters, document existing counters, and some fixes 2018-10-06 18:26:57 -04:00
Alayan
358c15b7f9 Make Arch Enemy use a generic counter, fix some wrong enum names 2018-10-06 18:26:57 -04:00
Alayan
2b49f0da20 Simplify achievement data enum names 2018-10-06 18:26:57 -04:00
Alayan
a90890d0b3 Move end-race achievement counter updates to a dedicated function 2018-10-06 18:26:57 -04:00
Alayan
43dd2f2f82 Make Marathoner use generic counters. Fix #3176 2018-10-06 18:26:57 -04:00
Alayan
bdbd66dbb7 Make Mosquito Hunter use a generic counter 2018-10-06 18:26:57 -04:00
Alayan
5144984fd5 Remove leftover include 2018-10-06 18:26:57 -04:00
Alayan
05df0d6297 Make Strike use a generic counter 2018-10-06 18:26:57 -04:00
Alayan
d008da5548 Keep track of how many time each difficulty is used in linear races 2018-10-06 18:26:57 -04:00
Alayan
edc683f720 Use a parametrizable function instead of multiple functions ; track more values 2018-10-06 18:26:57 -04:00
Alayan
19d594b465 Make Christoffel Columbus use per-track generic counters 2018-10-06 18:26:57 -04:00
Alayan
5405933e2e Make Skid-Row use a generic counter 2018-10-06 18:26:57 -04:00
Alayan
09f5376312 Make Banana Lover use a generic counter 2018-10-06 18:26:57 -04:00
Alayan
3427d21939 Fix #3483 2018-10-06 18:26:57 -04:00
Alayan
a32834e518 Make Powerup Love use a generic counter 2018-10-06 18:26:57 -04:00
Alayan
69ee99c495 Add a new Beyond Luck achievement ; make Unstoppable more challenging. 2018-10-06 18:26:57 -04:00
Alayan
70eb11de4f Reimplement Gold Driver and Unstoppable by gathering data in general counters. Also fix #3487 2018-10-06 18:26:57 -04:00
Deve
41ea4b1997 Draw local players icons above AI/remote players on the minimap. 2018-10-06 22:31:37 +02:00
Alayan
3c98c35439 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2018-10-06 15:58:38 +02:00
Alayan
bf4dd67562 Improve a formulation 2018-10-06 15:58:02 +02:00
hiker
0b3d343585 Removed unnecessary code. 2018-10-06 12:30:35 +10:00
hiker
796ff5b361 Fixed item collection in networking. 2018-10-06 12:26:55 +10:00
hiker
df4ad4ab63 Added missing 'virtual'. 2018-10-06 12:26:10 +10:00
Deve
055a14bbaf Use team color to highlight karts on minimap in soccer/ctf 2018-10-05 23:42:26 +02:00
Alayan
b7b2a60eff Allow to set custom colored border through ScalableFonts 2018-10-05 20:21:57 +02:00
Alayan
1b17879313 Add functions and variables to allow custom-colored text outlines 2018-10-05 20:08:47 +02:00
Alayan
1202a34a59 Add black borders to most text in the race UI 2018-10-05 19:47:44 +02:00
Benau
697af6b08c Fix server only build 2018-10-06 01:12:39 +08:00
Alayan
68916b0adf Add the possibility to exclude owned projectiles from the nearby projectiles count 2018-10-05 17:50:43 +02:00
Alayan
6445fb059d Split DrawGlobalPlayerIcons 2018-10-05 17:42:54 +02:00
Deve
0c5b1a3999 Always show current reolution in options 2018-10-04 21:55:00 +02:00
Benau
1bb0be6a8c Fix crash for deve's soccer arena without navmesh 2018-10-05 00:58:46 +08:00
Deve
fedf93c928 Tweak range of touch device gui scale 2018-10-03 21:13:01 +02:00
Benau
693a3bc954 Allow flag to be placed on driveable object (for ctf temple) 2018-10-04 01:06:58 +08:00
hiker
d98419a5f8 Oops - forgot to update server version number as well. 2018-10-03 17:55:58 +10:00
hiker
44706a5066 Re-enable bubble gum and switch in network games. 2018-10-03 12:20:11 +10:00
hiker
438a2dd6a3 Fixed release build. 2018-10-03 12:07:21 +10:00
hiker
35deb3970b Merge remote-tracking branch 'origin/master' into network-item-debugging 2018-10-03 10:54:14 +10:00
hiker
465df8dcac Merge branch 'network-item-debugging' of github.com:supertuxkart/stk-code into network-item-debugging 2018-10-03 10:43:40 +10:00
hiker
5143ae97ea Fixed crash in AI caused by missing virtual declarations. 2018-10-03 09:10:08 +10:00
hiker
76dc8c8763 Hopefully fixed switch in networking mode. 2018-10-03 08:51:19 +10:00
Deve
b26d8f3454 Avoid a crash when using close button in kart selection screen 2018-10-02 22:28:12 +02:00
Deve
da4f6cf8cf Fixed memory leak 2018-10-02 22:16:37 +02:00
hiker
c2d0ac4a61 Converted ItemManager to use a vector of *ItemState (instead of
*Item) for its item handling. This allows us later to use
the switch functions to work on either the current items
or on the confirmed item state (i.e. code reusage for rewind).
2018-10-02 09:05:32 +10:00
Benau
a2d4763201 Hide minimap when hide all for artist debug mode 2018-09-30 16:30:27 +08:00
Benau
c8db9e2490 Restore swatter discard now in arena or soccer in network properly 2018-09-30 16:10:58 +08:00
Benau
ab94fdfceb Allow more than 1 player winning in FFA if a tie 2018-09-30 14:38:18 +08:00
Benau
6478a0714d Fix multiplayer sound keep playing 2018-09-30 14:06:40 +08:00
Benau
cb9a17563e Don't call SP::SPTextureManager::get() if not GLSL to avoid leaking 2018-09-30 13:00:24 +08:00
Benau
05e1d629ee Fix exit STK requests leak 2018-09-30 12:42:17 +08:00
Benau
6809984928 Fix #2813 2018-09-30 11:08:54 +08:00
Benau
767651124a Always specify --server-password so that empty password can disable private server 2018-09-30 01:08:46 +08:00
Deve
93298023b4 Don't display powerup count indicator after finish online race 2018-09-29 08:14:55 +02:00
Benau
a4c9a8826c Don't crash if user opened paused dialog in network when ending race 2018-09-29 14:00:54 +08:00
Deve
51c67aa1e4 Add a fallback lib path for server creation 2018-09-28 23:15:16 +02:00
Benau
e5a66cf5af Fix mingw build 2018-09-29 01:03:54 +08:00
Benau
e55ee508f8 Disable switch and bubblegum for now in network again 2018-09-29 00:24:54 +08:00
Benau
5041c6585d Allow recreation of kart animation from state if the required creation event missed 2018-09-29 00:21:25 +08:00
Benau
addcb84802 Undo to before kart animation position for item collection 2018-09-29 00:15:35 +08:00
Benau
2fafe495dd Make it consistent with attachment rewind when eating banana with bomb 2018-09-29 00:11:26 +08:00
Benau
51f8884881 Fix missing no graphics option for lan server 2018-09-29 00:03:32 +08:00
Benau
abd3a79526 Merge remote-tracking branch 'origin/network-item-debugging' 2018-09-28 23:39:04 +08:00
Benau
d61b74fdd4 Fix parachute rewind 2018-09-28 22:52:18 +08:00
Benau
97e5e63e7c Split plunger drawing in race GUI to update graphics
Avoid overwriting the values by rewind
2018-09-28 19:27:05 +08:00
Benau
759a1d5a33 Fix missing lookback firing for network ai 2018-09-28 18:07:54 +08:00
Benau
8efd422125 Update server version
At the moment ignore server config before final release
2018-09-28 17:41:45 +08:00
Benau
ae4ed9e2e7 Restore rubber band with hit kart and reserve mode included 2018-09-28 17:05:17 +08:00
Benau
689fab6bc8 Default lobby chat on 2018-09-28 16:04:18 +08:00
Benau
dd9bb640d1 Use the same item index for server and client
TrackObjectPresentationSound will create item trigger, when network
split screen is used it will be diverged.
2018-09-28 16:01:08 +08:00
Benau
8950354e62 Avoid using deleted end controller when rewind 2018-09-28 14:40:37 +08:00
Benau
136b649716 Fix error log encoding 2018-09-28 09:59:40 +08:00
Alayan-stk-2
f174bb63cb
Merge branch 'master' into Characteristics 2018-09-27 19:31:13 +02:00
hiker
7720ab45f5
Merge pull request #3467 from supertuxkart/ConstantTurnRadius
Fix the turn radius bug
2018-09-28 01:35:38 +10:00
Deve
c360209676 Avoid memory leaks when window is closed during the race 2018-09-26 22:34:23 +02:00
Alayan
871ee40053 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2018-09-25 23:50:10 +02:00
Alayan
f0d862f472 Fix lap time difference being displayed for only a few ticks 2018-09-25 23:49:58 +02:00
Alayan
091d9bf130 Fix display overlap between live difference and lap indicator at some resolutions 2018-09-25 23:10:31 +02:00
Deve
4c6af1d381 Fixed more memory leaks when closing stk server 2018-09-25 22:39:02 +02:00
Alayan
8d40a69842 Remove call to removed function 2018-09-25 20:02:23 +02:00
Alayan
69ee902327 Make hiker happy 2018-09-25 19:46:28 +02:00
Alayan
4a39813f07 Make the Cocoa Temple challenge a ghost replay challenge available from the start 2018-09-24 21:39:57 +02:00
Alayan
6196782420 Remove debug prints 2018-09-24 19:33:14 +02:00
Alayan
a08866f96d Fix #3271 : a kart's turn radius is independent of its length 2018-09-24 19:31:52 +02:00
Alayan
50f87e3f0f Fix even more incorrect flying 2018-09-24 13:08:55 +02:00
Alayan-stk-2
1c6890f77e Race UI improvements (#3465)
* Add a flag icon next to the lap counter

* Fix flag icon scaling across resolutions

* Add an option controlling minimap display

* Allow to display all the karts in the icon list if the minimap is hidden/on the right

* Remove useless scaling

* Fix minimap issues in splitscreen

* Align the spinners in the UI options

* Check for touch settings instead of a compile-time Android check

* Fix server-only compilation

* Make UI options checkboxes have the same size than checkboxes elsewhere

* Add translation cues for minimap options

* Don't look up icon paths every frame
2018-09-23 21:15:51 -04:00
Benau
0c3691cf18 Fix alayan crash 2018-09-24 08:38:25 +08:00
hiker
e467789e3a Fixed unused parameter. 2018-09-24 08:37:38 +10:00
Deve
36d1376567 Probably fixed broken music and some crashes after server close on android 2018-09-23 22:53:11 +02:00
Benau
56e9be326e Fix #3463 2018-09-23 15:26:24 +08:00
Alayan
896768ebbe Make boosted AI karts be less hindered by rubber-banding 2018-09-22 23:22:37 +02:00
Alayan
5bd37e1e2e Merge branch 'master' of https://github.com/supertuxkart/stk-code 2018-09-22 23:14:53 +02:00
Deve
0dca414e02 Fixed some memory leaks when a server is closed 2018-09-22 22:06:27 +02:00
Alayan
46c2c88461 Give a boosted AI to some AI karts in races and GP 2018-09-22 22:02:11 +02:00
Deve
c8305012f8 Make sure that m_flying is initialized when reset function is called first time during initialization. 2018-09-22 20:54:43 +02:00
Deve
8bdc45f7a3 Increase hiscore file version.
Hiscores with more than 3 entries are incompatible with older STK versions and cause a crash on startup.
2018-09-22 20:50:05 +02:00
Deve
eed9d200d3 Revert "Revert "Fixed android compilation""
This reverts commit 8f6daefc73.
2018-09-22 20:43:05 +02:00
Alayan
f60dc3ce4c Fix #3399 2018-09-22 19:15:33 +02:00
Alayan
0b7e2d35fb Fix another instance of kart flying incorrectly 2018-09-22 16:28:51 +02:00
Alayan
63a377cf0b Tell the AI to not gift free nitro cans when a switch is active 2018-09-22 16:22:52 +02:00
Alayan
c7ea40df6c Correctly wait before using a gum shield against a bomb for best AI 2018-09-22 16:06:11 +02:00
Alayan
e11f327519 Fix a crash with ghost replays 2018-09-22 15:50:05 +02:00
Alayan
4a18ac2725 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2018-09-22 03:31:51 +02:00
Alayan
902e64c7f5 Redesign track info screen to work with 5 highscores, battle mode and hi-dpi 2018-09-22 03:31:07 +02:00
Alayan
82408aab2f Restore 5 highscores 2018-09-22 01:55:28 +02:00
Benau
553747237e Check for possible null m_confirmed_state 2018-09-22 00:54:37 +08:00
Benau
5f463f7f80 Enable auto server recovery for wan servers only 2018-09-21 20:37:45 +08:00
Benau
b1a535b21f Save ticks till return for eating banana with bomb 2018-09-21 20:06:47 +08:00
Benau
aa2d944813 Use setTicksForRewind for count down game timer 2018-09-21 16:13:19 +08:00
Benau
2f2a128e06 Fix missing initialized values 2018-09-21 16:12:04 +08:00
Alayan
13b3b3c2bd Remove redundancy between kart constructor and reset, reset a few more variables 2018-09-21 02:44:51 +02:00
Alayan
6dedbff1a8 Fix all known instances of kart flying due to cushioning 2018-09-20 23:56:53 +02:00
Alayan
0da04805b4 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2018-09-20 22:22:56 +02:00
Alayan
961c4af662 Fix cushioning when landing on a slope, reduce needed data size 2018-09-20 22:22:23 +02:00
hiker
7cabefc8e9 Fixed incorrect bubble gum rotation prediction (because wrong time
was used when rewinding).
2018-09-20 19:30:52 +10:00
Benau
6232140689 Implement auto server recovery if connection to stk-addons is lost 2018-09-20 16:43:34 +08:00
Benau
f975e37dea Use a uniform material loading for non-glsl (for server) 2018-09-20 14:20:38 +08:00
Deve
bc675ffd81 Revert "Disconnect android player from wan race when the window is not active anymore"
This reverts commit e80e0555e1.
2018-09-19 22:06:41 +02:00
Deve
2c79b02088 Make pause button working when watching ghost replay 2018-09-19 22:06:24 +02:00
Alayan
6af8f70b48 Add support for challenges in reverse mode 2018-09-19 18:13:42 +02:00
Deve
63ba99457e Add a check for null when unset squash 2018-09-19 07:07:40 +02:00
Benau
951c48292a Fix #3446 2018-09-19 09:19:34 +08:00
auria.mg
afe2b6f2f4 Fix crash when searching for users fails. Does not fix the search, only fixes STK crashing when errors occur 2018-09-18 19:20:19 -04:00
Alayan
52f5562be8 Fix crash with ghost replays 2018-09-19 01:04:19 +02:00
hiker
23a82aab54 Merge remote-tracking branch 'origin/master' into network-item-debugging 2018-09-19 08:33:42 +10:00
Deve
402cbea3d6 Restore wheels size when game is restarted.
Fixes #3455
2018-09-19 00:14:53 +02:00
Deve
e80e0555e1 Disconnect android player from wan race when the window is not active anymore 2018-09-18 23:05:54 +02:00
Deve
18c108c99a Add some commandline params 2018-09-18 23:05:54 +02:00
Alayan
eb274e01d4 Adjust value to cushion most small jumps 2018-09-18 20:32:13 +02:00
Alayan
6145aff895 Use height data to cushion only close to the ground and adjust impulse strength 2018-09-18 20:01:59 +02:00
Alayan
6af07fac77 Don't assume number of physics ticks per second 2018-09-18 15:56:09 +02:00
Alayan-stk-2
6b4ebc2148
Minor style fixes 2018-09-18 13:52:08 +02:00
Alayan
d39b2a0620 Move special bomb steering in handleSteering 2018-09-18 13:19:14 +02:00
Alayan
ab1e86d796 Move handleNitroAndZipper in handleAcceleration 2018-09-18 12:40:29 +02:00
Alayan
1f514727d5 Change handleAcceleration into handleAccelerationAndBraking 2018-09-18 12:00:02 +02:00
Benau
07ad8977dd Use separate nettle aes context for encryption and decryption
So it can be used and validated by different threads at the same time
2018-09-18 14:25:55 +08:00
Benau
0cd8c03bcd Fix uninitialized value 2018-09-18 10:03:46 +08:00
Alayan
f0807f9c0e Move handleBraking next to handleAcceleration for easier maintenance 2018-09-18 03:40:08 +02:00
Alayan
488e53d669 Remove hardcoded number assuming tick duration 2018-09-18 03:30:31 +02:00
Alayan
c032bfe941 Remove unused findNonCrashingPointFixed 2018-09-18 03:13:55 +02:00
Alayan
fb95e9736b Disable rubber-banding for FTL leader 2018-09-17 21:25:27 +02:00