mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- fixed some Linux/GCC warnings.
This commit is contained in:
parent
fe3e56c6bc
commit
6b75f14c0f
3 changed files with 5 additions and 5 deletions
|
@ -90,7 +90,7 @@ struct F3DFloor
|
|||
|
||||
fixed_t delta;
|
||||
|
||||
int flags;
|
||||
unsigned int flags;
|
||||
line_t* master;
|
||||
|
||||
sector_t * model;
|
||||
|
|
|
@ -56,7 +56,7 @@ class SightCheck
|
|||
fixed_t topslope, bottomslope; // slopes to top and bottom of target
|
||||
int Flags;
|
||||
divline_t trace;
|
||||
int myseethrough;
|
||||
unsigned int myseethrough;
|
||||
|
||||
bool PTR_SightTraverse (intercept_t *in);
|
||||
bool P_SightCheckLine (line_t *ld);
|
||||
|
|
|
@ -276,9 +276,9 @@ FPNGTexture::FPNGTexture (FileReader &lump, int lumpnum, const FString &filename
|
|||
lump.Read (trans, len);
|
||||
HaveTrans = true;
|
||||
// Save for colortype 2
|
||||
NonPaletteTrans[0] = BigShort(((WORD *)trans)[0]);
|
||||
NonPaletteTrans[1] = BigShort(((WORD *)trans)[1]);
|
||||
NonPaletteTrans[2] = BigShort(((WORD *)trans)[2]);
|
||||
NonPaletteTrans[0] = WORD(trans[0] * 256 + trans[1]);
|
||||
NonPaletteTrans[1] = WORD(trans[2] * 256 + trans[3]);
|
||||
NonPaletteTrans[2] = WORD(trans[4] * 256 + trans[5]);
|
||||
break;
|
||||
|
||||
case MAKE_ID('a','l','P','h'):
|
||||
|
|
Loading…
Reference in a new issue