From: havoc Date: Tue, 10 Jan 2006 21:16:49 +0000 (+0000) Subject: added a warning comment about dmodel_t not matching the on-disk q1bsp format because... X-Git-Tag: xonotic-v0.1.0preview~4398 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f646375ed19af70b5ac241a13c1890251babd135;p=xonotic%2Fdarkplaces.git added a warning comment about dmodel_t not matching the on-disk q1bsp format because of Sajt's MCBSP code (this does no harm because the reading code does not utilize dmodel_t in reading those structs, but it is a potential land mine to people looking at the header to study the format) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5895 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/bspfile.h b/bspfile.h index 35137c31..fa4178b0 100644 --- a/bspfile.h +++ b/bspfile.h @@ -62,6 +62,7 @@ typedef struct hullinfo_s float hullsizes[MAX_MAP_HULLS][2][3]; } hullinfo_t; +// WARNING: this struct does NOT match q1bsp's disk format because MAX_MAP_HULLS has been changed by Sajt's MCBSP code, this struct is only being used in memory as a result typedef struct dmodel_s { float mins[3], maxs[3];