This commit is contained in:
Christoph Oelckers 2020-07-05 21:24:55 +02:00
parent cfe1e531c5
commit 90d5d7ba75
3 changed files with 7 additions and 9 deletions

View file

@ -31,7 +31,7 @@ set( PCH_SOURCES
src/premap.cpp
src/premap_d.cpp
src/premap_r.cpp
src/ror.cpp
src/render.cpp
src/sbar.cpp
src/sbar_d.cpp
src/sbar_r.cpp

View file

@ -234,7 +234,7 @@ void G_DisplayRest(int32_t smoothratio);
void drawbackground(void);
void G_DrawFrags(void);
void G_HandleMirror(int32_t x, int32_t y, int32_t z, fix16_t a, fix16_t horiz, int32_t smoothratio);
void G_DrawRooms(int32_t playerNum,int32_t smoothratio);
void displayrooms(int32_t playerNum,int32_t smoothratio);
void G_DrawTXDigiNumZ(int32_t starttile,int32_t x,int32_t y,int32_t n,int32_t s,int32_t pal,int32_t cs,int32_t x1,int32_t y1,int32_t x2,int32_t y2,int32_t z);
void G_HandleLocalKeys(void);
void G_UpdatePlayerFromMenu(void);

View file

@ -218,7 +218,7 @@ void renderMirror(int cposx, int cposy, int cposz, int cang, int choriz, int smo
if (wall[mirrorwall[i]].overpicnum == TILE_MIRROR)
{
int tposx, tposy, tposz, tang;
int tposx, tposy, tang;
renderPrepareMirror(cposx, cposy, cposz, cang << FRACBITS, choriz<<FRACBITS, mirrorwall[i], &tposx, &tposy, &tang);
@ -461,14 +461,12 @@ static void geometryEffect(int cposx, int cposy, int cposz, int cang, int choriz
//
//---------------------------------------------------------------------------
void displayrooms(short snum, int smoothratio)
void displayrooms(int snum, int smoothratio)
{
int cposx, cposy, cposz, dst, j, fz, cz, hz, lz;
short sect, cang, k, choriz, tsect;
int cposx, cposy, cposz, fz, cz;
short sect, cang, choriz;
struct player_struct* p;
int dx, dy, thoriz, i;
short tang;
int tiltcx, tiltcy, tiltcs = 0; // JBF 20030807
int tiltcs = 0; // JBF 20030807
p = &ps[snum];