
* fix(Respawn): fix respawn in SP * fix: re-enable bigobj * fix: update creator's stack size * fix: use BOOLs instead of bools * fix(gitignore): hide .pyc files
25 lines
503 B
C++
25 lines
503 B
C++
#include "invoker.hpp"
|
|
#include "crossmap.hpp"
|
|
#include "pointers.hpp"
|
|
|
|
namespace big
|
|
{
|
|
void native_invoker::cache_handlers()
|
|
{
|
|
if (m_are_handlers_cached)
|
|
return;
|
|
|
|
for (int i = 0; i < g_crossmap.size(); i++)
|
|
{
|
|
m_handlers[i] = g_pointers->m_gta.m_get_native_handler(g_pointers->m_gta.m_native_registration_table, g_crossmap[i]);
|
|
}
|
|
|
|
m_are_handlers_cached = true;
|
|
}
|
|
|
|
void native_invoker::fix_vectors()
|
|
{
|
|
g_pointers->m_gta.m_fix_vectors(&m_call_context);
|
|
}
|
|
}
|