From 5bc10e9505673ef17a80d11fb9c596f84fc74854 Mon Sep 17 00:00:00 2001 From: pkeus Date: Tue, 3 Sep 2013 13:59:01 +0000 Subject: [PATCH] Removed unnecessary defines in bh.h Fixed runastyle scripts after code moved to /src git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@438 0420edf4-82e4-42fc-9478-35b55e6d67a3 --- runastyle | 2 +- runastyle.bat | 2 +- src/bh.h | 25 ++----------------------- 3 files changed, 4 insertions(+), 25 deletions(-) diff --git a/runastyle b/runastyle index bed2104..7e9ccc8 100755 --- a/runastyle +++ b/runastyle @@ -1 +1 @@ -astyle --options=astyle.ini *.cpp *.h \ No newline at end of file +astyle --options=astyle.ini src/*.cpp src/*.h \ No newline at end of file diff --git a/runastyle.bat b/runastyle.bat index bed2104..7e9ccc8 100755 --- a/runastyle.bat +++ b/runastyle.bat @@ -1 +1 @@ -astyle --options=astyle.ini *.cpp *.h \ No newline at end of file +astyle --options=astyle.ini src/*.cpp src/*.h \ No newline at end of file diff --git a/src/bh.h b/src/bh.h index 98c4adb..3930ce8 100644 --- a/src/bh.h +++ b/src/bh.h @@ -18,29 +18,6 @@ GNU General Public License for more details. #ifndef BH_H #define BH_H -// -------------------------------------------------------------------- -// compiler flags -// -------------------------------------------------------------------- - -#ifndef HAVE_CONFIG_H -// These are detected by configure -#define HAVE_SDL -#define HAVE_SDL_MIXER -#define HAVE_SDL_IMAGE -#define STDC_HEADERS -#define HAVE_GETCWD -#define HAVE_STRDUP -#define HAVE_SYS_TIME_H -#endif - - -#define HAVE_SDL_JOYSTICK -#define TIME_WITH_SYS_TIME -#define HAVE_GETTIMEOFDAY -#define HAVE_GL_GLEXT_H -#define HAVE_GL_GLX_H -#define USE_STENCIL_BUFFER - // -------------------------------------------------------------------- // includes // -------------------------------------------------------------------- @@ -103,6 +80,8 @@ GNU General Public License for more details. // defines // -------------------------------------------------------------------- +#define USE_STENCIL_BUFFER + #include "version.h" #define PROG_NAME "ETR" #define PACKAGE "etr"