model: re-order sw msurface_t members more like gl

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
Kevin Shanahan 2012-10-28 14:05:42 +10:30
parent d8885d88ba
commit 83ea48f941

View File

@ -114,9 +114,6 @@ typedef struct {
typedef struct msurface_s { typedef struct msurface_s {
int visframe; // should be drawn when node is crossed int visframe; // should be drawn when node is crossed
int dlightframe;
unsigned dlightbits;
mplane_t *plane; mplane_t *plane;
int flags; int flags;
@ -132,6 +129,9 @@ typedef struct msurface_s {
mtexinfo_t *texinfo; mtexinfo_t *texinfo;
// lighting info // lighting info
int dlightframe;
unsigned dlightbits;
byte styles[MAXLIGHTMAPS]; byte styles[MAXLIGHTMAPS];
byte *samples; // [numstyles*surfsize] byte *samples; // [numstyles*surfsize]
} msurface_t; } msurface_t;