common: rename HEADER_LUMPS -> BSP_LUMPS
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
parent
9a2cd81b8c
commit
42bcf2da7c
|
|
@ -369,7 +369,7 @@ LoadBSPFile(const char *filename, bspdata_t *bsp)
|
||||||
Error("Sorry, only bsp version %d supported.", BSPVERSION);
|
Error("Sorry, only bsp version %d supported.", BSPVERSION);
|
||||||
|
|
||||||
/* swap the lump headers */
|
/* swap the lump headers */
|
||||||
for (i = 0; i < HEADER_LUMPS; i++) {
|
for (i = 0; i < BSP_LUMPS; i++) {
|
||||||
header->lumps[i].fileofs = LittleLong(header->lumps[i].fileofs);
|
header->lumps[i].fileofs = LittleLong(header->lumps[i].fileofs);
|
||||||
header->lumps[i].filelen = LittleLong(header->lumps[i].filelen);
|
header->lumps[i].filelen = LittleLong(header->lumps[i].filelen);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -72,14 +72,14 @@ typedef struct {
|
||||||
#define LUMP_SURFEDGES 13
|
#define LUMP_SURFEDGES 13
|
||||||
#define LUMP_MODELS 14
|
#define LUMP_MODELS 14
|
||||||
|
|
||||||
#define HEADER_LUMPS 15
|
#define BSP_LUMPS 15
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
const char *name;
|
const char *name;
|
||||||
size_t size;
|
size_t size;
|
||||||
} lumpspec_t;
|
} lumpspec_t;
|
||||||
|
|
||||||
extern const lumpspec_t lumpspec[HEADER_LUMPS];
|
extern const lumpspec_t lumpspec[BSP_LUMPS];
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
float mins[3];
|
float mins[3];
|
||||||
|
|
@ -93,7 +93,7 @@ typedef struct {
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int version;
|
int version;
|
||||||
lump_t lumps[HEADER_LUMPS];
|
lump_t lumps[BSP_LUMPS];
|
||||||
} dheader_t;
|
} dheader_t;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue