@@ -43,11 +43,11 @@ Version::Version()
43
43
m_localBuildNum = 0 ;
44
44
m_buildUser = AsciiString::TheEmptyString;
45
45
m_buildLocation = AsciiString::TheEmptyString;
46
- m_asciiGitRevision = buildAsciiGitRevision ();
47
- m_asciiGitVersion = buildAsciiGitVersion ();
46
+ m_asciiGitCommitCount = buildAsciiGitCommitCount ();
47
+ m_asciiGitTagOrHash = buildAsciiGitTagOrHash ();
48
48
m_asciiGitCommitTime = buildAsciiGitCommitTime ();
49
- m_unicodeGitRevision = buildUnicodeGitRevision ();
50
- m_unicodeGitVersion = buildUnicodeGitVersion ();
49
+ m_unicodeGitCommitCount = buildUnicodeGitCommitCount ();
50
+ m_unicodeGitTagOrHash = buildUnicodeGitTagOrHash ();
51
51
m_unicodeGitCommitTime = buildUnicodeGitCommitTime ();
52
52
#if defined RTS_DEBUG || defined RTS_INTERNAL
53
53
m_showFullVersion = TRUE ;
@@ -208,7 +208,7 @@ UnicodeString Version::getUnicodeBuildUser() const
208
208
return build;
209
209
}
210
210
211
- Int Version::getGitRevision ()
211
+ Int Version::getGitCommitCount ()
212
212
{
213
213
return GitRevision;
214
214
}
@@ -223,24 +223,24 @@ const char* Version::getGitCommitAuthorName()
223
223
return GitCommitAuthorName;
224
224
}
225
225
226
- AsciiString Version::getAsciiGitRevision () const
226
+ AsciiString Version::getAsciiGitCommitCount () const
227
227
{
228
- return m_asciiGitRevision ;
228
+ return m_asciiGitCommitCount ;
229
229
}
230
230
231
- UnicodeString Version::getUnicodeGitRevision () const
231
+ UnicodeString Version::getUnicodeGitCommitCount () const
232
232
{
233
- return m_unicodeGitRevision ;
233
+ return m_unicodeGitCommitCount ;
234
234
}
235
235
236
- AsciiString Version::getAsciiGitVersion () const
236
+ AsciiString Version::getAsciiGitTagOrHash () const
237
237
{
238
- return m_asciiGitVersion ;
238
+ return m_asciiGitTagOrHash ;
239
239
}
240
240
241
- UnicodeString Version::getUnicodeGitVersion () const
241
+ UnicodeString Version::getUnicodeGitTagOrHash () const
242
242
{
243
- return m_unicodeGitVersion ;
243
+ return m_unicodeGitTagOrHash ;
244
244
}
245
245
246
246
AsciiString Version::getAsciiGitCommitTime () const
@@ -260,14 +260,14 @@ AsciiString Version::getAsciiGameAndGitVersion() const
260
260
{
261
261
str.format (" %s R %s %s" ,
262
262
getAsciiVersion ().str (),
263
- getAsciiGitRevision ().str (),
264
- getAsciiGitVersion ().str ());
263
+ getAsciiGitCommitCount ().str (),
264
+ getAsciiGitTagOrHash ().str ());
265
265
}
266
266
else
267
267
{
268
268
str.format (" %s R %s" ,
269
269
getAsciiVersion ().str (),
270
- getAsciiGitRevision ().str ());
270
+ getAsciiGitCommitCount ().str ());
271
271
}
272
272
return str;
273
273
}
@@ -279,14 +279,14 @@ UnicodeString Version::getUnicodeGameAndGitVersion() const
279
279
{
280
280
str.format (L" %s R %s %s" ,
281
281
getUnicodeVersion ().str (),
282
- getUnicodeGitRevision ().str (),
283
- getUnicodeGitVersion ().str ());
282
+ getUnicodeGitCommitCount ().str (),
283
+ getUnicodeGitTagOrHash ().str ());
284
284
}
285
285
else
286
286
{
287
287
str.format (L" %s R %s" ,
288
288
getUnicodeVersion ().str (),
289
- getUnicodeGitRevision ().str ());
289
+ getUnicodeGitCommitCount ().str ());
290
290
}
291
291
return str;
292
292
}
@@ -318,7 +318,7 @@ UnicodeString Version::getUnicodeBuildUserOrGitCommitAuthorName() const
318
318
return str;
319
319
}
320
320
321
- AsciiString Version::buildAsciiGitRevision ()
321
+ AsciiString Version::buildAsciiGitCommitCount ()
322
322
{
323
323
AsciiString str;
324
324
str.format (" %s%d" ,
@@ -327,7 +327,7 @@ AsciiString Version::buildAsciiGitRevision()
327
327
return str;
328
328
}
329
329
330
- UnicodeString Version::buildUnicodeGitRevision ()
330
+ UnicodeString Version::buildUnicodeGitCommitCount ()
331
331
{
332
332
UnicodeString str;
333
333
str.format (L" %s%d" ,
@@ -336,7 +336,7 @@ UnicodeString Version::buildUnicodeGitRevision()
336
336
return str;
337
337
}
338
338
339
- AsciiString Version::buildAsciiGitVersion ()
339
+ AsciiString Version::buildAsciiGitTagOrHash ()
340
340
{
341
341
AsciiString str;
342
342
str.format (" %s%s" ,
@@ -345,10 +345,10 @@ AsciiString Version::buildAsciiGitVersion()
345
345
return str;
346
346
}
347
347
348
- UnicodeString Version::buildUnicodeGitVersion ()
348
+ UnicodeString Version::buildUnicodeGitTagOrHash ()
349
349
{
350
350
UnicodeString str;
351
- str.translate (buildAsciiGitVersion ());
351
+ str.translate (buildAsciiGitTagOrHash ());
352
352
return str;
353
353
}
354
354
0 commit comments