![]() |
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.
|
#include <GUI.h>
Public Member Functions | |
UI (InputListener *inputListener_=0) | |
void | setCanTranslateCam (bool val_) |
void | setCanRotateCam (bool val_) |
virtual void | moveCamera () |
void | showDebugOverlay (bool show_) |
virtual void | destroyScene (bool doDestroyPersistentData_) |
void | quit () |
virtual | ~UI () |
Setup Operations | |
virtual bool | setup (bool restoreOgreConfig_) |
void | setTopNodeForMousePicking (Ogre::SceneNode *n_=0) |
virtual void | setupEventHandlers () |
Screen Stack Operations | |
UIScreen * | getTopScreen () const |
virtual void | pushScreen (UIScreen *screen_) |
virtual void | popScreen (bool doUnload_=true) |
void | popAndUnloadScreenNextUpdate () |
Input/Window/Frame Event Handlers | |
virtual bool | processUnbufferedKeyInput (const Ogre::FrameEvent &evt) |
virtual bool | processUnbufferedMouseInput (const Ogre::FrameEvent &evt) |
virtual void | windowResized (Ogre::RenderWindow *rw) |
virtual void | windowClosed (Ogre::RenderWindow *rw) |
virtual bool | frameStarted (const Ogre::FrameEvent &evt) |
virtual bool | frameEnded (const Ogre::FrameEvent &evt) |
Set/Get input types | |
virtual void | switchMouseMode () |
virtual void | switchKeyMode () |
InputListener * | getInputListener () |
![]() | |
OgreApp () | |
virtual | ~OgreApp () |
Ogre::SceneNode * | getSceneNode (const char *name_) const |
Ogre::SceneManager * | getSceneManager () const |
const Ogre::Camera * | getCam () const |
Ogre::RenderWindow * | getWindow () const |
const std::vector < Ogre::SceneNode * > & | getNonPersistentNodes () const |
virtual void | createScene (const char *sceneGraphXML_) |
Ogre::SceneNode * | createSceneNode (const char *name_, bool isPersistent_, Ogre::SceneNode *parent_) |
virtual void | go () |
void | serializeSceneGraph (const char *sceneGraphXML_) |
Static Public Member Functions | |
static CEGUI::MouseButton | convertOISMouseButtonToCegui (OIS::MouseButtonID buttonID_) |
static bool | doesHitAABB (const Ogre::AxisAlignedBox &AABB_, const Ogre::Vector3 &origin_, const Ogre::Vector3 &direction_) |
Protected Attributes | |
CEGUI::OgreRenderer * | _gUIRenderer |
CEGUI::System * | _gUISystem |
std::stack< UIScreen * > | _screens |
bool | _useBufferedInputKeys |
bool | _useBufferedInputMouse |
Ogre::Real | _moveSpeed |
Ogre::Real | _rotateSpeed |
float | _moveScale |
float | _rotScale |
bool | _statsOn |
Utils::uint | _numScreenShots |
Ogre::Real | _timeUntilNextToggle |
int | _sceneDetailIndex |
Ogre::Vector3 | _translateVector |
int | _aniso |
Ogre::TextureFilterOptions | _filtering |
float | _rotX |
float | _rotY |
bool | _canTranslateCam |
bool | _canRotateCam |
OIS::InputManager * | _inputManager |
OIS::Mouse * | _mouse |
OIS::Keyboard * | _keyboard |
InputListener * | _inputListener |
OgreBites::SdkTrayManager * | _trayManager |
volatile bool | _quit |
Ogre::Vector3 | _trans |
Ogre::DisplayString | _debugText |
![]() | |
Ogre::Root * | _root |
Ogre::Camera * | _camera |
Ogre::SceneManager * | _sceneMgr |
Ogre::RenderWindow * | _window |
std::map< std::string, Ogre::SceneNode * > | _namesToSerializableNodes |
std::vector< Ogre::SceneNode * > | _nonPersistentNodes |
std::map< std::string, Ogre::Light * > | _namesToSerializableLights |
std::vector< Ogre::Light * > | _nonPersistentLights |
Friends | |
class | Graphics::InputListener |
Additional Inherited Members | |
![]() | |
virtual void | setupResources () |
virtual bool | configure (bool restoreOgreConfig_) |
virtual void | chooseSceneManager () |
virtual void | createCamera () |
virtual void | createViewports () |
virtual void | createResourceListener () |
virtual void | loadResources () |
void | processSceneGraphXML (TiXmlElement *element_, Ogre::SceneNode *parentSceneNode_) |
void | serialize (TiXmlElement *element_, Ogre::SceneNode *parentSceneNode_) |
User interface using CEGUI and OGRE for rendering and mouse/key event handling. Also implements mouse picking.
UI::UI | ( | InputListener * | inputListener_ = 0 | ) |
|
virtual |
|
static |
|
virtual |
Free memory used by application elements.
Reimplemented from OpenSkyNet::Graphics::OgreApp.
Reimplemented in OpenSkyNet::CoreDesigner3DViewer::App.
|
static |
|
inlinevirtual |
Reimplemented in Tactics3D::App, and OpenSkyNet::CoreDesigner3DViewer::App.
|
virtual |
Reimplemented in Tactics3D::App, and OpenSkyNet::CoreDesigner3DViewer::App.
|
inline |
|
inline |
|
inlinevirtual |
Make all the changes to the camera. Note that YAW direction is around a fixed axis (freelook style) rather than a natural YAW (e.g. airplane).
Reimplemented in Tactics3D::App, and OpenSkyNet::CoreDesigner3DViewer::App.
|
inline |
|
virtual |
|
virtual |
Reimplemented in OpenSkyNet::CoreDesigner3DViewer::App.
|
virtual |
Reimplemented in Tactics3D::App.
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
Sets up the application - returns false if the user chooses to abandon configuration.
Reimplemented from OpenSkyNet::Graphics::OgreApp.
Reimplemented in OpenSkyNet::CoreDesigner3DViewer::App.
|
inlinevirtual |
Reimplemented in Tactics3D::App, and OpenSkyNet::CoreDesigner3DViewer::App.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in Tactics3D::App.
|
virtual |
|
virtual |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |