resonance 1.0.1
Loading...
Searching...
No Matches
longop.h File Reference

Go to the source code of this file.

Typedefs

typedef void(* LongOperationProc) ()
 Callback that a long operation invokes while it blocks the frame loop.

Functions

void SetLongOperationPollProc (LongOperationProc pfnPoll)
 Install the callback that a long operation pumps its timers through.
void RunLongOperationPollProc ()
 Call the installed poll callback, if there is one.
void SetLongOperationDrawProc (LongOperationProc pfnDraw)
 Install the callback that a long operation refreshes the display through.
void RunLongOperationDrawProc ()
 Call the installed draw callback, if there is one.

Variables

LongOperationProc g_pfnLongOperationPollProc
 The installed poll callback, or null.
LongOperationProc g_pfnLongOperationDrawProc
 The installed draw callback, or null.

Typedef Documentation

◆ LongOperationProc

typedef void(* LongOperationProc) ()

Callback that a long operation invokes while it blocks the frame loop.

Function Documentation

◆ SetLongOperationPollProc()

void SetLongOperationPollProc ( LongOperationProc pfnPoll)

Install the callback that a long operation pumps its timers through.

A null callback removes the previous one.

Parameters
pfnPollThe callback to install.
Ghidra address:
NTSC-U/C: 0x00520428
Ghidra address:
PAL: 0x00560980

◆ RunLongOperationPollProc()

void RunLongOperationPollProc ( )

Call the installed poll callback, if there is one.

GfxDevice::FlushGifPacket() calls it after every packet it submits.

Ghidra address:
NTSC-U/C: 0x00520438
Ghidra address:
PAL: 0x00560990

◆ SetLongOperationDrawProc()

void SetLongOperationDrawProc ( LongOperationProc pfnDraw)

Install the callback that a long operation refreshes the display through.

A null callback removes the previous one.

Parameters
pfnDrawThe callback to install.
Ghidra address:
NTSC-U/C: 0x00520460
Ghidra address:
PAL: 0x005609b8

◆ RunLongOperationDrawProc()

void RunLongOperationDrawProc ( )

Call the installed draw callback, if there is one.

Ghidra address:
NTSC-U/C: 0x00520470
Ghidra address:
PAL: 0x005609c8

Variable Documentation

◆ g_pfnLongOperationPollProc

LongOperationProc g_pfnLongOperationPollProc
extern

The installed poll callback, or null.

Ghidra address:
NTSC-U/C: 0x00719858
Ghidra address:
PAL: 0x0075d758

◆ g_pfnLongOperationDrawProc

LongOperationProc g_pfnLongOperationDrawProc
extern

The installed draw callback, or null.

Rnd::Manager::Read() tests and calls it directly rather than through RunLongOperationDrawProc().

Ghidra address:
NTSC-U/C: 0x0071985c
Ghidra address:
PAL: 0x0075d75c