Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change 3den debug console keybind to ctrl+d #274

Merged
merged 2 commits into from
Feb 24, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"