mirror of
https://github.com/Bjanski/ExAd.git
synced 2024-08-30 16:52:14 +00:00
optimize
This commit is contained in:
parent
d113445fef
commit
3896765c15
@ -1,4 +1,4 @@
|
||||
eventHandler !="ExAd_ACTION_PARACHUTE_DETACH = (findDisplay 46) displayAddEventHandler ["KeyDown",{"
|
||||
eventHandler !="ExAd_ACTION_PARACHUTE_DETACH = (findDisplay 46) displayAddEventHandler [\"KeyDown\",{"
|
||||
compile !="call compile format[\"_messageParameters call ExAd_fnc_%1;\",_messageName]" !="call compile format['%1 = if(isLocalized \"%1\")then{localize \"%1\"}else{\"%3"
|
||||
createVehicle !="_parachuteObject = createVehicle [\"Steerable_Parachute_F\", getPosATL player, [], 0, \"CAN_COLLIDE\"]"
|
||||
addAction !="ExAd_ACTION_PARACHUTE = player addaction [format"
|
||||
|
@ -42,12 +42,12 @@ while {_title != ""} do
|
||||
|
||||
_display = uiNameSpace getVariable ["RscExileXM8", displayNull];
|
||||
_pW = 0.025; _pH = 0.04;
|
||||
_slide = ctrlParentControlsGroup (_display displayCtrl _count2);
|
||||
|
||||
{
|
||||
private["_ctrl","_pos","_logo"];
|
||||
_ctrl = (_display displayCtrl _count2);
|
||||
private["_ctrl","_pos","_logo","_function"];
|
||||
_ctrl = _display displayCtrl _count2;
|
||||
_pos = ctrlPosition _ctrl;
|
||||
_slide = ctrlParentControlsGroup _ctrl;
|
||||
|
||||
_logo = if(isText(missionConfigFile >> "CfgXM8" >> _x >> "logo"))then{getText(missionConfigFile >> "CfgXM8" >> _x >> "logo")}else{"ExAdClient\Core\Img\logo.paa"};
|
||||
[_display,_slide,([_x,format["AppIcon%1",_count2]] call ExAd_fnc_getNextIDC),[(_pos select 0) + 1.5 * _pW, (_pos select 1) + 0.625 * _pH, 3 * _pW, 3 * _pH],_logo,[1,1,1,1],false,true,""] call ExAd_fnc_createPicture;
|
||||
|
Loading…
Reference in New Issue
Block a user