35 lines
768 B
C
35 lines
768 B
C
/*
|
|
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
|
IntroState - Initial program state, showing logos, etc.
|
|
|
|
Transitions:
|
|
MenuState
|
|
````````````````````````````````
|
|
*/
|
|
#include "State_Intro.h"
|
|
#include "State_Menu.h"
|
|
|
|
#include "globals.h"
|
|
#include "state.h"
|
|
|
|
int openIntroState() {
|
|
report(DEBUG, "IntroState", "opened");
|
|
return 0;
|
|
}
|
|
|
|
int processIntroState() {
|
|
report(DEBUG, "IntroState", "set up intro scene to render here");
|
|
popState(g_state_manager);
|
|
return 0;
|
|
}
|
|
|
|
int renderIntroState() {
|
|
report(DEBUG, "IntroState", "show intro scenes here :)");
|
|
return 0;
|
|
}
|
|
|
|
void closeIntroState() {
|
|
report(DEBUG, "IntroState", "closed");
|
|
pushState(g_state_manager, newState(STATE_DEFAULT, openMenuState, closeMenuState, handleMenuState, processMenuState, renderMenuState));
|
|
}
|