Go to the source code of this file.
|
| enum | GameMode {
GAME_MODE_TITLE = 0
, GAME_MODE_RUSH_MOVIE = 1
, GAME_MODE_EDIT = 2
, GAME_MODE_DUNGEON = 3
,
GAME_MODE_UNUSED_4 = 4
, GAME_MODE_OPENING = 5
, GAME_MODE_UNUSED_6 = 6
, GAME_MODE_MENU = 7
,
GAME_MODE_UNUSED_8 = 8
, GAME_MODE_LOADER = 9
, GAME_MODE_MEMORY_CHECK = 10
, GAME_MODE_TRIAL_END = 11
,
GAME_MODE_UNUSED_12 = 12
, GAME_MODE_SAVE = 13
, GAME_MODE_LANGUAGE = 14
} |
| |
Declarations of what ps2/src/main.cpp defines for the rest of the game.
Definition in file main.hpp.
◆ GameMode
What the main loop runs; each mode loads its overlay and calls its own initialise and step functions.
| Enumerator |
|---|
| GAME_MODE_TITLE | Title screen (TitleInit, TitleLoop).
|
| GAME_MODE_RUSH_MOVIE | Attract movie before the title (RushInit).
|
| GAME_MODE_EDIT | Towns and the Georama editor (EditInit, EditLoop).
|
| GAME_MODE_DUNGEON | Dungeons (GameInit, GameLoop).
|
| GAME_MODE_UNUSED_4 | Never entered; loads the dungeon overlay.
|
| GAME_MODE_OPENING | Opening movie (OpeningInit).
|
| GAME_MODE_UNUSED_6 | Never entered; does nothing.
|
| GAME_MODE_MENU | Developer menu (MenuInit, MenuLoop).
|
| GAME_MODE_UNUSED_8 | Never entered; does nothing.
|
| GAME_MODE_LOADER | Loads a dungeon before entering it (LoaderInit).
|
| GAME_MODE_MEMORY_CHECK | Memory card check at start-up (MemCheckInit).
|
| GAME_MODE_TRIAL_END | End of the trial version (TrialEndInit).
|
| GAME_MODE_UNUSED_12 | Never entered; does nothing.
|
| GAME_MODE_SAVE | Save screen (InitSave, LoopSave).
|
| GAME_MODE_LANGUAGE | Language select (LangsetInit).
|
Definition at line 16 of file main.hpp.
◆ __ct__10CCharacterFv()
| void * __ct__10CCharacterFv |
( |
void * |
self | ) |
|
Default constructor of CCharacter, written out by hand for the arrays main builds.
- Mangled name:
- __ct__10CCharacterFv
- Address:
- 0x143530
- Size:
- 0xd4
Constructs a character with no model, motion or texture animation.
- Mangled name:
- __ct__10CCharacterFv
- Address:
- 0x143530
- Size:
- 0xD4
Definition at line 1789 of file main.cpp.
◆ __ct__13CTextureAnimeFv()
| void * __ct__13CTextureAnimeFv |
( |
void * |
self | ) |
|
Default constructor of CTextureAnime, written out by hand for the arrays main builds.
- Mangled name:
- __ct__13CTextureAnimeFv
- Address:
- 0x143620
- Size:
- 0x28
Constructs a texture animation with no data attached.
- Mangled name:
- __ct__13CTextureAnimeFv
- Address:
- 0x143620
- Size:
- 0x28
Definition at line 1822 of file main.cpp.
◆ __ct__7CObjectFv()
| void * __ct__7CObjectFv |
( |
void * |
self | ) |
|
Default constructor of CObject, written out by hand for the arrays main builds.
- Mangled name:
- __ct__7CObjectFv
- Address:
- 0x143650
- Size:
- 0x28
Constructs an object at the origin with an identity transform.
- Mangled name:
- __ct__7CObjectFv
- Address:
- 0x143650
- Size:
- 0x28
Definition at line 1833 of file main.cpp.
◆ GeneratedMotionParamCtor()
| void * GeneratedMotionParamCtor |
( |
void * |
self | ) |
|
Default constructor of MotionParam under the name main's array constructors call it by.
- Mangled name:
- __ct__11MotionParamFv
- Address:
- 0x143610
- Size:
- 0xc
◆ main_select_menu_no
Which entry the main menu has the cursor on.
Definition at line 130 of file main.cpp.
◆ SystemMes
The system messages every message window shares.
Definition at line 135 of file main.cpp.
◆ MapNo
Map the game is on or about to load.
Definition at line 131 of file main.cpp.
◆ ambientlight
| sceVu0FVECTOR ambientlight |
|
extern |
Initial ambient-light colour used by the renderer.
Definition at line 369 of file main.cpp.
◆ light
Initial parallel-light direction matrix used by the renderer.
Definition at line 353 of file main.cpp.
◆ lightcolor
Initial parallel-light colour matrix used by the renderer.
Definition at line 361 of file main.cpp.
◆ gamemode_empty_string
| char gamemode_empty_string[] |
|
extern |
Empty string the game-mode table names modes without a file by.