Skip to content

Commit

Permalink
Cleanup (#777)
Browse files Browse the repository at this point in the history
  • Loading branch information
Neviothr authored and commy2 committed Oct 24, 2017
1 parent 26b59b4 commit 62e38fb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
6 changes: 2 additions & 4 deletions addons/main/CfgVehicles.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
// Add a game logic which does nothing except requires the addon in the mission.

class CfgVehicles
{
class CfgVehicles {
class Logic;
class CBA_main_require : Logic
{
class CBA_main_require: Logic {
displayName = "Require CBA";
vehicleClass = "Modules";
};
Expand Down
6 changes: 3 additions & 3 deletions addons/main/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ class CfgSettings {
CBA_TOH[] = {"cba_toh_main", {1,0,0}, "isClass(configFile >> 'CfgPatches' >> 'United_States_H')"};
*/
// CBA requiring CBA_A3, if A3 is found
CBA_A3[] = {"cba_main_a3", {1,0,0}, "isClass(configFile >> 'CfgPatches' >> 'A3_Map_Stratis')"};
CBA_A3[] = {"cba_main_a3", {1, 0, 0}, "isClass(configFile >> 'CfgPatches' >> 'A3_Map_Stratis')"};

XEH[] = {"cba_xeh", {1,0,0}, "(true)"};
XEH[] = {"cba_xeh", {1, 0, 0}, "(true)"};
};
};
};
class Registry {
class PREFIX {
removed[] = {"cba_linux","cba_static_settings_addon","cba_auto_load_settings_file"};
removed[] = {"cba_linux", "cba_static_settings_addon", "cba_auto_load_settings_file"};
};
};
};
Expand Down
1 change: 0 additions & 1 deletion addons/main/script_classes.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

// Cfg
class CfgMods;
class CfgExperience;
Expand Down
2 changes: 0 additions & 2 deletions addons/main/script_mod.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@
#define VERSION MAJOR.MINOR.PATCHLVL.BUILD
#define VERSION_AR MAJOR,MINOR,PATCHLVL,BUILD


// MINIMAL required version for the Mod. Components can specify others..
#define REQUIRED_VERSION 1.76


/*
// Defined DEBUG_MODE_NORMAL in a few CBA_fncs to prevent looped logging :)
#ifndef DEBUG_MODE_NORMAL
Expand Down

0 comments on commit 62e38fb

Please sign in to comment.