Commit Graph

582 Commits

Author SHA1 Message Date
hikerstk
696a3cf1c7 Increased height of driveline so that it has the same
height as the actual track (if the drivelines are lower,
karts when rescued will appear to be under the track,
triggering a rescue, ...).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1415 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-24 02:08:15 +00:00
hikerstk
d5b0230d5b Temporary work around for 'karts being rescued incorrectly' when using
quantization. This might make the game slower.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1414 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-23 23:24:18 +00:00
scifly
b182a4ff27 Fixed bug 1804393 "kart model for incorrectly shares transformations"
This patch removes previously selected karts from the GUI so they cannot 
be selected more than once. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1413 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-23 19:47:32 +00:00
scifly
25db1ea889 Fixed bug where window/fullscreen button only displayed "windowed"
Fixed bug where failing to confirm a change to fullscreen did not return you to window mode
Fixed bug where selecting blacklisted resolutions was possible
Resolutions removed from the blacklist are now available immediately
Blacklisted resolutions are now displayed but are not selectable
Resolutions can now be removed from the blacklist individually
Crash detection improved: Crashes / kills are now detected until either the race mode GUI is opened or STK is quit


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1412 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-21 22:06:57 +00:00
cosmosninja
ad86255e48 Fixed a minor bug with the configure script and and added an option to avoid optimizing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1411 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-21 19:04:00 +00:00
hikerstk
5222a88ee2 Bugfix for keyboard configuration that's not read in properly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1410 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-21 04:07:05 +00:00
cosmosninja
22c1d82e67 Made the warning message widget non-selectable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1407 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-19 21:55:17 +00:00
hikerstk
c3dce60b17 Increased version number for config file. When older config files are loaded
key bindings are ignored, and a warning is displayed the first time the main
menu is displayed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1405 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-17 00:09:23 +00:00
hikerstk
601af042f6 Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1404 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-17 00:04:29 +00:00
scifly
d022ad8a8e Changed time in which to confirm new resolution from 10 seconds to 5
No longer need to confirm resolution changes in windowed mode


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1403 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 21:42:16 +00:00
hikerstk
5d37a78a7b Removed windows warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1402 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 05:02:33 +00:00
cosmosninja
9122cd52df Use OpenGL to translate the widgets to their position instead of having STK's code to do it, so in the future we can apply rotation and scaling through OpenGL around the widget's center easily; as a side effect, this simplified some of the widget's code greatly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1401 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 03:47:29 +00:00
cosmosninja
53e57bbd10 Changed the value of CENTER_OF_SCREEN to be lower than the smallest possible scrolling value.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1400 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 03:40:38 +00:00
cosmosninja
93c766796f Lowered the default scrolling speed of the credits screen 20%, since I thought it was too fast.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 03:38:10 +00:00
cosmosninja
0babed2c7e Improved input handling of the scrolling.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1398 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 03:36:22 +00:00
cosmosninja
3de6b1e87c Removed outdated fix-me note.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 02:05:51 +00:00
cosmosninja
29c3b9b89b Removed the curve comment when explaining the drivelines, since it was reported to have caused confusion.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1396 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 02:04:33 +00:00
hikerstk
4c4eee4c4d Fixed automatic rescue:
1) called when any kart is not upside down and slowed down
2) called for AI when it's not making progress (the old
   method of using m_collided did not work in at least one
   case I have seen).



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1395 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 00:09:05 +00:00
hikerstk
bf4ee7a970 1) Bugfix: rescuing kart (at least) in the startrack would
trigger a rescue loop: rescue, drop, rescue, drop, ...
2) Some code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-15 11:38:54 +00:00
hikerstk
9202ccf00f Updated project to include new files for confirming a changed resolution.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1393 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-15 09:31:23 +00:00
cosmosninja
a71229dd18 Applied Dominique's patch to check for a C++ compiler.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1392 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-14 21:00:15 +00:00
hikerstk
4d38013a5a 1) Removed warning about order of initialisation in moving_physics.
2) Compatibility fixes (e.g. VC6.0): remove initialization of static member 
   variables inside the class declaration.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1391 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-13 23:51:09 +00:00
cosmosninja
2c42105449 Fixed wobbling of the text.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1390 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-13 02:16:21 +00:00
cosmosninja
3bbb4d1749 Commented out the widget manager changes to the race gui.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1389 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-13 01:26:30 +00:00
cosmosninja
c74956453f Reverted removing the 'simple c++ program', and instead added a C program, since it works fine, which isn't what we want, but it's better than nothing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1388 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-13 00:50:59 +00:00
cosmosninja
dade1f78cb Removed the check for a 'simple c++ program', since it didn't really worked well after all.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1387 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-13 00:44:06 +00:00
cosmosninja
166837d3f1 Passing --enable-debug to the configure script now causes that the program is compiled with -g(enable debugger info) and -pg(enable profiling info), and #defines DEBUG for the code. Also, I enabled a simple check to see if we can compile c++ in response to Dominique's message where he wrote that if we did not have a C++ compiler the configure script would say that plib is missing instead.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1386 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-12 23:34:11 +00:00
scifly
67ba7872df Added Id Keyword
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1385 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-12 23:19:07 +00:00
cosmosninja
1563552346 Passing --enable-debug to the configure script now causes that the program is compiled with -g(enable debugger info) and -pg(enable profiling info), and #defines DEBUG for the code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1384 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-12 23:08:27 +00:00
scifly
f984491d76 Improved commenting in display_config.cpp
Added _() to strings that lacked it in display_config.cpp
Removed redundant member variable from display_config.hpp
Added resolution change confirmation gui
Resolutions that are not confirmed are blacklisted and no longer appear in the res list
Screen resolutions that cause crashes are now detected and blacklisted in user_config
If a resolution blacklist exists, then a button is now available on the display_config GUI to clear it
Improved Apply res button on config_display GUI. Now only selects if a new res has been selected  


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1383 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-12 22:33:24 +00:00
hikerstk
57df099065 1) Improved handling of rockets
2) Enabled timing display again
3) Some code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1382 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-11 13:48:09 +00:00
hikerstk
7e844312c7 Bugfix: wrong order of parameters for memset.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1381 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-11 02:01:41 +00:00
cosmosninja
fea26afba1 Made wheelies usable at 70% of the top speed, since it seems impossible to use them if you need 90% of the maximum speed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1380 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-10 02:04:35 +00:00
hikerstk
bd3ab7926f 1) Fixed 'moving physics', i.e. objects on the track that
can be pushed around by karts (currently only used in
   tux tollway).
2) Removed support for magnet.
3) Some code cleanup for missiles etc.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1379 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-09 12:09:55 +00:00
hikerstk
d27bac1a38 Accidentally committed wrong version of sound_manager (without error
checking), this reverts back to include all error checks.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1378 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-09 03:24:25 +00:00
cosmosninja
298a81da04 Moved the variable m_time_since_stuck from the kart.hpp/kart.cpp files to the default robot. Since there is other code to catch the same situation, the code dealing with the m_time_since_stuck variable is disabled for now as a test.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1377 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-09 02:20:58 +00:00
cosmosninja
49dc3abc5b Bugfix: scrolling wasn't using the delta time.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1376 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-08 03:40:36 +00:00
hikerstk
c56020e0bf Applied Dominique's patch to compile STK with gcc 4.3.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1375 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-08 02:23:33 +00:00
hikerstk
8c453e472e 1) Updated to bullet 2.66, which (among others)
- fixes the bug of resetting the forces after each internal simulation step,
     causing slower physics behaviour on slower FPS.
   - improves raycast performance
2) Added script to copy all necessary source files from a full bullet installation
   into STK.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-07 03:07:05 +00:00
hikerstk
e0a96abe15 Removed traffic jam noise (played when a certain number of
collisions happend in a short time).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1373 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-07 00:53:22 +00:00
cosmosninja
fbfec1c54f Fixed another compilation problem with the Macs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-06 22:03:04 +00:00
cosmosninja
bad4e96bcd Fixed one of the Mac OS X compilation issues.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1371 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-06 06:06:58 +00:00
hikerstk
a5e2ef24d5 1) Fixed zipper (settings for further tuning in stk_config.data).
2) Fixed bug in collision detection (a kart-kart crash could cause
   a sigsegv).
3) Fixed bug in track loader, which caused somer track objects (e.g.
   zipper in bsod castle) not to get the correct pitch/roll, causing
   them to 'stick out')
4) Fixed wheelie handling for AI (though wheelies are still disabled
   by default, change wheelie-max-speed-ratio to 0.5 to test).
5) Some cleanup of non-bullet code.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1370 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-01 14:30:39 +00:00
cosmosninja
56e24ec8a6 Allow changing fonts through the widget manager, plus *a lot* of code style improvements.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-25 03:23:32 +00:00
cosmosninja
aa8fe0c5b3 The track map can now be drawn through the widget set (thought it's not encapsulated properly yet), it's implemented in the track selection screen, a fix that calculates properly the bounding box of the track maps(before it calculated the bounding box of the center line), plus a few style changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1368 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-22 20:10:48 +00:00
cosmosninja
03df76398f Removed an unneeded forward declaration.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-22 00:31:48 +00:00
cosmosninja
6863de9f42 Small code cleaning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1366 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-21 00:31:44 +00:00
hikerstk
6daa2ef2d0 1) Removed more windows warnings.
2) Cleanup of old unused, and non-bullet code
3) Fixed wheelies, though they are currently still
   disabled in the stk_config.data file since the
   AI crashes with the new wheelie implementation.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-20 04:37:35 +00:00
cosmosninja
1b95764c6a Various small GUI improvements.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1364 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-19 15:10:30 +00:00
cosmosninja
0dd71cebe5 Small style change.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-19 01:09:10 +00:00