QTfrontend/hwform.h
changeset 187 96c3154efee5
parent 184 f97a7a3dc8f6
child 245 4f6b53b7a567
equal deleted inserted replaced
186:7157b34a24d6 187:96c3154efee5
    44 	void GoToSetup();
    44 	void GoToSetup();
    45 	void GoToMultiplayer();
    45 	void GoToMultiplayer();
    46 	void GoToDemos();
    46 	void GoToDemos();
    47 	void GoToNet();
    47 	void GoToNet();
    48 	void GoToNetChat();
    48 	void GoToNetChat();
       
    49 	void GoToInfo();
    49 	void NewTeam();
    50 	void NewTeam();
    50 	void EditTeam();
    51 	void EditTeam();
    51 	void TeamSave();
    52 	void TeamSave();
    52 	void TeamDiscard();
    53 	void TeamDiscard();
    53 	void SimpleGame();
    54 	void SimpleGame();
    62 	void NetStartGame();
    63 	void NetStartGame();
    63 	void ChangeInNetTeams(const QStringList & teams);
    64 	void ChangeInNetTeams(const QStringList & teams);
    64 	void StartMPGame();
    65 	void StartMPGame();
    65 
    66 
    66 private:
    67 private:
       
    68 	enum PageIDs {
       
    69 		ID_PAGE_SINGLEPLAYER	= 0,
       
    70 		ID_PAGE_SETUP_TEAM	= 1,
       
    71 		ID_PAGE_SETUP	= 2,
       
    72 		ID_PAGE_MULTIPLAYER	= 3,
       
    73 		ID_PAGE_DEMOS	= 4,
       
    74 		ID_PAGE_NET	= 5,
       
    75 		ID_PAGE_NETCHAT	= 6,
       
    76 		ID_PAGE_NETCFG	= 7,
       
    77 		ID_PAGE_INFO	= 8,
       
    78 		ID_PAGE_MAIN	= 9
       
    79 		};
    67 	HWGame * game;
    80 	HWGame * game;
    68 	HWTeam * tmpTeam;
    81 	HWTeam * tmpTeam;
    69 	HWNet * hwnet;
    82 	HWNet * hwnet;
    70 	GameUIConfig * config;
    83 	GameUIConfig * config;
    71 };
    84 };
    72 
    85 
    73 #define ID_PAGE_SINGLEPLAYER 0
       
    74 #define ID_PAGE_SETUP_TEAM 1
       
    75 #define ID_PAGE_SETUP 2
       
    76 #define ID_PAGE_MULTIPLAYER 3
       
    77 #define ID_PAGE_DEMOS 4
       
    78 #define ID_PAGE_NET 5
       
    79 #define ID_PAGE_NETCHAT 6
       
    80 #define ID_PAGE_NETCFG 7
       
    81 #define ID_PAGE_MAIN 8
       
    82 
       
    83 #endif
    86 #endif