mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Bumped version to 0.73d, restored AI.
This commit is contained in:
parent
ee3c318ed9
commit
a424032ec3
@ -816,7 +816,6 @@ void CGeniusAI::yourTurn()
|
|||||||
static boost::mutex mutex;
|
static boost::mutex mutex;
|
||||||
boost::mutex::scoped_lock lock(mutex);
|
boost::mutex::scoped_lock lock(mutex);
|
||||||
m_cb->waitTillRealize = true;
|
m_cb->waitTillRealize = true;
|
||||||
m_cb->endTurn();
|
|
||||||
static int seed = rand();
|
static int seed = rand();
|
||||||
srand(seed);
|
srand(seed);
|
||||||
if(m_cb->getDate()==1)
|
if(m_cb->getDate()==1)
|
||||||
@ -844,6 +843,7 @@ void CGeniusAI::yourTurn()
|
|||||||
objective->fulfill(*this,trueGameState);
|
objective->fulfill(*this,trueGameState);
|
||||||
|
|
||||||
seed = rand();
|
seed = rand();
|
||||||
|
m_cb->endTurn();
|
||||||
|
|
||||||
m_cb->waitTillRealize = false;
|
m_cb->waitTillRealize = false;
|
||||||
}
|
}
|
||||||
|
2
global.h
2
global.h
@ -20,7 +20,7 @@ typedef boost::int8_t si8; //signed int 8 bits (1 byte)
|
|||||||
#define THC
|
#define THC
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define NAME_VER ("VCMI 0.73c")
|
#define NAME_VER ("VCMI 0.73d")
|
||||||
extern std::string NAME; //full name
|
extern std::string NAME; //full name
|
||||||
extern std::string NAME_AFFIX; //client / server
|
extern std::string NAME_AFFIX; //client / server
|
||||||
#define CONSOLE_LOGGING_LEVEL 5
|
#define CONSOLE_LOGGING_LEVEL 5
|
||||||
|
Loading…
Reference in New Issue
Block a user