This commit is contained in:
Rachael Alexanderson 2017-07-15 03:48:13 -04:00
commit a3e782a164
4 changed files with 19 additions and 18 deletions

View File

@ -2055,6 +2055,7 @@ static void D_DoomInit()
rngseed = I_MakeRNGSeed();
use_staticrng = false;
}
srand(rngseed);
FRandom::StaticClearRandom ();

View File

@ -57,7 +57,7 @@ class FGLTexture
public:
FTexture * tex;
FTexture * hirestexture;
char bIsTransparent;
int8_t bIsTransparent;
int HiresLump;
private:

View File

@ -432,27 +432,27 @@ void M_LoadDefaults ()
struct pcx_t
{
char manufacturer;
char version;
char encoding;
char bits_per_pixel;
int8_t manufacturer;
int8_t version;
int8_t encoding;
int8_t bits_per_pixel;
unsigned short xmin;
unsigned short ymin;
unsigned short xmax;
unsigned short ymax;
uint16_t xmin;
uint16_t ymin;
uint16_t xmax;
uint16_t ymax;
unsigned short hdpi;
unsigned short vdpi;
uint16_t hdpi;
uint16_t vdpi;
unsigned char palette[48];
uint8_t palette[48];
char reserved;
char color_planes;
unsigned short bytes_per_line;
unsigned short palette_type;
int8_t reserved;
int8_t color_planes;
uint16_t bytes_per_line;
uint16_t palette_type;
char filler[58];
int8_t filler[58];
};

View File

@ -250,7 +250,7 @@ xx(EQV3_K, beqv3, CVRK, NOP, 0, 0), // this will never be used.
// Pointer math.
xx(ADDA_RR, add, RPRPRI, NOP, 0, 0), // pA = pB + dkC
xx(ADDA_RK, add, RPRPKI, ADDA_RR,4, REGT_POINTER),
xx(ADDA_RK, add, RPRPKI, ADDA_RR,4, REGT_INT),
xx(SUBA, sub, RIRPRP, NOP, 0, 0), // dA = pB - pC
xx(EQA_R, beq, CPRR, NOP, 0, 0), // if ((pB == pkC) != A) then pc++
xx(EQA_K, beq, CPRK, EQA_R, 4, REGT_POINTER),