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
hikerstk
1ba22f42f1
1) Enables triangle dependent friction setting, and therefore skidding
...
(currently only for sand).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1362 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-17 13:42:19 +00:00
hikerstk
0f0ae96039
1) Fixed automatic rescue mode when kart is on reset terrain.
...
2) More non-bullet code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-17 13:16:09 +00:00
cosmosninja
41f47cacba
Fix bug #1778257 , 'Track loading counts for the race start counter in the trunk'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1360 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-16 17:03:03 +00:00
cosmosninja
af042fff54
Minor cleanups.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1359 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-16 17:02:08 +00:00
cosmosninja
626474e079
Finished cleanups and restyled the widget manager so it would follow the code style guidelines.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1358 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-15 23:21:47 +00:00
cosmosninja
143403c3ad
Fixed bug which prevented the just commited improvement to work :p
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1357 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-14 22:03:37 +00:00
cosmosninja
0841db3b6b
Improved argument-less layout() widget function and improved the style a bit.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1356 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-14 22:01:10 +00:00
cosmosninja
908fa88d85
Fix a bug which potentially could cause a crash if the layout() func is ever called without widgets, and the text positions are now recalculated after calling the argument-less layout() func.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1355 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-14 04:20:48 +00:00
cosmosninja
e07116d262
The menu manager can now switch menus even if the amount of menus don't change (i.e. the amount of menus popped is the same as the ones pushed), plus the usual minor style changes and fixing a small bug.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1354 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-14 03:46:05 +00:00
cosmosninja
0037afa8ea
Removed a function that is now useless, and made some minor style changes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1353 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-14 02:36:32 +00:00
cosmosninja
586b7adc33
Removed a file that has been there since the original TuxKart, but hasn't been used for anything since I can remember.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1352 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-13 21:23:03 +00:00
scifly
28409f5842
Fixed bug in help page 2 - go back to main menu not working
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1351 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-13 14:26:28 +00:00
hikerstk
9a211a0a04
1) Added new files to Visual Studio project files
...
2) Removed some visual studio compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1350 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-13 02:21:09 +00:00
cosmosninja
55233a592b
Improved scrolling, thought the changes are not visible to the user.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-13 00:18:29 +00:00
scifly
1baec9cb8c
Corrects first lap timing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1348 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-12 22:35:27 +00:00
cosmosninja
38a4c359b2
Fixed help widgets not being highlighted after switching pages by separating the pages(which also makes things cleaner), plus the removal of a bunch of commented out code that won't be useful in the future from the files in the src/gui/ directory.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1347 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-12 21:30:30 +00:00
cosmosninja
d3e0019d61
Grand Prix selection screen's description is centered again, plus minor cleanups.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1346 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-12 14:26:55 +00:00
hikerstk
d0c1aa9e8c
1) Fixed 'rescue bug', i.e. karts have now a proper
...
heading after being rescued
2) Partly fixed 'automatic rescue' bug: karts get
rescued when touching a reset material (though it
currently can take a bit before it happens).
3) Restructured code: track loading and converting
is now done in the track object.
4) Fixed several warnings for windows.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1345 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-12 14:07:26 +00:00
hikerstk
d8dac4e85b
Added bullet advertisement.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1344 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-12 13:49:57 +00:00
hikerstk
ea3a993403
1) Fixed location of laps display (lower left corner, i.e. "1/3 laps"),
...
which wasn't fully visible anymore
2) Removed several warning for Visual Studio compiler.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1343 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-12 13:34:35 +00:00
cosmosninja
403861f83e
Various minor style changes and cleanups.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1342 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-12 05:16:50 +00:00
cosmosninja
9218c15a18
Fixed joystick/keyboard GUI handling.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1341 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-12 03:54:29 +00:00
hikerstk
b3ab2d474d
Fixed several compiler warnings for Visual Studio.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-11 02:48:10 +00:00
cosmosninja
a71c09f62f
Fixed two bugs introduced in the last two commits, one disabled sound, and another wouldn't let plib-based sound compile; also introduced minor style improvements.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1339 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-11 01:28:10 +00:00
cosmosninja
4ed413d5d5
Fix all the remaining 'tried to lighten unnamed widget' warnings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1338 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-11 01:24:15 +00:00
hikerstk
285d98fee7
Fixed bug in r1333 (disable F4 for bullet debug).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1337 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-10 11:27:21 +00:00
cosmosninja
9a865b8e39
Restored highscores display
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1336 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-10 02:54:09 +00:00
cosmosninja
8a235d6b1a
Removed the warning about using a widget column with just one element since sometimes it's necessary.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1335 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-10 02:40:20 +00:00
hikerstk
303e80df47
Added DEBUG define (which enables certain cheats) for windows debug compilation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1334 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-10 01:41:58 +00:00
hikerstk
d79777f1a2
1) Added DEBUG define which enables some cheats, which are not
...
to be used in a release. Currently DEBUG enables the F1/2/3
cheats to give a player sparks, missiles, homing missiles, and
enables the player to call for a rescue while not touching
the ground.
2) Added many casts from size_t to int (and similar), to remove
warnings when compiling with windows.
3) Disabled F4 'bullet debug' shortcut, since it doesn't work
and it's not too useful anyway.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1333 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-10 01:39:30 +00:00
cosmosninja
18b70c9dd1
Remove a widget manager warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1332 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-10 00:24:10 +00:00
cosmosninja
a28879b077
Fixes that characters previously selected wouldn't be selected the next time you go into the character selection menu.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1331 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-09 23:49:56 +00:00