2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-20 05:05:25 +00:00

Windows fixes & memory fixes

This commit is contained in:
2022-03-08 18:35:40 -05:00
parent 3fd0b1f23a
commit c7f05d0a59
16 changed files with 74 additions and 22 deletions

View File

@@ -112,6 +112,7 @@ void CMappableObject::Draw(int curArea, const CMapWorldInfo& mwInfo, float alpha
SCOPED_GRAPHICS_DEBUG_GROUP("CMappableObject::Draw", zeus::skCyan);
if (IsDoorType(x0_type)) {
std::pair<zeus::CColor, zeus::CColor> colors = GetDoorColors(curArea, mwInfo, alpha);
if (m_doorSurface) // TODO
for (int s = 0; s < 6; ++s) {
DoorSurface& ds = *m_doorSurface;
ds.m_surface.draw(colors.first, s * 4, 4);