summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2020-07-12 22:58:48 -0700
committertheo3 <arisstephenson2@gmail.com>2020-07-12 22:58:48 -0700
commit6aba97697bcf1c970de2d53bc3485f711b0a17db (patch)
tree4a5654ae704f5dccabe4967df4cbfff8e6614729 /include
parentd429f7f9cbe2a5c1d90139d9459fcd899b390fbc (diff)
gentari.c OK
Diffstat (limited to 'include')
-rw-r--r--include/entity.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/entity.h b/include/entity.h
index 661e8343..b79d1d5a 100644
--- a/include/entity.h
+++ b/include/entity.h
@@ -160,6 +160,12 @@ typedef struct Entity {
((((entity->x.HALF.HI - xOff - gRoomControls.roomOriginX) >> 4) & 0x3fU) | \
(((entity->y.HALF.HI - yOff - gRoomControls.roomOriginY) >> 4) & 0x3fU) << 6)
+extern Entity* CreateEnemy(u32 subtype, u32 form);
+extern Entity* CreateObject(u32 subtype, u32 form, u32 parameter);
+extern Entity* CreateNPC(u32 subtype, u32 form, u32 parameter);
+extern Entity* CreateObjectWithParent(Entity* parent, u32 subtype, u32 form, u32 parameter);
+extern Entity* CreateFx(Entity* parent, u32 form, u32 parameter);
+
extern void InitializeAnimation(Entity*, u32);
extern void InitAnimationForceUpdate(Entity*, u32);
extern void UpdateAnimationSingleFrame(Entity*);
@@ -170,11 +176,7 @@ extern void SetExtraSpriteFrame(Entity*, u32, u32);
extern void SetSpriteSubEntryOffsetData1(Entity*, u32, u32);
extern void SetSpriteSubEntryOffsetData2(Entity*, u32, u32);
-extern Entity* CreateEnemy(u32 subtype, u32 form);
-extern Entity* CreateObject(u32 subtype, u32 form, u32 parameter);
-extern Entity* CreateNPC(u32 subtype, u32 form, u32 parameter);
-extern Entity* CreateObjectWithParent(Entity* parent, u32 subtype, u32 form, u32 parameter);
-extern Entity* CreateFx(Entity* parent, u32 form, u32 parameter);
+extern u32 GetFacingDirection(Entity*, Entity*);
extern void DeleteThisEntity();
#endif