hikerstk
92ef262bb0
Removed reversal of quads, instead fixed handling of the data structures
...
that depend on the orientation to properly handle reverse tracks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10821 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-07 05:15:19 +00:00
hikerstk
9c51953e7a
Removed dead code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10820 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-07 04:15:13 +00:00
hikerstk
3659b14667
Redone 'distance from start' calculation to use the proper graph structure
...
(and not to assume that the quads/graph nodes will be added in a specific
order, i.e. in the order in which they are connected).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10819 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-07 03:10:43 +00:00
hikerstk
f2d5ca5203
1) Set reverse state to false if no reverse track is available
...
(otherwise after racing one track in reverse mode, the next track
without reverse available will still have reverse flag set).
2) Set the state of the checkbox to the previsouly selected
reverse status (which makes it a bit more convenient if you
want to replay with the same settings).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10818 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-07 03:08:43 +00:00
auria
da25bc6105
Fix entering garage in a cleaner way
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10817 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-07 01:25:56 +00:00
auria
38a626e921
Improve version of overworld without splatting
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10815 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-07 01:10:54 +00:00
auria
5fc90518c9
fix the small bushes in scotland that had become white quads
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-07 00:31:44 +00:00
hikerstk
59c5537fe5
Fixed crash in case of using -N without --reverse on the command line.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10812 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-06 21:12:10 +00:00
auria
a8dd687071
Revert change I did that introduced bug
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10811 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-06 02:55:41 +00:00
hikerstk
b5bb733e19
Make the karts start just ahead of the starting line in reverse mode.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10810 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-05 22:33:17 +00:00
hikerstk
80ec893758
Use singleton-like constructs instead of static
...
pointer to quad set etc.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10809 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-05 22:24:20 +00:00
hikerstk
648eb17e0a
Added command line option for reversing tracks.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10808 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-05 20:56:45 +00:00
auria
65b4eed110
Implement going in the garage to change kart
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10807 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-05 19:32:17 +00:00
hikerstk
c49226aefc
Fixed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10806 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-05 11:33:19 +00:00
hikerstk
6e099ebbb9
Marked more tracks to be reversable.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10805 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-05 11:32:31 +00:00
auria
7711bab285
Add the necessary code to trigger location-specific action; for now there is a placeholder in the location of the overworld garage
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10803 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-05 01:32:35 +00:00
auria
547fd78d6d
use the kart selected by the player in story mode
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10801 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-05 00:23:31 +00:00
mcmic
29192e7fc6
Added text next to reverse checkbox
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10800 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-04 16:02:02 +00:00
mcmic
d81cc54fa8
Implementation of reversed track.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10799 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-03 23:18:14 +00:00
magned
0e1335e560
One texture was missing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10796 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-03 01:04:05 +00:00
magned
8d6a608a49
Water shader moves now at an acceptable speed, and in a more logical direction
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10794 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-03 01:01:24 +00:00
magned
97777877aa
Adding water shader to Scotland. Note: water moving way too fast currently
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10793 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-02 23:37:21 +00:00
auria
6dcc313611
Make water speed customizable
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10791 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-02 16:37:30 +00:00
auria
1032f9654d
Update CMake build system to check for irrlicht version
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10790 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-02 16:15:28 +00:00
auria
737d931a76
Fix minor warning
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10789 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-02 14:49:39 +00:00
hikerstk
613173ff3d
Set the world kart id in the constructor of karts, and not
...
later in a separate call.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10788 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-02 05:21:14 +00:00
hikerstk
8dd5b8461c
Make sure that --history (and other options that immediately cause
...
a race to start) work properly without having to specify -N.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10787 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-02 05:18:59 +00:00
magned
a44bee360d
Retry adding water shader to Shifting Sands
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10786 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-02 02:22:10 +00:00
magned
d01a271093
Added water shader to Shifting Sands river
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10784 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-02 01:58:05 +00:00
magned
4c29734935
Added water shader to Amazonian Journey river
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10781 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-02 00:45:16 +00:00
magned
659a928438
Added water shader to Lighthouse water
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10779 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-01 23:14:17 +00:00
hikerstk
4a6a7d86ed
Fixed typo and potential crash in particle effects for karts.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10778 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-01 21:02:19 +00:00
auria
82a503637c
Use new water on island track
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10777 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-01 01:44:20 +00:00
auria
fb442f3a1e
Fixed fish that was impaled in grass
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10776 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-01 00:40:31 +00:00
hikerstk
9d5485a9e3
1) Moved attachment handling from physics to attachment.
...
2) Split Kart::crashed into two public functions for collisions with
kart and collisions with track, and one private function with code
common to both collisions.
3) Removed #include of attachment.hpp from kart.hpp to reduce compile
time.
Sorry for not splitting this up into three parts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10775 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-31 12:02:10 +00:00
auria
27360fbe93
Fix leak by introducing code to free meshes that are not associated to any scene node
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10774 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-31 02:24:10 +00:00
auria
b950d4a7bc
Work around crashes when visting overworld twice. However I'm pretty sure this 'fix' causes a leak
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10773 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-31 01:23:50 +00:00
auria
19dd91da8f
All very minor changes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10772 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-31 01:17:39 +00:00
auria
449c24ed47
Fix starting backwards on overworld (Thanks Joerg for the script fix)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10770 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-31 01:12:24 +00:00
auria
6cc19c39d0
Improve challenge selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-31 00:28:17 +00:00
hikerstk
a993cebca0
Applied first part of MCMic's patch to allow driving a track in reverse.
...
It adds a flag to the track.xml files, a (currently unnamed) checkbox
in the track selection screen, but doesn't do any actualy reversing (see
forum http://forum.freegamedev.net/viewtopic.php?f=18&t=2661 for
details).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-30 23:35:46 +00:00
hikerstk
c7083edba3
Moved terrain particle effectrs from kart into kart_gfx.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-30 22:20:31 +00:00
auria
9e99055545
Split overworld trees in subnodes to help irrlicht do proper Z sorting
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-30 22:14:34 +00:00
magned
5ab305771c
Added particles for 2.5 sec skidding and 3.5+ sec skidding. Feel free to improve.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-30 07:35:04 +00:00
hikerstk
7712af3070
Created branch for reverse-mode driving.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10763 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-30 03:47:02 +00:00
auria
3fbaeab536
Fix pedestrals by the sea
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10761 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-30 02:55:26 +00:00
auria
665ee15cdd
Fix large font
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10760 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-30 02:25:38 +00:00
auria
3e3c676db0
Clean up text nodes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10759 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-30 01:59:33 +00:00
auria
b29456012c
Silence those remaining of the annoying warnings that are printed when loading the overworld
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10758 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-30 01:00:33 +00:00
auria
e346b44ba1
Silence many of the annoying warnings that are printed when loading the overworld
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10757 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-30 00:54:13 +00:00