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

@ -69,8 +69,9 @@
#include "game/enums.hpp"
#include "game/structs.hpp"
#include "game/symbols.hpp"
std::string get_full_gsc_state_str(game::scriptInstance_t inst);
void push_opcode_to_history(game::scriptInstance_t inst, game::OpcodeVM op);
std::string build_gsc_dump(game::scriptInstance_t inst);
void push_opcode_history(game::scriptInstance_t inst, game::OpcodeVM op);
void push_builtin_history(game::scriptInstance_t inst, int idx);
void push_codepos_history(game::scriptInstance_t inst, const char* pos);