Commit Graph

317 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