Commit Graph

4735 Commits

Author SHA1 Message Date
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