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
Updated the LineGraphWidget with new layout #16702
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.
Can we change m
to min
while we are at it? m
usually refers to Meter which is not what we want in this context, I think.
eb36e4a
to
9dcd0b2
Compare
Updated |
Can we please move the player list to the right, add axis labels ("Army Value" / "Game Minute", "Earnings" / "Game Minute"), and drop the then-redundant title row? This would make the graphs a lot more conventional. |
dc0ca4a
to
acfc2b3
Compare
See 63069bc for drawing rotated text. Use an angle of |
7cfcfe9
to
3aa4c80
Compare
Updated and fixed the updates to actual use game minute |
b1579b4
to
30d8af9
Compare
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.
Huge improvement over the current graphs. Great work, and thanks for putting up with my scope creeping. Just a couple of minor code style suggestions then 👍
30d8af9
to
059813f
Compare
Updated |
if (self.World.WorldTick % 1500 == 1) | ||
var timestep = self.World.IsReplay ? replayTimestep : self.World.Timestep; | ||
|
||
if (timestep * self.World.WorldTick % 60000 == 0) |
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.
This breaks if 60000 can not be divided properly with the timestep. Example case: fast gamespeed in RA. #17002
Closes #16597
Closes #16068