Commit Graph

7588 Commits

Author SHA1 Message Date
hikerstk
902ff01d3c Remove 'reverse' checkbox in track info when the track
does not support reverse driving.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10865 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-16 05:41:33 +00:00
hikerstk
d1540ae903 Fixed missing screenshot.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10864 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-16 05:33:31 +00:00
hikerstk
9b07ffe94f Removed debug print.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10863 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-16 05:27:52 +00:00
hikerstk
579715a8d8 Merged trunk with this branch. ATM the track screenshot does not work -
I am going to fix this next.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10862 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-16 04:57:49 +00:00
hikerstk
5d956568b9 Fixed crash (which atm only happens with reverse mode, when the
cow in farm is inivisible).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10857 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-15 23:59:05 +00:00
magned
817eaf6f2a Marked tracks which currently doesn't work at all in reverse. Most of them only needs minor tweaks to at least be drivable both ways.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10854 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-15 23:37:20 +00:00
hikerstk
5e2dcb7963 Fixed crash when using reverse in tracks with short cuts that
are hidden for the AI.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10853 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-15 20:55:36 +00:00
hikerstk
d76777f765 Fixed crash with end controller.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10852 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-15 20:54:11 +00:00
hikerstk
15445f182c Adjust start position of camera (for initial camera movement) properly,
which especially fixes its position in reverse mode.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10851 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-15 05:27:27 +00:00
hikerstk
94be2cfec2 Automatically switch to camera 0 when the lap line is crossed. This
improved handling of end cameras for reverse mode (otherwise one
additional end camera would need to be defined to be used just
when the lap line is crossed).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10850 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-15 05:23:21 +00:00
auria
c92df26ea6 Show which challenges have been solved in the dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10849 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-15 02:21:23 +00:00
auria
2d926bbfcd massive update : more work to support several challenge difficulties; remove a huge lot of code that is no more needed thanks to the new points system; start work on the challenge-solved cutscene
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10848 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-15 01:58:24 +00:00
auria
b6e898876a Tweak a challenge
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10847 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-15 01:24:17 +00:00
hikerstk
4967ca992a Fixed one-frame jump when switching end cameras (esp. to
static camera). Main reason was that setPosition does
not update the absolutePosition of the camera, but also
that the camera position got switched without applying
all settings (like zoom).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10846 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-14 23:27:23 +00:00
hikerstk
e13a7078d8 Fixed warnings being printed at race start when using 0 lap races.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10845 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-14 23:25:43 +00:00
hikerstk
8105b6ac0c Fixed end camera handling in reverse mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10844 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-14 21:15:37 +00:00
hikerstk
fcdf44c764 1) Fixed computing of checkling requirements to work properly with
reverse tracks. Simplified code by moving some functionality
   from QuadGraph to CheckManager.
2) Added comments, renamed some functions to better indicate
   what they are doing.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10843 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-14 20:51:29 +00:00
auria
c54a651ce9 When failing to load a track object, don't leave a malformed TrackObject instance in the track_object_manager
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10842 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-13 23:40:27 +00:00
auria
43ba4c4c25 Fix another unitialized variable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10841 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-13 23:32:15 +00:00
auria
418aaf84e7 Fix use of unintialized pointer and improve error reporting
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10840 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-13 23:23:10 +00:00
auria
5b6e31639c Potential crash fix
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10839 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-13 15:35:42 +00:00
auria
e21f040919 When LOD is used incorrectly, give error message instead of crashing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10838 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-13 01:13:18 +00:00
hikerstk
8a0fe903a4 Use singleton constructions for check manager.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10837 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-12 21:25:06 +00:00
mbjornstk
58f7048732 Applied Curves in GIMP (raised 0,0 to 0,31) as test to reduce extreme darkness.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10836 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-12 01:46:00 +00:00
mbjornstk
9b414764df Remove useless executable property from data files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10835 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-11 21:07:54 +00:00
auria
34692ddf0b Update samuncle's Mansion track. Say hello to our first use of lightmaps :) Perhaps a bit too dark though
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10833 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-11 16:50:16 +00:00
hikerstk
ff67a5cf4e Removed the usage of friend declaration. CheckStructure dependencies are
now not read in CheckStructure anymore, instead they are set by the
CheckManager depending on the direction of the track.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10832 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-09 21:14:32 +00:00
hikerstk
45bb8ceb40 Bugfix: In reverse mode, distance along track started with the wrong
graph node, causing the first lap crossing not being detected.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10831 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-09 11:21:07 +00:00
hikerstk
5535564467 Consider the 'sideway' speed with which karts hit each other: this makes
it possible to intentionally push karts off track by crashing into them
sideways. This is experimental ;)
Also renamed some variables to better describe what they are.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10830 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-09 05:41:13 +00:00
auria
8cfe69333f Port track info dialog to XML
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10829 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-09 03:08:32 +00:00
auria
5e6b42933b Add missing info from license.txt
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10828 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-08 23:03:19 +00:00
hikerstk
90e6a02193 Improved collision handling to better detect left/right side
collisions. Made collisions more bouncy than before (but I am
still tuning).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10827 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-08 20:22:00 +00:00
auria
9ba9aa5794 Add trophy models for cutscene
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10825 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-08 16:34:24 +00:00
mcmic
01458892f0 Now reversing check structures order.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10824 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-08 12:48:07 +00:00
hikerstk
c3a9c03b8b Worked around the problem that the reverse check box could not be
selected by mouse on 800x600 resolution (the checkbox was then
outside of the dialog window).
A proper solution (imho) should be to convert the dialog into
a full-screen menu (which would also be consistent with all
other menus).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10823 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-07 05:32:20 +00:00
hikerstk
7bdcb9d681 Updated comment.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10822 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-07 05:16:05 +00:00
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