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
Tactics3DWarriorsSetupScreen.h
Go to the documentation of this file.
1 // Copyright (C) 2010-2015 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_SETUP_SCREEN_H
24 #define TACTICS3DWARRIORS_SETUP_SCREEN_H
25 
26 #include "../Libs/Graphics_LIB/GUIScreen.h"
27 
28 namespace Tactics3D {
29  class App;
30  class Warrior;
31 
34  protected:
35  virtual void setupEventHandlers();
36 
37  bool handleFightingStylesCombobox(const CEGUI::EventArgs& e);
38  bool handleAddButton(const CEGUI::EventArgs& e);
39  bool handleSaveCoolButton(const CEGUI::EventArgs& e);
40  bool handleSaveCancelButton(const CEGUI::EventArgs& e);
41  public:
42  WarriorsSetupScreen(App* app_);
43 
44  virtual void unload();
45 
46  void updateDexRelatedElements(const Warrior* warrior_);
47  void updateStrRelatedElements(const Warrior* warrior_);
48  void updateEndRelatedElements(const Warrior* warrior_);
49  void updateFightingStyleRelatedElements(const Warrior* warrior_);
50 
51  virtual ~WarriorsSetupScreen() {}
52 
53  virtual void popScreen(bool doUnload_=true);
54  };
55 }
56 
57 #endif //TACTICS3DWARRIORS_SETUP_SCREEN_H
void updateFightingStyleRelatedElements(const Warrior *warrior_)
Definition: Tactics3DWarriorsSetupScreen.cpp:107
bool handleSaveCancelButton(const CEGUI::EventArgs &e)
Definition: Tactics3DWarriorsSetupScreen.cpp:364
virtual void popScreen(bool doUnload_=true)
Definition: Tactics3DWarriorsSetupScreen.cpp:123
bool handleAddButton(const CEGUI::EventArgs &e)
Definition: Tactics3DWarriorsSetupScreen.cpp:240
Definition: Tactics3DWarrior.h:42
void updateStrRelatedElements(const Warrior *warrior_)
Definition: Tactics3DWarriorsSetupScreen.cpp:72
Definition: Tactics3DWarriorsSetupScreen.h:33
WarriorsSetupScreen(App *app_)
Definition: Tactics3DWarriorsSetupScreen.cpp:10
bool handleSaveCoolButton(const CEGUI::EventArgs &e)
Definition: Tactics3DWarriorsSetupScreen.cpp:354
void updateDexRelatedElements(const Warrior *warrior_)
Definition: Tactics3DWarriorsSetupScreen.cpp:50
virtual void unload()
Definition: Tactics3DWarriorsSetupScreen.cpp:12
Definition: GUIScreen.h:63
virtual void setupEventHandlers()
Definition: Tactics3DWarriorsSetupScreen.cpp:138
virtual ~WarriorsSetupScreen()
Definition: Tactics3DWarriorsSetupScreen.h:51
void updateEndRelatedElements(const Warrior *warrior_)
Definition: Tactics3DWarriorsSetupScreen.cpp:94
bool handleFightingStylesCombobox(const CEGUI::EventArgs &e)
Definition: Tactics3DWarriorsSetupScreen.cpp:326
Definition: Tactics3DApp.h:90