mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix particles preprocessing for both armake and pboProject
This commit is contained in:
parent
9a37713710
commit
326604ae9f
@ -43,14 +43,13 @@
|
|||||||
interval = 1; \
|
interval = 1; \
|
||||||
}; \
|
}; \
|
||||||
}
|
}
|
||||||
#define MERGE(var1,var2) var1####var2
|
|
||||||
#define EFFECT_AFTER_WATER(color) class ACE_SmokeAfterWater##color: ACE_SmokeAfterWaterWhite { \
|
#define EFFECT_AFTER_WATER(color) class ACE_SmokeAfterWater##color: ACE_SmokeAfterWaterWhite { \
|
||||||
class SmokeAfterWater: SmokeAfterWater { \
|
class SmokeAfterWater: SmokeAfterWater { \
|
||||||
type = QUOTE(MERGE(ACE_SmokeAfterWater,color)); \
|
type = QUOTE(ACE_SmokeAfterWater##color); \
|
||||||
}; \
|
}; \
|
||||||
}
|
}
|
||||||
|
|
||||||
#define CLOUDLET_UNDERWATER(color) class SmokeShell##color##UW; \
|
#define CLOUDLET_UNDERWATER(color) class SmokeShell##color##UW; \
|
||||||
class SmokeShell##color##2UW: SmokeShell##color##UW { \
|
class SmokeShell##color##2UW: SmokeShell##color##UW { \
|
||||||
postEffects = QUOTE(MERGE(ACE_SmokeAfterWater,color)); \
|
postEffects = QUOTE(ACE_SmokeAfterWater##color); \
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user