eco2d/code/common/game.h

15 lines
421 B
C

#pragma once
#include "system.h"
#include "world_view.h"
void game_init(int8_t play_mode, uint32_t num_viewers, int32_t seed, uint16_t block_size, uint16_t chunk_size, uint16_t world_size);
void game_shutdown();
uint8_t game_is_running();
int8_t game_is_networked();
void game_input();
void game_update();
void game_render();
world_view *game_world_view_get_active(void);
world_view *game_world_view_get(uint16_t idx);