summaryrefslogtreecommitdiffstats
path: root/src/render/2dEffect.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-03-02 01:03:39 +0100
committereray orçunus <erayorcunus@gmail.com>2020-03-02 01:06:52 +0100
commita718e699ad3666f7309d7d922f929e9ec52d96d8 (patch)
treeee6cb8fbeec9622d4dd7dab02022592540de30ff /src/render/2dEffect.h
parentMerge pull request #336 from Nick007J/master (diff)
downloadre3-a718e699ad3666f7309d7d922f929e9ec52d96d8.tar
re3-a718e699ad3666f7309d7d922f929e9ec52d96d8.tar.gz
re3-a718e699ad3666f7309d7d922f929e9ec52d96d8.tar.bz2
re3-a718e699ad3666f7309d7d922f929e9ec52d96d8.tar.lz
re3-a718e699ad3666f7309d7d922f929e9ec52d96d8.tar.xz
re3-a718e699ad3666f7309d7d922f929e9ec52d96d8.tar.zst
re3-a718e699ad3666f7309d7d922f929e9ec52d96d8.zip
Diffstat (limited to 'src/render/2dEffect.h')
-rw-r--r--src/render/2dEffect.h7
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)