Sophie

Sophie

distrib > Mandriva > 2011.0 > i586 > media > contrib-release-debug > by-pkgid > 50a7a158ca2a98a087c4124a0676b44f > files > 14

abe-debug-1.1-7mdv2011.0.i586.rpm

#ifndef EDITOR_H
#define EDITOR_H

#include <sys/types.h>
#include <dirent.h>
#include "Main.h"
#include "Icons.h"

#define EDIT_PANEL_HEIGHT 120

typedef struct _editpanel {
  SDL_Surface *image;
  int level;
  int image_index;
} EditPanel;

extern EditPanel edit_panel;
extern Cursor editor_cursor;

void initEditor();
void editMap();
void editorMainLoop(SDL_Event * event);
void drawEditPanel();
void editorAfterScreenFlipped();

#endif