QTfrontend/hwform.h
changeset 586 ecb6347dfeca
parent 579 94db15de0392
child 587 74db4115064a
equal deleted inserted replaced
585:7531ae5b146e 586:ecb6347dfeca
    48 	void GoToMultiplayer();
    48 	void GoToMultiplayer();
    49 	void GoToSaves();
    49 	void GoToSaves();
    50 	void GoToDemos();
    50 	void GoToDemos();
    51 	void GoToNet();
    51 	void GoToNet();
    52 	void GoToInfo();
    52 	void GoToInfo();
       
    53 	void GoToSimpleGame();
    53 	void GoToPage(quint8 id);
    54 	void GoToPage(quint8 id);
    54 	void GoBack();
    55 	void GoBack();
    55 	void btnExitPressed();
    56 	void btnExitPressed();
    56 	void btnExitClicked();
    57 	void btnExitClicked();
    57 	void IntermediateSetup();
    58 	void IntermediateSetup();
    79 private:
    80 private:
    80 	void _NetConnect(const QString & hostName, quint16 port, const QString & nick);
    81 	void _NetConnect(const QString & hostName, quint16 port, const QString & nick);
    81 	void UpdateTeamsLists(const QStringList* editable_teams=0);
    82 	void UpdateTeamsLists(const QStringList* editable_teams=0);
    82 	void CreateGame(GameCFGWidget * gamecfg, TeamSelWidget* pTeamSelWidget);
    83 	void CreateGame(GameCFGWidget * gamecfg, TeamSelWidget* pTeamSelWidget);
    83 	enum PageIDs {
    84 	enum PageIDs {
    84 		ID_PAGE_SINGLEPLAYER	= 0,
    85 		ID_PAGE_SIMPLEGAME      =  0,
    85 		ID_PAGE_SETUP_TEAM	= 1,
    86 		ID_PAGE_SETUP_TEAM      =  1,
    86 		ID_PAGE_SETUP	= 2,
    87 		ID_PAGE_SETUP           =  2,
    87 		ID_PAGE_MULTIPLAYER	= 3,
    88 		ID_PAGE_MULTIPLAYER     =  3,
    88 		ID_PAGE_DEMOS	= 4,
    89 		ID_PAGE_DEMOS           =  4,
    89 		ID_PAGE_NET	= 5,
    90 		ID_PAGE_NET             =  5,
    90 		ID_PAGE_NETCFG	= 6,
    91 		ID_PAGE_NETCFG          =  6,
    91 		ID_PAGE_INFO	= 7,
    92 		ID_PAGE_INFO            =  7,
    92 		ID_PAGE_MAIN	= 8,
    93 		ID_PAGE_MAIN            =  8,
    93 		ID_PAGE_GAMESTATS = 9
    94 		ID_PAGE_GAMESTATS       =  9,
       
    95 		ID_PAGE_SINGLEPLAYER    = 10
    94 		};
    96 		};
    95 	HWGame * game;
    97 	HWGame * game;
    96 	HWTeam * editedTeam;
    98 	HWTeam * editedTeam;
    97 	HWNewNet * hwnet;
    99 	HWNewNet * hwnet;
    98 	GameUIConfig * config;
   100 	GameUIConfig * config;