Commit Graph

5237 Commits

Author SHA1 Message Date
hikerstk
7550f687da Bugfix/code cleanup: the loading time was counted as countdown time
in certain circumstances (e.g. when setting up a new race from the race menu).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1474 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-13 01:02:02 +00:00
scifly
646e98684a Improved my (paul) last patch to allow immediate dis/en-able music from
in race sound option menu.
Removed spaces from ogg file names in those *.track files that required 
it.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1473 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 13:50:08 +00:00
hikerstk
981f5bb424 Missing part from Paul's patch - dis/en-able music
when music is switched off/on in sound option menu.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1472 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 12:37:47 +00:00
scifly
554c9cd41b Bugfix: Returning to the menus from a race does not return the theme
music.  


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1471 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 09:27:38 +00:00
scifly
1740d47f76 Fixed incorrect filename.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1470 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 08:43:46 +00:00
scifly
445bfbb649 Bugfix: ogg folder was not installed by make.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1469 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 07:54:36 +00:00
hikerstk
e54b84aad0 Added swat's g4m fan track music.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1468 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 05:52:57 +00:00
hikerstk
0b60baf587 Added Cherryprice's 'Another Caribbean Beat Song'.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1467 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 05:44:20 +00:00
hikerstk
f131d7215e Added cherryprice's 'Caribic' music (renamed).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1466 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 05:13:22 +00:00
hikerstk
956a77d426 Added the old music to be played in this track as well.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1465 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 04:57:10 +00:00
hikerstk
6fdc04779e Added desert dunes track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1464 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 04:51:27 +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
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