eco2d/code/common/game.h

12 lines
282 B
C
Raw Normal View History

2021-01-11 13:47:14 +00:00
#pragma once
2021-01-11 20:08:16 +00:00
#include "system.h"
2021-01-10 16:42:01 +00:00
2021-05-04 19:22:55 +00:00
void game_init(int8_t play_mode, int32_t seed, uint16_t block_size, uint16_t chunk_size, uint16_t world_size);
2021-01-11 13:47:14 +00:00
void game_shutdown();
2021-01-11 20:08:16 +00:00
uint8_t game_is_running();
2021-05-04 19:45:51 +00:00
int8_t game_is_networked();
2021-01-10 16:42:01 +00:00
2021-01-11 13:47:14 +00:00
void game_input();
void game_update();
void game_render();