Tactics: Western Philosophers Vs. Musicians  0.12
A turn-based tactical game combining rules and gameplay elements inspired by Final Fantasy Tactics and the Mayfair Exponential Game System. Unlike most games of this type, motion is in full, grid-less 3D.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Tactics3DWarriorsWrapupScreen.h
Go to the documentation of this file.
1 // Copyright (C) 2010-2013 Dylan Blair
3 //
4 // email: dblair@alumni.cs.utexas.edu
5 //
6 // This file is part of Tactics3D.
7 //
8 // Tactics3D is free software; you can redistribute it and/or modify
9 // it under the terms of the GNU General Public License as published by
10 // the Free Software Foundation; either version 2 of the License, or
11 // (at your option) any later version.
12 //
13 // Tactics3D is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // GNU General Public License for more details.
17 //
18 // You should have received a copy of the GNU General Public License
19 // along with this program; if not, write to the Free Software
20 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 
23 #ifndef TACTICS3DWARRIORS_WRAPUP_SCREEN_H
24 #define TACTICS3DWARRIORS_WRAPUP_SCREEN_H
25 
26 #include "../Libs/Graphics_LIB/GUIScreen.h"
27 
28 namespace Tactics3D {
29  class App;
30  class Warrior;
31 
34  protected:
36 
37  std::vector<WARRIOR_WRAPUP_STAGE> _warriorWrapupStage;
38 
39  virtual void setupEventHandlers();
40 
41  Warrior* getWarrior(const CEGUI::EventArgs& e_, std::string& warriorWindowNamePrefix_);
42  void handleLeveledUp(const std::string& warriorWindowNamePrefix_);
43 
44  bool handleAddDexButton(const CEGUI::EventArgs& e_);
45  bool handleAddStrButton(const CEGUI::EventArgs& e_);
46  bool handleAddEndButton(const CEGUI::EventArgs& e_);
47  bool handleNextButton(const CEGUI::EventArgs& e_);
48  public:
50 
51  virtual void unload();
52 
53  virtual ~WarriorsWrapupScreen() {}
54 
55  virtual void popScreen(bool doUnload_=true);
56  };
57 }
58 
59 #endif //TACTICS3DWARRIORS_WRAPUP_SCREEN_H
WarriorsWrapupScreen(App *app_)
Definition: Tactics3DWarriorsWrapupScreen.cpp:10
Definition: Tactics3DWarrior.h:42
Definition: Tactics3DWarriorsWrapupScreen.h:35
Definition: Tactics3DWarriorsWrapupScreen.h:33
Definition: Tactics3DWarriorsWrapupScreen.h:35
virtual ~WarriorsWrapupScreen()
Definition: Tactics3DWarriorsWrapupScreen.h:53
bool handleNextButton(const CEGUI::EventArgs &e_)
Definition: Tactics3DWarriorsWrapupScreen.cpp:192
bool handleAddEndButton(const CEGUI::EventArgs &e_)
Definition: Tactics3DWarriorsWrapupScreen.cpp:176
std::vector< WARRIOR_WRAPUP_STAGE > _warriorWrapupStage
Definition: Tactics3DWarriorsWrapupScreen.h:37
Definition: GUIScreen.h:63
bool handleAddStrButton(const CEGUI::EventArgs &e_)
Definition: Tactics3DWarriorsWrapupScreen.cpp:160
void handleLeveledUp(const std::string &warriorWindowNamePrefix_)
Definition: Tactics3DWarriorsWrapupScreen.cpp:136
virtual void unload()
Definition: Tactics3DWarriorsWrapupScreen.cpp:12
virtual void setupEventHandlers()
Definition: Tactics3DWarriorsWrapupScreen.cpp:44
Warrior * getWarrior(const CEGUI::EventArgs &e_, std::string &warriorWindowNamePrefix_)
Definition: Tactics3DWarriorsWrapupScreen.cpp:117
virtual void popScreen(bool doUnload_=true)
Definition: Tactics3DWarriorsWrapupScreen.cpp:31
WARRIOR_WRAPUP_STAGE
Definition: Tactics3DWarriorsWrapupScreen.h:35
bool handleAddDexButton(const CEGUI::EventArgs &e_)
Definition: Tactics3DWarriorsWrapupScreen.cpp:144
Definition: Tactics3DApp.h:90
Definition: Tactics3DWarriorsWrapupScreen.h:35