Skip to content

Commit f2be8d7

Browse files
committed
Define screen split + identify bhInitEffect
1 parent 43226f0 commit f2be8d7

File tree

4 files changed

+34
-13
lines changed

4 files changed

+34
-13
lines changed

config/GCDE08/splits.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@ ngc/veronica/prog/sbinit.c:
9393
extabindex start:0x80010DE0 end:0x80010DF8
9494
.text start:0x8014EA24 end:0x8014EB14
9595

96+
ngc/veronica/prog/screen.c:
97+
extab start:0x80009650 end:0x800096B0
98+
extabindex start:0x80010DF8 end:0x80010E88
99+
.text start:0x8014EB14 end:0x80150E2C
100+
96101
ngc/veronica/prog/sdc.c:
97102
extab start:0x800096B0 end:0x80009830
98103
extabindex start:0x80010E88 end:0x800110C8

config/GCDE08/symbols.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5861,7 +5861,7 @@ fn_80025F20 = .text:0x80025F20; // type:function size:0x98
58615861
bhReadPlayerData = .text:0x80025FB8; // type:function size:0x330
58625862
bhReadWeaponData = .text:0x800262E8; // type:function size:0x308
58635863
bhKeepObjWork = .text:0x800265F0; // type:function size:0x60
5864-
fn_80026650 = .text:0x80026650; // type:function size:0x288
5864+
bhInitEffect = .text:0x80026650; // type:function size:0x288
58655865
fn_800268D8 = .text:0x800268D8; // type:function size:0xD8
58665866
fn_800269B0 = .text:0x800269B0; // type:function size:0x34
58675867
fn_800269E4 = .text:0x800269E4; // type:function size:0x28
@@ -8233,18 +8233,18 @@ sbExitSystem = .text:0x8014EAD8; // type:function size:0x3C
82338233
bhSetScreenFade = .text:0x8014EB14; // type:function size:0x1B0
82348234
bhControlScreenFade = .text:0x8014ECC4; // type:function size:0x19C
82358235
bhDrawScreenFade = .text:0x8014EE60; // type:function size:0x148
8236-
fn_8014EFA8 = .text:0x8014EFA8; // type:function size:0x60
8237-
fn_8014F008 = .text:0x8014F008; // type:function size:0x6C
8238-
fn_8014F074 = .text:0x8014F074; // type:function size:0x78
8239-
fn_8014F0EC = .text:0x8014F0EC; // type:function size:0xD0
8240-
fn_8014F1BC = .text:0x8014F1BC; // type:function size:0xEC
8241-
fn_8014F2A8 = .text:0x8014F2A8; // type:function size:0x168
8242-
fn_8014F410 = .text:0x8014F410; // type:function size:0x5D4
8243-
fn_8014F9E4 = .text:0x8014F9E4; // type:function size:0x104
8244-
fn_8014FAE8 = .text:0x8014FAE8; // type:function size:0x434
8245-
fn_8014FF1C = .text:0x8014FF1C; // type:function size:0x104
8246-
fn_80150020 = .text:0x80150020; // type:function size:0xAEC
8247-
fn_80150B0C = .text:0x80150B0C; // type:function size:0x320
8236+
bhInitScreenSaver = .text:0x8014EFA8; // type:function size:0x60
8237+
bhSetScreenSaver = .text:0x8014F008; // type:function size:0x6C
8238+
bhControlScreenSaver = .text:0x8014F074; // type:function size:0x78
8239+
bhDrawScreenSaver = .text:0x8014F0EC; // type:function size:0xD0
8240+
bhControlCinesco = .text:0x8014F1BC; // type:function size:0xEC
8241+
bhDrawCinesco = .text:0x8014F2A8; // type:function size:0x168
8242+
bhDrawScope = .text:0x8014F410; // type:function size:0x5D4
8243+
bhDrawScopeNumber = .text:0x8014F9E4; // type:function size:0x104
8244+
bhDrawThermometer = .text:0x8014FAE8; // type:function size:0x434
8245+
bhDrawThermoNumber = .text:0x8014FF1C; // type:function size:0x104
8246+
bhDrawFullScreenRenderTexture = .text:0x80150020; // type:function size:0xAEC
8247+
bhDrawSmallScreenRenderTexture = .text:0x80150B0C; // type:function size:0x320
82488248
TransWaitCallBackFunction = .text:0x80150E2C; // type:function size:0x2C
82498249
CheckTransComplete = .text:0x80150E58; // type:function size:0x8
82508250
SetupSoundDriver = .text:0x80150E60; // type:function size:0xA0

configure.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ def MatchingFor(*versions):
340340
Object(NonMatching, "ngc/veronica/prog/pad.c"), # needs decompiling
341341
Object(NonMatching, "ngc/veronica/prog/padman.c"), # functions matched, but there is extra bss
342342
Object(NonMatching, "ngc/veronica/prog/sbinit.c"), # functions matched, but sbss is undefined
343+
Object(NonMatching, "ngc/veronica/prog/screen.c"), # needs decompiling
343344
Object(NonMatching, "ngc/veronica/prog/sdc.c"), # needs decompiling
344345
Object(NonMatching, "ngc/veronica/prog/sdfunc.c"), # needs decompiling
345346
Object(NonMatching, "ngc/veronica/prog/sync.c"), # needs decompiling

src/ngc/veronica/prog/screen.c

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// void bhSetScreenFade(unsigned int argb, float ct);
2+
// void bhControlScreenFade();
3+
// void bhDrawScreenFade();
4+
// void bhInitScreenSaver();
5+
// void bhSetScreenSaver(unsigned int alpha, float ct);
6+
// void bhControlScreenSaver();
7+
// void bhDrawScreenSaver();
8+
// void bhControlCinesco();
9+
// void bhDrawCinesco();
10+
// void bhDrawScope();
11+
// void bhDrawScopeNumber(float px, float py, int num);
12+
// void bhDrawThermometer();
13+
// void bhDrawThermoNumber(float px, float py, int num, unsigned int argb);
14+
// void bhDrawFullScreenRenderTexture();
15+
// void bhDrawSmallScreenRenderTexture();

0 commit comments

Comments
 (0)