Commit Graph

6477 Commits

Author SHA1 Message Date
auria
35d3807904 Add missing includes for some recent compilers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14299 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-24 00:29:05 +00:00
deveee
b357de50c2 Stop finish sound while exit from race result gui
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14288 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-22 19:05:03 +00:00
funto66
831d27efbc Added "speed-weighted objects" functionality (so that we can have animations whose strength and speed grows with the kart's speed).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14286 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-22 13:44:08 +00:00
deveee
6e62e2fe52 Set max number of goals in better place ;-p
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-18 11:35:34 +00:00
deveee
612d53bfe7 Use smaller distance between rows if there is no place for all entries.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14278 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-18 07:33:18 +00:00
deveee
3da81e3c8d Minor improvements in race result screen - soccer mode
- move displaySoccerResult() from displayOneEntry loop
 - don't display more results than it fits in table
 - also set max number of goals to 10. playing game to 30 goals doesn't have sense and it's hard to display 30 entries in a half of 800x600 screen.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14276 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-17 20:15:12 +00:00
deveee
a0ea14b20c Minor changes in race result gui - soccer mode.
On some resolutions longer (translated) title was drawn on ball image.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14275 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-17 11:24:50 +00:00
hikerstk
2da9ab0845 Make the AI handle bubblegum better (esp. using shield).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14274 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-17 05:58:56 +00:00
hikerstk
c6fa95d262 Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14273 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-17 05:57:32 +00:00
deveee
ca2a1c3671 Replace a kart in saved grand prix only if this kart exist.
We should avoid situation when for example add-on kart was uninstalled. Now when not exist, these karts are random.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14272 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-16 12:48:31 +00:00
deveee
d2ee47bece Allow to use rubber band when kart is shielded. Why not?
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14268 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-15 19:50:47 +00:00
hikerstk
b4ce78b339 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-14 21:00:31 +00:00
deveee
c452bf9d97 Tabs into spaces
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-14 20:25:30 +00:00
deveee
b16973dd8f Read localized names of the karts in race result gui - soccer mode.
Also use one standard color for both cases when red and blue team wins. It looks IMO better, I hope it's not a problem for others.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14254 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-14 20:19:49 +00:00
deveee
a7d62553f1 Fixed crash in new race result gui in soccer mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14253 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-14 19:40:10 +00:00
yasin-ghannam
1d1b5c20c5 Soccer fixes. Icon fetching and placement.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14251 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-14 13:27:42 +00:00
yasin-ghannam
af7aa7fd02 Allowing scorer identification if he shot the ball with a projectile.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14250 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-14 00:51:29 +00:00
yasin-ghannam
70ef7966e1 Modified Soccer Mode results screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14249 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-14 00:23:20 +00:00
auria
671f4d7441 disable z buffer writes on skidmarks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-12 23:36:34 +00:00
auria
30293c5cae make skidlines a little thicker to account for new texture
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14246 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-12 23:10:27 +00:00
auria
3ac48aa6b8 More skidlines graphics tweaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14245 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-12 22:58:01 +00:00
auria
55e0e4c074 Small improvements on skid lines
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14244 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-12 22:51:03 +00:00
auria
229f7f199b Simplify previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14242 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-12 22:35:20 +00:00
auria
a6a336c94a Allow skid marks to be skinned (features requested by samuncle, he says he will have a nice new texture coming soon)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14241 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-12 21:29:55 +00:00
deveee
d8cfc75557 Fixed #1003. Avoid crash when mask file is missing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14240 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-12 15:13:39 +00:00
deveee
69ade056dd Don't attach a bomb when the kart is shielded.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14239 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-12 09:33:00 +00:00
deveee
dbe81fcc15 Fixed #962. Remove terrain particle emitter when the kart is eliminated.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14231 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-10 19:14:47 +00:00
auria
b78c0e89c8 New sound effect for bubblegum shield collisions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14222 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-09 00:14:08 +00:00
deveee
0183ed8507 Explode rubber ball in non-linear world. Accidentally used in debug mode it caused crashes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-08 19:19:05 +00:00
deveee
414ad5b24b Fixed #1064.
Also added separated bowling roll and shoot sounds. Now bowling_roll can be played in a loop.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14219 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-08 17:04:27 +00:00
deveee
9ce3a75377 Don't explode shielded kart which is near other exploded kart.
- move it to better place

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-06 08:38:49 +00:00
deveee
130f3f42a9 Don't explode shielded kart which is near other exploded kart.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14210 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-05 20:20:41 +00:00
deveee
535d3c87fb Fixed regression since r12673. Add-ons were sorting from "z" to "a" in default mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14209 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-05 19:15:14 +00:00
deveee
1d918f0bc4 Move default nitro emitter little higher
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14205 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-05 10:22:17 +00:00
deveee
3a73436d3e Nitro and skidding gfx improvements
- skidding effect shouldn't depend on height of the kart
 - workaround for karts which don't have nitro emitters

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14202 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-04 20:08:16 +00:00
deveee
77e7ff57ab Fixed #1005 - add sound when ball hits non-kart object
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14201 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-04 05:16:18 +00:00
deveee
d7d29dd2b8 Fixed #934. Wait before ready phase if sounds are disabled.
Jingle is actually sound rather than music. Before change it was disabled in preferences by both - music and sfx.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14199 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-03 13:49:56 +00:00
auria
fbf1e46e2f tweak fonts to make screens sort of fit at very low resolutions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14178 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-02 00:56:17 +00:00
deveee
4673c41987 Still work on #886.
- fixed resume sound after that when speed was near to 0 (broken in previous commit)
- pause sound while explosion animation

Tested on bridges in hacienda and snowmountain.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14171 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-29 22:19:48 +00:00
deveee
b1c375528e Partially fixed #886.
There is still an issue when the kart doesn't move. Function isInRest doesn't work well in this case.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14170 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-28 21:53:47 +00:00
hikerstk
3e6b1872e4 Enabled searching in the doxygen documentation (thanks to nixt for
finding that).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14155 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-26 00:56:28 +00:00
magned
78632a8ecf Align Wiimote connect instruction with actual confirm button text, and added link to wiki with detailed instructions (yet to be written).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14154 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-24 22:44:37 +00:00
deveee
dbd36f47dd Little change in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14152 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-24 18:04:14 +00:00
deveee
ee61e8f52a Fixed displaying time in race gui and race result - soccer mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14151 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-24 17:57:13 +00:00
deveee
bc4006cefa Add BAD badges in soccer setup screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14150 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-24 16:54:18 +00:00
deveee
947f1876d2 Add OK badges and sounds
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14149 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-24 16:34:51 +00:00
deveee
2aab049540 Fixed compilation in gcc
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14148 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-24 16:34:31 +00:00
deveee
4edd9176dd Both teams should have at least one kart.
Still to do: user should be informed that he can't choose this team.
Not tested in more than 2 karts.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-24 11:57:50 +00:00
deveee
0db9da03e5 Restore rotating after player confirmation.
But rotation is done only once to avoid rotating kart in every fire press.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-24 07:03:07 +00:00
deveee
f7d41cf008 Remember last used number of goals value
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14141 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-23 18:17:32 +00:00