Commit Graph

16876 Commits

Author SHA1 Message Date
Benau
1a9a4c626e Properly add the model view widget
Use add() will set angle = 0 in ModelViewWidget
2016-10-10 14:38:30 +08:00
Benau
d1c1435b55 Use a better string 2016-10-10 05:16:19 +00:00
Benau
8e2d7c5499 Fix memory leaks and uninitialized values of ShadowMatrices 2016-10-10 13:04:40 +08:00
Benau
d39f5e487b Don't set position and target of camera the same
Otherwise NAN will be calculated in ViewArea of camera
2016-10-10 13:04:40 +08:00
Benau
aaa0e11770 Fix using uninitialized values when init() the first time 2016-10-10 13:04:40 +08:00
Benau
03f9fb35da Fix valgrind warning 2016-10-10 13:04:34 +08:00
Benau
4ed599403e Show a message when a life gained 2016-10-10 08:47:10 +08:00
Benau
fdcb4dac8d Fix assertion when no spare tire karts 2016-10-09 17:41:20 +08:00
Benau
b4907f5519 Tell player that they have max 3 lives only 2016-10-09 13:52:24 +08:00
Benau
fb0f4fca3c Allow BattleAI to collect lives 2016-10-09 13:24:00 +08:00
Benau
6b8156c254 Pre-spawn spare tire karts on random nodes in graph
Don't use the item location, as it can be remembered by players
2016-10-09 11:17:36 +08:00
Benau
357567ae8d Move spare tire num info to race_manager
It allows this info to be get more easily
2016-10-09 09:50:26 +08:00
Deve
8092cfc0a7 Fixed displaying some special characters in keys binding in options.
It most probably needs to be done this way since commit 2096532d0e.
I don't know what about OSX, so I enabled it only for linux.
2016-10-08 21:26:20 +02:00
Deve
1e520d551f Merge pull request #2650 from Legimet/fix-boom-boom-boom-credits
Fix credits for Boom-boom-boom song
2016-10-08 19:52:47 +02:00
Legimet
ee17928382 Fix credits for Boom-boom-boom song 2016-10-08 12:07:39 -04:00
Benau
71359a087d Add heart billboard with red kart for spare tire karts 2016-10-08 14:29:28 +08:00
Benau
8889654d96 Move STA function out of world 2016-10-08 09:41:02 +08:00
Benau
9096bb05bd Merge remote-tracking branch 'origin/master' into spare_tire_kart 2016-10-08 08:36:05 +08:00
Benau
59edb96489 Fix warning when eliminate a kart in battle mode 2016-10-08 08:35:07 +08:00
Benau
71662df159 Improve spawn formula 2016-10-07 21:49:05 +08:00
Benau
c907442bb4 Fix incorrect target node access 2016-10-07 16:43:54 +08:00
Benau
2147b74fe4 Fix engine sound after re-spawn 2016-10-07 16:03:15 +08:00
Benau
b055fa573d Try to fix hangs when firstly spawn STA 2016-10-07 15:29:36 +08:00
Benau
91af45337f Pre-add spare tire karts probably 2016-10-07 14:39:39 +08:00
Deve
5c4b61a26e Fixed numpad keys on linux.
We need to check numlock mask, because it may be different on different systems, and possibly also modified manually.

It should generally work fine, but some testing are welcome.
2016-10-06 20:31:10 +02:00
Benau
b66e6ef06d Use MaxSpeed to slow down spare tire karts 2016-10-06 00:35:52 +08:00
deve
ce28d46d14 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2016-10-05 11:30:22 +02:00
deve
7a82a8d2c6 Fixed compiler warning 2016-10-05 10:56:40 +02:00
deve
bd42f2c2df Fixed rare case that anisotropic filtering feature is not available in graphics drivers. 2016-10-05 10:50:20 +02:00
Benau
a0b02659f7 Don't use num of karts from world, as it includes spare tire karts 2016-10-05 16:42:37 +08:00
Benau
a91af96637 Initial work on spare tire kart in battle mode
Some values are hard-coded for now
2016-10-05 16:18:39 +08:00
Benau
43d9db4db0 Fix acceleration and braking of ArenaAI 2016-10-05 11:53:45 +08:00
hiker
5767f2294e Merge branch 'master' of https://github.com/supertuxkart/stk-code 2016-10-05 13:32:13 +11:00
hiker
ceb961ae87 Fixed reverse camera (smooth speed was positive even when
going backwards).
2016-10-05 13:31:31 +11:00
hiker
3506b7da2f Merge pull request #2615 from nado/warning-fix
Fixes warnings
2016-10-05 12:59:22 +11:00
hiker
8949e89809 Merge remote-tracking branch 'origin/master' into rewind
Fixed conflicts.
2016-10-05 08:21:10 +11:00
Nado
d21630c815 This simplifies the reading of bool isEasterMode() 2016-10-04 08:55:07 +02:00
Nado
25a4aa565a Reduce variables scope when possible, based on the warnings reported by
cppcheck.
2016-10-04 08:55:01 +02:00
Nado
afbea19d34 Fix -Wunused-variable 2016-10-04 08:44:50 +02:00
Nado
4c0b4d8078 Fixes -Wsign-compare
See #2613
2016-10-04 08:43:38 +02:00
hiker
9595a76d36 Removed unnecessary flag to keep track if speed icnrease is defined. 2016-10-04 08:28:01 +11:00
Deve
5e05f1178c Fixed compiler error on Linux with non-x86 64bit platforms, e.g. arm64, mips, and s390x architectures
This modification is already applied in upstream angelscript repository:
https://sourceforge.net/p/angelscript/code/2353/

Thanks to Adrian Bunk and Andreas Jonsson
2016-10-03 23:26:09 +02:00
hiker
84a3f5d8b2 Fixed compiler warnings. 2016-10-04 08:16:35 +11:00
hiker
9cf88ef874 Merge remote-tracking branch 'origin/master' into rewind.
Fixed conflicts.
2016-10-04 08:15:40 +11:00
hiker
50b1a8cdfb Added some (commented out) code to investigate camera shaking - if it
should happen again.
2016-10-03 18:13:03 +11:00
Benau
21a04213d5 Fix typo 2016-10-03 10:30:06 +08:00
Benau
78e6cfc8db Merge remote-tracking branch 'origin/master' into walldriving 2016-10-03 10:03:12 +08:00
Benau
13eaf82af1 Patch TestAI with changes to SkiddingAI 2016-10-03 10:02:27 +08:00
Benau
e2030dabbc Disable AI debug 2016-10-03 09:54:02 +08:00
Benau
c64c8717a5 Use 16bit integer to save some space in ArenaGraph 2016-10-03 09:28:12 +08:00