Debian Codegraph @

src/BgTilesetsManager.h

raw
1 #ifndef TILESETSMANAGER_H
2 #define TILESETSMANAGER_H
3
4 #include "SDL.h"
5
6 #include "gfx_tiles.h"
7 #include "IOGfxSurface.h"
8
9 class BgTilesetsManager {
10 public:
11 IOGfxSurface* slots[GFX_TILES_NB_SETS+1]; /* 1-indexed array */
12
13 BgTilesetsManager();
14 ~BgTilesetsManager();
15 void loadDefault();
16 void loadSlot(int slot, char* relpath);
17 void unloadAll();
18 int getMemUsage();
19 };
20
21 #endif