Commit Graph

17807 Commits

Author SHA1 Message Date
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
cosmosninja
a93b8c9304 Added added some files to the svn:ignore property for the trunk/supertuxkart directory.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1212 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-20 22:31:07 +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
5fd54e18ea max-speed-reverse-ratio added.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1207 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-17 17:22:49 +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
cd1dbb2c72 Data file for the previous patch (test for the stk commit list).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1202 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-16 07:19:32 +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
cosmosninja
1a86523364 Changed configure.ac from 0.3SVN to SVN. Mostly testing sourceforge.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1200 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-08 01:07:29 +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
f6500d79d5 Reenabled sand track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1198 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-05 03:40:47 +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
xeno74
f7185b7377 Bullet version: Karts swim across the streets. Update gravity-center-shift value.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1195 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-02 17:52:13 +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
coz
27530aa7ef Added some new track music (work in progress)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1189 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-07-27 19:43:17 +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
coz
27030c59bb Added updated hexley model to the trunk.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1178 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-07-12 11:07:08 +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
xeno74
bfa6844c45 Update TODO
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1173 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-07-06 20:26:18 +00:00
hiker
f5cd17c08d Bugfix: added missing hexley images (see r1170 on 0.3 branch).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1171 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-07-06 14:23:33 +00:00
coz
33af6b4560 Updated the CREDITS file (see revision 1166 on the 0.3rc1 branch).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1167 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-07-05 03:15:31 +00:00
coz
ce84ae5f56 Added a new racer, Hexley the platypus! :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1164 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-07-05 02:45:48 +00:00
coz
928b341452 Fixes a typographic error and changes a bit of the wording.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1163 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-07-04 21:18:04 +00:00
xeno74
f2abb7fd53 Update README.macosx
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1162 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-25 17:33:45 +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