Run using decompiled code

This commit is contained in:
ineed bots
2023-08-31 19:53:24 -06:00
parent 469e8f9630
commit 8e04a4fd43
13 changed files with 21 additions and 11 deletions

View File

@ -3,7 +3,7 @@
#include "utils/hook.hpp"
#include "codsrc/clientscript/cscr_main.hpp"
#define RE_CSCR_MAIN_USE_WRAPPERS
//#define RE_CSCR_MAIN_USE_WRAPPERS
namespace re_cscr_main
{

View File

@ -3,7 +3,7 @@
#include "utils/hook.hpp"
#include "codsrc/clientscript/cscr_memorytree.hpp"
#define RE_CSCR_MEMORYTREE_USE_WRAPPERS
//#define RE_CSCR_MEMORYTREE_USE_WRAPPERS
namespace re_cscr_memorytree
{

View File

@ -3,7 +3,7 @@
#include "utils/hook.hpp"
#include "codsrc/clientscript/cscr_parser.hpp"
#define RE_CSCR_PARSER_USE_WRAPPERS
//#define RE_CSCR_PARSER_USE_WRAPPERS
namespace re_cscr_parser
{

View File

@ -3,7 +3,7 @@
#include "utils/hook.hpp"
#include "codsrc/clientscript/cscr_parsetree.hpp"
#define RE_CSCR_PARSETREE_USE_WRAPPERS
//#define RE_CSCR_PARSETREE_USE_WRAPPERS
namespace re_cscr_parsetree
{

View File

@ -3,7 +3,7 @@
#include "utils/hook.hpp"
#include "codsrc/clientscript/cscr_readwrite.hpp"
#define RE_CSCR_READWRITE_USE_WRAPPERS
//#define RE_CSCR_READWRITE_USE_WRAPPERS
namespace re_cscr_readwrite
{

View File

@ -3,7 +3,7 @@
#include "utils/hook.hpp"
#include "codsrc/clientscript/cscr_stringlist.hpp"
#define RE_CSCR_STRINGLIST_USE_WRAPPERS
//#define RE_CSCR_STRINGLIST_USE_WRAPPERS
namespace re_cscr_stringlist
{

View File

@ -3,7 +3,7 @@
#include "utils/hook.hpp"
#include "codsrc/clientscript/cscr_variable.hpp"
#define RE_CSCR_VARIABLE_USE_WRAPPERS
//#define RE_CSCR_VARIABLE_USE_WRAPPERS
namespace re_cscr_variable
{

View File

@ -3,7 +3,7 @@
#include "utils/hook.hpp"
#include "codsrc/clientscript/cscr_vm.hpp"
#define RE_CSCR_VM_USE_WRAPPERS
//#define RE_CSCR_VM_USE_WRAPPERS
namespace re_cscr_vm
{
@ -1050,7 +1050,7 @@ namespace re_cscr_vm
}
}
char* Scr_GetTypeName_call(game::scriptInstance_t a1, [[maybe_unused]] void* caller_addr)
const char* Scr_GetTypeName_call(game::scriptInstance_t a1, [[maybe_unused]] void* caller_addr)
{
#ifdef RE_CSCR_VM_USE_WRAPPERS
return game::Scr_GetTypeName(a1, Scr_GetTypeName_original);