projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tone down triangle complainers
[carveJwlIkooP6JGAAIwe30JlM.git]
/
entity.c
diff --git
a/entity.c
b/entity.c
index cfc710618e60af5a26d6d1064c95ced82b4631e4..33bed055a2b8d0df0eafa1b84ea6f6a32ff4c3ee 100644
(file)
--- a/
entity.c
+++ b/
entity.c
@@
-7,6
+7,8
@@
#include "ent_skateshop.c"
#include "ent_challenge.c"
#include "ent_skateshop.c"
#include "ent_challenge.c"
+#include "ent_unlock.c"
+#include "ent_relay.c"
typedef void (*fn_entity_call_handler)( world_instance *, ent_call *);
typedef void (*fn_entity_call_handler)( world_instance *, ent_call *);
@@
-18,10
+20,13
@@
VG_STATIC void entity_call( world_instance *world, ent_call *call ){
[k_ent_audio] = ent_audio_call,
[k_ent_skateshop] = ent_skateshop_call,
[k_ent_challenge] = ent_challenge_call,
[k_ent_audio] = ent_audio_call,
[k_ent_skateshop] = ent_skateshop_call,
[k_ent_challenge] = ent_challenge_call,
- [k_ent_ccmd] = ent_ccmd_call
+ [k_ent_ccmd] = ent_ccmd_call,
+ [k_ent_gate] = ent_gate_call,
+ [k_ent_relay] = ent_relay_call,
+ [k_ent_unlock] = ent_unlock_call
};
};
- if( type > vg_list_size(table) ){
+ if( type >
=
vg_list_size(table) ){
vg_error( "call to entity type: %u is out of range\n", type );
return;
}
vg_error( "call to entity type: %u is out of range\n", type );
return;
}