2009-12-07 16:57:30 +01:00
|
|
|
|
|
|
|
#include "SDL.h"
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include "config.h"
|
|
|
|
|
2009-12-19 21:57:22 +01:00
|
|
|
bool DEBUG = false;
|
|
|
|
|
2009-12-07 16:57:30 +01:00
|
|
|
// Initialization for the global variables
|
|
|
|
SDL_Surface *screen = NULL;
|
|
|
|
SDL_Event event;
|
2009-12-16 15:37:24 +01:00
|
|
|
TTF_Font *menuFont;
|
2009-12-07 16:57:30 +01:00
|
|
|
bool gameRunning = true;
|
2009-12-14 00:28:06 +01:00
|
|
|
int *terrain = NULL;
|
2009-12-07 16:57:30 +01:00
|
|
|
|
2009-12-16 15:37:24 +01:00
|
|
|
enum states currentState;
|
|
|
|
int currentMenuActionState = 0;
|
|
|
|
|