mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-01 21:51:08 +00:00
maps: remove currently unused fields
This commit is contained in:
parent
d58e1493e3
commit
c343f87928
5 changed files with 10 additions and 12 deletions
10
README.md
10
README.md
|
@ -87,14 +87,13 @@ Goals (finished):
|
|||
* support Anachronox .dat format,
|
||||
* add debug progress loading code for maps.
|
||||
|
||||
|
||||
Goals (none of it finished):
|
||||
|
||||
* Single player support,
|
||||
* support surface flags for Daikatana, Heretic 2, Anachronox,
|
||||
* modified ReRelease game code support with removed KEX only related code.
|
||||
* Support effects and additional flags for ReRelease when possible.
|
||||
|
||||
Bonus goals:
|
||||
* Port SiN/Daikatana pack support from pakextract,
|
||||
* support surface flags and content types for Daikatana, Heretic 2, Anachronox,
|
||||
* Use shared model cache in client code insted reimplemnet in each render,
|
||||
* Check load soft colormap as 24bit color,
|
||||
* Use separete texture hi-color buffer for ui in soft render,
|
||||
|
@ -102,7 +101,8 @@ Bonus goals:
|
|||
* Cleanup function declarations in game save code,
|
||||
* Use 3 bytes vertex normal,
|
||||
* Support scalled textures for models and walls in soft render and fix
|
||||
lighting with remastered maps.
|
||||
lighting with remastered maps,
|
||||
* modified ReRelease game code support with removed KEX only related code.
|
||||
|
||||
Not a goal:
|
||||
* multiplayer protocol support with KEX engine,
|
||||
|
|
|
@ -215,15 +215,15 @@ Mod_LoadValidateLumps(const char *name, const dheader_t *header)
|
|||
{
|
||||
if (header->lumps[s].filelen % rules[s])
|
||||
{
|
||||
Com_Printf("%s: lump #%d: incorrect size %d / %zd\n",
|
||||
__func__, s, header->lumps[s].filelen, rules[s]);
|
||||
Com_Printf("%s: Map %s lump #%d: incorrect size %d / %zd\n",
|
||||
__func__, name, s, header->lumps[s].filelen, rules[s]);
|
||||
error = true;
|
||||
}
|
||||
#ifdef DEBUG
|
||||
else
|
||||
{
|
||||
Com_Printf("%s: lump #%d: correct size %d / %zd\n",
|
||||
__func__, s, header->lumps[s].filelen, rules[s]);
|
||||
Com_Printf("%s: Map %s lump #%d: correct size %d / %zd\n",
|
||||
__func__, name, s, header->lumps[s].filelen, rules[s]);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -1370,7 +1370,6 @@ CMod_LoadSurfaces(const char *name, mapsurface_t **map_surfaces, int *numtexinfo
|
|||
Q_strlcpy(out->c.name, in->texture, sizeof(out->c.name));
|
||||
Q_strlcpy(out->rname, in->texture, sizeof(out->rname));
|
||||
out->c.flags = LittleLong(in->flags);
|
||||
out->c.value = LittleLong(in->value);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -762,7 +762,7 @@ typedef struct texinfo_s
|
|||
{
|
||||
float vecs[2][4]; /* [s/t][xyz offset] */
|
||||
int flags; /* miptex flags + overrides light emission, etc */
|
||||
int value;
|
||||
int value; /* used with some flags, unused in Quake2 */
|
||||
char texture[32]; /* texture name (textures*.wal) */
|
||||
int nexttexinfo; /* for animations, -1 = end of chain */
|
||||
} texinfo_t;
|
||||
|
|
|
@ -561,7 +561,6 @@ typedef struct csurface_s
|
|||
{
|
||||
char name[16];
|
||||
int flags; /* SURF_* */
|
||||
int value; /* unused */
|
||||
} csurface_t;
|
||||
|
||||
typedef struct mapsurface_s /* used internally due to name len probs */
|
||||
|
|
Loading…
Reference in a new issue