Commit Graph

21976 Commits

Author SHA1 Message Date
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
3a3545c058 Removed source files for playing mod music from the source tree and
windows project.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1462 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 03:42:55 +00:00
hikerstk
f03fee4c9e Music description is now displayed as
"title"
  by Name


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1461 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 00:16:59 +00:00
hikerstk
1d11a1fac9 Bugfix: when a restart is triggered while a kart
is being rescued, this kart could not be driven
anymore (till it was rescued again).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1460 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 00:10:05 +00:00
hikerstk
0f6d732e68 Bugfix: moving physical objects would keep their speed when
a restart is done - so they would be placed at their start
position, but still rotating/moving.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1459 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 00:08:48 +00:00
hikerstk
b9bfb128e4 Fix crash when running a GP with a track with moving physical objects
in it at the end (e.g. tux tollway).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1458 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 00:07:00 +00:00
hikerstk
fcaec31da6 Fix incorrect camera tilting when restarting a race.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1457 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 00:01:27 +00:00
hikerstk
dc64a2269e Automatically enable the brakes for all karts during start,
so that they don't slide downhill during countdown.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1456 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-11 02:20:51 +00:00
hikerstk
3ac760d4e0 1) Added warning message to configure when ogg files can't be played.
2) Removed more mikmod #ifdefs.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1455 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-11 00:46:37 +00:00
hikerstk
85490b5f8e Added a very simple display to show information about
the music currently being played (first two lines from
the *readme files, should be title of music and
composer/musician).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1454 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-10 23:17:25 +00:00
scifly
b507825bec Changed the overall GP time variable to a double from a float
Added the overall GP time to the GP end screen 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1452 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-10 22:04:45 +00:00
scifly
15adc2f2d4 Removed one of the kart sorts that occurred after a grand prix ended.
If karts tie on points at the end of a grand prix, they are now 
evaluated on overall race time too. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1451 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-09 20:23:14 +00:00
hikerstk
c23ac39b05 1) Some bugfixes to the linux compile environment
2) Fixed the 'waiting for AI karts' time back to the original value.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1450 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-08 08:16:35 +00:00
hikerstk
8bc9fd0286 1) Added a better estimation of finishing time for karts that
didn't finish, based on the up-to-now average speed.
2) Changed the race result display to display all results 
   (and not to ignore the last entry).
3) The race will not finish if the last kart racing
   and not arriving in time is a player kart.
4) Made world->m_clock private and added getter function.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1449 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-08 04:43:35 +00:00
hikerstk
d7057c7980 Converted all mod files to ogg, moved the ogg files into the media
repository, and switched the track data to use the ogg files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1448 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-07 23:09:25 +00:00
hikerstk
34580af755 Avoid the 'machine gun like' sound effect caused by
repeatedly playing the crash sound - which is caused by
1) collisions reported more than once (since it takes
   a few frames till a collision is resolved)
2) collision between karts and tracks when accelerating,
   which is most likely caused by the chassis hitting
   the ground (that might be fixed by better physics
   parameters).



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1447 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-07 10:10:27 +00:00
hikerstk
df8095809e New txf font, which supports (nearly) all Latin-1 characters.
Currently the same size (512x512) as the ASCII-only font, so
quality is somewhat lower.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1446 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-06 04:27:59 +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
5767b4f616 Reverted the changes to the widget manager from the last commit (somehow hit enter before finishing to write the whole command and it sent all the files, Ctrl-C didn't helped, sorry).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1444 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-05 03:11:13 +00:00
cosmosninja
f93b8b07e6 Raised the limit of the check for the sectors to
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1443 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-05 03:07:48 +00:00
scifly
5050603f9e Added an additional check to ensure a resolution is not blacklisted
twice.
Re-seperated crash detection from kill 'detection' (see next).
Added additional saveConfig() calls to ensure that the correct current 
and previous resolutions are stored in the event of the game being 
killed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-04 14:28:44 +00:00
hikerstk
d8864f3f71 Removed VS compiler warnings (missing type cast).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1441 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-04 12:31:21 +00:00
cosmosninja
fa90139fc8 The pulse effect is now done using the center of teh widget as the center for the scale transformation, and removed a minor warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1440 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-03 22:29:07 +00:00
hikerstk
56db981ece Fixed crash when using 'moving_physics' object.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1439 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-03 12:21:20 +00:00
cosmosninja
768c16ed38 Replaced the previous method of clipping the text outside of the bounds of a widget using the scissor test, and changed it for an stencil test, since the stencil test doesn't needs to be rectangular, thus, it doesn't shows text outside of the rounded borders or while rotating.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1438 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-03 08:34:41 +00:00
cosmosninja
7d2e056752 Removed a warning and fixed a bug with text scrolling introduced in the previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1437 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-03 05:59:40 +00:00
cosmosninja
d20a7a229b Added rotation to widgets, but it's incomplete; text doesn't shows outside of the 'normal' box, and selection does the same.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1436 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-02 07:28:37 +00:00
hikerstk
2d849d0efb Revmoed -DBULLET, and disables bullet profiling.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1435 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-01 13:35:37 +00:00
hikerstk
e49a415671 Try to making the homing missiles turn more smoothly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1434 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-01 13:34:50 +00:00
hikerstk
f59f487d8a Fixed bug 1879386 (homing missiles don't explode on track,
the rest was already fixed before).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-01 13:27:11 +00:00
hikerstk
e134102fb7 1) Removed unsupported solutions (e.g. non-bullet version)
2) Added (missing) translation.cpp to project file
3) Removed -DBULLET (since it's not necessary anymore)
4) Removed bullet profiling.
5) Added GETTEXT_PATH environment variable in prepration for translations


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1432 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-01 12:24:28 +00:00
hikerstk
5883db13e5 Removed bullet profiling (and debugging, though the MS compiler will always define
_DEBUG causing bullet to enable debug mode again).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1431 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-01 12:16:35 +00:00
cosmosninja
f53bc2119f Removed the media tools from the src directory
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1430 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-01 05:09:16 +00:00
hikerstk
257508179f Used the new btRigidBody constructor, since the old constructor
is not as flexible and will be deprecated.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1429 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-31 12:40:22 +00:00
cosmosninja
de6b4a3ae0 Fixed flickering on the grand prix ending at highh resolutions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1428 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 23:47:56 +00:00
cosmosninja
dd2a02fecb Fixed the track selection menu so that it doesn't uses a hardcoded number of tracks only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1427 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 17:55:41 +00:00
hikerstk
8a65b4167a Removed old and unused 'improved physics' option.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1426 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 09:55:39 +00:00
hikerstk
c3d3f3ab19 Improved handling of bullet user pointers, which should fix the problem
of rockets not exploding when hitting the track anymore. But there is
still a bug with homing missiles, which still don't explode :(


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1425 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 05:30:10 +00:00
hikerstk
b75c9ec869 More minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1424 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 04:55:11 +00:00
hikerstk
935e1a8c18 Code cleanup (BULLET #ifdefs).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1423 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 04:36:00 +00:00
hikerstk
818ab3d164 Removed some VS C++ compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1422 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 04:01:55 +00:00
hikerstk
67bf7ddabd Moved implementation of translation class into .cpp file
to make less recompile necessary when changing the implementation.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 02:24:51 +00:00
scifly
d0fca1b227 Fixed bug where blacklisted resolutions could be selected from the
command line. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1417 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-28 22:16:42 +00:00
hikerstk
4ee837b6da Fixed wheel rotation, which would not rotate properly when
driving close to a parallel to the X axis (and the rotation
wasn't computed correctly in any case).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1416 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-25 01:29:12 +00:00
hikerstk
696a3cf1c7 Increased height of driveline so that it has the same
height as the actual track (if the drivelines are lower,
karts when rescued will appear to be under the track,
triggering a rescue, ...).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1415 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-24 02:08:15 +00:00
hikerstk
d5b0230d5b Temporary work around for 'karts being rescued incorrectly' when using
quantization. This might make the game slower.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1414 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-23 23:24:18 +00:00
scifly
b182a4ff27 Fixed bug 1804393 "kart model for incorrectly shares transformations"
This patch removes previously selected karts from the GUI so they cannot 
be selected more than once. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1413 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-23 19:47:32 +00:00
scifly
25db1ea889 Fixed bug where window/fullscreen button only displayed "windowed"
Fixed bug where failing to confirm a change to fullscreen did not return you to window mode
Fixed bug where selecting blacklisted resolutions was possible
Resolutions removed from the blacklist are now available immediately
Blacklisted resolutions are now displayed but are not selectable
Resolutions can now be removed from the blacklist individually
Crash detection improved: Crashes / kills are now detected until either the race mode GUI is opened or STK is quit


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1412 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-21 22:06:57 +00:00
cosmosninja
ad86255e48 Fixed a minor bug with the configure script and and added an option to avoid optimizing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1411 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-21 19:04:00 +00:00
hikerstk
5222a88ee2 Bugfix for keyboard configuration that's not read in properly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1410 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-21 04:07:05 +00:00