Skip to content

Commit

Permalink
Merge pull request #274 from CBATeam/3dendebugconsole
Browse files Browse the repository at this point in the history
change 3den debug console keybind to ctrl+d
  • Loading branch information
Killswitch00 committed Feb 24, 2016
2 parents 35e85b5 + 75e24d3 commit 443dee7
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 7 deletions.
20 changes: 20 additions & 0 deletions addons/diagnostic/CfgDisplay3DEN.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

class ctrlMenuStrip;

class Display3DEN {
class Controls {
class MenuStrip: ctrlMenuStrip {
class Items {
class DebugConsole {
shortcuts[] = {INPUT_CTRL_OFFSET + DIK_D};
};
class FunctionsViewer {
shortcuts[] = {INPUT_ALT_OFFSET + DIK_F};
};
class ConfigViewer {
shortcuts[] = {INPUT_CTRL_OFFSET + DIK_G};
};
};
};
};
};
13 changes: 6 additions & 7 deletions addons/diagnostic/config.cpp
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
#include "script_component.hpp"
class CfgPatches
{
class ADDON
{

class CfgPatches {
class ADDON {
units[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = { "CBA_common", "CBA_events" };
requiredAddons[] = {"CBA_common","CBA_events","3DEN"};
version = VERSION;
author[] = {"Spooner", "Sickboy"};
author[] = {"Spooner","Sickboy"};
authorUrl = "https://github.com/CBATeam/CBA_A3";
};
};

#include "CfgFunctions.hpp"
#include "CfgEventHandlers.hpp"


#include "CfgDisplay3DEN.hpp"
2 changes: 2 additions & 0 deletions addons/diagnostic/script_component.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@
#endif

#include "\x\cba\addons\main\script_macros.hpp"

#include "\a3\ui_f\hpp\defineDIKCodes.inc"

0 comments on commit 443dee7

Please sign in to comment.