diff options
| author | xolatile | 2025-08-04 18:17:30 +0200 |
|---|---|---|
| committer | xolatile | 2025-08-04 18:17:30 +0200 |
| commit | a89dca11cf475e0bd1399cf5d5c5135d00495ec3 (patch) | |
| tree | 4d551a7f4193bc89a0b8560e955f4f874101b388 /src/engine/lightmap.h | |
| parent | 9d533fa4d82935a083ff93a09aed95baea9fbfd4 (diff) | |
| download | xolatile-badassbug-a89dca11cf475e0bd1399cf5d5c5135d00495ec3.tar.xz xolatile-badassbug-a89dca11cf475e0bd1399cf5d5c5135d00495ec3.tar.zst | |
Minor changes...
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; |
