diff options
Diffstat (limited to 'src/engine/lightmap.h')
| -rw-r--r-- | src/engine/lightmap.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/engine/lightmap.h b/src/engine/lightmap.h index 51ddc73..005f1fe 100644 --- a/src/engine/lightmap.h +++ b/src/engine/lightmap.h @@ -28,15 +28,15 @@ struct PackNode bool insert(ushort &tx, ushort &ty, ushort tw, ushort th); }; -enum -{ - LM_DIFFUSE = 0, - LM_BUMPMAP0, - LM_BUMPMAP1, +enum +{ + LM_DIFFUSE = 0, + LM_BUMPMAP0, + LM_BUMPMAP1, LM_TYPE = 0x0F, - LM_ALPHA = 1<<4, - LM_FLAGS = 0xF0 + LM_ALPHA = 1<<4, + LM_FLAGS = 0xF0 }; struct LightMap @@ -44,7 +44,7 @@ struct LightMap int type, bpp, tex, offsetx, offsety; PackNode packroot; uint lightmaps, lumels; - int unlitx, unlity; + int unlitx, unlity; uchar *data; LightMap() @@ -106,7 +106,7 @@ struct lerpvert bool operator==(const lerpvert &l) const { return tc == l.tc;; } bool operator!=(const lerpvert &l) const { return tc != l.tc; } }; - + struct lerpbounds { const lerpvert *min; |
