2024-10-05 21:17:22 +00:00
|
|
|
#ifndef STATE_H
|
|
|
|
#define STATE_H
|
|
|
|
|
|
|
|
#include "twn_game_api.h"
|
|
|
|
|
|
|
|
#include <lua.h>
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct State {
|
|
|
|
lua_State *L;
|
2024-10-06 17:14:21 +00:00
|
|
|
unsigned char *game_buf;
|
|
|
|
size_t game_buf_size;
|
2024-10-05 21:17:22 +00:00
|
|
|
} State;
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|