Cleanup and move gsc dump stuff

This commit is contained in:
ineed bots
2023-09-15 17:49:25 -06:00
parent 1f66cb6a43
commit 2e50e3274d
6 changed files with 424 additions and 422 deletions

View File

@ -15,7 +15,7 @@
#define assert(expr) \
if (!!!(expr)) \
{ \
utils::io::write_file("t4sp-server-plugin/gsc_state_assert.json", get_full_gsc_state_str(game::SCRIPTINSTANCE_SERVER)); \
utils::io::write_file("t4sp-server-plugin/gsc_state_assert.json", build_gsc_dump(game::SCRIPTINSTANCE_SERVER)); \
_wassert(_CRT_WIDE(#expr), _CRT_WIDE(__FILE__), (unsigned)(__LINE__)); \
}
#endif