Commit Graph

367 Commits

Author SHA1 Message Date
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
cosmosninja
ed98654aa7 Moved wav directory to sfx
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1651 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-14 06:55:10 +00:00
cosmosninja
2081a2b687 Moved the ./po directory to ./data/po
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1649 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-14 06:38:01 +00:00
hikerstk
195c83e4c8 1) Fixed crash on linux when saving history.
2) Added getDifficulty to race_setup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1642 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-09 04:57:07 +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
6c5efc2bc2 Moved all kart specific files into separate subdirs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1629 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-05 02:09:50 +00:00
hikerstk
6909eeee8b Bugfix: sometimes karts jumping down the ramp in tuxtollway would
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
2008-03-04 03:37:42 +00:00
hikerstk
834ca925ba Fixed 'rescue to incorrect sector' bug (karts were rescued to the sector on
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
2008-03-03 11:51:01 +00:00
hikerstk
859ec6fcaa Added loader.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1620 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-03 03:48:04 +00:00
hikerstk
9715f53659 1) Split file_manager into file handling functions (in file_manager),
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
2008-03-03 03:31:12 +00:00
hikerstk
0f05001944 Applied Coz's bugfix for crashes on windows/macs when
the resolution is changed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1616 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-02 12:53:44 +00:00
hikerstk
5b32e58b83 Fixed incorrect rescue (which happens typically when jumping
down in tux tollway).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1615 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-02 12:43:23 +00:00
hikerstk
31e0b93243 Fixed compilations problems with Visual Studio.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1614 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-02 12:40:50 +00:00
cosmosninja
3183b6bb3e Added file that was missing to src/Makefile.am
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1613 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-02 02:29:12 +00:00
cosmosninja
573694016c Improved the pointer's(mouse) widget selection method, so that instead of using a bounding box to know if the pointer is on top of a widget, it draws the widget's rect into OpenGL'sselection buffer; this way, the widgets can be selected with precision regardless of the rotation or if it has rounded corners or not.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1612 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-01 21:13:57 +00:00
hikerstk
32d4e3f117 1) Renamed loader to file_manager
2) Moved more track specific textures into corresponding track subdirectories.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1610 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-01 03:18:53 +00:00
cosmosninja
c201b12dd9 Reverted back alut file loading code to the deprecated code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1608 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-29 23:35:25 +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
9f6f5f6209 Renamed variable, since "ERROR" is apparantly reserved/used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1604 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-28 04:37:18 +00:00
cosmosninja
429d63e0bb Changed some text for the configure script to reflect that ogg/vorbis is needed for music, and hopefully uses the right alut function depending on the version.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1603 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-28 04:22:58 +00:00
auria
1b13ae6346 Improved ALUT error checking when a sound fails to load
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-28 00:26:38 +00:00
hikerstk
864b6abd4e Bugfix, tracks were not found if STK was started in (e.g.) src.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1601 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-27 11:53:43 +00:00
hikerstk
ef4dd43104 Moved all *.track, *.drv{l,r}, *.loc files into the new location
at data/tracks/TRACKNAME.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1600 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-27 01:11:02 +00:00
hikerstk
0b4bf8631c Bugfix: out of bounds access could happen when only a few
tracks were available.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1599 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-27 01:06:50 +00:00
thebohemian
b1160ae5b3 - make continue/start widget the default
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-26 19:21:00 +00:00
hikerstk
8e108ff600 Bugifxes for new loader (when STK was not started in root
directorym files were not found).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1597 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-26 12:15:51 +00:00
hikerstk
23076d39e8 Added missing files from previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1596 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-26 11:59:44 +00:00
hikerstk
fbeee35bc2 Added menu to select the number of karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1595 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-26 11:54:26 +00:00
hikerstk
2546c88019 Most (all?) directory handling is now into the loader.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1593 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-26 02:30:28 +00:00
hikerstk
8d2779495b (See r1587 on 0.4rc1):
1) empty robot templates have been moved from
   'tools' to src/robots (documentation was updated),
   and are now included in source distributions
   Removed tools directory which is now empty.
2) Include documentation in source distributions
   (but only player_manual will be installed)
3) Added missing bullet documentation files
   and removed unnecessary cmake files. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1588 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-25 02:22:04 +00:00
auria
fa549f3e98 Added dynamic data path detection for mac OS X
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1586 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-25 00:51:08 +00:00
hikerstk
cf3303367f Fixed 'no music/sfx in VS when using optimisation' bug.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1584 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-24 23:02:56 +00:00
cosmosninja
b0338915c0 Removed deprecated alutLoadWAVFile() function.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1577 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-24 05:53:18 +00:00
hikerstk
881e2cd6a9 Bugfix (loader called twice, causing textures not to be found if
STK was started from the src directory).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1576 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-24 03:32:14 +00:00
hikerstk
91bdd03061 Added missing VS project files to installation (see r1569 on 0.4rc1 branch).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1570 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-23 11:33:26 +00:00
hikerstk
9a92ab6822 More improvements to loader: all textures are now loaded
via loader functions (and not via a hardcoded path). Replaced
a lot of char* handling with std::string (though that's still work 
in progress).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1568 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-23 08:21:30 +00:00
hikerstk
d68cfc3330 Added missing initalisation, fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1565 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-21 13:08:21 +00:00
hikerstk
7380668ade Fixed incorrect delete.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1564 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-21 13:06:50 +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
7501c01cf3 Re-enabled setting a link in the start menu (need NSIS shell link
extension), and improved installer to install visual studio and
openal redistributable packages.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1561 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-21 03:33:47 +00:00
hikerstk
3afc670529 Added windows prerequisites: openal redistributable, and
vc++ redistributable. This is necessary to run STK on
machines where no openal and/nor no VC is installed
(including the .dll files is not enough).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1558 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-21 00:51:00 +00:00
hikerstk
b8a8564416 Added icon files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1556 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-21 00:47:06 +00:00
hikerstk
8ee7eb19fc Added windows installer (r1554 on 0.4rc1).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1555 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-21 00:43:13 +00:00
hikerstk
10368e5a5b Bugfixes to get 'make dist' to work:
1) file names longer than 99 characters require [tar-ustar]
   option in AM_INIT_AUTOMAKE
2) Added some missing bullet files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1523 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-19 03:06:57 +00:00
hikerstk
533e313a87 Adjusted the layout to allow the author text to use
two lines, which was needed for sandtrack and lighthouse.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1520 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-19 00:09:03 +00:00
hikerstk
d6ca127ae4 Fixed crash/abort in STK when the .readme file for a song wasn't found.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1515 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-18 10:13:25 +00:00
cosmosninja
2d0f761ffe Fixes getting input during menu switching.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1514 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-18 04:27:49 +00:00
hikerstk
930a1ef2b5 Added AI tweaks (adjusting curve speed and angle
depending on track). Details in wiki.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1513 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-18 04:16:57 +00:00
hikerstk
720d31edc5 Removed visual studio compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1512 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-18 02:28:33 +00:00
hikerstk
1efbf46e8f Cosmetic change: replaced tabs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1511 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-18 02:25:54 +00:00
hikerstk
bea8439052 Enabled up to three internal substeps for the physics, which means
that we could work with framerates as low as 20 FPS without
getting noticeable changes in the physics.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1510 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-18 02:03:06 +00:00
hikerstk
39be9a9f67 Bugfix, the gravity was not read correctly from .track files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1508 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-17 22:35:17 +00:00
hikerstk
f7ab0ed91f Improved profiling: specifying a negative number (--profile=-2)
indicates the number of laps to measure, at the end a summary is
printed.
No collectables/attachments are done (can easily be activated again),
to allow focusing on AI drive performance.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1507 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-17 12:58:12 +00:00
hikerstk
7b51fc9d6e Removed warning for g++ compilations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1506 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-17 12:47:26 +00:00
hikerstk
4708d07c4d Work around the physics problems for wilber and hexley kart
by changing the size of the physical model to be the same
as the tuxkart.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1505 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-17 12:29:14 +00:00
cosmosninja
10f0a74203 Fixed bug with a wrong return in config display.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1504 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-16 05:24:52 +00:00
hikerstk
8c4d1fd784 Removed some compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1503 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-16 05:19:33 +00:00
hikerstk
e1d544251e Used previous bug fix again, since the optimised triangle meshes
still cause an incorrect rescue (in bsod castle).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1501 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-16 04:37:43 +00:00
cosmosninja
57af89dae6 Improved resolution switching.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1500 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-16 03:53:39 +00:00
hikerstk
751ed6d748 Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1499 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-15 08:03:46 +00:00
hikerstk
35514f15f8 Update to bullet 2.67 beta1 (which fixed the problem of karts falling through the
track with optimised triangle meshes).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1497 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-15 03:53:41 +00:00
hikerstk
35af794f33 Bugfix - plib support would not compile anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1496 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-15 03:51:31 +00:00
cosmosninja
88da3d1da4 Added wilber kart.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1495 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-15 01:58:51 +00:00
hikerstk
73aad215d0 Minor code cleanup (removed unused function).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1493 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-14 07:41:18 +00:00
hikerstk
7d4bfd3d13 Fixed previous patch for detecing of invalid kart names.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1492 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-14 06:57:00 +00:00
hikerstk
c2ad6c856b Fixed crash when an incorrect kart name was specified
on the command line (--kart).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1491 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-14 06:16:06 +00:00
hikerstk
90972ce605 Bugfix: data path was not used to find the music readme files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1490 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-14 04:52:29 +00:00
hikerstk
796050e037 Fix: start displaying timer, map etc when GO is being displayed, and
not when the GO disappears.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1489 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-14 02:24:54 +00:00
hikerstk
beb8c742db Added missing initialising (which can cause AI karts to
be rescued at the beginning of a race).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1485 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-13 11:15:49 +00:00
cosmosninja
da8870162e Fixed a comment.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1479 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-13 03:59:29 +00:00
cosmosninja
9dfd898e31 Changed the minimum height requirements for sector detection from -3.5 to -2.0
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1478 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-13 03:57:53 +00:00
hikerstk
4562dec6b6 1) Increased number of physic simulation steps before the race is started to
make sure that all karts are firmly on the ground.
2) Avoid changing the pitch of the camera during race startup. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1477 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-13 03:42:18 +00:00
hikerstk
0bf192c068 Bugfix: start phase was not correctly determined, resulting in penalty if a
key is pressed while 'go' is still on the screen.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1476 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-13 03:40:31 +00:00
hikerstk
1f3055a443 Bugfix: the camera would tilt too much if the loading time of a track
is long. Removed some debug output.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1475 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-13 01:18:51 +00:00
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
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
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
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