DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
langset.hpp File Reference

Go to the source code of this file.

Enumerations

enum  LangsetStep { LANGSET_FADE_IN = 0 , LANGSET_SELECT = 1 , LANGSET_FADE_OUT = 2 }
 

Functions

void LangsetInit ()
 
int LangsetLoop ()
 
int LangsetProc ()
 
void LangsetDraw ()
 

Variables

Fader Fade
 
int Cursor
 
int Proc
 

Detailed Description

Declares the language-selection screen the game shows before the title.

Definition in file langset.hpp.

Enumeration Type Documentation

◆ LangsetStep

Steps of the language screen, as Proc holds them.

Enumerator
LANGSET_FADE_IN 

Fading in.

LANGSET_SELECT 

Choosing a language.

LANGSET_FADE_OUT 

Fading out.

Definition at line 14 of file langset.hpp.

Function Documentation

◆ LangsetInit()

void LangsetInit ( )

Builds the arenas, textures and pad settings the language screen runs on.

Mangled name:
LangsetInit__Fv
Address:
0x244B30
Size:
0x140

Definition at line 24 of file langset.cpp.

◆ LangsetLoop()

int LangsetLoop ( )

Runs one frame of the language screen and reports that a language has been chosen and faded out.

Mangled name:
LangsetLoop__Fv
Address:
0x244C70
Size:
0xE4

Definition at line 47 of file langset.cpp.

◆ LangsetProc()

int LangsetProc ( )

Moves the language cursor with the pad and reports that the choice was confirmed.

Mangled name:
LangsetProc__Fv
Address:
0x244D60
Size:
0xD8

Definition at line 79 of file langset.cpp.

◆ LangsetDraw()

void LangsetDraw ( )

Draws the language plate and its five entries, brightening the selected one.

Mangled name:
LangsetDraw__Fv
Address:
0x244E40
Size:
0x3A8

Definition at line 113 of file langset.cpp.

Variable Documentation

◆ Fade

Fader Fade
extern

Fade the language screen opens and closes with.

Definition at line 17 of file langset.cpp.

◆ Cursor

int Cursor
extern

Language the cursor stands on, counted from zero.

Definition at line 18 of file langset.cpp.

◆ Proc

int Proc
extern

What the screen is doing.

See also
LangsetStep.

Definition at line 19 of file langset.cpp.