homm3tools
homm3tools copied to clipboard
[h3mlib] Conversion: Fix conversion of RoE-compatible Monolith Two Ways
Previously at least Monolith Two Ways that exist in RoE were kept during conversion to RoE, but currently they are not. As these monoliths are compatible with RoE they should simply be kept. Additionally but not covered by this task could be some AI to replace non-RoE comaptible Two Ways with ones that are compatible, or with One Way combos.
Code: https://github.com/potmdehex/homm3tools/blob/master/h3m/h3mlib/h3m_conversion/convert.c https://github.com/potmdehex/homm3tools/tree/master/h3m/h3mlib/gen
Done definition: RoE compatible Monolith Two Ways on non-RoE maps should be kept after conversion to RoE.
Note: The h3m conversion code in h3mlib was mostly written in a rush a few days before HD Edition's release so it is quite messy.