Description:
Move status bar to the bottom.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -111,7 +111,7 | |||
|
111 | 111 | //gdm.SynchronizeWithVerticalRetrace = false; |
|
112 | 112 | IsFixedTimeStep = false; |
|
113 | 113 | |
|
114 | this.simulation = new Simulation(this.squaresAcross, this.squaresDown, new float[] {16.66667f*60, 16.66667f*30, 16.66667f*15, 16.66667f*1 }); | |
|
114 | this.simulation = new Simulation(this.squaresAcross, this.squaresDown, new float[] {16.66667f*60, 16.66667f*30, 16.66667f*15, 16.66667f*7.5f, 16.66667f*1 }); | |
|
115 | 115 | |
|
116 | 116 | foreach (List<Cell> row in this.simulation.map.cells) |
|
117 | 117 | { |
@@ -784,13 +784,14 | |||
|
784 | 784 | |
|
785 | 785 | float middle_start = (int)((FNAGame.width / 2) - (middle_dimensions.X / 2)); |
|
786 | 786 | float right_start = (int)(FNAGame.width - right_dimensions.X - 10.0f); |
|
787 | float top = (float)Math.Round(FNAGame.height - middle_dimensions.Y); // Rounding so the int and float versions are closer. | |
|
787 | 788 | |
|
788 |
FilledRectangle.drawFilledRectangle(batch, new Rectangle(0, |
|
|
789 | FilledRectangle.drawFilledRectangle(batch, new Rectangle(0, (int)top, width, (int)middle_dimensions.Y), Color.White, 0.51f); | |
|
789 | 790 | |
|
790 | 791 | |
|
791 |
batch.DrawString(monoFont, header_left, new Vector2(1, |
|
|
792 |
batch.DrawString(monoFont, header_middle, new Vector2(middle_start, |
|
|
793 |
batch.DrawString(monoFont, header_right, new Vector2(right_start, |
|
|
792 | batch.DrawString(monoFont, header_left, new Vector2(1, top), Color.Black, 0.0f, Vector2.Zero, 1.0f, SpriteEffects.None, 0.5f); | |
|
793 | batch.DrawString(monoFont, header_middle, new Vector2(middle_start, top), Color.Black, 0.0f, Vector2.Zero, 1.0f, SpriteEffects.None, 0.5f); | |
|
794 | batch.DrawString(monoFont, header_right, new Vector2(right_start, top), Color.Black, 0.0f, Vector2.Zero, 1.0f, SpriteEffects.None, 0.5f); | |
|
794 | 795 | #endregion draw_header |
|
795 | 796 | |
|
796 | 797 |
You need to be logged in to leave comments.
Login now