Commit Graph

4843 Commits

Author SHA1 Message Date
auria
c4fc2a2bf7 Fixed issue of 3-strikes lives not being visible with the minimal race UI by somewhat de-minimizing it a bit in 3 strikes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 23:49:17 +00:00
auria
2d6cb641c5 In 3 strikes you now have only 2 spare tires, to be more logical. And when you lose you actually lose your wheels.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9763 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 23:21:21 +00:00
hikerstk
13de49b5ee 1) Improved rubber ball handling, which should work better in tunnels
and inclines now.
2) Added --debug=flyable debug option to use print plenty of debug output
   for rubber balls (needs to be compiled with -DDEBUG to work).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9762 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 23:20:23 +00:00
auria
78eac6b7ce Add gloal profiler marker, will help get percentages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9761 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 22:55:55 +00:00
auria
29e09f5231 Fixed the fog=N flag in materials.xml
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9757 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 20:11:32 +00:00
auria
d2e5914c84 Minor improvements to some logging (most importantly, missing \n at the end)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9756 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 19:08:15 +00:00
auria
aa3ac2849a Improve some logging
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 19:03:35 +00:00
hikerstk
c7c9f8150a Simplified vo_ngan_90's patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9752 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 04:14:50 +00:00
hikerstk
4606f1b192 Improved documentation, removed mixed-case variable name.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9751 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 04:04:42 +00:00
hikerstk
d9d0926f10 Print a line to stdout if gamepad-debug is enabled after each frame
(which makes it easier to see which events are handled in the same frame).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9750 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 04:03:49 +00:00
hikerstk
888c4a529b Minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9749 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 01:06:49 +00:00
auria
6e98f90a48 Apply patch by vo_ngan_90 to pause particles and waves when paused, thanks\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9746 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-04 23:44:27 +00:00
auria
2b2c07d81e React better when missing start positoons on arenas
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9745 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-04 23:37:58 +00:00
auria
026e7e67ce Add sanity checks to getStartTransform to avoid going out of array bounds
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9744 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-04 23:33:14 +00:00
auria
256f611bbd Fixed resetAxisDirection resetting buttons that happened to have the same ID as the axis being resetted
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9743 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-04 23:01:59 +00:00
auria
1771ec44fb Improve lightmap visualisation mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9740 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-04 20:04:15 +00:00
auria
42e4c34aac Add lightmap debug view
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9737 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-04 19:17:32 +00:00
auria
c457505f9f More work to make STK aware of lightmaps
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9736 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-04 18:22:23 +00:00
auria
950ff58217 Make STK ready to handle lightmaps when creating physics
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-04 17:50:46 +00:00
auria
123f51cafb Remove some unecessary logging
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9734 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-04 15:32:01 +00:00
auria
68b56d0c05 Remove unused parameter for race GUI message, plus use title font for the WRONG WAY message instead of this ugly pink font that was there before
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-03 20:23:55 +00:00
auria
3998dd0572 Fixed silly GCC warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9725 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-03 18:28:38 +00:00
auria
38db8a9fbf Play ugh sound when hitting bubblegum
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9721 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-03 18:13:38 +00:00
auria
2903c4435e Make bubblegum have much cooler (and nastier) effect
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9719 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-03 18:07:18 +00:00
auria
cb47023202 Added limited form of LOD on particle emitters
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9718 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-03 01:58:39 +00:00
auria
7ab0e019af Add-ons are now reloaded in the background
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9716 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-03 00:28:29 +00:00
hikerstk
fca446b974 Fixed #399: explode was called by cake and bowling,
even if the kart was immune. Now Flyable::hit()
returns true/false if the hit was a real hit.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9712 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-02 01:36:23 +00:00
hikerstk
4b2929097d Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9711 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-02 01:34:55 +00:00
hikerstk
cb08a03d7d Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9710 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-02 01:34:08 +00:00
hikerstk
d9f0b49e3b Missing file in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9709 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-02 01:22:18 +00:00
hikerstk
397632c62e Made maximum height of ball dependent on terrain (e.g.
balls won't fly too high in tunnels). This is only 
partly working atm.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9708 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-02 01:05:19 +00:00
auria
7395d5307b Improved handling of long add-on names
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9707 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-02 00:31:22 +00:00
auria
79f5f69b9e Change order in which tires are lost
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9706 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-01 23:59:05 +00:00
auria
a87d0c5f2b Fixed 3-strikes wheels not reappearing when restarting race
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9705 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-01 23:56:22 +00:00
auria
03178d9e75 Kinda fixed crash I introduced in 3 strikes, but the current code leaks. Will need to ask Joerg how irrlicht memory management works...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9704 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-01 23:47:15 +00:00
auria
3e7aeaf71f HAving some fun : you will now physically lose a tire in 3-strikes mode. Watch out for tires all over the place as the battle gets fierce ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-01 20:09:26 +00:00
auria
dd24f83d02 removed bad/outdated flags from Xcode proejct
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9701 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-01 14:56:17 +00:00
hikerstk
8051363917 Updated VS10 project files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-01 12:59:21 +00:00
hikerstk
1767920dba Replaced the request vector with a priority queue from STL
(which means more efficient insert/delete; less code in STK).
Thanks to Auria for mentioning this.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9699 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-01 10:17:06 +00:00
red-skull
7ca6bc4756 fix bug #397
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9698 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-01 02:13:30 +00:00
hikerstk
5f04084976 Fixed bugs in request sorting (HC_QUIT request with highest
priority did not get sorted to be the next request to be
executed).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-01 01:58:27 +00:00
hikerstk
2ea50e99fd Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9695 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-01 00:59:41 +00:00
hikerstk
85d21b2ea8 Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-01 00:58:39 +00:00
red-skull
a6dda46ad3 fix bugs added in r9532, constructor delegation doesn't work in C++
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-01 00:41:45 +00:00
auria
74956e454f Introduce new LOD
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-30 19:10:17 +00:00
red-skull
a3b572cf0a fix #400, live language switch doesn't work for system language
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-30 00:02:59 +00:00
red-skull
c4a24ad6b6 mark conflicts between configuration in blue for #39 (commit with Auria's blessing)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9656 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-29 02:21:50 +00:00
auria
c4d06b5c1e Allow accessing 3-stirkes in single-player mode if artist-debug-mode is enabled, that's easier to debug tracks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9655 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-29 01:32:05 +00:00
auria
3ee1e92b23 Improve anti-aliasing : remove my attempts at configuring it and just use the defaults, it's much nicer-looking this way ^^
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9653 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-29 01:05:02 +00:00
auria
b0ec889105 Add highly visible note so that I don't ever again do the same mistake that I fix in previous commit but really puzzled me for a while :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9652 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-29 00:55:47 +00:00
auria
861715c0a6 Fixed some material flags not being set on textures that don't appear in materials.xml
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9651 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-29 00:52:06 +00:00
auria
0dcb1fa792 Add support for particles on crash-reset, use them in XR591 as example; on the way add support in the particle emitter for decaying emission rates, and use this feature for nitro fire instead of manually applying the decay
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9641 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-28 16:15:42 +00:00
auria
2c677b46c0 Apply patch by nathanm32292394, thanks\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9640 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-28 15:25:30 +00:00
auria
a99ab0f300 Lazily get particle materials, mostly fixing the issue of per-track particles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9635 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-28 01:36:54 +00:00
auria
94ddc4a59b Allow changing tabs in kart seleciton screen as long as the game master has not selected
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9634 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-28 01:13:58 +00:00
auria
c8be0cb0c6 In multiplayer mode, don't start the game unless at least 2 players joined
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9633 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-28 00:20:51 +00:00
magned
be0e6987db Applied a bug fix from khonkortisan regarding icon squashing in correlation with kart squashing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9630 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-26 21:08:52 +00:00
hikerstk
5f3f25a5e5 Applied Khonkhortisan's patch to squash the icons
in the race gui if the kart is squashed. Thanks!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9625 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-25 23:49:29 +00:00
hikerstk
a51597cdaf Refactoring: instead of flyable triggering explosions, this must now
be done from the hit function of the objects that need an explosion.
This makes flyable and the behaviour of flyables easier to understand
when reading the code, getting rid of the needsExplosion function.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9623 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-25 22:16:52 +00:00
hikerstk
f3355f2484 Refactored the 'hit strings' displayed in the gui. Now each
flyable object has to have a 'getHitString' function (instead
of the hard coded global functions like getBowlingString etc).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9622 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-25 22:02:29 +00:00
auria
5aab4279b4 Update Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9620 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-25 01:52:06 +00:00
hikerstk
771cf47339 Refactoring: flyable and hit effects now call
updateAndDelete instead of update. The return
value indicates if the flyable/hit effect needs
to be deleted. That removes callbacks to the
projectile manager to indicate that something
needs to be deleted.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9619 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-25 00:06:33 +00:00
hikerstk
8d8601655d Removed commented out code and unnecessary function;
fixed documentation.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9618 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-25 00:05:30 +00:00
hikerstk
3161c79196 Added hit effect that only plays a sfx. Simplified
projectile manager of special effects somewhat (now
no more calls from a hit effect to the projectile
manager are necessary).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9617 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-24 06:48:05 +00:00
hikerstk
5ecf3d4c08 Added interface for a 'hit effect', which is now a base for
explosion. This will allow to easily add different effects
later.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9607 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-23 21:57:46 +00:00
hikerstk
2a542f011a Fixed comment.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9605 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-22 01:09:09 +00:00
auria
d1ee59b1e2 Tweaks over previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9604 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-22 00:42:21 +00:00
auria
6ba44be4f7 Give a go at the 3-spare-tires idea for 3 strikes battle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9603 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-22 00:35:31 +00:00
hikerstk
edfccbea30 Cleaned up explosion code (only cosmetic changes).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9599 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-21 21:57:28 +00:00
hikerstk
c0fbf21f8a Added bounce sound effect for rubber balls. For now(!) this
is just reusing the race-start 'ping', so this needs to be
replaced with a better sfx!!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-21 21:56:49 +00:00
auria
be402f35d9 Remove old, unused debug code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9588 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-21 17:32:13 +00:00
auria
da87d76f1c Fixed bug 393, channels in IPO animation get out of sync
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9587 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-21 17:27:05 +00:00
auria
fdb020016a Better defaults for focusd button in race end screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9585 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-21 16:54:50 +00:00
auria
bb6ae3f1fa Correct the first-use string
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9581 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-20 21:02:28 +00:00
auria
f8dcf186ef Fixed rotation of movable objects
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9578 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-20 19:56:48 +00:00
auria
d5303a4da0 Improve new language selection
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9570 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-20 01:32:18 +00:00
auria
a0ad028024 Move language selection to the options screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9569 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-20 01:28:17 +00:00
auria
556c33fe6c Play sound when reaching nitro target
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9568 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-20 00:54:34 +00:00
auria
185b76a08a Don't use sizeof to get size of array, it doesn't work
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9563 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-19 01:43:40 +00:00
auria
5647c5dadc Allow pausing game from gamepad
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9560 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-19 01:40:27 +00:00
auria
698962511b Swatter now makes karts lose lives in 3 strikes battle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9559 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-19 00:58:39 +00:00
auria
1c2132fb67 Add ticking sound when bomb is on
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9557 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-19 00:40:50 +00:00
hikerstk
7d79544e29 Fixed disappearing rubber ball on steep slopes (like the ramp
in sand track).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9555 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-18 23:11:48 +00:00
hikerstk
cb34118707 Made the minimum distance between interpolation control
points and the distance to target at which the rubber
ball starts aiming directly at the target configurable.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9550 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-18 03:31:52 +00:00
hikerstk
017619744b Reset more controls when the pause windows was shown, to avoid
that keys that were pressed when the menu was popping up are
still considered to be pressed (#359).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9549 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-17 23:55:13 +00:00
hikerstk
a6414b08b4 Rubber balls should now target the first kart again; improved handling
of the situation that the target kart is lost (e.g. it might have finished
the race), so that the ball smoothly aims at the new target now.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9547 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-17 23:06:48 +00:00
coug36
2824225df2 Change default behavior of MessageDialog confirm button to close the dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9545 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-17 01:57:48 +00:00
auria
6518906b60 Fixed leak in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9543 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-17 01:27:21 +00:00
auria
4112aee9a3 Add sound to swatter
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9542 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-17 01:18:24 +00:00
auria
753ef5c351 Fixed bug found by KroArtem where crashes occur if you specify an invalid gp name on the terminal
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9541 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-17 00:22:50 +00:00
hikerstk
0821fe3728 Removed the hard-coded usage of only one kart in profile mode
with graphics, since this can now be done using the --ai=... flag.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9540 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-17 00:09:11 +00:00
hikerstk
4d2f04ccc4 Removed assert since getKart returning NULL is handled
properly in the calling functions, and it causes a crash
(in debug compilation) if a key is pressed during a profile run.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9539 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-16 23:45:46 +00:00
hikerstk
92a6938862 Prevent the in-race GUI to pop up in profile mode (which leads
to all kind of crashes later on). Thanks to KroArtem for reporting this.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9538 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-16 23:28:20 +00:00
hikerstk
9a286fa9a6 Fixed missing minimap in profile mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9537 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-16 23:18:33 +00:00
hikerstk
0e0f238cb0 Automatically remove all zip files in addons/tmp that are older
than 24 hours (to help in case that a zip file is needed to
debug). Also some minor cosmetic changes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9536 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-16 22:56:10 +00:00
hikerstk
8e929bcb29 Remove zip files afer successfully installing an addon (#362).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9535 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-16 21:50:32 +00:00
hikerstk
782ba00cbc Fix/work-around for compilation problem: abstract method was not
defined. coug36: I think your r9532 broke something, there is
possible a better way of fixing this.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9534 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-16 13:07:09 +00:00
hikerstk
86cf1198fb Addons that are in the addons-installed list but not on
the server anymore (i.e. not in the addons.xml file) will
now be removed, including a cached icon.
This fixes #378 (and will allow us later to easily remove
addons).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9533 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-16 12:53:18 +00:00
coug36
b85ea2ce9a Added message dialog to reload button on Addons screen. Added callback functionality to the OK dialog by adding a message dialog type enum and requiring it in the constructor. See #266
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9532 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-16 08:13:43 +00:00
stephenjust
b5f62d9401 Add platform to user-agent string for Windows and Macintosh to help gauge platform usage
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9531 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-16 06:22:30 +00:00