X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;ds=sidebyside;f=entity.c;h=ffb5deed5d9c0c9e905e1c39335b80c8173e04fe;hb=HEAD;hp=f5e8004510d104c3eb9799b572a6e9c168cef7d6;hpb=4c95c9c3e6033cd1360adacef3c80fc4da933715;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/entity.c b/entity.c deleted file mode 100644 index f5e8004..0000000 --- a/entity.c +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef ENTITY_C -#define ENTITY_C - -#include "world.h" -#include "entity.h" -#include "world_entity.h" - -#include "ent_skateshop.c" - -VG_STATIC void entity_call( world_instance *world, ent_call *call ) -{ - u32 type = mdl_entity_id_type( call->id ); - - if( type == k_ent_volume ){ - ent_volume_call( world, call ); - } else if( type == k_ent_audio ){ - ent_audio_call( world, call ); - } else if( type == k_ent_skateshop ){ - ent_skateshop_call( world, call ); - } else if( type == k_ent_ccmd ){ - ent_ccmd_call( world, call ); - } -} - -#endif /* ENTITY_C */