auria
3fc514d2f8
Remember user kart choice between sessions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6362 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-27 20:10:16 +00:00
auria
e42a390630
Display an error message if the user tries to create a new player with no name
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-27 19:26:06 +00:00
hikerstk
6881c51be8
Fixed crash in case that no music is defined for a track.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6344 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-26 21:51:45 +00:00
hikerstk
2cdd7c1745
Fixed (one) rotation bug: rotation for objects in the xml file are
...
already degrees, they were converted to degrees again.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6343 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-26 21:45:32 +00:00
hikerstk
1f7a882c85
File forgotten in previous commit.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6342 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-26 09:57:26 +00:00
hikerstk
87f849184d
Added support for --material-debug command line option, which prints
...
the texture the kart is on and its slowdown related parameters.
This should help debugging incorrect slowdowns.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6341 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-26 09:29:44 +00:00
hikerstk
3e4e4e00f1
Forgotten controller/* in previous patch. They now also
...
define a proper slowdown on end controller without stopping
on hills.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-26 06:30:39 +00:00
hikerstk
c39cf57971
Support for nitro, slipstream and zipper to become faster than a kart's
...
maximum speed. Parameter in data/stk_config might need more tweaking.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6339 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-26 06:28:58 +00:00
hikerstk
062fa61d60
Handle tracks that are not found better (track manager does not
...
throw an exception anymore, it instead returns NULL).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6338 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-26 06:14:46 +00:00
auria
8ea72b1fa3
Added secret debug feature (hint : build in debug more and try keys JIK)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6334 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-25 23:07:35 +00:00
auria
08e44103c7
Update Xcode project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6330 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-25 01:24:23 +00:00
auria
4c1fc83a1a
Shorten FTL definition to fit screen space
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6328 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-25 01:11:09 +00:00
hikerstk
67192a869d
Removed compiler warning by adding missing newline at end of file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6327 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-25 01:11:07 +00:00
hikerstk
f4c72bd783
Updated makefile to include new files.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6326 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-25 00:53:17 +00:00
hikerstk
0f0c74f391
Added new object to handle max-speed of karts. ATM it will slow down
...
depending on terrain, so zipper etc. handling is not yet finished but
will come soon.
Also zipper parameters can now be specified per kart.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-25 00:52:50 +00:00
hikerstk
6226a48b6b
Fixed multi-item handling (no multiple items were given to anyone at all).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6324 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-25 00:41:23 +00:00
auria
6e69463c72
Fixed bogus tab switch in help
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-24 20:36:07 +00:00
auria
6b337dfe71
Made game mode choice persistent
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-24 01:53:50 +00:00
auria
852e3296c7
Improved persistence of difficulty setting
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-24 01:10:13 +00:00
auria
dbf3ec0b09
Make number of laps value persistent
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-24 00:55:21 +00:00
mbjornstk
33d535a991
Add include, otherwise compile fails due to missing assert definition.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-24 00:05:26 +00:00
auria
f5f48d5861
Fixed binding conflict detection being based on name; really verify their values, not only their names
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-23 21:27:56 +00:00
hikerstk
b7b0f1b41b
Fixed splitsceen display: energy bar was moved down a bit,
...
lap and rank display are now on top of the energy bar (and
just under the time). Removed 'finished' display if the
race is finished.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6314 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-19 21:49:19 +00:00
hikerstk
8708d5b654
Hopefully fixed crash in case that a bubblegum is dropped 'over nothing'.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6313 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-19 20:35:18 +00:00
hikerstk
716f7e4942
Fixed one crash with battle mode (though it still doesn't work fully).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6312 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-19 20:16:26 +00:00
hikerstk
eae17a7133
Made the plunger-in-face duration configurable and dependent on
...
difficulty.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6307 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-18 11:08:22 +00:00
hikerstk
9d5b51e797
Only apply terrain-specific slowdown when being on the ground.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6306 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-18 06:04:05 +00:00
mbjornstk
6790b694b5
Make zipper fade out linearly (experimental hardcoded values and even formula).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6304 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-18 05:23:09 +00:00
hikerstk
6d3d6d69d0
Removed warning about "... element 'default-start' was met but is
...
unknown.".
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6303 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-18 03:10:18 +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
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
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
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
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
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
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
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
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
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
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
hikerstk
82a2aa9d8d
Removed FIXME and unnecessary code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-07 12:08:49 +00:00
hikerstk
8c030ccdb5
Fixed handling of multiple items: added missing parachute and
...
switch handling, fixed typo in bubble gum handling.
Sorted powerup handling according to order of POWERUP_*
defines, and added assert to default clause so that missing
handling of powerup items is detected earlier.
This should fix 3078892 - parachutes lasting long (most
likely due to AIs firing multi-parachutes one after
another, which adds up the parachute time).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6220 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-07 11:52:55 +00:00
hikerstk
bae679eb83
Fixed bug 3082297: karts would easily flip over on the side.
...
Caused by an incorrect sign (which wasn't noticed earlier
because of bug 3081113).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6219 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-07 11:28:33 +00:00
hikerstk
ca61e6527d
Bugfix: karts would rotate (around up axis) if they are on a steep uphill/downhill
...
part of a track. Reason was an incorrect axis in the upright constraint (see bug
3081113).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6218 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-05 12:35:02 +00:00
auria
095f45be00
Possibly fixed another thread-related bug
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6206 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-03 18:56:26 +00:00
auria
ddc2a3dab2
May now confirm kart selection by pressing fire on player name (in case someone selects a kart first, their identity second, this is more natural)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6192 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-02 00:39:24 +00:00
auria
5eb4aaf4ef
Hopefully fixed nitrobar going off-screen at large resolutions : use a percentage of screensize, or an sbolute size multiplied by the scale parameter, but not both toghether.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6191 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-01 23:46:46 +00:00
auria
909c887724
Changed message displayed when making it in the top-3 of a GP as per recently received feedback
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6187 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-01 23:05:28 +00:00
hikerstk
6a6d574823
Prevented buffer overflows in case of invalid times (which could happen e.g.
...
as result of estimated times on a track with invalid drivelines), see also
bug 3078740.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6180 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-01 11:00:22 +00:00
hikerstk
5f6b0729b7
Fixed incorrect rescue in fortmagma (and potentially other tracks): if a kart
...
falls down into the castle, it would be rescued to the floor of the castle, giving
it a huge benefit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6175 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-30 23:26:18 +00:00
auria
26c1e1ec34
Updated Xcode project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6172 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-30 23:02:06 +00:00
mbjornstk
583689c347
Add messages for bowling ball self hits.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6169 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-30 06:01:10 +00:00
hikerstk
6d3c17f602
Added different way for detecting new lap: based on the quads this will
...
make sure that player ranking is always accurate. It's not used atm,
but around for testing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6167 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-29 23:23:16 +00:00
hikerstk
ecfd912d54
Fixed --stk-config parameters: the user specified config file was read too late
...
(after all karts were loaded and therefore initialised with the original config
file default parameters), see bug 3072762.
-This line, and those below, will be ignored--
M main.cpp
M config/stk_config.cpp
M config/stk_config.hpp
M items/item_manager.cpp
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6166 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-29 23:09:53 +00:00
hikerstk
fe91d4cfe5
Switched off debug print.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6164 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-29 00:26:48 +00:00
hikerstk
4b4bddf35e
Support for grouping check structures. E.g. it is now possible to
...
have more than one lap line, which will always be in synch (i.e.
if one is triggered, all will be set to inactive).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6161 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-28 23:29:21 +00:00
hikerstk
3d66c17292
Added files missing in previous commit - sorry.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6160 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-28 23:27:14 +00:00
hikerstk
e189746787
Removed dubious warning about start line not on quad,
...
which can give a false positive on certain platforms due to
floating point errors.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6159 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-28 23:19:56 +00:00
auria
e24b447a6d
Removed unused includes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6158 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-28 14:35:43 +00:00
auria
dd50501e73
More minor changes to make sure crashes don't occur due to the thread in the main screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6156 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-27 15:46:24 +00:00
hikerstk
4976d9d60c
Made the backwards facing camera using a higher angle to make
...
it more useful (actual angle can be determined in stk_config.xml).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6155 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-27 12:15:19 +00:00
auria
6432d83c27
Fix more potential crash at shutdown regarding with add-on threads
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6154 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-27 01:27:06 +00:00
hikerstk
3c2f45a556
Changed slipstream handling: boost will now be given when getting out
...
of slipstream and enough 'slipstream credits' have been accumulated
(which is shown by a little bit of nitro). This should avoid the problem of
crashing into the kart ahead when getting nitro, and also make it less
likely that the AI creates trains.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6153 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-26 22:44:23 +00:00
auria
90cfa6bb4a
Have better behavior than aborting when a bad kart is found (especially relevant with the add-on manager coming)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6152 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-26 01:20:50 +00:00
auria
a2edd2a9de
Fixed several vertex color problems (re-exported fort magma because some per-plane vertex colors were not supported by B3D and/or irrlicht so I needed to split a few objects to have vertex colors work fine)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6148 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-25 23:39:08 +00:00
hikerstk
351a69adfe
Fixed upright constraint, which prevents karts from toppling over when
...
jumping (e.g. paper plane in math class).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6147 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-25 21:57:56 +00:00
auria
d62e1f659d
Fixed bug that could occur when leaving kart selection screen and a kart is currently leaving but not yet gone
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-25 20:12:54 +00:00
auria
984030f990
Added much debug code to help detect bugs early in kart selection screen and player management (see recent ticket; although these checks can be useful outside of this particular ticket anyway)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-25 18:34:04 +00:00
auria
90766a6118
Fix thread cancellation
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6144 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-25 18:09:06 +00:00
hikerstk
0c5c9496cf
Fixed bug 3074299 (slipstream in air on low level AI).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6143 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-25 13:48:41 +00:00
hikerstk
e261294e47
Improved handling of multiple items by the AI.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6142 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-24 12:29:03 +00:00
hikerstk
87bb1cea34
Fixed incorrect camera angle when the kart is driving up a steep hill.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6141 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-24 12:22:56 +00:00
hikerstk
916b67dd80
Updated version number for VS project.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6136 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-24 01:17:04 +00:00
hikerstk
4694be90c3
Reverted patch 6123 (introducing AI steering variations), since it
...
resulted in AIs driving badly (even when the variation was set to 0).
This patch will be re-considered later, after the alpha 3 release.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6129 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 23:18:53 +00:00
hikerstk
2c7213b83e
1) Added support for AI steering variations: AI karts will now not
...
steer to the same driveline point, but to points slightly to
the left and right. The maximum variation is defined in
stk_config.xml (and should be between 0 and 1).
ATM THIS IS DISABLED! Since in my tests it appears that
the AI is not driving as good as previously anymore, i.e.
it drives more S-lines on straights etc. To enable this change
steering_variation in stk_config.xml
2) AI now handles multi-items better by waiting a certain amount
of time before using the next item.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6123 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 07:21:52 +00:00
hikerstk
cbf089ce40
Disabled slipstreaming for low AI level.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6122 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 07:18:46 +00:00
hikerstk
2c98d511fe
Fixed graphical error in FTL races when music is enabled
...
(see bug 3072740): the countdown timer caused incorrect
values to be used for the 'music credit' display.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6121 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 07:17:04 +00:00
hikerstk
6b46f3162f
Fixed uninitialised variable (which was used around line 695).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6120 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 03:45:08 +00:00
hikerstk
58116b66be
Made the up-angle relative to the pitch of the kart configurable.
...
It now defaults to 15 degrees (it was 30 degrees, but accidentally
a hard coded value of 15 was committed in r6110).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6119 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 03:43:10 +00:00
hikerstk
6b3d0db0fa
Fixed crash in case that not enough AI are selected in a FTL
...
race (now there will be at least three karts in a FTL race).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6118 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 03:13:54 +00:00
hikerstk
ea94ac5c7c
Karts that have finished the race will now still give slipstream advantage.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6111 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-22 02:17:00 +00:00
auria
81aca22434
Fixed weird music being used on XR591
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6110 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-22 02:01:52 +00:00
hikerstk
b754d9c879
Fixed camera aiming at incorrect (previous) position when restarting a race.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6107 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 12:25:17 +00:00
hikerstk
4733fead77
TUrns out the spaces did not actually remove the warning (sorry,
...
missed the warning when recompiling). So I've added a "."
at the end.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6106 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 10:36:40 +00:00
hikerstk
7085283a29
Fixed compiler warning ('\' at end of line indicates that the
...
line should be continued, so I added a space).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6105 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 10:34:17 +00:00
hikerstk
66259c59f6
Fixed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6104 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 10:28:30 +00:00
hikerstk
a973e8b84f
Renamed all instanced of RandomKart in the race_manager to
...
AIKart (e.g. m_random_kart_list -> m_ai_kart_list) - since this
describes what the lists and function actually are (in network
the name is not entirely correct, but since this will be
re-implemented anyway, we leave the proper naming till later).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6103 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 07:37:42 +00:00
hikerstk
3bc2a8b93d
Fixed VS compilation problem (log from integer value).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6102 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 04:46:57 +00:00
hikerstk
1b1224b244
Added assert to catch inconsistent setting of number of karts.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6101 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 04:07:28 +00:00
hikerstk
248c12c3a2
Properly fixed bug 3072032 (crash when doing a challenge) - the call
...
to computeRandomKartList is not necessary, the real problem was that
the game data structure was set up before the new data was
defined (e.g. data was initialised for previous number of karts,
after initialisation the correct number of karts was set, causing
a crash).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6100 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 04:04:49 +00:00
auria
a22c395f1f
Fixed silly typo in Screen docs + shorten lines a bit while at it
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6098 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 00:38:21 +00:00
hikerstk
bb274576a5
Fixed bug that resulted in karts getting no item at all.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6097 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 00:34:13 +00:00
hikerstk
357483da51
Added grab/drop to avoid that the animated scene node of
...
which a copy is used is not accidentally deleted.
Also initialised m_animated_node with zero to handle
incorrect usages of the kart model.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6094 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 23:27:49 +00:00
auria
2c98942c6c
Fixed empty GP list
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6088 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 17:36:12 +00:00
auria
69feb27034
Simplified ribbon code by not invoking number of row estimation code for single-row ribbons...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6087 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 17:36:02 +00:00
auria
a17b78d5fc
Tweaked formula used to determine best number of rows in dynamic ribbon. It now looks fine in all resolutions I tested. Hopefully the now rather complicated formula doesn't have unforseen issues...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6086 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 17:31:59 +00:00
auria
1c4e3f8492
Fixed crash when starting challenges. @Joerg: please read the fixme I added in RaceManager. There is some confusing design to fix there =)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6085 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 17:09:25 +00:00
hikerstk
78346e3ddf
Added support for multiple powerups to be collected with one item
...
box. Weights for these are set in powerup.xml. ATM a 'multi item'
gives three items (hardcoded, I'll change that to be configurable
later).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6079 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 14:48:05 +00:00
hikerstk
1f348ac93f
Cosmetic changes only.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6078 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 14:46:07 +00:00
hikerstk
2e48901c69
Updated VS project file, fixed compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6076 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 14:44:18 +00:00
hikerstk
a7672b5720
Made the amount of nitro configurable per kart - in case that we
...
want to change this later when giving each kart different abilities
(now that I think about it: a similar effect can be accomplished
with the nitro consumption rate).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6074 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 01:21:17 +00:00
hikerstk
82fcdef6fb
Add a 'time per kart' to the leader intervals, which is defined
...
in stk_config. This is to balance races with larger number of
karts. Note that the changes to stk_config was part of the
previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6073 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 01:16:41 +00:00
hikerstk
3db98d8ba7
Added a 'powerup collect' mode setting to stk config. This controls
...
what happens if a kart already has a powerup when it hits a bous box:
you can get one more item of the same kind, one new item, or only one
more item if a random item is the same one as the one you currently have
(the latter being the old STK mode). stk_config.xml now sets 'new'
(always get a new randomly chosen item) as mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6072 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 01:15:16 +00:00
auria
db012e081f
More icons to the shiny loading screen ;)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6071 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-19 19:30:14 +00:00
auria
51b1ffcf85
Added a 4th help tab describing multiplayer play, after suggestion to do so on IRC
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6070 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-19 19:22:43 +00:00
auria
874e365661
Improved dynamic ribbon algorithm to allocate a number of rows that will leave less empty space on higher resolutions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6068 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-19 19:01:55 +00:00
auria
6411bd6e3b
Removed reference to removed kart in test screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6064 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-19 18:21:20 +00:00
auria
734aa6e411
Suppressed unneeded warning from spinner widget
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6063 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-19 17:22:49 +00:00
xapantu
0e15df25c5
Fix a bug when reloading the karts after installing an addons
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6061 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-19 15:17:09 +00:00
hikerstk
83723a83ea
Fixed crash which happens if an end animation is playing
...
in its non-looped part when the world is deleted (bug 3067944).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6056 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-19 10:55:34 +00:00
auria
37901f7f39
Absolutely frivolous, but very cute, change : show icons of what is being loaded during the loading screen (sorry, couldn't help but waste time on this =)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6054 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-18 23:09:02 +00:00
auria
77f85f61cb
Try to fix add-ons related crash at exit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6051 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-18 22:26:13 +00:00
auria
848107faa1
Removed unneeded print
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6042 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-18 18:23:36 +00:00
auria
7058d30947
Fixed mossing notification in dynamic ribbon that could result in a visual glitch for plaer 0 in the kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6041 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-18 17:14:21 +00:00
hikerstk
f5f9e1d8be
Fixed handling of material in track conversion (file was missing in
...
r6037) --> animated water scene nodes will now trigger rescue.
Also fixed getting the location for water scene nodes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6040 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-18 10:08:14 +00:00
hikerstk
94c4f40bd1
Fixed compilation problem (const vs no-const mismatch).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6039 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-18 07:30:58 +00:00
hikerstk
4433585efa
Removed warnings when loading a kart without wheels.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6038 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-17 12:18:05 +00:00
hikerstk
a04f688972
Added support for using readonly material. As a result of this animated
...
water scene nodes will now trigger rescue.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6037 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-17 05:24:39 +00:00
hikerstk
01a3293fb7
Removed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6036 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-17 05:23:34 +00:00
hikerstk
0e23c01c81
Fixed steering animation to be independent of the actual frame
...
rate defined in the animation, and also to handle if only
steering partly into a direction.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6031 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-16 23:31:13 +00:00
hikerstk
199356463d
Fixed F12 (display FPS) handling so that it would only trigger on
...
pressing the button, not (again) on releasing it.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6030 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-16 23:29:17 +00:00
xapantu
81d87f02e2
Use an absolute path for the addons icon in the kart selection screen (no [?] anymore)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6029 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-16 17:11:18 +00:00
hikerstk
8c8d8de7f4
Improved support for karts without wheels (up to now Gnu had
...
invisible wheel models).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6026 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-16 12:19:00 +00:00
hikerstk
286d12a5f2
Added number of mesh buffers to --kartsize-debug.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6025 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-16 05:48:26 +00:00
hikerstk
30994d5a54
Removed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6023 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-16 03:36:43 +00:00
hikerstk
b07ce15209
Maximum number of karts is now set from the value in stk_config (this limit is already
...
enforced for command line options).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6022 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-16 03:24:26 +00:00
hikerstk
92d18a7a25
Definitions for GP points is now independent of the maximum number of karts.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6021 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-16 02:31:20 +00:00
hikerstk
bb73c6f2f8
Fixed 'tabs' in file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6008 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-15 00:38:07 +00:00
hikerstk
8cb6503ab3
Fixed --kartsize-debug command line option.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6007 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-15 00:31:05 +00:00
hikerstk
c9772d672e
Removed unused code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6001 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 11:29:27 +00:00
hikerstk
143ee6d455
Fixed memory leak.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6000 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 06:05:48 +00:00
hikerstk
a0ce44d326
Removed warnings printed to stderr in case of missing music files (which
...
can happen and not indicate a problem at all - all music files are searched
for in different directories like data/tracks/XXX and data/music, so it's
normal that music files are not always found).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5999 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 05:23:59 +00:00
hikerstk
5fc601c9d9
If the number of laps used previously (or set via a command line
...
option) was too small, a leader could 'finish' the race, and while
no message would be printed, its distance calcuation become incorrect.
To workd around this issue (and to avoid making the code in
linear_world even more convoluted) I just set a large number
for the number of laps in case of a FTL race.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5998 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 05:21:55 +00:00
auria
4b15040560
Fixed leak in GPlose
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5995 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 01:44:19 +00:00
auria
18bd3ddb07
Add support for many GP losers in the GP ending screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5992 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 01:36:14 +00:00
hikerstk
79b0471b01
Added experimental code to give a background per line for the race
...
result. Too much is hardcoded atm, so it needs some work should
we want this look. Check for #ifdef USE_PER_LINE_BACKGROUND
to see what was done.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5991 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 01:28:19 +00:00
hikerstk
5fbc6eb0bb
Fixed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5990 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 00:57:27 +00:00
hikerstk
f87c95b605
Added "/" to the end of some getXXXDir functions, so that the
...
"/" doesn't have to be added elsewhere all the time.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5989 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 00:56:42 +00:00
auria
fb8287fef0
Fixed broken ribbon labels
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5985 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 00:22:42 +00:00
auria
960dd16596
hopefully fixed shutdown crash
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5984 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 00:15:42 +00:00
auria
2891504fa3
Add back clipping to the font object, since lack of clipping messes up list widgets. I submitted a feature request with patch to the irrlicht devs instead, so hopefully in the future IGUIStaticText will have my patch apply and allow disabling clipping locally where needed.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5983 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 00:03:30 +00:00
auria
40d3d2e5de
Added new roundedbox widget
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5982 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-13 23:22:58 +00:00
hikerstk
209d9582a8
Fixed bug 3064849 - crash in FTL.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5981 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-13 23:10:40 +00:00
auria
f97cec61ce
Fixed the hard to click checkbox in a reasonably clean way
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5979 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-13 02:07:51 +00:00
auria
141ce78156
Fixed excessive logging regression I accidentally introduced
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5978 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-13 00:25:54 +00:00
hikerstk
7ee4faa950
Fixed incorrect start positions in tracks that don't have checklines defined
...
(removed old, temporary global variable and replaced it with correct
variable in class), added a warning message printed to stdout in case
that checkline are missing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5977 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 23:57:23 +00:00
hikerstk
a998641ae7
Fixed line endings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5976 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 23:42:28 +00:00
hikerstk
af1ceeee09
Bugfix: memcpy would copy only pointers to some strings which I had missed,
...
causing potentially memory corruption. Added more asserts to make sure
'master instances' are never used for karts shown on the screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5975 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 23:33:03 +00:00
xapantu
0de6fc6485
Change the message for addons : 'Writing XML file' to 'Reloading karts list', it is more user friendly and honnest
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5974 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 17:06:40 +00:00
xapantu
788def7924
Fix the addons reloading
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5973 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 17:04:34 +00:00
auria
a3b7179427
Prevent bubbles from shkrinking smaller than the initial size (which could be especially marked at lower framerates)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5972 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 15:44:58 +00:00
jmimu
62eff31d0e
Hide icons overlaping minimap
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5971 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 15:25:48 +00:00
hikerstk
728d3743b0
Fixed missing animation, but this is still work-in-progress.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5970 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 14:03:55 +00:00
auria
d9f64b1bd0
Fixed crash related to locked karts
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5969 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 13:52:47 +00:00
auria
599d0a806a
Bye bye EvilTux, Welcome Konqi\!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 20:47:05 +00:00
auria
7a19068a5d
Fixed another crash at exit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5966 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 20:17:41 +00:00
auria
5c0fba91f0
Init GUI as early as possible and show a loading screen during the first seconds when STK is loading
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5965 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 18:17:17 +00:00
auria
c9c71dddd9
Hopefully fixed crash at exit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5962 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 16:54:45 +00:00
auria
450517bb5c
Fixed rare crash
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5961 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 16:49:46 +00:00
auria
a39d705b9a
Added clarification to gui engine manual (xapantu was not able to make something work, thus I fix the docs :)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5959 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 18:57:13 +00:00
xapantu
694a782caf
Revert my last commit since it is useless now ^^
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5958 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 18:34:40 +00:00
auria
4df28afc80
Properly unload screens before exiting, correcting a FIXME
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5957 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 18:29:53 +00:00
xapantu
197f693943
Move the main menu screen thread canceling to tearDown because ~MainMenuScreen is never called
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5956 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 18:22:10 +00:00
auria
96d7bbf345
Fixed warning + removed hardcoded constant
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5955 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 13:51:40 +00:00
hikerstk
7f3f598193
Fixed crashes in grand_prix lose, win, feature animation etc.
...
KartModel instances come now in two different types:
master instances which are part of KartProperties and
should never call attachModel (or have wheels attached),
and copies of the master instances (which are used by karts
and other classes when the kart is actually displayed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 13:30:31 +00:00
hikerstk
ea7e1e2734
Applied jmimu's patch to fix icons in battle mode.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5953 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 05:16:52 +00:00
auria
963516e2fb
Removed/fixed bogus/unneeded includes or forwards
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5952 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 00:05:56 +00:00
auria
3b6940f2a3
Removed unneeded widget copy
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5951 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 13:41:44 +00:00
hikerstk
c2e68deb6d
Minor cosmetic changes only.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5950 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 12:28:24 +00:00