timesynk/engine/states/state_test.h

25 lines
444 B
C

#ifndef STATE_TEST
#define STATE_TEST
#include "state_globals.h"
#include "../map.h"
#include "../tile.h"
/* state hooks */
void initTestState();
void freeTestState();
void handleTestState(struct TSEvent event);
void processTestState(int delta);
void renderTestState();
/* state variables */
struct Map *test_map;
struct Tile *test_player_tile;
char key_press[4]; // temp for 4 cardinals
long test_accumulator;
long s_accumulator;
#endif