18 lines
235 B
C
18 lines
235 B
C
#ifndef INIT_H
|
|
#define INIT_H
|
|
#include "def.h"
|
|
#include <SDL.h>
|
|
|
|
typedef struct Context {
|
|
int map[ROW][COL];
|
|
int mapcopy[ROW][COL];
|
|
SDL_Texture * imgs[10];
|
|
} Context;
|
|
|
|
void contextInit();
|
|
void imgInit();
|
|
|
|
#endif //INIT_H
|
|
|
|
|