Skip to content

Commit

Permalink
Update DIK Codes include path (#1090)
Browse files Browse the repository at this point in the history
* Update DIK Codes define path

Updated path, used in ACE3 everywhere and in CBA mostly.

* Update fnc_add.sqf

* Update script_component.hpp

* Update fnc_addKeybind.sqf
  • Loading branch information
jonpas authored and commy2 committed Mar 7, 2019
1 parent 7bdde2e commit 5b5baa5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion addons/events/script_component.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

#define GETOBJ(obj) (if (obj isEqualType grpNull) then {leader obj} else {obj})

#include "\a3\editor_f\Data\Scripts\dikCodes.h"
#include "\a3\ui_f\hpp\defineDIKCodes.inc"

// key handler system
#define MOUSE_OFFSET 0xF0
Expand Down
4 changes: 2 additions & 2 deletions addons/keybinding/fnc_addKeybind.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Description:
a function with that keybind being pressed.
This file should be included for readable DIK codes:
#include "\a3\editor_f\Data\Scripts\dikCodes.h"
#include "\a3\ui_f\hpp\defineDIKCodes.inc"
Additional DIK codes usable with this function:
0xF0: Left mouse button
Expand Down Expand Up @@ -40,7 +40,7 @@ Returns:
Examples:
(begin example)
// Register a simple keypress to an action
#include "\a3\editor_f\Data\Scripts\dikCodes.h"
#include "\a3\ui_f\hpp\defineDIKCodes.inc"
["MyMod", "MyKey", ["My Pretty Key Name", "My Pretty Tool Tip"], {
_this call mymod_fnc_keyDown
Expand Down
2 changes: 1 addition & 1 deletion addons/ui/flexiMenu/fnc_add.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
TRACE_1("",_this);

// _this = ["player", [DIK_LSHIFT], -3, ["mission\weapon_menuDef.sqf", ["main"]]]
// Note: calling script may require this file for dik codes: #include "\a3\editor_f\Data\Scripts\dikCodes.h"
// Note: calling script may require this file for dik codes: #include "\a3\ui_f\hpp\defineDIKCodes.inc"

private _msg = "FLEXIMENU: Unknown Error in fnc_add.sqf"; //Initialize
private _key = [];
Expand Down

0 comments on commit 5b5baa5

Please sign in to comment.