equal
deleted
inserted
replaced
46 Q_OBJECT |
46 Q_OBJECT |
47 public: |
47 public: |
48 HWGame(GameUIConfig * config, GameCFGWidget * gamecfg, QString ammo, TeamSelWidget* pTeamSelWidget = 0); |
48 HWGame(GameUIConfig * config, GameCFGWidget * gamecfg, QString ammo, TeamSelWidget* pTeamSelWidget = 0); |
49 virtual ~HWGame(); |
49 virtual ~HWGame(); |
50 void AddTeam(const QString & team); |
50 void AddTeam(const QString & team); |
51 void PlayDemo(const QString & demofilename); |
51 void PlayDemo(const QString & demofilename, bool isSave); |
52 void StartLocal(); |
52 void StartLocal(); |
53 void StartQuick(); |
53 void StartQuick(); |
54 void StartNet(); |
54 void StartNet(); |
55 void StartTraining(const QString & file); |
55 void StartTraining(const QString & file); |
56 void StartCampaign(const QString & file); |
56 void StartCampaign(const QString & file); |
82 gtQLocal = 2, |
82 gtQLocal = 2, |
83 gtDemo = 3, |
83 gtDemo = 3, |
84 gtNet = 4, |
84 gtNet = 4, |
85 gtTraining = 5, |
85 gtTraining = 5, |
86 gtCampaign = 6, |
86 gtCampaign = 6, |
|
87 gtSave = 7, |
87 }; |
88 }; |
88 char msgbuf[MAXMSGCHARS]; |
89 char msgbuf[MAXMSGCHARS]; |
89 QString teams[5]; |
90 QString teams[5]; |
90 QString ammostr; |
91 QString ammostr; |
91 int TeamCount; |
92 int TeamCount; |