diff options
| author | octorock <79596758+octorock@users.noreply.github.com> | 2023-12-30 18:42:30 +0100 |
|---|---|---|
| committer | octorock <79596758+octorock@users.noreply.github.com> | 2023-12-30 18:42:30 +0100 |
| commit | 5676cb7890facded77c5cf32c6017fbf12a4d386 (patch) | |
| tree | b4c20f5d35f988becdb69dbd86b1aedef405286b /src/object | |
| parent | 3b87c0416294e830ad256226f315c6b416160493 (diff) | |
Use new entity structs in a few more files
Diffstat (limited to 'src/object')
| -rw-r--r-- | src/object/houseSign.c | 10 | ||||
| -rw-r--r-- | src/object/itemForSale.c | 10 |
2 files changed, 4 insertions, 16 deletions
diff --git a/src/object/houseSign.c b/src/object/houseSign.c index 29a7dc5c..149d3cc6 100644 --- a/src/object/houseSign.c +++ b/src/object/houseSign.c @@ -4,15 +4,9 @@ * * @brief HouseSign object */ -#include "asm.h" -#include "entity.h" +#include "object/houseSign.h" -typedef struct { - /*0x00*/ Entity base; - /*0x68*/ u8 unused1[24]; - /*0x80*/ s16 unk_80; - /*0x82*/ s16 unk_82; -} HouseSignEntity; +#include "asm.h" /* This object is created by HouseSignManager. diff --git a/src/object/itemForSale.c b/src/object/itemForSale.c index dda0c547..fc67ff26 100644 --- a/src/object/itemForSale.c +++ b/src/object/itemForSale.c @@ -4,19 +4,13 @@ * * @brief Item for Sale object */ +#include "object/itemForSale.h" + #include "functions.h" #include "hitbox.h" #include "kinstone.h" #include "message.h" #include "new_player.h" -#include "object.h" - -typedef struct { - /*0x00*/ Entity base; - /*0x68*/ u8 unk_68[0x18]; - /*0x80*/ u16 unk_80; - /*0x82*/ u16 unk_82; -} ItemForSaleEntity; typedef struct { u8 before[0x20]; |
