Commit Graph

21351 Commits

Author SHA1 Message Date
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
cosmosninja
748dc0841f Prevent a gcc warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1330 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-09 23:46:52 +00:00
cosmosninja
f8fe9124d9 Minor improvements to the character selection screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1329 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-09 22:43:07 +00:00
cosmosninja
6bd0861ad4 Fixed widget scrolling and removed font aligment option.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1328 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-09 17:58:51 +00:00
hikerstk
7e68fd5ddf Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1327 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-09 07:14:53 +00:00
hikerstk
eaac399a09 Added missing files from previous patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1326 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-08 13:22:05 +00:00
hikerstk
7ed846ca3e 1) Improved rockets and sparks for bullet physics
Parameters for rockets etc. can for now be
   set in data/*.projectile
2) Fixed bugs causing rockets not to explode (and
   potentialy start rotating)
3) Added (somewhat temporarily) some cheats to get
   rockets, homing missiles and sparks as F1/2/3
4) Fixed several memory leaks.
5) Fixed (very rare) occurring crash when deleting
   phsyics.
6) Started to remove non-bullet physics code
7) Bullet physics is now the default, and it
   can not be disabled anymore!!
Important note: 
From this revision on, non-bullet physics is NOT
supported anymore, and will (most likely) not
compile. For now a -DBULLET is still necessary (it
is added as default), but the code will be cleaned
up in the near future.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-08 13:04:56 +00:00
thebohemian
12cee75a0f - remember selected widget of the parent menu and properly restore that
selection when coming back to that menu


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1324 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-07 15:46:50 +00:00
thebohemian
e483fa32b8 - prevent causing problem when hitting inputs for non-existing players
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-07 10:10:52 +00:00
cosmosninja
2cddd16d40 Applied Paul's patch so the number of laps per track per grand prix can be specified in the *.cup files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-06 20:57:42 +00:00
hikerstk
2c3e551ce6 Applied Paul's patch for selecting the screen resolution
via the option menu (I added some minor modifications to
get it to work with windows as well).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-06 04:04:21 +00:00
cosmosninja
5c2b24727c Changes to lower the number of lines of code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-06 04:04:08 +00:00
hikerstk
e6a0fe8b72 Updated visual studio project file to support the new files which
were in r1305.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-06 04:03:14 +00:00
hikerstk
3bac108b3a Bugfix: out of bounds problem avoided.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-05 04:12:55 +00:00
cosmosninja
1d0c75542a Character selection works again.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-05 04:10:36 +00:00
cosmosninja
71a39116d4 Fixes a bug pointed out by Paul: layout() did not stored the previous position.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-04 18:35:21 +00:00
cosmosninja
a21592f68e Fixes wrong text introduced by previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1315 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-04 18:34:08 +00:00
cosmosninja
2ffb606880 Fixes possible crash if the last element of the GUI of a screen is a column.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1314 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-04 18:11:46 +00:00
cosmosninja
95093755b9 Added argument-less layout() function which uses the last argument given to the other layout() function, and fixed a typo.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1313 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-03 23:11:07 +00:00
cosmosninja
ebc96833ad Fixed widget manager bugs, finished columns, used columns on some of the screens that benefit from it, simplified some of the widget manager code(this also gives performance improvements, but no one really cares about those in the widget manager), and changed some Warning tags to upper case.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1312 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-03 22:54:39 +00:00
cosmosninja
6bf4ec4f08 Fixes two compilation errors introduced in the last commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1311 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-01 16:43:52 +00:00
cosmosninja
a335606ec9 Finished column insertion(minus bugs that will obviously appear) and changed the main menu to using a column instead of line breaks; the widget manager delete_wgts() function was renamed to reset(), as it now does all kinds of cleanups, and layout no longer restores default stares or resets columns or deletes breaks, these changes were made so that layout() can be called repeatedly. Plus I changed a bunch of warning messages of 'unexistant widgets' to 'unnamed' widgets, since widgets without a token assigned also trigger this warning and added a Warning: tag in front of these messages, since they are non-fatal. I apologize for the amount of changes introduced in one commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1310 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-01 16:26:00 +00:00
cosmosninja
8d27cefdd5 Applied Paul's patch to revert to logging to stdout and stderr instead of a file by default, and changed the .desktop file so it logs to files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1309 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-01 04:23:38 +00:00
cosmosninja
d403a951c7 Removes some output text I accidentally left in
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1308 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-30 03:48:37 +00:00
cosmosninja
f40af93ba4 Fixes bug that causes the selection of the last active widget instead of the first active widget by default.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1307 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-27 01:34:21 +00:00
thebohemian
dc22e1268b - fix comment
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1306 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-26 14:40:07 +00:00
thebohemian
44a2338368 - committed input abstraction patch - as seen on list
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1305 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-26 14:28:15 +00:00
cosmosninja
456e205494 Beginnings of supporting columns in the widget manager, for easier layout.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1304 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-26 02:51:32 +00:00
cosmosninja
59fb95e64b Fixes an uncommon dumb old bug in the AI, strangely only reported to appear with bullet physics, which could make it loop forever.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1303 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-25 00:28:54 +00:00
hikerstk
6e6f06d2a1 1) Applied Paul's patch for redirecting messages to a file.
2) Added command line option to select if messages
   are written to a file or terminal
3) Added some error checking if the log file can't
   be opened (though this is apparently only working for
   stdout, but not for stderr???)
4) Replaced the #ifdef DIR_SEPATAROR with a
   static const in loader.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1302 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-22 01:20:57 +00:00
hikerstk
c62f8622da Set the number of laps for Grand Prixs to 2 again (I
accidentally committed my test setting of 1 laps only).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1301 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-21 13:57:58 +00:00
hikerstk
7721c5dd1c The kart start order now depends on the ranking in the
grand prix. It can be set to 'lowest points first'
or 'highest points first' in stk_config (patch by
Paul Elms).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1300 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-21 13:54:40 +00:00
hikerstk
dc130b5a10 Fixed working directory for VS project files (which assumed that
the root directory is called 'supertuxkart').


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1299 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-21 13:49:32 +00:00
hikerstk
c05b0d4b0d Updated the Visual C++ project files to support
compilation of the inluded bullet library, and 
to include the new widget_manager.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1298 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-21 12:56:44 +00:00
cosmosninja
aa3ad745ce GUI improvements
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1297 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-21 01:51:57 +00:00
hikerstk
44f9f6a538 Minor fixes for windows compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-21 01:31:49 +00:00
cosmosninja
41524d6d8a Fixed a typo
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1295 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-21 00:31:20 +00:00
hikerstk
a87e04ae29 Bugfix for crash when selecting a Grand Prix.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-20 11:49:00 +00:00
cosmosninja
afca5cf6c6 Removed the widget set and put in it's place a work-in-progress replacement
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1293 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-20 02:13:53 +00:00
hikerstk
1da4736435 Bullet only: made the bullet jump velocity configurable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-18 13:44:53 +00:00
cosmosninja
aeb5860be8 Paul's patch for the star track driveline
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1291 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-13 08:37:53 +00:00
hikerstk
f16dcff123 Removed need to call drv_init when using --list-karts. This
1) avoids opening of the STK window
2) removes problem with drv_deinit not being called (resulting potentially
   in wrong screen resolutions when STK finishes)
and is faster (based on a patch by Paul Elms).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-12 03:17:52 +00:00
cosmosninja
a8c2de27cb When loading music, STK prints a warning if the file format is not recognized.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1289 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-11 15:15:59 +00:00
hikerstk
21536771d9 Added svn:ignore to ignore Makefile,Makefile.in, .deps, lib*.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1288 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-11 13:06:28 +00:00
hikerstk
10402c390a Bugfix for non-bullet compilation (was incorrect in previous commit).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1287 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-08 23:12:04 +00:00
hikerstk
661751678b Fixed several memory leaks, which appears to fix bug #1827310 (stk crashes
after one race) as well.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1286 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-08 22:40:15 +00:00
hikerstk
4a93d103d4 This file was missing in the previous patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1285 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-08 13:14:31 +00:00
hikerstk
c21c9b5573 1) Removed some memory leaks in physics.
2) Fixed bug 1827284 (sand track bridge could not be used with bullet) by not
   converting triangles which have the 'ignore' property set.
3) Fixed bug 1826773 (jumping while in air was possible)
4) Started adding support for projectiles which stay close
   to the ground (not finished yet).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1284 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-08 12:31:54 +00:00
hikerstk
9f7c370334 Removed files which never should have been in the repository.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1283 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-06 11:48:34 +00:00
hikerstk
81b078d16f Bullet only: included bullet 2.64 in the STK sources
and build environment. Default is still to build the non-bullet
version, to get bullet, configure with '--enable-bullet'.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1282 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-05 13:38:57 +00:00