Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > ad8d7871124ad9c4756affee9b755bc2 > files > 15

abe-debug-1.1-4mdv2009.0.i586.rpm

#ifndef MAIN_H
#define MAIN_H


#include <stdlib.h>
#include <string.h>
#include "SDL.h"
#include "SDL_thread.h"
#include "SDL_mixer.h"

#include "Common.h"
#include "Image.h"
#include "Font.h"
#include "Util.h"
#include "Sound.h"
#include "Splash.h"
#include "Menu.h"
#include "Map.h"
#include "MapIO.h"
#include "Monster.h"
#include "Editor.h"
#include "Game.h"

#define RUNMODE_SPLASH 0
#define RUNMODE_EDITOR 1
#define RUNMODE_GAME 2

extern int runmode;

extern SDL_Surface *screen;
extern int state;

typedef struct _main {
  int drawBackground;
  int full_screen;
  int alphaBlend;
  int effects_enabled;
} Main;
extern Main mainstruct;

void startEditor();
void startGame();
void showLoadingProgress();

#endif