![]() |
V-Gears 0
Free Final Fantasy VII engine.
|
Provides utilities for the application. More...
#include <VGearsUtility.h>
Public Member Functions | |
Utility (int argc, char *argv[]) | |
Constructor. More... | |
virtual | ~Utility () |
Destructor. More... | |
virtual Ogre::Camera * | GetCamera (void) |
Retrieves the camera. More... | |
![]() | |
Application (Ogre::String pluginsFileName, Ogre::String resourcesFile, Ogre::String logFileName) | |
Constructor. More... | |
Application (int argc, char *argv[]) | |
Constructor. More... | |
virtual | ~Application () |
Destructor. More... | |
bool | initOgre (bool hideWindow=false) |
Initializes the Ogre rendering system. More... | |
Ogre::Root * | getRoot (void) |
Retrieves the Ogre system main component. More... | |
Ogre::RenderWindow * | getRenderWindow (void) |
Retrieves the Ogre main window. More... | |
const String & | getResourcesFilename (void) |
Retrieves the Ogre resources file name. More... | |
Ogre::ResourceGroupManager * | ResMgr () |
Retrieves the Ogre resource manager. More... | |
Static Public Member Functions | |
static std::string | DecodeString (const u8 *bytes, const unsigned int size) |
Decodes a FF7 encoded string. More... | |
Protected Member Functions | |
virtual void | InitComponents () |
Initializes components used by the utilities. More... | |
virtual void | DestroyComponents () |
Initializes components used by the utilities. More... | |
![]() | |
String | getWindowTitle (void) const |
Retrieves the main window title. More... | |
bool | processCommandLine (int argc, char *argv[]) |
Processes command line arguments. More... | |
void | registerArchiveFactories (void) |
Registers an {. More... | |
void | loadResourcesConfig (void) |
Loads the resource configuration from the file. More... | |
void | initComponents (void) |
Initializes components. More... | |
void | destroyComponents (void) |
Unloads components. More... | |
void | createResourceManagers (void) |
Initializes the resource manager. More... | |
void | destroyResourceManagers (void) |
Unloads the resource manager. More... | |
Private Member Functions | |
Utility () | |
Constructor. More... | |
Private Attributes | |
DisplayFrameListener * | frame_listener_ |
The frame listener. More... | |
Ogre::SceneManager * | scene_manager_ |
The application scene manager. More... | |
Ogre::Camera * | camera_ |
The engine camera. More... | |
Ogre::Viewport * | viewport_ |
The engine viewport. More... | |
Provides utilities for the application.
VGears::Utility::Utility | ( | int | argc, |
char * | argv[] | ||
) |
Constructor.
[in] | argc | Number of arguments passed to the application. |
[in] | argv | List of arguments passed to the application. |
|
virtual |
Destructor.
|
private |
Constructor.
|
static |
Decodes a FF7 encoded string.
It doesn't work for compressed strings.
[in] | bytes | Raw bytes to read from. |
[in] | size | Number of bytes in the bytes parameter. |
|
protectedvirtual |
Initializes components used by the utilities.
|
virtual |
Retrieves the camera.
|
protectedvirtual |
Initializes components used by the utilities.
|
private |
The engine camera.
|
private |
The frame listener.
|
private |
The application scene manager.
|
private |
The engine viewport.