mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
CON: Change OSD_Printf to initprintf for addlog and addlogvar
git-svn-id: https://svn.eduke32.com/eduke32@6681 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
d26635cfa9
commit
92091a4425
1 changed files with 4 additions and 4 deletions
|
@ -3906,7 +3906,7 @@ finish_qsprintf:
|
|||
{
|
||||
insptr++;
|
||||
|
||||
OSD_Printf(OSDTEXT_GREEN "CONLOG: L=%d\n",g_errorLineNum);
|
||||
initprintf(OSDTEXT_GREEN "CONLOG: L=%d\n",g_errorLineNum);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -3939,7 +3939,7 @@ finish_qsprintf:
|
|||
index=Gv_GetVarX(*insptr++);
|
||||
if (EDUKE32_PREDICT_TRUE((unsigned)index < (unsigned)aGameArrays[lVarID].size))
|
||||
{
|
||||
OSD_Printf(OSDTEXT_GREEN "CONLOGVAR: L=%d %s[%d] =%d\n", g_errorLineNum,
|
||||
initprintf(OSDTEXT_GREEN "CONLOGVAR: L=%d %s[%d] =%d\n", g_errorLineNum,
|
||||
aGameArrays[lVarID].szLabel, index,
|
||||
(int32_t)(m*Gv_GetArrayValue(lVarID, index)));
|
||||
continue;
|
||||
|
@ -3964,7 +3964,7 @@ finish_qsprintf:
|
|||
Gv_GetVarX(*insptr++);
|
||||
continue;
|
||||
}
|
||||
OSD_Printf(OSDTEXT_GREEN "CONLOGVAR: L=%d %d %d\n",g_errorLineNum,index,Gv_GetVar(*insptr++,index,vm.playerNum));
|
||||
initprintf(OSDTEXT_GREEN "CONLOGVAR: L=%d %d %d\n",g_errorLineNum,index,Gv_GetVar(*insptr++,index,vm.playerNum));
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
@ -4003,7 +4003,7 @@ finish_qsprintf:
|
|||
Bstrcat(tempbuf, szBuf);
|
||||
Bsprintf(szBuf, " =%d\n", Gv_GetVarX(lVarID) * m);
|
||||
Bstrcat(tempbuf, szBuf);
|
||||
OSD_Printf(OSDTEXT_GREEN "%s", tempbuf);
|
||||
initprintf(OSDTEXT_GREEN "%s", tempbuf);
|
||||
insptr++;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue