Commit Graph

6530 Commits

Author SHA1 Message Date
curaga
5d7e846969 Parallelize SFX loading, 7% speedup in load time
Vorbis and AL are thread-safe.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13549 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-22 15:43:24 +00:00
hikerstk
ebea0a49f9 Merged soccer branch with trunk, fixed (at least some) tabs
usage.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13543 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-22 03:54:52 +00:00
hikerstk
8ec6b13eee Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13542 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-22 03:50:50 +00:00
hikerstk
35b58661e5 Minor cosmetic changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13535 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-22 00:00:40 +00:00
hikerstk
05c47f83ca Fixed compiler warnings, layout, and removed tabs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13481 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-15 05:57:48 +00:00
auria
9f0bc16ebf Make text boxes perfectly respect the allocated size
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13478 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-15 00:36:25 +00:00
auria
9fb7593efe Remove accidentally committed debug test
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13474 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-13 00:41:00 +00:00
auria
2693043395 The hayball in farm will now flatten you (exporter still left to do)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13473 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-13 00:36:37 +00:00
auria
91e1fb3111 Minor tweak so that a single nitro buttle is fully consumed when using the nitro button (before, there would be a very tiny little amount left)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13454 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-10 00:55:27 +00:00
auria
9d05adbacf Fix bug #1037
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13453 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-10 00:51:44 +00:00
auria
b72f0bf625 A few small tweaks to soccer mode, show message when a goal is made, resize down soccer ball a little
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13452 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-10 00:23:51 +00:00
auria
d3e6569a54 merge soccer branch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13450 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-09 23:48:13 +00:00
curaga
8eaabdb77b Move the spot to the front
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13449 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-09 18:33:38 +00:00
curaga
38accf6205 Up the kart selection screen ambient light
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13448 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-09 18:33:16 +00:00
hikerstk
df9d90b342 Merged bubble bum branch into trunk. The new bubble gum
shield is still work in progress.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13444 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-08 03:11:03 +00:00
yasin-ghannam
a3be77aa30 added above team leader's head a red/blue ball to indicate team.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/soccer@13418 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-06 03:30:42 +00:00
curaga
a3bfed004e When you click the video slider, the slider text needs updating
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13410 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-02 14:18:11 +00:00
curaga
144c5cc0b4 The custom gfx tooltip must be updated when the slider is
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13409 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-02 14:17:34 +00:00
hikerstk
3187937496 Simplified #includes, and changed order to follow our style guide.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13401 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-01 06:11:10 +00:00
hikerstk
f9fa721a22 Minor bugfix: if an invalid kart name was specified on the
command line, it was not ignored (as stated), it would
result in STK aborting. Now this is just ignored.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13400 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-01 06:06:09 +00:00
hikerstk
5efa7c8ad2 Removed apparently unnecessary #include <io.h>, since
it will actually include io.h from wiiuse, not the
internal one from VS (which results in some warnings
about RAD_TO_DEGREE already defined).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-01 06:02:44 +00:00
hikerstk
2d504379ca Removed reference to logging stderr (which is not done anymore).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13348 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-25 07:13:36 +00:00
hikerstk
6c210a8c09 Added assert to Log::fail so that a debugger breakpoint can
be triggered. Added Log:: calls to string_utils.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13347 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-25 07:12:49 +00:00
yasin-ghannam
a908f4d3f9 Game ends when goal target is reached.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/soccer@13344 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-25 01:25:35 +00:00
hikerstk
bb249d1681 Made lock/unlock const.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13341 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-25 01:10:16 +00:00
auria
dfb9de9733 Apply parts of patch by Deveee to better indicate new nitro consumption rules, with additions by myself for the race GUI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13338 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-24 23:14:22 +00:00
auria
27a1509532 Allow navigating with TAB in menus
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13332 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-23 22:53:21 +00:00
hikerstk
f6685af2e1 Added support for looped jumping animation; renamed
begin/end_jump to jump_start/end to be more consistent.
Added a test loop to Sara's animation.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13330 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-23 22:11:12 +00:00
curaga
8c406172cf Remove kart selection flicker
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13328 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-23 18:53:12 +00:00
curaga
0157e83fe9 Much nicer kart selection light
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13327 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-23 17:06:51 +00:00
yasin-ghannam
b53e0c4fe3 Slight modification to score display.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/soccer@13322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-22 23:07:45 +00:00
hikerstk
729fb64cb0 Added support for animations without a loop part (esp. jump).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-22 22:04:33 +00:00
yasin-ghannam
88b6b4b5c4 Kart positions fixed. Karts on the same team appear on the same side.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/soccer@13318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-22 17:50:39 +00:00
yasin-ghannam
d314ee2d0d Team indicators added.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/soccer@13299 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-20 20:34:37 +00:00
auria
ec4c55de73 Move nitro min consumption to kart properties
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13278 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-18 22:58:40 +00:00
auria
7afaad013a Reduce minimal nitro consumption a little, I think I was too harsh in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13277 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-18 22:49:38 +00:00
auria
bfad6cc851 Use a required minimal amount of nitro each time the key is used. May need some playtesting to balance but the base is there and shouldn't penalize normal use
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13275 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-18 22:46:46 +00:00
hikerstk
2ff62c4d97 Added support for jump animation, which will triggered
if either the estimated jump duration is long enough,
or the texture the kart was on before it jumped has
a jump property set.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-18 07:24:47 +00:00
auria
8f77aac50a Apply small patch by lennartack to fix leak in --no-graphic mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-17 22:37:45 +00:00
curaga
9dc33d1d90 Move the no-trust fps counter check lower, so it only flickers once, not twice
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13239 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 13:17:05 +00:00
curaga
403e82c97b Fix compiler warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13238 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 13:15:47 +00:00
hikerstk
f16244e3d0 Added support for physics-only meshes (i.e. invisible walls), see #1014.
Some changes to the exporter still required.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13219 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 21:57:34 +00:00
yasin-ghannam
a701cccc02 Team Identifiers(Needs adding hatOffsets to kart models)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/soccer@13178 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 01:17:39 +00:00
yasin-ghannam
085080e95e Team Identifiers(Needs adding hatOffsets to kart models)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/soccer@13176 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 00:57:13 +00:00
auria
e546794ad9 Fix GCC build
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13172 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-10 23:36:50 +00:00
yasin-ghannam
d16a5a0552 Team indicators added.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/soccer@13167 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-10 22:49:51 +00:00
hikerstk
1639791378 Fixed indentation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13166 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-10 22:47:53 +00:00
hikerstk
b20cebfee0 Refactored handling of rescue: this removed a lot of
duplicated code, and also allows non-race mode rescue
positions to be tested in track-debug mode.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13165 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-10 22:47:12 +00:00
hikerstk
157d688f96 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13143 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-09 06:59:07 +00:00
yasin-ghannam
c22941d354 Initial Score display. (Using only the first two karts)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/soccer@13142 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-09 04:26:23 +00:00
hikerstk
7919f6e485 Removed unused code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13136 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-09 00:05:47 +00:00
auria
f198e93d0a Bugfix: in some cases, like after tutorial, game would play at wrong difficulty
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13117 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-07 22:52:01 +00:00
auria
66b96868ee Fix some cases of input getting stuck during tutorial
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13115 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-07 22:07:59 +00:00
auria
900d495ee9 Make GUI lists just use box, to make them in line with the latest changes that borders should be inside width/height
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13098 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-06 01:05:08 +00:00
auria
88c1a3b56c Prevent double ribbon events when using mouse on a ribbon that's in a dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13094 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-05 22:55:12 +00:00
auria
2719079977 Improve upon previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13093 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-05 22:41:25 +00:00
auria
d5168a6f4f Fix textbox glitch : you could still type in the box after it lost its focus
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13092 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-05 22:37:52 +00:00
auria
8e2ccb7762 Fix restarting tutorial
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13086 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-05 00:02:50 +00:00
auria
af09c253a7 Return to overworld after tutorial if it was started from there
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13085 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-04 23:56:24 +00:00
curaga
e3ebbbbb04 sfx mgr: Remove unused function declaration
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13079 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-04 19:31:19 +00:00
mbjornstk
b9499ce46a Update build.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13078 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-04 18:57:23 +00:00
hikerstk
464daa8ac7 Updated VS project files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13074 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-04 02:49:34 +00:00
auria
eecf0b67f6 merge minimal race GUI into normal race GUI. Slight changes but in the same spirit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13072 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-04 01:38:13 +00:00
auria
c39795b445 add close button on track info dialog, as requested on forum
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13071 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-04 01:10:49 +00:00
auria
ad6b60520c Apply patch by xenux to improve the reload button
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13068 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-04 00:32:26 +00:00
auria
7e2548ff28 Fix misleading comment
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13066 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-03 23:22:06 +00:00
auria
ef148dd8cc Rework how <box> tags work in STKGUI files for finer control over layout. Adapt existing layouts accordingly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13060 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-03 02:00:08 +00:00
auria
a27853a592 Apply patch by Lilian Gimenez to support gamepad triggers in input code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13054 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-01 22:50:59 +00:00
hikerstk
ae0cfe90da Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13052 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-01 22:43:01 +00:00
auria
ba320dc16d Apply patch by xenux to improve addon filtering
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13049 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-30 23:38:21 +00:00
stephenjust
0f250999f8 Fix VS compilation problem from addon filters
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13046 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-30 19:01:15 +00:00
auria
27642f332c Apply patch by xenux to filter addons, thanks a lot\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13035 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-30 00:29:43 +00:00
auria
1a5a3be3cc Apply tentative patch for ticket 964
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13034 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-30 00:13:28 +00:00
auria
fc9515222f Tweak textboxes skin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13033 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-29 23:46:51 +00:00
hikerstk
4616338fd6 Started to fix rescue problem - more code cleanup will follow later.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13022 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-28 23:45:48 +00:00
hikerstk
c5686dad01 Minor bubblegum code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13021 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-28 23:39:07 +00:00
curaga
c368706798 No skidding backwards. Fixes 1013.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13014 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-28 17:49:55 +00:00
curaga
c700843910 Let items return their node
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13010 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-28 12:17:42 +00:00
curaga
7acada712e tinygettext const fix
This moves ~8kb of writable data to RO, and improves optimization.
There is no need for the initial array to be writable anyhow.

The upstream project seems dead, so no point in submitting there.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13009 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-28 12:16:22 +00:00
curaga
9173c9b454 Make lod's getLevel public
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13008 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-28 12:15:28 +00:00
red-skull
10668e8c68 Final part to fix #854:
don't remove addons.xml and news.xml during re-init of NetworkHttp,
it's not needed anymore to force refreshing them when clicking "reload".


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12999 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-28 01:18:02 +00:00
samuncle
07f9e39680 Remove an old debug printf
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12998 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-28 00:08:41 +00:00
hikerstk
674be5b6d0 1) Fix #1011 by re-implementing the bubblegum not as a
damping of velocity, but as a max_speed restriction.
2) Bubblegum parameters are now fully configurable in
   stk_config.xml.
3) Apply slowdown fraction also to speed increases
   (e.g. previously a max speed of 23 with a zipper
   giving a 15  additional speed with a slowdown of
   0.3 would end up as: 23*0.3 + 15 = 21.9.
   Now it is (23+15)*0.3 = 11.4. While this was done
   mainly for bubble gums, it can affect other items
   as well.
4) Used bubblegum as one word consistenly in variable
   names and xml files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12995 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-27 22:25:36 +00:00
samuncle
ee856d6a9b Add and effect when the kart jump and land. To be improved
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12988 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-27 00:56:04 +00:00
curaga
9ddeac772a Likewise for userconfigparams
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12986 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-26 13:32:02 +00:00
curaga
ead8c059cb Remove some unused irr_driver includes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12985 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-26 13:31:38 +00:00
hikerstk
f147d8e662 Added some (experimental) leaning for karts driving fast in
a curve. Feedback welcome (note many karts have some leaning
in their animation, best use a kart like suzanne which doesn't
do that).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12984 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-26 11:00:53 +00:00
auria
524c0c6a59 Add shortcut to easily test swatters
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12982 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-26 01:23:26 +00:00
auria
50d62cc103 Minor clarification in challenge dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12981 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-26 01:23:05 +00:00
auria
901bde8db3 Fix ticket #809
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12977 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-25 23:44:57 +00:00
samuncle
55edd4d38b Now each items that explode had it's own explosion
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12974 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-25 10:52:37 +00:00
hikerstk
cceed70e09 Fixed another compiler warning - hope I didn't break anything.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12971 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-24 23:09:39 +00:00
auria
15cebefa34 Fix reloading addons, ticket #854
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12966 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-24 19:11:44 +00:00
auria
8c07a80162 Convert explosion from hardcoded particle system to our current XML system
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12964 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-24 18:40:30 +00:00
hikerstk
4b81118cdc Updates VS project files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12960 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-24 06:13:44 +00:00
hikerstk
5595882cbd Updated VS9 project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12958 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-24 03:57:33 +00:00
hikerstk
47f27a4ea9 Fixed more compiler warnings (and added a const).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12957 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-24 03:56:50 +00:00
hikerstk
cfb60ba114 Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12956 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-24 03:56:19 +00:00
auria
4039b9a7ef Apply patch by xenux to replace the text rating with star icons. Thanks\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-24 00:34:38 +00:00
samuncle
31bab05953 Small bug corrected for the new nitro
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12951 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-23 23:15:07 +00:00
auria
31c148752b Remove useless logging
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12950 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-23 22:40:18 +00:00
auria
ddec322a01 Improve error reporting
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12949 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-23 22:40:04 +00:00
samuncle
416a05ec39 Improved nitro. Now we have a nice smoke :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12939 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-23 20:40:46 +00:00
samuncle
ac79047804 Nitro effect improved
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-23 19:19:23 +00:00
samuncle
a6d3b2019b Now skidding's particle are just under wheels
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12921 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-23 13:42:08 +00:00
curaga
f54b10ccd5 Less load-time flicker
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-21 08:20:12 +00:00
curaga
454fef7fe4 Fix crash when closing window in the middle of a race
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12911 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-21 08:19:17 +00:00
auria
2f18766b09 As was suggested some time ago, in nitro challenges, replace 'Go' with 'Collect nitro', since not everyone reads the dialog to know what they have to do before launching the challenge ;) and this causes much confusion
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12898 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-20 00:40:03 +00:00
auria
1bbab17913 Fix assertion failure at end of challenges
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12897 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-20 00:31:31 +00:00
auria
16dcb4f38b Lock the highest difficulty until the game was beaten
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12891 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-19 23:21:22 +00:00
auria
2c336bb89e Tweak GP-win message to be more accurate
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12890 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-19 22:27:50 +00:00
hikerstk
5e5356c005 Fix #989: be able to use other devices than mouse for the
addons loading menu. THanks to xenux for the patch.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12885 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-19 09:14:10 +00:00
hikerstk
088fd6edd5 Removed unused m_previous_finish_pos in KartStatus (#980).
Atm the start position in a GP is determined by the overall GP rankings.
The variable m_previous_finish_pos was meant to be used when using
only the previous race position to determine the order. Since no one
complained about the way it is now, I just removed this variable.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12879 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-18 08:44:11 +00:00
hikerstk
2695639421 Cosmetic change only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12878 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-18 08:39:45 +00:00
hikerstk
fc12f317e3 Fixed bubble gum skid marks which could be in the air.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12860 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-13 23:19:20 +00:00
hikerstk
3c2846d48e Added support for specifying the 'time' for waves, since the old way
of using 'speed' it is very hard to make sense of the value (2*pi*speed/1000
= time in seconds). This still needs to be supported in the exporter though.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12859 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-13 10:49:14 +00:00
hikerstk
637dbf043f Fix #199: speed of 0 makes water disappear.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12858 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-13 07:38:57 +00:00
auria
485551aa89 Apply patch by KroArtem to fix minor issues : unused variables and other minor warnings from cppcheck, crash when launching from terminal with AI karts in a mode where AI is not supported
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12857 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-09 20:04:07 +00:00
hikerstk
a529a07c99 Fix #981: karts are sometimes rescued when restarting, or facing the
wrong direction. Reason was an incorrect rotation in the projection
code. Instead of fixing it, I let the kart fall a little bit, so the
code is now correct, much easier to understand, and the bounce after
a reset fits the game imho.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12852 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-06 23:08:52 +00:00
hikerstk
fef4d10c7b Cosmetic change only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12850 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-06 22:07:41 +00:00
hikerstk
c532c9d175 Updated VS2010 project file, thanks to yasin.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12847 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-03 21:53:46 +00:00
auria
95c099137b Remove accidentally introduced tabs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12844 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-02 23:53:10 +00:00
auria
d052ff36d1 Apply patch by xenux to correctly place focus when navigating addons screen with gamepad. Thanks!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12843 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-02 23:51:12 +00:00
curaga
5b330aa0e4 On modern hw, you do want to always clear at the start of frame.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12842 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-02 10:34:32 +00:00
curaga
97b5069c39 Bind wireframe mode to the home key
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12841 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-02 10:24:41 +00:00
curaga
304dceae8c Add a common GLSL check.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12836 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-01 11:01:59 +00:00
hikerstk
5513ca08cb Applied mpujari80's patch to fix vs12 compilation - thanks!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12835 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-01 10:43:34 +00:00
curaga
769e093ae2 Fix linux build from 12832
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12834 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-01 10:31:27 +00:00
curaga
3e1843b129 Using namespace irr, so use it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12833 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-01 10:11:43 +00:00
hikerstk
9787cb84cc Reverted r12826, since I prefer to have the core:: etc in place (to help
new developers in identifying where things are coming from). So instead
I removed the namespace statement, and fixed up all other references.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12832 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-01 10:04:48 +00:00
auria
4d1cc7a770 Add asserts to try catching bug #923
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12831 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-01 00:25:12 +00:00
auria
8745306354 Try to fix bug #972
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12830 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-31 23:48:51 +00:00
curaga
c80a679f37 Make sure exit() is available on newer gccs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12829 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-31 14:17:08 +00:00
curaga
ed9b4db88d Remove a no-op test
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12828 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-31 14:15:50 +00:00
curaga
a6a2ec66d4 Make fatal fatal
Removes a lot of duplicated code.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12827 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-31 14:09:39 +00:00
curaga
c06125b392 Clean irr_driver up - the namespaces are being used for a reason ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12826 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-31 14:08:30 +00:00
curaga
ef9a1e78eb Only the GL driver is supported.
DX hasn't worked in months, SW are not worth their LOC, and NULL is pointless with 
--no-graphics.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12825 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-31 14:07:43 +00:00
hikerstk
366f8cd6b1 Cosmetic changes only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12824 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-31 06:26:47 +00:00
hikerstk
c42804dae5 Renamed parameter va_list, since va_list is reserved (which caused
compilation errors on VS).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12818 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 23:18:01 +00:00
curaga
57c3cbae3e Space cleanup pass on the headers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12817 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 19:47:39 +00:00
curaga
c5bb98d1e4 Remove couple unused variables, mark some per-file vars static
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12816 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 19:28:48 +00:00
curaga
be1c3de2fb Define va_copy on windows. Untested, no windows here.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12814 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 15:18:50 +00:00
curaga
8c44958e5a Re-try the logging fix
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 15:05:29 +00:00
curaga
5256d568e3 Fix a possible crash
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12812 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 13:27:02 +00:00
curaga
49cd57fbd9 Inline functions may complicate passing va_lists around, as they can be stack offsets.
See http://julipedia.meroh.net/2011/09/using-vacopy-to-safely-pass-ap.html


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12811 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 12:52:14 +00:00
curaga
b8cc3217d2 Fix an inefficiency in listing. Using std::string here allocates memory needlessly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12810 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 12:37:59 +00:00
curaga
7986aa66de Fix logging crash, using a va_list twice.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12809 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 12:35:41 +00:00
curaga
007bbacf5f Fix the --list options, broken by the file logging (we _want_ them to console)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12806 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 11:24:39 +00:00
curaga
1c48d76343 Some const & visibility fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12803 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 10:19:55 +00:00
hikerstk
bc7d8df200 Fixed split-screen camera bug: when one kart's camera went into
'falling' mode, all cameras would go into falling mode.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12800 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-29 23:45:28 +00:00
hikerstk
717e0e2992 Fixed installation (the desktop entry still used --log=file
instead of --no-console), fixed help text for --no-console as well.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12799 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-29 23:44:28 +00:00
auria
ee9229f570 Apply patch by KroArtem to prevent being stuck with a bomb when playing with 2 players
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12798 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-29 23:29:37 +00:00
curaga
b56bf4dc53 Remove trailing space, git doesn't like it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12797 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-29 22:04:35 +00:00
curaga
9f8996727d Test commit, changing a comment
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12796 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-29 21:51:08 +00:00
auria
ab2c534b36 Apply patch by KroArtem to correctly focus a widget inside the dialog, thanks!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12794 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-29 00:16:35 +00:00
hikerstk
6e00d4e141 Fixed compilation errors and warnings on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12791 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-28 06:21:41 +00:00
auria
d0c2339915 Apply patch by KroArtem to prevent starting the tutorial from inside the tutorial, thanks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12790 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-27 23:23:40 +00:00
hikerstk
bb1b18f602 Fix #974: space in screenshot file names. Thanks to curaga for the patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12789 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-26 13:32:26 +00:00
unitraxx
ad3bf48b0d Small change to the checking of a saved GP. (First commit, don't shoot me if I did anything wrong.)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12788 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-26 00:31:22 +00:00
auria
76532a81b5 disable fog on track selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12787 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-25 23:41:54 +00:00
auria
b4b11fa3fc Apply patch by belphegorr to fix nitro target
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12785 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-25 23:14:57 +00:00
mbjornstk
997ade4542 Update build system for GP saving.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12784 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-25 22:56:08 +00:00
hikerstk
c144d0a932 Fix #963 (replace printf), thanks to m0leman.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12783 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-24 23:51:08 +00:00
hikerstk
b3e7a7ebbf Applied Unitraxx's patch to save GP. At this stage no GUI support
was added.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12782 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-24 23:38:26 +00:00
hikerstk
7ac899ade7 Refactored wiimote handling, splitting into two separate files.
Also added non-threading support (while it is too slow/too high
latency it's useful for debugging).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12781 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-22 11:28:57 +00:00
hikerstk
e45f728008 Applied mpujari80's patch to fix vs12 compilation - thanks!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12780 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-22 11:09:43 +00:00
hikerstk
7460418153 Code cleanup: renamed kinetic to 'is_dynamic' in order to follow the categorization of
different rigid bodies in bullet. Some layout fixes, removed unused or unnecessary
functions and constructors.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12779 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-19 22:02:34 +00:00
hikerstk
3bbb6b30f3 Fixed performance bug: static objects were created as dynamic rigidbodies, causing
constant collisions.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12775 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-16 23:40:39 +00:00
hikerstk
f3e9520339 Renamed 'back to track selectin' to 'back to challenge selection',
which (imho) describes a bit better where this goes to. Removed
"Setup New race" when selecting a challenge from the overworld, since
it is confusing to come from the overworld and end up on the game
mode selection screen.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12774 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-16 06:53:01 +00:00
hikerstk
6d097b6ad5 Added --wiimote-debug command line option to print raw values read
from a wiimote.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12773 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-16 06:50:41 +00:00
hikerstk
879e0248aa Moved handling of fire from controller into kart, so now all
events in the KartControl structure are handled by kart.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12772 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-16 01:08:55 +00:00
hikerstk
2a0e456dbf Fixed wiimote handling on OSX.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-15 12:22:16 +00:00
auria
e74821e053 Still a bit more materials cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12761 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-14 23:46:52 +00:00
auria
568c96648f More material cleanup, move splatting where it belongs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12759 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-14 23:04:48 +00:00
hikerstk
40c02fba2e Fixed #973: the main track mesh added to the bullet physics twice, since
the index 'main_track' was set at the wrong location (before the main
track was loaded, see r9757). Also removed unnecessary loop when reading
track.xml files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12756 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-14 13:53:43 +00:00
funto66
5dfa231a23 Added Visual Studio 2012 project files - but I got it to compile only for the "debug" target! That should hopefully become obsolete if we switch to a full CMake-based build system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-14 11:16:13 +00:00
auria
9625eb58e3 Move sphere mapping in the GFX dropdown along other effects, no need for it to be a checkbox, especially since it can't be combined with others anyway
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12754 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-13 23:53:22 +00:00
auria
4d6e45ce00 Rework a bit material panel. For some reason, the flag that tells STK to produce a water splash upon collision was placed in a dropdown among a bunch of shaders... Left old settings in place for backwards compatibility for now, some day we can remove them
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12750 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-13 23:21:57 +00:00
hikerstk
1003e49984 Fix #969 - honk sound played when last item is fired. Thanks to unitraxx.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12748 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-13 23:20:42 +00:00
hikerstk
0149544763 Fix #966: replace printf, thanks to muditjaju.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12742 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-12 22:04:26 +00:00
hikerstk
6517830538 Fixed crash caused by new grass shaders (SHADER_COUNT was incorrect),
changed array of pointer to a std::vector to track this kind of
problem earlier. Renamed Shader constants to have a common
prefix to make it easier to see that they are all related.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12741 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-12 12:15:45 +00:00
auria
9a17110f33 Introduce a bit of random in grass
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12739 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-12 01:02:07 +00:00
auria
f1fe3e3428 Fix speed being computer per instance in grass shader
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12738 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-12 00:59:05 +00:00
auria
3b20637b48 Make grass speed and amplitude configurable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-12 00:14:53 +00:00
auria
3eb6c034d0 Add grass shader for samuncle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12730 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-11 23:09:03 +00:00
hikerstk
da9d75bbae Re-enabled windows console in debug mode - it's just handy to have ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12727 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-10 23:19:36 +00:00
auria
ad153aa14e Make Nolok boss a little harder. To make it a real fight though the AI will need to stop falling into lava
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12725 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-05 19:59:59 +00:00
hikerstk
47675eac1f Fixed #951 - use Log:: , thanks to alasin.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-03 07:07:19 +00:00
hikerstk
7ab65aee16 Fixed #879: avoid too many basket balls at the same time by introducing
a minimum amount of time (atm 15 seconds) before the next basket ball
can be found. Thanks to nixt for the patch.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12722 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-03 06:48:47 +00:00
auria
81378440ba Apply patch by Slagvi to make sure the last used kart is not locked
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12719 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-01 21:41:51 +00:00
hikerstk
e362700a22 Fixed double newline added on console output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12718 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-01 00:49:21 +00:00
auria
0ace825d5f Apply patch by Uni_ to fix error reporting when downloading an addon fails. Thanks\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12716 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-30 23:17:46 +00:00
hikerstk
09173c479a Fix linux compilation error.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12715 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-30 22:18:01 +00:00
hikerstk
e99e944f9b Fix #942. Thanks to hilnius.
(note I modified the original patch, and had no opportunity to verify it
again on linux. If it doesn't work, blame me, not hilnius).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12713 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-30 07:17:02 +00:00
hikerstk
eaed4f1acd Fixed #944: Fixed coding style, added docs.
Thanks to quentin-bellay.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12711 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-29 06:50:23 +00:00
hikerstk
2a0909c2a9 Fixed #950: "Add a build-time check that the irrlicht lib meets minimum requirements"
Thanks to curaga.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12709 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-28 22:20:42 +00:00
hikerstk
0d02f21e04 Fixed #949: Using Log:: in addons_manager. Thanks to alasin.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12708 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-28 22:14:45 +00:00
hikerstk
52a094ea10 Minor code style change.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12695 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-24 06:09:51 +00:00
hikerstk
a6223250db Fixed #943 - replaced printf with Log - thanks to pkucoin.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12691 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-23 11:06:50 +00:00
hikerstk
b5c90675d9 Fixed #941: highlight nitro bar when nitro is used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12690 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-23 07:02:46 +00:00