1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

* given hero is placed in the town entrance

Wspólne zmiany
* some objects such as river delta won't be blitted "on" hero
* tiles under FoW are inaccessible
* giving random hero on RoE maps
* improved protection against hero duplication
* fixed starting values of primary abilities of random heroes on RoE/AB maps
This commit is contained in:
mateuszb
2008-02-23 19:20:41 +00:00
parent dbf3b8d08e
commit 0c2cf02ca6
9 changed files with 54 additions and 37 deletions

2
map.h
View File

@@ -70,7 +70,7 @@ struct SheroName //name of starting hero
};
struct PlayerInfo
{
int p8, p9;
int p7, p8, p9;
bool canHumanPlay;
bool canComputerPlay;
unsigned int AITactic; //(00 - random, 01 - warrior, 02 - builder, 03 - explorer)