Commit Graph

4849 Commits

Author SHA1 Message Date
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
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
8e519d1959 Disabled multiple bubble gums to make it less easy to
drop three bubble gums, collect a switch and in the next
lap collect three nitros.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6718 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 22:57:57 +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