Erwan
- Adding (dead) code for Story mode. This is FAR from being ready so it's deactivated in the code. I just don't want to create a branch (I'm lazy) and I'm fed up with synching. My Goal is to have a tutorial ready with this for the release after this one. If you want to test it (Note: the sample story is not interesting at ALL), just look for "Story mode" and uncomment (3 occurrences). PSP Or Linux need additions to the Makefile...
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#ifndef _GAME_STATE_STORY_H_
|
||||
#define _GAME_STATE_STORY_H_
|
||||
|
||||
|
||||
#include "../include/GameState.h"
|
||||
#include <JGui.h>
|
||||
|
||||
class StoryFlow;
|
||||
class SimpleMenu;
|
||||
|
||||
class GameStateStory: public GameState, public JGuiListener {
|
||||
private:
|
||||
StoryFlow * flow;
|
||||
SimpleMenu * menu;
|
||||
vector<string> stories;
|
||||
void loadStoriesMenu(const char * root);
|
||||
public:
|
||||
GameStateStory(GameApp* parent);
|
||||
~GameStateStory();
|
||||
void Start();
|
||||
void End();
|
||||
void Update(float dt);
|
||||
void Render();
|
||||
void ButtonPressed(int controllerId, int controlId);
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user