mirror of
https://github.com/zeldaret/tmc
synced 2026-09-06 11:05:07 -04:00
fixed install.md
This commit is contained in:
+11
-9
@@ -4,7 +4,11 @@
|
||||
#ifndef ENTITY_H
|
||||
#define ENTITY_H
|
||||
|
||||
|
||||
typedef struct {
|
||||
void *entity1;
|
||||
void *entity2;
|
||||
u8 filler[14];
|
||||
} UnkStruct;
|
||||
|
||||
typedef struct {
|
||||
u8 type;
|
||||
@@ -18,11 +22,6 @@ union SplitWord {
|
||||
s16 LO, HI;
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
u16 LO;
|
||||
u16 HI;
|
||||
} Pos;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
u32 *field_0x0;
|
||||
@@ -73,7 +72,7 @@ typedef struct
|
||||
u8 field_0x4d;
|
||||
u8 field_0x4e;
|
||||
u8 field_0x4f;
|
||||
u32 * spritePtr;
|
||||
void * parent;
|
||||
u32 * attachedEntity;
|
||||
u8 field_0x58;
|
||||
u8 field_0x59;
|
||||
@@ -90,8 +89,11 @@ typedef struct
|
||||
u32 * otherEntity;
|
||||
u8 filler2[8];
|
||||
u32 * heldObjectPtr;
|
||||
u8 filler[12];
|
||||
u32 * field_0x84;
|
||||
u8 filler3[2];
|
||||
u16 itemCooldown;
|
||||
u32 field_0x7c;
|
||||
UnkStruct *unkStruct;
|
||||
u32 *field_0x84;
|
||||
|
||||
} Entity;
|
||||
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
|
||||
#ifndef ITEM_H
|
||||
#define ITEM_H
|
||||
|
||||
/* On hold until naming conflicts are resolved */
|
||||
/*
|
||||
enum
|
||||
{
|
||||
Untyped,
|
||||
@@ -123,4 +126,16 @@
|
||||
FastSplit = 0x74,
|
||||
LongSpin = 0x75
|
||||
} ItemType;
|
||||
*/
|
||||
typedef struct {
|
||||
u8 unk;
|
||||
u8 behaviorID;
|
||||
u8 unk2;
|
||||
u8 unk3;
|
||||
u8 stateID;
|
||||
u8 filler[4];
|
||||
u8 unk4;
|
||||
u8 filler2[4];
|
||||
u8 unk5;
|
||||
} ItemBehavior;
|
||||
#endif
|
||||
@@ -0,0 +1,47 @@
|
||||
#ifndef LINK_H
|
||||
#define LINK_H
|
||||
|
||||
#include "global.h"
|
||||
|
||||
typedef struct {
|
||||
u8 filler[2];
|
||||
u8 jumpStatus;
|
||||
u8 filler2[2];
|
||||
u8 heldObject;
|
||||
u8 pushedObject;
|
||||
u8 unk;
|
||||
u16 unk2;
|
||||
u8 unk3;
|
||||
u8 keepFacing;
|
||||
u8 linkAction;
|
||||
u8 filler3[2];
|
||||
u8 hurtBlinkSpeed;
|
||||
u8 filler4[4];
|
||||
u16 filler5[3];
|
||||
u8 filler6[8];
|
||||
u16 filler7[2];
|
||||
u8 swimState;
|
||||
u8 filler8[5];
|
||||
u8 *unk4;
|
||||
union {
|
||||
u32 all;
|
||||
u32 filler9:3;
|
||||
u32 noMinishCap:1;
|
||||
u32 pullingState:1;
|
||||
u32 windyState:1;
|
||||
u32 filler10:4;
|
||||
u32 slipperyState:1;
|
||||
u32 filler11:5;
|
||||
u32 filler11b:16;
|
||||
} flags;
|
||||
u8 filler12[6];
|
||||
u16 unk5;
|
||||
u8 filler13[2];
|
||||
u8 swordGoldParticle:1;
|
||||
u8 swordBlueParticle:1;
|
||||
u8 filler14:6;
|
||||
u8 unk6;
|
||||
} LinkState;
|
||||
|
||||
|
||||
#endif
|
||||
+1
-1
@@ -38,7 +38,7 @@ extern s32 sub_08050154(s32);
|
||||
extern s32 sub_080A3480(s32);
|
||||
|
||||
extern s32 gUnk_02000010;
|
||||
extern s32 gUnk_03001150;
|
||||
extern s32 gRand;
|
||||
extern MainStruct gUnk_03001000;
|
||||
extern s32 gUnk_08100CBC;
|
||||
#endif
|
||||
+5
-1
@@ -9,7 +9,11 @@ typedef struct {
|
||||
u8 heartPieces;
|
||||
u8 health;
|
||||
u8 maxHealth;
|
||||
u8 filler[8];
|
||||
u8 bombCount;
|
||||
u8 arrowCount;
|
||||
u8 bombBagType;
|
||||
u8 quiverType;
|
||||
u8 filler[4];
|
||||
u8 itemOnA;
|
||||
u8 itemonB;
|
||||
u8 filler2[10];
|
||||
|
||||
Reference in New Issue
Block a user