Who makes the wiki? This part is missing!DaleStan wrote:Officially, yes, that variable is a dword, but it looks to me like that line checks a reserved byte.George wrote://!!Warning (103): Shifting variable 44 past its length.
582 * 14 02 07 2B 81 44 10 FF 01 29 00 00 00 2A 00The wiki wrote:Building counts (44)
Returns dword rrrrCCcc,
Code: Select all
44 Returns dword LLllCCcc, where cc means how many buildings
of the current type can be found in the current town, while
CC is the same for the whole map. ll and LL are similar to
cc and CC, but contain the number of tiles that have the
same class as the current one. For tiles that have no class,
ll and LL are always zero. Overridden old types are considered
to be the new type they were overridden with. During callback 17,
the current building isn't on the map yet, and therefore isn't
counted. In other cases, the building count is at least one,
since the current building is counted as well.
ll and LL are available in alpha 42 vcs 2 and above only,
the high word is undefined for older versions.