Commit Graph

60 Commits

Author SHA1 Message Date
auria
e44ac903d3 added support for by-menu bg pictures
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2882 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-12 00:49:25 +00:00
hikerstk
2601771c4d Added some lesser acceleration for beginner level.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2870 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-09 01:16:57 +00:00
hikerstk
6ff7e20fed Added Magne's slight reduction of maximum speed for easy and mid level.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2846 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-06 12:59:37 +00:00
hikerstk
ac3d18c004 Some tuning to slow down.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2842 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-06 02:39:30 +00:00
hikerstk
0d593da26e 1) Skid marks fade out (fade out time set in stk_config: skid-fadeout-time,
currently one minute.
2) Skid marks now support proper culling, which should help with slowdown
   some people have seen.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2840 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-06 00:20:23 +00:00
hikerstk
77914fcf05 Made the skidding frame rate independent.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2784 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 20:05:41 +00:00
auria
57e4d1e12c made easier difficulties fast again since most people didn't like this
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2720 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-19 16:18:37 +00:00
auria
dda853bd93 tweaked backwards and re-acceleration speeds, so you can get back in race quicker after hitting an obstacle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 21:00:56 +00:00
auria
a21cdd611d updated strings and french translation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2690 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 02:36:23 +00:00
hikerstk
28d119a9b0 Made the skidding parameters configurable in stk_config.data
(and on a per kart basis as well, so each kart can skid differently).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2676 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-15 03:56:54 +00:00
auria
95879bb0a1 reduced max number of karts to 8 since that's the amount we currently have
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-13 16:24:59 +00:00
hikerstk
f7fef13442 1) Added support for limiting the amount of steering per
frame for the AI (to reduce shaking, but for now this
   is not used, since the steering parameters are not fixed)
2) Bugfix in AI: in some cases out-of-road was detected incorrectly
   (caused by using kart width instead of length)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-13 14:00:18 +00:00
donconso
a1524dc93e removed old hexley
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2620 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 18:34:16 +00:00
hikerstk
7274283311 1) The three difficult levels have now different speeds (and
medium AI is enabled again).
2) The AI handles nitro differently depending on difficulty.
3) Removed wheelie code from kart object, kart properties etc.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2616 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 10:47:16 +00:00
hikerstk
88aaca0a27 Fixed or at least improved the problem of karts toppling over too easily.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2614 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 04:25:21 +00:00
auria
eaa9ceee1d disable network by default
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2608 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 01:41:22 +00:00
hikerstk
e76c1dc87c 1) The number of drivelines per kart is now limited (stk_config.data setting)
2) Reduced smoke effect somewhat (and made it dependent on actually turning
   the wheel)
3) Removed skid marks when restarting a race.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2576 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-08 01:07:16 +00:00
hikerstk
e1aba93a50 1) First working version of plunger with rubber bands.
2) Some projectile functions have been renamed (explode
   to hit etc), since not all projectiles might explode.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2574 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-04 05:09:51 +00:00
donconso
562279b827 updated hexley
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2501 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-25 01:29:15 +00:00
hikerstk
2893292816 1) Increased top speed and effect of wheelies.
2) Added support for 'nitro' mode: no wheelies, instead
   collected energy can be used for a speed boost.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2499 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-24 23:19:47 +00:00
hikerstk
9421059a8d Bugfix: incorrect turn radius parameters.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2488 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-21 01:42:25 +00:00
hikerstk
49d9aeb365 The turn angles at a certain (minimum and maximum) speeds
have been replaced with the radius of the turn (since the
turn angle depends on the wheelbase of the kart). This way
the turning behaviour can be defined independent of the
kart physics.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2484 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-20 04:54:31 +00:00
hikerstk
aa27ba317d Changed the default for the physics wheels to be just at
the corners of the chassis (and not where the graphical
wheels are). Improved physics settings for hexley.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2479 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-19 22:43:21 +00:00
hikerstk
c859947a93 Fixed typo in config file, which caused the wheels to be attached
at the wrong spot for (esp. smaller) models, causing the karts to
get stuck when touching a wall.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2473 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-19 00:25:25 +00:00
hikerstk
c553ec77ee 1) Separated the wheel from the kart models. This is necessary
for irrlicht, simplifies the handling of the karts.
2) Current suspension is now used to display the wheels of karts.
   This currently only works for tuxkart, all other models still 
   need to be modified (and these models will not display any
   steering atm).
3) Refactored kart model handling: all plib specific kart model
   handling is now encapsulated in karts/kart_model.?pp
4) Moved some files into new subdirs.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2413 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-07 01:05:52 +00:00
hikerstk
aed8135999 Further physics improvements (fixes hopefully most issues with smaller karts).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2364 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-22 23:08:08 +00:00
hikerstk
b1de626e3e 1) Refactored KartProperties and STKConfig, so that kart defaults
and checks if all values are actually defined are done in one
   file now (and not in two different classes as before). Added
   doxygen comments as well.
2) More physics improvements.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2345 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-16 23:49:27 +00:00
hikerstk
b1cb705777 Improved physics: karts are now less likely to lose contact
with the ground (and as a result start rotating on the spot).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2342 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-16 00:20:49 +00:00
hikerstk
167107fcbc 1) Cleaned up implementation of history function.
2) Improved history file format to collect control information (like 
   steering etc) to allow replaying based on the physics (and not only
   replaying recorded kart positions).
3) Added some constants (time till finish, time for music credits) to
   the stk_config.dat file.
4) Made name of the menu background picture configureable in 
   stk_config.dat file.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2328 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-06 13:40:11 +00:00
auria
695255d9b6 somehwat nicer shortcut detection based on distance rather than sectors. can still be wrongly triggered if you drive just next to the road for a while (but that can probably wait for checkpoints)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-04 01:44:08 +00:00
hikerstk
c0eae662f2 1) Applied Stehen's patch to give each kart separate sound effects objects,
and add engine sounds.
2) Added sfx manager so that the buffers for the sfx are shared between
   all sfx objects.
3) Moved all audio related files into audio subdirectory.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2275 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-18 03:24:19 +00:00
hikerstk
b415535eff Committed Josh's zipper improvements/fixes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2184 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-28 13:07:54 +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
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
hikerstk
dde2f508d3 1) Added support for kart groups, added all current karts to the group 'standard'.
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
2008-07-03 03:14:27 +00:00
hikerstk
a97528b150 Removed unused entry.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1795 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-01 15:04:37 +00:00
hikerstk
0cc7249482 New config file which includes upright and camera parameters.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1773 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-29 03:36:50 +00:00
hikerstk
c33897d2bc Removed unused 'inertia' entry.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1684 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-16 00:28:06 +00:00
hikerstk
68dae90d15 Added first beta version of 'follow the leader' mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1683 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-15 13:57:18 +00:00
hikerstk
3e6a0cf5ab 1) Removed race_setup and race_mode data structures. All this
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
2008-04-09 13:52:48 +00:00
hikerstk
29dfd09f7c 1) Improved sound_manager to support separate
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
2008-03-14 09:49:17 +00:00
hikerstk
fac59355c0 1) Cleanup of unused data in stk_config/kart_properties
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
2008-03-06 13:32:51 +00:00
hikerstk
6324285de8 1) Zipper now get an immediate speed boost when they are activated (instead
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
2008-03-05 13:22:00 +00:00
hikerstk
ce57025781 First part of directory restructuring: all track specific files are
now in their own subdirectory (including models, textures).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1605 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-29 03:26:07 +00:00
hikerstk
c34f0aa55a Properly removed 'too-far-away-from-track' - shortcut detection.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1563 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-21 03:40:40 +00:00
hikerstk
0405f52010 Disabled 'too far away from road' shortcut detection - the previously defined
maximum distance wasn't big enough to fully disable this. See r1531 on 0.4rc1.
(When work on the trunk resumes, the appropriate code should be completely
removed).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1532 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-19 11:00:02 +00:00
hikerstk
1a5b7bd7e7 Applied (a slightly modified) version of Paul's menu music
patch and added a main theme music.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1463 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 04:35:39 +00:00
hikerstk
a3094590d6 1) Improved handling of 'moving' or 'physical' objects (e.g. road cone).
You can now shoot them, and they will be pushed aside by a close-by
   explosions.
2) Bugfix: Physical objects are now reset to the correct starting location.
3) Physical objects have now angular friction defined, preventing them from
   rotating endlessly.
4) Karts have now some 'restitution', which adds a bit of bouncing to collisions.




git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1445 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-05 11:56:21 +00:00
cosmosninja
fea26afba1 Made wheelies usable at 70% of the top speed, since it seems impossible to use them if you need 90% of the maximum speed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1380 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-10 02:04:35 +00:00
hikerstk
bd3ab7926f 1) Fixed 'moving physics', i.e. objects on the track that
can be pushed around by karts (currently only used in
   tux tollway).
2) Removed support for magnet.
3) Some code cleanup for missiles etc.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1379 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-09 12:09:55 +00:00