Applied Maik's patches (bugfixes).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1222 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
affb80811f
commit
96509dd941
@ -22,6 +22,10 @@
|
||||
#ifdef __APPLE__
|
||||
# include <OpenGL/gl.h>
|
||||
#else
|
||||
# ifdef WIN32
|
||||
# define WIN32_LEAN_AND_MEAN
|
||||
# include <windows.h>
|
||||
# endif
|
||||
# include <GL/gl.h>
|
||||
#endif
|
||||
#include <SDL/SDL.h>
|
||||
|
@ -407,7 +407,8 @@ bool DefaultRobot::do_wheelie ( const int STEPS )
|
||||
if( m_crashes.m_road ) return false;
|
||||
if( m_crashes.m_kart != -1 ) return false;
|
||||
|
||||
sgVec2 vel_normal, step_coord, step_track_coord;
|
||||
sgVec2 vel_normal, step_coord;
|
||||
sgVec3 step_track_coord;
|
||||
float distance;
|
||||
|
||||
//We have to be careful with normalizing, because if the source argument
|
||||
@ -632,7 +633,8 @@ void DefaultRobot::find_non_crashing_point( sgVec2 result )
|
||||
m_track_sector + 1 : 0;
|
||||
int target_sector;
|
||||
|
||||
sgVec2 direction, step_track_coord;
|
||||
sgVec2 direction;
|
||||
sgVec3 step_track_coord;
|
||||
SGfloat distance;
|
||||
int steps;
|
||||
|
||||
|
@ -23,6 +23,10 @@
|
||||
#ifdef __APPLE__
|
||||
# include <OpenGL/gl.h>
|
||||
#else
|
||||
# ifdef WIN32
|
||||
# define WIN32_LEAN_AND_MEAN
|
||||
# include <windows.h>
|
||||
# endif
|
||||
# include <GL/gl.h>
|
||||
#endif
|
||||
#include <plib/sg.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user