persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
globals.hpp
Go to the documentation of this file.
1
5
6#pragma once
7#include <string>
8
14
19
23#include "systems/UISystem.hpp"
24
25#include "types/SaveTypes.hpp"
26#include "types/StateTypes.hpp"
27
28#include <aegis/engine.hpp>
29
30// variables
31extern volatile int32_t frame;
32extern ViewState nextView;
33extern volatile u32 systemKeysDown;
34extern volatile u32 systemKeysHeld;
35extern std::string fatBasePath;
36extern inline constexpr GameVersion gameVersion{2, 0, 0};
37extern Save saveData;
38
40{
41 public:
42 static bool enableBillboards;
43 static bool enableDebugPrint;
45 static bool isPauseMenuActive;
46};
47
48// aegis engine
75
76using GameEngine = ae::Engine<GameEngineConfig::kLargestComponentSize, GameEngineConfig::kLargestComponentAlign>;
77
78extern GameEngine engine;
79extern ae::Entity* player;
Manager for hardware specific audio functions.
System for managing battle logic & states.
Manages the camera for a 3D environment view.
Orchestrates dialogue display & branching logic.
Orchestrates graphic loading and management.
Manager for IO functions.
Orchestrates rendering models from a 3D model file.
Orchestrates the movement & view logic for a 3D environment view.
Manager for hardware specific rendering functionse.
Manages game saves.
ViewState
Definition StateTypes.hpp:4
Orchestrates rendering text from a bitmap.
Manages the mapping of UIScreens to these hardware layers.
static bool enableDebugPrint
Definition globals.hpp:43
static bool enableBillboards
Definition globals.hpp:42
static bool isPauseMenuActive
Definition globals.hpp:45
static bool enableCharacterAnim
Definition globals.hpp:44
std::string fatBasePath
Definition main.cpp:38
constexpr GameVersion gameVersion
ae::Entity * player
Definition main.cpp:32
Save saveData
Definition main.cpp:39
volatile u32 systemKeysDown
Definition main.cpp:36
ae::Engine< GameEngineConfig::kLargestComponentSize, GameEngineConfig::kLargestComponentAlign > GameEngine
Definition globals.hpp:76
GameEngine engine
Definition main.cpp:31
ViewState nextView
Definition main.cpp:40
volatile u32 systemKeysHeld
Definition main.cpp:37
volatile int32_t frame
Definition main.cpp:35
constexpr std::size_t kLargestComponentSize
Definition globals.hpp:72
constexpr std::size_t kLargestComponentAlign
Definition globals.hpp:73
etl::largest_type< Event::BattleResult, Event::ExecuteBattle, Event::SetCharacterPosition, Event::CameraPosition, Event::ConfigureCamera, Event::SetCameraMode, Event::SetCameraPath, MovementComponent, DialogueComponent, Event::ReadSave, Event::WriteSave, GraphicsComponent, TextComponent, ModelComponent, Event::ConfigureUIScreen, Event::ShowScreen, Event::HideAllScreens, Event::ConfigureUIMenu, Event::HideAllMenus, Event::RenderUIText, Event::ResetUIResources > LargestMessage
Definition globals.hpp:51
Holds data on how the battle concluded.
Output of CameraSystem::update(ae::q20_12_t), consumed by gluLookAt().
All parameters needed to configure a CameraSystem in one call.
All parameters needed to configure UIMenus.
Definition UIEvents.hpp:52
All parameters needed to configure UIScreens.
Definition UIEvents.hpp:22
Event payload to start the BattleSystem.
Event to hide all menus.
Definition UIEvents.hpp:76
Event to trigger hiding all UIScreens.
Definition UIEvents.hpp:96
Event payload to trigger a save read.
Event to trigger rendering UI text.
Definition UIEvents.hpp:103
Event payload to release resources owned by the current view.
Set the CameraMode.
Sets the pointer to a CameraPath.
Event payload to set the character position data.
Event to show specified screen.
Definition UIEvents.hpp:83
Event payload to trigger a save write.