17.10.2018, 17:04
(
Последний раз редактировалось kristo; 17.10.2018 в 20:05.
)
A smaller update:
- The amount of areas associated with each map zone is now saved in the array, improving the performance of GetMapZoneAreaCount, which looped through all areas before.
- New constant MAX_MAP_ZONE_AREAS, which marks the maximum amount of areas associated with a map zone. Also, non-internal constants are now all documented in the readme.
- Updated how GetMapZoneAreaPos works and has to be used. The example in the readme has been updated. The function essentially only has to loop through zones once instead of up to MAX_MAP_ZONE_AREAS times as before.
- Added 2D variants for the zone-finding functions. 3D variants now have aliases with 3D suffixes.