Commit Graph

4974 Commits

Author SHA1 Message Date
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
hikerstk
8c7a1fd635 Fixed compiler warnings on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9529 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-16 05:26:25 +00:00
hikerstk
1708aeaafb Used time_t as the time type on all platforms to avoid
casting; added function to convert time to a readable
string to the namespace; and cleaned up code in addon.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9528 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-16 04:49:06 +00:00
auria
37e3c64259 Revert bogus part of my previous commit for windows users
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9516 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-16 01:47:40 +00:00
auria
9be7bf48ba In the XML standard, entities must start with 'x' if they are hex
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9515 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-16 01:32:19 +00:00
auria
d01724ffc3 Attempt at displaying wheelie effect when using zipper (this was discussed on IRC). Commented out atm since the angle stuff is behaving all weird
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9514 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-16 01:23:15 +00:00
auria
99a05b145e Stop tempting the devil and use the proper type for time
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9513 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-16 00:47:09 +00:00
hikerstk
0e8ff0e40a Made the ball go smoother ahead in the first few frames if
it is shot from an off-track location.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9512 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-15 23:47:07 +00:00
hikerstk
c9057d6e74 Added encoding of special characters when writing
addons_installed.xml.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9511 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-15 23:32:18 +00:00
hikerstk
5eff0a1773 Removed the warning " [StringUtils] WARNING: Invalid HTML entity in
'Berny & STKRudy85' (we only support &#...; type HTML entities)"; #364.

The reason for this warning message is that irrXML already decodes "&"
(in attribute values) - so even though the '&' is encoded correctly in
the xml as '&', STK only receives a '&' from irrlicht, which then triggers the
warning message. On the other hand, irrXML does not decode &#...; hex
values. 

So short of changing our encoding of "&" I don't see another choice
except just removing this warning.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9510 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-15 23:29:14 +00:00
hikerstk
d26bc30c9c Added destructor for addons_manager that saves the installed
addons file (and therefore saves the information about cached
icons and prevents them from being re-downloaded next time
STK is started). Fixed #382.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9509 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-15 22:04:07 +00:00
hikerstk
5edbdca4e7 Renamed cleanTuxKart into cleanSuperTuxKart.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9508 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-15 21:59:57 +00:00
hikerstk
c7f501a845 Bugfix: the id of an addon should be taken from the id field, and only use
the lowercase name if no id is specified.
This might potentially break existing addons - though atm I don't think we
have any addons that have an id different from the lowercase name.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9506 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-15 07:03:54 +00:00
hikerstk
2172f1c4df Applied changes from statistics branch to trunk (r9413 - r9484).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9503 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-15 02:00:50 +00:00
hikerstk
8a9bdc1505 Started to add interpolation to rubber balls to avoid them
changing directions too quickly.
This still needs more tuning. Known bugs:
1) at the beginning the ball changes directions too quick
   (if the kart is not close to the center of the driveline)
2) going towards the target kart (when the ball is close
   enough) has not been ported yet, so balls will more 
   often miss their targets.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9502 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-15 00:25:30 +00:00
auria
73cf4619a7 Use small bursts of fire to hint that slipstream is ready
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9501 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-15 00:23:47 +00:00
auria
866cc325ae Started moving code in add-ons screen by computerfreak to go in the right direction
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9499 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-14 23:22:12 +00:00
auria
7d2ced93b5 Add nicer fire when using zippers, the proper way this time, no more by hijacking nitro
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9483 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-13 00:15:58 +00:00
hikerstk
10062e8b44 Applied patch from nathanm32292394 to fix minor memory
leak (#369) - thanks!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9471 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-12 04:24:49 +00:00
computerfreak97
fb4c533d26 Fixed text overlapping bug in addons - take 2 (it should actually work this time). See bug #363
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9470 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-12 04:20:42 +00:00
computerfreak97
8fa62d3c7e Fixed text overlapping bug *hopefully* in addons. See bug #363
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9469 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-12 04:01:41 +00:00
auria
ef7b491a0f Tweak fire on zippers to actually work. A side effect is that now when you use nitro and stop using it, instead of stopping immediately it fades out over a second or two. Tell me if you love or hate :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9458 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-10 02:11:01 +00:00
auria
39e5d9ef53 Tweak zippers to give less motion blur, and start adding some fire coming out of the kart which atm only really works for ground zippers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9457 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-10 02:02:12 +00:00
auria
ca4bffe34d Use funto's motion blur effect only when using a zipper, but more visibly so
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9456 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-10 01:46:58 +00:00
auria
ef9d15c7f0 Use nice interpolation when rendering background
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9455 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-10 00:54:36 +00:00
auria
f45f06b994 Undo a few bogus optimisations to the B3D exporter *blush*
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9447 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-07 20:20:12 +00:00
auria
da11b8c1c9 Don't play crash sound when kart is not moving
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9440 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-07 01:33:19 +00:00
auria
847e25fa0a Disable sound emitters in multiplayer mode as OpenAL supports a single listener so we make sounds non-positional in multiplayer and the result is bad for sound emitters that are meant to be localized
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9439 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-07 01:23:07 +00:00
auria
9fee0c3530 Fixed potential assertion failure in screen setup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9436 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-06 22:50:12 +00:00
auria
a44adb6e6c Allow per-track sounds for emitters
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9431 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-06 20:37:54 +00:00
auria
a4b954f2ea Add some support for sound emitters on tracks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9430 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-06 19:51:12 +00:00
hikerstk
5d8324813f Moved font_tool directory into new tools directory.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9424 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-05 00:00:54 +00:00
auria
6fe8193f6e Update Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9423 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-04 23:54:22 +00:00
hikerstk
6e5086f9b8 More refactoring: duplicated code handling track sectors and
distance along track is now moved into a separate class TrackSector
and used in linear_world and rubber ball.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9422 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-04 23:33:41 +00:00
hikerstk
428ed5a07b Made QuadGraph use a singleton-like behaviour. It is still created with
explicit calls to QuadGraph::create(...), and the get() function can
return NULL (in case of a race mode that does not use a quad graph).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-04 23:02:58 +00:00
hikerstk
7b5160be59 Removed unnecessary 'creating NULL device' message.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9420 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-04 01:25:40 +00:00
hikerstk
95695d4264 Started to add data structures for interpolation, and added separate function
to determine which path to use (so that a target that is on a shortcut
can also be hit) - though this function atm only handles karts on the 
main driveline.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9417 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-03 06:56:49 +00:00
hikerstk
48cf9e0515 Updated computation of 'distance from start' for the
quad graph: now the distance of the node is the maximum
of all paths leading to it, which should solve the 
problems with the cube (#354).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9416 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-03 06:21:26 +00:00
hikerstk
e105a33b66 Replaced QuadGraph::getPredecessor function with (faster) function
GraphNode::getPredecessor().


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9415 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-03 02:20:29 +00:00
hikerstk
209237a0c8 Bugfix - incorrect &.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9414 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-03 02:19:01 +00:00
hikerstk
6c43457f37 Ignore FPS limit set in the config file if no-graphics
is selected (this gives a HUGE speedup for non-graphics
run).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9411 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-03 00:41:28 +00:00
hikerstk
b33c10a369 Fixed missing newline (thanks coug36).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9410 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-03 00:23:04 +00:00
auria
80ac4edb72 Remove duplicate line from my previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9409 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-02 00:36:00 +00:00
auria
eac29e8c16 Improve resetting slipstream
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9408 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-02 00:31:22 +00:00
xapantu
e77690237c CMake build system improvements, it uses the cmake modules to find the libraries instead of the hardcoded system.
Irrlicht is autodetected if it is installed in /usr or /usr/local on linux
font_tool work (well, it does not work because there are some compilation error due to system specific libs I think, but I have it working if I change some code in src/font_tool/main.cpp, but I don't want to commit my modifications since I am not sure what this tool should do).
Detect when a library is not present and put an error when it is the cases.
Some paths change to have it working on out of source builds too.
Remove the DEBUG option, since cmake has already one to do that, -DCMAKE_BUILD_TYPE=Debug
Let me know if there are any problem/regressions with it, or just revert ;)

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9405 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-01 19:18:49 +00:00
hikerstk
e0d34ffdcd 1) Fixed counting of explosion for statistics.
2) Fixed layout of result table in case of
   profile-laps.
3) Fixed average speed computation.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9404 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-01 07:10:33 +00:00
auria
63b3ecacb7 Fixed GCC warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9403 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-01 01:59:03 +00:00
auria
8b585af03b Update Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9402 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-01 01:57:13 +00:00
hikerstk
029e50381d Added more statistics for profile mode:
skidding-time, and time+count for rescues and exposions.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-01 00:06:13 +00:00
hikerstk
2fe73a6deb Removed commented out code (that doesn't work anymore).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9398 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-01 00:04:48 +00:00
auria
875fd56647 Apply patch by redskull to fix crashes on resolution switch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-31 22:53:03 +00:00
auria
b669180ea9 Rename the messages about internet to mention add-ons and not only news
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9395 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-31 01:26:31 +00:00
auria
a031bd5731 Display a message when clicking on the add-ons icon and it is not enabled
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-31 01:20:41 +00:00
auria
4d2b57321b Apply redskull's patch to fix FTL locking. Thanks\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9393 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-31 00:55:32 +00:00
auria
b4c27839f3 Applied patch by coug36 to fix bug #311, thanks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9392 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-30 22:44:20 +00:00
auria
e7b8fd5a1b Fixed spinner widget stealing focus even if activating it resulted in leaving the screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9391 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-30 21:20:59 +00:00
auria
a62766bd8f Fixed possible dangling pointer to spinner listener
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9390 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-30 21:05:18 +00:00
auria
c19572dcfb Add code to resolve all numeric XML entities
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9389 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-30 20:14:30 +00:00
hikerstk
c5ef5eb705 Beautified profile results table in case that karts name are
too long (or too short).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9385 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-29 06:25:12 +00:00
hikerstk
115e0cc1c5 Print a warning if the irrlicht library used was compiled in debug mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9384 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-29 05:35:52 +00:00
auria
15b827dd54 Apply patch by coug36 - thanks\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9383 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-29 01:44:13 +00:00
auria
5b3b087a03 Fixed compilation with GCC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9382 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-29 01:40:46 +00:00
hikerstk
83680f4637 Added --ai=a,b,... command line option to allow specification
of which AI karts to use.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9381 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-28 22:56:49 +00:00
hikerstk
7ed13732e7 Only print warning when log-misc is enabled.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9380 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-28 22:23:12 +00:00
hikerstk
a62e0f86d3 1) Added new --no-graphics option for fast batch testing.
Renamed --profile=+-n options to --profile-laps=n
   and --profile-time=n.
2) Fixed averaging in case of --profile-time.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-27 12:11:11 +00:00
hikerstk
916dbb9bc1 Karts 'accidentally' hit by a bouncing ball while it is
going to catch if with the leader will now be flattened
(parameters for that are defined in powerup.xml). No
explosion effect is shown anymore for the first kart,
it will only be tossed around.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-26 06:58:11 +00:00
hikerstk
0edd32e8dd Applied nathanm's patch (#343). Thanks a lot!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9368 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-26 02:56:11 +00:00
hikerstk
60c0aa5616 Applied patch for #342 (and added some comments and some
minor cosmetic changes).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9366 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-26 02:24:49 +00:00
hikerstk
0e747f1766 Added explicit call to constructor of base class.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-26 02:23:09 +00:00
hikerstk
60345bc424 Removed unused support for 'icon' (since the addon webpage
guarantees that 'image' is always defined now).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9362 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-26 01:41:26 +00:00
hikerstk
a9369a8cf5 Fixed compilation (typo in name).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-26 01:14:59 +00:00
auria
2f571eec10 Allow unicode to be used in track makers names and fix samuncle's name
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9360 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-26 00:42:01 +00:00
hikerstk
f0956bf5ff Removed debug code, and fixed #340.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9359 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-26 00:01:20 +00:00
hikerstk
ce14faa4b4 Removed unused variables. Added code to catch #340
(NAN appears as height).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9358 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-25 23:45:34 +00:00
funto66
9bd62dfe13 Fixed sky color for tracks without sky domes/boxes when post-processing is enabled
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9356 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-25 22:21:17 +00:00
funto66
85096f80bf Fixed having motion blur on the GUI, fixed character selection
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9355 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-25 21:54:26 +00:00
funto66
46dab63f2d Fixed motion blur at the end of the race and made it relative to the speed of the kart, not its current maximum speed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9354 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-25 21:36:21 +00:00
funto66
d6bee90cfa Fixed shader file path lookup for motion blur
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9353 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-25 21:23:29 +00:00
funto66
b59004ae4d Attempt to fix the motion blur on non-NVIDIA cards
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9350 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-25 21:02:43 +00:00
funto66
1a0c45be42 Integrated the motion blur in game and adjusted the parameters
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-25 20:35:44 +00:00
funto66
230ada44c2 Removed the optional code for the swatter song
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9348 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-25 20:33:08 +00:00
funto66
a2dfdc2bf7 First fix for CMake
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-24 15:03:44 +00:00
funto66
05421e944a Started a CMake-based build system
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9338 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-24 14:29:16 +00:00
auria
0195efdd29 Update Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9330 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-23 00:09:45 +00:00
hikerstk
fd8b43c29f Updated vc10 project file, thanks to Daniels Ellis.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-22 12:15:08 +00:00
hikerstk
f2226e1335 Added option to scale powerup models (Arthur, feel free to
tweak the size of the ball - *grin* try "2 5 2" for some fun).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9324 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-22 11:47:37 +00:00
hikerstk
2c3e5395c6 Updated height and interval handling if the ball is getting
closer to the target. Now the ball behaviour keeps being
smooth while it is getting closer to the target.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-22 06:26:28 +00:00
hikerstk
68765a2228 Updated VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-22 06:24:49 +00:00
hikerstk
2b17b36640 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-22 03:26:37 +00:00
funto66
a3ca6dadaf Separated the post-processing calculations from IrrDriver
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-21 23:29:37 +00:00
hikerstk
8c30a00405 Added test in case that the inverval is not set on rubber ball.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-21 23:04:09 +00:00
hikerstk
46e7ecb829 Added some squashing of the ball when it hits the ground.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-21 22:53:44 +00:00
hikerstk
1928a0b409 Fixed speed of rubber balls to be really the value specified
in the powerup.xml file.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-21 22:14:55 +00:00
hikerstk
c1d65112e7 Refqactoring: moved static rubber-ball specific settings from Flyable
to RubberBall.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9315 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-21 22:07:09 +00:00
hikerstk
4477862356 Improved bouncing of ball when it is still far away from the kart.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9314 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-21 06:58:28 +00:00
hikerstk
bf90805448 Added bouncing to rubber ball (though it's imho not
yet smooth enough).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9313 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-21 00:07:09 +00:00
hikerstk
994ea9578a Added missing initialisation of m_material. This should fix #299
(crash happened most likely if a bowling ball exploded before
it was updated once - in this case m_material was not set).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9312 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-21 00:02:06 +00:00
funto66
1079391fd1 Started implementing post-processing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9311 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-20 23:50:25 +00:00
hikerstk
b88a8da625 Fixed distance along track computation for rubber ball (which
was based on the quad it is aiming at, not at the quad it was on).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9310 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-20 22:21:44 +00:00
hikerstk
56aa44e630 For completeness sake added handling of rubber ball to new ai
controller (in case that it should ever be used ;) ).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9309 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-20 22:20:45 +00:00
auria
3efdce64ad Updae Xcode project with rubber ball
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9306 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-20 01:01:31 +00:00
hikerstk
afb3728995 Added first test version of 'rubber ball' (which might replace
the anchor). Known bugs: atm it does not yet bounce (it follows
just the drivelines and might be partly in the track); the first
kart can't avoid it (long term breaking might allow you to avoid it);
it might hit another kart first and explode.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9302 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-20 00:39:32 +00:00
funto66
3731b3a304 git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9291 178a84e3-b1eb-0310-8ba1-8eac791a3b58 2011-07-19 00:07:44 +00:00
funto66
73dd0ba808 git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9285 178a84e3-b1eb-0310-8ba1-8eac791a3b58 2011-07-17 13:03:29 +00:00
auria
a7c9d88a4d Improve LOd on ferns
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9282 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-16 19:40:44 +00:00
funto66
40cb784ecd Oops!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-16 00:37:39 +00:00
funto66
a102680a13 git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9278 178a84e3-b1eb-0310-8ba1-8eac791a3b58 2011-07-16 00:36:58 +00:00
auria
d8815794b9 Fixed a lot of old logging code left from before the log level was a bit mask. We don't have too many log bits so atm they are classified a lot in 'misc'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9276 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-15 23:39:09 +00:00
funto66
d26b406780 Starting the merge with the swatter branch. Now it should be automatic with karts, but doesn't work with items (yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9275 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-15 23:38:40 +00:00
hikerstk
d54bed140f Replaced tabs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9271 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-15 03:05:05 +00:00
computerfreak97
e41a7c9518 Hopefully, actually got random wheel rotation to work!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9270 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-15 02:51:15 +00:00
auria
360f0da43a Another minor improvement to the Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9267 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-15 00:37:50 +00:00
auria
c49de6383a Update Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9260 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-15 00:19:10 +00:00
hikerstk
54b83c7123 Fixed typos.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9257 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-14 05:06:12 +00:00
hikerstk
782d7a3ae4 Fixed autoconf files after updating enet. I basically
reverted r9250-9252, and restored the configuration files
for enet back to the ones used before.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-14 04:52:11 +00:00
hikerstk
6a1310e0a6 Fixed compiler warnings: removed variables that are initialised more than once.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-14 04:16:15 +00:00
funto66
a8919a8252 Added experimental and buggy hardware skinning support + removed a useless loop in the material manager
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9253 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-14 00:59:00 +00:00
funto66
54a9df25d2 Third attemps: who knows?
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-13 18:52:06 +00:00
funto66
d010543859 Second attempt to fix compilation...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9251 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-13 18:37:23 +00:00
hikerstk
21f173d365 Updated missing header files so that the new enet would compile.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9245 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-12 04:34:57 +00:00
computerfreak97
19fbc2978e Actually update to the most recent enet :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9244 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-12 04:27:12 +00:00
computerfreak97
0ce5d598e5 Applied Narann's patch for scaling and moving shadows of karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9240 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-10 22:04:29 +00:00
auria
29e468814c Allow playing with gamepad if starting a challenge from keyboard
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9238 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-10 21:00:09 +00:00
computerfreak97
3dc89742fe Make the XML attribute RandomWheelRot more coherent, making it random-wheel-rot instead.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9237 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-10 20:57:15 +00:00
auria
f9920633ae Fixed highscore display in GPs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9235 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-10 20:46:10 +00:00
auria
fbc468118e Some more updtaes to Doxygen docs :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9233 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-10 18:24:23 +00:00
funto66
93ed8113d3 Added markers for World::update() and made the profiler optional
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9225 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-10 10:33:42 +00:00
funto66
6b0e202d2b Displaying time values in the profiler
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9224 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-10 10:21:20 +00:00
auria
047cc4bc69 Make column names sensitive to live language switch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9216 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-10 01:47:12 +00:00
auria
4df9e87f01 Somewhat improve the blurriness on top of tabs at some resolutions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-10 01:30:13 +00:00
mbjornstk
6b9a1bad85 Enforce source style: add svn props and convert tabs to spaces.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9212 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-10 00:16:06 +00:00
funto66
49ea3a9cf9 Improved the profiler: a bar is displayed to show the end of the analyzed frame, there are more markers, now the profiler can be frozen/unfrozen by clicking on it...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-10 00:04:12 +00:00
stephenjust
1b2a6bec27 Updated VC9 project for profiler
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9210 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-09 23:52:12 +00:00
computerfreak97
d9a5ba7432 Added profiler to VC10 project.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9209 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-09 23:24:47 +00:00
auria
c315782d0a Update Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9208 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-09 19:16:25 +00:00
funto66
de401bc234 Added a first (unfinished) version of a graphical profiler
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9207 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-09 19:13:17 +00:00
computerfreak97
c2cbbbeee1 Added ability to have karts have random wheel rotation; see beagle/kart.xml for example.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9205 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-09 18:06:00 +00:00
computerfreak97
cdee7461a3 Removed hardlock on gnu being the only kart without skid marks and smoke; now any kart with no wheels doesn't have skid marks or smoke.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9204 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-09 03:32:29 +00:00
mbjornstk
35a3e78b94 Convert tabs to spaces and remove some trailing space.
computerfreak97 should check the editor settings, r9194 was full of noise.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9203 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-09 02:20:43 +00:00
computerfreak97
2bcc2b1006 Removed skid marks from Gnu. Smoke is still there though.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9194 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-08 22:04:22 +00:00
hikerstk
c9830eac8c Worked around a potential linux audio bug: on one machine
the sfx manager kept on reporting that it was playing (the
track intro sound), while it wasn't. That resulted in STK
hanging (not reaching the 'ready set go' phase).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9192 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-08 01:22:43 +00:00
auria
1fbf60b6ca Improve Xcode compilation with frameworks; note you will need to download the latest version of frameworks from sourceforge
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9173 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-06 01:02:48 +00:00
hikerstk
1138c14595 Fixed incorrect unsigned (since -1 is used to indicate 'not set').
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9170 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-06 00:53:59 +00:00
funto66
1c2795f0c8 Added a debug option to skip the ready-set-go phase
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9168 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-05 21:22:50 +00:00
hikerstk
4b39be6f83 Removed two unnecessary includes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9167 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-05 06:05:08 +00:00
hikerstk
8e0d7789b1 Fixed #298: the karts were rescued to 'last valid quad - 1'
instead of using the predecessor. So a kart on the first
quad of a short cut would be rescued to an incorrect
location (most likely to the end of the main driveline,
since shortcut quads come just after the main driveline
in the quad.xml). See r9161 on 0.7.2.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9166 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-05 01:39:38 +00:00
hikerstk
b24f53a3eb Added support for storing a predecessor for each node in the
quad graph (needed for rescueing). 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9165 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-05 01:35:45 +00:00
hikerstk
ce827038de Renamed 'Run' menu entry to 'supertuxkart' to avoid clash
with Windows 'run' menu entry.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9163 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-05 01:20:14 +00:00
auria
28886692d9 Fixed warnings + update Xcode projet
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9162 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-05 01:05:03 +00:00
hikerstk
e4905f48bd Added NoCopy.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9158 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-05 00:15:09 +00:00
computerfreak97
183a72ae82 Changed up skid marks a bit to resolve some z fighting issues I had. They still need a lot of work though.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9154 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-04 17:28:53 +00:00
mbjornstk
208fc1adc5 Add old local comment about bomb animation so it doesn't go missing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9152 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-04 02:01:26 +00:00
computerfreak97
e1ae80d8c0 Added swatter cpp and hpp to vc10 project. Fixed warning in arenas_screen.cpp relating to comparing unsigned and signed integers in for loop condition.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-03 19:25:59 +00:00
auria
fed9fbf695 Fixed Windows paths in Makefile.am
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-03 19:00:25 +00:00
hikerstk
9ff4fdd2ef Started re-factoring attachments: the swatter is now implemented as
a plugin, which makes the attachment objects much smaller. Other
attachments will likely follow :)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9142 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-03 11:54:41 +00:00
computerfreak97
487a45eb17 Stopped hard coding 3 as the number of arenas in 3 strikes menu. See previous commit for more.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9140 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-03 01:48:47 +00:00
computerfreak97
641c9633e9 Fixed bug where 3 strikes arena screen didn't appear properly the first time. Not sure if this is the cleanest way to do it, but it works!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9136 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-03 01:37:31 +00:00
auria
9c76e99106 Enable artist debug mode tricks in multiplayer too
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9131 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-02 00:31:26 +00:00
auria
51a02272f0 At Arthur_D's request : in artist debug mode, when there are no AI karts, skip the ready/set/go messages quickly to make testing go faster
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9130 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-01 23:59:25 +00:00
auria
6e78d93437 Replace the fricition material flag with a simpler boolean (anyway the previous value was only used like a boolean)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9116 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-01 00:23:57 +00:00
hikerstk
5bb1a133cb Applied computerfreak97's patch to fix #286.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9114 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-30 13:14:21 +00:00
hikerstk
4a3d737620 Added support for arena-addons (as a separate tab).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9109 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-27 22:49:15 +00:00
hikerstk
feca29e6de 1) Moved LOD node from kart into kart_model (which should
handle all graphics for the karts).
2) Fixed squashing of karts in case of disabled animations
   (see #283, but only partly solved).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9108 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-27 11:43:19 +00:00
hikerstk
b578458ac0 Added support to ignore addons, see #293.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9106 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-27 11:11:17 +00:00
hikerstk
7f85271ec3 Added assert to make sure the lod node is used correctly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9105 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-27 10:44:22 +00:00
hikerstk
73d93cc559 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9098 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-26 23:03:50 +00:00
auria
0631de56d0 More work to make arenas debuggable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9096 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-26 22:59:06 +00:00
auria
2d824186fd Fixed crash when starting into an arena from command-line
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9095 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-26 22:49:09 +00:00
auria
6c3bb3d12e Fixed a few typos in main.cpp found by Crendgrim and KroArtem
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9077 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-26 14:41:09 +00:00
auria
a277cf2258 Remove outdated FIXME I forgot
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9072 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-25 23:36:58 +00:00
auria
c96b00dc6b Reduce overlapping in add-ons screen by making the name column wider and the date column smaller
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9070 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-25 23:34:06 +00:00
auria
264a54fd2f Suppress useless logging in add-ons screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9068 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-25 23:04:54 +00:00
auria
0d5e9c83be Minor improvements to add-ons dialog : make flags use a smaller font since they are less important
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9066 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-25 23:01:26 +00:00
auria
aace658b9e Don't show the 'approved' flag by default in the GUI, most users will only ever see approved add-ons. Instead show a 'NON-APPROVED' flag in artist debug mode when relevant
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9064 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-25 22:50:24 +00:00
auria
6e2be767da Fixed misisng icon when featured item is updatable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9062 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-25 22:46:19 +00:00
auria
9f33ff77e8 Added support for some XML entities in add-ons description
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9060 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-25 22:38:19 +00:00
auria
edd77eee1f Hopefully fixed swatter crash
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9046 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-24 22:59:55 +00:00
auria
139834f106 Add new empty methods to cope with updated interface in recent irrlicht
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9038 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-24 19:44:16 +00:00
auria
ef233d2ae3 Fixed compilation on non-Windows systems
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9029 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-24 15:34:16 +00:00
hikerstk
670531876a Added support to detect the language setting in Windows.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9027 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-24 13:42:24 +00:00
hikerstk
f3347d5937 Fixed error handling so that STK doesn't crash if it can't
write downloaded data, see #280.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9020 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-23 12:03:15 +00:00
hikerstk
62e5f76979 Improved documentation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9019 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-23 11:26:30 +00:00
hikerstk
b4d3d5e5bb Fixed several copy&paste errors in checkAndCreateAddonsDir
(instead of creating m_addons_dir, the code was creating
m_config_dir, so the addons directories would not be created
correctly) - see #280.
Also improved error handling and error messages. The file_manager
now checks for $XDG_DATA_HOME, $HOME/.local/share, $HOME/.stkaddons
or else "." as a base directory for addons (under which it will
create supertuxkart/addons).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9018 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-23 07:18:05 +00:00
hikerstk
03b74e2e97 Added some debug output to swatter to check why a swatter is swatting
(use --debug=misc to enable).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9016 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-22 23:53:10 +00:00
hikerstk
da8ec214ce Added a very first version of a swatter (or inflatable hammer).
Details are in the wiki (http://supertuxkart.sourceforge.net/Items).
Note that the model is _obviously_ a placeholder, and I  used
the icon for the bomb (which isn't used in game atm) for the
swatter. I hope someone can provide a better model and icon.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9011 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-22 12:27:48 +00:00
auria
863feb055d Add code-level support for new clamping flag
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8992 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-20 00:41:26 +00:00
hikerstk
9ea1300174 Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8981 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-19 22:09:46 +00:00
auria
429267f44a Allow making races of 0 laps in artist debug mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8976 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-19 19:55:51 +00:00
auria
d5cf527232 Add support for sound effects exported by blender 2.5
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8974 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-19 19:44:31 +00:00
auria
c132207a3e Add support for reading 2.5-style zippers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8956 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-19 17:13:37 +00:00
auria
7b60ad1a9e Better error checking: refuse to continue when no drivelines are found but we're playing with AIs, we can only handle lack of drivelines when there is 1 kart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8955 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-18 22:43:00 +00:00
auria
ccecbf0ba3 Allow playing without driveline when no AI akrt is used
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-18 22:36:14 +00:00
auria
fa464cd4ab Fixed minor in-game menu bug found by KroArtem
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8949 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-18 15:43:23 +00:00
auria
d391815608 Fixed clipping in bubble widgets
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8946 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-18 15:33:26 +00:00
auria
f27e3bfae4 Don't cache GP names translations so that if you switch the language they apepar in the new language
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8938 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-17 01:46:30 +00:00
hikerstk
af147c3c37 Fixed minor typos in comments.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8935 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-15 13:04:15 +00:00
auria
b833ce158b Fixed weird list rendering
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-15 01:48:35 +00:00
auria
bb4a079145 Remove old Norwegian language definitions after request from mailing list
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-13 22:30:38 +00:00
hikerstk
a3c9eac53b Fixed #274: unzipping of addons file would actually copy
data/testures/materials.xml instead of materials.xml from the
zip file.
To fix any already downloaded addon, they have to be uninstalled
and installed from scratch again.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8910 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-13 12:27:19 +00:00
hikerstk
058a2ca870 Fixed #272: the list of tracks was not cleared before reloading
all track files, resulting in more and more tracks accumulating
in the track list each time a track is (un)installed.
In case of uninstalling a track, the track would remain in the
list, and if this track is selected, STK crashed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8908 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-13 11:22:45 +00:00
auria
4e55c0f0c5 Add support for the rare case that the system language is actually a list of languages, separated by colons
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8902 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-12 19:08:13 +00:00
auria
d0e4dabf9e Fixed harmless warning and bogus resolution display in options when viewing from in-game
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8900 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-12 18:51:05 +00:00
auria
2ea4582366 Fix minor issue with resolutions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8898 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-12 18:43:27 +00:00
auria
57499218f0 Fixed default karts in multiplayer appearing too small in the preview
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8893 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-12 17:47:03 +00:00
auria
42c71ad459 Fix the default kart not being approvable in multiplayer mdoe
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8891 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-12 17:43:40 +00:00
auria
7572725120 Improve a bit kart selection screen bug found by KroArtem
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8890 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-12 17:35:13 +00:00
auria
b3a80826f4 Use proper multiplication sign in resolutions instead of abusing letter X
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8885 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-12 15:29:32 +00:00
auria
a6f9577b44 Make display of time in highscores uniform
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8883 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-12 15:14:53 +00:00
auria
6ef8702364 Make 2 more strings translatable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8882 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-12 15:09:50 +00:00
auria
561e40a9ed No questiuon mark for minimap when RTT is down
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8881 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-12 00:04:53 +00:00
hikerstk
47bee18eff Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8875 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-10 02:21:34 +00:00
auria
fd53245e0c nice featured indicator
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8873 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-10 01:47:49 +00:00
auria
2a482d7577 Remove logging
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8871 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-10 01:15:39 +00:00
auria
97eec932e8 Remove debug print I forgot in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8867 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-09 01:32:11 +00:00
auria
23711c7174 Try to add support for having dsome materials ignore fog. Works for lighthouse light, but not for lighthouse sky
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8866 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-09 01:29:25 +00:00
hikerstk
0b1f53983d Fixex embarrassing bug in r8860.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8862 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-07 22:38:47 +00:00
hikerstk
e83281495e Added proper error message in case that data for an item is missing in powerup.xml.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8860 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-07 10:59:59 +00:00
hikerstk
425dbd8f2e Added a 'bad badge' indicator if there is a problem downloading news.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8859 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-07 06:54:12 +00:00
auria
50234db02f Show 'hourclass' loading badge on addons menu item while it's loading
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8857 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-07 01:43:04 +00:00
auria
769333c1fe Remove a few superfluous (but harmless) include search paths in Xcode projet)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8856 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-07 00:45:19 +00:00
hikerstk
38a3ece5dd 1) Made invulnerability time after being hit configurable.
2) Bugfix: there was no invulnerabilty time if graphical
   effects were disabled. While it is not ideal that in 
   this case there is no visual indication that the kart
   is invulnerable, the game play should be consistent
   and not depend on graphics settings.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8833 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-05 12:05:40 +00:00
mbjornstk
62e60b94fc Add "#include <string>" so it stops complaining about "return NULL".
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8832 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-05 03:08:38 +00:00
auria
d24d70a2f8 Avoid crashing when checklines are incorrect
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8818 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-04 23:31:31 +00:00
hikerstk
cdb2a7dab6 Removed support for explicit setting of verbosity flag using -v
(which clashed with -v usage for version number). Use
--debug={memory,addons,gui,misc,all}.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8815 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-04 14:06:06 +00:00
hikerstk
9b64fa1406 1) Added new isInvulnerable function to kart, which is now
also used by emergency animation to make a kart invulnerable
   for a certain amount of time.
2) Karts are not not affected anymore by a explosion that
   just happens close by, see #258.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8814 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-04 13:29:35 +00:00
hikerstk
8d2ac03837 Removed unused explosion-impulse property.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-04 13:21:06 +00:00
auria
d56a729041 Better error handling
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8811 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-04 00:17:22 +00:00
auria
9d52fa1e46 Make new fastest lap messages much less visible
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8810 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-04 00:12:38 +00:00
auria
b6be9ad17a Fixed embarrassing compilation error, too much copy and paste
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8807 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-03 00:09:23 +00:00
auria
be939e5e86 Improve behavior when more players than karts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8806 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-02 22:43:38 +00:00
auria
a5d4275554 Fixed various crashes related to having more players than karts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8805 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-02 22:34:28 +00:00
hikerstk
ba1cf47ac3 Updated VC10 project file; removed curl-debug solution
(since curl/addon is now on by default).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8804 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-02 13:39:34 +00:00
hikerstk
9c3eacc0cc Fix #260: when returning from addons_loading, select the
previous selected list element again, so that the user
is still at the same entry on the list.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8803 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-02 07:00:29 +00:00
auria
a66accd21c Put 'all' group first in tracks too
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8802 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-02 01:36:42 +00:00
mbjornstk
47f8d29011 Remove more useless exec properties.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8798 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-01 21:19:18 +00:00
hikerstk
4d3b1d5d2e Added i18n comment so that it people will know what this string is
about.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8795 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-01 01:52:59 +00:00
auria
3dbbb47648 Show all tab first, select by default
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8793 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-01 01:26:52 +00:00
hikerstk
f58b07ec38 Fixed bug in 'addon installed' condition.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8791 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-31 11:39:15 +00:00
hikerstk
48d1a3aaab Only accept news.xml if vesion==1 - to avoid problems if we should
change the format (though a new xml format would require a new
addons directory anyway to avoid problems with existing installed
addons).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8790 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-31 11:32:12 +00:00
hikerstk
404037c6e4 If a download of the news.xml file fails, retry with the
server reset to the defaults (in case that the url
got corrupted), see #197.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8789 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-31 07:20:20 +00:00
hikerstk
e151f35825 Added support for news messages to be filtered for addons
that are not installed. Syntax: "addons_id not installed".
Fixed ticket #127.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8788 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-31 06:58:11 +00:00
hikerstk
8061c078e6 Added more asserts to capture NANs early on.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8784 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-30 11:30:11 +00:00
hikerstk
0efa5020a2 Removed curl-debug configuration (which enabled the addon
manager), since addon manager is now always enabled.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8783 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-30 07:00:46 +00:00
hikerstk
430c86a020 Fix #166: minimal race gui shows item messages.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8782 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-30 06:58:33 +00:00
hikerstk
13c166eae5 Added asserts to bullet calls to catch NANs early on.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8781 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-30 06:57:23 +00:00
hikerstk
ef2f968473 Fixed compilation problem (missing string include), changed
parameter of getColour to be a string reference only.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 23:53:36 +00:00
hikerstk
7c628c1239 Fixed typo.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 23:50:20 +00:00
hikerstk
5d10b4f5db Fix linux compilation problem.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 23:47:26 +00:00
hikerstk
cab7d5f6f1 Removed compiler warning (NoCopy already in base class), caused by recently
adding NoCopy to the TrackObject base class.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 23:15:17 +00:00
hikerstk
4fee01b72c Added 'addons' subdirectory to linux addons directory. This allows later
if necessary to have different versions of addons directory (which is what
Windows and Macs already support).
NOTE for linux users: this means that currently installed addons will not
     be found anymore. I would recommend to delete existing files in 
     .local/share/supertuxkart.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8761 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 23:07:52 +00:00
hikerstk
9bc617bede Removed unused variable, added some documentation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8758 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 23:04:00 +00:00
hikerstk
89277bc963 Make sure that only the latest (working) revision of an addon
is used (atm there is no support for displaying the revision
number of an addons due to space/gui restrictions).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 22:14:11 +00:00
hikerstk
637a77906f Fixed sort order of addons.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8754 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 22:12:09 +00:00
auria
d13f46fdd1 Minor improvement to ribbon layot, don't reserve space for arrows when arrows are hidden
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8751 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 21:04:22 +00:00
auria
63d224dc62 Fixed overlapping of highscore message in GP mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8750 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 21:00:31 +00:00
auria
6e4cee9341 Includes cleanup; especially avoid including in headers, creating implicit dependencies and horrible chains of recursive includes. Avoid iostream when possible because this header is not small
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8749 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 19:52:24 +00:00
hikerstk
4ccf633289 Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 11:47:43 +00:00
auria
f373632486 Remember latest kart and track group
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-27 23:54:12 +00:00
auria
1671a445b1 Remove leftover check for ADDONS_MANAGER
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-27 01:06:31 +00:00
auria
acf220fa5d Remove add-ons target from Xcode project since they are now the default
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8722 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-27 00:57:49 +00:00
hikerstk
6f0b97ba08 Removed ADDONS_MANAGER symbol completely.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8721 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-27 00:53:18 +00:00
hikerstk
56d95382b0 Make sure error messages displayed in the news bar are translated
even if the language is changed from the menu (i.e. while the
message is being shown). This will not happen for the message
currently scrolling, but the next time the message is displayed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8718 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-26 12:54:49 +00:00
hikerstk
ce3098d33e Fixed uncentered error message.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8717 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-26 06:43:42 +00:00
hikerstk
a8008d38d7 First try to fix #253 - it might have some performance
impact since now all quads are checked if a kart is off road.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8716 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-26 06:02:10 +00:00
auria
fb26130a3c Improve highscores message
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8714 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-26 01:02:16 +00:00
auria
9b4df89d2e More tweaks to the code that determines number of ribbon rows
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8713 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-26 00:55:33 +00:00
auria
6103921a51 Show highscores in a reasonably visible way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8712 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-26 00:44:17 +00:00
hikerstk
fb268ed993 Added highlight: featured addons for normal players, and
non-approved items in artist mode.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8711 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 07:18:34 +00:00
hikerstk
610eabb20d Fixed reload functionality.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8709 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 06:57:21 +00:00
hikerstk
082476c8ce Bugfix: the label with the error message was invisible.
Note that the error message is not properly aligned atm, see
#229 for details.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8708 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 04:22:05 +00:00