Commit Graph

825 Commits

Author SHA1 Message Date
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
2fafe495dd Make it consistent with attachment rewind when eating banana with bomb 2018-09-29 00:11:26 +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
ae4ed9e2e7 Restore rubber band with hit kart and reserve mode included 2018-09-28 17:05:17 +08: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
Benau
553747237e Check for possible null m_confirmed_state 2018-09-22 00:54:37 +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
hiker
7cabefc8e9 Fixed incorrect bubble gum rotation prediction (because wrong time
was used when rewinding).
2018-09-20 19:30:52 +10:00
hiker
23a82aab54 Merge remote-tracking branch 'origin/master' into network-item-debugging 2018-09-19 08:33:42 +10:00
Benau
0cd8c03bcd Fix uninitialized value 2018-09-18 10:03:46 +08:00
Benau
dc059aa8f7 Fix attachment with swatter removing bomb animation rewind 2018-09-17 16:15:15 +08:00
Deve
e84ac0da7c Avoid a crash when node is null 2018-09-15 23:31:22 +02:00
Benau
01b95d873e Header clean up 2018-09-15 11:18:30 +08:00
hiker
1291d2c0d3 Fix crash in case of multiple item collection and different
item ids on client and server.
2018-09-13 11:29:40 +10:00
Benau
1b0f5be495 Pre-upload powerup spm to prevent hangs when using item 2018-09-12 16:34:38 +08:00
Benau
f39946347f Try to free vertex buffer memory if possible 2018-09-12 16:29:41 +08:00
Deve
31d425795c Bubblegum may be used up only if switch was not used 2018-09-11 22:29:55 +02:00
Deve
3ebc68ff10 Fixed glow when switch is used 2018-09-11 22:02:06 +02:00
Benau
c59a11c85c Skip waiting players in network item manager 2018-09-05 01:59:40 +08:00
hiker
9211b26251 Fixed bubble gum collection in networking (at least the problem
that you would on the client collect the gum you just dropped).
2018-09-04 18:32:10 +10:00
hiker
5955166931 Try to fix that a client collects its own bubble gum in case of
a rewind.
2018-09-03 18:21:03 +10:00
hiker
3d34c2893b Merge branch 'master' of github.com:supertuxkart/stk-code 2018-09-03 10:13:01 +10:00
hiker
03c003b68d First fix for bubble bum support in networking (and some documentation
updates).
2018-09-03 10:08:33 +10:00
Alayan-stk-2
ad68f5c5ac
Fix #3415 2018-08-30 05:37:07 +02:00
Alayan-stk-2
ea25d6b7d4
Fix #3404 2018-08-28 03:18:49 +02:00
Deve
7738eb7899 Fixed compilation with older gcc 2018-08-24 22:59:46 +02:00
Benau
11bb2f3b0a Always call kartHit
CTF map can be used without arena, and linear race mode will
override kartHit to do nothing anyway
2018-08-21 01:49:59 +08:00
Benau
58c55a3b30 Don't recreate animation if exists already 2018-08-20 14:34:17 +08:00
Benau
eca9ffb508 Scale the timer according to m_end_ticks told by server if necessary 2018-08-20 11:39:31 +08:00
Benau
73c264df94 Add support for CTF map 2018-08-16 02:09:44 +08:00
Benau
2efe3afa9f Don't undo swatter destruction which is not necessary with local event 2018-08-13 13:05:29 +08:00
Benau
64595a7b18 Initial work on FFA in network 2018-08-13 00:59:20 +08:00
Benau
6bdec3d01a Add initial framework for FFA and CTF in network 2018-08-12 10:57:37 +08:00
Benau
e9945a5d16 Improve undo destruction for flyable 2018-08-08 11:50:45 +08:00
Benau
7d17601f8a Fix 32bit random number overflow 2018-08-07 10:56:23 +08:00
Benau
93aeeda12b Fix rewind issue of rubber ball 2018-08-06 14:37:55 +08:00
Benau
79d1178626 Improve kart animation handling in network 2018-08-04 16:29:49 +08:00
Benau
ce58014cab Fix compiler warning 2018-08-03 20:26:16 +08:00
Benau
8b07ec755a Disable switch and bubblegum for now in network 2018-08-03 01:28:20 +08:00
Benau
9a8d5fc667 Improve swatter in network by locally add a swat event 2018-08-02 16:37:56 +08:00
hiker
b164a35d91 Fixed item distribution (signed numbers made the random number
negative, causing incorrect distribution of items).
2018-08-02 18:03:42 +10:00
hiker
0fa25db181 Removed runbber ball's time-between-ticks setting, which is not
necessary anymore after alayan's changes to item distribution.
2018-08-02 09:34:03 +10:00
hiker
46706fb109 Applied a simpler version of Alayan's change to selecting the
a random item: the computed 'random' number is now sent through
a PRNG once to avoid long sequences of picking the same item.
2018-08-01 09:55:08 +10:00
hiker
9b7f63b4ca Applied alayan's bugfix - thanks! 2018-08-01 09:55:00 +10:00
hiker
8ea8562ee6 Fixed profile mode. 2018-08-01 09:54:43 +10:00
Benau
59ebc48fe1 Don't recreate locally destroyed projectile 2018-07-30 01:56:14 +08:00