update overlay to have ps controls too
[carveJwlIkooP6JGAAIwe30JlM.git] / world_water.h
1 /*
2 * Copyright (C) 2021-2023 Mt.ZERO Software, Harry Godden - All Rights Reserved
3 */
4
5 #pragma once
6 #include "world.h"
7
8 struct world_water{
9 GLuint tex_water_surf;
10 }
11 extern world_water;
12 void world_water_init(void);
13
14 void water_set_surface( world_instance *world, f32 height );
15 void render_water_texture( world_instance *world, vg_camera *cam );
16 void render_water_surface( world_instance *world, vg_camera *cam );
17 entity_call_result ent_water_call( world_instance *world, ent_call *call );
18 bool world_water_player_safe( world_instance *world, f32 allowance );