mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-06-02 10:01:54 +00:00
First off in gl_draw.c we have some nice cleanup code for the upload
code. Then we have the completely purge of treating 'unsigned' as a type, it is NOT a type, it is a TYPE MODIFIER! Under gcc for x86 it happens to try and do something sane, just treat it as a unsigned int, but that is EVIL, it is a MODIFIER and if ANYONE adds code which uses unsigned as a type in itself I /WILL/ harm them!!!
This commit is contained in:
parent
9691cca81d
commit
210ba16069
40 changed files with 222 additions and 244 deletions
|
@ -68,8 +68,8 @@ typedef struct
|
|||
qboolean paused; // are we paused?
|
||||
|
||||
//check player/eyes models for hacks
|
||||
unsigned model_player_checksum;
|
||||
unsigned eyes_player_checksum;
|
||||
unsigned int model_player_checksum;
|
||||
unsigned int eyes_player_checksum;
|
||||
|
||||
char name[64]; // map name
|
||||
char modelname[MAX_QPATH]; // maps/<name>.bsp, for model_precache[0]
|
||||
|
@ -146,7 +146,7 @@ typedef struct client_s
|
|||
// this prevents malicious multiple broadcasts
|
||||
float lastnametime; // time of last name change
|
||||
int lastnamecount; // time of last name change
|
||||
unsigned checksum; // checksum for calcs
|
||||
unsigned int checksum; // checksum for calcs
|
||||
qboolean drop; // lose this guy next opportunity
|
||||
int lossage; // loss percentage
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue