From 34b270d89df0e50ba9e876821e6624d8e82c60b5 Mon Sep 17 00:00:00 2001 From: jonpas Date: Sat, 27 Jun 2015 04:23:21 +0200 Subject: [PATCH] Added Flat TV support --- addons/slideshow/CfgVehicles.hpp | 5 +++++ addons/slideshow/functions/fnc_addSlideActions.sqf | 2 +- addons/slideshow/script_component.hpp | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/addons/slideshow/CfgVehicles.hpp b/addons/slideshow/CfgVehicles.hpp index 96a69ed5b5..9140091f83 100644 --- a/addons/slideshow/CfgVehicles.hpp +++ b/addons/slideshow/CfgVehicles.hpp @@ -54,6 +54,7 @@ class CfgVehicles { class Land_Laptop_unfolded_F {MACRO_SYNC BOTH}; class Land_Laptop_device_F {MACRO_SYNC BOTH}; class Land_PCSet_01_screen_F {MACRO_SYNC BOTH}; + class Land_FlatTV_01_F {MACRO_SYNC BOTH}; class Land_HandyCam_F {MACRO_SYNC CONTROLLER}; class Land_MobilePhone_smart_F {MACRO_SYNC CONTROLLER}; @@ -98,6 +99,10 @@ class CfgVehicles { class Land_PCSet_01_screen_F: Items_base_F { MACRO_INTERACT_INIT }; + class Land_FlatTV_01_F: Items_base_F { + MACRO_INTERACT_INIT + }; + class Land_HandyCam_F: Items_base_F { MACRO_INTERACT_INIT }; diff --git a/addons/slideshow/functions/fnc_addSlideActions.sqf b/addons/slideshow/functions/fnc_addSlideActions.sqf index f722a9fa55..65f057ef81 100644 --- a/addons/slideshow/functions/fnc_addSlideActions.sqf +++ b/addons/slideshow/functions/fnc_addSlideActions.sqf @@ -37,7 +37,7 @@ _actions = []; }, {true}, {}, - [_objects,_x] + [_objects, _x] ] call EFUNC(interact_menu,createAction), [], _controller diff --git a/addons/slideshow/script_component.hpp b/addons/slideshow/script_component.hpp index 50ed79e264..7a9035066f 100644 --- a/addons/slideshow/script_component.hpp +++ b/addons/slideshow/script_component.hpp @@ -12,5 +12,5 @@ #include "\z\ace\addons\main\script_macros.hpp" #define CLASSNAMES_OBJECTS "Land_MapBoard_F" -#define CLASSNAMES_BOTH "Land_Laptop_unfolded_F", "Land_Laptop_device_F", "Land_PCSet_01_screen_F" +#define CLASSNAMES_BOTH "Land_Laptop_unfolded_F", "Land_Laptop_device_F", "Land_PCSet_01_screen_F", "Land_FlatTV_01_F" #define CLASSNAMES_CONTROLLERS "Land_HandyCam_F", "Land_MobilePhone_smart_F", "Land_Tablet_01_F", "Land_PCSet_01_keyboard_F", "Land_PCSet_01_mouse_F", "Land_GamingSet_01_controller_F"