From 23ff6252cf8af0320dd2d1e119d48c5edc61088f Mon Sep 17 00:00:00 2001 From: jonpas Date: Sat, 26 Nov 2016 00:38:06 +0100 Subject: [PATCH] Update blank component (#4711) --- extras/blank/README.md | 11 +++++++++++ extras/blank/XEH_preInit.sqf | 2 ++ extras/blank/functions/fnc_empty.sqf | 2 +- extras/blank/script_component.hpp | 1 - 4 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 extras/blank/README.md diff --git a/extras/blank/README.md b/extras/blank/README.md new file mode 100644 index 0000000000..abea8b9f37 --- /dev/null +++ b/extras/blank/README.md @@ -0,0 +1,11 @@ +ace_blank +=================== + +Adds blank feature. + + +## Maintainers + +The people responsible for merging changes to this component or answering potential questions. + +- [Name](https://github.com/name) diff --git a/extras/blank/XEH_preInit.sqf b/extras/blank/XEH_preInit.sqf index a7feade1c3..b47cf6628d 100644 --- a/extras/blank/XEH_preInit.sqf +++ b/extras/blank/XEH_preInit.sqf @@ -2,6 +2,8 @@ ADDON = false; +PREP_RECOMPILE_START; #include "XEH_PREP.hpp" +PREP_RECOMPILE_END; ADDON = true; diff --git a/extras/blank/functions/fnc_empty.sqf b/extras/blank/functions/fnc_empty.sqf index c60a82b2d8..9e8263e928 100644 --- a/extras/blank/functions/fnc_empty.sqf +++ b/extras/blank/functions/fnc_empty.sqf @@ -1,3 +1,3 @@ #include "script_component.hpp" -diag_log text format["This is here as an example!!!"]; +diag_log text format ["This is here as an example!!!"]; diff --git a/extras/blank/script_component.hpp b/extras/blank/script_component.hpp index 581cd319bb..d605d015ac 100644 --- a/extras/blank/script_component.hpp +++ b/extras/blank/script_component.hpp @@ -4,7 +4,6 @@ // #define DEBUG_MODE_FULL // #define DISABLE_COMPILE_CACHE -// #define CBA_DEBUG_SYNCHRONOUS // #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_BLANK