QTfrontend/hwform.h
changeset 3760 d30f1ba768d7
parent 3697 d5b30d6373fc
child 3932 2fc211f60015
equal deleted inserted replaced
3759:f352e9dcf516 3760:d30f1ba768d7
    67     void GoToDemos();
    67     void GoToDemos();
    68     void GoToNet();
    68     void GoToNet();
    69     void GoToNetType();
    69     void GoToNetType();
    70     void GoToInfo();
    70     void GoToInfo();
    71     void GoToTraining();
    71     void GoToTraining();
       
    72     void GoToCampaign();
    72     void GoToSelectWeapon();
    73     void GoToSelectWeapon();
    73     void GoToSelectWeaponSet(const QString & name);
    74     void GoToSelectWeaponSet(const QString & name);
    74     void GoToSelectNewWeapon();
    75     void GoToSelectNewWeapon();
    75     void GoToNetServer();
    76     void GoToNetServer();
    76     void GoToSchemes();
    77     void GoToSchemes();
    88     void TeamSave();
    89     void TeamSave();
    89     void TeamDiscard();
    90     void TeamDiscard();
    90     void SimpleGame();
    91     void SimpleGame();
    91     void PlayDemo();
    92     void PlayDemo();
    92     void StartTraining();
    93     void StartTraining();
       
    94     void StartCampaign();
    93     void NetConnect();
    95     void NetConnect();
    94     void NetConnectServer(const QString & host, quint16 port);
    96     void NetConnectServer(const QString & host, quint16 port);
    95     void NetConnectOfficialServer();
    97     void NetConnectOfficialServer();
    96     void NetStartServer();
    98     void NetStartServer();
    97     void NetDisconnect();
    99     void NetDisconnect();
   105     void GetRecord(bool isDemo, const QByteArray & record);
   107     void GetRecord(bool isDemo, const QByteArray & record);
   106     void CreateNetGame();
   108     void CreateNetGame();
   107     void UpdateWeapons();
   109     void UpdateWeapons();
   108     void onFrontendFullscreen(bool value);
   110     void onFrontendFullscreen(bool value);
   109     void Music(bool checked);
   111     void Music(bool checked);
       
   112     void UpdateCampaignPage(int index);
   110 
   113 
   111     void NetGameChangeStatus(bool isMaster);
   114     void NetGameChangeStatus(bool isMaster);
   112     void NetGameMaster();
   115     void NetGameMaster();
   113     void NetGameSlave();
   116     void NetGameSlave();
   114 
   117 
   141         ID_PAGE_INGAME          = 13,
   144         ID_PAGE_INGAME          = 13,
   142         ID_PAGE_ROOMSLIST       = 14,
   145         ID_PAGE_ROOMSLIST       = 14,
   143         ID_PAGE_CONNECTING      = 15,
   146         ID_PAGE_CONNECTING      = 15,
   144         ID_PAGE_SCHEME          = 16,
   147         ID_PAGE_SCHEME          = 16,
   145         ID_PAGE_ADMIN           = 17,
   148         ID_PAGE_ADMIN           = 17,
   146         ID_PAGE_NETTYPE         = 18
   149         ID_PAGE_NETTYPE         = 18,
       
   150         ID_PAGE_CAMPAIGN        = 19
   147         };
   151         };
   148     HWGame * game;
   152     HWGame * game;
   149     HWNetServer* pnetserver;
   153     HWNetServer* pnetserver;
   150     HWNetRegisterServer* pRegisterServer;
   154     HWNetRegisterServer* pRegisterServer;
   151     HWTeam * editedTeam;
   155     HWTeam * editedTeam;