This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
#ifndef _GAME_H_
#define _GAME_H_
+#if USE_SDL
+#include "SDL.h"
+#endif
+
#if (defined(__APPLE__) && defined(__MACH__))
# ifdef PLATFORM_MACOSX
# error Do not define PLATFORM_MACOSX for new builds. It is for the old Carbonized build.
#include "TGALoader.h"
-#if USE_SDL
-#include "SDL.h"
-#endif
-
#if !PLATFORM_MACOSX
#include "WinInput.h"
#else
#include "Terrain.h"
#include "Skybox.h"
#include "Skeleton.h"
-#include "Models.h"
+#include "Models.h"
#include "Lights.h"
#include "Person.h"
#include "Constants.h"
extern GLuint rabbittexture;
-class Game
+class Game
{
public:
int musicselected;
int change;
Game();
- ~Game() {
+ ~Game() {
for(int i=0;i<10;i++){
if(Mainmenuitems[i])glDeleteTextures( 1, &Mainmenuitems[i] );
}