Re-adds Auxtools (#15652)

This commit is contained in:
SleepyGemmy
2023-01-25 12:34:15 +01:00
committed by GitHub
parent 19eb0d0c17
commit 0e1916b50e
2 changed files with 19 additions and 0 deletions
+1
View File
@@ -26,6 +26,7 @@
#include "code\__defines\antagonist.dm"
#include "code\__defines\armor.dm"
#include "code\__defines\atmos.dm"
#include "code\__defines\auxtools.dm"
#include "code\__defines\battle_monsters.dm"
#include "code\__defines\byond_compat.dm"
#include "code\__defines\callback.dm"
+18
View File
@@ -0,0 +1,18 @@
/proc/auxtools_stack_trace(msg)
CRASH(msg)
/proc/enable_debugging(mode, port)
CRASH("auxtools not loaded")
/world/New()
var/debug_server = world.GetConfig("env", "AUXTOOLS_DEBUG_DLL")
if (debug_server)
call(debug_server, "auxtools_init")()
enable_debugging()
. = ..()
/world/Del()
var/debug_server = world.GetConfig("env", "AUXTOOLS_DEBUG_DLL")
if (debug_server)
call(debug_server, "auxtools_shutdown")()
. = ..()