1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

* proper initialization of coverage map in hero defs

* updated changelog
This commit is contained in:
Michał W. Urbańczyk 2009-07-12 21:17:35 +00:00
parent 64d9665c39
commit 98c9b5cd0a
2 changed files with 56 additions and 2 deletions

View File

@ -1,3 +1,55 @@
0.72 -> 0.73
GENERAL:
* infowindow popup will be completely on screen
* fixed possible crash with in game console
* fixed crash when gaining artifact after r-click on hero in tavern
* Estates / hero bonuses won't give resources on first day.
* video handling (intro, main menu animation, tavern animation, spellbook animation, battle result window)
* hero meeting window allowing exchanging armies between heroes on adventure map
* 'T' hotkey opens marketplace window
* giving starting spells for heroes
* pressing enter or escape close spellbook
* removed redundant quotation marks from skills description and artifact events texts
* disabled autosaving on first turn
* bonuses from bonus artifacts
* increased char per line limit for subtitles under components
* corrected some exp/level values
* primary skills cannot be negative
* support for 3 new artifacts: Ring of Vitality, Ring of Life, Vial of Lifeblood
ADVENTURE INTERFACE:
* Garrisoning, then removing hero from garrison move him at the end of the heroes list
* The size of the frame around the map depends on the screen size.
* spellbook shows adventure spells when opened on adventure map
* erasing path after picking objects with last movement point
BATTLES:
* added some missing projectile infos
* added native terrain bonuses in battles
* number of units in stack in battle should now fit the box
* non-living and undead creatures have now always 0 morale
* partial handling of advmap objects changing battle background (like clover field) (their existence should change the background but nothing else)
* fixed displaying luck effect animation
TOWNS:
* fixes for horde buildings
* garrisoned hero can buy a spellbook if he is selected or if there is no visiting hero
* capitol bar in town hall is grey (not red) if already one exists
* fixed crash on entering hall when town was near map edge
HERO WINDOW:
* garrisoned heroes won't be shown on the list
PREGAME:
* saves are sorted primary by map format, secondary by name
* fixed displaying date of saved game (uses local time, removed square character)
OBJECTS:
* Fixed primary/secondary skill levels given by a scholar.
* fixed crash when there was flaggable building next to map edge
* partial support for adventure map creature dwellings
0.71 -> 0.72 (Jun 1 2009)
GENERAL:
* many sound effects and music

View File

@ -584,12 +584,14 @@ void CGHeroInstance::initHeroDefInfo()
}
for(int i=0;i<6;i++)
{
defInfo->blockMap[i]=255;
defInfo->visitMap[i]=0;
defInfo->blockMap[i] = 255;
defInfo->visitMap[i] = 0;
defInfo->coverageMap[i] = 0;
}
defInfo->handler=NULL;
defInfo->blockMap[5] = 253;
defInfo->visitMap[5] = 2;
defInfo->coverageMap[4] = defInfo->coverageMap[5] = 224;
}
CGHeroInstance::~CGHeroInstance()
{