- 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 TooClosePlayer;
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 };
unsigned char reservedSlots[MAX_CARS] = { 0 };
u_char reservedSlots[MAX_CARS] = { 0 };
int distFurthestCivCarSq = 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},
{64, 55, 49},
{91, 104, 56},

View File

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

View File

@ -1752,7 +1752,7 @@ RECT16 rectTannerWindow;
// [D] [T]
void InitTannerShadow(void)
{
unsigned char brightness;
u_char brightness;
TILE* tile;
POLY_FT4* poly;
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)
{
int scale, cs, sn;
MATRIX tempMatrix = {0};
MATRIX tempMatrix;
SVECTOR tempVector;
XZPAIR playerPos;
long flag;