mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 06:20:48 +00:00
Rename IBSQ -> QBSP
This commit is contained in:
parent
1572b5ff2d
commit
13b4d324d0
7 changed files with 12 additions and 12 deletions
|
@ -33,7 +33,7 @@ State:
|
|||
Goals (none of it finished):
|
||||
* Single player support,
|
||||
* BSPX DECOUPLEDLM light map support (base1),
|
||||
* IBSQ map format support (mguhub),
|
||||
* QBSP map format support (mguhub),
|
||||
* MD5 model support,
|
||||
* modified ReRelease game code support with removed KEX only related code,
|
||||
* RoQ and Theora cinematic videos support.
|
||||
|
|
|
@ -893,7 +893,7 @@ Mod_LoadBrushModel(model_t *mod, const void *buffer, int modfilelen)
|
|||
|
||||
i = LittleLong(header->ident);
|
||||
|
||||
if (i != IDBSPHEADER && i != QDBSPHEADER)
|
||||
if (i != IDBSPHEADER && i != QBSPHEADER)
|
||||
{
|
||||
ri.Sys_Error(ERR_DROP, "%s: %s has wrong ident (%i should be %i)",
|
||||
__func__, mod->name, i, IDBSPHEADER);
|
||||
|
@ -1129,7 +1129,7 @@ Mod_ForName(const char *name, model_t *parent_model, qboolean crash)
|
|||
|
||||
case IDBSPHEADER:
|
||||
/* fall through */
|
||||
case QDBSPHEADER:
|
||||
case QBSPHEADER:
|
||||
Mod_LoadBrushModel(mod, buf, modfilelen);
|
||||
break;
|
||||
|
||||
|
|
|
@ -818,7 +818,7 @@ Mod_LoadBrushModel(gl3model_t *mod, const void *buffer, int modfilelen)
|
|||
|
||||
i = LittleLong(header->ident);
|
||||
|
||||
if (i != IDBSPHEADER && i != QDBSPHEADER)
|
||||
if (i != IDBSPHEADER && i != QBSPHEADER)
|
||||
{
|
||||
ri.Sys_Error(ERR_DROP, "%s: %s has wrong ident (%i should be %i)",
|
||||
__func__, mod->name, i, IDBSPHEADER);
|
||||
|
@ -1054,7 +1054,7 @@ Mod_ForName (const char *name, gl3model_t *parent_model, qboolean crash)
|
|||
|
||||
case IDBSPHEADER:
|
||||
/* fall through */
|
||||
case QDBSPHEADER:
|
||||
case QBSPHEADER:
|
||||
Mod_LoadBrushModel(mod, buf, modfilelen);
|
||||
break;
|
||||
|
||||
|
|
|
@ -681,7 +681,7 @@ Mod_LoadBrushModel(model_t *mod, const void *buffer, int modfilelen)
|
|||
|
||||
i = LittleLong(header->ident);
|
||||
|
||||
if (i != IDBSPHEADER && i != QDBSPHEADER)
|
||||
if (i != IDBSPHEADER && i != QBSPHEADER)
|
||||
{
|
||||
ri.Sys_Error(ERR_DROP, "%s: %s has wrong ident (%i should be %i)",
|
||||
__func__, mod->name, i, IDBSPHEADER);
|
||||
|
@ -921,7 +921,7 @@ Mod_ForName(const char *name, model_t *parent_model, qboolean crash)
|
|||
|
||||
case IDBSPHEADER:
|
||||
/* fall through */
|
||||
case QDBSPHEADER:
|
||||
case QBSPHEADER:
|
||||
Mod_LoadBrushModel(mod, buf, modfilelen);
|
||||
break;
|
||||
|
||||
|
|
|
@ -878,7 +878,7 @@ Mod_LoadBrushModel(model_t *mod, const void *buffer, int modfilelen)
|
|||
|
||||
i = LittleLong(header->ident);
|
||||
|
||||
if (i != IDBSPHEADER && i != QDBSPHEADER)
|
||||
if (i != IDBSPHEADER && i != QBSPHEADER)
|
||||
{
|
||||
ri.Sys_Error(ERR_DROP, "%s: %s has wrong ident (%i should be %i)",
|
||||
__func__, mod->name, i, IDBSPHEADER);
|
||||
|
@ -1125,7 +1125,7 @@ Mod_ForName (const char *name, model_t *parent_model, qboolean crash)
|
|||
|
||||
case IDBSPHEADER:
|
||||
/* fall through */
|
||||
case QDBSPHEADER:
|
||||
case QBSPHEADER:
|
||||
Mod_LoadBrushModel(mod, buf, modfilelen);
|
||||
break;
|
||||
|
||||
|
|
|
@ -1937,7 +1937,7 @@ CM_LoadMap(char *name, qboolean clientload, unsigned *checksum)
|
|||
((int *)&header)[i] = LittleLong(((int *)&header)[i]);
|
||||
}
|
||||
|
||||
if (header.ident != IDBSPHEADER && header.ident != QDBSPHEADER)
|
||||
if (header.ident != IDBSPHEADER && header.ident != QBSPHEADER)
|
||||
{
|
||||
Com_Error(ERR_DROP, "%s: %s has wrong ident (%i should be %i)",
|
||||
__func__, name, header.ident, IDBSPHEADER);
|
||||
|
|
|
@ -350,8 +350,8 @@ typedef struct {
|
|||
/* .BSP file format */
|
||||
|
||||
#define IDBSPHEADER (('P' << 24) + ('S' << 16) + ('B' << 8) + 'I') /* little-endian "IBSP" */
|
||||
#define QDBSPHEADER (('P' << 24) + ('S' << 16) + ('B' << 8) + 'Q') /* little-endian "IBSQ" */
|
||||
#define BSPXHEADER (('X' << 24) + ('P' << 16) + ('S' << 8) + 'B') /* little-endian "BSPX" */
|
||||
#define QBSPHEADER (('P' << 24) + ('S' << 16) + ('B' << 8) + 'Q') /* little-endian "QBSP" */
|
||||
#define BSPXHEADER (('X' << 24) + ('P' << 16) + ('S' << 8) + 'B') /* little-endian "BSPX" */
|
||||
#define BSPVERSION 38
|
||||
#define BSPDKMVERSION 41
|
||||
|
||||
|
|
Loading…
Reference in a new issue