#ifndef _GAME_H_
#define _GAME_H_
-#if USE_SDL
#include "SDL.h"
-#endif
#if (defined(__APPLE__) && defined(__MACH__))
# ifdef PLATFORM_MACOSX
#include "Lights.h"
#include "Person.h"
#include "Constants.h"
-#include "fmod.h"
#include "Sprites.h"
//#include <agl.h>
#include "Text.h"
#include "binio.h"
#include <fstream>
#include "gamegl.h"
+#include "Stereo.h"
extern GLuint rabbittexture;
int loaddistrib;
int keyselect;
int indemo;
- int registered;
bool won;
void LoadingScreen();
void FadeLoadingScreen(float howmuch);
void Dispose();
- int DrawGLScene(void);
+ int DrawGLScene(StereoSide side);
void Tick();
void TickOnce();
void TickOnceAfter();
static __forceinline void swap_gl_buffers(void)
{
-#ifdef WIN32
- extern HDC hDC;
- SwapBuffers( hDC);
-#elif USE_SDL
+
SDL_GL_SwapBuffers();
-#elif PLATFORM_MACOSX
- extern AGLContext gaglContext;
- aglSwapBuffers(gaglContext);
-#else
- #error define your platform.
-#endif
+
}
#ifdef __GNUC__