Commit Graph

4647 Commits

Author SHA1 Message Date
auria
dbb1f6ef86 Use Joerg's Nice Formula to determine the amount of 'vertical slipperinness' to apply - quite more elegant than my approximation. hacienda shortcut still impossible to take, but I tweaked it so that we keep friction of mild slopes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6499 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-11 01:28:09 +00:00
auria
73b87f8540 Use squares when calculating 'vertical slipperiness', helps recover from jumps
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6498 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-11 01:03:15 +00:00
auria
9da769d26e Change stk_config.xml back to what it used to be, reducing friction is no more necessary from this side of things
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6497 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-11 00:41:05 +00:00
auria
9c96fdfdd2 Fixed tiling errors in new (and acicdentally committed) fort magma sky
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6496 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-10 23:59:05 +00:00
auria
905219f0b2 Added to-be-reviewed code to make driving vertically impossible (I'm not sure of the way I determine how vertical we are so I'd welcome testing and revieing)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6495 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-10 23:53:14 +00:00
hikerstk
07f6ffb194 Re-enabled skidding, but tuned so that it won't affect
'normal' driving, but will stop some of the vertical
driving.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6494 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-10 22:01:14 +00:00
auria
1f147f3544 Fixed crash when using flying keys (I/K) outside of a game
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6493 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-10 16:54:08 +00:00
auria
60ac3f8491 Removed unused code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6492 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-10 16:53:45 +00:00
auria
448fda73e8 Updated license info
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6491 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 23:52:31 +00:00
hikerstk
b4d7de5c59 Added an end-controller to battle mode to fix bug #3104309.
The controller committed in r6489 are now aware of battle
mode (i.e. do nothing in battle mode, and don't even use
any quad data structure, which doesn't exist in battle
mode).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6490 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 22:13:09 +00:00
hikerstk
8d40c65190 Moved the path selection and track quad determination code from
default_ai_controller to ai_base_controller. This way all
controllers (esp end controller) benefit from the fix in quad 
determination without having to apply the same patch in several
files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6489 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 22:10:38 +00:00
hikerstk
27477ea270 Removed incorrect warning in battle mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6488 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 22:01:27 +00:00
hikerstk
aac738300c Fixed crash in case that there are more start positions
defined in a scene file than there are karts in the race.
Fixed handling of start entries without position values
in scene.xml files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6487 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 21:54:08 +00:00
hikerstk
85979ee919 Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6486 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 21:50:14 +00:00
hikerstk
c40e50f4f1 Fixed crash in battle mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6485 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 21:45:06 +00:00
xapantu
16b742358c [Addons] an addon object isn't passed to the dialog anymore, it is stupid since addons_manager is extern.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6484 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 17:21:58 +00:00
xapantu
23143a4018 Fix addons when we are offline:
- They can't be updated
- It doesn't crash when we uninstall them

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6483 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 17:04:58 +00:00
auria
54643a6d6b Fixed shiny elephant on GP win screen by reducing sun intensity
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6482 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 16:56:07 +00:00
xapantu
ba7f3c0ac4 [Addons] Download the news text directly in a string, we don't need a tmp file anymore, it was dirty
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6481 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 16:53:53 +00:00
auria
9724be6622 Remove unused code + fixed wrong animation frame used on feature unlocked screen + fixed karts looking left on GP lose screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6480 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 16:00:21 +00:00
auria
c68d8cebb2 Fixed ironical situation : I wrote stupid code; Joerg's compiler produced warnings for said stupid code;de; Joerg adds cast to make compiler accept stupid code instead of fixing stupid code ;) Hopefully the code makes more sense now
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6479 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 14:52:07 +00:00
hikerstk
3b6b6ad828 Fixed stupid AI behaviour: if an AI kart ended up
on a wrong part of the track (e.g. because of
an explosion or falling down), it would not
recover properly since it was still considering
that it's on the previous correct position.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6478 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 06:19:39 +00:00
hikerstk
22ddf1ae9d Added comment.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6477 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 06:18:07 +00:00
hikerstk
6c2eb260f0 Added (currently commented out) debug feature that F1 will
force the first kart to be rescued (which can be useful
to find places where the AI gets into a: rescue, drive,
crash, rescue-to-same-place,... loop).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6476 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 06:17:07 +00:00
hikerstk
a359b169a4 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6475 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 06:14:15 +00:00
auria
9a399a3bda At everyone's request, including Grand Master Joerg, improved fly hack ;) The controls are now simplified : no more J key, just I for up up and K for down. Also, it is now possible to land back on ground : simply go down until to hit the track. Also, the track also gains gravity back when rescued. Finally, the back key is now a break instead of moving backwards, this should be more useful during testing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6474 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 02:16:41 +00:00
auria
3d745c3263 Fixed half-buried bonus box in canyon
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6472 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 01:47:25 +00:00
auria
080409d665 Update CC to use latest sun properties and not old ambient color
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6470 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 01:35:43 +00:00
auria
2bd208b07e Say hello to the a first playable version of the new challenges set \o/
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6468 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 01:23:41 +00:00
hikerstk
24a34006c6 Renamed 'ambient-color' to 'ambient' to be consistent with other values
that don't use -color.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6467 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 00:18:32 +00:00
hikerstk
0d0e927156 Changed 'ambient-color' from a track-wide property to
a property of the light.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6466 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 00:17:25 +00:00
hikerstk
a47b730f3c Removed unnecessary/old code: support for track
specific number of karts, and light settings
in track.xml (which can be set using the track
exporter in scene.xml).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6465 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 23:58:12 +00:00
auria
2ef650ec98 Another iteration on challenges
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6463 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 21:46:09 +00:00
auria
782cd5e4aa More fixes to challenges
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6462 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 21:39:06 +00:00
auria
8edffeadf1 Fourth iteration of challenges improvements. More to come
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6460 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 21:26:15 +00:00
auria
f25f6521be Third iteration of challenges improvements. More to come
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6458 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 20:45:18 +00:00
auria
ae645a12df Second iteration of challenges improvements. More to come
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6456 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 20:33:54 +00:00
asciimonster
fb8ba1d3e9 git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6455 178a84e3-b1eb-0310-8ba1-8eac791a3b58 2010-11-08 20:33:39 +00:00
asciimonster
674117e0a8 Initial import.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6454 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 20:28:57 +00:00
auria
9e53e01921 First iteration of challenges improvements. More to come
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6451 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 20:20:29 +00:00
auria
26c4acaddc Started reworking GPs and Challenges - still much work to do
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6449 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 19:29:15 +00:00
auria
569a724374 Reduced amount of big nitro on snowmountain, was too easy
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6445 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 17:55:54 +00:00
auria
f24a7cc652 Tweaked slowdowns to be less frustrating when going slightly offtrack
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6444 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 17:49:04 +00:00
auria
0543658254 Added collectibles to farm
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 17:44:49 +00:00
auria
3df4a8c244 Added back black sky and dark ambient light to CC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6440 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 16:19:01 +00:00
hikerstk
b5ea108084 Added animated ghost.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6438 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 11:59:59 +00:00
hikerstk
e3ff0acc95 Added call to reset in constructor, which will actually start the
animation loop.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6437 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 11:10:50 +00:00
hikerstk
e7079169ea Some code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6436 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 11:07:14 +00:00
hikerstk
ab32c2ee74 1) Fixed Y/Z axis scaling (which was not swapped previously as it should be).
2) Added a 'looped' attribute to trigger looping of armature animations
   in stk.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6435 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 11:01:53 +00:00
hikerstk
3271d2cef3 Improved handling of armature animations (so that they can be
exported as a stand-alone model and then be animated in stk
using IPOs).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6434 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 10:55:34 +00:00