mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-05-31 01:01:12 +00:00
- transitioned Shadow Warrior to the global mapinfo
This commit is contained in:
parent
250dd36289
commit
875678f20b
12 changed files with 43 additions and 143 deletions
|
@ -1967,11 +1967,11 @@ static int32_t G_PrintTime_ClockPad(void)
|
|||
clockpad = max(clockpad, ij);
|
||||
if (!(ud.volume_number == 0 && ud.last_level-1 == 7 && boardfilename[0]))
|
||||
{
|
||||
for (ii=currentLevel->parTime/(REALGAMETICSPERSEC*60), ij=1; ii>9; ii/=10, ij++) { }
|
||||
for (ii=currentLevel->parTime/(60), ij=1; ii>9; ii/=10, ij++) { }
|
||||
clockpad = max(clockpad, ij);
|
||||
if (currentLevel->designerTime)
|
||||
{
|
||||
for (ii=currentLevel->designerTime/(REALGAMETICSPERSEC*60), ij=1; ii>9; ii/=10, ij++) { }
|
||||
for (ii=currentLevel->designerTime/(60), ij=1; ii>9; ii/=10, ij++) { }
|
||||
clockpad = max(clockpad, ij);
|
||||
}
|
||||
}
|
||||
|
@ -2000,13 +2000,13 @@ const char* G_PrintParTime(void)
|
|||
{
|
||||
if (ud.last_level < 1)
|
||||
return "<invalid>";
|
||||
return G_PrintTime2(currentLevel->parTime);
|
||||
return G_PrintTime2(currentLevel->parTime * REALGAMETICSPERSEC);
|
||||
}
|
||||
const char* G_PrintDesignerTime(void)
|
||||
{
|
||||
if (ud.last_level < 1)
|
||||
return "<invalid>";
|
||||
return G_PrintTime2(currentLevel->designerTime);
|
||||
return G_PrintTime2(currentLevel->designerTime*REALGAMETICSPERSEC);
|
||||
}
|
||||
const char* G_PrintBestTime(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue