2) Cleaned up unused kart physics parameters, added new suspension_travel_cm parameter.
3) Renamed TrackManager::getTrackCount() to getNumberOfTracks() (to follow the same pattern as
getNumberOfKarts()).
4) Minor code cleanup, warnings removal, ...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2148 178a84e3-b1eb-0310-8ba1-8eac791a3b58
variables and replaced them with STK_{INCLUDE,LIB}.
Disabled 64-bit warnings, since this flag is deprecated.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
to a central directory containing all header and lib files. This is in preparation
for a 'windows dependency package', and requires less work for the user to set up.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2) The minimum number of karts is now set correctly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2141 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2) Fixed the AI calling rescue when crashing repeatedly (which hasn't
d been working since bullet physics was used).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2138 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2) Replaced several sg* data structures and function parameters with
plib independent data structures.
3) Some code cleanup, updated gpl license to 3 in a file or two.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2132 178a84e3-b1eb-0310-8ba1-8eac791a3b58
based) data structures (except for the final call to set the ssg
camera).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2127 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2) Added new vec3 object, which is used to convert all
sg* data structures to btVector3. Replaced more sg*
data structures using vec3.
3) Replaced all individual red,reen,blue values in .kart
files with a single 'rgb' vector entry.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2047 178a84e3-b1eb-0310-8ba1-8eac791a3b58
phase is set, resulting in the brakes of the karts not being reset.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2028 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This required the removal of the player one key bindings from that
menu, but a referral to the Player Config menu has been left in its place.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1991 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2. Made text describing energy math class challenge clearer.
3. Unlocked grand prix mode.
see revision 1980 in 0.5rc1 branch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1981 178a84e3-b1eb-0310-8ba1-8eac791a3b58
Simplification broke the final lap split times for AI karts, making them
negative and resulting in false overall race times.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2) Added a 'final camera': this camera will move forward and turn
when a race is finished to show the finishing line. This is
currently only enabled for the race track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1953 178a84e3-b1eb-0310-8ba1-8eac791a3b58
esp. in the ramp in tux tollway (reproduced by jumping down the ramp
while doing a wheelie). See r1941 on 0.5rc1 branch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1943 178a84e3-b1eb-0310-8ba1-8eac791a3b58
(the kart might get stuck sitting on a wall with all wheels in the air).
See r1940 on 0.5rc1.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1942 178a84e3-b1eb-0310-8ba1-8eac791a3b58
(e.g. when the race_option menu would access the number of laps). See
r1924 on 0.5rc1 branch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1925 178a84e3-b1eb-0310-8ba1-8eac791a3b58
(while the btOdeQuickstepConstraintSolver is still not used, this
allows our bullet tree to be kept in close synch with their official
versions).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1923 178a84e3-b1eb-0310-8ba1-8eac791a3b58
recorded. This could result in an incorrect display of the
race over menu (which happens if there is no highscore).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1921 178a84e3-b1eb-0310-8ba1-8eac791a3b58
since it fails with newer compilers (e.g. gcc 4.3, where new.h is not
supplied anymore) - and the file is not actually used in STK.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1915 178a84e3-b1eb-0310-8ba1-8eac791a3b58
Re-adjusted the game mode hepl screen to display correctly with.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1897 178a84e3-b1eb-0310-8ba1-8eac791a3b58
rather than a quick race.
2. Bugfix: a win is now required to complete all gp challenges and the
tux tollway head to head.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1891 178a84e3-b1eb-0310-8ba1-8eac791a3b58
parameters somewhat, and made the new explosion code the default.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1888 178a84e3-b1eb-0310-8ba1-8eac791a3b58
does not work good enough, #undef WILD_EXPLOSION, which will just
trigger a rescue instead.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1882 178a84e3-b1eb-0310-8ba1-8eac791a3b58
would get the same number of collectables again.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1871 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2) Added a setting to change the volumne of sfx.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1866 178a84e3-b1eb-0310-8ba1-8eac791a3b58
set number of karts and AI level).
2) Race option menu now remembers previous settings
(and command line options), so it can start with
better defaults.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1862 178a84e3-b1eb-0310-8ba1-8eac791a3b58
clock gets to 10 seconds in Follow the Leader mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1859 178a84e3-b1eb-0310-8ba1-8eac791a3b58
of coins needed for the two coin collection challenges.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1858 178a84e3-b1eb-0310-8ba1-8eac791a3b58
description is given (this simplified work for translators).
2) Changed the .track files to use designer instead of description
(if applicable).
3) Updated .pot file
4) Minor clenaup in lisp parser.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1850 178a84e3-b1eb-0310-8ba1-8eac791a3b58
strings marked as _("translate me")
2) Added _() for all names and descriptions for the tracks and GPs
3) Improved update_pot.sh to create the entries for all track and
GP files.
4) Updated supertuxkart.pot to include all GPs and tracks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1844 178a84e3-b1eb-0310-8ba1-8eac791a3b58
(which happens at least when setting up a new race).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1831 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2. The --track argument on the command line now checks if the track is unlocked.
3. Updated URL of STK home page.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1830 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2) Switched fonts so that the new DomesticMannerLatin1 font is
used both for menu and race gui. In the menu the new
PrintBold function is used to make the font better visible.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1828 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2) The faster music is now only triggered for the last 30 seconds
of a race.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1825 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2. Changed grand prix challenges so that a win is necessary to complete them.
3. Increased the time in which to complete the city challenge to 5:20.
4. Added some linebreaks to some of the text for the challenges as it was being truncated.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1824 178a84e3-b1eb-0310-8ba1-8eac791a3b58
feature)
2) Cleaned up camera handling.
3) Some work on replacing sg* with bt* data structures.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1814 178a84e3-b1eb-0310-8ba1-8eac791a3b58
that sometimes happened when crossing triangle boundaries.
2) Started replacing sg functions and data structures with
bullet objects and methods.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1803 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2) Made some camera parameters configureable.
3) Some code cleanup for karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1772 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2. Bugfix: active challenges are now refreshed when a challenge has been
completed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
is on a zipper (which happens with the new fort magma track).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
challenge when started from the challenge menu.
2. Added a check that 4 or more karts competed in the race track
time challenge.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
if the name is clicked, a race for this challenge is started (e.g. a
unfinished track in the 'all track' challenge, or the race/GP that
needs to be raced with the right number of opponents, difficulty etc).
2) The all_track challenge now has a list of all tracks (instead of simply
couting).
3) Fixed typo: the short description of the collect coin challenge had
'race track' specified in the short description.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1727 178a84e3-b1eb-0310-8ba1-8eac791a3b58
information files, the pitch is increased creating a somewhat faster
version. The maximum pitch can be specified in the information files
(keyword 'max-pitch', defaults to 0.1), and the duration over which
the pitch is increased as 'faster-time' (default: 1 second).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1725 178a84e3-b1eb-0310-8ba1-8eac791a3b58
over after a jump (e.g. ramp, or paper plane).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1721 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This is needed now that skidding has been implemented because AI karts
are more likely to crash off the track and onto other parts of the
track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1717 178a84e3-b1eb-0310-8ba1-8eac791a3b58
using an incorrect pointer. This could lead to karts being pushed through
the track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1705 178a84e3-b1eb-0310-8ba1-8eac791a3b58
automatic reset if the objects falls off the track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1704 178a84e3-b1eb-0310-8ba1-8eac791a3b58
and direct hits a bit more severe.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
people who mapped the gamepad esc button to accelerate: the key would still be
pressed when the leader-result menu is shown, causing a crash).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
a null pointer would be accessed.
2) Removed smoke.rgb warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1695 178a84e3-b1eb-0310-8ba1-8eac791a3b58
resulted in displaying wrong/incorrect times during follow-the-leader
mode).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
the leader is not the first.
2) AI karts brake if they are ahead of the leader
3) The leader has now the text 'leader' displayed next
to the item.
4) The ranks in the leader results table are now correct
(starting with 1 instead of 2)
5) Fixed two potential bugs, which might result in
triggering an assert.
6) Replaced assert (in case that it should get triggered
again) with useful messages to stderr.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
used (in split screen multiplayer), resulting in the camera showing only the road.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1687 178a84e3-b1eb-0310-8ba1-8eac791a3b58
information is now only managed by the race_manager, no
more in-between objects to transfer information along.
2) The scores for grand prix are now defined in the stk_config.dat
file (10, 8, 6, 5, 4, .., 1, 0, 0) points
3) Bugfix: unlock information wasn't saved anymore. Added specific
saving after unlocking, plus re-inserted the 'generic' save
at the end of STK again.
4) bugfix/work around: Visual Studio complains about incompatible
iterators in sdldrv - apparently caused by using erase, and
then keep on using the iterator.
5) Fixed bug when running a race in a GP again (scores/times
were added each time).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1681 178a84e3-b1eb-0310-8ba1-8eac791a3b58
- added stick config entities to configuration which includes a deadzone value
- added methods to read and save this new entities
- make StickInfo a part of the SDLDriver class
- some spelling fixes
- save config when leaving options menu through escape key (GA_LEAVE)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1679 178a84e3-b1eb-0310-8ba1-8eac791a3b58
- fix all uses of the new class
- fixed a few spelling mistakes
- config is now saved upon leaving options menu (not when the game is ended)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1676 178a84e3-b1eb-0310-8ba1-8eac791a3b58
features to be unlocked when reading the configuration.
2) Some minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1675 178a84e3-b1eb-0310-8ba1-8eac791a3b58
jungle track are locked now)
2) Fixed gettext handling for windows, added initial
(and by now somewhat outdated) German translation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1674 178a84e3-b1eb-0310-8ba1-8eac791a3b58
fullscreen, now returns to window mode and does not blacklist the
resolution as happened previously.
2.Bugfix: Fullscreen button is now no longer available for blacklisted
resolutions when first entering the Display config menu.
3.Bugfix: When changing from a blacklisted resolution to a
non-blacklisted resolution in window mode, the fullscreen button is now
shown.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
music, and a special 'faster' music which will be played during the
last track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1657 178a84e3-b1eb-0310-8ba1-8eac791a3b58
sound packages, and using "*.music" information
files for additional information music.
2) Removed old/unused plib sound support.
3) Moved all .ogg files to either data/music, or
to the tracks where they belong.
4) Moved fonts to data/fonts; wav to data/sfx,
po to data/po, herring to data/herrings,
models to data/models.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1652 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2) Removed 'magic' constant 0.0044 from steering
computation; replaced by DEGREE_TO_RAD, which means
that steering values in stk_config.data and .kart files
have to be divided by about 3.9
3) Added early cancellation of parachute when a slow down
of 30% is reached (defined in stk_config.data). This allows
karts to brake and get rid of the parachute earlier.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1641 178a84e3-b1eb-0310-8ba1-8eac791a3b58
of only a higher acceleration).
2) Code cleanup (removed unused functions and config parameters).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
incorrectly be rescued. This fix avoids the problem (the raycast for
terrain detection actually starts under the track) by letting the ray
start a certain epsilon higher.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1625 178a84e3-b1eb-0310-8ba1-8eac791a3b58
which the shortcut was detected, and not to the last valid sector).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1621 178a84e3-b1eb-0310-8ba1-8eac791a3b58
and loading related (very plib specific) functions in the new
loader object.
2) Move *.tkkf files into separate subdirs, and renamed them
to *.kart files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1619 178a84e3-b1eb-0310-8ba1-8eac791a3b58