lmdave/lmdave.h

26 lines
429 B
C
Raw Normal View History

#ifndef _LMDAVE_H
#define _LMDAVE_H
#include <SDL.h>
// for dealing with resources in EXE
#include "util/util.h"
// global game state
typedef struct {
uint8_t quit;
uint8_t current_level;
uint8_t view_x, view_y;
level_t* levels; // grabbed from util
} game_state_t;
// game assets
typedef struct {
// tiles as textures converted from util's tile surfaces
SDL_Texture* tile_tx[NUM_EXE_TILES];
} game_assets_t;
#endif