diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-03-02 20:54:47 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-03-02 20:54:47 +0100 |
commit | 0a3211d0cf5c3ed1873089482a54954a79f0de19 (patch) | |
tree | 7f09b889e83e832b4bf8c6092e08a16f28fbf0f7 /src/render | |
parent | script utils (diff) | |
parent | Merge pull request #340 from erorcun/erorcun (diff) | |
download | re3-0a3211d0cf5c3ed1873089482a54954a79f0de19.tar re3-0a3211d0cf5c3ed1873089482a54954a79f0de19.tar.gz re3-0a3211d0cf5c3ed1873089482a54954a79f0de19.tar.bz2 re3-0a3211d0cf5c3ed1873089482a54954a79f0de19.tar.lz re3-0a3211d0cf5c3ed1873089482a54954a79f0de19.tar.xz re3-0a3211d0cf5c3ed1873089482a54954a79f0de19.tar.zst re3-0a3211d0cf5c3ed1873089482a54954a79f0de19.zip |
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/2dEffect.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/render/2dEffect.h b/src/render/2dEffect.h index 1610f908..62216bca 100644 --- a/src/render/2dEffect.h +++ b/src/render/2dEffect.h @@ -23,6 +23,11 @@ enum { }; enum { + ATTRACTORFLAG_ICECREAM, + ATTRACTORFLAG_STARE +}; + +enum { LIGHTFLAG_LOSCHECK = 1, // same order as CPointLights flags, must start at 2 LIGHTFLAG_FOG_NORMAL = 2, // can have light and fog @@ -68,7 +73,7 @@ public: C2dEffect(void) {} void Shutdown(void){ - if(type == 0){ // TODO: enum + if(type == EFFECT_LIGHT){ if(light.corona) RwTextureDestroy(light.corona); if(light.shadow) |