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
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Tactics3D::MainScreen Class Reference

#include <Tactics3DMainScreen.h>

Inheritance diagram for Tactics3D::MainScreen:
OpenSkyNet::Graphics::UIScreen

Public Member Functions

 MainScreen (App *app_)
 
virtual void switchMouseMode ()
 
virtual bool update (float dt_)
 
virtual void unload ()
 
virtual ~MainScreen ()
 
Spread
void setHUDSpreadVisible (bool isVisible_)
 
void setHUDSpread (float spread_)
 
void setHUDPointInSpreadVisible (float secsPointInSpreadShouldBeVisible_)
 
void setHUDPointInSpread (const OpenSkyNet::Math::Point< float, 2 > &pointInSpread_)
 
- Public Member Functions inherited from OpenSkyNet::Graphics::UIScreen
 UIScreen (UI *app_, const std::string &fileName_)
 
virtual void load ()
 
virtual void reload ()
 
virtual ~UIScreen ()
 
CEGUI::Window * getGUISheet ()
 
virtual bool keyPressed (const OIS::KeyEvent &arg_)
 
virtual bool keyReleased (const OIS::KeyEvent &arg_)
 
virtual void pushScreen (UIScreen *screen_)
 
virtual void popScreen (bool doUnload_=true)
 
void popAndUnloadScreenNextUpdate ()
 

Protected Member Functions

virtual void setupEventHandlers ()
 
bool handleControlsButton (const CEGUI::EventArgs &e)
 

Protected Attributes

Ogre::ManualObject * _spreadObj
 
Ogre::ManualObject * _pointInSpreadObj
 
bool _isSpreadDirty
 
bool _isPointInSpreadDirty
 
float _spread
 
float _secsPointInSpreadShouldBeVisible
 
OpenSkyNet::Math::Point< float, 2 > _pointInSpread
 
- Protected Attributes inherited from OpenSkyNet::Graphics::UIScreen
UI_app
 
std::string _fileName
 
CEGUI::Window * _window
 
bool _popAndUnloadScreenNextUpdate
 

Detailed Description

HUD containing gameplay info.

Constructor & Destructor Documentation

MainScreen::MainScreen ( App app_)
virtual Tactics3D::MainScreen::~MainScreen ( )
inlinevirtual

Member Function Documentation

bool MainScreen::handleControlsButton ( const CEGUI::EventArgs &  e)
protected
void MainScreen::setHUDPointInSpread ( const OpenSkyNet::Math::Point< float, 2 > &  pointInSpread_)
void MainScreen::setHUDPointInSpreadVisible ( float  secsPointInSpreadShouldBeVisible_)
void MainScreen::setHUDSpread ( float  spread_)
void MainScreen::setHUDSpreadVisible ( bool  isVisible_)
void MainScreen::setupEventHandlers ( )
protectedvirtual

Reimplemented from OpenSkyNet::Graphics::UIScreen.

void MainScreen::switchMouseMode ( )
virtual

Reimplemented from OpenSkyNet::Graphics::UIScreen.

void MainScreen::unload ( )
virtual

Reimplemented from OpenSkyNet::Graphics::UIScreen.

bool MainScreen::update ( float  dt_)
virtual

Reimplemented from OpenSkyNet::Graphics::UIScreen.

Member Data Documentation

bool Tactics3D::MainScreen::_isPointInSpreadDirty
protected
bool Tactics3D::MainScreen::_isSpreadDirty
protected
OpenSkyNet::Math::Point<float, 2> Tactics3D::MainScreen::_pointInSpread
protected
Ogre::ManualObject * Tactics3D::MainScreen::_pointInSpreadObj
protected
float Tactics3D::MainScreen::_secsPointInSpreadShouldBeVisible
protected
float Tactics3D::MainScreen::_spread
protected
Ogre::ManualObject* Tactics3D::MainScreen::_spreadObj
protected

The documentation for this class was generated from the following files: