RioEngine
0.1
My first attempt to create a 3D WYSIWYG Game Engine
|
#include <editorwindow.h>
Public Types | |
enum | State { EDITING, PLAYING } |
Public Slots | |
void | onGameWindowDestroyedCallback (QObject *obj=0) |
void | propertyChanged (QObject *obj, QString property_name, QVariant value, QVariant old_value) |
void | selectGameObject (QString) |
void | onEditPropertyBegin () |
void | onEditPropertyEnd () |
Public Member Functions | |
EditorWindow (QWidget *parent=0) | |
State | currentState () const |
bool | areResourcesLoaded () |
void | loadResourcesIfNeeded () |
void | selectGameObjectHavingUID (uint gameobj_uid) |
void | selectGameObject (CGameObject *game_object) |
void | setSelectedTransformMode (Transform::TransformMode transform_mode) |
void | setSelectedManipulatorType (QGLGameEditorViewport::ManipulatorTypes manipulator_type) |
void | updateGUIState () |
void | clearSelection () |
void | repopulatePropertyBrowser () |
void | selectMostRecentGameObject () |
void | removeChildFromInspector (QString child_name) |
void | addSceneFilenameToRecentSceneList (QString scene_filename) |
~EditorWindow () | |
Static Public Attributes | |
static EditorWindow * | currentInstance = NULL |
Protected Slots | |
void | timeout (void) |
Protected Member Functions | |
virtual void | closeEvent (QCloseEvent *event) |
Definition at line 59 of file editorwindow.h.
enum EditorWindow::State |
Enumerator | |
---|---|
EDITING | |
PLAYING |
Definition at line 63 of file editorwindow.h.
|
explicit |
Definition at line 65 of file editorwindow.cpp.
EditorWindow::~EditorWindow | ( | ) |
Definition at line 1053 of file editorwindow.cpp.
void EditorWindow::addSceneFilenameToRecentSceneList | ( | QString | scene_filename | ) |
Definition at line 528 of file editorwindow.cpp.
bool EditorWindow::areResourcesLoaded | ( | ) |
Definition at line 148 of file editorwindow.cpp.
void EditorWindow::clearSelection | ( | ) |
Definition at line 253 of file editorwindow.cpp.
|
protectedvirtual |
Definition at line 320 of file editorwindow.cpp.
EditorWindow::State EditorWindow::currentState | ( | ) | const |
Definition at line 142 of file editorwindow.cpp.
void EditorWindow::loadResourcesIfNeeded | ( | ) |
Definition at line 160 of file editorwindow.cpp.
|
slot |
Definition at line 764 of file editorwindow.cpp.
|
slot |
Definition at line 769 of file editorwindow.cpp.
|
slot |
Definition at line 521 of file editorwindow.cpp.
|
slot |
Definition at line 678 of file editorwindow.cpp.
void EditorWindow::removeChildFromInspector | ( | QString | child_name | ) |
Definition at line 286 of file editorwindow.cpp.
void EditorWindow::repopulatePropertyBrowser | ( | ) |
Definition at line 259 of file editorwindow.cpp.
void EditorWindow::selectGameObject | ( | CGameObject * | game_object | ) |
Definition at line 307 of file editorwindow.cpp.
|
slot |
Definition at line 185 of file editorwindow.cpp.
void EditorWindow::selectGameObjectHavingUID | ( | uint | gameobj_uid | ) |
Definition at line 168 of file editorwindow.cpp.
void EditorWindow::selectMostRecentGameObject | ( | ) |
Definition at line 269 of file editorwindow.cpp.
void EditorWindow::setSelectedManipulatorType | ( | QGLGameEditorViewport::ManipulatorTypes | manipulator_type | ) |
Definition at line 208 of file editorwindow.cpp.
void EditorWindow::setSelectedTransformMode | ( | Transform::TransformMode | transform_mode | ) |
Definition at line 199 of file editorwindow.cpp.
|
protectedslot |
Definition at line 292 of file editorwindow.cpp.
void EditorWindow::updateGUIState | ( | ) |
Definition at line 219 of file editorwindow.cpp.
|
static |
Definition at line 69 of file editorwindow.h.