mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Remove unused keyboard_keys function
I moved the compile up in compiles.sqf since vanilla is now updated with
the change:
f5780256ee
This commit is contained in:
@@ -36,7 +36,7 @@ class RscDisplayMission: RscDisplayEmpty
|
|||||||
{
|
{
|
||||||
access = 0;
|
access = 0;
|
||||||
idd = 46;
|
idd = 46;
|
||||||
onKeyDown = "if (!isNil 'DZ_KeyDown_EH') then {_this call DZ_KeyDown_EH;};"; //assigned much quicker than executing keyDown.sqf
|
onKeyDown = "if (!isNil 'DZ_KeyDown_EH') then {_this call DZ_KeyDown_EH;};"; //assigned much quicker than spawning init_keyboard
|
||||||
};
|
};
|
||||||
class RscDisplayChat
|
class RscDisplayChat
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -9,18 +9,6 @@ _altState = _this select 4;
|
|||||||
_handled = false;
|
_handled = false;
|
||||||
|
|
||||||
if (isNil "keyboard_keys") then {
|
if (isNil "keyboard_keys") then {
|
||||||
_deadcheck = { // ESCAPE
|
|
||||||
// call player_forceSave;
|
|
||||||
// _idd = uiNamespace getVariable "RscDisplayMPInterrupt";
|
|
||||||
// if (isNil '_idd') then {
|
|
||||||
// createDialog 'RscDisplayMPInterrupt';
|
|
||||||
// }
|
|
||||||
// else {
|
|
||||||
// closeDialog 0;
|
|
||||||
// };
|
|
||||||
//keyboard_keys = nil;*/
|
|
||||||
_handled = false;
|
|
||||||
};
|
|
||||||
_cancelBuild = {
|
_cancelBuild = {
|
||||||
DZE_cancelBuilding = true;
|
DZE_cancelBuilding = true;
|
||||||
call dayz_EjectPlayer;
|
call dayz_EjectPlayer;
|
||||||
@@ -310,7 +298,6 @@ if (isNil "keyboard_keys") then {
|
|||||||
[actionKeys "User18", {DZE_6 = true;}] call _addArray;
|
[actionKeys "User18", {DZE_6 = true;}] call _addArray;
|
||||||
[actionKeys "User19", {DZE_5 = true;}] call _addArray;
|
[actionKeys "User19", {DZE_5 = true;}] call _addArray;
|
||||||
[actionKeys "Surrender", _surrender] call _addArray;
|
[actionKeys "Surrender", _surrender] call _addArray;
|
||||||
//[[DIK_ESCAPE], _deadcheck] call _addArray;
|
|
||||||
[[DIK_1], _rifle] call _addArray;
|
[[DIK_1], _rifle] call _addArray;
|
||||||
[[DIK_2], _pistol] call _addArray;
|
[[DIK_2], _pistol] call _addArray;
|
||||||
[[DIK_3], _melee] call _addArray;
|
[[DIK_3], _melee] call _addArray;
|
||||||
@@ -346,9 +333,7 @@ if (isNil "keyboard_keys") then {
|
|||||||
DIK_F8,DIK_F7,DIK_F6,DIK_F5,DIK_F4,
|
DIK_F8,DIK_F7,DIK_F6,DIK_F5,DIK_F4,
|
||||||
DIK_F3,DIK_F2,DIK_9,
|
DIK_F3,DIK_F2,DIK_9,
|
||||||
DIK_8,DIK_7,DIK_6,DIK_5,DIK_4], _block] call _addArray;
|
DIK_8,DIK_7,DIK_6,DIK_5,DIK_4], _block] call _addArray;
|
||||||
|
|
||||||
if (!isNil "bis_fnc_halo_keydown_eh") then {bis_fnc_halo_keydown_eh = (finddisplay 46) displayaddeventhandler ["keydown","_this call bis_fnc_halo_keydown;"];}; // halo in progress
|
if (!isNil "bis_fnc_halo_keydown_eh") then {bis_fnc_halo_keydown_eh = (finddisplay 46) displayaddeventhandler ["keydown","_this call bis_fnc_halo_keydown;"];}; // halo in progress
|
||||||
//diag_log [diag_ticktime, __FILE__, "eh reset" ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
_this call DZE_FilterCheats;
|
_this call DZE_FilterCheats;
|
||||||
|
|||||||
@@ -620,6 +620,7 @@ fn_getModelName = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile
|
|||||||
fn_niceSpot = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_niceSpot.sqf";
|
fn_niceSpot = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_niceSpot.sqf";
|
||||||
fnc_Obj_handleDam = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\obj_handleDam.sqf";
|
fnc_Obj_handleDam = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\obj_handleDam.sqf";
|
||||||
object_roadFlare = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\object_roadFlare.sqf";
|
object_roadFlare = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\object_roadFlare.sqf";
|
||||||
|
DZ_KeyDown_EH = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\keyboard.sqf";
|
||||||
|
|
||||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\traps\init.sqf";
|
call compile preprocessFileLineNumbers "\z\addons\dayz_code\traps\init.sqf";
|
||||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\psrnd.sqf"; // pseudo random for plantSpanwer
|
call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\psrnd.sqf"; // pseudo random for plantSpanwer
|
||||||
@@ -633,7 +634,6 @@ local_spawnObjects = compile preprocessFileLineNumbers "\z\addons\dayz_code\comp
|
|||||||
FNC_GetSetPos = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fnc_getSetPos.sqf";
|
FNC_GetSetPos = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fnc_getSetPos.sqf";
|
||||||
FNC_GetPos = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fnc_getPos.sqf";
|
FNC_GetPos = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fnc_getPos.sqf";
|
||||||
dayz_EjectPlayer = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\dze_ejectPlayer.sqf";
|
dayz_EjectPlayer = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\dze_ejectPlayer.sqf";
|
||||||
DZ_KeyDown_EH = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\keyboard.sqf";
|
|
||||||
|
|
||||||
DZE_FilterCheats = {
|
DZE_FilterCheats = {
|
||||||
#define DIK_SUBTRACT 0x4A
|
#define DIK_SUBTRACT 0x4A
|
||||||
|
|||||||
Reference in New Issue
Block a user