- replaced homegrown SWORD, SBYTE and uint32_t types.

This commit is contained in:
Christoph Oelckers 2017-03-09 19:31:45 +01:00
commit c008ddaf66
61 changed files with 235 additions and 238 deletions

View file

@ -161,8 +161,8 @@ void FTextureManager::AddTiles (void *tiles)
int width = LittleShort(tilesizx[pic]);
int height = LittleShort(tilesizy[pic]);
DWORD anm = LittleLong(picanm[pic]);
int xoffs = (SBYTE)((anm >> 8) & 255) + width/2;
int yoffs = (SBYTE)((anm >> 16) & 255) + height/2;
int xoffs = (int8_t)((anm >> 8) & 255) + width/2;
int yoffs = (int8_t)((anm >> 16) & 255) + height/2;
int size = width*height;
FTextureID texnum;
FTexture *tex;