fireworks replacement

This commit is contained in:
Lorenc 2018-03-21 07:46:02 +11:00
parent be72c77ef4
commit 02eb852841
3 changed files with 1095 additions and 365 deletions

File diff suppressed because it is too large Load Diff

View File

@ -5,6 +5,9 @@
* Purpose: functions that help scripting * Purpose: functions that help scripting
*/ */
/* ** Includes ** */
#include < YSI\y_va >
/* ** Macros ** */ /* ** Macros ** */
#define function%1(%2) forward%1(%2); public%1(%2) #define function%1(%2) forward%1(%2); public%1(%2)
#define RandomEx(%0,%1) (random((%1) - (%0)) + (%0)) #define RandomEx(%0,%1) (random((%1) - (%0)) + (%0))
@ -17,7 +20,7 @@
#define SetObjectInvisible(%0) (SetDynamicObjectMaterialText(%0, 0, " ", 140, "Arial", 64, 1, -32256, 0, 1)) #define SetObjectInvisible(%0) (SetDynamicObjectMaterialText(%0, 0, " ", 140, "Arial", 64, 1, -32256, 0, 1))
#define fRandomEx(%1,%2) (floatrandom(%2-%1)+%1) #define fRandomEx(%1,%2) (floatrandom(%2-%1)+%1)
#define strmatch(%1,%2) (!strcmp(%1,%2,true)) #define strmatch(%1,%2) (!strcmp(%1,%2,true))
#define Beep(%1) PlayerPlaySound(%1, 1137, 0.0, 0.0, 5.0) #define Beep(%1) PlayerPlaySound(%1, 1137, 0.0, 0.0, 0.0)
#define StopSound(%1) PlayerPlaySound(%1,1186,0.0,0.0,0.0) #define StopSound(%1) PlayerPlaySound(%1,1186,0.0,0.0,0.0)
#define erase(%0) (%0[0]='\0') #define erase(%0) (%0[0]='\0')
#define positionToString(%0) (%0==1?("st"):(%0==2?("nd"):(%0==3?("rd"):("th")))) #define positionToString(%0) (%0==1?("st"):(%0==2?("nd"):(%0==3?("rd"):("th"))))

View File

@ -29,12 +29,13 @@
// features // features
#include < irresistible\features\fps > #include < irresistible\features\fps >
#include < irresistible\features\radio > #include < irresistible\features\radio >
// #include < irresistible\features\vote >
// visage casino // visage casino
#include < irresistible\features\visage\roulette > #include < irresistible\features\visage\roulette >
#include < irresistible\features\visage\blackjack > #include < irresistible\features\visage\blackjack >
#include < irresistible\features\visage\poker > #include < irresistible\features\visage\poker >
// #include < irresistible\features\visage\fireworks > #include < irresistible\features\visage\fireworks >
#include < irresistible\features\visage\casino > #include < irresistible\features\visage\casino >
#include < irresistible\features\visage\apartments > #include < irresistible\features\visage\apartments >