mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 10:01:40 +00:00
* Automatic changelog compile [ci skip]
* Update readme.md
* Automatic changelog compile [ci skip]
* what
* Wow
* Foiled by my very own grep check
* dont tell anyone i forgot to update basemaps
* The gags vendor updatepath script is broken
* can be untg-edited later just want to see TGU running soon
* Revert "can be untg-edited later just want to see TGU running soon"
This reverts commit c14b2be919.
* I like this better
* test
* i am sleep deprived
* Humanoid screenshot tests 4 backpack resprite
* infils have backpacks too apparently
* makes bloodsuckers not cooldown anymore
* removes more cooldowns
* fixes some bugs
Co-authored-by: Changelogs <action@github.com>
Co-authored-by: JohnFulpWillard <53777086+JohnFulpWillard@users.noreply.github.com>
31 lines
849 B
Plaintext
31 lines
849 B
Plaintext
#define AUXTOOLS_FULL_INIT 2
|
|
#define AUXTOOLS_PARTIAL_INIT 1
|
|
|
|
GLOBAL_LIST_EMPTY(auxtools_initialized)
|
|
|
|
#define AUXTOOLS_CHECK(LIB)\
|
|
if (GLOB.auxtools_initialized[LIB] != AUXTOOLS_FULL_INIT) {\
|
|
if (fexists(LIB)) {\
|
|
var/string = call(LIB,"auxtools_init")();\
|
|
if(findtext(string, "SUCCESS")) {\
|
|
GLOB.auxtools_initialized[LIB] = AUXTOOLS_FULL_INIT;\
|
|
} else {\
|
|
CRASH(string);\
|
|
}\
|
|
} else {\
|
|
CRASH("No file named [LIB] found!")\
|
|
}\
|
|
}\
|
|
|
|
#define AUXTOOLS_SHUTDOWN(LIB)\
|
|
if (GLOB.auxtools_initialized[LIB] == AUXTOOLS_FULL_INIT && fexists(LIB)){\
|
|
call(LIB,"auxtools_shutdown")();\
|
|
GLOB.auxtools_initialized[LIB] = AUXTOOLS_PARTIAL_INIT;\
|
|
}\
|
|
|
|
#define AUXTOOLS_FULL_SHUTDOWN(LIB)\
|
|
if (GLOB.auxtools_initialized[LIB] && fexists(LIB)){\
|
|
call(LIB,"auxtools_full_shutdown")();\
|
|
GLOB.auxtools_initialized[LIB] = FALSE;\
|
|
}\
|