Commit Graph

3220 Commits

Author SHA1 Message Date
hikerstk
0848fe1349 Fixed distance computation (was still using up instead of forward index).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4979 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 22:07:50 +00:00
hikerstk
5de3555ac2 Fixed 'relaxed' camera view, fixed (usually unused) camera debug mode,
removed unused code.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4978 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 22:06:41 +00:00
hikerstk
3541e0a305 Added reminder echo to fix some bugs in bullet.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4977 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 22:01:32 +00:00
hikerstk
aae13b3768 Cosmetic change only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4976 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 22:00:34 +00:00
hikerstk
3c6a132bc0 Removed test code, simplified code for rotating items.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4975 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 21:58:46 +00:00
hikerstk
2d16e970b2 Bugfix: bullet resets the isInContact value for wheels when a debug drawer
exists. Besides other potential side effects this disabled skidmarks.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4974 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 11:41:50 +00:00
hikerstk
706984c1c8 Re-enabled upright constraint.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4968 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-10 10:17:32 +00:00
hikerstk
b691445f15 1) Fixed bug in memory allocation (world doesn't exist when it was used).
2) Some improvements to support the old history format, but not fully working
   (and probably not needed anymore).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-10 10:16:26 +00:00
hikerstk
1552693cf4 Bugfix: history mode needed -N to work (solved by --history setting the -N flag automatically).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4966 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-10 10:14:36 +00:00
hikerstk
8113302764 Bugfix: bullet had the up axis hardcoded.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4965 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-10 10:13:07 +00:00
hikerstk
f09a083597 Updated default AI, added getPitch() to moveable so that camera can get the
pitch in the range it needed it (-90 to 90, not -180 to 180).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4946 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-06 00:44:17 +00:00
hikerstk
ac85c71e31 Removed 2nd debug key for bubble gum, added debug key for bowling ball.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4945 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-06 00:42:18 +00:00
hikerstk
7549252410 Fixed (hopefully) all items.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4943 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-06 00:40:55 +00:00
hikerstk
0b90b87d70 Updated all karts to use the new coordinate system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4942 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-06 00:38:24 +00:00
hikerstk
7b38753638 Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 02:34:37 +00:00
hikerstk
1df83662f6 1) Fixed cakes.
2) Changed several animated meshes/scene nodes to use more
   general mesh/scene nodes.
3) General many more fixes for changed coordinate systems.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-04 12:35:58 +00:00
hikerstk
7dd318d949 First changes to history format.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4925 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-04 12:32:26 +00:00
hikerstk
3eae65cb89 Some progress on upright constraints.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4906 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 05:21:20 +00:00
hikerstk
cd24969100 Replaced calls to kart->getHPR().getHeading directly to
kart->getHeading().


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4905 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 05:16:47 +00:00
hikerstk
32ed6f400a Removed calls to physics debug draw while the menu is shown.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4904 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 05:15:33 +00:00
hikerstk
2813e3d75c More fixes related to camera handling.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4903 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 05:14:56 +00:00
hikerstk
50f2fcf2bc Changed output format to use irrlicht coordinate system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4855 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 07:07:43 +00:00
hikerstk
0a0b52904d Changed output format to use irrlicht coordinate system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4854 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 07:06:24 +00:00
hikerstk
d7c44cc93d Physics debug mode now cycles through off, show karts and collision shape,
to show only collission shape and then back to off. The command line
option --bullet-debug was removed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4853 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 07:03:12 +00:00
hikerstk
d448bca807 Used new version number for karts and tracks, so that incorrect
(i.e.old) karts/tracks will not be used anymore.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4845 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 13:20:26 +00:00
hikerstk
bd33113f20 Fixed incorrect heading and pitch in vec3, fixed rescue (again),
fixed checklines, improved camera (still not fully working), fixed
incorrect 'wrong heading' messages.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4844 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 13:20:22 +00:00
hikerstk
4ca3f0e493 Fixed getHeading and getPitch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4827 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 12:14:55 +00:00
hikerstk
55578dbadd Fixed rescue.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4826 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 12:13:34 +00:00
hikerstk
5682cd0d4c Work around for bright light on Linux and Windows.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4825 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 12:12:45 +00:00
hikerstk
326be2993a Fixed raycast to track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4824 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 12:12:00 +00:00
hikerstk
b5471de9fc Fixed minimap.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4823 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 12:10:49 +00:00
hikerstk
fbeaa0524f More fixes to swap the bullet axis.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4822 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 05:23:00 +00:00
hikerstk
092a59a7d2 Very first changes. Doesn't really work yet and will most likely crash - not recommended to use :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-23 13:27:01 +00:00
hikerstk
2f8411c364 Created branch to work on switching the bullet coordinate system to be identical
to the irrlicht one (i.e. no more switched axis).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4812 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-23 13:19:20 +00:00
hikerstk
93d96200c1 Bugfix: removed deleted path from configure.ac.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4811 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-23 05:00:56 +00:00
auria
f0b59c19b7 Added a 'loading' screen, so that the game does not seem unresponsive when loading a big track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4810 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-23 01:00:21 +00:00
auria
6577d770fb My latest (failed) attempt at fixing MrIceBlock : allow setting material settings for untextured surfaces too. Committing because we might eventually see an interest in this
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4809 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-23 00:09:09 +00:00
auria
a1d24a8433 Uopdated mines with new features (including camera far clipping, which gives a couple FPS for free)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4807 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 23:55:00 +00:00
hikerstk
f4a830fed4 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4805 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 22:08:19 +00:00
hikerstk
a7629f7b1d Bugfixes: 1) Incorrect use of 'type=' instead of 'kind='.
2) Avoid crash if id-property 'arena' is empty.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4804 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 21:46:02 +00:00
auria
77d2032682 Removed previous attempt, since irr docs clearly say 'This flag is ignored, if the material type is a transparent type.' (i.e. they're making it official that their support for alpha textures is crappy -.-)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4803 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 20:29:17 +00:00
auria
da45ef4721 Some tweaks with alpha. I thought this'd fix Mr Ice Block floating eyes, but it's not the case *sigh*
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4802 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 20:26:26 +00:00
auria
d6a4fc0eeb Removed white pixels around tree textures
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4801 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 20:08:15 +00:00
auria
812459dcb0 Improved looks of GP end
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4799 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 19:01:00 +00:00
auria
239da9419a Include problem fix : wrong case character
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4798 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 18:39:41 +00:00
auria
5121c32e21 Updated makefile for removal of bullet OpenGL demo code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4797 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 18:33:29 +00:00
auria
1fed34a601 Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4796 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 16:51:48 +00:00
hikerstk
cd68ac9250 Fixed line endings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4795 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 12:15:36 +00:00
hikerstk
f41150eae7 Replaced OpenGL bullet debug view with irrlicht bullet debug view.
Debug view can now be switch on and off during a race (ctl-F11),
but currenlty does not display as much information as the 
original debug view (more to be implemented here).
Removed glut dependency.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4794 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 12:02:13 +00:00
auria
83b5de120b Play a different music on GP end screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4793 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 00:46:04 +00:00