Commit Graph

4619 Commits

Author SHA1 Message Date
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
19b4aeed85 Added missing texture in Tux model (*blush* that one has been mising for ages, no one noticed?)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-24 20:33:07 +00:00
auria
719ab532a5 Fixed another case of text clipping
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-24 20:32:27 +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
cd969a8a61 Fixed typo in script.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6315 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-19 22:04:31 +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
bcce18aa50 Allow warp around of number of karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6311 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-19 01:06:45 +00:00
auria
afa1b26dd5 Added a couple more slowdowns to reduce some shortcuts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6310 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-18 18:15:52 +00:00
auria
c00bb8355a Removed other duplicated texture from jungle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6309 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-18 18:14:05 +00:00
auria
3203126073 Removed unused/bad licensed files from jungle track and fixed license files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6308 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-18 18:12:30 +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
hikerstk
9d0c95a1ad Fixed slowdon inside of pyramid.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6305 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-18 06:01:55 +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
6fde6b3145 Removed unused b3d model.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6302 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-18 02:43:32 +00:00
hikerstk
b00d0bff2c Made the tuxtollway in 3:35 challenge easier (by requiring 4:35 now).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6301 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-17 23:47:07 +00:00
hikerstk
6af235b4b4 Removed city track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6300 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-17 23:39:35 +00:00
hikerstk
c09095b80b Replaced beach with hacienda, racetrack with farm, and city with secretgarden
in all GPs. Modified jungle.challenge to use the new farm track (and adjusted
the time to be rather easy to meet).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6299 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-17 23:32:53 +00:00
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