world-of-might-and-magic
world-of-might-and-magic copied to clipboard
Unified water tile handling code
Describe the Idea
From TODO.md
:
Move all water anim to
TextureFrameTable
to avoid many duplication of water animation handling code.
We have like 3 copies of this code in RenderOpenGL.cpp
.
Changes from original See above.
Screenshots Not applicable.
Is this refering to
for (int buff = 0; buff < 7; buff++) { std::string container_name = fmt::format("HDWTR{:03}", buff); terraintexmap.insert(std::make_pair(container_name, terraintexmap.size())); numterraintexloaded[0]++; }
?