Add game layer linking
This commit is contained in:
parent
e84a413c9e
commit
9a4c57d4c2
8 changed files with 146 additions and 74 deletions
16
game.h
Normal file
16
game.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef GAME_H
|
||||
#define GAME_H
|
||||
|
||||
#include "input.h"
|
||||
#include "arena.h"
|
||||
|
||||
typedef struct {
|
||||
input_t game_input;
|
||||
arena_t main_arena;
|
||||
int32_t window_h;
|
||||
int32_t window_w;
|
||||
int64_t frame;
|
||||
double dt;
|
||||
} game_state_t;
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue