Commit Graph

15831 Commits

Author SHA1 Message Date
Benau
ece95cbb81 Use MessageQueue to show whether the replay file is saved successfully 2016-02-11 13:42:25 +08:00
Benau
1278394740 More clean 2016-02-11 10:09:31 +08:00
Benau
80152d2989 Clean up 2016-02-11 10:05:40 +08:00
Benau
4daa752bb6 Don't hurt a kart when it's already hurt enough 2016-02-11 09:08:12 +08:00
Benau
3f89512b34 Remove most isGhostKart() hack when avoidable 2016-02-11 09:01:09 +08:00
Benau
bb88a0f0ec Allow auto-save replay when specified in time trial mode.
It will disable AI when recording, also it will only save if the
race is completed, ie no one gave up or all events fit in max frame recorded.
2016-02-11 00:42:33 +08:00
Benau
5a9fdd7a8d Allow replay reverse track 2016-02-10 12:43:45 +08:00
Benau
61d6e572c0 Remove unnused file 2016-02-10 10:38:27 +08:00
Benau
0181ba0bc9 Add Ghost Controller 2016-02-10 10:27:13 +08:00
Benau
bf080421a7 Allow showing speed of ghost karts in replay
Use when change camera target to ghost karts
2016-02-08 12:28:40 +08:00
Benau
b6b644ecb5 Clean up 2016-02-07 10:20:37 +08:00
Benau
af5b23e5c6 Fix potential crash 2016-02-07 00:56:14 +08:00
Benau
c3f589561c Initial work on supporting real race with ghost karts
To test, you need to pass --ghost to supertuxkart with choosing a
track that has replay recorded, you can record one with artist
debug mode.

TODO: correct position handling
2016-02-06 14:52:50 +08:00
Benau
647f42e984 Update comment 2016-02-05 09:40:34 +08:00
Benau
0091c1555a Save nitro and zipper GFX in replay 2016-02-05 09:30:40 +08:00
Benau
5810acb114 Fix memory leak 2016-02-04 10:11:14 +08:00
Benau
38eeddd4e8 No reference for int and float 2016-02-04 09:51:59 +08:00
Benau
4cbb31b8e5 Ghost kart replay fixes:
1. Allow saving steering, speed, suspension length

2. No more crashes when trying to replay
2016-02-04 08:17:02 +08:00
Benau
87862c27ae Fix #2127 2016-01-31 10:16:12 +08:00
Marianne Gagnon
3de922bc19 Fix animated textures not working on animated meshes. FIxes #2432 2016-01-30 18:11:58 -05:00
Benau
40e193e415 Reset the ball if out of navmesh after 2 seconds
Plus some code clean up
2016-01-29 14:40:52 +08:00
hiker
ad21b6dfa2 Merge pull request #2375 from leyyin/travis-matrix
Add matrix configuration to travis file
2016-01-29 12:23:04 +11:00
Benau
cbc9353210 Completely brake the AI karts in goal phase. 2016-01-28 16:13:03 +08:00
Daniel Butum
28394c36b1 Add matrix configuration to travis file 2016-01-26 18:01:54 +02:00
Benau
5c81a2a3e7 Seperate red and blue balls a bit in race gui
This make score like 10:10 a bit clearer
2016-01-25 12:51:43 +08:00
Benau
e8adf7f051 Remove bubblegum in soccer mode as suggested by auria 2016-01-25 12:50:20 +08:00
Benau
3674815e03 Missing reset() 2016-01-23 10:50:32 +08:00
Benau
2bc9362ac6 Add mini-skid for BattleAI when attacking targets 2016-01-23 10:34:20 +08:00
Benau
df9dc5ff34 Make AI really bends it like Beckham
Notice: AI will only try to skid to save the ball from being scored
when expert and supertux mode.
2016-01-22 22:01:22 +08:00
Benau
ea05f4b6ba Allow saving default time limit option too 2016-01-22 12:27:09 +08:00
Benau
99162e3d0f Fix wrong positioning of music description in soccer mode with time limit. 2016-01-22 12:01:01 +08:00
Benau
95f6f910b8 Allow saving selected team in single player soccer mode. 2016-01-22 11:32:06 +08:00
Benau
a7aedbe208 Remove unused PNG 2016-01-22 09:20:03 +08:00
Benau
1ee9979fe1 More soccer mode improvements:
1. Max 8 karts are supported now

2. Clearer starting position assignment in soccer world

3. Reset all karts to starting position after each goal
2016-01-21 15:28:11 +08:00
Benau
35ce3d8299 Add defense knowledge for AIs 2016-01-20 16:30:26 +08:00
Benau
1e7ac6e98b Avoid eating banana in a smarter way 2016-01-20 14:20:46 +08:00
Benau
93b6b96c2e Put animation settings in KartModel 2016-01-20 10:16:18 +08:00
Benau
3a3963bf8d Make STK soccer mode more like real match
1. Short win animation is shown in a kart if it scored correctly

2. Possible to identify own goal in result gui

Also player name is shown instead of kart name in result gui for all modes.
2016-01-19 16:21:58 +08:00
Benau
7831ef5ef5 Reverse logic for opposite goal 2016-01-19 16:21:30 +08:00
Benau
b7df193ed4 Add Red/Blue icon in soccer setup screen 2016-01-19 08:49:23 +08:00
Marianne Gagnon
7e93af7414 Forgotten file in previous commit 2016-01-17 21:31:23 -05:00
Marianne Gagnon
025c117d58 Tweak soccer setup screen to be clearer 2016-01-17 21:21:55 -05:00
Benau
6e2f1c98e1 Merge remote-tracking branch 'origin/master' into soccer_ai 2016-01-18 10:00:45 +08:00
Marianne Gagnon
0b5fdb6729 More work on billboards to render them properly, see #2427 2016-01-17 20:58:20 -05:00
Benau
d9a9900608 Merge remote-tracking branch 'origin/master' into soccer_ai 2016-01-18 09:54:23 +08:00
Benau
61113bbef9 Silence warning as auria suggested 2016-01-18 09:52:34 +08:00
Benau
606add8605 Use back billboard arrow 2016-01-18 09:50:55 +08:00
Marianne Gagnon
ea02f232dc Fix compositing of billboards, they were forced to be additive 2016-01-17 20:37:15 -05:00
Benau
51ce4c5cbd Use red/blue billboard text above karts in soccer world as Arthur suggested 2016-01-17 12:13:20 +08:00
Benau
ab61e55a6d Fix bugs in Race GUI 2016-01-17 12:11:09 +08:00