初具模型的扫雷
This commit is contained in:
17
include/context.h
Normal file
17
include/context.h
Normal file
@ -0,0 +1,17 @@
|
||||
#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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user