Commit Graph

20063 Commits

Author SHA1 Message Date
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
9f3bc471d8 Specify reverse status for existing challenges 2018-09-19 18:17:36 +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
Deve
c2b2a57c87 Minor fix for run_server script.
Restart if known error happened and also update datetime to avoid overwriting log files.
2018-09-17 22:15:14 +02:00