Commit Graph

4863 Commits

Author SHA1 Message Date
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
393d2c654c Re-exported to use fewer mesh buffers, made model filename lower case.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6762 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 03:32:53 +00:00
hikerstk
2ecac2ae9f Missing files in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6761 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 03:30:23 +00:00
hikerstk
a023e557e3 Re-exported model to use less mesh buffers, model filename now lower
case.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6760 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 03:26:16 +00:00
hikerstk
b9cd3a7c61 Re-exported wilber to use less mesh buffers, model filename now in lower
case.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6759 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 03:23:18 +00:00
hikerstk
7df7104db4 Re-exported model to reduce number of mesh buffers (esp. for wheels,
which used 4 previously, now 2). Model file name is now lowe
case.Re-exported model to reduce number of mesh buffers (esp. for
wheels, which used 4 previously, now 2). Model file name is now lowe
case.Re-exported model to reduce number of mesh buffers (esp. for
wheels, which used 4 previously, now 2). Model file name is now lowe
case.Re-exported model to reduce number of mesh buffers (esp. for
wheels, which used 4 previously, now 2). Model file name is now lowe
case.Re-exported model to reduce number of mesh buffers (esp. for
wheels, which used 4 previously, now 2). Model file name is now lowe
case.Re-exported model to reduce number of mesh buffers (esp. for
wheels, which used 4 previously, now 2). Model file name is now lowe
case.Re-exported model to reduce number of mesh buffers (esp. for
wheels, which used 4 previously, now 2). Model file name is now lowe
case.Re-exported model to reduce number of mesh buffers (esp. for
wheels, which used 4 previously, now 2). Model file name is now lowe
case.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6758 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 03:12:35 +00:00
hikerstk
71830be8cd Re-exported puffy to update animation frames.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6757 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 03:08:52 +00:00
hikerstk
e102c47f28 Mode filename is now always in lower case.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6756 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 02:59:52 +00:00
hikerstk
005048c04c Re-export to fix animation frames, and make mode filename lower case.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 02:58:58 +00:00
hikerstk
6c140b5d23 Re-exported konqi to reduce number of mesh buffers.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6754 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 02:52:51 +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
a855d25fc3 New exported model with reduced mesh buffers (also for wheels).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6752 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 01:31:44 +00:00
hikerstk
5ad949cf7a Optimised mozilla model with less mesh buffers (also model filename is
now in lowercase).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6751 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 01:18:37 +00:00
hikerstk
7af648ce42 Re-exported model to fix frame numbers for animations, and improve
performance due to using the new material-sorting b3d exporter.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6750 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 00:33:05 +00:00
hikerstk
88fddae392 Fixed problem with lap counting lines: the 'secondary' (side) lap
counting lines did not activate the activation line.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6748 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-28 22:40:21 +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
76c4e4398b Imrpoved b3d exporter to sort faces within one object by material.
This reduces the number of mesh buffer for gooy from 168 to 9.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6742 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-28 12:26:48 +00:00
hikerstk
22ab09a88d Test of optimised gooey (due to usage of new b3d exporter), which also
fixes the animation problems (bug 3118524).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6741 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-28 12:26:29 +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
auria
7a3e4fbde6 Updated Gooey... still armature bugs :(
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6725 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 15:36:34 +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