skateshop basics
[carveJwlIkooP6JGAAIwe30JlM.git] / entity.c
1 #ifndef ENTITY_C
2 #define ENTITY_C
3
4 #include "entity.h"
5 #include "world.h"
6
7 #include "ent_skateshop.c"
8
9 VG_STATIC void entity_call( world_instance *world, ent_call *call )
10 {
11 u32 type = mdl_entity_id_type( call->id );
12
13 if( type == k_ent_volume ){
14 ent_volume_call( world, call );
15 } else if( type == k_ent_audio ){
16 ent_audio_call( world, call );
17 } else if( type == k_ent_skateshop ){
18 ent_skateshop_call( world, call );
19 }
20 }
21
22 #endif /* ENTITY_C */