-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show alliances in statistic view #1640
Show alliances in statistic view #1640
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After reviewing the code I noticed that you you just copied parts of DrawPlayerBoxes
which already does the "dirty stuff" I mentioned.
Maybe it makes sense to refactor the former a bit and possibly combine them a bit, like having DrawPlayerAlliances(player, drawPt)
called from the existing loop where drawPt
is changed to be the top-left corner of the picture and the playerboxRect and the alliance get drawn relative to that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it! Some minor things then it's good to go!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thank you!
Head branch was pushed to by a user without write access
b4ccdb7
to
53df0f0
Compare
ef3633a
to
ca0d0b9
Compare
Original:
Rttr: