- INTEGER_CONSTANT(Version, 1);
- STRING_CONSTANT(Name, "radiant");
-
- const char* (*getEnginePath)();
- const char* (*getGameToolsPath)();
- const char* (*getAppPath)();
- const char* (*getSettingsPath)();
- const char* (*getMapsPath)();
-
- const char* (*getGameName)();
- const char* (*getGameMode)();
-
- const char* (*getMapName)();
- scene::Node& (*getMapWorldEntity)();
- float (*getGridSize)();
-
- const char* (*getGameDescriptionKeyValue)(const char* key);
- const char* (*getRequiredGameDescriptionKeyValue)(const char* key);
-
- void (*attachGameToolsPathObserver)(ModuleObserver& observer);
- void (*detachGameToolsPathObserver)(ModuleObserver& observer);
- void (*attachEnginePathObserver)(ModuleObserver& observer);
- void (*detachEnginePathObserver)(ModuleObserver& observer);
- void (*attachGameNameObserver)(ModuleObserver& observer);
- void (*detachGameNameObserver)(ModuleObserver& observer);
- void (*attachGameModeObserver)(ModuleObserver& observer);
- void (*detachGameModeObserver)(ModuleObserver& observer);
-
- SignalHandlerId (*XYWindowDestroyed_connect)(const SignalHandler& handler);
- void (*XYWindowDestroyed_disconnect)(SignalHandlerId id);
- MouseEventHandlerId (*XYWindowMouseDown_connect)(const MouseEventHandler& handler);
- void (*XYWindowMouseDown_disconnect)(MouseEventHandlerId id);
- VIEWTYPE (*XYWindow_getViewType)();
- Vector3 (*XYWindow_windowToWorld)(const WindowVector& position);
- const char* (*TextureBrowser_getSelectedShader)();
-
- // GTK+ functions
- PFN_QERAPP_MESSAGEBOX m_pfnMessageBox;
- PFN_QERAPP_FILEDIALOG m_pfnFileDialog;
- PFN_QERAPP_DIRDIALOG m_pfnDirDialog;
- PFN_QERAPP_COLORDIALOG m_pfnColorDialog;
- PFN_QERAPP_NEWIMAGE m_pfnNewImage;
+ INTEGER_CONSTANT( Version, 1 );
+ STRING_CONSTANT( Name, "radiant" );
+
+ const char* ( *getEnginePath )( );
+ const char* ( *getLocalRcPath )( );
+ const char* ( *getGameToolsPath )( );
+ const char* ( *getAppPath )( );
+ const char* ( *getSettingsPath )( );
+ const char* ( *getMapsPath )( );
+
+ const char* ( *getGameName )( );
+ const char* ( *getGameMode )( );
+
+ const char* ( *getMapName )( );
+ scene::Node& ( *getMapWorldEntity )( );
+ float ( *getGridSize )();
+
+ const char* ( *getGameDescriptionKeyValue )(const char* key);
+ const char* ( *getRequiredGameDescriptionKeyValue )(const char* key);
+
+ void ( *attachGameToolsPathObserver )( ModuleObserver& observer );
+ void ( *detachGameToolsPathObserver )( ModuleObserver& observer );
+ void ( *attachEnginePathObserver )( ModuleObserver& observer );
+ void ( *detachEnginePathObserver )( ModuleObserver& observer );
+ void ( *attachGameNameObserver )( ModuleObserver& observer );
+ void ( *detachGameNameObserver )( ModuleObserver& observer );
+ void ( *attachGameModeObserver )( ModuleObserver& observer );
+ void ( *detachGameModeObserver )( ModuleObserver& observer );
+
+ SignalHandlerId ( *XYWindowDestroyed_connect )( const SignalHandler& handler );
+ void ( *XYWindowDestroyed_disconnect )( SignalHandlerId id );
+ MouseEventHandlerId ( *XYWindowMouseDown_connect )( const MouseEventHandler& handler );
+ void ( *XYWindowMouseDown_disconnect )( MouseEventHandlerId id );
+ VIEWTYPE ( *XYWindow_getViewType )();
+ Vector3 ( *XYWindow_windowToWorld )( const WindowVector& position );
+ const char* ( *TextureBrowser_getSelectedShader )( );
+
+ // GTK+ functions
+ PFN_QERAPP_MESSAGEBOX m_pfnMessageBox;
+ PFN_QERAPP_FILEDIALOG m_pfnFileDialog;
+ PFN_QERAPP_DIRDIALOG m_pfnDirDialog;
+ PFN_QERAPP_COLORDIALOG m_pfnColorDialog;
+ PFN_QERAPP_NEWIMAGE m_pfnNewImage;