config_macros.hpp 626 B

123456789101112131415161718
  1. #ifndef RD501_DROID_DISPENSER
  2. #define RD501_DROID_DISPENSER
  3. #define ADDON RD501_Droid_Dispenser
  4. #define PREFIX rd501
  5. #define QUOTE(target) #target
  6. #define SQUOTE(target) 'target'
  7. #define CONCAT(a,b) a##b
  8. #define CONCAT_3(a,b,c) CONCAT(a,CONCAT(b,c))
  9. #define FUNC(name) CONCAT_3(PREFIX,_fnc_,name)
  10. #define ARR_2(a,b) a,b
  11. #define ARR_3(a,b,c) a,b,c
  12. #define ARR_4(a,b,c,d) a,b,c,d
  13. #define GVAR(name) CONCAT_3(PREFIX,_,name)
  14. #define QGVAR(name) QUOTE(GVAR(name))
  15. #define UNIT_NAME(side,name) CONCAT_3(PREFIX,_,CONCAT_3(side,_unit_,name))
  16. #define ORDNANCE(name) CONCAT_3(PREFIX,_Ordnance_,name)
  17. #define DEBUG
  18. #endif