persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
main.cpp File Reference
Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

void switchView (BaseView *newView, const char *viewName=nullptr)
void vblank ()
void ndsPollInputCallback ()
void ndsComputeCallback ()
int main (int argc, char *argv[])

Variables

GameEngine engine
ae::Entity * player
volatile int32_t frame = 0
volatile u32 systemKeysDown = 0
volatile u32 systemKeysHeld = 0
std::string fatBasePath = "fat:/data/"
Save saveData
ViewState nextView = ViewState::DEFAULT
std::unique_ptr< BaseView > currentView

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 97 of file main.cpp.

Here is the call graph for this function:

◆ ndsComputeCallback()

void ndsComputeCallback ( )

Definition at line 92 of file main.cpp.

Here is the caller graph for this function:

◆ ndsPollInputCallback()

void ndsPollInputCallback ( )

Definition at line 84 of file main.cpp.

Here is the caller graph for this function:

◆ switchView()

void switchView ( BaseView * newView,
const char * viewName = nullptr )

Definition at line 44 of file main.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ vblank()

void vblank ( )

Definition at line 78 of file main.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ currentView

std::unique_ptr<BaseView> currentView

Definition at line 42 of file main.cpp.

◆ engine

GameEngine engine

Definition at line 31 of file main.cpp.

◆ fatBasePath

std::string fatBasePath = "fat:/data/"

Definition at line 38 of file main.cpp.

◆ frame

volatile int32_t frame = 0

Definition at line 35 of file main.cpp.

◆ nextView

Definition at line 40 of file main.cpp.

◆ player

ae::Entity* player

Definition at line 32 of file main.cpp.

◆ saveData

Save saveData

Definition at line 39 of file main.cpp.

◆ systemKeysDown

volatile u32 systemKeysDown = 0

Definition at line 36 of file main.cpp.

◆ systemKeysHeld

volatile u32 systemKeysHeld = 0

Definition at line 37 of file main.cpp.