hikerstk
a7b8a65cc6
Added warning message if the 'type' property is set to an invalid value.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6298 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-17 22:52:44 +00:00
hikerstk
5460aa2058
Removed double display of 'finished' for laps and rank.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6297 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-17 12:28:46 +00:00
hikerstk
f517feeeba
Renamed 'slowdown' for terrain specific max speed to slowdown-time.
...
Made slowdown in tuxtollway less abrupt.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-17 11:09:48 +00:00
hikerstk
e392a2a0af
Fixed display of negative number of AI karts.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6295 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-17 11:06:00 +00:00
hikerstk
648d5a38d2
Removed compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-17 04:41:46 +00:00
xapantu
ead0f00638
Add addons search path for the tracks and reload the tracks list when an addons is installed
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6293 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-16 14:01:17 +00:00
xapantu
2fa3c6bf43
The addons icons are now downloaded in a thread, we don't wait anymore that this download end
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-16 13:29:44 +00:00
hikerstk
e06e190862
Fixed/added some slowdown values (which probably need more tuning).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6291 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-16 13:12:15 +00:00
hikerstk
b0ed33197b
Improved/fixed terrain specific slowdown. Slowdowns are not specified in materials.xml
...
with two values: one specifying the percentage of max kart speed that can be reached
(e.g. 0.5 means a kart can only drive 50% of its maximum speed on this terrain),
the 'slowdown' value specifying how long it will take for a kart to be slowed down
to that value (e.g. a value of 3 for slowdown and 0.5 for max-speed means that
it will take 3 seconds of continuously driving on that terrain till the speed
is reduced to 50% of the karts maximum value).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-16 13:07:25 +00:00
xapantu
9451a488a1
Fix a crash when the kart which is focused in the kart selection screen is a deleted addon, it is a bit dirty, maybe there is a cleaner way ?
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6289 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-16 13:05:12 +00:00
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