Skip to content

Conversation

ifeldshteyn
Copy link
Contributor

@ifeldshteyn ifeldshteyn commented Jun 7, 2025

POC - allow you to set colors for all automaps.

@ifeldshteyn ifeldshteyn changed the title Colors Colors POC Jun 7, 2025
if (wall->flags1 & WF1_HIDE_ON_MAP)
{
color = WCOLOR_INVISIBLE;
color = TFE_Settings::getMapColorByName("Invisible Wall")->colorMapIndex;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really like the idea of doing value lookups by string for every wall when drawing a map. I think there should be a table that is directly indexed that is filled out based on the settings instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants