adventskalender-2009/src/config.c
Aaron Mueller 01147c0d35 Adding game states and menu
* Implement a simple state machine to simulate different game stats
 * Create a generic menu to display different menus
 * Update the Makefile for TTF support
 * Draw a simple diagram to show the stats
2009-12-16 15:37:24 +01:00

16 lines
274 B
C

#include "SDL.h"
#include <stdbool.h>
#include "config.h"
// Initialization for the global variables
SDL_Surface *screen = NULL;
SDL_Event event;
TTF_Font *menuFont;
bool gameRunning = true;
int *terrain = NULL;
enum states currentState;
int currentMenuActionState = 0;