resonance 1.0.1
Loading...
Searching...
No Matches
tnlname.h File Reference
#include "os/hxstr.h"
Include dependency graph for tnlname.h:

Go to the source code of this file.

Functions

HxStr NextAppTunnelName ()
 Produce the next unique object name of the form <apptnl%04d>.

Variables

int g_nAppTunnelNameCounter
 Count of names NextAppTunnelName() has produced.

Function Documentation

◆ NextAppTunnelName()

HxStr NextAppTunnelName ( )

Produce the next unique object name of the form <apptnl%04d>.

Advances g_nAppTunnelNameCounter first, and the first name is therefore <apptnl0001>. TnlPanelFX's constructor inlines the body. The title is inferred from the format string and from NextHudName(), a routine of the same shape.

Returns
The name.
Ghidra address:
NTSC-U/C: 0x00454650
Ghidra address:
PAL: 0x00491b80

Variable Documentation

◆ g_nAppTunnelNameCounter

int g_nAppTunnelNameCounter
extern

Count of names NextAppTunnelName() has produced.

Ghidra address:
NTSC-U/C: 0x006e42ac
Ghidra address:
PAL: 0x00727bcc