Commit Graph

3870 Commits

Author SHA1 Message Date
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