mirror of
https://github.com/thepigeongenerator/sdl_template.git
synced 2025-12-17 05:55:47 +01:00
14 lines
360 B
C
14 lines
360 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "gametime.h"
|
|
|
|
typedef struct {
|
|
gametime time;
|
|
} gamedata;
|
|
|
|
void game_init(gamedata*); // initializes everything needed to start the game; outputs to game_data
|
|
void game_update(gamedata*); // causes an update to occur within the game
|
|
void game_free(gamedata*); // frees the resources associated with the game
|