22 #ifndef AGS_ENGINE_DEBUGGING_DEBUG_LOG_H 23 #define AGS_ENGINE_DEBUGGING_DEBUG_LOG_H 25 #include "ags/engine/ac/runtime_defines.h" 26 #include "ags/shared/ac/common.h" 27 #include "ags/shared/debugging/out.h" 28 #include "ags/shared/util/ini_util.h" 29 #include "ags/shared/util/string.h" 35 void init_debug(
const AGS::Shared::ConfigTree &cfg,
bool stderr_only);
36 void apply_debug_config(
const AGS::Shared::ConfigTree &cfg);
37 void shutdown_debug();
41 void debug_script_print(AGS::Shared::MessageType mt,
const char *msg, ...);
44 void debug_script_warn(
const char *msg, ...);
47 void debug_script_log(
const char *msg, ...);
50 bool init_editor_debugging();
52 void scriptDebugHook(ccInstance *ccinst,
int linenum);