Skip to content

Commit

Permalink
Link it_2F28 (#1476)
Browse files Browse the repository at this point in the history
Co-authored-by: Robin Avery <[email protected]>
  • Loading branch information
AaronB-Hub and ribbanya authored Sep 30, 2024
1 parent eba088d commit 9f36bae
Show file tree
Hide file tree
Showing 9 changed files with 151 additions and 274 deletions.
269 changes: 0 additions & 269 deletions asm/melee/it/items/it_2F28.s

This file was deleted.

2 changes: 1 addition & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ def TRKLib(lib_name: str, objects: Objects) -> Library:
Object(NonMatching, "melee/it/items/itcrazyhandbomb.c"),
Object(Matching, "melee/it/items/itcoin.c"),
Object(NonMatching, "melee/it/items/itkirby_2F23.c"),
Object(NonMatching, "melee/it/items/it_2F28.c"),
Object(Matching, "melee/it/items/it_2F28.c"),
Object(Matching, "melee/it/items/it_2F2B.c"),
Object(Matching, "melee/it/items/itkirbyyoshispecialn.c"),
Object(NonMatching, "melee/it/items/it_27CF.c"),
Expand Down
2 changes: 1 addition & 1 deletion obj_files.mk
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ TEXT_O_FILES +=\
$(BUILD_DIR)/asm/melee/it/items/itcrazyhandbomb.s.o\
$(BUILD_DIR)/src/melee/it/items/itcoin.c.o\
$(BUILD_DIR)/asm/melee/it/items/itkirby_2F23.s.o\
$(BUILD_DIR)/asm/melee/it/items/it_2F28.s.o\
$(BUILD_DIR)/src/melee/it/items/it_2F28.c.o\
$(BUILD_DIR)/src/melee/it/items/it_2F2B.c.o\
$(BUILD_DIR)/src/melee/it/items/itkirbyyoshispecialn.c.o\
$(BUILD_DIR)/asm/melee/it/items/it_27CF.s.o\
Expand Down
3 changes: 2 additions & 1 deletion src/melee/it/forward.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

typedef struct Article Article;
typedef struct BobOmbRain BobOmbRain;
typedef struct BoneDynamicsDesc BoneDynamicsDesc;
typedef struct CameraBoxFlags CameraBoxFlags;
typedef struct DynamicBoneTable DynamicBoneTable;
typedef struct ECB ECB;
Expand All @@ -14,12 +15,12 @@ typedef struct HSD_ObjAllocUnk2 HSD_ObjAllocUnk2;
typedef struct HSD_ObjAllocUnk4 HSD_ObjAllocUnk4;
typedef struct HSD_ObjAllocUnk5 HSD_ObjAllocUnk5;
typedef struct HSD_ObjAllocUnk6 HSD_ObjAllocUnk6;
typedef struct it_2F28_DatAttrs it_2F28_DatAttrs;
typedef struct Item Item;
typedef struct Item_DynamicBones Item_DynamicBones;
typedef struct ItemAttr ItemAttr;
typedef struct ItemCommonData ItemCommonData;
typedef struct ItemDynamics ItemDynamics;
typedef struct BoneDynamicsDesc BoneDynamicsDesc;
typedef struct ItemModelDesc ItemModelDesc;
typedef struct ItemModStruct ItemModStruct;
typedef struct ItemStateArray ItemStateArray;
Expand Down
11 changes: 11 additions & 0 deletions src/melee/it/itCommonItems.h
Original file line number Diff line number Diff line change
Expand Up @@ -393,4 +393,15 @@ typedef struct itTaruCann_DatAttrs {
/* +2C */ int x2C;
} itTaruCann_DatAttrs;

typedef struct it_2F28_ItemVars {
f32 x0;
} it_2F28_ItemVars;

struct it_2F28_DatAttrs {
Vec3 pos;
Vec3 vel;
f32 float1;
f32 float2;
};

#endif
2 changes: 1 addition & 1 deletion src/melee/it/it_2725.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
/* 275788 */ UNK_RET it_80275788(UNK_PARAMS);
/* 275820 */ UNK_RET it_80275820(UNK_PARAMS);
/* 275870 */ bool it_80275870(Item_GObj* gobj);
/* 2758D4 */ UNK_RET it_802758D4(UNK_PARAMS);
/* 2758D4 */ float it_802758D4(Item_GObj* gobj);
/* 2759DC */ UNK_RET it_802759DC(UNK_PARAMS);
/* 275BC8 */ UNK_RET it_80275BC8(UNK_PARAMS);
/* 275D5C */ void it_80275D5C(Item_GObj*, ECB*);
Expand Down
Loading

0 comments on commit 9f36bae

Please sign in to comment.