-#ifndef ENT_OBJECTIVE_C
-#define ENT_OBJECTIVE_C
-
#include "world.h"
#include "world_load.h"
#include "entity.h"
#include "audio.h"
#include "steam.h"
+#include "ent_region.h"
+#include "player.h"
+#include "player_skate.h"
static void ent_objective_pass( world_instance *world,
ent_objective *objective ){
}
}
-static void ent_objective_call( world_instance *world, ent_call *call ){
+void ent_objective_call( world_instance *world, ent_call *call )
+{
u32 index = mdl_entity_id_id( call->id );
ent_objective *objective = mdl_arritm( &world->ent_objective, index );
vg_error( "Unhandled function id: %u\n", call->function );
}
}
-
-#endif /* ENT_OBJECTIVE_C */