projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
npcs and tutorial stuff
[carveJwlIkooP6JGAAIwe30JlM.git]
/
entity.c
diff --git
a/entity.c
b/entity.c
index 261dbbcd2c1ba89c89b58d4ff45997eae0f2871a..557ba799a792d2e61e96f8fa3591b67ed72a4b78 100644
(file)
--- a/
entity.c
+++ b/
entity.c
@@
-10,6
+10,7
@@
#include "ent_miniworld.h"
#include "ent_region.h"
#include "ent_glider.h"
#include "ent_miniworld.h"
#include "ent_region.h"
#include "ent_glider.h"
+#include "ent_npc.h"
typedef void (*fn_entity_call_handler)( world_instance *, ent_call *);
typedef void (*fn_entity_call_handler)( world_instance *, ent_call *);
@@
-29,7
+30,8
@@
void entity_call( world_instance *world, ent_call *call )
[k_ent_route] = ent_route_call,
[k_ent_miniworld] = ent_miniworld_call,
[k_ent_region] = ent_region_call,
[k_ent_route] = ent_route_call,
[k_ent_miniworld] = ent_miniworld_call,
[k_ent_region] = ent_region_call,
- [k_ent_glider] = ent_glider_call
+ [k_ent_glider] = ent_glider_call,
+ [k_ent_npc] = ent_npc_call
};
if( type >= vg_list_size(table) ){
};
if( type >= vg_list_size(table) ){