mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
refresh: split models file to maps.c
This commit is contained in:
parent
22d36d6bfe
commit
083ea68a80
4 changed files with 1142 additions and 1109 deletions
5
Makefile
5
Makefile
|
@ -1040,6 +1040,7 @@ REFGL1_OBJS_ := \
|
|||
src/client/refresh/files/mesh.o \
|
||||
src/client/refresh/files/light.o \
|
||||
src/client/refresh/files/surf.o \
|
||||
src/client/refresh/files/maps.o \
|
||||
src/client/refresh/files/models.o \
|
||||
src/client/refresh/files/pcx.o \
|
||||
src/client/refresh/files/stb.o \
|
||||
|
@ -1077,6 +1078,7 @@ REFGL3_OBJS_ := \
|
|||
src/client/refresh/files/mesh.o \
|
||||
src/client/refresh/files/light.o \
|
||||
src/client/refresh/files/surf.o \
|
||||
src/client/refresh/files/maps.o \
|
||||
src/client/refresh/files/models.o \
|
||||
src/client/refresh/files/pcx.o \
|
||||
src/client/refresh/files/stb.o \
|
||||
|
@ -1120,6 +1122,7 @@ REFGL4_OBJS_ := \
|
|||
src/client/refresh/files/mesh.o \
|
||||
src/client/refresh/files/light.o \
|
||||
src/client/refresh/files/surf.o \
|
||||
src/client/refresh/files/maps.o \
|
||||
src/client/refresh/files/models.o \
|
||||
src/client/refresh/files/pcx.o \
|
||||
src/client/refresh/files/stb.o \
|
||||
|
@ -1165,6 +1168,7 @@ REFSOFT_OBJS_ := \
|
|||
src/client/refresh/files/mesh.o \
|
||||
src/client/refresh/files/light.o \
|
||||
src/client/refresh/files/surf.o \
|
||||
src/client/refresh/files/maps.o \
|
||||
src/client/refresh/files/models.o \
|
||||
src/client/refresh/files/pcx.o \
|
||||
src/client/refresh/files/stb.o \
|
||||
|
@ -1209,6 +1213,7 @@ REFVK_OBJS_ := \
|
|||
src/client/refresh/files/mesh.o \
|
||||
src/client/refresh/files/light.o \
|
||||
src/client/refresh/files/surf.o \
|
||||
src/client/refresh/files/maps.o \
|
||||
src/client/refresh/files/models.o \
|
||||
src/client/refresh/files/pcx.o \
|
||||
src/client/refresh/files/stb.o \
|
||||
|
|
1134
src/client/refresh/files/maps.c
Normal file
1134
src/client/refresh/files/maps.c
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -65,9 +65,6 @@ typedef struct
|
|||
unsigned char data; /* unbounded */
|
||||
} pcx_t;
|
||||
|
||||
/* .MD5 model file format */
|
||||
#define IDMD5HEADER (('V' << 24) + ('5' << 16) + ('D' << 8) + 'M')
|
||||
|
||||
/* .MDL triangle model file format */
|
||||
|
||||
#define IDMDLHEADER (('O' << 24) + ('P' << 16) + ('D' << 8) + 'I')
|
||||
|
@ -244,6 +241,9 @@ typedef struct dkm_header_s
|
|||
int ofs_end; /* end of file */
|
||||
} dkm_header_t;
|
||||
|
||||
/* .MD5 model file format */
|
||||
#define IDMD5HEADER (('V' << 24) + ('5' << 16) + ('D' << 8) + 'M')
|
||||
|
||||
/* Internal model render format */
|
||||
|
||||
typedef struct
|
||||
|
|
Loading…
Reference in a new issue