Page MenuHome

Code cleanup: Move some uiBut->flag to uiBut->drawflag, make those flags anonymous enums.
ClosedPublic

Authored by Bastien Montagne (mont29) on Nov 20 2013, 9:22 PM.

Details

Summary

Make some room in but->flag (I did not add another flag, we already have drawflag, which was nearly not used up till now).

Note: I’m not sure whether REDALERT (and perhaps even DISABLED?) should not go to but->drawflag as well...

Related to D8

Diff Detail

Branch
work_1

Event Timeline

Good stuff, go ahead and commit.

I verified here as well that the drawflag enum values are assigned to and read from the right variables and it all seems to check out.

Committed as rB254aa8f3a0fbffcbcb886cfaa81b630ae3e9bb78

Note I could not use arc land here (those ugly git submodules mess), so I mimicked it (git checkout master, git pull --rebase, git checkout work_1, git rebase master, git checkout master, git merge --squash --ff-only work_1, git commit)… :/