mirror of
https://github.com/zeldaret/tmc
synced 2026-06-12 21:45:23 -04:00
renamed all occurences of "link" to "player"
This commit is contained in:
+2
-2
@@ -5,7 +5,7 @@
|
||||
#include "global.h"
|
||||
#include "entity.h"
|
||||
#include "position.h"
|
||||
#include "link.h"
|
||||
#include "player.h"
|
||||
#include "structures.h"
|
||||
|
||||
// Identified - to be sorted into header files
|
||||
@@ -198,7 +198,7 @@ extern void sub_08001290(Entity*, u32);
|
||||
extern void sub_08004488(u32);
|
||||
extern void sub_08004596(Entity*, u32);
|
||||
extern u32 sub_0807953C(void);
|
||||
extern void ResetLink(void);
|
||||
extern void ResetPlayer(void);
|
||||
extern void sub_080A29BC(Entity*);
|
||||
extern void sub_080AE068(Entity*);
|
||||
extern Entity* sub_0805E8D4(void);
|
||||
|
||||
@@ -35,7 +35,7 @@ extern void (*const gUnk_081207A4[])(Entity*);
|
||||
|
||||
extern u32 gUnk_0810C2E4;
|
||||
extern RoomControls gRoomControls;
|
||||
extern Entity gLinkEntity;
|
||||
extern Entity gPlayerEntity;
|
||||
extern const s16 GreatFairy_RippleOffsets[10];
|
||||
extern u32 gUnk_02034350;
|
||||
extern RoomVars gRoomVars;
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "global.h"
|
||||
#include "entity.h"
|
||||
#include "link.h"
|
||||
#include "player.h"
|
||||
|
||||
void extern DebugItem(ItemBehavior*, u32);
|
||||
void extern Sword(ItemBehavior*, u32);
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
#include "global.h"
|
||||
#include "entity.h"
|
||||
#include "link.h"
|
||||
#include "player.h"
|
||||
|
||||
#ifndef NPC_H
|
||||
#define NPC_H
|
||||
|
||||
+1
-1
@@ -64,7 +64,7 @@ extern void JarPortal(Entity*);
|
||||
extern void BossDoor(Entity*);
|
||||
extern void Object3A(Entity*);
|
||||
extern void MacroMushromStalks(Entity*);
|
||||
extern void MacroLink(Entity*);
|
||||
extern void MacroPlayer(Entity*);
|
||||
extern void Object3D(Entity*);
|
||||
extern void Object3E(Entity*);
|
||||
extern void GiantLeaf(Entity*);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// clang-format off
|
||||
|
||||
#ifndef LINK_H
|
||||
#define LINK_H
|
||||
#ifndef PLAYER_H
|
||||
#define PLAYER_H
|
||||
|
||||
#include "global.h"
|
||||
#include "entity.h"
|
||||
@@ -16,7 +16,7 @@ typedef struct {
|
||||
/*0x08*/ u16 field_0x8;
|
||||
/*0x0a*/ u8 field_0xa;
|
||||
/*0x0b*/ u8 keepFacing;
|
||||
/*0x0c*/ u8 linkAction;
|
||||
/*0x0c*/ u8 playerAction;
|
||||
/*0x0d*/ u8 field_0xd[2];
|
||||
/*0x0f*/ u8 hurtBlinkSpeed;
|
||||
/*0x10*/ u8 field_0x10[4];
|
||||
@@ -56,7 +56,7 @@ typedef struct {
|
||||
/*0xa8*/ u8 field_0xa8[3];
|
||||
/*0xab*/ u8 field_0xab;
|
||||
/*0xac*/ u32 field_0xac;
|
||||
} LinkState;
|
||||
} PlayerState;
|
||||
|
||||
|
||||
typedef struct {
|
||||
@@ -94,9 +94,9 @@ typedef struct {
|
||||
|
||||
extern u8 gBombBagSizes[];
|
||||
|
||||
extern LinkState gLinkState;
|
||||
extern PlayerState gPlayerState;
|
||||
extern Stats gStats;
|
||||
extern Entity gLinkEntity;
|
||||
extern Entity gPlayerEntity;
|
||||
|
||||
|
||||
extern u32 GetInventoryValue(u32);
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "global.h"
|
||||
#include "entity.h"
|
||||
#include "link.h"
|
||||
#include "player.h"
|
||||
|
||||
typedef struct {
|
||||
char header[4];
|
||||
|
||||
Reference in New Issue
Block a user