Commit Graph

608 Commits

Author SHA1 Message Date
auria
46a439fe3b improved getClosestKart() inFrontOf implementation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2218 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-03 14:43:58 +00:00
hikerstk
82d817a7ec Layout changes only (to be in STK coding style).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2217 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-02 02:40:02 +00:00
hikerstk
796b0b9848 Removed warning (and potential bug fix): a float was implicitly
converted to an int when using abs.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2216 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-02 00:50:05 +00:00
hikerstk
0e014af8c4 Fixed const kart *.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2215 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-02 00:46:05 +00:00
auria
19d91fb0c1 i18n updates. updated script to new lcoation of files. added comments to translator, for unobvious strings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-02 00:35:28 +00:00
hikerstk
813727d774 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2213 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-02 00:08:18 +00:00
auria
bd6a478c51 removed useless stuff from XCode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-01 15:41:43 +00:00
auria
75f7090392 documented a method and allowed better customisation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2210 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-01 15:40:21 +00:00
auria
eeaf9a0295 allow better customisation of kart::getHeading method
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2209 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-01 15:39:17 +00:00
auria
11cc33e709 allow better customisation of flyables
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2208 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-01 15:38:51 +00:00
auria
826bd6ef64 minor bowling balls improvements
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2207 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-01 15:37:38 +00:00
auria
b4fb3f8e57 documented a few methods
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2206 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-01 15:37:17 +00:00
auria
78d5cf65aa Some fine-tuning to bowling balls. Optimized code by removing repetitive calls to sqrt() (forgot one file)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2201 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-08-06 00:54:05 +00:00
auria
ec26ddb1ed Some fine-tuning to bowling balls. Optimized code by removing repetitive calls to sqrt().
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2200 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-08-06 00:53:40 +00:00
auria
5791464b84 Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2199 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-08-05 00:55:51 +00:00
thebohemian
e4d495d898 RaceOptions::RaceOptions:
- select 'start' by default


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2198 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-08-04 18:46:47 +00:00
thebohemian
c3fc916588 Camera::setMode():
- use 1.5 times the distance from the kart properties in 2 and 3
    player (split screen) mode to fix kart not being visible


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2197 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-08-03 13:41:56 +00:00
hikerstk
ce2e8bfbf5 Removed unnecessary 'wheel width' parameter.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2195 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-08-01 01:25:03 +00:00
hikerstk
46c5b8ab7d 1) Changed the challenges dependencies to have not more than
3 challenges at the same time.
2) Moved reading of grand prix challenges into unlock manager
   (previous location would not read the status of the challenges
   correctly from the user config file).
3) Fixed position requirement of 'follow the leader' challenges
   (winner has position 2, not 1).
4) GP which have missing tracks are now ignored (solves crash
   when STK is installed on top of an old installation)
5) Made the images in the race result screen non-active.
6) Made the description of challenges non-active.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2194 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-29 13:40:25 +00:00
hikerstk
5d5e3884cb 1) Bugfix in print statement.
2) Updated makefile to support r2190.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2191 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-29 05:46:04 +00:00
hikerstk
3c018d5ac1 1) Bugfix: GP were not locked.
2) Renamed all 'cups' into grand_prix.
3) Removed obsolete source files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2190 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-29 05:38:30 +00:00
hikerstk
d6490dc48c Missing updates in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2189 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-29 04:45:28 +00:00
hikerstk
88c0b07f69 1) Added GrandPrix manager (so that a GP id instead of a potentially translated
GP name can be used).
2) Added support for challenges to be specified in .challenge files,
   converted all existing challenges to be specified in this kind of
   data file.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2188 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-29 04:30:44 +00:00
auria
af8cfaa9ab updated XCode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2182 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-28 00:35:18 +00:00
auria
1d7578f198 totally replaced spark with bowling ball
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2181 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-28 00:34:45 +00:00
auria
3f59d84955 Improvements to bowling ball : shoot forward by default
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2180 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-25 01:06:50 +00:00
hikerstk
27369fe5ea Removed g++ compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2177 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-21 10:04:35 +00:00
hikerstk
22ede74e90 1) Added getTracksInGroup() method.
2) Removed unnecessary leader-result files.
3) Minor code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2176 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-21 06:28:33 +00:00
hikerstk
42111c028d Removed g++ warnings, un-tabified file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2175 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-21 05:27:58 +00:00
hikerstk
92efb6ccc7 1) Time-trial and follow-the-leader modes can now be
used in GP as well.
2) Improved game-mode gui to use the new layout engine.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2174 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-21 04:51:27 +00:00
auria
0b56f85de6 Turned Spark into Bowling Ball
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2173 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-21 01:55:41 +00:00
hikerstk
fdc73349eb Bugfix: arrow up/down in menus didn't work anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2172 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-17 10:43:44 +00:00
hikerstk
341fa147c8 Removed some compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2171 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-17 10:23:35 +00:00
hikerstk
9b0344c3c2 Enabled scroll wheel.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2170 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-17 04:12:40 +00:00
hikerstk
4438f74940 1) Updated the physics parameters: crashes of karts with the track when
accelerating have been removed; sound when hitting parts of the track
   have been re-enabled.
2) Special handling of smaller karts (wilber/hexley) has been removed.
3) Added option to specify the exact wheel positions for the physics.
4) Added option to move the center of gravity along all three axis
   (not only height).
5) Added --kartsize-debug command line option to print the sizes of
   each kart (which is useful when specifying the wheel positions).
6) Removed unused entry from stk_config.data.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2168 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-17 01:33:49 +00:00
hikerstk
c4fe778457 Applied Robert Howie's patch to disable activation of the credit display.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2167 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-15 23:45:43 +00:00
hikerstk
73977261fa Bugfix: if a race is restarted in follow-the-leader mode after a kart has been
removed, this kart would not get restarted correctly.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2166 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-15 03:33:17 +00:00
hikerstk
3813127d78 Fixed pre-selection of track/character.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2165 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-15 02:09:27 +00:00
hikerstk
936f363467 1) Applied bugfix for mixing up player karts in AI by SciYann.
2) Added some debug print in case of incorrect kart positions
   (which I have seen once and never again).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2164 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-14 05:21:37 +00:00
hikerstk
0eb36180bd Added SFX when karts hit karts back in.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2163 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-14 03:40:58 +00:00
auria
07ecec5241 updated Xcode project to build bullet
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2161 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-12 14:39:32 +00:00
hikerstk
a8de06cdc5 1) Bugfix: interpolation formula was wrong
2) Fixed errors in print statement (wrong format, c_str() missing).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2160 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-12 12:49:57 +00:00
auria
a7dece885a minor speed improvement : do not ask bullet to check if jump is currently possible when user is not trying to jump
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2159 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-12 01:20:29 +00:00
auria
3aa29aef07 small updates to Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2158 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-12 01:19:17 +00:00
hikerstk
5d10d28744 Added support for maximum steering angle to be dependent on
the current speed. I.e. on lower speed narrower turns are possible.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2157 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-11 15:19:07 +00:00
auria
f59052157d Added experimental Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2156 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-11 01:55:13 +00:00
auria
6ce29b542a fixed template parsing (C++ weakness)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2155 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-10 20:43:46 +00:00
hikerstk
a9d967d724 AI karts are now filled firstly from karts of the current group (before
other karts are then used).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2154 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-10 04:46:54 +00:00
hikerstk
fd3e3adafa Enabled up/down events to scroll the list.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2153 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-10 00:45:32 +00:00
hikerstk
df3b8206ed 1) Removed warnings.
2) Enabled up/down events (e.g. pressing arrow up/down).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2152 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-10 00:43:33 +00:00