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 <ViewerApp.h>
Public Member Functions | |
App (const char *coreObjectsXML_, const char *sceneGraphXML_) | |
virtual void | go () |
void | lock () |
void | unlock () |
void | waitForEntityScaleSavedEvent () |
virtual void | moveCamera () |
OBJECT_EDIT_TYPE | getEditType () const |
void | setEditType (OBJECT_EDIT_TYPE editType_) |
void | scaleObject (Core::Object *obj_, const Math::Point<> &factor_) |
void | saveEntityScaleToMesh (const char *name_) |
void | setSavingEntityScales (bool isSaving_) |
virtual | ~App () |
Setup Operations | |
virtual bool | setup (bool restoreOgreConfig_) |
virtual void | setupEventHandlers () |
virtual void | createCamera () |
virtual void | createViewports () |
Input/Frame Event Handlers | |
virtual bool | processUnbufferedKeyInput (const Ogre::FrameEvent &evt) |
virtual bool | frameStarted (const Ogre::FrameEvent &evt) |
virtual bool | frameEnded (const Ogre::FrameEvent &evt) |
TransformChangeListener interface methods | |
virtual void | handleTransformChange (Core::Object *obj_, const Math::Point<> &prevPos_, const Math::Matrix3x3 &prevRot_, float dt_) |
virtual void | handleIdle (Core::Object *obj_, float idleSecs_) |
Shutdown Operations | |
virtual void | destroyScene (bool doDestroyPersistentData_) |
Public Member Functions inherited from OpenSkyNet::Graphics::UI | |
UI (InputListener *inputListener_=0) | |
void | setCanTranslateCam (bool val_) |
void | setCanRotateCam (bool val_) |
void | showDebugOverlay (bool show_) |
void | quit () |
virtual | ~UI () |
void | setTopNodeForMousePicking (Ogre::SceneNode *n_=0) |
UIScreen * | getTopScreen () const |
virtual void | pushScreen (UIScreen *screen_) |
virtual void | popScreen (bool doUnload_=true) |
void | popAndUnloadScreenNextUpdate () |
virtual bool | processUnbufferedMouseInput (const Ogre::FrameEvent &evt) |
virtual void | windowResized (Ogre::RenderWindow *rw) |
virtual void | windowClosed (Ogre::RenderWindow *rw) |
virtual void | switchMouseMode () |
virtual void | switchKeyMode () |
InputListener * | getInputListener () |
Public Member Functions inherited from OpenSkyNet::Graphics::OgreApp | |
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_) |
void | serializeSceneGraph (const char *sceneGraphXML_) |
Static Public Member Functions | |
static void | updateObjectUI (const Core::Object *obj_) |
Static Public Member Functions inherited from OpenSkyNet::Graphics::UI | |
static CEGUI::MouseButton | convertOISMouseButtonToCegui (OIS::MouseButtonID buttonID_) |
static bool | doesHitAABB (const Ogre::AxisAlignedBox &AABB_, const Ogre::Vector3 &origin_, const Ogre::Vector3 &direction_) |
Friends | |
class | CoreDesigner3DViewer::ViewerInputListener |
Additional Inherited Members | |
Protected Member Functions inherited from OpenSkyNet::Graphics::OgreApp | |
virtual void | setupResources () |
virtual bool | configure (bool restoreOgreConfig_) |
virtual void | chooseSceneManager () |
virtual void | createResourceListener () |
virtual void | loadResources () |
void | processSceneGraphXML (TiXmlElement *element_, Ogre::SceneNode *parentSceneNode_) |
void | serialize (TiXmlElement *element_, Ogre::SceneNode *parentSceneNode_) |
Protected Attributes inherited from OpenSkyNet::Graphics::UI | |
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 |
Protected Attributes inherited from OpenSkyNet::Graphics::OgreApp | |
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 |
This program uses: Ogre 1.8.1 (http://www.ogre3d.org/), Crazy Eddie's GUI System 0.7.7 (http://www.cegui.org.uk/), OIS 1.3 (http://sourceforge.net/projects/wgois/), and TinyXML 2.5.3 (http://www.grinninglizard.com/tinyxml/)
App::App | ( | const char * | coreObjectsXML_, |
const char * | sceneGraphXML_ | ||
) |
|
virtual |
|
inlinevirtual |
Overloaded to stop the OgreApp implementation (we use the Core::Cinematographer class for cameras).
Reimplemented from OpenSkyNet::Graphics::OgreApp.
|
inlinevirtual |
Overloaded to stop the OgreApp implementation (we use the Core::Cinematographer class for cameras).
Reimplemented from OpenSkyNet::Graphics::OgreApp.
|
virtual |
Free memory used by application elements.
Reimplemented from OpenSkyNet::Graphics::UI.
|
virtual |
Reimplemented from OpenSkyNet::Graphics::UI.
|
virtual |
Reimplemented from OpenSkyNet::Graphics::UI.
|
inline |
Gets/Sets the type of object transform operation for keyboard mappings.
|
virtual |
Start the App.
Reimplemented from OpenSkyNet::Graphics::OgreApp.
|
inlinevirtual |
Implements OpenSkyNet::Core::TransformChangeListener.
|
virtual |
Implements OpenSkyNet::Core::TransformChangeListener.
|
inline |
Lock for data accessed by the UI thread
|
virtual |
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 from OpenSkyNet::Graphics::UI.
|
virtual |
Reimplemented from OpenSkyNet::Graphics::UI.
|
inline |
Save an entity's scale to its meshes' .mesh file
void App::scaleObject | ( | Core::Object * | obj_, |
const Math::Point<> & | factor_ | ||
) |
Scaling is done in the designer, rather than Core, because there are few needs for game runtime scaling
|
inline |
|
inline |
|
virtual |
Sets up the application - returns false if the user chooses to abandon configuration.
Reimplemented from OpenSkyNet::Graphics::UI.
|
virtual |
Reimplemented from OpenSkyNet::Graphics::UI.
|
inline |
|
static |
Update the .NET form UI
|
inline |
Called by the UI thread during a save
|
friend |