Commit Graph

684 Commits

Author SHA1 Message Date
hikerstk
a338b7098e Added explanation message to locked game modes and tracks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2065 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-26 04:31:53 +00:00
cosmosninja
2dd0211ede When clicked, locked widgets reveal the name behind. Also, there is some help about locks in the first help page.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2063 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-26 01:12:57 +00:00
cosmosninja
b5d4930f87 Removed the rest of plib sound support; note that OpenAL was obligatory before this patch, so I just added a message to the configure.ac to stop configure when OpenAL isn't present.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2060 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-25 20:30:25 +00:00
auria
182a40b8e0 fixed audio on big endian systems
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2051 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-25 18:00:16 +00:00
cosmosninja
a91079c6f6 Increased the size of the widgets in the grand prix selection to avoid problems with italian translation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2049 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-25 16:52:08 +00:00
hikerstk
ecde6ed51e 1) Removed unused (and nearly empty) traffic driver
2) Added new vec3 object, which is used to convert all
   sg* data structures to btVector3. Replaced more sg*
   data structures using vec3.
3) Replaced all individual red,reen,blue values in .kart
   files with a single 'rgb' vector entry.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2047 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-25 16:02:26 +00:00
hikerstk
a6439e35a5 Bugfix: if the race menu pops up during 'ready set go', an incorrect
phase is set, resulting in the brakes of the karts not being reset.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2028 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-25 08:20:15 +00:00
hikerstk
b84cc2ae7d Bugfix: in GP mode the character selection menu was not shown.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2024 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-25 07:30:32 +00:00
hikerstk
b8ff2f1621 Increase widget size so that display is correct on all resolutions.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2023 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-25 04:34:14 +00:00
hikerstk
69e9a3e78e Adjusted some menu sizes so that all current translations would be
displayed correctly (even in lower resolutions).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2021 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-25 04:18:31 +00:00
hikerstk
2491c2f43e Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1993 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-24 03:29:25 +00:00
scifly
6acd12fd61 Added a description of what coins were for to the help menu.
This required the removal of the player one key bindings from that 
menu, but a referral to the Player Config menu has been left in its place.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1991 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-23 21:18:57 +00:00
dimstar
dbf0ca9a24 Fix compilation when using GCC 4.3 (missing #include statements)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1988 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-23 19:36:05 +00:00
hikerstk
72804d5341 Added translations to GP names, so that GP locking works
in translated versions of STK.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1984 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-23 05:54:19 +00:00
scifly
e313995d22 1. Locked crescent moon with energy math class challenge.
2. Made text describing energy math class challenge clearer.
3. Unlocked grand prix mode.
see revision 1980 in 0.5rc1 branch.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1981 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-22 23:24:40 +00:00
cosmosninja
1a8ec5578f Removed alut dependency.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1977 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-22 06:45:02 +00:00
hikerstk
003fffd9f6 Added missing AI settings for skidding preview (1961 on 0.5rc1).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1962 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-21 01:20:00 +00:00
scifly
01b1e20d8a BugFix: Re-instated m_finish_delay_start_time and associated code.
Simplification broke the final lap split times for AI karts, making them 
negative and resulting in false overall race times.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-20 10:01:26 +00:00
hikerstk
a0473ad24b 1) Cleaned up and simplified handling of race phase in world.
2) Added a 'final camera': this camera will move forward and turn
   when a race is finished to show the finishing line. This is
   currently only enabled for the race track.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1953 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-20 03:33:48 +00:00
hikerstk
359f281a4a Removed VS warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1952 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-20 03:30:54 +00:00
hikerstk
c6f377413d Changed some const char* to const std::string& .
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1951 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-20 01:24:15 +00:00
hikerstk
e8fc85ff5d Fixed crash in case that the .music file does not exist.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1945 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-20 00:52:19 +00:00
cosmosninja
1d496169e7 Committed Paul Elms' fix for the start race feedback screen not showing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1944 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-20 00:48:59 +00:00
hikerstk
422931342d It could still happen that the terrain raycast starts under the track,
esp. in the ramp in tux tollway (reproduced by jumping down the ramp
while doing a wheelie). See r1941 on 0.5rc1 branch.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1943 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-19 14:18:39 +00:00
hikerstk
a03cdc0a6f Allow rescue to be triggered even when the wheels are not on the ground
(the kart might get stuck sitting on a wall with all wheels in the air).
See r1940 on 0.5rc1.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1942 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-19 14:16:16 +00:00
hikerstk
f89f697b7f Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1939 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-19 03:42:15 +00:00
cosmosninja
cdb9083cfc Improved the layout of the third page of the help screen a bit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-18 05:43:53 +00:00
cosmosninja
b86445ebf0 Fixed the last known bug in the widget manager layout, plus cleanups
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-18 05:43:29 +00:00
cosmosninja
7679494058 Removed workarounds for widgets that got too big because of the text
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1931 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-18 03:05:08 +00:00
cosmosninja
7a1a13b3b6 Moved a initialization from the widget to the widget manager, where it should be.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1930 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-18 02:23:17 +00:00
hikerstk
1f5a663593 Bugfix: the track number wasn't reset, causing an out of bounds access
(e.g. when the race_option menu would access the number of laps). See
r1924 on 0.5rc1 branch.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1925 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-16 09:21:57 +00:00
hikerstk
c698262623 Applied official patch to fix the missing new.h problem.
(while the btOdeQuickstepConstraintSolver is still not used, this
allows our bullet tree to be kept in close synch with their official
versions).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1923 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-16 01:38:10 +00:00
hikerstk
c09ecc43e4 Bugfix: the last kart in a race would not get its highscore
recorded. This could result in an incorrect display of the 
race over menu (which happens if there is no highscore).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1921 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-16 00:16:25 +00:00
hikerstk
867f45b4fd Bugfix: default AI level was still medium, which means that the medium AI could
still be selected.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1920 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-16 00:10:36 +00:00
hikerstk
f20c5471b3 Removed btOdeQuickstepConstraintSolver.cpp from the files to compile,
since it fails with newer compilers (e.g. gcc 4.3, where new.h is not
supplied anymore) - and the file is not actually used in STK.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1915 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-15 08:22:17 +00:00
hikerstk
1038e43d9c Changed version number of VS project files to "SVN".
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1911 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-15 05:11:37 +00:00
hikerstk
d45dbadc72 Updated version number, fixed gettext support for release version.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1910 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-15 05:00:20 +00:00
hikerstk
9e83714ec2 Removed rectangle around non-selectable text.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1899 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-15 03:00:54 +00:00
hikerstk
bdec3c7121 Redesigned game_mode menu, removed some unnecessary title widgets.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1898 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-15 02:53:03 +00:00
hikerstk
a92f0c4365 Added multi-line support for bounding box computation to font.
Re-adjusted the game mode hepl screen to display correctly with.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1897 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-15 02:49:32 +00:00
cosmosninja
3e6f860d57 Changed some widgets so they are not resized as a quick fix.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1895 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-15 02:19:38 +00:00
hikerstk
f02405a133 Added shadows for menu fonts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1893 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-15 01:21:11 +00:00
hikerstk
7e34effde7 Fixed "Penaly message erase by Go message" bug (#1948464).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1892 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-15 00:44:59 +00:00
scifly
8793721aaf 1. The Tux Tollway head to head challenge is now a time trial race
rather than a quick race.
2. Bugfix: a win is now required to complete all gp challenges and the 
tux tollway head to head.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1891 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-14 21:01:04 +00:00
cosmosninja
f640d64467 The game mode widget locks don't have blocky corners anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1890 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-14 04:20:24 +00:00
hikerstk
fe346918d8 Zippers can now be disabled by pressing brake when they
become active.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1889 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-14 00:56:06 +00:00
hikerstk
17d20ee73f Disabled the upright constraint during an explosion, tweaked
parameters somewhat, and made the new explosion code the default.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1888 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-14 00:53:59 +00:00
hikerstk
683d423113 The bomb explosion uses now the more severe explosion function, instead
of just triggering a rescue.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1887 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-14 00:51:29 +00:00
cosmosninja
5178e5a2a7 Changed the red background of the start race button to gray, and gave it a blue border.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1886 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-14 00:16:45 +00:00
auria
f252242baa Translation related fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1884 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-13 19:02:27 +00:00
hikerstk
584a11d105 Minor fixes for VS portability.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1883 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-13 13:21:15 +00:00
hikerstk
f052426be4 New implementation of karts being direct hit by an explosion. If this
does not work good enough, #undef WILD_EXPLOSION, which will just
trigger a rescue instead.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1882 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-13 04:32:37 +00:00
cosmosninja
47c4602200 Internal changes to the widget set (still some bugs, but none are visible in our screens), and layout and color changes to the race options menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1881 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-13 02:53:22 +00:00
hikerstk
6c1553f7d2 Fixed compilation problem (with some compilers).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1880 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-13 01:07:02 +00:00
auria
1047d5e184 Fixed challenges to support multiple rewards. Made translation easier.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1878 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-13 00:07:24 +00:00
hikerstk
e07416f898 Default installation location is now following FHS:
1) executable into /usr/games/
2) documentation into /usr/share/doc/supertuxkart
3) Added AUTHORS ChangeLog COPYING README to /usr/share/doc/supertuxkart
   directory.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1877 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 14:18:01 +00:00
cosmosninja
47057e916b Joerg's changes to the third help screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1875 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 04:55:46 +00:00
hikerstk
e13203677e Fixed incorrect text justification in small resolutions (<800 wide),
see bug 1850513.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1874 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 04:35:25 +00:00
hikerstk
941592667f Added two missing files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1873 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 03:34:21 +00:00
hikerstk
72590b86a2 Bugfix: after using the pre-allocated collectables, the kart
would get the same number of collectables again.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1871 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 03:29:06 +00:00
hikerstk
729eecc06d Removed compiler warnings (missing eol, unused variable).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1869 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 02:54:43 +00:00
hikerstk
2f81187245 Fixed typo in name for sfx-volume.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1868 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 00:59:45 +00:00
cosmosninja
2ad799a32a A bit of cleanup since we don't have to block the zipper from the time trial anymore; also, set the race manager default difficulty to hard.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1867 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 00:39:14 +00:00
hikerstk
6d16f5d482 1) Made the maximum number of fps configurable (default=120).
2) Added a setting to change the volumne of sfx.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1866 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 00:26:35 +00:00
hikerstk
9a1386446e Avoid crash when music is switched on/off several times.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1865 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 00:25:30 +00:00
hikerstk
5365fcadda Blue boxes are no longer placed on a track when time trial
mode is used.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1864 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 00:23:39 +00:00
hikerstk
442899242e In time trial karts start with one zipper for each lap
of the race.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1863 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 00:21:34 +00:00
hikerstk
8244db5868 1) Allow time-trial to use more than one kart (and therefore
set number of karts and AI level).
2) Race option menu now remembers previous settings
   (and command line options), so it can start with
   better defaults.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1862 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 00:20:30 +00:00
hikerstk
50e1698d12 Added new help page to VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-11 23:51:10 +00:00
scifly
4481540849 BugFix: Completing the fix in the last revision.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1860 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-11 21:56:41 +00:00
scifly
9e13ab015b BugFix: Prevent the music description text being displayed each time the
clock gets to 10 seconds in Follow the Leader mode.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1859 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-11 21:48:13 +00:00
scifly
f13f9018a6 Added a red line to the energy meter that indicates the required number
of coins needed for the two coin collection challenges.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1858 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-11 17:32:41 +00:00
cosmosninja
032e5b71b7 Commented out & replaced the medium difficulty from the race options menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1857 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-11 08:00:58 +00:00
cosmosninja
cf089ee561 Changed the tux tollway head 2 head challenge text from AI difficulty Driver to Racer, since it actually uses the hard difficulty.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1856 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-11 07:51:32 +00:00
cosmosninja
eb3994ee27 Increased the size of the race menu widgets from 30% to 50% to avoid problems with the translation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1855 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-11 07:45:12 +00:00
cosmosninja
9e5f2907ca Centered the game mode help menu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1854 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-11 07:41:57 +00:00
hikerstk
76022a9378 Minor bugfix, in case that no music is available.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1852 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-11 05:45:02 +00:00
cosmosninja
58ceb1c67d Added two files I forgot to add before for SVN to manage.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1851 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-11 05:29:16 +00:00
hikerstk
e295434afb 1) Added new attribute 'designer' to track, which is displayed if no
description is given (this simplified work for translators).
2) Changed the .track files to use designer instead of description
   (if applicable).
3) Updated .pot file
4) Minor clenaup in lisp parser.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1850 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-11 05:11:57 +00:00
cosmosninja
89617347fe Fixed music crash bug
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1849 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-10 23:29:04 +00:00
cosmosninja
228c5fb117 Restored auto-resized widgets in the first menu page
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1848 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-10 23:28:02 +00:00
cosmosninja
873e2296cb Added game mode help screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1847 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-10 21:00:58 +00:00
hikerstk
f1fe915ce5 Fixed several crashes when disabling music.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1846 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-10 15:20:10 +00:00
hikerstk
8f3d663206 Updated file list for VS project files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1845 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-10 14:57:19 +00:00
hikerstk
6f55d4de70 1) Enhanced lisp scanner and parser to handle translations, i.e.
strings marked as _("translate me")
2) Added _() for all names and descriptions for the tracks and GPs
3) Improved update_pot.sh to create the entries for all track and
   GP files.
4) Updated supertuxkart.pot to include all GPs and tracks.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1844 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-10 14:48:57 +00:00
scifly
ea2beaf2ac Added graduations to the energy meter at every 5 herrings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1843 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-10 13:30:55 +00:00
cosmosninja
02f6cc26a4 Resized widgets to give some extra space; auto resize when layout() is called is now the default.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1842 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-10 10:01:16 +00:00
scifly
4deda4e3ee Removed unused all tracks and win GOTM cup challenges.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1839 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-09 07:59:36 +00:00
hikerstk
7ba2e36d89 Fixed crash in follow the leader mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1838 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-09 01:32:45 +00:00
hikerstk
196a1dc1dd Fixed missing translation of kart action strings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1837 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-09 01:11:09 +00:00
hikerstk
a71056e6bf Removed translation of "3" and "4".
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1836 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-09 00:19:43 +00:00
hikerstk
65c6748381 Bugfix: music was not resumed after in-game menu popped up.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1835 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-09 00:14:55 +00:00
hikerstk
7ac0d8a2a3 Fixed uninitialised variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1834 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-09 00:05:55 +00:00
hikerstk
b87e75aa9e Fixed invalid display of 'lock' symbol in track select menu
(which happens at least when setting up a new race).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1831 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-08 15:01:12 +00:00
scifly
e6c38b5f29 1. The --list-tracks argument on the command line now lists unlocked tracks only.
2. The --track argument on the command line now checks if the track is unlocked. 
3. Updated URL of STK home page.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1830 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-08 14:32:51 +00:00
hikerstk
4bf28fa566 1) Enabled translations by default.
2) Switched fonts so that the new DomesticMannerLatin1 font is
   used both for menu and race gui. In the menu the new 
   PrintBold function is used to make the font better visible.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1828 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-08 01:48:55 +00:00
auria
8909c02cda better handling of very slow computers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1827 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-08 01:48:51 +00:00
hikerstk
376786da88 Added new challenges to Visual Studio project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1826 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-08 01:46:57 +00:00
hikerstk
76429aa5ab 1) Redesigned music_information and sound_manager interaction.
2) The faster music is now only triggered for the last 30 seconds
   of a race.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1825 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-08 01:28:07 +00:00
scifly
89b26ff5a5 1. Added a challenge to lock fort magma track.
2.  Changed grand prix challenges so that a win is necessary to complete them.
3.  Increased the time in which to complete the city challenge to 5:20.
4.  Added some linebreaks to some of the text for the challenges as it was being truncated.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1824 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-07 21:16:47 +00:00
hikerstk
e462550218 Added _() around strings that need to be translated.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1823 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-07 11:56:40 +00:00
cosmosninja
77aa79cbfe Added some comments to the widget.cpp file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1821 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-07 04:38:33 +00:00
hikerstk
a7a28114ae Fixed encoding of translated string, so that special characters
will work with latin-1 fonts.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1818 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-06 14:13:28 +00:00
hikerstk
823110be8b Added new function to simulate bold fonts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1817 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-05 13:03:22 +00:00
hikerstk
a41ce77029 Increased the number of substeps to give better kart acceleration (though
slower reaction) on slower machines.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1816 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-05 08:01:41 +00:00
hikerstk
62fe49b54f Fixed compilation problem, removed warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1815 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-05 07:06:44 +00:00
hikerstk
5385c3f9b2 1) Made 'reverse' camera a normal camera mode (instead of an additional
feature)
2) Cleaned up camera handling.
3) Some work on replacing sg* with bt* data structures.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1814 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-05 06:58:42 +00:00
cosmosninja
9e8cfb5767 Changed the behavior of game manager frame limit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1812 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-04 17:34:40 +00:00
cosmosninja
3c12ee6608 Added a function to dynamically resize to text.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1811 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-04 01:30:54 +00:00
auria
4b13730b0c fixed grammar error
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1810 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-04 01:15:58 +00:00
cosmosninja
c22e86aa68 Reassign rounded borders to menus that were missing it.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1809 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-04 00:09:16 +00:00
cosmosninja
bbb970301c If drawing more than 125 frames per second, process the game every 10 miliseconds (100 frames per second, because that's the minimum amount of time we will be able to get away with); this avoids STK using 100% of the cpu without reason; won't really make a difference when the game is slow.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1808 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-04 00:08:49 +00:00
cosmosninja
b55af274b5 Fixes time trial having AI karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1807 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-02 21:01:27 +00:00
cosmosninja
73817a99d5 GUI improvements: removes warnings, fixes bugs, adds some capabilities. Sorry for the late commit, I thought I had done it last night.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1806 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-02 20:58:26 +00:00
hikerstk
fa75f05429 Prevent steering while doing a wheelie.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1805 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-02 06:26:07 +00:00
hikerstk
24aede9fc6 Added missing function.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1804 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-02 03:10:08 +00:00
hikerstk
1e17479354 1) Changed implementation of wheelies to avoid the jiggering
that sometimes happened when crossing triangle boundaries.
2) Started replacing sg functions and data structures with
   bullet objects and methods.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1803 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-02 03:01:25 +00:00
hikerstk
526819a418 Code cleanup to follow coding standards.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1802 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-02 02:37:57 +00:00
hikerstk
29d09a85da Updated for bullet 2.68.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1801 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-02 02:19:13 +00:00
cosmosninja
a78596f348 Allows the widget managet to use filenames to set them as textures.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1798 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-01 22:05:33 +00:00
thebohemian
9d03c22898 - added license header to input.hpp
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1797 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-01 20:33:53 +00:00
cosmosninja
3ff3fc9900 Fixed race results gui buttons not being selectable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1796 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-01 17:32:22 +00:00
hikerstk
bb339750da Some code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1794 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-01 14:59:47 +00:00
hikerstk
32b18bedc0 Fixed windows compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1793 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-01 14:52:58 +00:00
hikerstk
cc51a56827 Locked skidding (which can now be selected as the hardest difficulty).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1792 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-01 14:41:15 +00:00
cosmosninja
a381a2ed94 Removed duplicated widget.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1791 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-01 09:05:41 +00:00
cosmosninja
3e636f1c7a Widgets can now be resized depending on their text when calling layout(); plus, some clean ups.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1790 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-01 09:03:02 +00:00
hikerstk
de79f4e116 Added missing GPL header.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1789 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-01 01:22:31 +00:00
hikerstk
d0a3376855 Use the optimised triangle meshes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1788 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-30 23:53:57 +00:00
scifly
567a9bfa2c Fixed Typo in challenge desription.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1778 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-29 12:47:38 +00:00
hikerstk
6669b05775 Fixed visual studio compilation problems and removed a warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1777 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-29 05:04:14 +00:00
hikerstk
25d6b147e1 Update to bullet version 2.68.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1776 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-29 04:39:26 +00:00
hikerstk
0b4ceb8c2b Removed minor memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1775 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-29 03:50:08 +00:00
hikerstk
1fd6eb7b66 Updated project file which includes new challenges and gui for visual studio.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1774 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-29 03:40:59 +00:00
hikerstk
e993add76d 1) Made some of the upright constraint parameter configureable.
2) Made some camera parameters configureable.
3) Some code cleanup for karts.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1772 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-29 03:29:28 +00:00
hikerstk
831a4c76af 1) Fixed some windows compilation issue.
2) Fixed typo (wrong mode comparison).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1771 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-29 03:25:20 +00:00
cosmosninja
cff652a208 Disabled lap count from follow the leader mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1770 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-29 00:09:43 +00:00
scifly
feab28cdce 1. Added challenge for At world's end grand prix.
2. Bugfix: active challenges are now refreshed when a challenge has been 
completed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-28 21:26:33 +00:00
scifly
a640b67e00 Fixed typo and code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-28 14:37:25 +00:00
hikerstk
a76c929033 Explosion now don't affect the kart that shot the rocket (unless
it's a direct hit).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-28 12:34:51 +00:00
hikerstk
b70006b09b Fixed typo.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-28 12:34:08 +00:00
hikerstk
35c7716017 Bugfix: avoid crash triggered when a rescued kart (or any kart with speed 0)
is on a zipper (which happens with the new fort magma track).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-28 12:33:29 +00:00
scifly
95f574d3eb Fixed Typo in time required.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1763 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-28 07:36:35 +00:00
scifly
3aa080c0be Fixed Typo.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1762 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-28 07:32:06 +00:00
cosmosninja
eaa7ed6c61 Fixes a compile error and adds the 'starting race' screen to the challenges menu races.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1760 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-27 22:15:59 +00:00
scifly
39c2690102 Added new challenges that lock most of the new tracks/features.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1759 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-27 21:48:32 +00:00
cosmosninja
f5eeae2bfd Reworked the title screen and lock buttons.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1758 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-27 19:16:50 +00:00
hikerstk
b954c0dc29 Disabled skid marks (since they don't work as expected).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1756 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-27 12:14:26 +00:00
cosmosninja
146c058ab1 Added a simple screen for feedback when the race starts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-27 07:35:02 +00:00
scifly
1d1aa18f35 Bugfix: Fixed typo in track list that prevented islandtrack from
starting.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1754 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-27 07:24:33 +00:00
cosmosninja
c805cfe396 Added lock texture to the ??? buttons.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1753 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-27 07:00:21 +00:00
cosmosninja
1015c1ba56 Joined the difficulty, number of karts, and number of laps into a single screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1751 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-27 03:20:24 +00:00
cosmosninja
1b9658debb Fixed comment.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1750 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-27 03:17:37 +00:00
cosmosninja
66583ff3bf The image buttons are gray by default now.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1749 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-27 03:16:48 +00:00
cosmosninja
a180b85849 Fixed a bug in the widget manager which disallowed columns after widgets.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1744 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-26 08:51:46 +00:00
cosmosninja
12f861c3a2 Fixed some typos in comments.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1743 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-26 08:49:09 +00:00
cosmosninja
652d0ade9e Fixes bug, not being able to select first track in the list.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1742 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-26 04:27:21 +00:00
cosmosninja
a702e0de9e Some widget reorganization
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1741 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-26 04:23:07 +00:00
cosmosninja
716d22d1e4 Re-added the performance improvements so that the character selection and the track selection screen update the selection only when it has actually changed, without the annoying bugs where parts or the whole screen disappeared.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1740 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-25 20:00:53 +00:00
cosmosninja
3586600d70 Revert last commits to the track selection and character selection screens.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1739 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-25 09:18:30 +00:00
hikerstk
3e65eb20e4 Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1738 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-25 07:30:19 +00:00
cosmosninja
7514928dea Added the track list of the selected grand prix and cycling images of those tracks to the grand prix selection menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1737 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-25 06:53:29 +00:00
cosmosninja
4779b1a22c Improved the track selection and character selection speed by only changing the track images and kart models when they need to be updated, respectively.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1736 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-25 06:52:14 +00:00
cosmosninja
3403a7b72d Removed unnecesary enum.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-25 06:51:03 +00:00
cosmosninja
b33b9fab2d Gave the widget manager the ability to say when a widget was just selected.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1734 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-25 06:50:24 +00:00
scifly
7709270e7f BugFix: 1. Corrected the number of karts needed for the race track time
challenge when started from the challenge menu.
2. Added a check that 4 or more karts competed in the race track 
time challenge.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 17:29:23 +00:00
cosmosninja
cb09ff873e Added the widget manager the ability to change the font's color.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1730 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 07:06:09 +00:00
hikerstk
5ac7f44802 Removed Visual Studio compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1729 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 04:10:32 +00:00
cosmosninja
f223c02865 Added macro functions to add widgets, at the moment only the main menu is using them.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1728 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 03:29:28 +00:00
hikerstk
d3fc0720ac 1) The challenge menu now displays the description when hovering over name,
if the name is clicked, a race for this challenge is started (e.g. a
   unfinished track in the 'all track' challenge, or the race/GP that
   needs to be raced with the right number of opponents, difficulty etc).
2) The all_track challenge now has a list of all tracks (instead of simply
   couting).
3) Fixed typo: the short description of the collect coin challenge had
   'race track' specified in the short description.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1727 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 03:17:18 +00:00
hikerstk
1e13597165 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1726 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 03:12:58 +00:00
hikerstk
39eae930da For music that doesn't have a faster version specified in the music
information files, the pitch is increased creating a somewhat faster
version. The maximum pitch can be specified in the information files
(keyword 'max-pitch', defaults to 0.1), and the duration over which
the pitch is increased as 'faster-time' (default: 1 second).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1725 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 03:07:53 +00:00
hikerstk
f04032300b Removed warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 03:04:27 +00:00
hikerstk
5d0a30f6cb Bugfix: in follow the leader mode faster music could be triggered too early.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 03:03:55 +00:00
hikerstk
b0eb25ce5e Skid mark sections are now displayed using display lists once they
are finished.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1722 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 03:03:13 +00:00
hikerstk
b6541195c2 Added an 'upright constraint' which prevents the karts from toppling
over after a jump (e.g. ramp, or paper plane).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1721 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-22 14:20:52 +00:00
hikerstk
70badaa9ea Fixes vector normalisation issues (which can result in crashes due to NAN values).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1720 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-22 14:02:07 +00:00
scifly
9656c70bbf Bugfix: Enable AI karts to be rescued after taking an invalid shortcut.
This is needed now that skidding has been implemented because AI karts 
are more likely to crash off the track and onto other parts of the 
track. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1717 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-21 14:16:53 +00:00
hikerstk
54bdd49ab7 Added missing file from previous release.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1707 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-21 01:32:14 +00:00
auria
b59a7f32d8 cleaned up translatable strings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1706 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-21 00:09:23 +00:00
hikerstk
dd253390fb Bugfix: direct hits of karts by projectiles were not recognised due to
using an incorrect pointer. This could lead to karts being pushed through
the track.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1705 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-20 23:37:20 +00:00
hikerstk
c6ce384a02 Added support for spherical physical objects (e.g. rock tumbling down), plus
automatic reset if the objects falls off the track.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1704 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-20 23:30:28 +00:00
hikerstk
6876a60e41 Made explosions a bit more robust (i.e. not avoiding pusing kart through tracks),
and direct hits a bit more severe.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-20 23:28:37 +00:00
hikerstk
19e4ba93d7 Bugfix: pressing esc in this menu could cause a crash (which happens esp. for
people who mapped the gamepad esc button to accelerate: the key would still be
pressed when the leader-result menu is shown, causing a crash).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-20 23:25:21 +00:00
cosmosninja
0a41f57aee Fixes the AI not doing wheelies in jungle track; removed unused variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1701 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-20 18:07:04 +00:00
hikerstk
83382cb5e5 Cleanup of skidmark code (no visual change yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-18 09:01:23 +00:00
hikerstk
4ba210c28b Removed time display from leader-result menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1696 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-18 08:57:37 +00:00
hikerstk
fae04312c8 1) Bugfix: in some rare circumstances (one kart on top of another kart)
a null pointer would be accessed.
2) Removed smoke.rgb warning.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1695 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-18 06:26:36 +00:00
hikerstk
1a587b9ff5 Reverted to previous version, this file was changed by accident (and
resulted in displaying wrong/incorrect times during follow-the-leader
mode).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-18 01:05:41 +00:00
scifly
fdf650604d Bugfix: Bug 1944513, Fullscreen mode is now retained across starts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-17 12:19:12 +00:00
hikerstk
63a70c3f4b Removed debug print.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1691 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-17 11:44:15 +00:00
hikerstk
a03dc10d67 Fixed automake installation, using Robert's 'find' approach for
flexibility.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1690 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-17 05:34:45 +00:00
hikerstk
47f23369e8 Added some const declarations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-17 04:37:49 +00:00
hikerstk
a53ca214c5 1) Follow the leader mode now removes the first kart if
the leader is not the first.
2) AI karts brake if they are ahead of the leader
3) The leader has now the text 'leader' displayed next
   to the item.
4) The ranks in the leader results table are now correct
   (starting with 1 instead of 2)
5) Fixed two potential bugs, which might result in
   triggering an assert.
6) Replaced assert (in case that it should get triggered
   again) with useful messages to stderr.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-17 00:20:06 +00:00
hikerstk
3612996109 Bugfix: part of the 'high above kart pointing downward' camera mode was still being
used (in split screen multiplayer), resulting in the camera showing only the road.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1687 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-16 23:38:31 +00:00
hikerstk
bae0f9efdc Bugfix: skid marks were not displayed when the beginning of the skid
marks was not visible anymore.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1686 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-16 10:00:11 +00:00
hikerstk
f15964bb92 Enabled skidmarks again, and made them work with bullet physics.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1685 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-16 09:57:50 +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
0867675fb9 Removed deleted race_setup.hpp from Makefile.am.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1682 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-10 00:38:42 +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