Description:
Add version string.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -40,6 +40,8 | |||
|
40 | 40 | |
|
41 | 41 | private Camera camera = new Camera(new float[] { 0.25f, 0.5f, 1.0f, 2.0f, 4.0f }); |
|
42 | 42 | |
|
43 | private const string VERSION = "0.30.04"; | |
|
44 | ||
|
43 | 45 | Random random_generator = new Random(); |
|
44 | 46 | |
|
45 | 47 | int frameRate = 0; |
@@ -854,7 +856,7 | |||
|
854 | 856 | null, |
|
855 | 857 | null); |
|
856 | 858 | |
|
857 |
Vector2 middle_dimensions = |
|
|
859 | Vector2 middle_dimensions = largeMonoFont.MeasureString("Isometric Park"); | |
|
858 | 860 | float middle_start = (int)((FNAGame.width / 2) - (middle_dimensions.X / 2)); |
|
859 | 861 | ImGui.SetNextWindowPos(new Num.Vector2(FNAGame.width/2, 200)); |
|
860 | 862 | MainMenu.Render(debugWindow.monoFont, imGuiWindowBridgeEngine); |
@@ -863,6 +865,16 | |||
|
863 | 865 | new Vector2(middle_start, 50), |
|
864 | 866 | Color.Black, 0.0f, Vector2.Zero, |
|
865 | 867 | 1.0f, SpriteEffects.None, 0.5f); |
|
868 | batch.DrawString(largeMonoFont, "Isometric Park", | |
|
869 | new Vector2(middle_start-1, 49), | |
|
870 | Color.White, 0.0f, Vector2.Zero, | |
|
871 | 1.0f, SpriteEffects.None, 0.51f); | |
|
872 | ||
|
873 | Vector2 version_dimensions = monoFont.MeasureString(VERSION); | |
|
874 | batch.DrawString(monoFont, VERSION, | |
|
875 | new Vector2(0, FNAGame.height-version_dimensions.Y), | |
|
876 | Color.White, 0.0f, Vector2.Zero, | |
|
877 | 1.0f, SpriteEffects.None, 0.51f); | |
|
866 | 878 | batch.End(); |
|
867 | 879 | } |
|
868 | 880 | #endregion |
You need to be logged in to leave comments.
Login now