2021-10-14 15:49:10 +00:00
|
|
|
// weird ass concatenation syntax. PBO Project complains otherwise...
|
|
|
|
#define CONCAT(a,b) a####b
|
|
|
|
#define CREATE_SCREAM(no)\
|
|
|
|
class GVAR(DOUBLES(scream,no)) { \
|
|
|
|
name = QUOTE(GVAR(CONCAT(scream,no)));\
|
2023-02-02 05:28:55 +00:00
|
|
|
sound[] = {QUOTE(PATHTOF(CONCAT(sounds\scream,no).ogg)), QUOTE(db+8), 1};\
|
2021-10-14 15:49:10 +00:00
|
|
|
titles[] = {}; \
|
|
|
|
}
|
2021-10-30 21:42:03 +00:00
|
|
|
|
2021-10-14 15:49:10 +00:00
|
|
|
class CfgSounds {
|
|
|
|
CREATE_SCREAM(1);
|
|
|
|
CREATE_SCREAM(2);
|
|
|
|
CREATE_SCREAM(3);
|
|
|
|
CREATE_SCREAM(4);
|
|
|
|
CREATE_SCREAM(5);
|
|
|
|
CREATE_SCREAM(6);
|
|
|
|
CREATE_SCREAM(7);
|
|
|
|
CREATE_SCREAM(8);
|
|
|
|
CREATE_SCREAM(9);
|
|
|
|
CREATE_SCREAM(10);
|
|
|
|
CREATE_SCREAM(11);
|
|
|
|
CREATE_SCREAM(12);
|
|
|
|
CREATE_SCREAM(13);
|
|
|
|
CREATE_SCREAM(14);
|
|
|
|
CREATE_SCREAM(15);
|
|
|
|
};
|