X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;ds=sidebyside;f=world_water.h;h=47855b22fe8a6d8b717f441e84c6c210eef78f30;hb=b440efbe5785d114d08bb3f5ec0e09cad943006d;hp=ae7a6963a967fa8c9097c59b30f07043ad0620e7;hpb=5d5d5f394cbe2212769bc58a70fa622b4ed46205;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_water.h b/world_water.h index ae7a696..47855b2 100644 --- a/world_water.h +++ b/world_water.h @@ -2,20 +2,15 @@ * Copyright (C) 2021-2023 Mt.ZERO Software, Harry Godden - All Rights Reserved */ -#ifndef WATER_H -#define WATER_H - +#pragma once #include "world.h" struct world_water{ GLuint tex_water_surf; } -static world_water; -VG_STATIC void world_water_init(void); - -VG_STATIC void water_set_surface( world_instance *world, float height ); -VG_STATIC void render_water_texture( world_instance *world, camera *cam, - int layer_depth ); -VG_STATIC void render_water_surface( world_instance *world, camera *cam ); +extern world_water; +void world_water_init(void); -#endif /* WATER_H */ +void water_set_surface( world_instance *world, f32 height ); +void render_water_texture( world_instance *world, vg_camera *cam ); +void render_water_surface( world_instance *world, vg_camera *cam );