mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-16 02:04:09 +00:00
Fixes and cleanup
This commit is contained in:
parent
f72453d03e
commit
a718e699ad
11 changed files with 122 additions and 92 deletions
|
@ -22,6 +22,11 @@ enum {
|
|||
LIGHT_BRIDGE_FLASH2,
|
||||
};
|
||||
|
||||
enum {
|
||||
ATTRACTORFLAG_ICECREAM,
|
||||
ATTRACTORFLAG_STARE
|
||||
};
|
||||
|
||||
enum {
|
||||
LIGHTFLAG_LOSCHECK = 1,
|
||||
// same order as CPointLights flags, must start at 2
|
||||
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue