You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdegames/konquest/newgamedlg.h

53 lines
997 B

#ifndef _NEWGAMEDLG_H_
#define _NEWGAMEDLG_H_
#include <kdialogbase.h>
#include "gamecore.h"
#include "minimap.h"
class NewGameDlgUI;
/*************************************************************************
New Game Dialog
************************************************************************/
class NewGameDlg : public KDialogBase
{
Q_OBJECT
public:
NewGameDlg( TQWidget *parent, Map *map, PlayerList *playerList,
Player *neutralPlayer, PlanetList *planetList );
int turns( void );
void save();
protected slots:
void slotPlayerCount(int playerCount);
void slotNewMap();
void slotTurns();
void slotNewPlayer();
void slotAddPlayer();
void slotDefault();
void slotOk();
private:
void init();
void updateMiniMap();
void updateLabels();
void setPlayerCount(int playerCount);
private:
PlayerList *plrList;
PlanetList *plnetList;
Player *neutral;
Map *map;
NewGameDlgUI *w;
};
#endif