mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-30 16:41:31 +00:00
Cleanups from pomac!
This commit is contained in:
parent
b0fc4a7b6e
commit
f327407bb8
36 changed files with 155 additions and 195 deletions
|
@ -298,7 +298,7 @@ static glyphInfo_t *RE_ConstructGlyphInfo(unsigned char *imageOut, int *xOut, in
|
|||
static int fdOffset;
|
||||
static byte *fdFile;
|
||||
|
||||
int readInt() {
|
||||
int readInt( void ) {
|
||||
int i = fdFile[fdOffset]+(fdFile[fdOffset+1]<<8)+(fdFile[fdOffset+2]<<16)+(fdFile[fdOffset+3]<<24);
|
||||
fdOffset += 4;
|
||||
return i;
|
||||
|
@ -309,7 +309,7 @@ typedef union {
|
|||
float ffred;
|
||||
} poor;
|
||||
|
||||
float readFloat() {
|
||||
float readFloat( void ) {
|
||||
poor me;
|
||||
#if __WORD_ORDER == __BIG_ENDIAN
|
||||
me.fred[0] = fdFile[fdOffset+3];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue