X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=radiant%2Fmainframe.h;h=358b9eb7cc144861127a8e5387d84c954d6e46eb;hb=0f91bcf305ef8707b4a96a764c09aeb3cb6beba3;hp=2c003af46ad9f3b2cb3167c330fcac30d737f039;hpb=0110e3a8f3ab54c17a1785e17c7246adf8e13a46;p=xonotic%2Fnetradiant.git diff --git a/radiant/mainframe.h b/radiant/mainframe.h index 2c003af4..358b9eb7 100644 --- a/radiant/mainframe.h +++ b/radiant/mainframe.h @@ -103,10 +103,10 @@ void OnSleep(); void SetStatusText( CopiedString& status_text, const char* pText ); void UpdateStatusText(); void RedrawStatusText(); -typedef MemberCaller RedrawStatusTextCaller; +typedef MemberCaller RedrawStatusTextCaller; void SetGridStatus(); -typedef MemberCaller SetGridStatusCaller; +typedef MemberCaller SetGridStatusCaller; void SetActiveXY( XYWnd* p ); XYWnd* ActiveXY(){ @@ -164,8 +164,7 @@ void GLWindow_Destroy(); extern glwindow_globals_t g_glwindow_globals; template class LatchedValue; -typedef LatchedValue LatchedBool; -extern LatchedBool g_Layout_enableDetachableMenus; +extern LatchedValue g_Layout_enableDetachableMenus; void deleteSelection(); @@ -206,8 +205,20 @@ void EnginePath_verify(); const char* EnginePath_get(); const char* QERApp_GetGamePath(); +extern bool g_disableEnginePath; +extern bool g_disableHomePath; + +const int g_pakPathCount = 5; +extern CopiedString g_strPakPath[g_pakPathCount]; +const char* PakPath_get( int num ); + extern CopiedString g_strAppPath; +extern CopiedString g_strLibPath; +extern CopiedString g_strDataPath; + const char* AppPath_get(); +const char *LibPath_get(); +const char *DataPath_get(); extern CopiedString g_strSettingsPath; const char* SettingsPath_get();