初具模型的扫雷

This commit is contained in:
wlx
2025-07-16 18:48:06 +08:00
commit 68eebdd09f
544 changed files with 242337 additions and 0 deletions

17
include/context.h Normal file
View 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