moved sdmm defines to as early as possible in env

This commit is contained in:
spookerton
2022-09-26 22:53:07 +01:00
parent 67dee1d311
commit 2a02b9129c
2 changed files with 5 additions and 4 deletions
@@ -1,7 +1,8 @@
// Interfaces for the SpacemanDMM linter, define'd to nothing when the linter
// is not in use.
/**
* SpacemanDMM dreamchecker extensions for suite 1.7
* <https://github.com/SpaceManiac/SpacemanDMM/tree/suite-1.7/src/dreamchecker>
*/
// The SPACEMAN_DMM define is set by the linter and other tooling when it runs.
#ifdef SPACEMAN_DMM
#define RETURN_TYPE(X) set SpacemanDMM_return_type = X
#define SHOULD_CALL_PARENT(X) set SpacemanDMM_should_call_parent = X
+1 -1
View File
@@ -10,6 +10,7 @@
#define DEBUG
// END_PREFERENCES
// BEGIN_INCLUDE
#include "code\__spaceman_dmm.dm"
#include "code\_macros.dm"
#include "code\_map_tests.dm"
#include "code\_unit_tests.dm"
@@ -65,7 +66,6 @@
#include "code\__defines\rust_g.dm"
#include "code\__defines\shuttle.dm"
#include "code\__defines\sound.dm"
#include "code\__defines\spaceman_dmm.dm"
#include "code\__defines\species_languages.dm"
#include "code\__defines\sqlite_defines.dm"
#include "code\__defines\subsystems.dm"