Skip to content

Commit

Permalink
Compatiblity - Fix Essekeer grid
Browse files Browse the repository at this point in the history
  • Loading branch information
veteran29 committed Nov 27, 2024
1 parent 30ba80b commit d8d8b81
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
11 changes: 11 additions & 0 deletions addons/compatibility/map_esseker/CfgWorlds.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
class CfgWorlds {
class CAWorld;
class Stratis: CAWorld {
class Grid;
};
class Esseker: Stratis {
class Grid: Grid {
offsetY = 12288;
};
};
};
19 changes: 19 additions & 0 deletions addons/compatibility/map_esseker/config.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#include "script_component.hpp"

class CfgPatches {
class SUBADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {
"Esseker"
};
skipWhenMissingDependencies = 1;
author = "ArmaForces";
authors[] = {"veteran29"};
VERSION_CONFIG;
};
};

#include "CfgWorlds.hpp"
2 changes: 2 additions & 0 deletions addons/compatibility/map_esseker/script_component.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#define SUBCOMPONENT map_esseker
#include "..\script_component.hpp"

0 comments on commit d8d8b81

Please sign in to comment.