mirror of https://github.com/zeldaret/tmc.git
				
				
				
			cleanup asm.h
This commit is contained in:
		
							parent
							
								
									0d58d2c5d7
								
							
						
					
					
						commit
						deacc6e95e
					
				|  | @ -12,9 +12,6 @@ extern void SetTile(u32 tileIndex, u32 tilePos, u32 layer); | ||||||
| extern void UpdateScrollVram(void); | extern void UpdateScrollVram(void); | ||||||
| extern u32 sub_080B1BA4(u32, u32, u32); | extern u32 sub_080B1BA4(u32, u32, u32); | ||||||
| extern void LoadResourceAsync(const void* src, void* dest, u32 size); | extern void LoadResourceAsync(const void* src, void* dest, u32 size); | ||||||
| extern void GenericConfused(struct Entity_*); |  | ||||||
| extern void sub_08001290(struct Entity_*, u32); |  | ||||||
| extern void GenericKnockback(struct Entity_*); |  | ||||||
| extern u32 GetFuserId(struct Entity_*); | extern u32 GetFuserId(struct Entity_*); | ||||||
| #define GetFuserIdAndFuserTextId(ent) ((union SplitDWord)(*(MultiReturnTypeSingleEntityArg)(&GetFuserId))(ent)) | #define GetFuserIdAndFuserTextId(ent) ((union SplitDWord)(*(MultiReturnTypeSingleEntityArg)(&GetFuserId))(ent)) | ||||||
| extern u32 CheckPlayerInRegion(u32 centerX, u32 centerY, u32 radiusX, u32 radiusY); | extern u32 CheckPlayerInRegion(u32 centerX, u32 centerY, u32 radiusX, u32 radiusY); | ||||||
|  | @ -39,12 +36,9 @@ extern void sub_08004596(struct Entity_*, u32); | ||||||
| extern u32 sub_080045B4(struct Entity_*, u32, u32); | extern u32 sub_080045B4(struct Entity_*, u32, u32); | ||||||
| extern u32 CalculateDirectionTo(u32, u32, u32, u32); | extern u32 CalculateDirectionTo(u32, u32, u32, u32); | ||||||
| extern u32 CalculateDirectionFromOffsets(s32, s32); | extern u32 CalculateDirectionFromOffsets(s32, s32); | ||||||
| extern u32 sub_080086B4(u32, u32, const u8*); |  | ||||||
| extern u32 ResolveCollisionLayer(struct Entity_*); |  | ||||||
| extern void sub_0800417E(struct Entity_*, u32); | extern void sub_0800417E(struct Entity_*, u32); | ||||||
| extern u32 sub_0800442E(struct Entity_*); | extern u32 sub_0800442E(struct Entity_*); | ||||||
| extern void SoundReqClipped(struct Entity_*, u32); | extern void SoundReqClipped(struct Entity_*, u32); | ||||||
| extern u32 sub_0800132C(struct Entity_*, struct Entity_*); |  | ||||||
| 
 | 
 | ||||||
| extern u32 sub_0800445C(struct Entity_*); | extern u32 sub_0800445C(struct Entity_*); | ||||||
| extern u32 CheckRectOnScreen(s32, s32, u32, u32); | extern u32 CheckRectOnScreen(s32, s32, u32, u32); | ||||||
|  | @ -108,8 +102,6 @@ extern u32 FindValueForKey(u32 key, const KeyValuePair* keyValuePairList); | ||||||
| 
 | 
 | ||||||
| extern u32 GetTileIndex(u32 tilePos, u32 layer); | extern u32 GetTileIndex(u32 tilePos, u32 layer); | ||||||
| extern void LinearMoveDirectionOLD(struct Entity_*, u32, u32); | extern void LinearMoveDirectionOLD(struct Entity_*, u32, u32); | ||||||
| extern u16* DoTileInteraction(struct Entity_*, u32, u32, u32); |  | ||||||
| extern void UpdateCollisionLayer(struct Entity_*); |  | ||||||
| extern void sub_080028E0(struct Entity_*); | extern void sub_080028E0(struct Entity_*); | ||||||
| extern void SnapToTile(struct Entity_*); | extern void SnapToTile(struct Entity_*); | ||||||
| extern u32 sub_0800419C(struct Entity_*, struct Entity_*, u32, u32); | extern u32 sub_0800419C(struct Entity_*, struct Entity_*, u32, u32); | ||||||
|  |  | ||||||
|  | @ -2,7 +2,6 @@ | ||||||
| #define ENEMY_H | #define ENEMY_H | ||||||
| 
 | 
 | ||||||
| #include "global.h" | #include "global.h" | ||||||
| #include "asm.h" |  | ||||||
| 
 | 
 | ||||||
| #include "sound.h" | #include "sound.h" | ||||||
| #include "effects.h" | #include "effects.h" | ||||||
|  | @ -76,8 +75,11 @@ bool32 sub_08049F1C(Entity*, Entity*, s32); | ||||||
| bool32 PlayerInRange(Entity*, u32, s32); | bool32 PlayerInRange(Entity*, u32, s32); | ||||||
| void EnemyCopyParams(Entity*, Entity*); | void EnemyCopyParams(Entity*, Entity*); | ||||||
| void GenericKnockback2(Entity*); | void GenericKnockback2(Entity*); | ||||||
|  | extern void GenericConfused(struct Entity_*); | ||||||
| 
 | 
 | ||||||
| extern void sub_08001318(Entity*); | extern void sub_08001318(Entity*); | ||||||
|  | extern void sub_08001290(Entity*, u32); | ||||||
|  | extern u32 sub_0800132C(struct Entity_*, struct Entity_*); | ||||||
| 
 | 
 | ||||||
| extern void StealRupees(Entity*); | extern void StealRupees(Entity*); | ||||||
| extern void EnemyDisableRespawn(Enemy*); | extern void EnemyDisableRespawn(Enemy*); | ||||||
|  |  | ||||||
|  | @ -831,6 +831,8 @@ extern void sub_08008926(Entity*); | ||||||
| extern void sub_08008AC6(Entity*); | extern void sub_08008AC6(Entity*); | ||||||
| extern void sub_08008AA0(Entity*); | extern void sub_08008AA0(Entity*); | ||||||
| extern void sub_080085B0(Entity*); | extern void sub_080085B0(Entity*); | ||||||
|  | extern u32 sub_080086B4(u32, u32, const u8*); | ||||||
|  | extern u16* DoTileInteraction(struct Entity_*, u32, u32, u32); | ||||||
| 
 | 
 | ||||||
| // zelda.c
 | // zelda.c
 | ||||||
| void SetZeldaFollowTarget(Entity* target); | void SetZeldaFollowTarget(Entity* target); | ||||||
|  |  | ||||||
|  | @ -64,4 +64,7 @@ void ExecuteScriptAndHandleAnimation(Entity* entity, void (*postScriptCallback)( | ||||||
| ScriptExecutionContext* CreateScriptExecutionContext(void); | ScriptExecutionContext* CreateScriptExecutionContext(void); | ||||||
| void InitScriptForEntity(Entity* entity, ScriptExecutionContext* context, Script* script); | void InitScriptForEntity(Entity* entity, ScriptExecutionContext* context, Script* script); | ||||||
| 
 | 
 | ||||||
|  | extern u32 ResolveCollisionLayer(struct Entity_*); | ||||||
|  | extern void UpdateCollisionLayer(struct Entity_*); | ||||||
|  | 
 | ||||||
| #endif // SCRIPT_H
 | #endif // SCRIPT_H
 | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -15,6 +15,7 @@ | ||||||
| #include "tiles.h" | #include "tiles.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
| #include "entity.h" | #include "entity.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     Entity base; |     Entity base; | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "entity.h" | #include "entity.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     Entity base; |     Entity base; | ||||||
|  |  | ||||||
|  | @ -11,6 +11,7 @@ | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     Entity base; |     Entity base; | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
| #include "tiles.h" | #include "tiles.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "entity.h" | #include "entity.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     Entity base; |     Entity base; | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     Entity base; |     Entity base; | ||||||
|  |  | ||||||
|  | @ -6,6 +6,7 @@ | ||||||
|  */ |  */ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| void sub_08022A88(Entity*); | void sub_08022A88(Entity*); | ||||||
| void sub_08022AA4(Entity*); | void sub_08022AA4(Entity*); | ||||||
|  |  | ||||||
|  | @ -5,6 +5,7 @@ | ||||||
|  * @brief Dark Nut enemy |  * @brief Dark Nut enemy | ||||||
|  */ |  */ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
| #include "entity.h" | #include "entity.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -9,6 +9,8 @@ | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
|  | #include "script.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -11,6 +11,7 @@ | ||||||
| #include "tiles.h" | #include "tiles.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -14,6 +14,7 @@ | ||||||
| #include "effects.h" | #include "effects.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "player.h" | ||||||
| #include "tiles.h" | #include "tiles.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -10,6 +10,7 @@ | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "tiles.h" | #include "tiles.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| extern Hitbox gUnk_080FD34C; | extern Hitbox gUnk_080FD34C; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -13,6 +13,7 @@ | ||||||
| #include "tiles.h" | #include "tiles.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     Entity base; |     Entity base; | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include "entity.h" | #include "entity.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| void GyorgFemaleEye_OnTick(GyorgFemaleEyeEntity*); | void GyorgFemaleEye_OnTick(GyorgFemaleEyeEntity*); | ||||||
| void GyorgFemaleEye_OnCollision(GyorgFemaleEyeEntity*); | void GyorgFemaleEye_OnCollision(GyorgFemaleEyeEntity*); | ||||||
|  |  | ||||||
|  | @ -10,6 +10,7 @@ | ||||||
| #include "fileselect.h" | #include "fileselect.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| // todo: wrong types
 | // todo: wrong types
 | ||||||
| extern void sub_080A1D70(Entity*, u32); | extern void sub_080A1D70(Entity*, u32); | ||||||
|  |  | ||||||
|  | @ -6,6 +6,7 @@ | ||||||
|  */ |  */ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /* 0x00 */ Entity base; |     /* 0x00 */ Entity base; | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include "effects.h" | #include "effects.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
| #include "hitbox.h" | #include "hitbox.h" | ||||||
| #include "object.h" | #include "object.h" | ||||||
| #include "asm.h" | #include "asm.h" | ||||||
|  | #include "script.h" | ||||||
| #include "sound.h" | #include "sound.h" | ||||||
| #include "effects.h" | #include "effects.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
|  |  | ||||||
|  | @ -10,6 +10,7 @@ | ||||||
| #include "tiles.h" | #include "tiles.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -6,6 +6,7 @@ | ||||||
|  */ |  */ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -6,6 +6,7 @@ | ||||||
|  */ |  */ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include "collision.h" | #include "collision.h" | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -10,6 +10,7 @@ | ||||||
| #include "tiles.h" | #include "tiles.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -6,6 +6,7 @@ | ||||||
|  */ |  */ | ||||||
| #include "collision.h" | #include "collision.h" | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -6,6 +6,7 @@ | ||||||
|  */ |  */ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| void Octorok_Pause(Entity*); | void Octorok_Pause(Entity*); | ||||||
| bool32 Octorok_FacesPlayer(Entity*); | bool32 Octorok_FacesPlayer(Entity*); | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include "map.h" | #include "map.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "item.h" | #include "item.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| void (*const OctorokGolden_Functions[])(Entity*); | void (*const OctorokGolden_Functions[])(Entity*); | ||||||
| void (*const gUnk_080CF484[])(Entity*); | void (*const gUnk_080CF484[])(Entity*); | ||||||
|  |  | ||||||
|  | @ -6,6 +6,7 @@ | ||||||
|  */ |  */ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|  |  | ||||||
|  | @ -10,6 +10,7 @@ | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "tiles.h" | #include "tiles.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
| #include "tiles.h" | #include "tiles.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "item.h" | #include "item.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include "collision.h" | #include "collision.h" | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "entity.h" | #include "entity.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     Entity base; |     Entity base; | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -6,6 +6,7 @@ | ||||||
|  */ |  */ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| void sub_08023E10(Entity*); | void sub_08023E10(Entity*); | ||||||
| void sub_08023E54(Entity*); | void sub_08023E54(Entity*); | ||||||
|  |  | ||||||
|  | @ -6,6 +6,7 @@ | ||||||
|  */ |  */ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| extern u32 sub_0804A024(Entity*, u32, u32); | extern u32 sub_0804A024(Entity*, u32, u32); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "hitbox.h" | #include "hitbox.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -10,6 +10,7 @@ | ||||||
| #include "tiles.h" | #include "tiles.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -6,6 +6,7 @@ | ||||||
|  */ |  */ | ||||||
| #include "collision.h" | #include "collision.h" | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include "collision.h" | #include "collision.h" | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "item.h" | #include "item.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -10,6 +10,7 @@ | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "tiles.h" | #include "tiles.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     Entity base; |     Entity base; | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
| #include "manager.h" | #include "manager.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include "tiles.h" | #include "tiles.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include "enemy/vaatiWrath.h" | #include "enemy/vaatiWrath.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| void sub_080485D8(Entity*); | void sub_080485D8(Entity*); | ||||||
| void sub_080485FC(Entity*); | void sub_080485FC(Entity*); | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "screenTransitions.h" | #include "screenTransitions.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
| #include "screenTransitions.h" | #include "screenTransitions.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include "enemy/wizzrobe.h" | #include "enemy/wizzrobe.h" | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| extern void (*const WizzrobeFire_Functions[])(WizzrobeEntity*); | extern void (*const WizzrobeFire_Functions[])(WizzrobeEntity*); | ||||||
| extern void (*const WizzrobeFire_Actions[])(WizzrobeEntity*); | extern void (*const WizzrobeFire_Actions[])(WizzrobeEntity*); | ||||||
|  |  | ||||||
|  | @ -7,7 +7,7 @@ | ||||||
| #include "manager/angryStatueManager.h" | #include "manager/angryStatueManager.h" | ||||||
| #include "flags.h" | #include "flags.h" | ||||||
| #include "object.h" | #include "object.h" | ||||||
| #include "asm.h" | #include "script.h" | ||||||
| 
 | 
 | ||||||
| #include "sound.h" | #include "sound.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include "object.h" | #include "object.h" | ||||||
| #include "flags.h" | #include "flags.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
|  | #include "script.h" | ||||||
| #include "asm.h" | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|  |  | ||||||
|  | @ -16,6 +16,7 @@ | ||||||
| #include "game.h" | #include "game.h" | ||||||
| #include "vram.h" | #include "vram.h" | ||||||
| #include "pauseMenu.h" | #include "pauseMenu.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| static const u16 gUnk_081085B8[] = { 0x1008, 0x1007, 0x1006, 0x1005, 0x1006, 0x1007, 0x1008, 0x1009, | static const u16 gUnk_081085B8[] = { 0x1008, 0x1007, 0x1006, 0x1005, 0x1006, 0x1007, 0x1008, 0x1009, | ||||||
|                                      0x1008, 0x1007, 0x1006, 0x1005, 0x1006, 0x1007, 0x1008, 0x1009 }; |                                      0x1008, 0x1007, 0x1006, 0x1005, 0x1006, 0x1007, 0x1008, 0x1009 }; | ||||||
|  |  | ||||||
|  | @ -11,6 +11,7 @@ | ||||||
| #include "save.h" | #include "save.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
| #include "manager.h" | #include "manager.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include "entity.h" | #include "entity.h" | ||||||
| #include "object.h" | #include "object.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
|  | #include "script.h" | ||||||
| 
 | 
 | ||||||
| void AmbientClouds_Init(Entity* this); | void AmbientClouds_Init(Entity* this); | ||||||
| void AmbientClouds_Action1(Entity* this); | void AmbientClouds_Action1(Entity* this); | ||||||
|  |  | ||||||
|  | @ -13,6 +13,7 @@ | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "screen.h" | #include "screen.h" | ||||||
|  | #include "script.h" | ||||||
| #include "tiles.h" | #include "tiles.h" | ||||||
| #include "manager/lightManager.h" | #include "manager/lightManager.h" | ||||||
| #include "pauseMenu.h" | #include "pauseMenu.h" | ||||||
|  |  | ||||||
|  | @ -17,6 +17,7 @@ | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
|  | #include "script.h" | ||||||
| #include "sound.h" | #include "sound.h" | ||||||
| #include "tiles.h" | #include "tiles.h" | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -15,6 +15,7 @@ | ||||||
| #include "object/itemOnGround.h" | #include "object/itemOnGround.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
|  | #include "script.h" | ||||||
| #include "sound.h" | #include "sound.h" | ||||||
| #include "tiles.h" | #include "tiles.h" | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -8,6 +8,8 @@ | ||||||
| #include "object.h" | #include "object.h" | ||||||
| #include "asm.h" | #include "asm.h" | ||||||
| #include "sound.h" | #include "sound.h" | ||||||
|  | #include "script.h" | ||||||
|  | #include "player.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "tiles.h" | #include "tiles.h" | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include "entity.h" | #include "entity.h" | ||||||
| #include "object.h" | #include "object.h" | ||||||
| #include "asm.h" | #include "asm.h" | ||||||
|  | #include "script.h" | ||||||
| #include "sound.h" | #include "sound.h" | ||||||
| #include "effects.h" | #include "effects.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
| #include "entity.h" | #include "entity.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
|  | #include "script.h" | ||||||
| #include "screen.h" | #include "screen.h" | ||||||
| 
 | 
 | ||||||
| const u8 gUnk_08123484[]; | const u8 gUnk_08123484[]; | ||||||
|  |  | ||||||
|  | @ -6,6 +6,7 @@ | ||||||
|  */ |  */ | ||||||
| #include "object.h" | #include "object.h" | ||||||
| #include "asm.h" | #include "asm.h" | ||||||
|  | #include "script.h" | ||||||
| #include "sound.h" | #include "sound.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
|  |  | ||||||
|  | @ -8,6 +8,8 @@ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "entity.h" | #include "entity.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "script.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| extern void (*const BoneProjectile_Functions[])(Entity*); | extern void (*const BoneProjectile_Functions[])(Entity*); | ||||||
| extern void (*const BoneProjectile_Actions[])(Entity*); | extern void (*const BoneProjectile_Actions[])(Entity*); | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "entity.h" | #include "entity.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| extern void (*const CannonballProjectile_Functions[])(Entity*); | extern void (*const CannonballProjectile_Functions[])(Entity*); | ||||||
| extern void (*const CannonballProjectile_Actions[])(Entity*); | extern void (*const CannonballProjectile_Actions[])(Entity*); | ||||||
|  |  | ||||||
|  | @ -8,6 +8,8 @@ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "entity.h" | #include "entity.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "script.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| extern void (*const DekuSeedProjectile_Functions[])(Entity*); | extern void (*const DekuSeedProjectile_Functions[])(Entity*); | ||||||
| extern void (*const DekuSeedProjectile_Actions[])(Entity*); | extern void (*const DekuSeedProjectile_Actions[])(Entity*); | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "sound.h" | #include "sound.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "entity.h" | #include "entity.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "script.h" | ||||||
| 
 | 
 | ||||||
| extern void (*const FireProjectile_Actions[])(Entity*); | extern void (*const FireProjectile_Actions[])(Entity*); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "entity.h" | #include "entity.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "script.h" | ||||||
| 
 | 
 | ||||||
| extern void (*const IceProjectile_Actions[])(Entity*); | extern void (*const IceProjectile_Actions[])(Entity*); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -11,6 +11,7 @@ | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
| #include "tiles.h" | #include "tiles.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
|  | #include "asm.h" | ||||||
| #ifndef EU | #ifndef EU | ||||||
| #include "game.h" | #include "game.h" | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|  | @ -10,6 +10,7 @@ | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
| #include "projectile.h" | #include "projectile.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -7,6 +7,8 @@ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "entity.h" | #include "entity.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "script.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| extern void (*const RockProjectile_Functions[])(Entity*); | extern void (*const RockProjectile_Functions[])(Entity*); | ||||||
| extern void (*const RockProjectile_Actions[])(Entity*); | extern void (*const RockProjectile_Actions[])(Entity*); | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "entity.h" | #include "entity.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| extern void (*const StalfosProjectile_Functions[])(Entity*); | extern void (*const StalfosProjectile_Functions[])(Entity*); | ||||||
| extern void (*const StalfosProjectile_Actions[])(Entity*); | extern void (*const StalfosProjectile_Actions[])(Entity*); | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
| #include "entity.h" | #include "entity.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include "player.h" | #include "player.h" | ||||||
| #include "room.h" | #include "room.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include "entity.h" | #include "entity.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
| #include "player.h" | #include "player.h" | ||||||
|  | #include "asm.h" | ||||||
| 
 | 
 | ||||||
| typedef struct { | typedef struct { | ||||||
|     /*0x00*/ Entity base; |     /*0x00*/ Entity base; | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include "enemy.h" | #include "enemy.h" | ||||||
| #include "entity.h" | #include "entity.h" | ||||||
| #include "physics.h" | #include "physics.h" | ||||||
|  | #include "script.h" | ||||||
| 
 | 
 | ||||||
| extern void (*const WindProjectile_Actions[])(Entity*); | extern void (*const WindProjectile_Actions[])(Entity*); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Henny022p
						Henny022p