diff --git a/rott/modexlib.c b/rott/modexlib.c index 94928a2..5aabf8a 100644 --- a/rott/modexlib.c +++ b/rott/modexlib.c @@ -35,7 +35,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. static void StretchMemPicture (); // GLOBAL VARIABLES -boolean StretchScreen=0;//bná++ +boolean StretchScreen=0;//bna++ extern boolean iG_aimCross; extern boolean sdl_fullscreen; extern int iG_X_center; @@ -106,7 +106,7 @@ void GraphicsMode ( void ) uint32_t flags = SDL_WINDOW_RESIZABLE | SDL_WINDOW_ALLOW_HIGHDPI; uint32_t pixel_format; - unsigned int rmask, gmask, bmask, amask; + uint32_t rmask, gmask, bmask, amask; int bpp; if (SDL_InitSubSystem (SDL_INIT_VIDEO | SDL_INIT_AUDIO) < 0) diff --git a/rott/rt_draw.c b/rott/rt_draw.c index 6559e59..6da869e 100644 --- a/rott/rt_draw.c +++ b/rott/rt_draw.c @@ -269,7 +269,7 @@ void BuildTables (void) memcpy(&gammatable[0],ptr,length*sizeof(byte)); table=W_CacheLumpName("tables",PU_CACHE, CvtNull, 1); - costable = (fixed *)&(sintable[FINEANGLES/4]); + costable = &(sintable[FINEANGLES/4]); wstart=W_GetNumForName("WALLSTRT"); #if (SHAREWARE==0) diff --git a/rott/rt_draw.h b/rott/rt_draw.h index 4242e2b..7b70014 100644 --- a/rott/rt_draw.h +++ b/rott/rt_draw.h @@ -59,8 +59,8 @@ extern int fandc; // math tables // extern short tantable[FINEANGLES]; -extern fixed sintable[FINEANGLES+FINEANGLEQUAD+1]; -extern fixed *costable; +extern int sintable[FINEANGLES+FINEANGLEQUAD+1]; +extern int *costable; // // refresh variables