diff options
Diffstat (limited to 'src/systems')
-rw-r--r-- | src/systems/input.h | 2 | ||||
-rw-r--r-- | src/systems/terrain.h | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/systems/input.h b/src/systems/input.h index 11c40ea..f928ed1 100644 --- a/src/systems/input.h +++ b/src/systems/input.h @@ -39,4 +39,4 @@ bool key_just_released(keycode key); bool Input_Init(Input_State *input, struct GLFWwindow *window); void Input_Shutdown(Input_State *input); -void Input_Update(Input_State *state); // must be run once per main loop +void Input_Update(Input_State *state); // must be run once per main loop diff --git a/src/systems/terrain.h b/src/systems/terrain.h index 4e709ed..2d6ff4a 100644 --- a/src/systems/terrain.h +++ b/src/systems/terrain.h @@ -30,14 +30,15 @@ typedef struct Terrain_Storage Terrain_Storage; // --- Public API PUB bool Terrain_Init(Terrain_Storage* storage); PUB void Terrain_Shutdown(Terrain_Storage* storage); -PUB void Terrain_Draw(Terrain_Storage* storage); // NOTE: For now it renders directly to main framebuffer +PUB void Terrain_Draw( + Terrain_Storage* storage); // NOTE: For now it renders directly to main framebuffer /** @brief Sets the active heightmap to be rendered and collided against. */ PUB void Terrain_LoadHeightmap(Heightmap hmap, bool free_on_upload); PUB Heightmap Heightmap_FromImage(Str8 filepath); PUB Heightmap Heightmap_FromPerlin(/* TODO: perlin noise generation parameters */); -PUB bool Terrain_IsActive(); // checks whether we have a loaded heightmap and it's being rendered +PUB bool Terrain_IsActive(); // checks whether we have a loaded heightmap and it's being rendered // --- Internal |