Commit Graph

4359 Commits

Author SHA1 Message Date
hikerstk
f84fa63bb0 Updated VS9 project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7670 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-10 05:12:08 +00:00
auria
329a66437d PerCameraNode now works fine (wanring: evil dark magic in use)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7669 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-10 02:48:25 +00:00
auria
2f2b18df33 Add PercCameraNode, use it for rain. Sadly the results atm are weird, I need to investigate...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7668 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-10 01:56:52 +00:00
hikerstk
240d39636c Added support for 'graphical' meshes - atm mostly for water surfaces
(and below water meshes), so that water splashes can be displayed at
the proper position (not used atm).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-09 21:56:44 +00:00
hikerstk
75d757d411 Removed unimportant messages (item messages), some code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7664 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-09 21:45:30 +00:00
mbjornstk
166512282d Add premultiply (tested) and de-premultiply (untested) code in texture loader.
All disabled and requiring integration with a setting in materials.xml
(rgba-transform, eg).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7661 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-09 01:38:27 +00:00
auria
c55a3e181c fixed rain not being cleaned up properly
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-09 00:51:17 +00:00
auria
9a88ea9c6a Update Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7659 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-09 00:49:26 +00:00
hikerstk
7bfcdc56b4 Updated vc9 project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7657 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-08 13:21:17 +00:00
hikerstk
8ab10035a1 Updated VS10 project file, and started to add minimal race gui.
This was only committed early to update the VC10 project file.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7656 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-08 12:59:32 +00:00
hikerstk
92312fa261 Added FIXME to describe odd crash in VS release mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7653 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-08 00:21:02 +00:00
hikerstk
3bf48d9567 Renmaged getKartTransform to getAlignedTransform (which
describes better what this function does).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7652 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 11:28:46 +00:00
hikerstk
700093eb4d Added FIXME for addons manager.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7651 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 11:25:37 +00:00
hikerstk
27a5acc707 Updated VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7650 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 11:24:38 +00:00
hikerstk
e879ef5cc3 Fixed Windows compilation (M_PI not defined in VS), some
minor cosmetic changes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7649 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 11:14:52 +00:00
hikerstk
27666a7bc9 Fixed aiming problems with items (cake, plunger etc).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7648 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 08:22:04 +00:00
mbjornstk
95dfe3ed66 Raise rain cylinder from 3 to 5, so the kart and camera are under rain too.
Things to do would be adding constant wheel splotches and maybe a fixed plane
in front of the camera to darken/reduce contrast everywhere and give it a wet
look (or change the materials to be darker & shinnier, but karts' textures...).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 03:29:55 +00:00
auria
0e38088d84 disable Z buffer write for rain, will avoid some potential issues
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7646 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 02:55:46 +00:00
auria
42f279aa53 Fix another embarrassing compilation issue, arrrg -.-
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7645 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 02:52:19 +00:00
auria
b4a21f4235 Fix embarrassing compilation issue
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7644 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 02:50:16 +00:00
auria
d561ce384b Corrected another case where insertValues would fail (why does it like core:;stringw but not wchar_t*?)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7643 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 02:49:40 +00:00
auria
238f572c36 Say hello to the new rain, one that is much, much less CPU and GPU intensive. Joerg: sorry, you will need to modify the exporter again, since now we need support for some built-in weather types, which use a different XML syntax than particles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7642 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 02:45:32 +00:00
auria
f48a82d2d4 fixed several failures of StringUtils::insert, I have no idea why they failed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7641 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-06 23:44:17 +00:00
auria
752006e1bb Fix crash with particles on resolution change
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7639 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-06 15:30:43 +00:00
hikerstk
3914c010f7 Disabled debut output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-06 06:57:31 +00:00
auria
2366edc0ab Typo fix
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7634 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-06 03:01:07 +00:00
auria
896e2664fc Fixed track names not being translated on live language switch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7633 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-06 02:59:19 +00:00
auria
a580f413e3 Fix kart names not being translated on live language switch + correct more RTL issues I found on the way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7632 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-06 02:49:45 +00:00
auria
8b9a9677fe Fixed some font centering issues during live switch between RTL and LTR languages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7631 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-06 02:11:57 +00:00
auria
b62cf339cb Use irrlicht's 1.8 RTL support if 1.8 is the verison being used
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7630 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-05 20:47:09 +00:00
hikerstk
dc07415ee3 Added support for cylinder shaped physical objects (might be a better
match for the pots in hacienda).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7629 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-05 13:39:42 +00:00
hikerstk
4f34ccd2e2 Added initial rotation of physical objects.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7628 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-05 13:22:00 +00:00
hikerstk
f392d5f6fe Support for weather effects stored in a separate xml node (track format 5).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7617 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-05 02:51:56 +00:00
auria
f3663e4f90 Prevent guest account from being selected by default
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7616 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-05 01:56:18 +00:00
hikerstk
967a9223fb Added support for animated textures on water scene nodes (the track
exporter still needs support for this).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7614 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-04 13:38:38 +00:00
hikerstk
7b09afcb24 Added version number to challenges (I replaced all Challenge
declarations with ChallengeData - I don't see a good
reason to keep both classes).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7610 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-04 10:53:58 +00:00
hikerstk
4d8ecb3612 Updated project files for VS 10.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7609 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-04 08:36:28 +00:00
hikerstk
b84df65e94 Replaced tabs with spaces, fixed windows compilation (though live language
switch still doesn't work).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7608 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-04 02:07:39 +00:00
hikerstk
ade507a369 Fixed language changing on linux (putenv does not copy the environment
variables, so the setting got lost, so I replaced this with setenv.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7607 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-04 01:59:00 +00:00
auria
380d7d3ed2 Fixed emitters not being removed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7605 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 22:55:46 +00:00
auria
000f95d52f Update Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7604 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 22:48:46 +00:00
hikerstk
5b6101980e Used const & to avoid copying of vectors, minor cosmetic changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7603 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 22:39:30 +00:00
hikerstk
4d8b8e5dea Renamed ptr_vector to PtrVector so that is follows
our naming convention, also changed contentsVector
to m_contents_vector, and removed unused add method
(which is using an iterator, which would not work
when using aligned_arrays on windows anyway).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 22:20:53 +00:00
hikerstk
95a7e5c125 Added smoothing of normals for raycast wheels, but disabled for now (since
the normals of some tracks need to be fixed).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7600 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 21:06:50 +00:00
auria
107f479e87 Don't use particles when GFX are off
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 03:10:44 +00:00
auria
aa9068070d Demonstrating the new particles : fire effect in crecent crossing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7597 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 03:02:50 +00:00
hikerstk
5931ddbe56 Hopefully fixed swapped axis for particle emitters.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7595 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 02:46:25 +00:00
auria
f015f532c2 removed debug code I should not have comitted
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7594 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 02:31:14 +00:00
auria
c415ad12e6 Fixed crash when particles not found
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7593 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 02:23:04 +00:00
auria
7f7cce4186 Fix potential issue with translations : I was changing the label in a button. In english it so happened that the second label was shorter than the first so it fit; but this is not the case in all translations. So when changing the button label, make sure the button is large enough to display the new string
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7592 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 00:52:42 +00:00
auria
9b7fdf3b5b Fixed wrong label shown in button if editing a keyboard after editing a gamepad
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7591 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 00:27:30 +00:00
auria
69d8c82c91 Add another missing call to fribidize
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7587 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 23:46:50 +00:00
auria
958cd865fe Enhance the feature to hide race GUI so that it now also hides karts; useful to take track screenshot
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7586 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 23:33:13 +00:00
auria
ecbe9c8bf3 Minor fixes to Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7585 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 23:32:50 +00:00
hikerstk
ac80387d20 Fixed removeDirectory function on windows.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7584 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 23:13:29 +00:00
auria
11acadafdf Update Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7582 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 22:47:19 +00:00
hikerstk
6676723574 Fixed compilation problems on non-windows platforms.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7581 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 22:26:01 +00:00
hikerstk
96300b062c Fixed compilation bug on non-windows machines.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7580 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 22:15:01 +00:00
hikerstk
4ab6331ff4 Update to bullet-2.77.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7579 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 22:04:13 +00:00
hikerstk
bdefd9f7b3 Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7578 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 10:24:56 +00:00
auria
040ad4d692 Fix my ugly 'tab' hack in the string renderer so that the results are better in RTL languages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7577 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 00:42:57 +00:00
auria
3307b5a7f0 Fixed RTL glitch, GP tracks names were not passed into fribidi
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7576 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 00:20:28 +00:00
auria
a28d92c76b Properly center dizzy stars
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7575 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 00:10:24 +00:00
auria
af0c9cde5e Fix smoke appearing at (0,0,0) when karts drive on non-textured quads
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7574 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-01 23:32:59 +00:00
auria
0e58903fa8 Allow custom particle effects to be found in the same directory as the current track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7570 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-31 02:46:18 +00:00
auria
ab5c3b43d7 Add support for full particle emitters anywhere in track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7568 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-31 02:27:19 +00:00
auria
1f9f570222 Added missing call to fribidi
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7550 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-26 22:58:36 +00:00
mbjornstk
58cdbb5ffb Increase ignored FPS reports, otherwise minFPS is useless in slow computers.
What matters is the min and max FPS while gaming, start up is not so important.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7549 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-26 22:45:08 +00:00
auria
f71b7437b7 Name cameras in debug mode, useful to debug particle effects (which need to be camera-specific)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7547 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-25 17:05:10 +00:00
auria
e6c4797795 Fixed glitch if one player joined after other had already confirmed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7546 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-25 16:54:15 +00:00
hikerstk
b7bf16a5f8 Zippers are now stored as their own node, and not as
attributes only. Track version number was increased to
4, but old version 3 tracks can still be read.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7542 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-25 09:29:27 +00:00
hikerstk
ce2e997ab4 Fixed saving of which addons are installed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7539 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-25 07:13:21 +00:00
hikerstk
66a9769a14 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7536 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-25 02:25:11 +00:00
hikerstk
b638af4d0e Fixed typo.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7535 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-25 02:24:31 +00:00
hikerstk
235fd83cdc Fixed crash in AI controller again - third time or so (thanks to acme_pjz).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7534 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-25 02:23:53 +00:00
hikerstk
e4b86ffc5d STK would hang if the user quits before the network_http object
was fully initialised (the separate thread did not test for
m_command==HC_QUIT before the cond_wait, and if the signal had
already been sent, the thread would not come back from the wait,
causing STK to hang).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7532 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-24 22:51:58 +00:00
hikerstk
67f33edbeb Fixed 3164026 - lap not counted in snowmountain: when a kart was rescued
it would be set to the last valid sector, and the lap count to the last
valid lap count. If the kart triggered a lap count while being off
track, the lap count would be decremented, but the lap line is already
deactivated, so it would not count again. Since the last valid lap count
was stored to solve an old problem (being reset to before the lap line
would count the lap again), and this is not necessary anymore, the whole
storing of last valid lap was removed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7529 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-24 20:33:14 +00:00
hikerstk
a72c9a5f91 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7523 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-24 05:29:16 +00:00
auria
9c979bc753 The language selection popup shouldn't require add-ons to be enabled
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7521 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-24 02:03:10 +00:00
auria
52811d8752 Use a single menu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7520 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-24 02:01:18 +00:00
auria
9421df49ad Hide input device badges when in single-player mode since the player can use all of them
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7519 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-24 01:44:07 +00:00
auria
368a7ebd13 In single-player mode, the user can now use all input devices
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7518 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-24 01:41:55 +00:00
auria
987d4ebd3f Fixed other warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7517 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-24 00:59:38 +00:00
auria
e1eb3ec1e7 Fixed warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7516 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-24 00:58:54 +00:00
hikerstk
8a24515cff Fixed crash in fribidi (if fribid was not used, a pointer
to a temporary string was returned).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7515 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-24 00:46:31 +00:00
auria
4b3c1fa16d Remove old vararg style, the new one works just fine
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7514 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-24 00:28:23 +00:00
hikerstk
cb1342e449 Fixed compilation errors, but code still crashes on VS ... work in progres!!!!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7511 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-24 00:18:26 +00:00
auria
84fcc8f1b0 Prevent some strings from being flipped twice in fribidi
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7509 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-23 23:47:39 +00:00
auria
009960fc8a Clean up call to fribidi, add capabilities to insert values to the _ macro
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7508 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-23 23:39:10 +00:00
hikerstk
b242ee7abc Removed hack to reverse 'i%' output from bidi, since a better
solution appears to exist.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7507 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-23 23:10:26 +00:00
auria
2abcee3f8f More cleanup and simplification in kart selection screen to make it less loaded
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7506 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-23 22:11:43 +00:00
auria
e9c036b957 Started implementing tweaks to multiplayer menus, which hopefully will make split-screen more user-friendly
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7505 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-23 21:40:19 +00:00
auria
073757f53e Fixed gamepad glitch I introduced
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7504 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-23 21:04:36 +00:00
hikerstk
6eddb2baf9 Added proper aborting of curl download threads.
Print warning and progress reports only with
verbosity 3 or above, all addons messages now
start with [addons].


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7503 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-23 04:24:55 +00:00
auria
d8b04b2338 use smaller font in split screen mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7502 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-23 03:07:30 +00:00
auria
0d5c243b38 Hide bottom messages in split screen mode, we just don't have enough screen space
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7501 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-23 02:57:50 +00:00
auria
6277443146 Work around to prevent clicking through lang popup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7500 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-23 02:51:28 +00:00
auria
f0369ad670 Fixed wrong item being focused when selecting random track then pressing escape
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7499 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-23 02:48:46 +00:00
auria
7b1bb38b9f Taking inspiration from Grumbel's bug report, ignore all gamepad axes that always remain on their original value (even if this original value is maximum). This should fix several issues with bogus axes (especially on Linux) and as far as I can see doesn't have any ill effect
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7498 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-23 02:35:48 +00:00
auria
004d877365 Fixed case issue in OSX Info.plist
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7497 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-22 16:22:04 +00:00
hikerstk
36782958a2 Don't allow slipstream if one kart is much higher than the other
(i.e. on a bridge). Previously only the 2d projection was
considered.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7496 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-21 05:41:10 +00:00
mbjornstk
015443f582 Set props as per SVN-CONFIG for .[ch]pp, AKA SVN props clean up day. :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7493 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-21 01:54:38 +00:00
hikerstk
aa0e75d1f4 Don't allow slipstream if the kart ahead is being rescued/exploded.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7491 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-20 06:14:32 +00:00
mbjornstk
0cb39ad40c Fix typo in string and shorten other to fit console.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7490 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-20 03:13:57 +00:00
auria
183d7482e7 Improve lang popup behavir, do not close when moving mouse to scrollbar
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7489 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-20 03:03:47 +00:00
auria
8064063796 Offer limited kart animations mode in GFX choice
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7488 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-20 02:49:36 +00:00
auria
f774aef2c4 Add animation setting middleground : only human players karts are animted
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7487 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-20 02:43:32 +00:00
hikerstk
4f9fcf0a9b Fixed bug for RTL languages.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7486 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-20 02:41:04 +00:00
hikerstk
ef35dfc72e Fixed special formatting sequences (e.g. %i, $1$s)for RTL languages (bug 3159482).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7485 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-20 01:55:30 +00:00
aeonphyxius
c797bbe757 CoceBlocks / Linux project update.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7484 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-19 14:56:06 +00:00
mbjornstk
43d9b4d961 Set fog flag when switching items, otherwise they reappear fully visible.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7483 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-19 01:51:30 +00:00
hikerstk
a6b2fe443d Fixed incorrect rotations of bubble gums after a switch (bug 3155867).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7482 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-19 00:28:35 +00:00
aeonphyxius
2fd0ee3978 loading from file, tutorial details. working on it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7481 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-19 00:12:09 +00:00
hikerstk
37d285f06c Don't aim at karts that have the star effect active.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7479 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-17 21:28:58 +00:00
hikerstk
af641ae196 Bowling balls will now bump off karts that have the star effect shown,
and not explode anymore.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7478 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-17 21:21:47 +00:00
hikerstk
e7edf7875c Remove bomb (and other attachments) if a kart explodes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7477 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-17 21:20:18 +00:00
hikerstk
43af75f8da Better error message in case of uninstalling an addon.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7469 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-17 06:07:49 +00:00
hikerstk
6278343553 Handle incorrect zip files better.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7468 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-17 06:06:54 +00:00
hikerstk
a4ee467c49 Started to add some error handling, fixed handling of zip files
with directories in them.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7467 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-17 05:44:33 +00:00
hikerstk
80c85a7bb8 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7466 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-17 04:05:35 +00:00
auria
cf751ab11a Extend RTTI provider to not hardcode scaling of meshes + fix warnings when hovering locked karts + when hovering locked kart, display locked feature chest
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7463 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-17 02:58:32 +00:00
auria
685cbd1c14 Move particles into a new subdirectory
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7460 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-17 01:04:23 +00:00
auria
e0f27de3d1 Improve res selection, namely always show the current resolution in the list even if it's not detected by irrlicht; + always display a few basic resolutions, we got reports that on some systems no apprpriate resolutions were offered for windowed mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7459 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-17 00:50:07 +00:00
auria
ca7cb3a7d5 Suppress the (harmless) event dispatcher warning on kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7458 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 23:20:23 +00:00
auria
5f00504818 Don't crash when particle files are not found
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7455 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 20:42:04 +00:00
auria
78370b27ad Make file manager a bit less verbose, it's normal that createXMLTree does not always find the file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7453 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 19:42:52 +00:00
auria
6fa952766b Make abstract state manager more consistent; previously, some methods would always log, others never. Now use the logging level setting uniformly
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7452 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 19:38:59 +00:00
auria
66e5d396bf Make 'guest' translatable again, fixed chicken-and-egg issue with initialisation order
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7446 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 16:56:21 +00:00
auria
af48c54926 Add I18N comment
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7444 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 16:34:37 +00:00
hikerstk
485d6bc045 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 10:31:37 +00:00
mbjornstk
341862bdcf Add {} to make compiler happy about switch/case.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7441 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 02:35:13 +00:00
auria
7e9f6b5b20 Correct bug I introduced in XML reading, sorry
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7436 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 01:49:49 +00:00
auria
bf0743b354 Restored line that was accidentally removed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7434 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 01:28:25 +00:00
auria
17a0f09296 Fixed a few more uses of atoi
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 00:25:21 +00:00
auria
24d0d549ba Improve error handling in XML classes (namely, atoi must die) since I was bitten several times now by insufficient error handling. Also set up base architecture to support the new gfx mode 'my kart is animated but not Ai karts', though it doesn't work atm for the simple reason that at the time the model node is created we do not yet know if the kart is player or AI...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7432 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 00:06:59 +00:00
auria
8d05042376 More improvements to lang menu, namely select the proper entry when opening
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7431 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 21:57:14 +00:00
auria
28db1165b1 Remember language selection in user config + fix a few language menu glitches
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7430 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 21:49:15 +00:00
auria
5076006d34 Fixed compilation on some systems
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7429 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 21:28:25 +00:00
auria
5f4e34328b Retrieve language list by scanning the /data/po dir
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7428 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 21:20:10 +00:00
auria
9dc6c082d3 Fixed compilation. Oops\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7427 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 20:56:14 +00:00
auria
a774bb8a9b Properly align text in bubbles when language is RTL
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7426 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 20:53:13 +00:00
auria
bba25d6ee2 First drafts of a language selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7424 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 20:49:32 +00:00
xapantu
06903fdeb0 Enable alpha for the bottombar, it caused a glitch here (ok, maybe the problem is my graphic card/driver :/), just revert if there was a reason :) (like performance issue?)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 15:26:15 +00:00
auria
ec543ae213 Added the necessary code to handle switching language live at runtime (not yet accessible in a nice way from the user interface, this will need to come later)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7420 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 03:07:42 +00:00
auria
0ffb08e285 Added Dakal's bottom bar to the main menu, looks nice, makes the news message more visible, and also I'll probably add some more stuff there
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7419 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 02:25:59 +00:00
auria
57da8905f5 Improved GFX level slider
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7417 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 01:44:51 +00:00
hikerstk
b6ae3a86a4 Enable fribi for all configuration, hopefully fixed
all issues with executable not being able to be run
in VS.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7415 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 11:06:04 +00:00
hikerstk
0fb5f93453 Tried to overlay/replace the install button with the progress bar,
but that doesn't work properly at this stage. Auria, any ideas?


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7414 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 06:13:20 +00:00
mbjornstk
70be2dc965 Add --weather=0 (or 1) parameter to set weather effects.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7413 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 04:05:46 +00:00
mbjornstk
d62816117a Fix r7411 typo here too.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7412 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 03:41:52 +00:00
mbjornstk
634ba9fc94 Fix typo, it should say weather.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7411 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 03:40:26 +00:00
auria
7ae7fb5dfd Added GFX level slider in options + spell wheather correctly in options...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7410 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 03:10:04 +00:00
auria
4396695920 Add a new config option for wheather effects (notm accessible in GUI yet)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7409 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 02:52:22 +00:00
hikerstk
2ebedd24ee Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7408 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 02:36:18 +00:00
auria
404bb88703 It now rains in lighthouse :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7406 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 02:27:14 +00:00
hikerstk
68bd15050b Fixed incorrect texture in case of lcoked karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7405 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 02:18:59 +00:00
hikerstk
f629413846 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7404 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 01:43:13 +00:00
auria
f7bcc2a6a5 Add snow flakes to Snow Mountain. Still to be improved
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7403 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 01:31:15 +00:00
hikerstk
dbe6395c1e 1) Changed queue and addon vector to use SynchronisedVector in order
to hide more pthread calls.
2) Started to work on screen layout.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7401 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 00:58:11 +00:00
auria
ab046ac2d1 Fixed water splash that tended to appear at race start
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 00:31:36 +00:00
auria
bf3b23210f Fixed race messages appearing in wrong viewport when playing with 3 or 4 players
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7398 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 00:25:46 +00:00
auria
30e6f2323e Fixed a few displays for RTL
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 00:19:40 +00:00
auria
98cb8b14d9 Correct location of new speedometers when playing with 3 or 4 players
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7396 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 00:07:52 +00:00
auria
70154fabfc Minor: fix rescue when flying
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7395 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 22:13:54 +00:00
hikerstk
c164bfefc0 Added lock and unlock method, plus a method to get
access to the actual data. This allows custom locking
(e.g. a synchronised vector might want a [] and erase
operation to be locked, to be sure to copy a element
before erasing it).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7390 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 06:02:12 +00:00
hikerstk
946526662a Added 'isVisible' method.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7389 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 06:00:19 +00:00
hikerstk
580ab70001 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7388 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 05:45:07 +00:00
mbjornstk
4faa1bac47 Fix comment, it mentioned shadow instead of stars.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7387 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 03:23:07 +00:00
aeonphyxius
840a77ed38 add new tutorial folder and a file containing the configuration
first tutorial configuration file 
Add to file_manager.cpp the method to check the tutorial file
tutorial data, to implement the XML loading

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7386 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 00:27:03 +00:00
auria
f360186b47 No dust particles when no on ground
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7382 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 20:30:32 +00:00
auria
dfb8c25793 Don't animate parachutes if animations are disabled
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7381 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 18:58:38 +00:00
auria
fe9be88c1e Don't switch camera to fall mode if flying
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7380 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 18:58:14 +00:00
auria
7a81498f19 Add gravity to particles, use gravity for water splash + fix camera modes like look back
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7378 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 16:28:25 +00:00
hikerstk
22aad91f66 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7376 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 03:25:33 +00:00
auria
03af38c9b0 Work on water splash effect a bit; only lighthouse was changed for now, we can change other tracks when Joerg modified the track exported. The effect can still be improved of course, I mostly did the basic code aspect
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7375 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 03:01:57 +00:00
hikerstk
e5a5a7dc33 Fixed printing of std::string, replaced tab.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 02:16:34 +00:00
hikerstk
c7b52a99eb Fixed crash in AI controller ... again .. fixed the bugfix for the bugfix *sigh*
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7373 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 23:32:30 +00:00
auria
a1ba3effc4 Add assertion
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 23:27:49 +00:00
hikerstk
2a28fefb31 Support for fribidi version 0.10 added.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7371 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 23:11:02 +00:00
hikerstk
0b6981022f Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7370 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 23:09:13 +00:00
hikerstk
b527abab17 Fixed compilation on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 23:08:27 +00:00
hikerstk
8769fc9492 Properly fixed previous bugfix (RAND_MAX+1 will wrap around on e.g. linux).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7368 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 23:00:30 +00:00
hikerstk
9dde70687f Implemented icon caching, and updated to support the future
web page (unfortunately the web server isn't up to that
standard yet, so expect error messages, addons that don't
work etc.).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 22:49:55 +00:00
hikerstk
3da1080eba Fixed potential crash in AI controller.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7366 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 22:33:45 +00:00
hikerstk
35cf3c7eab Fixed compiler warnings and some minor coding style issues.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 21:11:22 +00:00
auria
225116fb6f Add new option to materials.xml : disable z-buffer writes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7364 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 21:09:00 +00:00
hikerstk
eeafd79995 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 21:06:19 +00:00
hikerstk
6a3269f7d1 Fixed RTL language support on windows 32 (since wchar_t is 2 bytes, but
fribid returns 4 bytes the type cast was incorrect). Also fixed FIXME.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 03:40:27 +00:00
hikerstk
67b827804d Fixed potential crash when starting a GP (accessing a member of an object
after it was deleted).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7359 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 00:57:30 +00:00
auria
79b41ace2a Say hello to the new nitro bar, thanks to Dakal (it only goes up to 16, while old one went up to 20, but I don't think it matters, I never reached 20 in real gameplay anyway)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7351 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 20:08:41 +00:00
auria
a9d7500fe2 Add gamepad visualisation command-line option, maybe can help debug those issues with gamepads stuck...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7350 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 16:49:34 +00:00
auria
372016af58 Fix bug with black spot appearing in nitro particles, caused by incorrect additive blending formula
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 02:54:23 +00:00
auria
4b039f935f Hopefully work around emitter pause bug by removing the emitter when nothing is emitted
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7348 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 01:57:18 +00:00
auria
3efc2a189e Remove debug code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7347 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 01:22:11 +00:00
hikerstk
22d05cdab0 Added fribidi support for release mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7346 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 00:12:46 +00:00
auria
83e4bd054e Fix RTL languages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7345 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-09 23:59:12 +00:00
auria
59b43cdbaf Bugfix : particle emission direction now rotates along the node
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7343 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-09 16:42:52 +00:00
hikerstk
04f007ac97 Added VS 10 project files (atm only debug configuration is fully working).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7341 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-09 09:40:34 +00:00
hikerstk
129f75da4f Fixed compilation problem of non-addon version if no pthread.h
is available.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-09 09:11:24 +00:00
hikerstk
993161e3a5 Updated project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7335 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-08 04:09:37 +00:00
auria
8a3b74a951 Fix smoke particles to not hardcode rate
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7330 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-08 01:49:10 +00:00
auria
ffc6fd299c Allow particles when normal driving
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7329 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-08 01:34:13 +00:00
auria
47add64448 Fix weird opaque particles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-07 02:25:34 +00:00
mbjornstk
e034d1e345 Update with new graphics/particle_kind_manager.[ch]pp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-07 01:51:34 +00:00
auria
9413b7e97e Improve render order of particles. They're still wrong looknig though (WHY?? the same code worked moments ago)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-07 01:37:34 +00:00
auria
9f4e949874 Made per-material particles almost a reality. Sadly now we have terrible problems with irrlicht's render order
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-07 01:32:46 +00:00
magned
18b3c91954 Move all challenge files into one directory. Please tell if any problems occur.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-07 01:16:15 +00:00
mbjornstk
aac10e198d Adjust nitro particles a bit and recover the more solid image.
Emission angle is wrong, it should be kart based but looks world based.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 23:43:06 +00:00
auria
e76aace67c There was a name clash with my new proeprty. Oops\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 23:39:41 +00:00
auria
332209fde8 Support improved syntax in materials.xml
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 23:29:18 +00:00
auria
279e551371 Remove outdated FIXMES + fix possible crash if section is missing in XML file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 21:11:32 +00:00
hikerstk
37b057a60e Removed unused m_abort variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7315 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 20:56:32 +00:00
hikerstk
e7d5b2314a Store icons in addons/icons and zip files in addons/tmp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7314 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 20:50:23 +00:00
xapantu
d6a2eea452 Fix addons path, I removed the 'icon/' +, to have a nicer way to change the path on the server
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7311 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 18:33:28 +00:00
hikerstk
002b9b8311 Bugfix: a dismissed dialog was accessed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7300 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 05:36:48 +00:00
auria
8724502d91 We now have only one spread angle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7298 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 02:47:34 +00:00
auria
4e5e7f96a8 Removed particle visualisation, which was accidentally committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7297 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 02:39:34 +00:00
auria
89346d58f1 Stop using our hack of moving the emission direction around, when you fire lots of particles this hack is very obvious. Use only what irrlicht provides
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 02:37:55 +00:00
auria
4a6793178d Fix bug in emitter visualisation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7295 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 02:00:41 +00:00
auria
1e3515be04 Minor cleanup + add code to visualize emitter
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 01:58:45 +00:00
auria
2847f8527e Now respecting rate in XML file for nitro (Kart was hardcoding rate...)+
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7293 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 01:40:00 +00:00
auria
b6b9f2810d Make more particle parameters configurable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 01:25:46 +00:00
auria
aa6c225684 Fix centering issues
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7291 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 01:06:52 +00:00
auria
3eeca13ce3 Add key to get free nitro + minor tweaks to particle code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 01:01:12 +00:00
auria
cd850cf300 Improvements to particle system, now fade out works as it should \o/
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7288 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 00:07:58 +00:00
auria
052a1664b3 Remove FIXME, add documentation itself, I found why things are like they are
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7287 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 23:49:50 +00:00
hikerstk
4571e76c03 Fixed non-addon compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7286 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 23:38:11 +00:00
hikerstk
fcbd7a4614 Fixed incorrect case of unzipped files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7285 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 23:07:07 +00:00
hikerstk
de50274e96 Fixed crash when installing a new addon.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7284 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 22:20:52 +00:00
hikerstk
a4db783f7e Fixed deleting installed addons.
NOTE: it is still NOT safe to use this, esp. now that there is code to remove a directory :)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7282 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 21:54:12 +00:00
hikerstk
0bbcfc2361 Removed debug print.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7281 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 21:50:07 +00:00
auria
c1c0a34897 Add braces in switch to please GCC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7280 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 20:57:05 +00:00
auria
e627ccc8f8 Fixed glitch in box emitters
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 20:56:30 +00:00
auria
fc19059006 Add support for box emitters, use it back for nitro
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7278 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 20:54:36 +00:00
auria
9fac4d06c6 Fixed minor glitches caused by reading value from RaceManager before it was set
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7277 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 20:07:39 +00:00
auria
be1d0f5eac Update Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7275 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 18:56:03 +00:00
xapantu
56450a708a Added error handling in the addons code to handle path error when extracting archove files.
(Feel free to remove it if you find a better way ;) )

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7267 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 13:47:16 +00:00
xapantu
b9d3841fd9 Fix a bug with addons installing:
A directory was created, with the addons name, in lowercase, whereas it tried to instal it in the addons name, in standard case (e.g. python vs Python).
So, it worked on Windows and Mac OS X, since they aren't case sensitive, but we had a segfault on Linux

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7266 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 13:38:35 +00:00
hikerstk
f97067d313 Started work on deleting installed updates; deleted unused variables
and file.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 06:02:17 +00:00
hikerstk
93daa15d73 Removed unused update-tab in addons manager.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 05:38:11 +00:00
hikerstk
cd8ea2eead Removed compiler warning, updated VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7263 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 05:27:59 +00:00
hikerstk
f0f97d0fbb Added support for SUPERTUXKART_SAVEDIR environment variable to
specify/overwrite where the user-specific files are written to.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7262 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 03:58:43 +00:00
auria
fcba432e39 Cleaned up logging
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7260 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 02:57:17 +00:00
auria
c669a425e5 More particles tweak + eye candy : add additive blending to materials.xml, now the nitro looks awesome
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 02:38:24 +00:00
auria
ec3c1f76a0 New XML-based particle system. May need a few tweaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 01:39:18 +00:00
auria
a3df5843aa Fixed makefiles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7254 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 23:06:13 +00:00
auria
38a8248fea Merge nitro and smoke emitters, as their code was almost identical. Next steps will likely involve allowing to specify particle effects in XML files. Note that atm nitro is slightly different from before, can be tweaked to be like before if wanted
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7253 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 22:14:51 +00:00
hikerstk
3c729b4b0f 1) Added proper handling and detection of installed addons
2) Moved addon related data files into a separate 'addons' directory.
3) Directory names of addons are now lower case.
(Still addons are not stable enough to be used!)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 21:49:17 +00:00
auria
470832cd19 Minor documentation of particle code (since I may be looking at extending this soonish)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7251 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 20:34:21 +00:00
auria
856d184a35 Fixed warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7249 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 19:01:09 +00:00
hikerstk
110af2b7ae Removed/replaced getKartFile/Dir functions in file_manager, which
should solve issues with addon karts not being found or textures
not correctly loaded.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 05:47:49 +00:00
hikerstk
c1bc3c58fe Bugfix: using variables of an object after it was deleted.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7247 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 05:44:23 +00:00
hikerstk
54b7d57d63 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7246 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 04:35:35 +00:00
mbjornstk
7fe57b9802 Make item fog be based in track fog. Remove old lighting flag comment.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7245 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 02:42:11 +00:00
hikerstk
221f8899f3 Fixed missing icon display for addon karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7243 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 22:25:54 +00:00
hikerstk
1858a2e9f1 Removed the need of zip files including a 'file list' file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7242 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:47:54 +00:00
auria
1acb58ee59 Removed old code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7241 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:22:04 +00:00
auria
8ddb9aee41 Removed more useless FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7240 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:18:52 +00:00
auria
eea6279db2 Fix for 3 strikes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7239 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:11:17 +00:00
auria
b11a8602b9 Still reduce the count of FIXMEs a little
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7238 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:07:09 +00:00
auria
847d67e3a5 Correct/remove a few more FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7237 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:02:19 +00:00
auria
fa8b2a8ed6 Improve documentation of race manager; this is one huge class so having good doxygen docs is important. Also clarify difference between setNumPlayers and setNumLocalPlayers; replace many calls to setNumPlayers with calls to setNumLocalPlayers, since setNumPlayers is called by the network manager already and as such calls to setNumPlayers had no effect (the same method was called again later) and were just confusing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7236 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 20:17:44 +00:00
auria
9c3f46521e Move some code from GUI screens to RaceManager, where it makes more sense to find the said code, and correcting 2 FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7235 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 19:25:56 +00:00
auria
d22ec956b6 Clean up deactivating spinners, removing a few FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7234 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 19:13:47 +00:00
auria
fdbafeb5ff More FIXME cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7233 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 19:06:45 +00:00
auria
27d75d2414 Correct code duplication (and FIXMEs) in challenges manager
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7232 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:55:01 +00:00
auria
7e04cb4f75 Implement a few long0misisng features in the layout manager, correcting FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7231 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:43:26 +00:00
auria
04e08b78ad Remove a few unuseful FIXMEs, replace with appropriate documentation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7229 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:41:19 +00:00
auria
6ad54434e0 Correct a few FIXMEs + minor style improvements
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7227 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:23:52 +00:00
hikerstk
76b595e303 Fixed incorrect kart display after installing a new kart
(still pretty much work in progress, so not recommended to use right now).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7224 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 12:17:43 +00:00
hikerstk
503723967f Fixed more hard coded paths. Icon path in KartProperties now
stores the absolute path (and getKartIconFile is now called
getAbsoluteKartIconFile).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 10:45:31 +00:00
mbjornstk
76ee2036d8 Update comment about items' fog, remove some lighting flags that just hide
wrong export options (resave with normals to fix) and make the items look 2d.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7222 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 04:39:18 +00:00
hikerstk
7e34b5d970 Further improvements to addons loading. Addons are now downloaded and installed,
but the kart icon display is still messed up (restarting stk solves that)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:34:16 +00:00
hikerstk
4a6b709685 Minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7220 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:31:11 +00:00
hikerstk
d11fed1471 Fixed incorrect/hard coded paths.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7219 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:28:18 +00:00
hikerstk
d82fe3350a Removed hard coded paths for karts and some duplicated code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7218 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:25:36 +00:00
hikerstk
e98f95697c Fixed progress callback for curl (incorrect parameter declaration).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7216 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:21:14 +00:00
mbjornstk
73a771632b Enable fog for boxes, bananas, etc.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7215 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 02:47:09 +00:00
auria
f196a544a2 Deactivate writing unicode XML until irrlicht devs fix thing son their side
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-02 19:02:31 +00:00
auria
d78a1c0700 Replace assertion failure and possible crash by printing a warning and keeping going
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7213 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-02 00:01:16 +00:00
auria
93503a8451 Better handle filler ribbon items
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7212 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-01 23:49:46 +00:00
auria
39ebfcb9ea Make code more robust to print an error message instead of crashing in weird case reproduced by Arthur_D only
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-01 22:11:15 +00:00
auria
74c0c19688 Slightly improved confusing error message
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7210 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-01 21:29:55 +00:00
mbjornstk
810dbc3edc Add --animations=[01] and --gfx=[01] to control effects from command line.
Plus clean a bunch of tabs and trailing whitespace.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7207 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 05:04:59 +00:00
auria
ff33f8782f Add minor error checking
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7202 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 02:41:11 +00:00
auria
7a6fbbde51 Nitro target line remains on restart. Important everyone : if you find a sequence of events that causes the nitro line to remain when it shouldn't, tell me, it's hard to think of every possible case
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7201 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 02:24:44 +00:00
auria
e7734931f2 Added support for %0 type syntax in StringUtils::insertValue, since tools that verify translations integrity don't all like the older %0 syntax I used
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7199 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 01:29:04 +00:00
hikerstk
6129cfaa39 Made NetworkHttp::downloadFileSynchron to be able to be used from a thread;
fixed addons_loading to display the icon correctly.
Note: addons installing will still crash.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7198 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 23:05:54 +00:00
auria
031b96a55f Update Xcode project for latest addons changes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7195 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 18:58:34 +00:00
hikerstk
cdc1591a11 Some code cleanups, mostly for addons_loading.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7190 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 05:40:33 +00:00
hikerstk
809558f1cc More code simplification (removed m_type).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7189 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 05:23:04 +00:00
hikerstk
9097ece07c More cleanup and code simplification for addons_screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7188 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 05:17:10 +00:00
mbjornstk
9dbd09f812 Remove svn:executable prop.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7187 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 03:02:07 +00:00
hikerstk
f859156e76 Completely remove used of m_index (i.e. the addons_manager
does not have a concept of a current addon anymore).
Note that downloading addons still crashes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7186 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-29 23:19:26 +00:00
hikerstk
141ae9f5da Moved AddonProp into a separate class Addon with proper
getter; started to remove usage of m_index in addon_manager.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7185 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-29 21:52:33 +00:00
auria
ad44673071 Play a short sound when enabling sound effects
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7184 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-29 19:45:32 +00:00
hikerstk
d78310c9e3 Made ListWidget::addItem to take const &; started to remove use of
m_index in addon_manager.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7180 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-29 05:43:10 +00:00
mbjornstk
976f2f463a Fix misplaced #endif and missing #ifdef ADDONS_MANAGER / #endif.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7179 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 23:50:19 +00:00
hikerstk
ce986d623d Many style changes and code improvements to addons management.
The addons icon is now greyed out in case of an error (and till
the list of addons is downloaded, though usually that is done by
the time the main gui is shown). Moved synchronisations/threading
from addons_manager to network_http. Added 'Synchron' template
to hide usage of mutex to provide synchronised accesses to a variable.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7177 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 22:48:44 +00:00
mbjornstk
1c57310b41 Add io/xml_writer.[ch]pp to build system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7176 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 04:38:17 +00:00
auria
41e1d57f0b Fix player names so that they may contain accentuated characters
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7175 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 01:50:24 +00:00
auria
5bd9afdd7f Big refactor : move a lot of strings and config files to use wide strings. For instance to be able to cope with foreign characters in player names
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7174 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 01:29:36 +00:00
auria
fb8c9edf5e Add gamepad button info to --gamepad-debug, from our current bug reports this looks like info we need
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7173 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 00:34:26 +00:00
mbjornstk
c405c1de4a Replace static parachute with animated one. Adjust speed by hand in code.
Testing was near impossible, as this computer is too slow to reliable keep
a basic 25FPS rate, so it may need further speed tweaks.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7164 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-26 03:38:37 +00:00
auria
6bf16b651e Mark another forgotten string as translatable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7160 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 18:35:47 +00:00
auria
afa16287ea Mark a few forgotten strings as translatable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7159 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 18:30:23 +00:00
aeonphyxius
86ba25bc59 Tutorial incremental commit. Add main loading and improving xml loading
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7150 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 13:38:38 +00:00
hikerstk
d8afbe9750 Added missing newline to information message.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7149 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 04:52:42 +00:00
auria
51cc6b8d5c Improved StringUtils::insertValues to only print warnings, not crash, when something is wrong
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 01:30:38 +00:00
auria
dbfe55071f Use irrlicht framework from now on
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 00:02:07 +00:00
hikerstk
588870d9bd Renamed network.?pp to network_http.?pp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7141 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-22 10:37:23 +00:00
hikerstk
a8f8be4023 Re-enabled kart honking sound when a player kart is overtaken (which
was disabled accidentally). If it should be too annoying, it should
be properly removed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7140 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-22 10:35:22 +00:00
hikerstk
7305efd8ba Fixed linux compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7139 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-22 06:09:16 +00:00
hikerstk
29e29c7bb7 Renamed addons.?pp to addons_manager.?pp.
NOTE: make distclean is most likely necessary on linux!!!!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7138 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-22 06:00:58 +00:00
mbjornstk
47a7f77b33 Wrap code with {}. g++ dislikes new variables in switch/case if labels follow.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7137 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-22 01:00:56 +00:00
auria
a49c2f81e7 Fixed compilation (#include <string.h> includes the old C string functions, not std::string)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7136 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 23:39:59 +00:00
auria
a0eed0f31c Fix compile warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7135 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 23:39:20 +00:00
hikerstk
b5837a624b Many more coding style adjustments.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7134 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 22:06:38 +00:00
auria
e472d7459c Fix typo
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7133 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 21:30:28 +00:00
auria
9260038719 Fix 2 minor warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7131 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 17:10:44 +00:00
aeonphyxius
704ea6ac7b tutorial incremental commit. first works on TutorialManager and Tutorial
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7130 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 08:23:08 +00:00
hikerstk
13241636d4 Simplified loading of news: no more threading in main_menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7129 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 06:13:40 +00:00
hikerstk
83a9993f68 Bugfix: difficulty was not tested in non GP challenges.
Also accept higher difficulties in challenges.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7128 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 06:10:28 +00:00
auria
04fd8df730 Don't allow restartign a race in GP mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7115 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 17:52:39 +00:00
auria
f4e0f7c1d9 Allow skipping feature unlocked animation while still seeing what was unlocked
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7114 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 16:42:04 +00:00
auria
ae1f162d28 Update Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7112 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 16:38:04 +00:00
hikerstk
4f1af3a862 Auto-rescue will now not be counted as a hit in battle mode anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7111 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 12:21:48 +00:00
hikerstk
214bf5deec Fix bug in FTL: if the kart on position 1 was eliminated (i.e. it had
overtaken the leader), and the race is over, the leader was moved back
to position 1 (so that all points are given correct), but the ranks
were not adjusted properly, potentially resulting in duplicated ranks.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7110 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 11:58:10 +00:00
hikerstk
39d4fe5fb7 Fixed incorrect rescue positions in battle mode, which could
result in a crash (bug #3140030).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7102 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 02:41:02 +00:00
auria
10299aae86 Don't display rank in 3 strikes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7099 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 01:19:05 +00:00
hikerstk
fd3895b45f Fixed severals problems with FTL GP: GP rank od the leader must be -1
(some GP ranks were not set at all).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7098 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 01:16:03 +00:00
hikerstk
4d2a1d9faf Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7097 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 01:01:53 +00:00
hikerstk
7e1c8a4c50 Updated makefile for new files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7096 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 00:59:53 +00:00
aeonphyxius
2427aed571 Tutorial development incremental commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7095 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 00:52:59 +00:00
auria
a8ae299119 At everyone's request, speed up feature unlocked screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7094 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-19 23:35:48 +00:00
aeonphyxius
2e5689134c tutorial developing progress commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7087 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-19 20:23:32 +00:00
auria
5a74502c29 Fixed accidentally committed debug print
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7083 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-19 01:57:57 +00:00
auria
9f27068fb7 Fixed kart paths randomness issue (and probably many others) : don't continuously call srand, srand is made to be called ONCE only, repeatedly calling srand gives very poor randomisation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7082 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-19 01:55:29 +00:00
auria
1b6d3b794c Removed dbeug print that shouldn't have been printed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7079 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-18 23:05:27 +00:00
auria
c78a85ea68 Apply NetBSD fix from bug tracker
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7075 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-18 15:05:49 +00:00
hikerstk
47661bf772 Fixed crashes in case of FTL GP (in 2nd races no number of laps was defined).
Note that the ordering in FTL GP is still broken and can still result in crashes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7073 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-18 12:58:09 +00:00
auria
d9ed9e5299 Removed unused code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7066 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-18 00:40:29 +00:00
auria
53e4546b09 Fixed debug mode build
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7055 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-17 18:55:34 +00:00
aeonphyxius
183ac72c2f New files for tutorial added to Codeblocks project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7049 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-17 13:28:03 +00:00
hikerstk
b232fa2f56 Bugfix (pressing F10 when no game is running could crash).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7048 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-17 12:17:13 +00:00
hikerstk
aa3b801dba Fixed line endings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7047 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 23:09:12 +00:00
auria
ac4d0806ca Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7046 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 23:08:49 +00:00
hikerstk
811550eb7f Removed tabs, fixed compiler warning ("/*" inside a comment).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7045 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 23:04:23 +00:00
hikerstk
407e91a1bc Updated makefile for new files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7044 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 23:03:24 +00:00
aeonphyxius
d672a5446b tutorial new classes, VC project and main menu screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7043 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 22:57:13 +00:00
hikerstk
5bbbea2d3c Fixed compilation problems when not using addon manager.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7042 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 22:28:33 +00:00
hikerstk
8ecee44a35 Renamed getConfigFile to getDataFile (since getConfigFile
would actually not return a directory under getConfigDir).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7041 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 21:59:06 +00:00
hikerstk
1c90d679e2 Removed unused animation_manager (track object manager takes care
of animations).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7040 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 21:15:59 +00:00
hikerstk
f5662118c6 Made addon manager compiler with windows (though not working yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7039 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 21:07:14 +00:00
hikerstk
fc4e59dc6e Bugfix: billboard nodes did not use materials.xml for setting the material properties.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7038 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 02:48:57 +00:00
hikerstk
731bb83ad3 Fixed position of non-animated billboards (new export of model required).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7037 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 02:34:00 +00:00
auria
03c6245e21 Added more copyright statements
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7032 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:59:55 +00:00
auria
d725d5daea Added a few missing copyiright statements. More to come most likely
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7031 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:56:57 +00:00
hikerstk
eee27834d1 Fixed line endings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7030 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:52:59 +00:00
hikerstk
c17ec200cf The --track-debug flag now also tests all reset positions for all
karts and prints a warning if the rescue position would result in
an immediate rescue again (which usually indicates that the
driveline is too low, and the kart is rescued 'under' the track).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7029 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:50:17 +00:00
hikerstk
7de2c4de41 Replaced unicode characters in comments with normal ASCII characters.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7028 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:46:06 +00:00
hikerstk
e23664c5bb Fixed line endings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7027 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:31:53 +00:00
auria
5478aac7ca Save options before leaving options screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7026 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 00:23:42 +00:00
hikerstk
ed8b3c4e6f Added list of Asian translations to use.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7002 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-13 11:53:38 +00:00
hikerstk
d81be16715 Removed display of highest speed when wheels are not on ground.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6999 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-13 11:50:42 +00:00
hikerstk
970d261f4b Removed warning for duplicated characters, since they are now ordered properly
and not considered an error anymore.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6996 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-13 11:31:20 +00:00
hikerstk
283c47fad5 Added offset to texture for Asian font to avoid clash with other
fonts.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6995 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-13 10:43:08 +00:00
hikerstk
d4513f0b40 Fixed memory leaks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6975 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 11:49:00 +00:00
mbjornstk
16991a6bc7 Do not use/show nitro if no contact with ground.
This way saving nitro is automatic (ie, simpler controls).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6973 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 03:49:33 +00:00
auria
bcb3e7243a Fixed more leaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6971 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 02:36:22 +00:00
auria
70bc94b3df Fixed another memory leak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6969 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 02:23:38 +00:00
auria
9d854c7301 Fixed leak (Joerg: I'm not 100% sure on this one, can you check if what I did makes sense?)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 02:14:29 +00:00
auria
347d73cfd1 Fixed more memory leaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6965 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 02:01:23 +00:00
auria
65d2fff63c Fixed more leaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6963 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 01:25:47 +00:00
auria
4392b42bb7 Fixed another memory leak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6960 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 01:09:54 +00:00
auria
4ec08502b2 Fixed small memory leak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6958 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 00:59:56 +00:00
auria
2e6ebaa63b Fixed memory leak (Joerg: phew, I'm not the only one writing stupid code ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6956 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 00:53:25 +00:00
auria
ad169e3191 Skyboxes and skydomes should be fog-free
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-11 21:52:14 +00:00
hikerstk
154369a7f5 Bowling balls now explode if they are rolling on a reset material.
I also fixed a bug in the 'height above terrain' computation, which
might have caused bowling balls to be more bouncy than they should be.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6950 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 13:03:38 +00:00
hikerstk
d0acfaae3c Fixed incorrect warnings when reading fonts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6946 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 06:20:12 +00:00
hikerstk
be7e8793b6 Fixed various compilation problems.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6945 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 05:54:04 +00:00
mbjornstk
1eacc8fe59 Add tutorial_screen.[ch]pp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6944 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 03:08:25 +00:00
aeonphyxius
30c5ae81ab Rolled back to old version(6772)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6943 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 02:12:48 +00:00
aeonphyxius
cf1c0a6959 Rolled back to old version(6727)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6942 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 02:06:56 +00:00
aeonphyxius
777292a74f <stkgui>
<div x="5%" y="0" width="90%" height="98%" layout="vertical-row" >
    
        <icon id="logo" align="center" proportion="8" width="100%" icon="gui/logo.png"/>
        
        <buttonbar id="menu_toprow" proportion="3" width="75%" align="center">
            <icon-button id="new" width="128" height="128" icon="gui/main_race.png"
                    I18N="Main menu button" text="Race"/>
            <icon-button id="network" width="128" height="128" icon="gui/main_options.png"
                    I18N="Main menu button" text="DEBUG"/>
            <icon-button id="challenges" width="128" height="128"
                         icon="gui/challenge.png"
                         I18N="Main menu button"  text="Challenges"/>
			<icon-button id="tutorial" width="128" height="128"
                         icon="gui/tutorial.png"
                         I18N="Main menu button"  text="Tutorial"/>
        </buttonbar>
        
        <spacer width="10" proportion="1"/>
        
        <buttonbar id="menu_bottomrow" proportion="3" width="85%" align="center">
            <icon-button id="options" width="128" height="128" icon="gui/main_options.png"
                    I18N="Main menu button"  text="Options"/>
            <icon-button id="help" width="128" height="128" icon="gui/main_help.png"
                    I18N="Main menu button" text="Help"/>
            <icon-button id="about" width="128" height="128" icon="gui/main_about.png"
                    I18N="Main menu button" text="About"/>
            <icon-button id="quit" width="128" height="128" icon="gui/main_quit.png"
                    I18N="Main menu button" text="Quit"/>
        </buttonbar>
        
        <spacer width="10" proportion="1"/>
        
    </div>

</stkgui>

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6940 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 01:42:08 +00:00
hikerstk
fd55bc2273 Avoid crash if history.dat file can not be written; also added
2nd location to test for (where the config.xml etc files are stored)
to test, which makes history usable in standard windows installation
(where . is not writable). Fixes bug 3128511.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6938 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 00:04:08 +00:00
hikerstk
37892fc06d Fixed rank display in FTL races - the number of karts was not
decreased when a kart was removed (bug 3133631).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6935 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 21:19:01 +00:00
auria
fb86f84c3e Add debug checks to font class so that font conflicts are detected and reported
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 14:23:06 +00:00
hikerstk
af9f6d651e Fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 05:49:30 +00:00
mbjornstk
2d33688f4a Apply SVN props to keep in line with the rest of the tree.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6919 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 02:41:00 +00:00
hikerstk
b701626c79 Added missing file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6917 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 02:36:25 +00:00
hikerstk
b675ef8810 Added acme_pjz's name in the header file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6916 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 02:28:23 +00:00
hikerstk
b7d6989624 Added acme_pjz's modified irrlicht font tool, which only
writes the characters necessary for the translation (this
significantly reduces the number of textures needed for
Chinese).
This tool only works on windows!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6915 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 02:24:52 +00:00
auria
3a149c5a78 Reduce font size for long GP names to avoid clipping (long translations can still cause clipping though)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 02:06:44 +00:00
auria
243c9f37c0 Fixed rare crash with explosions, when m_remaining_time is exactly equal to explosion_time
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6908 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 01:22:22 +00:00
auria
d737425fe5 Fixed gamepad input after changing resolutions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6905 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 23:42:10 +00:00
auria
7f97094b87 Fixed numerous leaks, especially audio leaks + add debug functions to be able to easily check for audio leaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6903 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 22:18:55 +00:00
auria
1b426216e6 Minor improvements to OpenAL error reporting
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6900 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 20:29:08 +00:00
mbjornstk
8848ade794 Fix SVN properties before something backfires.
Probably aeonphyxius forgot to read SVN-CONFIG.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6896 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 17:45:10 +00:00
aeonphyxius
ce5ca9c572 tutorial changes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6895 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 16:28:13 +00:00
aeonphyxius
820a7c7bd0 new tutorial screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6894 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 15:58:28 +00:00
aeonphyxius
a1cb7e0b63 codeblocks projects & workspace
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6893 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 15:13:06 +00:00
aeonphyxius
90a0bf28cc build under linux + codeblocks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6891 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 15:08:28 +00:00
auria
a0a85ed1c2 Fixed little glitch that could cause explosions to be cut before they had time to fade out
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6888 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 02:04:00 +00:00
auria
a6f7b7df9d Fixed white puff bug
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6886 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 01:54:48 +00:00
auria
b49a807f2d More from feedback on RC1 : rescue removes the plunger from your face
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6884 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 01:48:32 +00:00
auria
23cde9398f Added 16:9 icon + icon for unknown ratios
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6881 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 01:14:34 +00:00
mbjornstk
261b9d61f3 Change verb as suggested by Iron Seagull's comment in blog.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6868 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-07 00:47:43 +00:00
auria
c6b61f8a55 Add hidden feature to remove the race GUI: will be helpful to take track screenshots.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6867 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-07 00:28:13 +00:00
hikerstk
68920bd3e3 Fixed odd engine sfx at high speed (speed wasn't capped when it
was used, resulting in a fraction becoming >1, resulting in incorrect
gear usage). See bug 3124797.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6865 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-06 06:07:50 +00:00
hikerstk
c4ba313e19 Removed debug print.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6864 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-05 22:30:24 +00:00
hikerstk
07c2a3b3b0 Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6863 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-05 22:24:01 +00:00
hikerstk
89de4d5483 Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6862 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-05 20:57:25 +00:00
hikerstk
2c15bd265f 1) Made TrackObject use an ISceneNode instead of an IAnimatedMeshSceneNode,
allowing us to use the same base class for billboard.
2) Fixed billboard implementation: billboards are now properly removed,
   and can also be IPO animated.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-05 20:55:09 +00:00
auria
5c372e2f81 Make timer in race gui resolution-independent + fixed some very fishy code along the way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6860 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-05 16:25:51 +00:00
auria
08b33dc2fe Fixed crash when random kart was last used and then trying to play challenges + move error messages to where they belong, no error message should be printed when doing a valid check if a kart exists
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6858 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-05 16:12:35 +00:00
auria
f6985bd379 Remember sfx volume even when it's off
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6845 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-01 18:45:17 +00:00
hikerstk
7470074b4d Fixed display of reset icon in the icons in the race gui.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6844 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-01 05:58:28 +00:00
hikerstk
9cddb351cd Bugfix: paths were looked up using the file manager
even if is_full_path was true (and where then not found).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6843 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-01 05:57:04 +00:00
auria
cc892ee8ad Various fixes to Xcode project : copy the fribidi framework, support spaces in paths, define NDEBUG in release mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6840 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-01 02:38:30 +00:00
auria
b6eb46e68b Xcode project : fix building from paths with spaces
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6837 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-01 00:59:50 +00:00
hikerstk
3fa1a65c01 Properly fixed warning for undefined texture for reset-button
(which is not used). Note that in 0.7rc1 we added a dummy
texture as a work around.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6834 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-01 00:26:13 +00:00
auria
4447f3431e Don't show lap message on last lap
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6822 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-30 23:36:14 +00:00
hikerstk
c6607f4dbc Fixed lap counting: sometimes karts would get a 'distance along track'
after crossing the lap counting line that's larger than 2. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6821 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-30 23:34:02 +00:00
auria
e137c16788 Make spinner for laps warp around
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6820 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-30 23:27:38 +00:00
hikerstk
24d8d9ee9e Fixed 3122615: acid lake in xr591 did not trigger rescue (the lake mesh
had a rotation applied. Due to this bug an incorrect rotation was applied
to the mesh, resulting in the wrong bullet mesh, so that the collision 
was not detected).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6818 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-30 09:43:29 +00:00
auria
b83f850cd4 Don't show lap message on first lap
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-30 02:07:38 +00:00
auria
3fe9acd0e9 Show a message on every lap
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6812 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-30 02:04:18 +00:00
hikerstk
b800ddd200 Made the 'wrap around' lap counting approach work correctly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6782 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 22:01:59 +00:00
hikerstk
99aa5b1960 Fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6781 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 22:01:01 +00:00
auria
09eaaebd64 Minor: make fly mode easier to use by preventing kart from rolling when turning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6780 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 21:50:45 +00:00
auria
1cec1b597e Clean up logging in kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6777 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 18:53:04 +00:00
auria
3543dc4f86 Fixed warning (and, on the way, make the code slightly faster)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6774 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 17:01:58 +00:00
auria
afce1534b9 Fixed warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6773 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 17:01:25 +00:00
auria
4ac69fefa2 Use peach skin by default
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6772 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 16:42:55 +00:00
auria
591c4e8281 Updated Windows icon
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6771 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 15:38:55 +00:00
hikerstk
b4533f0798 Removed debug check line visualisation correctly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6770 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 11:47:15 +00:00
hikerstk
a1e6c01dae Reverted commit that added backface culling ... which was already supported
(also the patch did not initialise memory).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6769 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 11:31:07 +00:00
hikerstk
e9365d3a70 Fixed memory leak (title music was not freed).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 11:03:22 +00:00
hikerstk
9dbe8120e2 Fixed compilation problems when compiling without -DDEBUG.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 10:02:47 +00:00
hikerstk
d7e78fa23a Fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 05:42:27 +00:00
hikerstk
25b611a8d3 Adjust color of check lines according to state: active ones are
light red, inactive ones white-grey.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 05:26:45 +00:00
hikerstk
7e4257e689 Allowed transparency, and usee setFlag instead of directly accessing the attributes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 05:24:31 +00:00
hikerstk
8170b64fb2 Ugly removal of compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6763 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 03:40:44 +00:00
hikerstk
65d563ee2e Fixed profile world (ProfileWorld::CreateKart was not called anymore
since the parameters for that function had changed).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6753 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 02:34:25 +00:00
hikerstk
87b98b8fa1 Added visual debugging to check lines.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6747 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-28 22:08:02 +00:00
hikerstk
03ff921883 Fixed memory leak (check_manager and therefore all check structures
were not freed).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6746 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-28 22:07:05 +00:00
hikerstk
7c36638e63 Fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6745 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-28 20:54:45 +00:00
auria
063004c38d Applied samuncle's script modification and our code moficiations to start supporting billboards and particle emitters. Thans =) [I commit this even though we're basically in feature freeze for the simple reason that as long as no track makes use of them we can keep this feature unsupported and experimental]
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6744 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-28 18:57:31 +00:00
hikerstk
7ec971309a Fixed continuous warnings message "Ignoring '...', you needed to join earlier to play!"
This is caused by polling the joystick device, and the joystick events triggering
the message. For now the message is not printed if the joystick value is inside
the deadzone value for the joystick (this means that the deadzone is tested at
two locations - once in input manager to avoid the message, once in input_device
- but the latter is not triggered in this case since player is NULL). Not ideal,
so a better solution would be welcome.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6740 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-28 11:39:09 +00:00
hikerstk
53e75bfaa8 Made getGamePadFromIrrId slighlty more efficient, added
some comments to follow our style guide.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6739 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-28 11:28:07 +00:00
hikerstk
f21ede30e3 Fixed bug 3090931: in some circumstances the key bindings for
the 2nd player would become the default, so if the first player
presses 'select' to select a kart, instead a new kart was added.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6738 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-28 10:21:36 +00:00
auria
9fe7bd21a0 Minor : gui messages shouldn't stay after starting game and exiting
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6737 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-26 23:57:55 +00:00
hikerstk
d93c33dcdb 1) Multiplied all weights by 10 (to have more granularity adjusting weights for
global powerups).
2) Weights for global powerups (parachute and switch) are divided by num_karts-4
   if more than 4 karts are being used (see bug 3107638).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6736 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-26 05:44:38 +00:00
auria
5b7d055f2c Applied patch by samuncle to support disabling backface culling, thanks! (even though I helped quite a bit ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-26 01:02:33 +00:00
hikerstk
ec93b9889a Added explit delete of m_all_players to avoid a (non-reproducible)
crash that might depend on the order in which objects are freed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6734 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-26 00:23:19 +00:00
hikerstk
a123718680 Fixed incorrect axis (though it shouldn't matter, since the model is a
ball anyway).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6733 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 23:18:46 +00:00
hikerstk
70b840bb6c Removed adjusting the plunger height (which was overcompensating,
resulting in the plunger being pushed into the ground).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6732 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 22:25:57 +00:00
hikerstk
16d969fa39 1) Fixed incorrect start positions of plunger (getY instead of getZ).
2) Some code cleanup (renamed variables to follow our style, renamed
   Kart::getKartHeading to Kart::getKartTransform).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 22:22:41 +00:00
hikerstk
49dd6821a4 Fixed incorrect maths (wrong sign, probably after swapping the axis).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6730 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 22:20:16 +00:00
hikerstk
148d09c4ba Hopefully fixed gamepad related issues (esp. bug 3114440 - can't assign axis+0).
Simplified code somewhat.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6729 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 21:53:34 +00:00
hikerstk
d4eae38349 Fixed line endings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6728 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 21:52:01 +00:00
hikerstk
d64a436ef8 Removed files that had been removed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6727 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 21:51:24 +00:00
hikerstk
e8cbb98369 Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 04:34:58 +00:00
hikerstk
37623fc218 Updated VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 04:30:21 +00:00
auria
ba619eeb22 Check for more 'types' of shift keys
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6722 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 02:31:18 +00:00
auria
f18ead6820 Show wanring dialog when trying to use shift as a key binding
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6721 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 02:16:21 +00:00
auria
507b9e5822 Fixed rare assertion failure
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6720 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 01:40:27 +00:00
hikerstk
f93d8dc66c Fixed uninitialised variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6719 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 00:51:47 +00:00
hikerstk
ce3c115a86 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6717 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 22:18:47 +00:00
hikerstk
f99d1bd9dc Fixed compilation on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6716 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 22:17:39 +00:00
hikerstk
f23a247fd2 Replaced while(1) loop with a for loop to definitely avoid infinite loops
(which fixes bug 3113988).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6715 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 21:55:19 +00:00
hikerstk
8c129ccde6 Fixed quick test for slipstreaming, which would sometimes discard
slipstreaming even though the distance was fine.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6714 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 21:53:13 +00:00
hikerstk
6f28bb281c Added visual debug support (--slipstream-debug).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6713 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 21:05:45 +00:00
hikerstk
d576dadf78 Minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6712 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 21:04:09 +00:00
hikerstk
7d5b6b084b Removed duplicated call to slipstream update.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6711 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 21:00:19 +00:00
hikerstk
54a6e8edd5 Fixed computation of minimum height, added updating
minimum height when a transformation is applied (which
in part explains why slipstreaming sometimes didn't work).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6710 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 20:57:39 +00:00
hikerstk
efcb1029d5 Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6709 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 09:35:51 +00:00
hikerstk
e73ca4bbee Moved all slipstream handling from kart into slipstream
(also started to add debug features).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6708 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 05:57:06 +00:00
hikerstk
daf2bc5e7e Fixed resolution changing on linux: previously the resolution was
changed (and the old window/device deleted) while the old device was
still actively delivering events, so deleting caused a crash. Now
changing the resolution is only setting a flag, and the resolution
change will be applied during the next update, i.e. while the device is
not busy anymore.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6707 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 23:23:40 +00:00
hikerstk
829b015314 Properly delete the first window (esp. on Linux) when switching resolutions.
ATM this results in a crash for me (though this patch should be correct, so
the reason for the crash must be something else).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6705 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 21:16:19 +00:00
hikerstk
4696f1b323 Increase max speed if a rubber band is being used. Settings can
be adjusted in stk_config.xml.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 10:41:13 +00:00
hikerstk
6fa0eea7b4 Fix bug 3113806: when no kart animations are displayed
and a plunger is fired, the kart animation would
display the 'steer left' frame when the rubber band
is removed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 06:04:35 +00:00
hikerstk
6b660b9fe6 Added calls when switching resolutions (based on
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=39342&highlight=fullscreen
run() needs to be called).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 00:14:13 +00:00
hikerstk
9cd0ec2544 Don't activate zipper if kart is driving backwards (that feels
imho better game-play-wise than accelerating the kart backwards).
This fixes bug 3114776. Also added some docs to btKart.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-22 09:27:12 +00:00
hikerstk
7d65be553f Fixed VS compilation (no isnan, isinf on VS).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-22 01:54:08 +00:00
hikerstk
3b14605cbd More cleanup (and STK will now compile again - my apologies).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-22 01:29:12 +00:00
hikerstk
b1b57be476 Zipper are now converted into buller objects. This means that a zipper should
be flat now and not slightly raised anymore. This fixes bug 3114770.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6691 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-22 01:22:49 +00:00
hikerstk
d1238b58f4 Removed duplicated debug output which was only added to chase a strange
bug.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6690 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-22 01:10:37 +00:00
hikerstk
98b1c1991f Bugfix: set zipper-fade-out time, which was left uninitialised before
(causing bug 3108549: crash in quantize because the uninitialised value
could be close to 0 but not 0, resulting in speed becoming -inf, ...).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-22 00:57:15 +00:00
hikerstk
72192160bb Added more debug code to find crash.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-22 00:41:01 +00:00
hikerstk
8903fdf791 Added assert to help catching a bullet bug.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6687 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 23:48:43 +00:00
hikerstk
a2e0fb805d Added additional debug output, since it appears that:
if( (point.getX() > m_bvhAabbMax.getX() ) ||
                    (point.getY() > m_bvhAabbMax.getY() ) ||
                    (point.getZ() > m_bvhAabbMax.getZ() ) ||
is NOT true, but:
        btAssert(point.getX() <= m_bvhAabbMax.getX());
isn't true either - so point.getX() not >  m_bvhAabbMax.getX()   and
point.getX() not <= m_bvhAabbMax.getX() ???


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6685 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 22:07:10 +00:00
auria
5fe492dd70 Write chal;enges file when none is found
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6684 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 21:59:49 +00:00
hikerstk
6cea4142c8 Fixed missing sound when a powerup zipper is used (bug 3109198).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6671 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 11:13:11 +00:00
hikerstk
e8a4fc66e1 Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6670 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 11:08:26 +00:00
auria
466e65b3d7 Renamed method hasBinding and changed its docs, both were misleading
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6666 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-20 19:10:43 +00:00
hikerstk
d84ff3f7eb Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6662 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-20 12:15:13 +00:00
xapantu
d4f9b381b3 Fix compilation, maybe it isn't the right way ?
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6661 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-20 11:55:08 +00:00
hikerstk
0b55b9fe5c Added additional debug output for bug 3108549.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-20 10:48:10 +00:00