+/*!
+select games, copy editing assets and write out configuration files
+ */
+
+#define Q3_PACK "Q3Pack"
+#define URT_PACK "UrTPack"
+#define UFOAI_PACK "UFOAIPack"
+#define Q2W_PACK "Q2WPack"
+#define WARSOW_PACK "WarsowPack"
+#define NEXUIZ_PACK "NexuizPack"
+#define Q2_PACK "Q2Pack"
+
+class CGameInstall : public Dialog {
+public:
+ CGameInstall();
+ void ScanGames();
+ void Run();
+ void BuildDialog();
+
+ static void OnBtnBrowseEngine( GtkWidget *widget, gpointer data );
+ static void OnGameSelectChanged( GtkWidget *widget, gpointer data );
+
+ enum gameType_e {
+ GAME_NONE = 0,
+ GAME_Q3 = 1,
+ GAME_URT,
+ GAME_UFOAI,
+ GAME_Q2W,
+ GAME_WARSOW,
+ GAME_NEXUIZ,
+ GAME_Q2,
+ GAME_COUNT
+ };
+
+protected:
+ Str m_strName;
+ Str m_strMod;
+ Str m_strEngine;
+ int m_nComboSelect;
+
+ // maps from m_nComboSelect to the games
+ int m_availGames[GAME_COUNT];
+};
+