Commit Graph

4482 Commits

Author SHA1 Message Date
hikerstk
93701ed482 Set the max-speed value to more realistic/useful values (e.g. max
speed for high level was 32 m/s, but karts hardly ever even reached
23 m/s). So lower level driving is now indeed slower.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6288 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-16 13:03:47 +00:00
auria
c7fec2a586 Fixed terrain sounds not being properly reset
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6287 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-14 14:15:10 +00:00
hikerstk
a83a40ec9f Made light position configurable, and automatically compute the
direction of light to point to (0,0,0).
ATM if no light position is specified, it will fall back to the
previous default value of (180, 45, 45) as direction, but some
tracks might need adjustment now.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6286 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-14 11:26:22 +00:00
hikerstk
50cd88e562 Improved start positions:
- Karts will now start forwards_distance after the lap counting line,
  meaning they will start behind the 'checkers' line.
- Every 2nd row is now moved 0.5*sidewards_distance to the right,
  meaning that there is much more space ahead of the kart for
  quick starts (i.e. the kart can drive between the karts in
  the row ahead of it).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6285 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-14 00:56:25 +00:00
hikerstk
b900230305 Fixed compiler warning and some comment typos.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6284 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-13 22:37:41 +00:00
magned
3b4623320c Renaming of files... I seem to never get the hang of it (and remembering to use svn status as well) :/
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6283 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-13 21:48:05 +00:00
magned
d788ea11f7 Fixed weird AI behaviour (drivelines too high).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6281 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-13 21:38:21 +00:00
auria
5e482d9989 Fixed restart race bug + other issues possibly introduced by my scheduling of pausing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6280 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 22:32:33 +00:00
hikerstk
fa6ae21672 Removed debug print.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 22:04:36 +00:00
hikerstk
83b6eccf64 Due to floating point errors it could happen that a kart crosses
the lap counting line in the very first frame. To avoid this,
karts will now start 0.1 units behind the lap counting line.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6278 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 21:51:36 +00:00
hikerstk
77c0d66653 Added support for scaling IPOs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6277 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 10:17:08 +00:00
hikerstk
42d59865ad Fixed debug display of unlocked GP: beach track was removed so
displaying the beach screenshot failed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6276 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 10:06:37 +00:00
hikerstk
95e33fcd7d Fixed animation in GP end screen (where karts would
always look to their right).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6275 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 10:01:52 +00:00
hikerstk
53d241fb65 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6274 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 08:33:51 +00:00
hikerstk
05fb2435da Merged asciimonster's patch which adds support for creating the
materials.xml file from id properties of images. Thanks for the patch!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6273 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 04:55:24 +00:00
hikerstk
4dc5befbb8 Fixed support for skeletal animations with IPOs (in which case the
aramture will have the ipo, not the actual object).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6272 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 01:56:59 +00:00
auria
16408bc258 Reduce volume of background music while playing last lap fanfare + don't play last lap fanfare in one-lap races
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6271 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 01:24:26 +00:00
auria
a65117f97d Hacienda needs some music
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6269 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 00:59:05 +00:00
hikerstk
66b73845bc Added different default start parameters to avoid that karts start on
the bridge (or other uneven terrain) and will slide forwards/backwards
before the race starts.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6268 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 23:36:14 +00:00
hikerstk
0ac715f1d7 Re-exported jungle track to fix lap counting and other issues.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6266 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 23:12:41 +00:00
auria
1cb2b1caa3 Fixed sound being shortly unpaused when switching screen and sound is off
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 23:12:30 +00:00
hikerstk
e35bf48d7b Fixed start position in sandtrack (caused by original drivelines being
too low. For now the start positions are raised a bit higher to offset
this).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6263 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 22:53:31 +00:00
auria
bad35f1595 Enable looped sounds only when unpausing sounds and not as soon as the checkbox is pressed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6261 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 22:35:58 +00:00
hikerstk
38d69360b1 Updated VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6259 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 21:55:14 +00:00
auria
157133673c Fixed compilation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6258 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 21:53:04 +00:00
hikerstk
272ad9f4c7 Added support for new start position settings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6257 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 21:51:44 +00:00
hikerstk
19b225a7ce Added improved default start positions. Start positions now follow the drivelines,
and the scene.xml file can specify how many karts to set in one row, and the
distance between karts in X and Z direction.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 21:49:35 +00:00
auria
12cb80f9d0 Enabling sound in-game works even for engines / looped sounds now
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 20:26:31 +00:00
auria
7434604183 Fixed sound to be positional again
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6254 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 19:46:04 +00:00
auria
947f9a5eb1 Improved disabling audio in-game
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6253 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 19:33:27 +00:00
auria
b957d7923a Perform decent error checking when getting music file, previous code would silently return an empty file. Fixed the use of the 'smart' function used too early when loading title music
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 19:19:31 +00:00
auria
6765a8a278 We now have sufficient amount of quality replacements, Bye Bye Beach\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6251 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 19:05:48 +00:00
auria
2c30b0a11f Added Hacienda track =)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6250 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 18:56:16 +00:00
hikerstk
f6cd18f5c7 Fixed VS compilation problem.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 05:23:59 +00:00
hikerstk
2dad6ea54f Fixed compilation in case of non-debug compilation when
DEBUG_KART_RANK is defined.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6247 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 02:49:35 +00:00
hikerstk
34a7a538fe Fixed debug code: a change of a kart rank was not detected
(and so no debug info for a rank change was printed).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6246 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 02:29:50 +00:00
auria
3f0f1d4b57 More work on audio : enabling SFX in-game now works significantly better, cakes and zippers now work properly. Disabling SFX in-game still not checked; when when enabling SFX in-game, looping sounds like kart engines are not started
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6245 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 02:13:45 +00:00
auria
65fdc2f2ee Link each Sound Source to a Buffer, even if OpenAL is not inited. This will help correct the SFX enable bug
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6244 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 02:00:36 +00:00
auria
3adaeef476 Started refactoring audio code so that the SFX enable bug can be fixed easier later (bug not yet fixed)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6243 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 01:45:12 +00:00
auria
86b5b82c71 Make AIs drive slower during the end animation with an ugly hack
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6242 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 00:59:06 +00:00
hikerstk
033688e595 Updated documentation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6241 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 00:57:03 +00:00
auria
36aabac85c Fixed Elephpant's end animation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6239 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 00:04:48 +00:00
auria
735e942abb Reduced seeing under lava effect on fort magma
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6237 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-10 16:53:42 +00:00
auria
b38525c227 Removed nonsensical assert
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6236 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-10 16:35:09 +00:00
auria
f6c78af7fd Rename the 'networking' button, it's just confusing to most people
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6235 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-10 15:44:36 +00:00
auria
b424856d6c Fixed kart wheels sinking into the podiums in GP win screen. Also tried to fix characters looking left but that didn't quite work out
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6234 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-10 15:12:40 +00:00
auria
f7762c3fa2 Minor update to Xcode project caused by me updating to the latest version (still backwards compatible as far as I can tell)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6233 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-10 15:03:08 +00:00
auria
c1d7f610a0 Cleanly handle when RTT is missing instead of crashing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6232 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-10 14:41:55 +00:00
xapantu
22ef2ccb52 Fix crash when we tried to update an addons from the addons update screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6231 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-09 16:58:16 +00:00
xapantu
a087e00214 Adding update support for the addons and increase the size of the buttons in the addon dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6230 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-09 16:44:12 +00:00