- 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:
wagic.the.homebrew@gmail.com
2010-02-16 10:55:03 +00:00
parent 8a19b0567b
commit d5be045859
16 changed files with 618 additions and 4 deletions
+29
View File
@@ -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