- misc changes

This commit is contained in:
Ilya Shurumov 2021-04-26 02:47:53 +06:00
parent 19f462f1e7
commit 1f6767178a
5 changed files with 8 additions and 8 deletions

View File

@ -42,10 +42,10 @@ struct
int TooCloseNuddaCar; int TooCloseNuddaCar;
int TooClosePlayer; int TooClosePlayer;
int InvalidRegion; int InvalidRegion;
} civPingTest = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; } civPingTest;
char modelRandomList[] = { 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 0, 1, 0, 4 }; char modelRandomList[] = { 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 0, 1, 0, 4 };
unsigned char reservedSlots[MAX_CARS] = { 0 }; u_char reservedSlots[MAX_CARS] = { 0 };
int distFurthestCivCarSq = 0; int distFurthestCivCarSq = 0;
char furthestCivID = 0; char furthestCivID = 0;

View File

@ -176,7 +176,7 @@ CVECTOR debris_colour[4][31] =
} }
}; };
unsigned char grassColour[4][3] = { u_char grassColour[4][3] = {
{110, 115, 67}, {110, 115, 67},
{64, 55, 49}, {64, 55, 49},
{91, 104, 56}, {91, 104, 56},

View File

@ -29,9 +29,9 @@ char* DentingFiles[] =
#define MAX_FILE_DAMAGE_ZONE_POLYS 70 #define MAX_FILE_DAMAGE_ZONE_POLYS 70
#define MAX_FILE_DAMAGE_LEVELS 256 #define MAX_FILE_DAMAGE_LEVELS 256
unsigned char gCarDamageZoneVerts[MAX_CAR_MODELS][NUM_DAMAGE_ZONES][MAX_DAMAGE_ZONE_VERTS]; u_char gCarDamageZoneVerts[MAX_CAR_MODELS][NUM_DAMAGE_ZONES][MAX_DAMAGE_ZONE_VERTS];
unsigned char gHDCarDamageZonePolys[MAX_CAR_MODELS][NUM_DAMAGE_ZONES][MAX_DAMAGE_ZONE_POLYS]; u_char gHDCarDamageZonePolys[MAX_CAR_MODELS][NUM_DAMAGE_ZONES][MAX_DAMAGE_ZONE_POLYS];
unsigned char gHDCarDamageLevels[MAX_CAR_MODELS][MAX_DAMAGE_LEVELS]; u_char gHDCarDamageLevels[MAX_CAR_MODELS][MAX_DAMAGE_LEVELS];
// [D] [T] // [D] [T]
void InitialiseDenting(void) void InitialiseDenting(void)

View File

@ -1752,7 +1752,7 @@ RECT16 rectTannerWindow;
// [D] [T] // [D] [T]
void InitTannerShadow(void) void InitTannerShadow(void)
{ {
unsigned char brightness; u_char brightness;
TILE* tile; TILE* tile;
POLY_FT4* poly; POLY_FT4* poly;
int i; int i;

View File

@ -1848,7 +1848,7 @@ void WorldToMultiplayerMap(VECTOR *in, VECTOR *out)
void WorldToOverheadMapPositions(VECTOR *pGlobalPosition, VECTOR *pOverheadMapPosition, int count, char inputRelative,int outputRelative) void WorldToOverheadMapPositions(VECTOR *pGlobalPosition, VECTOR *pOverheadMapPosition, int count, char inputRelative,int outputRelative)
{ {
int scale, cs, sn; int scale, cs, sn;
MATRIX tempMatrix = {0}; MATRIX tempMatrix;
SVECTOR tempVector; SVECTOR tempVector;
XZPAIR playerPos; XZPAIR playerPos;
long flag; long flag;