Commit Graph

21668 Commits

Author SHA1 Message Date
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
hikerstk
fc3d800b00 Ignore executables created by visual studio.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1281 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-05 03:17:24 +00:00
hikerstk
b5c7b8233b Bullet only:
1) Added bullet collision handling, e.g. rocket hits are now
   detected by bullet code, bombs will be passed on etc.
2) Rockets are now handled by bullet as well.
3) Moved expected location of bullet from STK/bullet to
   STK/src/bullet.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1280 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-03 13:13:26 +00:00
hikerstk
3eeac7bec0 1) Fixes bug 1812403 (you could get rid of a bomb by
using another banana, now the bomb will explode if you
   hit a banana).
2) All other 'bananas' now get more severe as well if you 
   hit a banana while having an anvil/parachute attached
   (anvil: time is extended, parachute: you get an anvil
   with the same time as the parachute attached).



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1276 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-10-18 13:22:20 +00:00
hikerstk
6967d7f7b0 Replaced PenguiRacer advert with ExtremeRacer.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1275 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-10-09 00:47:54 +00:00
thebohemian
02b8c37aac - fixed key movement in result screen
- prevent closing of result screen is now done for all input variants
   and without odd side effects (and with less lines of code)
 - convert mouse buttons, joystick buttons and axes to key input for easier management
 - added note


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1274 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-10-06 16:39:18 +00:00
ikework
e153a6592b added roberts inputmap-files to vc8-project-file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1273 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-10-03 13:11:15 +00:00
thebohemian
059d9037a7 - separate input map implementation
- make mouse axes work like analog axes
 - enable display menu for non-Win32 platforms


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1272 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-10-03 11:23:07 +00:00
hikerstk
9ea37bf14f Bullet only: update to work with SVN revision 813 of bullet. For now
you have to define NEWBULLET when compiling the physics.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1271 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-10-01 02:21:42 +00:00
hikerstk
638970bd46 Bullet only:
1) some minor restructuring as preparation for
   converting the missiles to bullet.
2) Added support for later bullet versions (using
   btBroadphaseInterface instead of btOverlappingPairCache
   in ctor of btDiscreteDynamicsWorld).
   Default is still the old interface, use -DNEWBULLET for
   physics.cpp if a newer bullet version is available


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1270 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-30 14:17:28 +00:00
cosmosninja
d06c13fb36 Fixed bug #1799454 (help menu bug), and a minor coding style improvements related to it.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1269 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-29 19:08:35 +00:00
ikework
32b88d2091 - put a proper copyright to all replay-files
- changed name of class "Buffer" to "ReplayBuffer" .. "Buffer" at global scope was not a good idea of mine .. ;)

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1268 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-28 13:06:16 +00:00
ikework
38d41f933c added a vc8-project with a README.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1267 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-28 12:27:52 +00:00
ikework
a381c480c9 added *license-info* to replay-cpps
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1266 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-27 09:53:34 +00:00
ikework
0b7cadfbea replay:
* set max. sample-frequency to 30 frames per second
* put sample-freq-statistic in the end of replay-file as comments
* did some replay-cleaning

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-27 09:47:48 +00:00
ikework
c1ed88df9c replay-interpolation: scale-factor based on time between frames has been calculated for each kart in the loop, we just need it to be calculated once ..
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-27 07:57:51 +00:00
hikerstk
952e4629d8 Removed compiler warning, fixed usage of '-1' as
number of karts (meaning maximum number of karts).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1263 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-26 06:28:19 +00:00
hikerstk
abf735a468 Applied a modified version of Robert's patch for bug
1799457 (multiplayer does not work ... if the number of
karts in the config file is lower than the number of
karts needed for multiplayer).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1262 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-26 06:18:24 +00:00
hikerstk
fddfac77d2 Bugfix for 1778264: karts starting off the track (esp.
with about 10 karts in tuxtrack and islandtrack).
The number of karts is additionally now limited
to 10 (see stk_config.data), the only reason for this
is to avoid the same bug report when someone is using
more karts than the number of specified start locations.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1261 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-26 03:43:02 +00:00
hikerstk
57e93880de Re-enabled jump information in the help menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1260 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-25 03:54:01 +00:00
thebohemian
83703fdcf7 - 3rd splitscreen player gets the whole width
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1259 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-24 12:28:19 +00:00
hikerstk
9104e88171 Enabled configuration of jumping key again, was missing in previous
patch.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1257 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-23 15:05:30 +00:00
hikerstk
e41829cedd Enabled jumping again, and implemented some test jumping in bullet.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-23 14:52:39 +00:00
thebohemian
385e042cb3 - fixed deprecated implict (const char *) to (char *) conversion
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-21 19:50:07 +00:00
ikework
2860414a0c replay:
* interpolation between sampled frames
* restart game works with replay

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1254 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-21 19:17:48 +00:00
ikework
0a44bf57d5 replay ghost works very basic.
* no interpolation of ghosts position between sampled frames
* no transparency or something else to distinguish

to see it:
* run a game, rename file replay/test.rph to replay/test1.rph - this file is shown in replay

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1253 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-21 18:02:53 +00:00
hikerstk
e5fd4c885c Fixed bug 1799349: Islandtrack couldn't be used
because of 'images/sky2.rgb' not found.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-21 06:41:12 +00:00
hikerstk
462bf989f1 Removed fflush (left-over from some debug output).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1251 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-21 03:07:42 +00:00
ikework
f7fc4ff80a checked new replay code with debian .. added new files to src/Makefile.am
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1250 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-20 09:57:58 +00:00
ikework
76dc339f38 change ReplayPlayer -allocation/deallocation in worls, world crashed in dtor, if replay-file was not found
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1249 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-19 18:28:48 +00:00
thebohemian
bf7cda5179 - fixes all fixable warnings because of implicit (const char *) to (char *)
conversions



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-19 11:03:40 +00:00
thebohemian
f4157b1d41 - centers character in character selection screen properly and in all
display sizes
 - re-adds the 'make last character the new preselection' feature in character
   selection screen



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1247 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-19 11:02:22 +00:00
thebohemian
3167a86e97 - make player one the default button in player selection screen
- make "start race" button the default one in num laps screen


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1246 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-19 11:00:35 +00:00
thebohemian
2abeb7fed0 - adds behind view feature and the neccessary settings additions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1245 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-19 10:54:27 +00:00