Skip to content

Commit

Permalink
redo simpleSpawn files
Browse files Browse the repository at this point in the history
  • Loading branch information
Madin5 committed May 14, 2024
1 parent f341707 commit 0c7d4fd
Show file tree
Hide file tree
Showing 15 changed files with 31 additions and 140 deletions.
2 changes: 1 addition & 1 deletion addons/simpleSpawn/$PBOPREFIX$
Original file line number Diff line number Diff line change
@@ -1 +1 @@
z\afmf\addons\simplespawn
z\afmf\addons\simpleSpawn
11 changes: 0 additions & 11 deletions addons/simpleSpawn/CfgEden.hpp

This file was deleted.

13 changes: 0 additions & 13 deletions addons/simpleSpawn/DisplayEden.hpp

This file was deleted.

8 changes: 0 additions & 8 deletions addons/simpleSpawn/README.md

This file was deleted.

7 changes: 7 additions & 0 deletions addons/simpleSpawn/XEH_PREP.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
PREP(despawn);
PREP(firstState);
PREP(getGroups);
PREP(init);
PREP(initCall);
PREP(interval);
PREP(waitUntil);
1 change: 1 addition & 0 deletions addons/simpleSpawn/XEH_postInit.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "script_component.hpp"
4 changes: 4 additions & 0 deletions addons/simpleSpawn/XEH_preInit.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#include "script_component.hpp"
ADDON = false;
#include "XEH_PREP.hpp"
ADDON = true;
2 changes: 2 additions & 0 deletions addons/simpleSpawn/XEH_preStart.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include "script_component.hpp"
#include "XEH_PREP.hpp"
25 changes: 10 additions & 15 deletions addons/simpleSpawn/config.cpp
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
#include "script_component.hpp"

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {
"cba_main"
class CfgPatches {
class ADDON {
name = COMPONENT;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {};
author = "Madin";
VERSION_CONFIG;
};
author = "ArmaForces";
VERSION_CONFIG;
};
};

#include "CfgEden.hpp"
#include "CfgModuleCategories.hpp"
#include "DisplayEden.hpp"
#include "CfgModuleCategories.hpp"
12 changes: 6 additions & 6 deletions addons/simpleSpawn/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#define COMPONENT main
#define COMPONENT simpleSpawn
#include "\z\afmf\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
// #define DISABLE_COMPILE_CACHE
#define DEBUG_MODE_FULL
#define DISABLE_COMPILE_CACHE

#ifdef DEBUG_ENABLED_MAIN
#ifdef DEBUG_ENABLED_simpleSpawn
#define DEBUG_MODE_FULL
#endif
#ifdef DEBUG_SETTINGS_MAIN
#define DEBUG_SETTINGS DEBUG_SETTINGS_MAIN
#ifdef DEBUG_SETTINGS_simpleSpawn
#define DEBUG_SETTINGS DEBUG_SETTINGS_simpleSpawn
#endif

#include "\z\afmf\addons\main\script_macros.hpp"
25 changes: 0 additions & 25 deletions addons/simpleSpawn/script_debug.hpp

This file was deleted.

27 changes: 0 additions & 27 deletions addons/simpleSpawn/script_macros.hpp

This file was deleted.

16 changes: 0 additions & 16 deletions addons/simpleSpawn/script_mod.hpp

This file was deleted.

3 changes: 0 additions & 3 deletions addons/simpleSpawn/script_version.hpp

This file was deleted.

15 changes: 0 additions & 15 deletions addons/simpleSpawn/stringtable.xml

This file was deleted.

0 comments on commit 0c7d4fd

Please sign in to comment.