mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
caca92f71d
* merge fire * Change required addons. Change getPos to getPosASL. Remove include * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Kyle Mckay <kymckay.dev@gmail.com> * Update addons/fire/stringtable.xml Co-authored-by: jonpas <jonpas33@gmail.com> Co-authored-by: Kyle Mckay <kymckay.dev@gmail.com>
27 lines
662 B
C++
27 lines
662 B
C++
// 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)));\
|
|
sound[] = {QUOTE(PATHTOF(CONCAT(sounds\scream,no).ogg)), db + 8, 1};\
|
|
titles[] = {}; \
|
|
}
|
|
|
|
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);
|
|
};
|