Commit Graph

6986 Commits

Author SHA1 Message Date
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
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
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
ikework
6cf81bd3ac removed unnecessary forward-declaration in replay_buffer_tpl.hpp
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1244 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-19 10:31:29 +00:00
ikework
77bdd4a4fc the start of my replay-implementation
all code related to it must be activated with compiler-switch HAVE_GHOST_REPLAY
folder "replay" added to store the replay-files

there are 2 main classes. ReplayRecorder & ReplayPlayer. both are members of class World. the first is for recording/saving a replay and the latter one for showing the replay/loading/ghost-replay

*recording* a game works already very basic, only karts position-struct is stored and some data about the game (track,karts,player...)

the replay file currently is written to replay-folder in world's destructor to replay/test.rph
and it is loaded into ReplayPlayer in World's constructor

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1243 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-19 09:23:02 +00:00
hikerstk
329696f5a6 Applied patch by 'lutzfischer' (sourceforge patch forum):
- fixed --numkarts/-k command line option (including
  using '-1' meaning 'all karts').
- the default number of karts (used for quickstart) is now
  taken from the user config file, i.e. once you've set  your
  preferred number of karts, you will get this number withouth
  having to specify it all the time).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1242 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-19 03:28:11 +00:00
ikework
612a847dbd applied stephan's patch for the menu-sounds .. copied file wavs/tintagel/deselect_option.wav to wavs/tintagel/select_option.wav for the time being, since code expects that file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1241 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-17 13:43:11 +00:00
ikework
d2e7b6e59c on windows we have to use ov_open_callbacks instead of ov_open .. passing clients callbacks for fread, fclose ..
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1240 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-13 17:41:02 +00:00
ikework
0f54de64aa WidgetSet: in ctor memory of array m_widgets was initialized to 0's with memset. that was
ok until my last change of Widget. now Widget has std::string's as members, so initializing
like that is not possible anymore .. my debian crashed there .. added an initialization-list to Widget's ctor

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1239 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-10 17:37:04 +00:00
ikework
9d89de895e (1) fixed memory-leak related to vector GrandPrixSelect::m_all_cups. items were allocated with new, but never deleted. changed vector to vector of objects:
old:
  std::vector<CupData*> m_all_cups;
new:
  std::vector<CupData> m_all_cups;

related: 
changed RaceManager::setGrandPrix(const CupData &cup_) to const reference rather than pointer to CupData

(2) made vector CupData::m_tracks private and added getter

(3) CupData::m_name was passed in GrandPrixSelect::GrandPrixSelect() to WidgetSet as const char*
    then it was passed to Widget::_text. changed the latter to std::string and passed it as std::string
    
(4) changed Widget::count_text  to std::string as well .. 

(5) tracked down all uses of Widget::count_text & Widget::_text to plib. changed
all funcs in between to work with std::string rather than const char*

Font::getBBox
WidgetSet::set_label
WidgetSet::get_label
WidgetSet::start
WidgetSet::state
WidgetSet::label

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1238 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-10 17:03:31 +00:00
ikework
894cd8a604 fixed memory-leak:
allocated RaceGUI::TimedMessage's were not deleted, only erased from the vector

RaceGUI::cleanupMessages(): fixed iterator usage for std::vector.erase - the returned iterator must be used, the passed iterator becomes invalid after erase, so one has to use the returned one

changed vector-type RaceGUI::AllMessageType to vector of objects, rather than vector of pointers .. no risk of memory-leaks here anymore ..

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1237 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-10 14:11:08 +00:00
hikerstk
4dcde604b1 Bullet only: fixed --history function for bullet physics.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1234 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-10 00:36:50 +00:00
ikework
754bd5275c fixed bug 1791242 in robots/default_robot.cpp
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1233 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-09 21:18:18 +00:00
hikerstk
b26d4f6db8 Enable display of pictures without having them to
add to materials.dat (fixes bug 1781997).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1224 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-27 13:11:06 +00:00
ikework
40799d02bd did some cleaning in CreditsMenu & ScrolledText
(1) CreditsMenu::CreditsMenu changed file-open-mode from "ra" to "r" 

(2) added fclose'ing file in CreditsMenu's ctor

(3) CreditsMenu::m_string_list removed since base-class ScrolledText already has that member,
    made it private in base-class to prevent confusion, since base-class has
    member-func setText to *set* that member ;)
    
    made all other member-vars of ScrolledText private too ..

(4) changed typedef of StringList from 
      typedef std::vector<char*> StringList;
    to 
      typedef std::vector<std::string> StringList;
      
    there was a memory-leak in class CreditsMenu, strings were pushed back
    into StringList via strdup, which (m)allocated memory for the string,
    so we should have freed it by calling free for each item in vector,
    so i choosed the all-inclusive std::string :)
    
    and moved typedef of StringList into class ScrolledText from global scope
    
(5) removed cleaning-up-code for m_string_list from CreditsMenu's dtor, nothing
    to clean for us, since vector's and string's dtor takes care of it
    
(6) changed ScrolledText::setText (StringList const &sl_) param to const reference
    for the sake of efficiency .. we dont want to copy here
    
hope we dont get problems with windows newline-style \r\n .. tried to take care of 
that ;)

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-24 07:09:34 +00:00
hikerstk
96509dd941 Applied Maik's patches (bugfixes).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1222 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-24 03:42:59 +00:00
hikerstk
affb80811f Bugfix for r1218: code would not compile without bullet.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-23 00:26:28 +00:00
hikerstk
12ee22767c Fixed bug (sgMake2DLine actually returns a 3d vector).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1220 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-23 00:08:45 +00:00
hansthefarmer
585b3efeb3 Bug 1778268, .loc file crashes badly if model is invalid, fixed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1219 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-22 21:31:07 +00:00
hansthefarmer
b3081c58ba Bug 1779481, AI rescue doen't work reliably, fixed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1218 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-22 20:44:04 +00:00
hansthefarmer
5b38597687 Bug 1779446, Player kart rescue does not work, fixed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1217 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-22 17:30:39 +00:00
hansthefarmer
cd2698300b Bug 1778256, AI does not use collectables, fixed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1216 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-22 16:21:22 +00:00
hansthefarmer
662955fbd7 Bug 1776938 Invalid short cut loop solved.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1215 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-21 18:37:41 +00:00
hikerstk
921c2621dc 1) Fixed incorrect pitch of rockets when firing.
2) The 'unlimited rocket' cheat is now bound to F7 
   (before it was a clear key, which isn't available on
   all keyboards - at least not on mine).
Bullet only:
3) Gear parameters are now configureable and can
   be specified in stk_config.data and separately
   for each kart.
4) An explosion will somewhat push other karts that
   are close by away (some feedback on this feature
   is welcome - the impulse can be set in the 
   stk_config file).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-21 14:50:45 +00:00
hansthefarmer
334ec17dc2 Loop is solved. Track::findRoadSector finds wrong sector on bridge still remains.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1213 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-21 08:58:04 +00:00
hansthefarmer
6da43c83c5 Fixed the kart length problem in default_robot.cpp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-19 15:05:20 +00:00
hansthefarmer
b476486fb0 Implementation of a simple gear box.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1210 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-18 14:26:11 +00:00
hansthefarmer
f0288dd697 Detach attachment anvil now works correctly
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1209 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-18 13:34:03 +00:00
hansthefarmer
67a4c5a4a1 Small hack to avoid steer vibrations
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1208 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-18 12:46:16 +00:00
hansthefarmer
44ab0f5c7f max-speed-reverse-ratio added.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1206 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-17 17:09:46 +00:00
hansthefarmer
e5037c3cb2 Fixed the going backwards bug by remaking of accelerating and brake algorithm
including a defineable max-speed-reverse-ratio (bullet only).

Added a getsProjectile() when get hit by a homing missile (bullet only).

Modified forceCrash() for bullet.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1205 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-17 17:07:12 +00:00
hansthefarmer
954cbe2c5f Homing missile now hits in bullet mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1204 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-17 17:01:02 +00:00
hansthefarmer
04cdc4b5ac Bug-fix for --list-karts and --track.
Added options:
--stk-config FILE
--mode N to set difficulty


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1203 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-17 16:56:31 +00:00
hikerstk
41d9edcbe1 1) Fixed modifications for bullet only, which actually modified
non-bullet parameters. Bullet now has separate parameters
   for mass, steer angle, and enigne power.
2) bullet only: Added suspension rest parameter (which might fix
   the problem of karts not working on tuxtrack and other tracks).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1201 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-16 07:09:26 +00:00
hikerstk
c10390916a Bullet only: bugfix: driving backwards didn't work correctly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1199 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-06 04:08:22 +00:00
coz
25a007cefd Applied Robert's joystick steering fix patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1197 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-05 03:37:29 +00:00
hiker
f6ca3b5155 Bullet only: fixed 'karts swim in track' bug, updated physics
parameter to 'play better'.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1196 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-03 08:17:56 +00:00
coz
c3d987e4fb Fixes pointer dissapearing after exiting the race through the race menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1190 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-07-28 17:27:56 +00:00
hiker
c59838bba3 More than one music file can now be specified for each track, a
random one of those specified is played.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1188 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-07-25 14:01:14 +00:00
coz
e893e3af31 Fixes a crash when a file cannot be loaded, and fixes music not stopping when ogg starts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1187 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-07-24 06:46:00 +00:00
coz
4e57f0236b Fixes bug #11559, see revision 1179 in the 0.3 version.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1180 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-07-15 19:42:34 +00:00
hiker
097254958c Fixed big endian issue for ogg files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1175 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-07-12 02:08:34 +00:00
hiker
f0236ddab0 Fixed one bug causing music only to be played in the first race (see
1158 on 0.3rc1).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1159 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-22 00:19:01 +00:00
hiker
893a0c2692 Fixed braking behaviour when driving backwards:
in this case, accelerating should be braking (and
work with more force than just accelerating).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1155 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-15 02:06:26 +00:00
hiker
4403a3eb35 When skipping segments (triggering a shortcut message), the
karts now gets automatically rescued.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1154 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-15 01:59:33 +00:00
hiker
803db6bfb6 Fixed camera handling (pitch) on steep declines.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1152 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-14 22:34:15 +00:00
hiker
2dc270a3cc Replaced 'Next' button with 'Start Race' button.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1150 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-12 13:33:02 +00:00
hiker
8e930e0ee6 Fixed error handling in case of non-existent ogg files (r1148 on 0.3rc1 branch).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1149 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-12 13:28:59 +00:00
coz
2ef1d70096 Removed a widget set dependency and a few includes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1147 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-10 17:42:18 +00:00
coz
fd053ced67 Moved the pause code from being dependant on the widgetSet to being dependant from world.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-10 01:13:39 +00:00
coz
dafb628e2d Removed a few unnecesary commented out parts of the gui.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-10 01:11:06 +00:00
hiker
409447b2cd Removed empty square which is displayed when no
items are collected (since it's confusing and looks
like a bug, see r1143 on 0.3rc1 branch).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1144 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-08 09:19:27 +00:00
hiker
7e560d7ed8 1) Fixed result display for time trial (the actual lap time
was not being displayed)
2) Removed number of points from quick race and time trial
   result display (since it's meaningless anyway).
3) Fixed highscores for time trials.

(see 1141 commit on 0.3rc1 branch).



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1142 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-05 03:45:43 +00:00
hiker
e373dbbe07 Fix windows writing bug (see 1124 on trunk).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1138 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-05-30 07:26:50 +00:00
grumbel
7a6d165641 - moved trunk/ to trunk/supertuxkart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1118 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-05-27 16:01:53 +00:00