This repository was archived by the owner on Jan 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ class GUILabel :
191
191
// Method: SetHAlignment
192
192
// ////////////////////////////////////////////////////////////////////////////////////////
193
193
// Description: Sets the horizontal alignment of the text of this label.
194
- // Arguments: Teh desired alignement.
194
+ // Arguments: The desired alignement.
195
195
196
196
void SetHAlignment (int HAlignment = GUIFont::Left) { m_HAlignment = HAlignment; }
197
197
@@ -200,7 +200,7 @@ class GUILabel :
200
200
// Method: SetVAlignment
201
201
// ////////////////////////////////////////////////////////////////////////////////////////
202
202
// Description: Sets the vertical alignment of the text of this label.
203
- // Arguments: Teh desired alignement.
203
+ // Arguments: The desired alignement.
204
204
205
205
void SetVAlignment (int VAlignment = GUIFont::Top) { m_VAlignment = VAlignment; }
206
206
@@ -218,7 +218,7 @@ class GUILabel :
218
218
// Method: GetVAlignment
219
219
// ////////////////////////////////////////////////////////////////////////////////////////
220
220
// Description: Gets the vertical alignment of the text of this label.
221
- // Arguments: Teh desired alignement.
221
+ // Arguments: The desired alignement.
222
222
223
223
int GetVAlignment () { return m_VAlignment; }
224
224
Original file line number Diff line number Diff line change @@ -438,6 +438,9 @@ int MainMenuGUI::Create(Controller *pController)
438
438
m_aOptionButton[FULLSCREENORWINDOWED]->SetText (" Fullscreen" );
439
439
}
440
440
441
+ m_VersionLabel = dynamic_cast <GUILabel *>(m_pGUIController->GetControl (" VersionLabel" ));
442
+ m_VersionLabel->SetText (c_GameVersion);
443
+
441
444
// /////////////////////////////////////////////////////////////////////////////////////////////
442
445
// Load mod data and fill the lists
443
446
for (int i = 0 ; i < g_PresetMan.GetTotalModuleCount (); ++i)
Original file line number Diff line number Diff line change @@ -685,6 +685,7 @@ class MainMenuGUI {
685
685
GUIButton *m_aEditorButton[EDITORBUTTONCOUNT];
686
686
// Metagame notice label
687
687
GUILabel *m_pMetaNoticeLabel;
688
+ GUILabel *m_VersionLabel; // !< CCCP version number.
688
689
689
690
// Controller diagram bitmaps
690
691
BITMAP **m_aDPadBitmaps;
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ namespace RTE {
9
9
typedef int MID; // !< Distinctive type definition for Material IDs.
10
10
#pragma endregion
11
11
12
+ #pragma region Game Version
13
+ static constexpr char *c_GameVersion = " Pre-release 3" ;
14
+ #pragma endregion
15
+
12
16
#pragma region Filesystem Constants
13
17
static constexpr char *c_ScreenshotDirectory = { " _Screenshots" };
14
18
#pragma endregion
You can’t perform that action at this time.
0 commit comments