1
0

droid_macros.hpp 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. #define _2(x) x,x
  2. #define _3(x) _2(x),x
  3. #define _4(x) _3(x),x
  4. #define _5(x) _4(x),x
  5. #define _6(x) _5(x),x
  6. #define _7(x) _6(x),x
  7. #define _8(x) _7(x),x
  8. #define _9(x) _8(x),x
  9. #define _10(x) _9(x),x
  10. #define macro_e5 "JLTS_E5"
  11. #define macro_e5_mag "JLTS_E5_mag"
  12. #define macro_e5_mags _8(macro_e5_mag)
  13. #define macro_lmg "JLTS_E5C"
  14. #define macro_lmg_mag "JLTS_E5C_mag"
  15. #define macro_lmg_mags _8(macro_lmg_mag)
  16. #define macro_at_heavy "JLTS_E60R_AT"
  17. #define macro_at_heavy_mag "JLTS_E60R_AT_mag"
  18. #define macro_at_light "JLTS_RPS6"
  19. #define macro_at_light_mag "JLTS_RPS6_mag"
  20. #define macro_at_light_he_mag "JLTS_RPS6_HE_mag"
  21. #define macro_aa "launch_I_Titan_F"
  22. #define macro_aa_mag "Titan_AA"
  23. #define macro_aa_mags _4(macro_aa_mag)
  24. #define macro_scattergun "JLTS_DP23"
  25. #define macro_scattergun_mag "JLTS_DP23_mag"
  26. #define macro_scattergun_mags _5(macro_scattergun_mag)
  27. #define macro_marksman_rifle "RD501_e5_s"
  28. #define macro_marksman_rifle_mag "RD501_30mw_x15_mag"
  29. #define macro_marksman_rifle_mags _10(macro_marksman_rifle_mag)
  30. #define macro_spec_ops_gun "RD501_e5_special"
  31. #define macro_spec_ops_gun_mag "JLTS_E5_mag"
  32. #define macro_spec_ops_gun_mags _6(macro_spec_ops_gun_mag)
  33. #define macro_bx_gun "RD501_e5_special"
  34. #define macro_bx_gun_mag "JLTS_E5_mag"
  35. #define macro_bx_gun_mags _6(macro_bx_gun_mag)
  36. #define macro_grenade_launcher "RD501_cis_dgl"
  37. #define macro_grenade_launcher_mag "RD501_UGL_HE_x6_mag"
  38. #define macro_grenade_launcher_mags _8(macro_grenade_launcher_mag)
  39. #define macro_thermal_det "RD501_thermaldet_cis_x1_mag"
  40. #define macro_thermal_imp "RD501_thermaldet_cis_x1_mag"
  41. #define macro_flashbang "ACE_M84"
  42. #define macro_dioxis_grenade "RD501_dioxis_x1_mag"
  43. #define macro_zip_tie "ACE_CableTie"
  44. #define macro_backpack_eweb macro_new_backpack_class(opfor,eweb_bag_depr)
  45. #define macro_e5_loadout \
  46. weapons[]={macro_e5,"Throw","Put"};\
  47. respawnWeapons[]={macro_e5,"Throw","Put"};\
  48. magazines[]={macro_e5_mags,macro_thermal_det,macro_smoke};\
  49. respawnMagazines[]={macro_e5_mags,macro_thermal_det,macro_smoke};