projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dont render if blocked
[carveJwlIkooP6JGAAIwe30JlM.git]
/
entity.c
diff --git
a/entity.c
b/entity.c
index 82c3ecde18601037942289e3a9dcb4f02f5091b1..287016a60a15fb28433bb48123e3daded8420fd9 100644
(file)
--- a/
entity.c
+++ b/
entity.c
@@
-9,10
+9,11
@@
#include "ent_objective.c"
#include "ent_challenge.c"
#include "ent_relay.c"
#include "ent_objective.c"
#include "ent_challenge.c"
#include "ent_relay.c"
+#include "ent_route.c"
typedef void (*fn_entity_call_handler)( world_instance *, ent_call *);
typedef void (*fn_entity_call_handler)( world_instance *, ent_call *);
-
VG_STATIC
void entity_call( world_instance *world, ent_call *call ){
+
static
void entity_call( world_instance *world, ent_call *call ){
u32 type = mdl_entity_id_type( call->id );
fn_entity_call_handler table[] = {
u32 type = mdl_entity_id_type( call->id );
fn_entity_call_handler table[] = {
@@
-23,7
+24,8
@@
VG_STATIC void entity_call( world_instance *world, ent_call *call ){
[k_ent_ccmd] = ent_ccmd_call,
[k_ent_gate] = ent_gate_call,
[k_ent_relay] = ent_relay_call,
[k_ent_ccmd] = ent_ccmd_call,
[k_ent_gate] = ent_gate_call,
[k_ent_relay] = ent_relay_call,
- [k_ent_challenge] = ent_challenge_call
+ [k_ent_challenge] = ent_challenge_call,
+ [k_ent_route] = ent_route_call
};
if( type >= vg_list_size(table) ){
};
if( type >= vg_list_size(table) ){