Commit Graph

6673 Commits

Author SHA1 Message Date
mbjornstk
2d78ac953c Remove useless svn exec property.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9554 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-18 20:17:30 +00:00
hikerstk
4f51f52f82 Updated Asian fonts, now including Vietnamese characters.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9553 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-18 13:18:33 +00:00
hikerstk
6b5e5d51c4 Updated translations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9552 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-18 13:16:47 +00:00
hikerstk
8ea1fa9da2 Added Vietnamese to the list of Asian languages so that
the font tool will include the necessary characters for
Vietnamese as well.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9551 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-18 13:01:14 +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
a8f624b9de Added $* to the call of the actual binary so that additional flags can
be passed to STK.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9505 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-15 06:25:15 +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
342c284892 Remove packs of 3 swatters, make it a little less common
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9500 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-14 23:40:54 +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
b153eaaf86 Add a nice skycube by samuncle to XR591. More tuning may be needed to make it fit with the track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9487 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-14 00:54:18 +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
76f2d55ab0 Make Nolok's window transparent
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9453 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-09 01:44:18 +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