#pragma once #include "WindowManager.h" #include "MenuManager.h" #include "WorldManager.h" #include "Vectors.h" #ifndef __MWERKS__ #include "WindowManager.c" #include "MenuManager.c" #include "WorldManager.c" #include "Vectors.c" #endif #define CAMERASPEED 0.001 #define FORWARDS 1 #define STATIONARY 0 #define BACKWARDS -1 typedef struct VGame { EventLoopTimerRef timerRef; VWindow w; VMenu m; VWorld world; Vector cMovement; Vector cRotate; int Direction; UnsignedWide lastTime; /* Temporary: for testing */ float Rot; } VGame; void InitGame(VGame * g); void RunGame(VGame * g); void CleanUpGame(VGame * g);