X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=radiant%2Fpreferences.h;h=dfc1be5c7424b839f56b5b0edca517739123b15e;hp=908616adc5eea9bd889d0428daddd25fb8b97253;hb=051578cb3beb086fc56e8f548e8d93bc63302c94;hpb=a06f65b0422c4333f3daba0bb9ef2236e2a06c14 diff --git a/radiant/preferences.h b/radiant/preferences.h index 908616ad..dfc1be5c 100644 --- a/radiant/preferences.h +++ b/radiant/preferences.h @@ -196,22 +196,33 @@ public: /*! select games, copy editing assets and write out configuration files */ + +#define Q3_PACK "Q3Pack" +#define URT_PACK "UrTPack" + class CGameInstall : public Dialog { public: + CGameInstall(); + void ScanGames(); void Run(); void BuildDialog(); enum gameType_e { - GAME_Q3, + GAME_NONE = 0, + GAME_Q3 = 1, GAME_URT, - GAME_WARSOW + GAME_WARSOW, + GAME_COUNT }; protected: - Str m_strName; - Str m_strMod; - Str m_strEngine; - int m_nComboSelect; + Str m_strName; + Str m_strMod; + Str m_strEngine; + int m_nComboSelect; + + // maps from m_nComboSelect to the games + int m_availGames[GAME_COUNT]; }; /*!