Skip to content

LOS Mask utilities#5537

Draft
Arch-Shaman wants to merge 1 commit intoZeroK-RTS:masterfrom
Arch-Shaman:patch-382431
Draft

LOS Mask utilities#5537
Arch-Shaman wants to merge 1 commit intoZeroK-RTS:masterfrom
Arch-Shaman:patch-382431

Conversation

@Arch-Shaman
Copy link
Contributor

These are mostly "nice to have" when dealing with LOS states. Nothing major, nothing interesting.

These are mostly "nice to have" when dealing with the pains of LOS states.
return bit > 7
end

local function TranslateLosBitToTable(bit) -- turns Spring.GetUnitLosState into a nice human readable table.
Copy link
Member

Choose a reason for hiding this comment

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

IIRC the Spring.GetLosState functions that return a bitmask have a bool option to return this table instead already?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unsure, documentation seems to be is missing. Can't find again.

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.

2 participants