Skip to content

Commit

Permalink
Link it_2F28
Browse files Browse the repository at this point in the history
  • Loading branch information
ribbanya committed Sep 30, 2024
1 parent 2784bbe commit d06b8a4
Show file tree
Hide file tree
Showing 6 changed files with 8 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
5 changes: 3 additions & 2 deletions src/melee/it/itCommonItems.h
Original file line number Diff line number Diff line change
Expand Up @@ -396,11 +396,12 @@ typedef struct itTaruCann_DatAttrs {
typedef struct it_2F28_ItemVars {
f32 x0;
} it_2F28_ItemVars;
typedef struct it_2F28_DatAttrs {

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

#endif
1 change: 1 addition & 0 deletions src/melee/it/items/it_2F28.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include "it/items/types.h"

/* 2F28C8 */ void it_802F28C8(Item_GObj*, int, float);
/* 2F295C */ float it_802F295C(HSD_GObj* owner_gobj, it_2F28_DatAttrs* attr);
/* 2F2BDC */ void it_802F2BDC(Item_GObj*, HSD_GObj*);
/* 3F9470 */ extern ItemStateTable it_803F9470[];

Expand Down

0 comments on commit d06b8a4

Please sign in to comment.