MantisBT - VCMI
View Issue Details
0000058VCMIGUI - Otherpublic2009-10-03 13:212010-05-29 19:20
Warmonger 
OnionKnight 
normalfeatureN/A
closedfixed 
0.74 
0.75 
0000058: Garrison toolip
Garrison toolip should display approximate number of units (a pack, legion etc.)
No tags attached.
Issue History
2009-10-03 13:21WarmongerNew Issue
2009-10-03 17:23OnionKnightNote Added: 0000032
2009-10-03 17:23OnionKnightStatusnew => assigned
2009-10-03 17:23OnionKnightAssigned To => OnionKnight
2009-10-03 17:41WarmongerNote Added: 0000033
2009-10-25 19:32OnionKnightStatusassigned => resolved
2009-10-25 19:32OnionKnightResolutionopen => fixed
2009-12-01 21:52TowFixed in Version => 0.75
2009-12-22 15:45ZamolxisNote Added: 0000450
2009-12-22 15:45ZamolxisStatusresolved => closed
2010-05-29 19:20ZamolxisProduct Version => 0.74

Notes
(0000032)
OnionKnight   
2009-10-03 17:23   
I had left off with this one as it would require some workaround. To get detailed info about amounts of creature the "details" field of a InfoAboutTown struct needs to be filled in. But in doing so, you are also filling in information like income, town hall level and garrisoned hero which will make a garrison display like a town.
I am not sure how to deal with it. The fields could be set to a value like -1 or 0, or a static garrison detail struct is instanced and the drawTownInfoWin method checks if the adress points to it for special treatment.
(0000033)
Warmonger   
2009-10-03 17:41   
Maybe we should assemble more complex system of counting troops and their power for all armed instances. Current solutions work only for the very specific objects.
(0000450)
Zamolxis   
2009-12-22 15:45   
Verified and confirmed as fixed in 0.75. At least to me it seems like working identical with H3. Please re-open if otherwise (or if you prefer to keep this open for the enhancement proposed by Warmonger).