QTfrontend/hwform.h
changeset 2773 e94f240a8a41
parent 2515 51d3f4b6293a
child 2821 67815ee123d7
equal deleted inserted replaced
2772:1965eba10be6 2773:e94f240a8a41
    39 class HWNewNet;
    39 class HWNewNet;
    40 class GameUIConfig;
    40 class GameUIConfig;
    41 class HWNetRegisterServer;
    41 class HWNetRegisterServer;
    42 class QCloseEvent;
    42 class QCloseEvent;
    43 class AmmoSchemeModel;
    43 class AmmoSchemeModel;
       
    44 class QSettings;
    44 
    45 
    45 extern bool frontendEffects;
    46 extern bool frontendEffects;
    46 
    47 
    47 class HWForm : public QMainWindow
    48 class HWForm : public QMainWindow
    48 {
    49 {
    50 
    51 
    51 public:
    52 public:
    52 	HWForm(QWidget *parent = 0);
    53 	HWForm(QWidget *parent = 0);
    53 	Ui_HWForm ui;
    54 	Ui_HWForm ui;
    54 	SDLInteraction sdli;
    55 	SDLInteraction sdli;
       
    56 	GameUIConfig * config;
       
    57     QSettings * gameSettings; // Same file GameUIConfig points to but without the baggage.  Needs sync() calls if you want to get GameUIConfig changes though
    55 
    58 
    56 private slots:
    59 private slots:
    57 	void GoToMain();
    60 	void GoToMain();
    58 	void GoToSinglePlayer();
    61 	void GoToSinglePlayer();
    59 	void GoToSetup();
    62 	void GoToSetup();
   142 	HWGame * game;
   145 	HWGame * game;
   143 	HWNetServer* pnetserver;
   146 	HWNetServer* pnetserver;
   144 	HWNetRegisterServer* pRegisterServer;
   147 	HWNetRegisterServer* pRegisterServer;
   145 	HWTeam * editedTeam;
   148 	HWTeam * editedTeam;
   146 	HWNewNet * hwnet;
   149 	HWNewNet * hwnet;
   147 	GameUIConfig * config;
       
   148 	HWNamegen * namegen;
   150 	HWNamegen * namegen;
   149 	AmmoSchemeModel * ammoSchemeModel;
   151 	AmmoSchemeModel * ammoSchemeModel;
   150 	QStack<quint8> PagesStack;
   152 	QStack<quint8> PagesStack;
   151 	QTime eggTimer;
   153 	QTime eggTimer;
   152 	BGWidget * wBackground;
   154 	BGWidget * wBackground;