mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-12 18:51:53 +00:00
* Bumps compile to 515 (#79134) ## About The Pull Request LSP supports it, let's GOOOOOO I've removed the 515 tests since they're stable, alongside the libcall wrapper. left the rustgcall wrapper cause yaknow memes Just removed all the 515 and 514 particular define wrappers. gaming ## Changelog 🆑 server: Minimum compile version has been bumped to 515. clients still support 514 but we're gonna start using 515 restricted features for serverside now. /🆑 --------- Co-authored-by: John Willard <53777086+JohnFulpWillard@ users.noreply.github.com> * Bumps compile to 515 * Fixes a TGS regression in its API --------- Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Co-authored-by: John Willard <53777086+JohnFulpWillard@ users.noreply.github.com> Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
44 lines
1.1 KiB
Plaintext
44 lines
1.1 KiB
Plaintext
#define AUXTOOLS_FULL_INIT 2
|
|
#define AUXTOOLS_PARTIAL_INIT 1
|
|
|
|
GLOBAL_LIST_EMPTY(auxtools_initialized)
|
|
GLOBAL_PROTECT(auxtools_initialized)
|
|
|
|
#define AUXTOOLS_CHECK(LIB)\
|
|
if (!CONFIG_GET(flag/auxtools_enabled)) {\
|
|
CRASH("Auxtools is not enabled in config!");\
|
|
}\
|
|
if (GLOB.auxtools_initialized[LIB] != AUXTOOLS_FULL_INIT) {\
|
|
if (fexists(LIB)) {\
|
|
var/string = call_ext(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_ext(LIB,"auxtools_shutdown")();\
|
|
GLOB.auxtools_initialized[LIB] = AUXTOOLS_PARTIAL_INIT;\
|
|
}\
|
|
|
|
#define AUXTOOLS_FULL_SHUTDOWN(LIB)\
|
|
if (GLOB.auxtools_initialized[LIB] && fexists(LIB)){\
|
|
call_ext(LIB,"auxtools_full_shutdown")();\
|
|
GLOB.auxtools_initialized[LIB] = FALSE;\
|
|
}
|
|
|
|
/proc/auxtools_stack_trace(msg)
|
|
CRASH(msg)
|
|
|
|
/proc/auxtools_expr_stub()
|
|
CRASH("auxtools not loaded")
|
|
|
|
/proc/enable_debugging(mode, port)
|
|
CRASH("auxtools not loaded")
|