mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
95b3ad64d3
* some minor bugfixes and improvements
23 lines
485 B
C++
23 lines
485 B
C++
#ifndef STARTINFO_H
|
|
#define STARTINFO_H
|
|
|
|
#include "global.h"
|
|
|
|
enum Ebonus {brandom=-1,bartifact, bgold, bresource};
|
|
|
|
struct StartInfo
|
|
{
|
|
struct PlayerSettings
|
|
{
|
|
int castle, hero, heroPortrait; //ID, if -1 then random, if -2 then none
|
|
std::string heroName;
|
|
Ebonus bonus;
|
|
Ecolor color; //from 0 -
|
|
int handicap;//0-no, 1-mild, 2-severe
|
|
std::string name;
|
|
};
|
|
std::vector<PlayerSettings> playerInfos;
|
|
int turnTime; //in minutes, 0=unlimited
|
|
};
|
|
|
|
#endif |