The size of the frame, and the routines of the screen the main loop calls.
More...
Go to the source code of this file.
|
| typedef void(* | ScreenCallback) (void) |
| | A routine the main loop calls once per frame.
|
The size of the frame, and the routines of the screen the main loop calls.
◆ ScreenCallback
| typedef void(* ScreenCallback) (void) |
A routine the main loop calls once per frame.
◆ SetCurrentScreenCallback()
Set the routine the main loop calls each frame.
- Parameters
-
| callback | The routine to call each frame. |
- Ghidra address:
- USA: 0x8021c6e4
- Ghidra address:
- Asia: 0x8021C234
- Ghidra address:
- EUR: 0x8021d8d8
- Ghidra address:
- JPN: 0x8021d1a8
- Ghidra address:
- BRD3D: 0x10034c66
- Ghidra address:
- BRGlide: 0x1002e317
◆ SetNextScreenCallback()
Set a routine FlushDisplayList() calls once, when the RDP has finished the frame before, so that it can change data that frame drew from.
- Parameters
-
| callback | The routine to call once. |
- Ghidra address:
- USA: 0x8021c6b8
- Ghidra address:
- Asia: 0x8021C208
- Ghidra address:
- EUR: 0x8021d8ac
- Ghidra address:
- JPN: 0x8021d17c
- Ghidra address:
- BRD3D: 0x10034c37
- Ghidra address:
- BRGlide: 0x1002e2e8
◆ IsCurrentScreen()
Return whether a routine is the current screen.
- Parameters
-
| callback | The routine to compare with the current screen. |
- Returns
- 1 if the routine is the current screen, 0 otherwise.
- Ghidra address:
- USA: 0x8021c6d0
- Ghidra address:
- Asia: 0x8021C220
- Ghidra address:
- EUR: 0x8021d8c4
- Ghidra address:
- JPN: 0x8021d194
- Ghidra address:
- BRD3D: 0x10034c51
- Ghidra address:
- BRGlide: 0x1002e302
◆ SetSecondaryScreenCallback()
Set the second routine of the screen.
- Parameters
-
- Ghidra address:
- USA: 0x8021c6c4
- Ghidra address:
- Asia: 0x8021C214
- Ghidra address:
- EUR: 0x8021d8b8
- Ghidra address:
- JPN: 0x8021d188
- Ghidra address:
- BRD3D: 0x10034c44
- Ghidra address:
- BRGlide: 0x1002e2f5
◆ CallCurrentGameMode()
| void CallCurrentGameMode |
( |
void | | ) |
|
Call the routine of the current screen.
- Ghidra address:
- USA: 0x8021c6f0
- Ghidra address:
- Asia: 0x8021C240
- Ghidra address:
- EUR: 0x8021d8e4
- Ghidra address:
- JPN: 0x8021d1b4
- Ghidra address:
- BRD3D: 0x10034c73
- Ghidra address:
- BRGlide: 0x1002e324
◆ GameModeMainLoop()
| void GameModeMainLoop |
( |
void | | ) |
|
Call the current screen routine forever on N64 and return immediately on Windows.
- Ghidra address:
- USA: 0x8021c718
- Ghidra address:
- Asia: 0x8021C268
- Ghidra address:
- EUR: 0x8021d90c
- Ghidra address:
- JPN: 0x8021d1dc
- Ghidra address:
- BRD3D: 0x10034c7e
- Ghidra address:
- BRGlide: 0x1002e32f
◆ StubUpdateCallback()
| void StubUpdateCallback |
( |
void | | ) |
|
Empty update callback.
- Ghidra address:
- USA: 0x8021c740
- Ghidra address:
- Asia: 0x8021C290
- Ghidra address:
- EUR: 0x8021d940
- Ghidra address:
- JPN: 0x8021d210
- Ghidra address:
- BRD3D: 0x10034c83
- Ghidra address:
- BRGlide: 0x1002e334
◆ StubRenderCallback()
| void StubRenderCallback |
( |
void | | ) |
|
Empty render callback.
- Ghidra address:
- USA: 0x8021c6b0
- Ghidra address:
- Asia: 0x8021C200
- Ghidra address:
- EUR: 0x8021d8a4
- Ghidra address:
- JPN: 0x8021d174
- Ghidra address:
- BRD3D: 0x10034c32
- Ghidra address:
- BRGlide: 0x1002e2e3
◆ g_dwScreenScaleShift
The shift from the size of the frame to the size of the frame buffer, 1 in high resolution.
- Ghidra address:
- USA: 0x8028a850
- Ghidra address:
- Asia: 0x8028A3A0
- Ghidra address:
- EUR: 0x8028ca50
- Ghidra address:
- JPN: 0x8028c520
- Ghidra address:
- BRD3D: 0x106c65e4
- Ghidra address:
- BRGlide: 0x106ed674
◆ g_dwScreenWidth
The size of the frame in pixels.
- Ghidra address:
- USA: 0x8028aab0
- Ghidra address:
- Asia: 0x8028A600
- Ghidra address:
- EUR: 0x8028ccb8
- Ghidra address:
- JPN: 0x8028c788
- Ghidra address:
- BRD3D: 0x106c0684
- Ghidra address:
- BRGlide: 0x106e7714
◆ g_dwScreenHeight
The height of the frame in pixels.
- Ghidra address:
- USA: 0x8028aab4
- Ghidra address:
- Asia: 0x8028A604
- Ghidra address:
- EUR: 0x8028ccbc
- Ghidra address:
- JPN: 0x8028c78c
- Ghidra address:
- BRD3D: 0x106c299c
- Ghidra address:
- BRGlide: 0x106e9a2c
◆ g_pfnCurrentScreen
The routines of the screen: the current one, the next, and a second.
- Ghidra address:
- USA: 0x8031b318
- Ghidra address:
- Asia: 0x8031ADC8
- Ghidra address:
- EUR: 0x8031d818
- Ghidra address:
- JPN: 0x8031c448
- Ghidra address:
- BRD3D: 0x106c0964
- Ghidra address:
- BRGlide: 0x106e79f4
◆ g_pfnNextScreen
The screen routine selected for the next frame.
- Ghidra address:
- USA: 0x8031b31c
- Ghidra address:
- Asia: 0x8031ADCC
- Ghidra address:
- EUR: 0x8031d81c
- Ghidra address:
- JPN: 0x8031c44c
- Ghidra address:
- BRD3D: 0x106c198c
- Ghidra address:
- BRGlide: 0x106e8a1c
◆ g_pfnSecondaryScreen
The secondary screen routine run after the current one, or NULL.
- Ghidra address:
- USA: 0x8031b320
- Ghidra address:
- Asia: 0x8031ADD0
- Ghidra address:
- EUR: 0x8031d820
- Ghidra address:
- JPN: 0x8031c450
- Ghidra address:
- BRD3D: 0x106c1608
- Ghidra address:
- BRGlide: 0x106e8698