169 Commits

Author SHA1 Message Date
coz
b35ed269dd Gave white color with black shadow to track line in the track selection screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@789 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-22 16:59:10 +00:00
coz
da4f6a0c99 Fixes two memory leaks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@787 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-22 11:10:49 +00:00
hiker
f3ad2949cf Added missing initialisations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@784 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-21 14:30:45 +00:00
hiker
6bd47b8f60 Used plib portable directory reading functions instead of
dirent calls (opendir,readdir,closedir) for compatibility
with windows.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@783 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-20 12:42:23 +00:00
hiker
0a1929d790 Bugfix, initialisation was missing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@782 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-19 12:30:00 +00:00
hiker
8b1d045f0d Performance improvement by using plib display list support.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@781 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-18 12:04:33 +00:00
hiker
17bb7bb824 Minor changes for profiling support only, no change to actual game code otherwise.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@780 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-18 12:02:35 +00:00
coz
b6e722b173 Changes to the collectables to balance things more: the missile, homming missile and spark are slower, the zipper last less time, and the homming missile can move up and down again.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@778 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-17 00:02:08 +00:00
coz
d383b75ff5 Two new collectables, the anvil and the parachute, but they appear more often to players in worse positions, plus a few sound changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@777 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-16 18:10:46 +00:00
coz
f519b7236d Fixes an extremely stupid bug.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@776 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-16 06:56:50 +00:00
coz
0a63c72da0 2 new collectables, but proportions aren't set correctly yet.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@775 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-16 06:20:31 +00:00
hiker
388636d313 Removed unsupported command line switches.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@774 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-15 07:27:46 +00:00
coz
8f9147f9f4 Made the screenshots look a bit nicer.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@773 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-15 05:33:40 +00:00
hiker
d3810285b9 Improved profiling interface to use 'number of seconds' instead of number of frames. Fixed bug when pressing 'esc' during a race.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@771 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-15 00:30:51 +00:00
hiker
8653ae4473 Improved configure to test if the compiler accepts -fno-regmove.
If so, this flag will be used when compiling static_ssg, to work
around the 'fall through track' problem.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@769 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-14 04:29:47 +00:00
hiker
b1ec12134b Fixed herring-style related errors, by properly catching missing files,
giving an appropriate error message, and (if possible) fix the problem.
This fixes the previously observed crashes with default herring style
not found. 



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-14 00:08:00 +00:00
hiker
755984071a Added 'traffic jam' sound effect if a kart is hit more than once within 20 frames.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-13 12:01:00 +00:00
hiker
dd1f1de3ef Work around for potential compiler bug which causes karts to fall
through the track. This work around adds a '-fno-regmove' flag
for static_ssg compilation - and that will cause a problem if
the compiler does not support this flag (think of non gnu compilers).
A proper test should be added to the configure framework.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-13 07:26:27 +00:00
hiker
cc72bab483 1) Gradually change the colours of the name next to the icons depending no
number of laps --> the more 'red' the name gets, the more laps it has
   finished.
2) Fixed minor bug: if a kart finished another lap after it has finished
   the race, the displayed colour became white again.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-13 03:41:33 +00:00
coz
e0f1708a56 Added some comments to the auto_kart.cpp file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-13 02:09:45 +00:00
coz
856cc53368 The scrolling widget is now fullscreen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@763 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-13 02:05:22 +00:00
hiker
09fc38f268 1) Added 'radar ping' sound when a homing missile
locks on to a player kart.
2) Updated todo list.
3) Added some debug support to moveable, to help
   debugging the 'fall through track' bug. This is
   disabled by default.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@762 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-12 13:36:43 +00:00
hiker
bbfbdd3220 Added better information message about creating the
config file/directory at first ever start of supertuxkart.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@760 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-12 03:13:59 +00:00
hiker
68e1e7f01c Fixed typos in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@759 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-11 22:44:23 +00:00
hiker
c927fb88ae Improved and simplified herring handling. Herrings are now
stored in models/herrings, and they can be individually
used in herring config files, e.g.: (gold "goldcoin"). 
This makes it easier to add new herring models. 
Grand Prix settings overwrite track settings, e.g. the 
tuxkart cup uses the original herring style.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@758 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-11 22:32:43 +00:00
hiker
a0e7b6799b Native windows compatibility changes:
1) Added handling of dirent (which isn't part of windows)
2) Added missing include of STL files
3) Fixed config bug: name of player wasn't written correctly
4) Removed many warnings caused by implicit castings
   - double --> float, e.g. 1.0 --> 1.0f
   - size_t --> int,   e.g. karts.size() --> (int)karts.size()


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@757 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-11 22:27:39 +00:00
coz
93b42e4450 Some cleanup, and fixed explosions images being kept in the scene graph.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@756 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-09 05:11:00 +00:00
coz
2ce9180c9e Fixes a problem that caused the collectables to affect the energy bar.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-09 01:26:12 +00:00
coz
4ed0aaf8d1 Previous fix screwed the one player bar, here's the fix for any number of players.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@754 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-09 00:54:25 +00:00
coz
db49622456 Fixed problem with wrong energy meters in multiplayer.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@753 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-09 00:51:08 +00:00
coz
cc444d927a A small change to the detection of other karts in the AI.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@752 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-09 00:15:16 +00:00
coz
e91fc40efd Fixes a crash that happens when the an explosion is active and the World destructor is called, and clears the world's projectiles when it is reset.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@750 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-08 22:14:18 +00:00
coz
489d5ef406 Changed the text in the help menu, changed the race track music for another one more fitting, cleared a few things from the TODO and removed the references to jumping from the game temporally, since it's disabled for now.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@749 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-08 18:58:40 +00:00
coz
95135c313b Changes to the CREDITS file, deletes a song that if used drops warnings(so I would rather not use it), and fixes the 'flickering' with the scrolling text widget.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@746 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-08 15:58:21 +00:00
hiker
32e84f0b68 Added some error handling.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@745 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-08 04:16:42 +00:00
coz
93a7a2ec54 Some more small changes for the AI, and some changes to make the CREDITS file look better in the game.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@744 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-07 09:40:45 +00:00
hiker
9778b719b3 1) Moved 2d track display to lower left corner, since it will not interfere with any other displayed information (even in multiplayer).
2) Fixed text display to work with all resolutions.
3) Added support for displaying a screenshot and a 'topview' (or outline) pictures of tracks. It's currently not used, and might need some fine tuning depending on picture size.
4) Updated TODO list, removed 'done' section.
5) Set default herring style to the new herring style.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@741 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-07 05:19:02 +00:00
hiker
b6f2a541f1 1) Fixed typos and added missing files to src/Makefile.am
2) Support for 'make dist-bzip2' fixed.
3) Changed version number to 0.1rc1 .


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@737 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-06 05:30:21 +00:00
hiker
a7f67b0070 1) Added proper makefile support for new sound files.
2) Removed creation of libMain, since it:
   - breaks parallel makes
   - takes twice as long to link with cygwin
   - doesn't have any other benefit.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-06 04:09:58 +00:00
coz
831d1f4990 Fixes the wheel rotation being kept after race bug.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@734 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-06 02:12:17 +00:00
hiker
b95d3f5872 Fixed texture bug (caused by widgetSet deleting widgets which plib
assumes to be available). The fixed widgetSet does not create or free
any textures, this is now left to the application (which is fine with
tuxkart, since this is done in material_manager/plib anyway).
Previous bugfixes/work-arounds for this have mostly been removed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@733 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-06 01:57:34 +00:00
hiker
90aa79a1c6 1) Added new menu to select the grand prix to play.
2) Added tuxkart and GotM grand prix.
3) Added description to all tracks (which is currently set
   to show the designer of that particular track).
4) Fixed camera (which had a hard-coded screen size).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@732 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-05 12:33:26 +00:00
coz
2a5d25da5b A bunch of sound related changes, mostly new sounds, some sounds were changed, and a small bugfix for sound in multiplayer.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@730 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-05 10:51:31 +00:00
hiker
fba8b58b59 Forgot to add those files in the commit before - apologies.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@729 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-04 13:59:08 +00:00
hiker
d456f3ca46 1) Added scrolling credit (displaying the text in data/CREDITS).
2) Texts drawn with widgetSet->drawText are now scaled if the
   screen width is less than 800.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@728 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-04 13:25:10 +00:00
coz
5370c8d652 Cleanups and a fix for the wheel not displaying in multiplayer.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@727 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-04 04:29:09 +00:00
coz
4ac3861591 Changes to rescue handling, now AI calls rescue when it has been crashing for some seconds.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@725 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-03 21:59:21 +00:00
hiker
5e2ab992ab Two fixes for compiler error messages (gcc 4.1):
See http://www.karakas-online.de/forum/viewtopic.php?t=4194
for details about variables declared insite a case statement.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-03 14:05:22 +00:00
coz
886ce0d714 Some cleanups, and a fix for a problem with the beach track model.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-03 05:32:37 +00:00
coz
185736f573 The last group of fixes for drivelines.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@722 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2006-09-02 19:17:16 +00:00