Commit Graph

6709 Commits

Author SHA1 Message Date
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
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
57c30e52b3 Scotland sheeps now say hello :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-06 21:03:39 +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
470e0b9ee4 Removed warning about texture not found (caused by incorrect
texture name in the xml file).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9419 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-04 01:25:04 +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