Skip to content

Commit 0805ff0

Browse files
committed
Document the overworld animation manager
This documents the `unk_020711EC.c` file, which manages some animations in the overworld for 2D (e.g. parts of the HM animation) and 3D (e.g. distortion world's rocks and flowers) elements. This was supposedly initially used to animate positions, although this can be (and is being) used to animate other properties as well. Signed-off-by: Kuruyia <[email protected]>
1 parent 8834f0c commit 0805ff0

File tree

95 files changed

+1687
-1857
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+1687
-1857
lines changed

include/comm_player_manager.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@
88
#include "overlay023/struct_ov23_0224991C_decl.h"
99
#include "overlay023/struct_ov23_0224A294_sub1.h"
1010
#include "overlay023/struct_ov23_0224ABC4.h"
11-
#include "overlay101/struct_ov101_021D5D90_decl.h"
1211

1312
#include "communication_system.h"
13+
#include "overworld_anim_manager.h"
1414
#include "sys_task_manager.h"
1515
#include "trainer_info.h"
1616

1717
typedef struct CommPlayerManager {
1818
u32 unk_00;
1919
UnkStruct_ov23_0224991C *unk_04;
2020
PlayerAvatar *playerAvatar[MAX_CONNECTED_PLAYERS];
21-
UnkStruct_ov101_021D5D90 *unk_28[MAX_CONNECTED_PLAYERS];
21+
OverworldAnimManager *unk_28[MAX_CONNECTED_PLAYERS];
2222
u8 isActive[MAX_CONNECTED_PLAYERS];
2323
SysTask *task;
2424
FieldSystem *fieldSystem;

include/functypes/funcptr_02071330.h

Lines changed: 0 additions & 8 deletions
This file was deleted.

include/functypes/funcptr_02071330_1.h

Lines changed: 0 additions & 8 deletions
This file was deleted.

include/functypes/funcptr_02071330_2.h

Lines changed: 0 additions & 8 deletions
This file was deleted.

include/functypes/funcptr_02071330_3.h

Lines changed: 0 additions & 8 deletions
This file was deleted.

include/functypes/funcptr_02071330_4.h

Lines changed: 0 additions & 8 deletions
This file was deleted.

include/functypes/funcptr_02071330_5.h

Lines changed: 0 additions & 8 deletions
This file was deleted.

include/overlay005/berry_patch_effects.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44
#include "struct_decls/struct_02061AB4_decl.h"
55

66
#include "overlay005/struct_ov5_021DF47C_decl.h"
7-
#include "overlay101/struct_ov101_021D5D90_decl.h"
7+
8+
#include "overworld_anim_manager.h"
89

910
void *BerryPatchGraphicsManager_New(UnkStruct_ov5_021DF47C *renderManager);
1011
void BerryPatchGraphicsManager_Free(void *manager);
1112
void BerryPatchGraphics_NewMoistureEffect(MapObject *mapObject);
1213
void *BerryPatchGraphicsManager_NewEffectCounter(UnkStruct_ov5_021DF47C *renderManager);
1314
void BerryPatchGraphicsManager_FreeEffectCounter(void *counter);
14-
UnkStruct_ov101_021D5D90 *BerryPatchGraphics_NewSparkleEffect(MapObject *mapObject);
15+
OverworldAnimManager *BerryPatchGraphics_NewSparkleEffect(MapObject *mapObject);
1516

1617
#endif // POKEPLATINUM_OV5_021F204C_H

include/overlay005/ov5_021DF440.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
#include "field/field_system_decl.h"
1313
#include "overlay005/struct_ov5_021DF47C_decl.h"
1414
#include "overlay005/struct_ov5_021DF84C.h"
15-
#include "overlay101/struct_ov101_021D5D90_decl.h"
16-
#include "overlay101/struct_ov101_021D86B0.h"
15+
16+
#include "overworld_anim_manager.h"
1717

1818
UnkStruct_ov5_021DF47C *ov5_021DF440(FieldSystem *fieldSystem, u32 param1, u32 heapID);
1919
void ov5_021DF47C(UnkStruct_ov5_021DF47C *param0, u32 param1);
@@ -32,8 +32,8 @@ UnkStruct_ov5_021DF47C *ov5_021DF578(const MapObject *param0);
3232
u32 ov5_021DF5A8(UnkStruct_ov5_021DF47C *param0, u32 param1);
3333
void ov5_021DF5B4(UnkStruct_ov5_021DF47C *param0, u32 param1, void *param2);
3434
void *ov5_021DF5C0(UnkStruct_ov5_021DF47C *param0, u32 param1, int param2);
35-
UnkStruct_ov101_021D5D90 *ov5_021DF72C(const UnkStruct_ov5_021DF47C *param0, const UnkStruct_ov101_021D86B0 *param1, const VecFx32 *param2, int param3, const void *param4, int param5);
36-
void ov5_021DF74C(UnkStruct_ov101_021D5D90 *param0);
35+
OverworldAnimManager *ov5_021DF72C(const UnkStruct_ov5_021DF47C *param0, const OverworldAnimManagerFuncs *param1, const VecFx32 *param2, int param3, const void *param4, int param5);
36+
void ov5_021DF74C(OverworldAnimManager *param0);
3737
UnkStruct_020216E0 *ov5_021DF7F8(UnkStruct_ov5_021DF47C *param0, const UnkStruct_ov5_021DF84C *param1, const VecFx32 *param2);
3838
UnkStruct_020216E0 *ov5_021DF84C(UnkStruct_ov5_021DF47C *param0, u32 param1, const VecFx32 *param2);
3939
UnkStruct_ov5_021DF84C *ov5_021DF864(UnkStruct_ov5_021DF47C *param0, u32 param1, u32 param2, u32 param3, u32 param4, int param5, const UnkStruct_020217F4 *param6);

include/overlay005/ov5_021F10E8.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@
77
#include "struct_defs/struct_02073B50.h"
88

99
#include "overlay005/struct_ov5_021DF47C_decl.h"
10-
#include "overlay101/struct_ov101_021D5D90_decl.h"
10+
11+
#include "overworld_anim_manager.h"
1112

1213
void *ov5_021F10E8(UnkStruct_ov5_021DF47C *param0);
1314
void ov5_021F10FC(void *param0);
1415
void ov5_021F1188(UnkStruct_ov5_021DF47C *param0, u32 param1);
1516
void ov5_021F11C0(UnkStruct_ov5_021DF47C *param0, u32 param1, u32 param2);
1617
UnkStruct_02073B50 *ov5_021F11FC(UnkStruct_ov5_021DF47C *param0, u32 param1);
17-
UnkStruct_ov101_021D5D90 *ov5_021F121C(const MapObject *param0, const VecFx32 *param1);
18+
OverworldAnimManager *ov5_021F121C(const MapObject *param0, const VecFx32 *param1);
1819
void FieldEffect_InitRenderObject(UnkStruct_ov5_021DF47C *param0);
1920

2021
#endif // POKEPLATINUM_OV5_021F10E8_H

0 commit comments

Comments
 (0)