Merge pull request #2352 from jonpas/slideshowPrivates

Cleaned up Slideshow privates
This commit is contained in:
PabstMirror 2015-09-02 16:10:31 -05:00
commit c213c0e05a
5 changed files with 2 additions and 7 deletions

View File

@ -20,7 +20,6 @@
#include "script_component.hpp"
private "_actions";
params ["_objects", "_images", "_names", "_controller", "_currentSlideshow"];
_actions = [];

View File

@ -19,7 +19,6 @@
#include "script_component.hpp"
private "_currentSlide";
params ["_objects", "_images", "_varString", "_duration"];
// Get current slide number of this slideshow

View File

@ -19,8 +19,7 @@
*/
#include "script_component.hpp"
private ["_currentSlideshow", "_actionsObject", "_actionsClass", "_mainAction", "_slidesAction", "_varString"];
private ["_currentSlideshow", "_slidesAction", "_varString"];
params ["_objects", "_controllers", "_images", "_names", "_duration"];
// Verify data

View File

@ -17,9 +17,8 @@
*/
#include "script_component.hpp"
params ["_list", "_trimWhitespace", "_checkNil"];
private ["_splittedList", "_listTrimmedWhitespace", "_nilCheckPassedList"];
params ["_list", "_trimWhitespace", "_checkNil"];
// Split using comma delimiter
_splittedList = [_list, ","] call BIS_fnc_splitString;

View File

@ -18,7 +18,6 @@
if (!hasInterface && !isDedicated) exitWith {};
private ["_objects", "_controllers", "_images", "_names", "_duration"];
params [["_logic", objNull, [objNull]], "_units", "_activated"];
if !(_activated) exitWith {};