world-of-might-and-magic icon indicating copy to clipboard operation
world-of-might-and-magic copied to clipboard

Unified water tile handling code

Open captainurist opened this issue 2 years ago • 1 comments

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.

captainurist avatar Feb 24 '23 02:02 captainurist

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]++; } ?

pskelton avatar Dec 13 '23 22:12 pskelton