- 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

@ -105,7 +105,7 @@ static BYTE *GetVoxelRemap(const BYTE *pal)
{
// The voxel palette uses VGA colors, so we have to expand it
// from 6 to 8 bits per component.
remap[i] = BestColor((uint32 *)GPalette.BaseColors,
remap[i] = BestColor((uint32_t *)GPalette.BaseColors,
(oldpal[i*3 + 0] << 2) | (oldpal[i*3 + 0] >> 4),
(oldpal[i*3 + 1] << 2) | (oldpal[i*3 + 1] >> 4),
(oldpal[i*3 + 2] << 2) | (oldpal[i*3 + 2] >> 4));