mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
Add string.h, fix decals with unsigned char
This commit is contained in:
@@ -42,6 +42,7 @@ GNU General Public License for more details.
|
||||
#include <dlfcn.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(__APPLE__)
|
||||
#include <sys/syslimits.h>
|
||||
|
||||
@@ -80,9 +80,9 @@ typedef struct
|
||||
int filepos; // file offset in WAD
|
||||
int disksize; // compressed or uncompressed
|
||||
int size; // uncompressed
|
||||
char type; // TYP_*
|
||||
char attribs; // file attribs
|
||||
char img_type; // IMG_*
|
||||
signed char type; // TYP_*
|
||||
signed char attribs; // file attribs
|
||||
signed char img_type; // IMG_*
|
||||
char pad;
|
||||
char name[WAD3_NAMELEN]; // must be null terminated
|
||||
} dlumpinfo_t;
|
||||
|
||||
Reference in New Issue
Block a user