cosmosninja
f93b8b07e6
Raised the limit of the check for the sectors to
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1443 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-05 03:07:48 +00:00
scifly
5050603f9e
Added an additional check to ensure a resolution is not blacklisted
...
twice.
Re-seperated crash detection from kill 'detection' (see next).
Added additional saveConfig() calls to ensure that the correct current
and previous resolutions are stored in the event of the game being
killed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-04 14:28:44 +00:00
hikerstk
d8864f3f71
Removed VS compiler warnings (missing type cast).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1441 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-04 12:31:21 +00:00
cosmosninja
fa90139fc8
The pulse effect is now done using the center of teh widget as the center for the scale transformation, and removed a minor warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1440 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-03 22:29:07 +00:00
hikerstk
56db981ece
Fixed crash when using 'moving_physics' object.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1439 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-03 12:21:20 +00:00
cosmosninja
768c16ed38
Replaced the previous method of clipping the text outside of the bounds of a widget using the scissor test, and changed it for an stencil test, since the stencil test doesn't needs to be rectangular, thus, it doesn't shows text outside of the rounded borders or while rotating.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1438 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-03 08:34:41 +00:00
cosmosninja
7d2e056752
Removed a warning and fixed a bug with text scrolling introduced in the previous commit.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1437 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-03 05:59:40 +00:00
cosmosninja
d20a7a229b
Added rotation to widgets, but it's incomplete; text doesn't shows outside of the 'normal' box, and selection does the same.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1436 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-02 07:28:37 +00:00
hikerstk
2d849d0efb
Revmoed -DBULLET, and disables bullet profiling.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1435 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-01 13:35:37 +00:00
hikerstk
e49a415671
Try to making the homing missiles turn more smoothly.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1434 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-01 13:34:50 +00:00
hikerstk
f59f487d8a
Fixed bug 1879386 (homing missiles don't explode on track,
...
the rest was already fixed before).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-01 13:27:11 +00:00
hikerstk
e134102fb7
1) Removed unsupported solutions (e.g. non-bullet version)
...
2) Added (missing) translation.cpp to project file
3) Removed -DBULLET (since it's not necessary anymore)
4) Removed bullet profiling.
5) Added GETTEXT_PATH environment variable in prepration for translations
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1432 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-01 12:24:28 +00:00
hikerstk
5883db13e5
Removed bullet profiling (and debugging, though the MS compiler will always define
...
_DEBUG causing bullet to enable debug mode again).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1431 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-01 12:16:35 +00:00
cosmosninja
f53bc2119f
Removed the media tools from the src directory
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1430 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-01 05:09:16 +00:00
hikerstk
257508179f
Used the new btRigidBody constructor, since the old constructor
...
is not as flexible and will be deprecated.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1429 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-31 12:40:22 +00:00
cosmosninja
de6b4a3ae0
Fixed flickering on the grand prix ending at highh resolutions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1428 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 23:47:56 +00:00
cosmosninja
dd2a02fecb
Fixed the track selection menu so that it doesn't uses a hardcoded number of tracks only.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1427 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 17:55:41 +00:00
hikerstk
8a65b4167a
Removed old and unused 'improved physics' option.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1426 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 09:55:39 +00:00
hikerstk
c3d3f3ab19
Improved handling of bullet user pointers, which should fix the problem
...
of rockets not exploding when hitting the track anymore. But there is
still a bug with homing missiles, which still don't explode :(
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1425 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 05:30:10 +00:00
hikerstk
b75c9ec869
More minor code cleanup.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1424 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 04:55:11 +00:00
hikerstk
935e1a8c18
Code cleanup (BULLET #ifdefs).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1423 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 04:36:00 +00:00
hikerstk
818ab3d164
Removed some VS C++ compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1422 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 04:01:55 +00:00
hikerstk
67bf7ddabd
Moved implementation of translation class into .cpp file
...
to make less recompile necessary when changing the implementation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 02:24:51 +00:00
scifly
d0fca1b227
Fixed bug where blacklisted resolutions could be selected from the
...
command line.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1417 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-28 22:16:42 +00:00
hikerstk
4ee837b6da
Fixed wheel rotation, which would not rotate properly when
...
driving close to a parallel to the X axis (and the rotation
wasn't computed correctly in any case).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1416 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-25 01:29:12 +00:00
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