aboutsummaryrefslogtreecommitdiffstats
path: root/demos/3rdparty/doom/st_stuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/3rdparty/doom/st_stuff.c')
-rw-r--r--demos/3rdparty/doom/st_stuff.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/demos/3rdparty/doom/st_stuff.c b/demos/3rdparty/doom/st_stuff.c
index 16f2e3f1..dadf1495 100644
--- a/demos/3rdparty/doom/st_stuff.c
+++ b/demos/3rdparty/doom/st_stuff.c
@@ -531,7 +531,7 @@ ST_Responder (event_t* ev)
break;
case AM_MSGEXITED:
- // fprintf(stderr, "AM exited\n");
+ // I_DBGprintf("AM exited\n");
st_gamestate = FirstPersonState;
break;
}
@@ -664,7 +664,7 @@ ST_Responder (event_t* ev)
else if (cht_CheckCheat(&cheat_mypos, ev->data1))
{
static char buf[ST_MSGWIDTH];
- sprintf(buf, "ang=0x%x;x,y=(0x%x,0x%x)",
+ I_sprintf(buf, "ang=0x%x;x,y=(0x%x,0x%x)",
players[consoleplayer].mo->angle,
players[consoleplayer].mo->x,
players[consoleplayer].mo->y);
@@ -1133,10 +1133,10 @@ void ST_loadGraphics(void)
// Load the numbers, tall and short
for (i=0;i<10;i++)
{
- sprintf(namebuf, "STTNUM%d", i);
+ I_sprintf(namebuf, "STTNUM%d", i);
tallnum[i] = (patch_t *) W_CacheLumpName(namebuf, PU_STATIC);
- sprintf(namebuf, "STYSNUM%d", i);
+ I_sprintf(namebuf, "STYSNUM%d", i);
shortnum[i] = (patch_t *) W_CacheLumpName(namebuf, PU_STATIC);
}
@@ -1147,7 +1147,7 @@ void ST_loadGraphics(void)
// key cards
for (i=0;i<NUMCARDS;i++)
{
- sprintf(namebuf, "STKEYS%d", i);
+ I_sprintf(namebuf, "STKEYS%d", i);
keys[i] = (patch_t *) W_CacheLumpName(namebuf, PU_STATIC);
}
@@ -1157,7 +1157,7 @@ void ST_loadGraphics(void)
// arms ownership widgets
for (i=0;i<6;i++)
{
- sprintf(namebuf, "STGNUM%d", i+2);
+ I_sprintf(namebuf, "STGNUM%d", i+2);
// gray #
arms[i][0] = (patch_t *) W_CacheLumpName(namebuf, PU_STATIC);
@@ -1167,7 +1167,7 @@ void ST_loadGraphics(void)
}
// face backgrounds for different color players
- sprintf(namebuf, "STFB%d", consoleplayer);
+ I_sprintf(namebuf, "STFB%d", consoleplayer);
faceback = (patch_t *) W_CacheLumpName(namebuf, PU_STATIC);
// status bar background bits
@@ -1179,18 +1179,18 @@ void ST_loadGraphics(void)
{
for (j=0;j<ST_NUMSTRAIGHTFACES;j++)
{
- sprintf(namebuf, "STFST%d%d", i, j);
+ I_sprintf(namebuf, "STFST%d%d", i, j);
faces[facenum++] = W_CacheLumpName(namebuf, PU_STATIC);
}
- sprintf(namebuf, "STFTR%d0", i); // turn right
+ I_sprintf(namebuf, "STFTR%d0", i); // turn right
faces[facenum++] = W_CacheLumpName(namebuf, PU_STATIC);
- sprintf(namebuf, "STFTL%d0", i); // turn left
+ I_sprintf(namebuf, "STFTL%d0", i); // turn left
faces[facenum++] = W_CacheLumpName(namebuf, PU_STATIC);
- sprintf(namebuf, "STFOUCH%d", i); // ouch!
+ I_sprintf(namebuf, "STFOUCH%d", i); // ouch!
faces[facenum++] = W_CacheLumpName(namebuf, PU_STATIC);
- sprintf(namebuf, "STFEVL%d", i); // evil grin ;)
+ I_sprintf(namebuf, "STFEVL%d", i); // evil grin ;)
faces[facenum++] = W_CacheLumpName(namebuf, PU_STATIC);
- sprintf(namebuf, "STFKILL%d", i); // pissed off
+ I_sprintf(namebuf, "STFKILL%d", i); // pissed off
faces[facenum++] = W_CacheLumpName(namebuf, PU_STATIC);
}
faces[facenum++] = W_CacheLumpName("STFGOD0", PU_STATIC);