From 83ea48f9411f3b5669c3c11697698608f5a29949 Mon Sep 17 00:00:00 2001 From: Kevin Shanahan Date: Sun, 28 Oct 2012 14:05:42 +1030 Subject: [PATCH] model: re-order sw msurface_t members more like gl Signed-off-by: Kevin Shanahan --- include/model.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/model.h b/include/model.h index a53084f..907cd3b 100644 --- a/include/model.h +++ b/include/model.h @@ -114,9 +114,6 @@ typedef struct { typedef struct msurface_s { int visframe; // should be drawn when node is crossed - int dlightframe; - unsigned dlightbits; - mplane_t *plane; int flags; @@ -132,6 +129,9 @@ typedef struct msurface_s { mtexinfo_t *texinfo; // lighting info + int dlightframe; + unsigned dlightbits; + byte styles[MAXLIGHTMAPS]; byte *samples; // [numstyles*surfsize] } msurface_t;