summaryrefslogtreecommitdiff
path: root/rpg.h
blob: d4ae97fabfaf2c5bfd08295f6ca4dc0928591a7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef RPG_H
#define RPG_H

#include <SDL/SDL.h>
#include <SDL/SDL_ttf.h>

#include "structures.h"

#define DEFAULT_WIDTH  1024
#define DEFAULT_HEIGHT  768

struct rpg_t {
    SDL_Surface *screen;

    TTF_Font *font;

    /* XXX those are deprecated */
    SURFACES surfaces;
    POSITIONS positions;
};

extern struct rpg_t rpg_g;

#endif /* RPG_H */