Files
wagic/projects/mtg/include/GameStateStory.h
wagic.the.homebrew@gmail.com d5be045859 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...
2010-02-16 10:55:03 +00:00

29 lines
534 B
C++

#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