X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_load.c;h=5a2861351c7d75956caebbf3bdfbc532f6392fc8;hb=5fa590f62aa7e62a8b6b07e10556c2ecc54cdca6;hp=312d61a09b15d937d7a16d0c800ba70bdf0391ed;hpb=4eccfd7252f8ff165670842df537441afae5458b;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_load.c b/world_load.c index 312d61a..5a28613 100644 --- a/world_load.c +++ b/world_load.c @@ -1,6 +1,3 @@ -#ifndef WORLD_LOAD_C -#define WORLD_LOAD_C - #include "world_load.h" #include "world_routes.h" #include "world_gate.h" @@ -11,6 +8,8 @@ #include "network.h" #include "player_remote.h" #include "vg/vg_loader.h" +#include "vg/vg_io.h" +#include /* * load the .mdl file located in path as a world instance @@ -472,7 +471,6 @@ void world_free( world_instance *world ) mesh_free( &world->mesh_route_lines ); mesh_free( &world->mesh_geo ); mesh_free( &world->mesh_no_collide ); - mesh_free( &world->mesh_water ); /* glDeleteBuffers silently ignores 0's and names that do not correspond to * existing buffer objects. @@ -553,5 +551,3 @@ void world_init_blank( world_instance *world ) v3_copy( (v3f){1.000f, 0.809f, 0.318f}, state->g_sun_colour ); #endif } - -#endif /* WORLD_LOAD_C */