persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
globals.hpp File Reference

Holds global variables used game-wide. More...

Include dependency graph for globals.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Globals

Namespaces

namespace  GameEngineConfig

Typedefs

using GameEngineConfig::LargestMessage
using GameEngine = ae::Engine<GameEngineConfig::kLargestComponentSize, GameEngineConfig::kLargestComponentAlign>

Variables

volatile int32_t frame
ViewState nextView
volatile u32 systemKeysDown
volatile u32 systemKeysHeld
std::string fatBasePath
constexpr GameVersion gameVersion {2, 0, 0}
Save saveData
constexpr std::size_t GameEngineConfig::kLargestComponentSize = sizeof(typename LargestMessage::type)
constexpr std::size_t GameEngineConfig::kLargestComponentAlign = alignof(typename LargestMessage::type)
GameEngine engine
ae::Entity * player

Detailed Description

Holds global variables used game-wide.

Definition in file globals.hpp.

Typedef Documentation

◆ GameEngine

Variable Documentation

◆ engine

GameEngine engine
extern

Definition at line 31 of file main.cpp.

◆ fatBasePath

std::string fatBasePath
extern

Definition at line 38 of file main.cpp.

◆ frame

volatile int32_t frame
extern

Definition at line 35 of file main.cpp.

◆ gameVersion

GameVersion gameVersion {2, 0, 0}
externinlineconstexpr

◆ nextView

ViewState nextView
extern

Definition at line 40 of file main.cpp.

◆ player

ae::Entity* player
extern

Definition at line 32 of file main.cpp.

◆ saveData

Save saveData
extern

Definition at line 39 of file main.cpp.

◆ systemKeysDown

volatile u32 systemKeysDown
extern

Definition at line 36 of file main.cpp.

◆ systemKeysHeld

volatile u32 systemKeysHeld
extern

Definition at line 37 of file main.cpp.