Skip to content

Commit 6b82a91

Browse files
committed
Various updates for classes, symbols, header files, etc
1 parent d39b233 commit 6b82a91

125 files changed

Lines changed: 2776 additions & 1554 deletions

File tree

Some content is hidden

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

configs/main.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ segments:
173173
#- [0x1900B0, cpp, text_0028F0B0]
174174
- [0x190150, cpp, text_0028F150]
175175
- [0x191F58, cpp, text_00290F58]
176-
- [0x1975D0, cpp, text_002965D0]
176+
- [0x1975D0, cpp, FGDK3/Code/Location]
177177
- [0x197670, cpp, FGDK3/Code/Playstation2/IOPMem]
178178
- [0x198578, cpp, text_00297578]
179179
- [0x1A2D88, cpp, text_002A1D88]
@@ -212,8 +212,7 @@ segments:
212212
- [0x20A778, cpp, text_00309778]
213213
- [0x20BC08, cpp, FGDK3/Code/StringUtils]
214214
- [0x20C698, cpp, FGDK3/Code/ShapeParams]
215-
- [0x211BE8, cpp, text_00310BE8]
216-
#- [0x211BE8, cpp, FGDK3/Code/FileSystem_Zip]
215+
- [0x211BE8, cpp, FGDK3/Code/FileSystem_Zip]
217216
#- [cpp, FGDK3/Code/Playstation2/File_FileDescriptor]
218217
- [0x216F28, cpp, text_00315F28] # zlib functions
219218
# 0x216F28 inflate.c
@@ -345,7 +344,7 @@ segments:
345344
- [0x33C9E0, .rodata, FGDK3/Code/Playstation2/Sound]
346345
- [0x33CAD0, .rodata, FGDK3/Code/Playstation2/sifManager]
347346
- [0x33CBC0, .rodata, text_0026FFB8]
348-
- [0x33CE40, .rodata, text_00271A20]
347+
- [0x33CE40, .rodata, text_00271A20] # SavedGame
349348
#- [0x33CE68, .rodata, FGDK3/Code/Playstation2/RunPath]
350349
#- [0x33CEE0]
351350
- [0x33D280, .rodata, text_00275FF8]
@@ -358,7 +357,7 @@ segments:
358357
#- [0x33FA98, .rodata, text_0028F0B0]
359358
#-[0x33FA98, .rodata, FGDK3/Code/Playstation2/IOPMem]
360359
- [0x33FAF0, .rodata, text_00290F58]
361-
- [0x33FC60, .rodata, text_002965D0]
360+
- [0x33FC60, .rodata, FGDK3/Code/Location]
362361
- [0x33FC70, .rodata, FGDK3/Code/Playstation2/IOPMem]
363362
- [0x33FE30, .rodata, text_00297578]
364363
- [0x340250, .rodata, text_002A1D88]
@@ -406,8 +405,7 @@ segments:
406405
- [0x348CD0, .rodata, text_00309778]
407406
- [0x348CF8, .rodata, FGDK3/Code/StringUtils]
408407
- [0x348D20, .rodata, FGDK3/Code/ShapeParams]
409-
#- [0x349040, .rodata, FGDK3/Code/FileSystem_Zip]
410-
- [0x349040, .rodata, text_00310BE8]
408+
- [0x349040, .rodata, FGDK3/Code/FileSystem_Zip]
411409
- [0x349540, .rodata, text_00315F28] # zlib stuff?
412410
- [0x349C08, .rodata, FGDK3/ResLibs/AnimRes/Code/AnimRes]
413411
- [0x349DF0, .rodata, FGDK3/ResLibs/ScriptRes/Code/ScriptThread]

configs/sym.txt

Lines changed: 805 additions & 770 deletions
Large diffs are not rendered by default.

configure.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
TARGET_DIR = "target"
3636

3737
# Compilation Flags
38-
INCLUDE_PATHS = "-Iinclude -I include/MultiStream -I include/ee_gcc -I include/ee -I include/ee_gcc/gcc-lib -I include/ee_gcc/machine -I include/ee_gcc/sys -I include/common -I include/Dogs -I include/FGDK3"
38+
INCLUDE_PATHS = "-Iinclude -I include/MultiStream -I include/ee_gcc -I include/ee -I include/ee_gcc/gcc-lib -I include/ee_gcc/machine -I include/ee_gcc/sys -I include/common -I include/Dogs -I include/FGDK3 -I include/zlib-1.1.3"
3939
CC_DIR = f"{TOOLS_DIR}/ee-gcc2.95.3"
4040
COMMON_COMPILE_FLAGS = f"-g0"
4141
COMPILER_FLAGS_C = f"-x c {COMMON_COMPILE_FLAGS}"
@@ -67,7 +67,7 @@
6767
"src/FGDK3/Code/GameShell.cpp",
6868
"src/text_002FCF70.cpp",
6969
"src/text_00307D30.cpp",
70-
"src/text_00310BE8.cpp"
70+
"src/FGDK3/Code/FileSystem_Zip.cpp"
7171
]
7272

7373
UNCOMPATIBLE_SN_AS_SPLITS = [

include/Dogs/Button.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class Button : public WorldObject {
88
public:
99
static ClassInfo* s_classInfo;
10-
int unk5C0; // receiver actorId
10+
int unk5C0; // button receiver actorId
1111
float unk5C4; // button hold time (seconds)?
1212

1313
int unk5E0;

include/Dogs/Camera.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#include "WorldObj.h"
55

6-
class Camera : public WorldObject {
6+
class Camera : public WorldObject/**/ {
77
public:
88
int unk5D0;
99
Camera(ClassInfo*, SimObj_Universe*, int, short);

include/Dogs/Console.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ class Console {
115115
};
116116

117117
class ConsoleLayer /* : public Widget_Border, public InputBinding */ {
118-
118+
public:
119+
float unk100; // cursor blink?
119120
};
120121

121122

include/Dogs/Creatres.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#include "FGDK3/RelRecv.h"
88

99

10-
1110
extern void * const Creatres_StdInit_UsedModules[];
1211

1312
Status Creatres_InternalInitialise();

include/Dogs/Dog.h

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,17 @@
33

44
#include "WorldObj.h"
55

6-
class Dog : public WorldObject {
6+
// in JumpIF.h?
7+
class Jump_IF /* public Interface<Jump_IF> */{
8+
9+
};
10+
class Dog : public WorldObject/*, public Jump_IF, public AnimationMovedObject_IF*/ {
711
public:
812
static ClassInfo* s_classInfo;
13+
float unk5E0; // hitcheck radius
14+
float unk5E4;
15+
bool unk644; // jumping
16+
float unk678;
917
float unk684;
1018
/* 0x830 */ bool m_isSwimming;
1119
float unk838; // sink/swim (mass?)
@@ -22,7 +30,8 @@ class Dog : public WorldObject {
2230
// 0x86C float boneScale
2331
// 0x870 float boneRotation
2432

25-
union {int i;float f;} unkB0C; // shinyness?
33+
union {int i;float f;} unkB0C; // shinyness/wetness? (set to 0 when entering water, increases when out of water)
34+
float unkB10; // time in water? (-1 when out of water)
2635
Dog(ClassInfo*, SimObj_Universe*, int, short);
2736
virtual ~Dog();
2837
virtual ClassInfo* func_0013A200();
@@ -35,10 +44,12 @@ class Dog : public WorldObject {
3544
//? 00188408
3645
//0012e998
3746
//0012e9c8
38-
virtual float func_0012E240(void);
47+
// virtual ? func_0012E050
48+
virtual float func_0012E240();
3949

4050
virtual bool GetSwimmingState();
4151
virtual int func_001365B0();
52+
virtual void func_001365C8(float);
4253
//func_0021f3d8
4354
//? 0021f488
4455
//? 0021f548
@@ -51,6 +62,19 @@ class DogHitPrimReceiver : public SimObj_HitReceiver {
5162
virtual ~DogHitPrimReceiver();
5263
};
5364

65+
66+
class DogPushOffHitPrimReceiver /* : public SimObj_HitReceiver, public SimObj_HitPrimReceiver */ {
67+
68+
};
69+
70+
class DogAntiSnagHitReceiver /* : public SimObj_HitReceiver */ {
71+
72+
};
73+
74+
class DogSphereObjHitReceiver /* : public SimObj_HitReceiver */ {
75+
76+
};
77+
5478
#ifdef __cplusplus
5579
extern "C" {
5680
#endif

include/Dogs/Element3D.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
#define ELEMENT3D_H
33

44
#include "unk.h"
5+
#include "SimObj.h"
56

6-
class Element3D : public ShapeInstance {
7+
class Element3D : public ShapeInstance, public GenericObject/*, public Location_IF, public BoneManagerProvider_IF, public AnimPosProvider_IF, public AnimVarProvider_IF*/ {
78
public:
89
/* 0x108 */ short m_shapeId;
910
Element3D(ClassInfo*, short);

include/Dogs/FootPrint.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33

44
#include "WorldObj.h"
55

6+
class StaticFootPrint /*: public SimObject */ {
7+
public:
8+
int unk11C;
9+
};
610

711
class FootPrints : public WorldObject {
812
public:

0 commit comments

Comments
 (0)