config.cpp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #include "BIS_AddonInfo.hpp"
  2. #include "config_macros.hpp"
  3. class CfgPatches {
  4. class ADDON {
  5. name = ADDON_NAME;
  6. author = "M3ales";
  7. url = "https://github.com/M3ales/";
  8. requiredAddons[] = {"ace_arsenal", "task_force_radio_items"};
  9. units[] = {};
  10. weapons[] = {};
  11. };
  12. };
  13. class Extended_PreInit_EventHandlers {
  14. class ADDON {
  15. init = QUOTE(call COMPILE_FILE(XEH_preInit));
  16. };
  17. };
  18. class Extended_Init_EventHandlers {
  19. class CAManBase {
  20. class ADDON {
  21. init = QUOTE(call FUNC(arsenalSaveLoadoutHandler));
  22. };
  23. };
  24. };
  25. #include "radio_ids.hpp"
  26. class CfgWeapons
  27. {
  28. class ItemRadio;
  29. class ItemWatch;
  30. class tf_microdagr: ItemWatch{};
  31. class tf_anprc152: ItemRadio{};
  32. class tf_anprc148jem: ItemRadio{};
  33. class tf_fadak: ItemRadio{};
  34. class tf_anprc154: ItemRadio{};
  35. class tf_rf7800str: ItemRadio{};
  36. class tf_pnr1000a: ItemRadio{};
  37. TF_RADIO_IDS(tf_anprc152,AN/PRC-152)
  38. TF_RADIO_IDS(tf_anprc148jem,AN/PRC-148 JEM)
  39. TF_RADIO_IDS(tf_fadak,FADAK)
  40. TF_RADIO_IDS(tf_anprc154,AN/PRC-154)
  41. TF_RADIO_IDS(tf_rf7800str,RF-7800S-TR)
  42. TF_RADIO_IDS(tf_pnr1000a,PNR-1000A)
  43. };