From adaddda87138aad65e1c165b43ed145398f28a81 Mon Sep 17 00:00:00 2001 From: s1lent Date: Sun, 2 Jul 2017 03:40:10 +0700 Subject: [PATCH] Code cleanup Hookers Refactoring Removed __MAKE_VHOOK Fix compilation under linux with ICC 17 (GCC 6.2) --- dep/cppunitlite/src/Assertions.cpp | 3 +- regamedll/build.gradle | 2 +- regamedll/dlls/airtank.cpp | 6 +- regamedll/dlls/airtank.h | 10 - regamedll/dlls/ammo.cpp | 60 +- regamedll/dlls/ammo.h | 89 - regamedll/dlls/animation.h | 8 +- regamedll/dlls/basemonster.h | 30 +- regamedll/dlls/bmodels.cpp | 34 +- regamedll/dlls/bmodels.h | 61 +- regamedll/dlls/bot/cs_bot.cpp | 8 +- regamedll/dlls/bot/cs_bot.h | 436 +- regamedll/dlls/bot/cs_bot_chatter.cpp | 18 +- regamedll/dlls/bot/cs_bot_chatter.h | 157 +- regamedll/dlls/bot/cs_bot_event.cpp | 6 +- regamedll/dlls/bot/cs_bot_init.cpp | 6 +- regamedll/dlls/bot/cs_bot_manager.cpp | 24 +- regamedll/dlls/bot/cs_bot_manager.h | 81 +- regamedll/dlls/bot/cs_bot_update.cpp | 4 +- regamedll/dlls/bot/cs_bot_vision.cpp | 8 +- regamedll/dlls/bot/cs_bot_weapon.cpp | 2 +- regamedll/dlls/bot/cs_gamestate.h | 29 +- regamedll/dlls/bot/states/cs_bot_attack.cpp | 6 +- regamedll/dlls/bot/states/cs_bot_buy.cpp | 90 +- .../dlls/bot/states/cs_bot_defuse_bomb.cpp | 6 +- .../bot/states/cs_bot_escape_from_bomb.cpp | 6 +- .../dlls/bot/states/cs_bot_fetch_bomb.cpp | 4 +- regamedll/dlls/bot/states/cs_bot_follow.cpp | 6 +- regamedll/dlls/bot/states/cs_bot_hide.cpp | 6 +- regamedll/dlls/bot/states/cs_bot_hunt.cpp | 6 +- regamedll/dlls/bot/states/cs_bot_idle.cpp | 4 +- .../bot/states/cs_bot_investigate_noise.cpp | 6 +- regamedll/dlls/bot/states/cs_bot_move_to.cpp | 6 +- .../dlls/bot/states/cs_bot_plant_bomb.cpp | 6 +- .../dlls/bot/states/cs_bot_use_entity.cpp | 6 +- regamedll/dlls/buttons.cpp | 44 +- regamedll/dlls/buttons.h | 46 - regamedll/dlls/career_tasks.cpp | 50 +- regamedll/dlls/career_tasks.h | 14 - regamedll/dlls/cbase.cpp | 34 +- regamedll/dlls/cbase.h | 97 +- regamedll/dlls/client.cpp | 10 - regamedll/dlls/client.h | 16 +- regamedll/dlls/combat.cpp | 32 +- regamedll/dlls/doors.cpp | 28 +- regamedll/dlls/doors.h | 42 +- regamedll/dlls/effects.cpp | 108 +- regamedll/dlls/effects.h | 154 - regamedll/dlls/explode.cpp | 12 +- regamedll/dlls/explode.h | 19 - regamedll/dlls/func_break.cpp | 30 +- regamedll/dlls/func_break.h | 31 +- regamedll/dlls/func_tank.cpp | 38 +- regamedll/dlls/func_tank.h | 56 - regamedll/dlls/gamerules.cpp | 11 +- regamedll/dlls/gamerules.h | 319 +- regamedll/dlls/ggrenade.cpp | 8 +- regamedll/dlls/h_battery.cpp | 8 +- regamedll/dlls/h_battery.h | 11 - regamedll/dlls/h_cycler.cpp | 38 +- regamedll/dlls/h_cycler.h | 57 - regamedll/dlls/healthkit.cpp | 14 +- regamedll/dlls/healthkit.h | 20 - regamedll/dlls/hostage/hostage.cpp | 26 +- regamedll/dlls/hostage/hostage.h | 47 +- regamedll/dlls/hostage/hostage_improv.cpp | 70 +- regamedll/dlls/hostage/hostage_improv.h | 62 +- regamedll/dlls/hostage/hostage_localnav.h | 5 - regamedll/dlls/hostage/hostage_states.h | 60 - .../dlls/hostage/states/hostage_animate.cpp | 6 +- .../dlls/hostage/states/hostage_escape.cpp | 20 +- .../dlls/hostage/states/hostage_follow.cpp | 8 +- .../dlls/hostage/states/hostage_idle.cpp | 12 +- .../dlls/hostage/states/hostage_retreat.cpp | 6 +- regamedll/dlls/items.cpp | 56 +- regamedll/dlls/items.h | 86 - regamedll/dlls/lights.cpp | 12 +- regamedll/dlls/lights.h | 19 - regamedll/dlls/mapinfo.cpp | 4 +- regamedll/dlls/mapinfo.h | 7 - regamedll/dlls/maprules.cpp | 50 +- regamedll/dlls/maprules.h | 104 - regamedll/dlls/mortar.cpp | 10 +- regamedll/dlls/mortar.h | 17 - regamedll/dlls/mpstubb.cpp | 14 +- regamedll/dlls/multiplay_gamerules.cpp | 119 +- regamedll/dlls/observer.h | 5 +- regamedll/dlls/pathcorner.cpp | 12 +- regamedll/dlls/pathcorner.h | 9 - regamedll/dlls/plats.cpp | 100 +- regamedll/dlls/plats.h | 98 - regamedll/dlls/player.cpp | 84 +- regamedll/dlls/player.h | 137 +- regamedll/dlls/revert_saved.h | 9 - regamedll/dlls/saverestore.h | 12 +- regamedll/dlls/singleplay_gamerules.cpp | 78 +- regamedll/dlls/sound.cpp | 20 +- regamedll/dlls/sound.h | 31 - regamedll/dlls/soundent.cpp | 6 +- regamedll/dlls/soundent.h | 8 - regamedll/dlls/spectator.cpp | 2 +- regamedll/dlls/spectator.h | 6 - regamedll/dlls/subs.cpp | 12 +- regamedll/dlls/subs.h | 15 - regamedll/dlls/training_gamerules.cpp | 32 +- regamedll/dlls/training_gamerules.h | 35 - regamedll/dlls/trains.h | 42 - regamedll/dlls/triggers.cpp | 122 +- regamedll/dlls/triggers.h | 241 - regamedll/dlls/tutor_base_tutor.cpp | 10 +- regamedll/dlls/tutor_base_tutor.h | 10 - regamedll/dlls/tutor_cs_states.cpp | 18 +- regamedll/dlls/tutor_cs_states.h | 29 - regamedll/dlls/tutor_cs_tutor.cpp | 12 +- regamedll/dlls/tutor_cs_tutor.h | 11 - regamedll/dlls/util.h | 41 +- regamedll/dlls/vector.h | 21 +- regamedll/dlls/vehicle.cpp | 20 +- regamedll/dlls/vehicle.h | 6 - regamedll/dlls/weapons.cpp | 68 +- regamedll/dlls/weapons.h | 455 -- regamedll/dlls/world.cpp | 6 +- regamedll/dlls/wpn_shared/wpn_ak47.cpp | 16 +- regamedll/dlls/wpn_shared/wpn_aug.cpp | 16 +- regamedll/dlls/wpn_shared/wpn_awp.cpp | 18 +- regamedll/dlls/wpn_shared/wpn_c4.cpp | 20 +- regamedll/dlls/wpn_shared/wpn_deagle.cpp | 18 +- regamedll/dlls/wpn_shared/wpn_elite.cpp | 14 +- regamedll/dlls/wpn_shared/wpn_famas.cpp | 18 +- regamedll/dlls/wpn_shared/wpn_fiveseven.cpp | 18 +- regamedll/dlls/wpn_shared/wpn_flashbang.cpp | 18 +- regamedll/dlls/wpn_shared/wpn_g3sg1.cpp | 18 +- regamedll/dlls/wpn_shared/wpn_galil.cpp | 16 +- regamedll/dlls/wpn_shared/wpn_glock18.cpp | 20 +- regamedll/dlls/wpn_shared/wpn_hegrenade.cpp | 18 +- regamedll/dlls/wpn_shared/wpn_knife.cpp | 16 +- regamedll/dlls/wpn_shared/wpn_m249.cpp | 14 +- regamedll/dlls/wpn_shared/wpn_m3.cpp | 14 +- regamedll/dlls/wpn_shared/wpn_m4a1.cpp | 18 +- regamedll/dlls/wpn_shared/wpn_mac10.cpp | 14 +- regamedll/dlls/wpn_shared/wpn_mp5navy.cpp | 14 +- regamedll/dlls/wpn_shared/wpn_p228.cpp | 16 +- regamedll/dlls/wpn_shared/wpn_p90.cpp | 16 +- regamedll/dlls/wpn_shared/wpn_scout.cpp | 18 +- regamedll/dlls/wpn_shared/wpn_sg550.cpp | 18 +- regamedll/dlls/wpn_shared/wpn_sg552.cpp | 18 +- .../dlls/wpn_shared/wpn_smokegrenade.cpp | 20 +- regamedll/dlls/wpn_shared/wpn_tmp.cpp | 14 +- regamedll/dlls/wpn_shared/wpn_ump45.cpp | 14 +- regamedll/dlls/wpn_shared/wpn_usp.cpp | 20 +- regamedll/dlls/wpn_shared/wpn_xm1014.cpp | 16 +- regamedll/engine/osconfig.h | 1 + .../extra/cssdk/dlls/bot/cs_bot_chatter.h | 48 +- regamedll/extra/cssdk/dlls/csbot_dll.h | 2 +- regamedll/extra/cssdk/dlls/gamerules.h | 144 +- .../extra/cssdk/dlls/hostage/hostage_improv.h | 2 + regamedll/extra/cssdk/engine/osconfig.h | 1 + .../game_shared/{perf_counter.h => counter.h} | 21 +- regamedll/game_shared/GameEvent.h | 54 +- regamedll/game_shared/bot/bot.cpp | 36 +- regamedll/game_shared/bot/bot.h | 35 +- regamedll/game_shared/bot/bot_manager.cpp | 6 +- regamedll/game_shared/bot/bot_manager.h | 16 +- regamedll/game_shared/bot/nav_area.h | 4 - regamedll/game_shared/bot/nav_node.h | 18 +- regamedll/game_shared/bot/nav_path.h | 27 +- .../game_shared/{perf_counter.h => counter.h} | 378 +- regamedll/game_shared/shared_util.h | 1 - regamedll/game_shared/voice_gamemgr.h | 18 +- regamedll/hookers/6153_hooker.cpp | 6177 ---------------- regamedll/hookers/helper.h | 174 + regamedll/hookers/hooker.cpp | 38 +- regamedll/hookers/hooker.h | 18 +- regamedll/hookers/hooker_impl.cpp | 1568 +---- regamedll/hookers/hooker_impl.h | 72 +- regamedll/hookers/hooklist.cpp | 6184 +++++++++++++++++ regamedll/hookers/hooklist.h | 26 + regamedll/hookers/main.cpp | 4 +- regamedll/hookers/stl/vector | 10 +- regamedll/msvc/ReGameDLL.vcxproj | 34 +- regamedll/msvc/ReGameDLL.vcxproj.filters | 40 +- regamedll/pm_shared/pm_shared.h | 12 +- regamedll/public/regamedll/csbot_dll.h | 2 +- .../RegameDLLRuntimeConfig.cpp | 0 .../RegameDLLRuntimeConfig.h | 0 regamedll/regamedll/dlls.h | 10 +- regamedll/regamedll/platform.cpp | 2 +- regamedll/regamedll/precompiled.h | 21 +- .../regamedll/regamedll_interfaces_impl.h | 38 +- regamedll/unittests/animation_tests.cpp | 2 +- shared_icc.gradle | 13 +- 191 files changed, 8524 insertions(+), 12451 deletions(-) rename regamedll/extra/cssdk/game_shared/{perf_counter.h => counter.h} (91%) rename regamedll/game_shared/{perf_counter.h => counter.h} (85%) delete mode 100644 regamedll/hookers/6153_hooker.cpp create mode 100644 regamedll/hookers/helper.h create mode 100644 regamedll/hookers/hooklist.cpp create mode 100644 regamedll/hookers/hooklist.h rename regamedll/{hookers => regamedll}/RegameDLLRuntimeConfig.cpp (100%) rename regamedll/{hookers => regamedll}/RegameDLLRuntimeConfig.h (100%) diff --git a/dep/cppunitlite/src/Assertions.cpp b/dep/cppunitlite/src/Assertions.cpp index 223a2b77..a8bc791f 100644 --- a/dep/cppunitlite/src/Assertions.cpp +++ b/dep/cppunitlite/src/Assertions.cpp @@ -4,6 +4,7 @@ #include #include #include +#include void Assertions::StringEquals(std::string message, std::string expected, std::string actual, const char* fileName, long lineNumber) { if (expected != actual) { @@ -57,7 +58,7 @@ void Assertions::CharEquals(std::string message, char expected, char actual, con } void Assertions::DoubleEquals(std::string message, double expected, double actual, double epsilon, const char* fileName, long lineNumber) { - if (abs(expected - actual) > epsilon) { + if (std::abs(expected - actual) > epsilon) { std::stringstream ss; ss << message << " (expected '" << expected << "', got '" << actual << "')"; throw TestFailException(ss.str(), std::string(fileName), lineNumber); diff --git a/regamedll/build.gradle b/regamedll/build.gradle index 34cf2449..da537b37 100644 --- a/regamedll/build.gradle +++ b/regamedll/build.gradle @@ -154,7 +154,7 @@ void setupToolchain(NativeBinarySpec b) ]) cfg.linkerOptions.args '-no-opt-class-analysis' - cfg.compilerOptions.args '-Qoption,cpp,--treat_func_as_string_literal_cpp', '-g0', '-fno-rtti' + cfg.compilerOptions.args '-Qoption,cpp,--treat_func_as_string_literal_cpp', '-g0', '-fno-rtti', '-fno-exceptions' cfg.projectLibpath(project, '/lib/linux32') cfg.extraLibs 'dl', 'm', 'stdc++', 'aelf32' } diff --git a/regamedll/dlls/airtank.cpp b/regamedll/dlls/airtank.cpp index 6d0dda22..330cc15f 100644 --- a/regamedll/dlls/airtank.cpp +++ b/regamedll/dlls/airtank.cpp @@ -15,7 +15,7 @@ TYPEDESCRIPTION CAirtank::m_SaveData[] = LINK_ENTITY_TO_CLASS(item_airtank, CAirtank, CCSAirtank) IMPLEMENT_SAVERESTORE(CAirtank, CGrenade) -void CAirtank::__MAKE_VHOOK(Spawn)() +void CAirtank::Spawn() { Precache(); @@ -37,13 +37,13 @@ void CAirtank::__MAKE_VHOOK(Spawn)() m_state = 1; } -void CAirtank::__MAKE_VHOOK(Precache)() +void CAirtank::Precache() { PRECACHE_MODEL("models/w_oxygen.mdl"); PRECACHE_SOUND("doors/aliendoor3.wav"); } -void CAirtank::__MAKE_VHOOK(Killed)(entvars_t *pevAttacker, int iGib) +void CAirtank::Killed(entvars_t *pevAttacker, int iGib) { pev->owner = ENT(pevAttacker); diff --git a/regamedll/dlls/airtank.h b/regamedll/dlls/airtank.h index 89ff2eb9..7117ec53 100644 --- a/regamedll/dlls/airtank.h +++ b/regamedll/dlls/airtank.h @@ -46,16 +46,6 @@ public: void EXPORT TankThink(); void EXPORT TankTouch(CBaseEntity *pOther); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Killed_(entvars_t *pevAttacker, int iGib); - -#endif - public: static TYPEDESCRIPTION IMPL(m_SaveData)[1]; diff --git a/regamedll/dlls/ammo.cpp b/regamedll/dlls/ammo.cpp index 05a9cfe9..df7cd5d5 100644 --- a/regamedll/dlls/ammo.cpp +++ b/regamedll/dlls/ammo.cpp @@ -1,19 +1,19 @@ #include "precompiled.h" -void C9MMAmmo::__MAKE_VHOOK(Spawn)() +void C9MMAmmo::Spawn() { Precache(); SET_MODEL(ENT(pev), "models/w_9mmclip.mdl"); CBasePlayerAmmo::Spawn(); } -void C9MMAmmo::__MAKE_VHOOK(Precache)() +void C9MMAmmo::Precache() { PRECACHE_MODEL("models/w_9mmclip.mdl"); PRECACHE_SOUND("items/9mmclip1.wav"); } -BOOL C9MMAmmo::__MAKE_VHOOK(AddAmmo)(CBaseEntity *pOther) +BOOL C9MMAmmo::AddAmmo(CBaseEntity *pOther) { if (pOther->GiveAmmo(AMMO_9MM_BUY, "9mm") == -1) { @@ -26,20 +26,20 @@ BOOL C9MMAmmo::__MAKE_VHOOK(AddAmmo)(CBaseEntity *pOther) LINK_ENTITY_TO_CLASS(ammo_9mm, C9MMAmmo, CCS9MMAmmo) -void CBuckShotAmmo::__MAKE_VHOOK(Spawn)() +void CBuckShotAmmo::Spawn() { Precache(); SET_MODEL(ENT(pev), "models/w_shotbox.mdl"); CBasePlayerAmmo::Spawn(); } -void CBuckShotAmmo::__MAKE_VHOOK(Precache)() +void CBuckShotAmmo::Precache() { PRECACHE_MODEL("models/w_shotbox.mdl"); PRECACHE_SOUND("items/9mmclip1.wav"); } -BOOL CBuckShotAmmo::__MAKE_VHOOK(AddAmmo)(CBaseEntity *pOther) +BOOL CBuckShotAmmo::AddAmmo(CBaseEntity *pOther) { if (pOther->GiveAmmo(AMMO_BUCKSHOT_BUY, "buckshot") == -1) { @@ -52,20 +52,20 @@ BOOL CBuckShotAmmo::__MAKE_VHOOK(AddAmmo)(CBaseEntity *pOther) LINK_ENTITY_TO_CLASS(ammo_buckshot, CBuckShotAmmo, CCSBuckShotAmmo) -void C556NatoAmmo::__MAKE_VHOOK(Spawn)() +void C556NatoAmmo::Spawn() { Precache(); SET_MODEL(ENT(pev), "models/w_9mmclip.mdl"); CBasePlayerAmmo::Spawn(); } -void C556NatoAmmo::__MAKE_VHOOK(Precache)() +void C556NatoAmmo::Precache() { PRECACHE_MODEL("models/w_9mmclip.mdl"); PRECACHE_SOUND("items/9mmclip1.wav"); } -BOOL C556NatoAmmo::__MAKE_VHOOK(AddAmmo)(CBaseEntity *pOther) +BOOL C556NatoAmmo::AddAmmo(CBaseEntity *pOther) { if (pOther->GiveAmmo(AMMO_556NATO_BUY, "556Nato") == -1) { @@ -78,20 +78,20 @@ BOOL C556NatoAmmo::__MAKE_VHOOK(AddAmmo)(CBaseEntity *pOther) LINK_ENTITY_TO_CLASS(ammo_556nato, C556NatoAmmo, CCS556NatoAmmo) -void C556NatoBoxAmmo::__MAKE_VHOOK(Spawn)() +void C556NatoBoxAmmo::Spawn() { Precache(); SET_MODEL(ENT(pev), "models/w_9mmclip.mdl"); CBasePlayerAmmo::Spawn(); } -void C556NatoBoxAmmo::__MAKE_VHOOK(Precache)() +void C556NatoBoxAmmo::Precache() { PRECACHE_MODEL("models/w_9mmclip.mdl"); PRECACHE_SOUND("items/9mmclip1.wav"); } -BOOL C556NatoBoxAmmo::__MAKE_VHOOK(AddAmmo)(CBaseEntity *pOther) +BOOL C556NatoBoxAmmo::AddAmmo(CBaseEntity *pOther) { if (pOther->GiveAmmo(AMMO_556NATOBOX_BUY, "556NatoBox") == -1) { @@ -104,20 +104,20 @@ BOOL C556NatoBoxAmmo::__MAKE_VHOOK(AddAmmo)(CBaseEntity *pOther) LINK_ENTITY_TO_CLASS(ammo_556natobox, C556NatoBoxAmmo, CCS556NatoBoxAmmo) -void C762NatoAmmo::__MAKE_VHOOK(Spawn)() +void C762NatoAmmo::Spawn() { Precache(); SET_MODEL(ENT(pev), "models/w_9mmclip.mdl"); CBasePlayerAmmo::Spawn(); } -void C762NatoAmmo::__MAKE_VHOOK(Precache)() +void C762NatoAmmo::Precache() { PRECACHE_MODEL("models/w_9mmclip.mdl"); PRECACHE_SOUND("items/9mmclip1.wav"); } -BOOL C762NatoAmmo::__MAKE_VHOOK(AddAmmo)(CBaseEntity *pOther) +BOOL C762NatoAmmo::AddAmmo(CBaseEntity *pOther) { if (pOther->GiveAmmo(AMMO_762NATO_BUY, "762Nato") == -1) { @@ -130,20 +130,20 @@ BOOL C762NatoAmmo::__MAKE_VHOOK(AddAmmo)(CBaseEntity *pOther) LINK_ENTITY_TO_CLASS(ammo_762nato, C762NatoAmmo, CCS762NatoAmmo) -void C45ACPAmmo::__MAKE_VHOOK(Spawn)() +void C45ACPAmmo::Spawn() { Precache(); SET_MODEL(ENT(pev), "models/w_9mmclip.mdl"); CBasePlayerAmmo::Spawn(); } -void C45ACPAmmo::__MAKE_VHOOK(Precache)() +void C45ACPAmmo::Precache() { PRECACHE_MODEL("models/w_9mmclip.mdl"); PRECACHE_SOUND("items/9mmclip1.wav"); } -BOOL C45ACPAmmo::__MAKE_VHOOK(AddAmmo)(CBaseEntity *pOther) +BOOL C45ACPAmmo::AddAmmo(CBaseEntity *pOther) { if (pOther->GiveAmmo(AMMO_45ACP_BUY, "45acp") == -1) { @@ -156,20 +156,20 @@ BOOL C45ACPAmmo::__MAKE_VHOOK(AddAmmo)(CBaseEntity *pOther) LINK_ENTITY_TO_CLASS(ammo_45acp, C45ACPAmmo, CCS45ACPAmmo) -void C50AEAmmo::__MAKE_VHOOK(Spawn)() +void C50AEAmmo::Spawn() { Precache(); SET_MODEL(ENT(pev), "models/w_9mmclip.mdl"); CBasePlayerAmmo::Spawn(); } -void C50AEAmmo::__MAKE_VHOOK(Precache)() +void C50AEAmmo::Precache() { PRECACHE_MODEL("models/w_9mmclip.mdl"); PRECACHE_SOUND("items/9mmclip1.wav"); } -BOOL C50AEAmmo::__MAKE_VHOOK(AddAmmo)(CBaseEntity *pOther) +BOOL C50AEAmmo::AddAmmo(CBaseEntity *pOther) { if (pOther->GiveAmmo(AMMO_50AE_BUY, "50AE") == -1) { @@ -182,20 +182,20 @@ BOOL C50AEAmmo::__MAKE_VHOOK(AddAmmo)(CBaseEntity *pOther) LINK_ENTITY_TO_CLASS(ammo_50ae, C50AEAmmo, CCS50AEAmmo) -void C338MagnumAmmo::__MAKE_VHOOK(Spawn)() +void C338MagnumAmmo::Spawn() { Precache(); SET_MODEL(ENT(pev), "models/w_9mmclip.mdl"); CBasePlayerAmmo::Spawn(); } -void C338MagnumAmmo::__MAKE_VHOOK(Precache)() +void C338MagnumAmmo::Precache() { PRECACHE_MODEL("models/w_9mmclip.mdl"); PRECACHE_SOUND("items/9mmclip1.wav"); } -BOOL C338MagnumAmmo::__MAKE_VHOOK(AddAmmo)(CBaseEntity *pOther) +BOOL C338MagnumAmmo::AddAmmo(CBaseEntity *pOther) { if (pOther->GiveAmmo(AMMO_338MAG_BUY, "338Magnum") == -1) { @@ -208,20 +208,20 @@ BOOL C338MagnumAmmo::__MAKE_VHOOK(AddAmmo)(CBaseEntity *pOther) LINK_ENTITY_TO_CLASS(ammo_338magnum, C338MagnumAmmo, CCS338MagnumAmmo) -void C57MMAmmo::__MAKE_VHOOK(Spawn)() +void C57MMAmmo::Spawn() { Precache(); SET_MODEL(ENT(pev), "models/w_9mmclip.mdl"); CBasePlayerAmmo::Spawn(); } -void C57MMAmmo::__MAKE_VHOOK(Precache)() +void C57MMAmmo::Precache() { PRECACHE_MODEL("models/w_9mmclip.mdl"); PRECACHE_SOUND("items/9mmclip1.wav"); } -BOOL C57MMAmmo::__MAKE_VHOOK(AddAmmo)(CBaseEntity *pOther) +BOOL C57MMAmmo::AddAmmo(CBaseEntity *pOther) { if (pOther->GiveAmmo(AMMO_57MM_BUY, "57mm") == -1) { @@ -234,20 +234,20 @@ BOOL C57MMAmmo::__MAKE_VHOOK(AddAmmo)(CBaseEntity *pOther) LINK_ENTITY_TO_CLASS(ammo_57mm, C57MMAmmo, CCS57MMAmmo) -void C357SIGAmmo::__MAKE_VHOOK(Spawn)() +void C357SIGAmmo::Spawn() { Precache(); SET_MODEL(ENT(pev), "models/w_9mmclip.mdl"); CBasePlayerAmmo::Spawn(); } -void C357SIGAmmo::__MAKE_VHOOK(Precache)() +void C357SIGAmmo::Precache() { PRECACHE_MODEL("models/w_9mmclip.mdl"); PRECACHE_SOUND("items/9mmclip1.wav"); } -BOOL C357SIGAmmo::__MAKE_VHOOK(AddAmmo)(CBaseEntity *pOther) +BOOL C357SIGAmmo::AddAmmo(CBaseEntity *pOther) { if (pOther->GiveAmmo(AMMO_357SIG_BUY, "357SIG") == -1) { diff --git a/regamedll/dlls/ammo.h b/regamedll/dlls/ammo.h index 6118fa28..a069d79e 100644 --- a/regamedll/dlls/ammo.h +++ b/regamedll/dlls/ammo.h @@ -38,15 +38,6 @@ public: virtual void Spawn(); virtual void Precache(); virtual BOOL AddAmmo(CBaseEntity *pOther); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - BOOL AddAmmo_(CBaseEntity *pOther); - -#endif - }; class CBuckShotAmmo: public CBasePlayerAmmo @@ -55,15 +46,6 @@ public: virtual void Spawn(); virtual void Precache(); virtual BOOL AddAmmo(CBaseEntity *pOther); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - BOOL AddAmmo_(CBaseEntity *pOther); - -#endif - }; class C556NatoAmmo: public CBasePlayerAmmo @@ -72,15 +54,6 @@ public: virtual void Spawn(); virtual void Precache(); virtual BOOL AddAmmo(CBaseEntity *pOther); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - BOOL AddAmmo_(CBaseEntity *pOther); - -#endif - }; class C556NatoBoxAmmo: public CBasePlayerAmmo @@ -89,15 +62,6 @@ public: virtual void Spawn(); virtual void Precache(); virtual BOOL AddAmmo(CBaseEntity *pOther); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - BOOL AddAmmo_(CBaseEntity *pOther); - -#endif - }; class C762NatoAmmo: public CBasePlayerAmmo @@ -106,15 +70,6 @@ public: virtual void Spawn(); virtual void Precache(); virtual BOOL AddAmmo(CBaseEntity *pOther); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - BOOL AddAmmo_(CBaseEntity *pOther); - -#endif - }; class C45ACPAmmo: public CBasePlayerAmmo @@ -123,15 +78,6 @@ public: virtual void Spawn(); virtual void Precache(); virtual BOOL AddAmmo(CBaseEntity *pOther); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - BOOL AddAmmo_(CBaseEntity *pOther); - -#endif - }; class C50AEAmmo: public CBasePlayerAmmo @@ -140,15 +86,6 @@ public: virtual void Spawn(); virtual void Precache(); virtual BOOL AddAmmo(CBaseEntity *pOther); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - BOOL AddAmmo_(CBaseEntity *pOther); - -#endif - }; class C338MagnumAmmo: public CBasePlayerAmmo @@ -157,15 +94,6 @@ public: virtual void Spawn(); virtual void Precache(); virtual BOOL AddAmmo(CBaseEntity *pOther); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - BOOL AddAmmo_(CBaseEntity *pOther); - -#endif - }; class C57MMAmmo: public CBasePlayerAmmo @@ -174,14 +102,6 @@ public: virtual void Spawn(); virtual void Precache(); virtual BOOL AddAmmo(CBaseEntity *pOther); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - BOOL AddAmmo_(CBaseEntity *pOther); - -#endif }; class C357SIGAmmo: public CBasePlayerAmmo @@ -190,15 +110,6 @@ public: virtual void Spawn(); virtual void Precache(); virtual BOOL AddAmmo(CBaseEntity *pOther); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - BOOL AddAmmo_(CBaseEntity *pOther); - -#endif - }; #endif // AMMO_H diff --git a/regamedll/dlls/animation.h b/regamedll/dlls/animation.h index 6b42e4d0..eba96819 100644 --- a/regamedll/dlls/animation.h +++ b/regamedll/dlls/animation.h @@ -32,11 +32,11 @@ #pragma once #endif -#define NUM_BLENDING 9 +#define NUM_BLENDING 9 -#define ANIM_SWIM_1 8 -#define ANIM_SWIM_2 9 -#define ANIM_FIRST_DEATH_SEQUENCE 101 +#define ANIM_SWIM_1 8 +#define ANIM_SWIM_2 9 +#define ANIM_FIRST_DEATH_SEQUENCE 101 #include "monsterevent.h" diff --git a/regamedll/dlls/basemonster.h b/regamedll/dlls/basemonster.h index a82d440d..2de88d46 100644 --- a/regamedll/dlls/basemonster.h +++ b/regamedll/dlls/basemonster.h @@ -77,30 +77,6 @@ public: virtual BOOL FInViewCone(CBaseEntity *pEntity); virtual BOOL FInViewCone(const Vector *pOrigin); -#ifdef HOOK_GAMEDLL - - void KeyValue_(KeyValueData *pkvd); - void TraceAttack_(entvars_t *pevAttacker, float flDamage, Vector vecDir, TraceResult *ptr, int bitsDamageType); - BOOL TakeDamage_(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType); - BOOL TakeHealth_(float flHealth, int bitsDamageType); - void Killed_(entvars_t *pevAttacker, int iGib); - float ChangeYaw_(int speed); - BOOL HasHumanGibs_(); - BOOL HasAlienGibs_(); - void FadeMonster_(); - void GibMonster_(); - Activity GetDeathActivity_(); - void BecomeDead_(); - BOOL ShouldFadeOnDeath_(); - int IRelationship_(CBaseEntity *pTarget); - void MonsterInitDead_(); - void Look_(int iDistance); - CBaseEntity *BestVisibleEnemy_(); - BOOL FInViewCone_(CBaseEntity *pEntity); - BOOL FInViewCone_(const Vector *pOrigin); - -#endif - public: void MakeIdealYaw(Vector vecTarget); Activity GetSmallFlinchActivity(); @@ -134,7 +110,7 @@ public: public: Activity m_Activity; // what the monster is doing (animation) Activity m_IdealActivity; // monster should switch to this activity - int m_LastHitGroup; // the last body region that took damage + int m_LastHitGroup; // the last body region that took damage int m_bitsDamageType; // what types of damage has monster (player) taken byte m_rgbTimeBasedDamage[8]; @@ -144,10 +120,10 @@ public: int m_afMemory; float m_flNextAttack; // cannot attack again until this time - EHANDLE m_hEnemy; // the entity that the monster is fighting. + EHANDLE m_hEnemy; // the entity that the monster is fighting. EHANDLE m_hTargetEnt; // the entity that the monster is trying to reach float m_flFieldOfView; // width of monster's field of view ( dot product ) - int m_bloodColor; // color of blood particless + int m_bloodColor; // color of blood particless Vector m_HackedGunPos; // HACK until we can query end of gun Vector m_vecEnemyLKP; // last known position of enemy. (enemy's origin) }; diff --git a/regamedll/dlls/bmodels.cpp b/regamedll/dlls/bmodels.cpp index be68e285..7d16e459 100644 --- a/regamedll/dlls/bmodels.cpp +++ b/regamedll/dlls/bmodels.cpp @@ -36,7 +36,7 @@ Vector VecBModelOrigin(entvars_t *pevBModel) LINK_ENTITY_TO_CLASS(func_wall, CFuncWall, CCSFuncWall) -void CFuncWall::__MAKE_VHOOK(Spawn)() +void CFuncWall::Spawn() { pev->angles = g_vecZero; @@ -50,7 +50,7 @@ void CFuncWall::__MAKE_VHOOK(Spawn)() pev->flags |= FL_WORLDBRUSH; } -void CFuncWall::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CFuncWall::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (ShouldToggle(useType, int(pev->frame))) { @@ -60,7 +60,7 @@ void CFuncWall::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, LINK_ENTITY_TO_CLASS(func_wall_toggle, CFuncWallToggle, CCSFuncWallToggle) -void CFuncWallToggle::__MAKE_VHOOK(Spawn)() +void CFuncWallToggle::Spawn() { CFuncWall::Spawn(); @@ -94,7 +94,7 @@ BOOL CFuncWallToggle::IsOn() return TRUE; } -void CFuncWallToggle::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CFuncWallToggle::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { int status = IsOn(); @@ -109,7 +109,7 @@ void CFuncWallToggle::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pC LINK_ENTITY_TO_CLASS(func_conveyor, CFuncConveyor, CCSFuncConveyor) -void CFuncConveyor::__MAKE_VHOOK(Spawn)() +void CFuncConveyor::Spawn() { SetMovedir(pev); CFuncWall::Spawn(); @@ -148,7 +148,7 @@ void CFuncConveyor::UpdateSpeed(float speed) pev->rendercolor.z = (speedCode & 0xFF); } -void CFuncConveyor::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CFuncConveyor::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { pev->speed = -pev->speed; UpdateSpeed(pev->speed); @@ -156,7 +156,7 @@ void CFuncConveyor::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCal LINK_ENTITY_TO_CLASS(func_illusionary, CFuncIllusionary, CCSFuncIllusionary) -void CFuncIllusionary::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CFuncIllusionary::KeyValue(KeyValueData *pkvd) { // skin is used for content type if (FStrEq(pkvd->szKeyName, "skin")) @@ -168,7 +168,7 @@ void CFuncIllusionary::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CBaseToggle::KeyValue(pkvd); } -void CFuncIllusionary::__MAKE_VHOOK(Spawn)() +void CFuncIllusionary::Spawn() { pev->angles = g_vecZero; pev->movetype = MOVETYPE_NONE; @@ -186,7 +186,7 @@ void CFuncIllusionary::__MAKE_VHOOK(Spawn)() LINK_ENTITY_TO_CLASS(func_monsterclip, CFuncMonsterClip, CCSFuncMonsterClip) -void CFuncMonsterClip::__MAKE_VHOOK(Spawn)() +void CFuncMonsterClip::Spawn() { CFuncWall::Spawn(); @@ -201,7 +201,7 @@ void CFuncMonsterClip::__MAKE_VHOOK(Spawn)() LINK_ENTITY_TO_CLASS(func_rotating, CFuncRotating, CCSFuncRotating) IMPLEMENT_SAVERESTORE(CFuncRotating, CBaseEntity) -void CFuncRotating::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CFuncRotating::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "fanfriction")) { @@ -250,7 +250,7 @@ void CFuncRotating::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) // "dmg" damage to inflict when blocked (2 default) // REVERSE will cause the it to rotate in the opposite direction. -void CFuncRotating::__MAKE_VHOOK(Spawn)() +void CFuncRotating::Spawn() { #ifdef REGAMEDLL_FIXES m_angles = pev->angles; @@ -404,7 +404,7 @@ void CFuncRotating::Restart() } #endif -void CFuncRotating::__MAKE_VHOOK(Precache)() +void CFuncRotating::Precache() { char *szSoundFile = (char *)STRING(pev->message); @@ -652,7 +652,7 @@ void CFuncRotating::RotatingUse(CBaseEntity *pActivator, CBaseEntity *pCaller, U } // RotatingBlocked - An entity has blocked the brush -void CFuncRotating::__MAKE_VHOOK(Blocked)(CBaseEntity *pOther) +void CFuncRotating::Blocked(CBaseEntity *pOther) { pOther->TakeDamage(pev, pev, pev->dmg, DMG_CRUSH); } @@ -660,7 +660,7 @@ void CFuncRotating::__MAKE_VHOOK(Blocked)(CBaseEntity *pOther) LINK_ENTITY_TO_CLASS(func_pendulum, CPendulum, CCSPendulum) IMPLEMENT_SAVERESTORE(CPendulum, CBaseEntity) -void CPendulum::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CPendulum::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "distance")) { @@ -676,7 +676,7 @@ void CPendulum::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CBaseEntity::KeyValue(pkvd); } -void CPendulum::__MAKE_VHOOK(Spawn)() +void CPendulum::Spawn() { // set the axis of rotation CBaseToggle::AxisDir(pev); @@ -760,7 +760,7 @@ void CPendulum::Stop() pev->avelocity = g_vecZero; } -void CPendulum::__MAKE_VHOOK(Blocked)(CBaseEntity *pOther) +void CPendulum::Blocked(CBaseEntity *pOther) { m_time = gpGlobals->time; } @@ -816,7 +816,7 @@ void CPendulum::Swing() } } -void CPendulum::__MAKE_VHOOK(Touch)(CBaseEntity *pOther) +void CPendulum::Touch(CBaseEntity *pOther) { entvars_t *pevOther = pOther->pev; diff --git a/regamedll/dlls/bmodels.h b/regamedll/dlls/bmodels.h index 232713ff..99d6a73f 100644 --- a/regamedll/dlls/bmodels.h +++ b/regamedll/dlls/bmodels.h @@ -77,14 +77,6 @@ public: // Bmodels don't go across transitions virtual int ObjectCaps() { return CBaseEntity::ObjectCaps() & ~FCAP_ACROSS_TRANSITION; } virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - }; class CFuncWallToggle: public CFuncWall @@ -93,13 +85,6 @@ public: virtual void Spawn(); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: void TurnOff(); void TurnOn(); @@ -112,13 +97,6 @@ public: virtual void Spawn(); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: void UpdateSpeed(float speed); }; @@ -131,13 +109,6 @@ public: virtual void KeyValue(KeyValueData *pkvd); virtual int ObjectCaps() { return CBaseEntity::ObjectCaps() & ~FCAP_ACROSS_TRANSITION; } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - -#endif - public: void EXPORT SloshTouch(CBaseEntity *pOther); }; @@ -156,14 +127,6 @@ public: // Clear out func_wall's use function virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) {} - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - }; class CFuncRotating: public CBaseEntity @@ -182,17 +145,6 @@ public: virtual void Restart(); #endif -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Blocked_(CBaseEntity *pOther); - -#endif - public: void EXPORT SpinUp(); void EXPORT SpinDown(); @@ -227,17 +179,6 @@ public: virtual void Touch(CBaseEntity *pOther); virtual void Blocked(CBaseEntity *pOther); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Touch_(CBaseEntity *pOther); - void Blocked_(CBaseEntity *pOther); - -#endif - public: void EXPORT Swing(); void EXPORT PendulumUse(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); @@ -249,7 +190,7 @@ public: public: static TYPEDESCRIPTION IMPL(m_SaveData)[8]; - float m_accel; // Acceleration + float m_accel; // acceleration float m_distance; float m_time; float m_damp; diff --git a/regamedll/dlls/bot/cs_bot.cpp b/regamedll/dlls/bot/cs_bot.cpp index 755f403a..c53949ee 100644 --- a/regamedll/dlls/bot/cs_bot.cpp +++ b/regamedll/dlls/bot/cs_bot.cpp @@ -39,7 +39,7 @@ int GetBotFollowCount(CBasePlayer *leader) } // Change movement speed to walking -void CCSBot::__MAKE_VHOOK(Walk)() +void CCSBot::Walk() { if (m_mustRunTimer.IsElapsed()) { @@ -53,7 +53,7 @@ void CCSBot::__MAKE_VHOOK(Walk)() // Return true if jump was started. // This is extended from the base jump to disallow jumping when in a crouch area. -bool CCSBot::__MAKE_VHOOK(Jump)(bool mustJump) +bool CCSBot::Jump(bool mustJump) { // prevent jumping if we're crouched, unless we're in a crouchjump area - jump wins bool inCrouchJumpArea = (m_lastKnownArea && @@ -70,7 +70,7 @@ bool CCSBot::__MAKE_VHOOK(Jump)(bool mustJump) // Invoked when injured by something // NOTE: We dont want to directly call Attack() here, or the bots will have super-human reaction times when injured -BOOL CCSBot::__MAKE_VHOOK(TakeDamage)(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) +BOOL CCSBot::TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) { CBaseEntity *attacker = GetClassPtr((CBaseEntity *)pevInflictor); @@ -146,7 +146,7 @@ BOOL CCSBot::__MAKE_VHOOK(TakeDamage)(entvars_t *pevInflictor, entvars_t *pevAtt } // Invoked when killed -void CCSBot::__MAKE_VHOOK(Killed)(entvars_t *pevAttacker, int iGib) +void CCSBot::Killed(entvars_t *pevAttacker, int iGib) { PrintIfWatched("Killed( attacker = %s )\n", STRING(pevAttacker->netname)); diff --git a/regamedll/dlls/bot/cs_bot.h b/regamedll/dlls/bot/cs_bot.h index 3c51d8a8..8c2a0edc 100644 --- a/regamedll/dlls/bot/cs_bot.h +++ b/regamedll/dlls/bot/cs_bot.h @@ -80,13 +80,6 @@ public: virtual void OnEnter(CCSBot *me); virtual void OnUpdate(CCSBot *me); virtual const char *GetName() const { return "Idle"; } - -#ifdef HOOK_GAMEDLL - - void OnEnter_(CCSBot *me); - void OnUpdate_(CCSBot *me); - -#endif }; class HuntState: public BotState @@ -97,15 +90,8 @@ public: virtual void OnExit(CCSBot *me); virtual const char *GetName() const { return "Hunt"; } -#ifdef HOOK_GAMEDLL - - void OnEnter_(CCSBot *me); - void OnUpdate_(CCSBot *me); - void OnExit_(CCSBot *me); - -#endif - void ClearHuntArea() { m_huntArea = NULL; } + private: CNavArea *m_huntArea; }; @@ -118,14 +104,6 @@ public: virtual void OnExit(CCSBot *me); virtual const char *GetName() const { return "Attack"; } -#ifdef HOOK_GAMEDLL - - void OnEnter_(CCSBot *me); - void OnUpdate_(CCSBot *me); - void OnExit_(CCSBot *me); - -#endif - void SetCrouchAndHold(bool crouch) { m_crouchAndHold = crouch; } void StopAttacking(CCSBot *me); @@ -164,14 +142,6 @@ public: virtual void OnExit(CCSBot *me); virtual const char *GetName() const { return "InvestigateNoise"; } -#ifdef HOOK_GAMEDLL - - void OnEnter_(CCSBot *me); - void OnUpdate_(CCSBot *me); - void OnExit_(CCSBot *me); - -#endif - private: void AttendCurrentNoise(CCSBot *me); Vector m_checkNoisePosition; @@ -185,14 +155,6 @@ public: virtual void OnExit(CCSBot *me); virtual const char *GetName() const { return "Buy"; } -#ifdef HOOK_GAMEDLL - - void OnEnter_(CCSBot *me); - void OnUpdate_(CCSBot *me); - void OnExit_(CCSBot *me); - -#endif - private: bool m_isInitialDelay; int m_prefRetries; @@ -213,14 +175,6 @@ public: virtual void OnExit(CCSBot *me); virtual const char *GetName() const { return "MoveTo"; } -#ifdef HOOK_GAMEDLL - - void OnEnter_(CCSBot *me); - void OnUpdate_(CCSBot *me); - void OnExit_(CCSBot *me); - -#endif - void SetGoalPosition(const Vector &pos) { m_goalPosition = pos; } void SetRouteType(RouteType route) { m_routeType = route; } @@ -237,14 +191,6 @@ public: virtual void OnEnter(CCSBot *me); virtual void OnUpdate(CCSBot *me); virtual const char *GetName() const { return "FetchBomb"; } - -#ifdef HOOK_GAMEDLL - - void OnEnter_(CCSBot *me); - void OnUpdate_(CCSBot *me); - -#endif - }; class PlantBombState: public BotState @@ -254,15 +200,6 @@ public: virtual void OnUpdate(CCSBot *me); virtual void OnExit(CCSBot *me); virtual const char *GetName() const { return "PlantBomb"; } - -#ifdef HOOK_GAMEDLL - - void OnEnter_(CCSBot *me); - void OnUpdate_(CCSBot *me); - void OnExit_(CCSBot *me); - -#endif - }; class DefuseBombState: public BotState @@ -272,14 +209,6 @@ public: virtual void OnUpdate(CCSBot *me); virtual void OnExit(CCSBot *me); virtual const char *GetName() const { return "DefuseBomb"; } - -#ifdef HOOK_GAMEDLL - - void OnEnter_(CCSBot *me); - void OnUpdate_(CCSBot *me); - void OnExit_(CCSBot *me); - -#endif }; class HideState: public BotState @@ -290,14 +219,6 @@ public: virtual void OnExit(CCSBot *me); virtual const char *GetName() const { return "Hide"; } -#ifdef HOOK_GAMEDLL - - void OnEnter_(CCSBot *me); - void OnUpdate_(CCSBot *me); - void OnExit_(CCSBot *me); - -#endif - public: void SetHidingSpot(const Vector &pos) { m_hidingSpot = pos; } const Vector &GetHidingSpot() const { return m_hidingSpot; } @@ -333,15 +254,6 @@ public: virtual void OnUpdate(CCSBot *me); virtual void OnExit(CCSBot *me); virtual const char *GetName() const { return "EscapeFromBomb"; } - -#ifdef HOOK_GAMEDLL - - void OnEnter_(CCSBot *me); - void OnUpdate_(CCSBot *me); - void OnExit_(CCSBot *me); - -#endif - }; class FollowState: public BotState @@ -352,19 +264,9 @@ public: virtual void OnExit(CCSBot *me); virtual const char *GetName() const { return "Follow"; } -#ifdef HOOK_GAMEDLL - - void OnEnter_(CCSBot *me); - void OnUpdate_(CCSBot *me); - void OnExit_(CCSBot *me); - -#endif - void SetLeader(CBaseEntity *leader) { m_leader = leader; } -#ifndef HOOK_GAMEDLL private: -#endif void ComputeLeaderMotionState(float leaderSpeed); EHANDLE m_leader; @@ -402,14 +304,6 @@ public: virtual void OnExit(CCSBot *me); virtual const char *GetName() const { return "UseEntity"; } -#ifdef HOOK_GAMEDLL - - void OnEnter_(CCSBot *me); - void OnUpdate_(CCSBot *me); - void OnExit_(CCSBot *me); - -#endif - void SetEntity(CBaseEntity *entity) { m_entity = entity; } private: @@ -422,47 +316,27 @@ class CCSBot: public CBot public: CCSBot(); // constructor initializes all values to zero virtual BOOL TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType); // invoked when injured by something (EXTEND) - returns the amount of damage inflicted - virtual void Killed(entvars_t *pevAttacker, int iGib); // invoked when killed (EXTEND) + virtual void Killed(entvars_t *pevAttacker, int iGib); // invoked when killed (EXTEND) virtual void RoundRespawn(); - virtual void Blind(float duration, float holdTime, float fadeTime, int alpha = 255); // player blinded by a flashbang - virtual void OnTouchingWeapon(CWeaponBox *box); // invoked when in contact with a CWeaponBox + virtual void Blind(float duration, float holdTime, float fadeTime, int alpha = 255); // player blinded by a flashbang + virtual void OnTouchingWeapon(CWeaponBox *box); // invoked when in contact with a CWeaponBox - virtual bool Initialize(const BotProfile *profile); // (EXTEND) prepare bot for action + virtual bool Initialize(const BotProfile *profile); // (EXTEND) prepare bot for action virtual void SpawnBot(); // (EXTEND) spawn the bot into the game virtual void Upkeep(); // lightweight maintenance, invoked frequently virtual void Update(); // heavyweight algorithms, invoked less often virtual void Walk(); - virtual bool Jump(bool mustJump = false); // returns true if jump was started + virtual bool Jump(bool mustJump = false); // returns true if jump was started virtual void OnEvent(GameEventType event, CBaseEntity *entity = NULL, CBaseEntity *other = NULL); // invoked when event occurs in the game (some events have NULL entity) #define CHECK_FOV true - virtual bool IsVisible(const Vector *pos, bool testFOV = false) const; // return true if we can see the point - virtual bool IsVisible(CBasePlayer *player, bool testFOV = false, unsigned char *visParts = NULL) const; // return true if we can see any part of the player + virtual bool IsVisible(const Vector *pos, bool testFOV = false) const; // return true if we can see the point + virtual bool IsVisible(CBasePlayer *player, bool testFOV = false, unsigned char *visParts = NULL) const; // return true if we can see any part of the player - virtual bool IsEnemyPartVisible(VisiblePartType part) const; // if enemy is visible, return the part we see for our current enemy - -#ifdef HOOK_GAMEDLL - - bool Initialize_(const BotProfile *profile); - void SpawnBot_(); - void Upkeep_(); - void Update_(); - void Walk_(); - bool Jump_(bool mustJump); - void Blind_(float duration, float holdTime, float fadeTime, int alpha); - BOOL TakeDamage_(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType); - void Killed_(entvars_t *pevAttacker, int iGib); - void OnTouchingWeapon_(CWeaponBox *box); - void OnEvent_(GameEventType event, CBaseEntity *entity, CBaseEntity *other); - bool IsVisible_(const Vector *pos, bool testFOV) const; - bool IsVisible_(CBasePlayer *player, bool testFOV, unsigned char *visParts) const; - bool IsEnemyPartVisible_(VisiblePartType part) const; - void RoundRespawn_(); - -#endif + virtual bool IsEnemyPartVisible(VisiblePartType part) const; // if enemy is visible, return the part we see for our current enemy public: void Disconnect(); @@ -488,70 +362,70 @@ public: void Hide(const Vector *hidingSpot, float duration = -1.0f, bool holdPosition = false); // move to the given hiding place bool IsHiding() const; // returns true if bot is currently hiding - bool IsAtHidingSpot() const; // return true if we are hiding and at our hiding spot + bool IsAtHidingSpot() const; // return true if we are hiding and at our hiding spot bool TryToRetreat(); // retreat to a nearby hiding spot, away from enemies void Hunt(); - bool IsHunting() const; // returns true if bot is currently hunting + bool IsHunting() const; // returns true if bot is currently hunting void Attack(CBasePlayer *victim); - void FireWeaponAtEnemy(); // fire our active weapon towards our current enemy + void FireWeaponAtEnemy(); // fire our active weapon towards our current enemy void StopAttacking(); - bool IsAttacking() const; // returns true if bot is currently engaging a target + bool IsAttacking() const; // returns true if bot is currently engaging a target - void MoveTo(const Vector *pos, RouteType route = SAFEST_ROUTE); // move to potentially distant position - bool IsMovingTo() const; // return true if we are in the MoveTo state + void MoveTo(const Vector *pos, RouteType route = SAFEST_ROUTE); // move to potentially distant position + bool IsMovingTo() const; // return true if we are in the MoveTo state void PlantBomb(); void FetchBomb(); // bomb has been dropped - go get it - bool NoticeLooseBomb() const; // return true if we noticed the bomb on the ground or on radar - bool CanSeeLooseBomb() const; // return true if we directly see the loose bomb + bool NoticeLooseBomb() const; // return true if we noticed the bomb on the ground or on radar + bool CanSeeLooseBomb() const; // return true if we directly see the loose bomb bool IsCarryingBomb() const; void DefuseBomb(); - bool IsDefusingBomb() const; // returns true if bot is currently defusing the bomb - bool CanSeePlantedBomb() const; // return true if we directly see the planted bomb + bool IsDefusingBomb() const; // returns true if bot is currently defusing the bomb + bool CanSeePlantedBomb() const; // return true if we directly see the planted bomb void EscapeFromBomb(); - bool IsEscapingFromBomb() const; // return true if we are escaping from the bomb + bool IsEscapingFromBomb() const; // return true if we are escaping from the bomb void RescueHostages(); - void UseEntity(CBaseEntity *entity); // use the entity + void UseEntity(CBaseEntity *entity); // use the entity bool IsBuying() const; - void Panic(CBasePlayer *enemy); // look around in panic - void Follow(CBasePlayer *player); // begin following given Player - void ContinueFollowing(); // continue following our leader after finishing what we were doing - void StopFollowing(); // stop following - bool IsFollowing() const; // return true if we are following someone (not necessarily in the follow state) - CBasePlayer *GetFollowLeader(); // return the leader we are following - float GetFollowDuration() const; // return how long we've been following our leader - bool CanAutoFollow() const; // return true if we can auto-follow + void Panic(CBasePlayer *enemy); // look around in panic + void Follow(CBasePlayer *player); // begin following given Player + void ContinueFollowing(); // continue following our leader after finishing what we were doing + void StopFollowing(); // stop following + bool IsFollowing() const; // return true if we are following someone (not necessarily in the follow state) + CBasePlayer *GetFollowLeader(); // return the leader we are following + float GetFollowDuration() const; // return how long we've been following our leader + bool CanAutoFollow() const; // return true if we can auto-follow - bool IsNotMoving() const; // return true if we are currently standing still + bool IsNotMoving() const; // return true if we are currently standing still void AimAtEnemy(); // point our weapon towards our enemy void StopAiming(); // stop aiming at enemy - bool IsAimingAtEnemy() const; // returns true if we are trying to aim at an enemy + bool IsAimingAtEnemy() const; // returns true if we are trying to aim at an enemy - bool IsSurprised() const; // return true if we are "surprised" + bool IsSurprised() const; // return true if we are "surprised" float GetSurpriseDelay() const; void ClearSurpriseDelay(); - float GetStateTimestamp() const; // get time current state was entered + float GetStateTimestamp() const; // get time current state was entered - bool IsDoingScenario() const; // return true if we will do scenario-related tasks + bool IsDoingScenario() const; // return true if we will do scenario-related tasks // scenario / gamestate - CSGameState *GetGameState(); // return an interface to this bot's gamestate - const CSGameState *GetGameState() const; // return an interface to this bot's gamestate + CSGameState *GetGameState(); // return an interface to this bot's gamestate + const CSGameState *GetGameState() const; // return an interface to this bot's gamestate - bool IsAtBombsite(); // return true if we are in a bomb planting zone - bool GuardRandomZone(float range = 500.0f); // pick a random zone and hide near it + bool IsAtBombsite(); // return true if we are in a bomb planting zone + bool GuardRandomZone(float range = 500.0f); // pick a random zone and hide near it - bool IsBusy() const; // return true if we are busy doing something important + bool IsBusy() const; // return true if we are busy doing something important // high-level tasks enum TaskType @@ -587,7 +461,7 @@ public: // behavior modifiers enum DispositionType { - ENGAGE_AND_INVESTIGATE, // engage enemies on sight and investigate enemy noises + ENGAGE_AND_INVESTIGATE, // engage enemies on sight and investigate enemy noises OPPORTUNITY_FIRE, // engage enemies on sight, but only look towards enemy noises, dont investigate SELF_DEFENSE, // only engage if fired on, or very close to enemy IGNORE_ENEMIES, // ignore all enemies - useful for ducking around corners, running away, etc @@ -595,8 +469,8 @@ public: NUM_DISPOSITIONS }; - void SetDisposition(DispositionType disposition); // define how we react to enemies - DispositionType GetDisposition() const; // return enum describing current disposition + void SetDisposition(DispositionType disposition); // define how we react to enemies + DispositionType GetDisposition() const; // return enum describing current disposition void IgnoreEnemies(float duration); // ignore enemies for a short duration @@ -616,24 +490,24 @@ public: void DecreaseMorale(); // listening for noises - bool IsNoiseHeard() const; // return true if we have heard a noise + bool IsNoiseHeard() const; // return true if we have heard a noise bool ShouldInvestigateNoise(float *retNoiseDist = NULL); - void InvestigateNoise(); // investigate recent enemy noise - const Vector *GetNoisePosition() const; // return position of last heard noise, or NULL if none heard + void InvestigateNoise(); // investigate recent enemy noise + const Vector *GetNoisePosition() const; // return position of last heard noise, or NULL if none heard CNavArea *GetNoiseArea() const; // return area where noise was heard - void ForgetNoise(); // clear the last heard noise + void ForgetNoise(); // clear the last heard noise bool CanSeeNoisePosition() const; // return true if we directly see where we think the noise came from float GetNoiseRange() const; // return approximate distance to last noise heard - bool CanHearNearbyEnemyGunfire(float range = -1.0f) const; // return true if we hear nearby threatening enemy gunfire within given range (-1 == infinite) - PriorityType GetNoisePriority() const; // return priority of last heard noise + bool CanHearNearbyEnemyGunfire(float range = -1.0f) const; // return true if we hear nearby threatening enemy gunfire within given range (-1 == infinite) + PriorityType GetNoisePriority() const; // return priority of last heard noise // radio and chatter - void SendRadioMessage(GameEventType event); // send voice chatter + void SendRadioMessage(GameEventType event); // send voice chatter BotChatterInterface *GetChatter(); // return an interface to this bot's chatter system bool RespondToHelpRequest(CBasePlayer *them, Place place, float maxRange = -1.0f); // decide if we should move to help the player, return true if we will void StartVoiceFeedback(float duration); - bool IsUsingVoice() const; // new-style "voice" chatter gets voice feedback + bool IsUsingVoice() const; // new-style "voice" chatter gets voice feedback // enemies // BOTPORT: GetEnemy() collides with GetEnemy() in CBaseEntity - need to use different nomenclature @@ -642,32 +516,32 @@ public: CBasePlayer *GetEnemy(); int GetNearbyEnemyCount() const; // return max number of nearby enemies we've seen recently unsigned int GetEnemyPlace() const; // return location where we see the majority of our enemies - bool CanSeeBomber() const; // return true if we can see the bomb carrier + bool CanSeeBomber() const; // return true if we can see the bomb carrier CBasePlayer *GetBomber() const; int GetNearbyFriendCount() const; // return number of nearby teammates - CBasePlayer *GetClosestVisibleFriend() const; // return the closest friend that we can see - CBasePlayer *GetClosestVisibleHumanFriend() const; // return the closest human friend that we can see + CBasePlayer *GetClosestVisibleFriend() const; // return the closest friend that we can see + CBasePlayer *GetClosestVisibleHumanFriend() const; // return the closest human friend that we can see - bool IsOutnumbered() const; // return true if we are outnumbered by enemies + bool IsOutnumbered() const; // return true if we are outnumbered by enemies int OutnumberedCount() const; // return number of enemies we are outnumbered by #define ONLY_VISIBLE_ENEMIES true CBasePlayer *GetImportantEnemy(bool checkVisibility = false) const; // return the closest "important" enemy for the given scenario (bomb carrier, VIP, hostage escorter) - void UpdateReactionQueue(); // update our reaction time queue + void UpdateReactionQueue(); // update our reaction time queue CBasePlayer *GetRecognizedEnemy(); // return the most dangerous threat we are "conscious" of bool IsRecognizedEnemyReloading(); // return true if the enemy we are "conscious" of is reloading - bool IsRecognizedEnemyProtectedByShield(); // return true if the enemy we are "conscious" of is hiding behind a shield - float GetRangeToNearestRecognizedEnemy(); // return distance to closest enemy we are "conscious" of + bool IsRecognizedEnemyProtectedByShield(); // return true if the enemy we are "conscious" of is hiding behind a shield + float GetRangeToNearestRecognizedEnemy(); // return distance to closest enemy we are "conscious" of CBasePlayer *GetAttacker() const; // return last enemy that hurt us float GetTimeSinceAttacked() const; // return duration since we were last injured by an attacker - float GetFirstSawEnemyTimestamp() const; // time since we saw any enemies + float GetFirstSawEnemyTimestamp() const; // time since we saw any enemies float GetLastSawEnemyTimestamp() const; float GetTimeSinceLastSawEnemy() const; float GetTimeSinceAcquiredCurrentEnemy() const; - bool HasNotSeenEnemyForLongTime() const; // return true if we haven't seen an enemy for "a long time" + bool HasNotSeenEnemyForLongTime() const; // return true if we haven't seen an enemy for "a long time" const Vector &GetLastKnownEnemyPosition() const; bool IsEnemyVisible() const; // is our current enemy visible float GetEnemyDeathTimestamp() const; @@ -679,7 +553,7 @@ public: bool HasPath() const; void DestroyPath(); - float GetFeetZ() const; // return Z of bottom of feet + float GetFeetZ() const; // return Z of bottom of feet enum PathResult { @@ -688,12 +562,12 @@ public: PATH_FAILURE, // we failed to reach the end of the path }; #define NO_SPEED_CHANGE false - PathResult UpdatePathMovement(bool allowSpeedChange = true); // move along our computed path - if allowSpeedChange is true, bot will walk when near goal to ensure accuracy + PathResult UpdatePathMovement(bool allowSpeedChange = true); // move along our computed path - if allowSpeedChange is true, bot will walk when near goal to ensure accuracy bool AStarSearch(CNavArea *startArea, CNavArea *goalArea); // find shortest path from startArea to goalArea - don't actually buid the path - bool ComputePath(CNavArea *goalArea, const Vector *goal, RouteType route); // compute path to goal position + bool ComputePath(CNavArea *goalArea, const Vector *goal, RouteType route); // compute path to goal position bool StayOnNavMesh(); - CNavArea *GetLastKnownArea() const; // return the last area we know we were inside of + CNavArea *GetLastKnownArea() const; // return the last area we know we were inside of const Vector &GetPathEndpoint() const; // return final position of our current path float GetPathDistanceRemaining() const; // eturn estimated distance left to travel along path void ResetStuckMonitor(); @@ -701,38 +575,38 @@ public: const Vector &GetPathPosition(int numpath) const; bool GetSimpleGroundHeightWithFloor(const Vector *pos, float *height, Vector *normal = NULL); // find "simple" ground height, treating current nav area as part of the floor - Place GetPlace() const; // get our current radio chatter place + Place GetPlace() const; // get our current radio chatter place - bool IsUsingLadder() const; // returns true if we are in the process of negotiating a ladder + bool IsUsingLadder() const; // returns true if we are in the process of negotiating a ladder void GetOffLadder(); void SetGoalEntity(CBaseEntity *entity); CBaseEntity *GetGoalEntity(); - bool IsNearJump() const; // return true if nearing a jump in the path - float GetApproximateFallDamage(float height) const; // return how much damage will will take from the given fall height + bool IsNearJump() const; // return true if nearing a jump in the path + float GetApproximateFallDamage(float height) const; // return how much damage will will take from the given fall height - void ForceRun(float duration); // force the bot to run if it moves for the given duration - void Wiggle(); // random movement, for getting un-stuck + void ForceRun(float duration); // force the bot to run if it moves for the given duration + void Wiggle(); // random movement, for getting un-stuck - bool IsFriendInTheWay(const Vector *goalPos) const; // return true if a friend is between us and the given position - void FeelerReflexAdjustment(Vector *goalPosition); // do reflex avoidance movements if our "feelers" are touched + bool IsFriendInTheWay(const Vector *goalPos) const; // return true if a friend is between us and the given position + void FeelerReflexAdjustment(Vector *goalPosition); // do reflex avoidance movements if our "feelers" are touched // looking around void SetLookAngles(float yaw, float pitch); // set our desired look angles - void UpdateLookAngles(); // move actual view angles towards desired ones - void UpdateLookAround(bool updateNow = false); // update "looking around" mechanism + void UpdateLookAngles(); // move actual view angles towards desired ones + void UpdateLookAround(bool updateNow = false); // update "looking around" mechanism void InhibitLookAround(float duration); // block all "look at" and "looking around" behavior for given duration - just look ahead // TODO: Clean up notion of "forward angle" and "look ahead angle" - void SetForwardAngle(float angle); // define our forward facing + void SetForwardAngle(float angle); // define our forward facing void SetLookAheadAngle(float angle); // define default look ahead angle // look at the given point in space for the given duration (-1 means forever) void SetLookAt(const char *desc, const Vector *pos, PriorityType pri, float duration = -1.0f, bool clearIfClose = false, float angleTolerance = 5.0f); - void ClearLookAt(); // stop looking at a point in space and just look ahead + void ClearLookAt(); // stop looking at a point in space and just look ahead bool IsLookingAtSpot(PriorityType pri = PRIORITY_LOW) const; // return true if we are looking at spot with equal or higher priority - bool IsViewMoving(float angleVelThreshold = 1.0f) const; // returns true if bot's view angles are rotating (not still) + bool IsViewMoving(float angleVelThreshold = 1.0f) const; // returns true if bot's view angles are rotating (not still) const Vector &GetEyePosition() const { @@ -745,31 +619,31 @@ public: void ComputeApproachPoints(); // determine the set of "approach points" representing where the enemy can enter this region void UpdateApproachPoints(); // recompute the approach point set if we have moved far enough to invalidate the current ones void ClearApproachPoints(); - void DrawApproachPoints(); // for debugging + void DrawApproachPoints(); // for debugging float GetHidingSpotCheckTimestamp(HidingSpot *spot) const; // return time when given spot was last checked - void SetHidingSpotCheckTimestamp(HidingSpot *spot); // set the timestamp of the given spot to now + void SetHidingSpotCheckTimestamp(HidingSpot *spot); // set the timestamp of the given spot to now // weapon query and equip #define MUST_EQUIP true - void EquipBestWeapon(bool mustEquip = false); // equip the best weapon we are carrying that has ammo - void EquipPistol(); // equip our pistol - void EquipKnife(); // equip our knife + void EquipBestWeapon(bool mustEquip = false); // equip the best weapon we are carrying that has ammo + void EquipPistol(); // equip our pistol + void EquipKnife(); // equip our knife #define DONT_USE_SMOKE_GRENADE true - bool EquipGrenade(bool noSmoke = false); // equip a grenade, return false if we cant + bool EquipGrenade(bool noSmoke = false); // equip a grenade, return false if we cant bool IsUsingKnife() const; // returns true if we have knife equipped bool IsUsingPistol() const; // returns true if we have pistol equipped - bool IsUsingGrenade() const; // returns true if we have grenade equipped - bool IsUsingSniperRifle() const; // returns true if using a "sniper" rifle + bool IsUsingGrenade() const; // returns true if we have grenade equipped + bool IsUsingSniperRifle() const; // returns true if using a "sniper" rifle bool IsUsingAWP() const; // returns true if we have AWP equipped bool IsSniper() const; // return true if we have a sniper rifle in our inventory bool IsSniping() const; // return true if we are actively sniping (moving to sniper spot or settled in) - bool IsUsingShotgun() const; // returns true if using a shotgun - bool IsUsingMachinegun() const; // returns true if using the big 'ol machinegun - void ThrowGrenade(const Vector *target); // begin the process of throwing the grenade - bool IsThrowingGrenade() const; // return true if we are in the process of throwing a grenade + bool IsUsingShotgun() const; // returns true if using a shotgun + bool IsUsingMachinegun() const; // returns true if using the big 'ol machinegun + void ThrowGrenade(const Vector *target); // begin the process of throwing the grenade + bool IsThrowingGrenade() const; // return true if we are in the process of throwing a grenade bool HasGrenade() const; // return true if we have a grenade in our inventory bool DoesActiveWeaponHaveSilencer() const; @@ -779,34 +653,32 @@ public: bool IsRapidFiring() const; enum ZoomType { NO_ZOOM, LOW_ZOOM, HIGH_ZOOM }; - ZoomType GetZoomLevel() const; // return the current zoom level of our weapon + ZoomType GetZoomLevel() const; // return the current zoom level of our weapon - bool AdjustZoom(float range); // change our zoom level to be appropriate for the given range + bool AdjustZoom(float range); // change our zoom level to be appropriate for the given range - bool IsPrimaryWeaponEmpty() const; // return true if primary weapon doesn't exist or is totally out of ammo + bool IsPrimaryWeaponEmpty() const; // return true if primary weapon doesn't exist or is totally out of ammo bool IsPistolEmpty() const; // return true if secondary weapon doesn't exist or is totally out of ammo int GetHostageEscortCount() const; void IncreaseHostageEscortCount(); float GetRangeToFarthestEscortedHostage() const; void ResetWaitForHostagePatience(); - void ResetValues(); // reset internal data to initial state + void ResetValues(); // reset internal data to initial state void BotDeathThink(); CBasePlayer *FindNearbyPlayer(); void AdjustSafeTime(); // called when enemy seen to adjust safe time for this round void EXPORT BotTouch(CBaseEntity *other); bool HasAnyAmmo(CBasePlayerWeapon *weapon) const; -#ifndef HOOK_GAMEDLL private: -#endif friend class CCSBotManager; // TODO: Get rid of these friend class AttackState; friend class BuyState; - char m_name[64]; // copied from STRING(pev->netname) for debugging + char m_name[64]; // copied from STRING(pev->netname) for debugging // behavior properties float m_combatRange; // desired distance between us and them during gunplay @@ -814,21 +686,21 @@ private: mutable CountdownTimer m_rogueTimer; MoraleType m_morale; // our current morale, based on our win/loss history bool m_diedLastRound; // true if we died last round - float m_safeTime; // duration at the beginning of the round where we feel "safe" - bool m_wasSafe; // true if we were in the safe time last update - NavRelativeDirType m_blindMoveDir; // which way to move when we're blind - bool m_blindFire; // if true, fire weapon while blinded + float m_safeTime; // duration at the beginning of the round where we feel "safe" + bool m_wasSafe; // true if we were in the safe time last update + NavRelativeDirType m_blindMoveDir; // which way to move when we're blind + bool m_blindFire; // if true, fire weapon while blinded // TODO: implement through CountdownTimer float m_surpriseDelay; // when we were surprised float m_surpriseTimestamp; - bool m_isFollowing; // true if we are following someone - EHANDLE m_leader; // the ID of who we are following + bool m_isFollowing; // true if we are following someone + EHANDLE m_leader; // the ID of who we are following float m_followTimestamp; // when we started following - float m_allowAutoFollowTime; // time when we can auto follow + float m_allowAutoFollowTime; // time when we can auto follow - CountdownTimer m_hurryTimer; // if valid, bot is in a hurry + CountdownTimer m_hurryTimer; // if valid, bot is in a hurry // instances of each possible behavior state, to avoid dynamic memory allocation during runtime IdleState m_idleState; @@ -846,13 +718,13 @@ private: UseEntityState m_useEntityState; // TODO: Allow multiple simultaneous state machines (look around, etc) - void SetState(BotState *state); // set the current behavior state + void SetState(BotState *state); // set the current behavior state BotState *m_state; // current behavior state - float m_stateTimestamp; // time state was entered + float m_stateTimestamp; // time state was entered bool m_isAttacking; // if true, special Attack state is overriding the state machine TaskType m_task; // our current task - EHANDLE m_taskEntity; // an entity used for our task + EHANDLE m_taskEntity; // an entity used for our task // navigation Vector m_goalPosition; @@ -860,10 +732,10 @@ private: void MoveTowardsPosition(const Vector *pos); // move towards position, independant of view angle void MoveAwayFromPosition(const Vector *pos); // move away from position, independant of view angle void StrafeAwayFromPosition(const Vector *pos); // strafe (sidestep) away from position, independant of view angle - void StuckCheck(); // check if we have become stuck + void StuckCheck(); // check if we have become stuck - CNavArea *m_currentArea; // the nav area we are standing on - CNavArea *m_lastKnownArea; // the last area we were in + CNavArea *m_currentArea; // the nav area we are standing on + CNavArea *m_lastKnownArea; // the last area we were in EHANDLE m_avoid; // higher priority player we need to make way for float m_avoidTimestamp; bool m_isJumpCrouching; @@ -874,16 +746,16 @@ private: enum { MAX_PATH_LENGTH = 256 }; struct ConnectInfo { - CNavArea *area; // the area along the path + CNavArea *area; // the area along the path NavTraverseType how; // how to enter this area from the previous one - Vector pos; // our movement goal position at this point in the path + Vector pos; // our movement goal position at this point in the path const CNavLadder *ladder; // if "how" refers to a ladder, this is it } m_path[MAX_PATH_LENGTH]; int m_pathLength; int m_pathIndex; float m_areaEnteredTimestamp; - void BuildTrivialPath(const Vector *goal); // build trivial path to goal, assuming we are already in the same area + void BuildTrivialPath(const Vector *goal); // build trivial path to goal, assuming we are already in the same area bool FindGrenadeTossPathTarget(Vector *pos); CountdownTimer m_repathTimer; // must have elapsed before bot can pathfind again @@ -893,11 +765,11 @@ private: void SetPathIndex(int newIndex); // set the current index along the path void DrawPath(); int FindOurPositionOnPath(Vector *close, bool local = false) const; // compute the closest point to our current position on our path - int FindPathPoint(float aheadRange, Vector *point, int *prevIndex = NULL); // compute a point a fixed distance ahead along our path. + int FindPathPoint(float aheadRange, Vector *point, int *prevIndex = NULL); // compute a point a fixed distance ahead along our path. bool FindClosestPointOnPath(const Vector *worldPos, int startIndex, int endIndex, Vector *close) const; // compute closest point on path to given point - bool IsStraightLinePathWalkable(const Vector *goal) const; // test for un-jumpable height change, or unrecoverable fall + bool IsStraightLinePathWalkable(const Vector *goal) const; // test for un-jumpable height change, or unrecoverable fall - mutable CountdownTimer m_avoidFriendTimer; // used to throttle how often we check for friends in our path + mutable CountdownTimer m_avoidFriendTimer; // used to throttle how often we check for friends in our path mutable bool m_isFriendInTheWay; // true if a friend is blocking our path CountdownTimer m_politeTimer; // we'll wait for friend to move until this runs out bool m_isWaitingBehindFriend; // true if we are waiting for a friend to move @@ -913,23 +785,23 @@ private: FACE_DESCENDING_LADDER, MOUNT_ASCENDING_LADDER, // move toward ladder until "on" it MOUNT_DESCENDING_LADDER, // move toward ladder until "on" it - ASCEND_LADDER, // go up the ladder - DESCEND_LADDER, // go down the ladder + ASCEND_LADDER, // go up the ladder + DESCEND_LADDER, // go down the ladder DISMOUNT_ASCENDING_LADDER, // get off of the ladder DISMOUNT_DESCENDING_LADDER, // get off of the ladder MOVE_TO_DESTINATION, // dismount ladder and move to destination area } m_pathLadderState; - bool m_pathLadderFaceIn; // if true, face towards ladder, otherwise face away - const CNavLadder *m_pathLadder; // the ladder we need to use to reach the next area - bool UpdateLadderMovement(); // called by UpdatePathMovement() - NavRelativeDirType m_pathLadderDismountDir; // which way to dismount - float m_pathLadderDismountTimestamp; // time when dismount started - float m_pathLadderEnd; // if ascending, z of top, if descending z of bottom + bool m_pathLadderFaceIn; // if true, face towards ladder, otherwise face away + const CNavLadder *m_pathLadder; // the ladder we need to use to reach the next area + bool UpdateLadderMovement(); // called by UpdatePathMovement() + NavRelativeDirType m_pathLadderDismountDir; // which way to dismount + float m_pathLadderDismountTimestamp; // time when dismount started + float m_pathLadderEnd; // if ascending, z of top, if descending z of bottom void ComputeLadderEndpoint(bool isAscending); - float m_pathLadderTimestamp; // time when we started using ladder - for timeout check + float m_pathLadderTimestamp; // time when we started using ladder - for timeout check - CountdownTimer m_mustRunTimer; // if nonzero, bot cannot walk + CountdownTimer m_mustRunTimer; // if nonzero, bot cannot walk // game scenario mechanisms CSGameState m_gameState; @@ -947,32 +819,32 @@ private: float m_noiseTimestamp; // when we heard it (can get zeroed) CNavArea *m_noiseArea; // the nav area containing the noise float m_noiseCheckTimestamp; - PriorityType m_noisePriority; // priority of currently heard noise + PriorityType m_noisePriority; // priority of currently heard noise bool UpdateLookAtNoise(); // return true if we decided to look towards the most recent noise source bool m_isNoiseTravelRangeChecked; // "looking around" mechanism - float m_lookAroundStateTimestamp; // time of next state change + float m_lookAroundStateTimestamp; // time of next state change float m_lookAheadAngle; // our desired forward look angle float m_forwardAngle; // our current forward facing direction - float m_inhibitLookAroundTimestamp; // time when we can look around again + float m_inhibitLookAroundTimestamp; // time when we can look around again enum LookAtSpotState { - NOT_LOOKING_AT_SPOT, // not currently looking at a point in space + NOT_LOOKING_AT_SPOT, // not currently looking at a point in space LOOK_TOWARDS_SPOT, // in the process of aiming at m_lookAtSpot LOOK_AT_SPOT, // looking at m_lookAtSpot NUM_LOOK_AT_SPOT_STATES } m_lookAtSpotState; - Vector m_lookAtSpot; // the spot we're currently looking at + Vector m_lookAtSpot; // the spot we're currently looking at PriorityType m_lookAtSpotPriority; - float m_lookAtSpotDuration; // how long we need to look at the spot + float m_lookAtSpotDuration; // how long we need to look at the spot float m_lookAtSpotTimestamp; // when we actually began looking at the spot float m_lookAtSpotAngleTolerance; // how exactly we must look at the spot bool m_lookAtSpotClearIfClose; // if true, the look at spot is cleared if it gets close to us - const char *m_lookAtDesc; // for debugging + const char *m_lookAtDesc; // for debugging void UpdateLookAt(); void UpdatePeripheralVision(); // update enounter spot timestamps, etc float m_peripheralTimestamp; @@ -982,14 +854,14 @@ private: unsigned char m_approachPointCount; Vector m_approachPointViewPosition; // the position used when computing current approachPoint set - bool BendLineOfSight(const Vector *eye, const Vector *point, Vector *bend) const; // "bend" our line of sight until we can see the target point. Return bend point, false if cant bend. - bool FindApproachPointNearestPath(Vector *pos); // find the approach point that is nearest to our current path, ahead of us + bool BendLineOfSight(const Vector *eye, const Vector *point, Vector *bend) const; // "bend" our line of sight until we can see the target point. Return bend point, false if cant bend. + bool FindApproachPointNearestPath(Vector *pos); // find the approach point that is nearest to our current path, ahead of us bool m_isWaitingToTossGrenade; // lining up throw CountdownTimer m_tossGrenadeTimer; // timeout timer for grenade tossing SpotEncounter *m_spotEncounter; // the spots we will encounter as we move thru our current area - float m_spotCheckTimestamp; // when to check next encounter spot + float m_spotCheckTimestamp; // when to check next encounter spot // TODO: Add timestamp for each possible client to hiding spots enum { MAX_CHECKED_SPOTS = 64 }; @@ -1002,32 +874,32 @@ private: int m_checkedHidingSpotCount; // view angle mechanism - float m_lookPitch; // our desired look pitch angle + float m_lookPitch; // our desired look pitch angle float m_lookPitchVel; - float m_lookYaw; // our desired look yaw angle + float m_lookYaw; // our desired look yaw angle float m_lookYawVel; // aim angle mechanism mutable Vector m_eyePos; - Vector m_aimOffset; // current error added to victim's position to get actual aim spot + Vector m_aimOffset; // current error added to victim's position to get actual aim spot Vector m_aimOffsetGoal; // desired aim offset float m_aimOffsetTimestamp; // time of next offset adjustment float m_aimSpreadTimestamp; // time used to determine max spread as it begins to tighten up - void SetAimOffset(float accuracy); // set the current aim offset + void SetAimOffset(float accuracy); // set the current aim offset void UpdateAimOffset(); // wiggle aim error based on m_accuracy - Vector m_aimSpot; // the spot we are currently aiming to fire at + Vector m_aimSpot; // the spot we are currently aiming to fire at // attack state data - DispositionType m_disposition; // how we will react to enemies - CountdownTimer m_ignoreEnemiesTimer; // how long will we ignore enemies + DispositionType m_disposition; // how we will react to enemies + CountdownTimer m_ignoreEnemiesTimer; // how long will we ignore enemies mutable EHANDLE m_enemy; // our current enemy bool m_isEnemyVisible; // result of last visibility test on enemy - unsigned char m_visibleEnemyParts; // which parts of the visible enemy do we see + unsigned char m_visibleEnemyParts; // which parts of the visible enemy do we see Vector m_lastEnemyPosition; // last place we saw the enemy float m_lastSawEnemyTimestamp; float m_firstSawEnemyTimestamp; float m_currentEnemyAcquireTimestamp; - float m_enemyDeathTimestamp; // if m_enemy is dead, this is when he died + float m_enemyDeathTimestamp; // if m_enemy is dead, this is when he died bool m_isLastEnemyDead; // true if we killed or saw our last enemy die int m_nearbyEnemyCount; // max number of enemies we've seen recently unsigned int m_enemyPlace; // the location where we saw most of our enemies @@ -1038,22 +910,22 @@ private: bool isEnemy; } m_watchInfo[MAX_CLIENTS]; - mutable EHANDLE m_bomber; // points to bomber if we can see him + mutable EHANDLE m_bomber; // points to bomber if we can see him - int m_nearbyFriendCount; // number of nearby teammates + int m_nearbyFriendCount; // number of nearby teammates mutable EHANDLE m_closestVisibleFriend; // the closest friend we can see - mutable EHANDLE m_closestVisibleHumanFriend; // the closest human friend we can see + mutable EHANDLE m_closestVisibleHumanFriend; // the closest human friend we can see CBasePlayer *m_attacker; // last enemy that hurt us (may not be same as m_enemy) float m_attackedTimestamp; // when we were hurt by the m_attacker - int m_lastVictimID; // the entindex of the last victim we killed, or zero + int m_lastVictimID; // the entindex of the last victim we killed, or zero bool m_isAimingAtEnemy; // if true, we are trying to aim at our enemy bool m_isRapidFiring; // if true, RunUpkeep() will toggle our primary attack as fast as it can IntervalTimer m_equipTimer; // how long have we had our current weapon equipped - bool DoEquip(CBasePlayerWeapon *gun); // equip the given item + bool DoEquip(CBasePlayerWeapon *gun); // equip the given item - void ReloadCheck(); // reload our weapon if we must + void ReloadCheck(); // reload our weapon if we must void SilencerCheck(); // use silencer float m_fireWeaponTimestamp; @@ -1073,12 +945,12 @@ private: byte m_enemyQueueCount; byte m_enemyQueueAttendIndex; // index of the timeframe we are "conscious" of - CBasePlayer *FindMostDangerousThreat(); // return most dangerous threat in my field of view (feeds into reaction time queue) + CBasePlayer *FindMostDangerousThreat(); // return most dangerous threat in my field of view (feeds into reaction time queue) // stuck detection bool m_isStuck; float m_stuckTimestamp; // time when we got stuck - Vector m_stuckSpot; // the location where we became stuck + Vector m_stuckSpot; // the location where we became stuck NavRelativeDirType m_wiggleDirection; float m_wiggleTimestamp; float m_stuckJumpTimestamp; // time for next jump when stuck @@ -1090,16 +962,16 @@ private: Vector m_lastOrigin; // chatter mechanism - GameEventType m_lastRadioCommand; // last radio command we recieved + GameEventType m_lastRadioCommand; // last radio command we recieved void RespondToRadioCommands(); - bool IsRadioCommand(GameEventType event) const; // returns true if the radio message is an order to do something + bool IsRadioCommand(GameEventType event) const; // returns true if the radio message is an order to do something #define NO_FORCE false void EndVoiceFeedback(bool force = true); float m_lastRadioRecievedTimestamp; // time we recieved a radio message float m_lastRadioSentTimestamp; // time when we send a radio message - EHANDLE m_radioSubject; // who issued the radio message - Vector m_radioPosition; // position referred to in radio message + EHANDLE m_radioSubject; // who issued the radio message + Vector m_radioPosition; // position referred to in radio message float m_voiceFeedbackStartTimestamp; float m_voiceFeedbackEndTimestamp; // new-style "voice" chatter gets voice feedback BotChatterInterface m_chatter; diff --git a/regamedll/dlls/bot/cs_bot_chatter.cpp b/regamedll/dlls/bot/cs_bot_chatter.cpp index 6a902bdb..26c9b856 100644 --- a/regamedll/dlls/bot/cs_bot_chatter.cpp +++ b/regamedll/dlls/bot/cs_bot_chatter.cpp @@ -81,14 +81,14 @@ void BotMeme::Transmit(CCSBot *sender) const } // A teammate called for help - respond -void BotHelpMeme::__MAKE_VHOOK(Interpret)(CCSBot *sender, CCSBot *receiver) const +void BotHelpMeme::Interpret(CCSBot *sender, CCSBot *receiver) const { const float maxHelpRange = 3000.0f; // 2000 receiver->RespondToHelpRequest(sender, m_place, maxHelpRange); } // A teammate reported information about a bombsite -void BotBombsiteStatusMeme::__MAKE_VHOOK(Interpret)(CCSBot *sender, CCSBot *receiver) const +void BotBombsiteStatusMeme::Interpret(CCSBot *sender, CCSBot *receiver) const { // remember this bombsite's status if (m_status == CLEAR) @@ -108,7 +108,7 @@ void BotBombsiteStatusMeme::__MAKE_VHOOK(Interpret)(CCSBot *sender, CCSBot *rece } // A teammate reported information about the bomb -void BotBombStatusMeme::__MAKE_VHOOK(Interpret)(CCSBot *sender, CCSBot *receiver) const +void BotBombStatusMeme::Interpret(CCSBot *sender, CCSBot *receiver) const { // update our gamestate based on teammate's report switch (m_state) @@ -138,7 +138,7 @@ void BotBombStatusMeme::__MAKE_VHOOK(Interpret)(CCSBot *sender, CCSBot *receiver } // A teammate has asked that we follow him -void BotFollowMeme::__MAKE_VHOOK(Interpret)(CCSBot *sender, CCSBot *receiver) const +void BotFollowMeme::Interpret(CCSBot *sender, CCSBot *receiver) const { if (receiver->IsRogue()) return; @@ -164,7 +164,7 @@ void BotFollowMeme::__MAKE_VHOOK(Interpret)(CCSBot *sender, CCSBot *receiver) co } // A teammate has asked us to defend a place -void BotDefendHereMeme::__MAKE_VHOOK(Interpret)(CCSBot *sender, CCSBot *receiver) const +void BotDefendHereMeme::Interpret(CCSBot *sender, CCSBot *receiver) const { if (receiver->IsRogue()) return; @@ -195,7 +195,7 @@ void BotDefendHereMeme::__MAKE_VHOOK(Interpret)(CCSBot *sender, CCSBot *receiver } // A teammate has asked where the bomb is planted -void BotWhereBombMeme::__MAKE_VHOOK(Interpret)(CCSBot *sender, CCSBot *receiver) const +void BotWhereBombMeme::Interpret(CCSBot *sender, CCSBot *receiver) const { int zone = receiver->GetGameState()->GetPlantedBombsite(); @@ -204,13 +204,13 @@ void BotWhereBombMeme::__MAKE_VHOOK(Interpret)(CCSBot *sender, CCSBot *receiver) } // A teammate has asked us to report in -void BotRequestReportMeme::__MAKE_VHOOK(Interpret)(CCSBot *sender, CCSBot *receiver) const +void BotRequestReportMeme::Interpret(CCSBot *sender, CCSBot *receiver) const { receiver->GetChatter()->ReportingIn(); } // A teammate told us all the hostages are gone -void BotAllHostagesGoneMeme::__MAKE_VHOOK(Interpret)(CCSBot *sender, CCSBot *receiver) const +void BotAllHostagesGoneMeme::Interpret(CCSBot *sender, CCSBot *receiver) const { receiver->GetGameState()->AllHostagesGone(); @@ -219,7 +219,7 @@ void BotAllHostagesGoneMeme::__MAKE_VHOOK(Interpret)(CCSBot *sender, CCSBot *rec } // A teammate told us a CT is talking to a hostage -void BotHostageBeingTakenMeme::__MAKE_VHOOK(Interpret)(CCSBot *sender, CCSBot *receiver) const +void BotHostageBeingTakenMeme::Interpret(CCSBot *sender, CCSBot *receiver) const { receiver->GetGameState()->HostageWasTaken(); diff --git a/regamedll/dlls/bot/cs_bot_chatter.h b/regamedll/dlls/bot/cs_bot_chatter.h index 6cf337da..d941f1ad 100644 --- a/regamedll/dlls/bot/cs_bot_chatter.h +++ b/regamedll/dlls/bot/cs_bot_chatter.h @@ -32,10 +32,10 @@ #pragma once #endif -#define UNDEFINED_COUNT 0xFFFF -#define MAX_PLACES_PER_MAP 64 -#define UNDEFINED_SUBJECT (-1) -#define COUNT_MANY 4 // equal to or greater than this is "many" +#define UNDEFINED_COUNT 0xFFFF +#define MAX_PLACES_PER_MAP 64 +#define UNDEFINED_SUBJECT (-1) +#define COUNT_MANY 4 // equal to or greater than this is "many" class CCSBot; class BotChatterInterface; @@ -48,7 +48,7 @@ typedef unsigned int CountCriteria; class BotMeme { public: - void Transmit(CCSBot *sender) const; // transmit meme to other bots + void Transmit(CCSBot *sender) const; // transmit meme to other bots virtual ~BotMeme(){} virtual void Interpret(CCSBot *sender, CCSBot *receiver) const = 0; // cause the given bot to act on this meme @@ -58,26 +58,12 @@ class BotAllHostagesGoneMeme: public BotMeme { public: virtual void Interpret(CCSBot *sender, CCSBot *receiver) const; // cause the given bot to act on this meme - -#ifdef HOOK_GAMEDLL - - void Interpret_(CCSBot *sender, CCSBot *receiver) const; - -#endif - }; class BotHostageBeingTakenMeme: public BotMeme { public: virtual void Interpret(CCSBot *sender, CCSBot *receiver) const; // cause the given bot to act on this meme - -#ifdef HOOK_GAMEDLL - - void Interpret_(CCSBot *sender, CCSBot *receiver) const; - -#endif - }; class BotHelpMeme: public BotMeme @@ -89,12 +75,6 @@ public: } virtual void Interpret(CCSBot *sender, CCSBot *receiver) const; // cause the given bot to act on this meme -#ifdef HOOK_GAMEDLL - - void Interpret_(CCSBot *sender, CCSBot *receiver) const; - -#endif - private: Place m_place; }; @@ -104,28 +84,22 @@ class BotBombsiteStatusMeme: public BotMeme public: enum StatusType { CLEAR, PLANTED }; - BotBombsiteStatusMeme(int zoneIndex, StatusType status) + BotBombsiteStatusMeme(int zoneIndex = 0, StatusType status = CLEAR) { m_zoneIndex = zoneIndex; m_status = status; } virtual void Interpret(CCSBot *sender, CCSBot *receiver) const; // cause the given bot to act on this meme -#ifdef HOOK_GAMEDLL - - void Interpret_(CCSBot *sender, CCSBot *receiver) const; - -#endif - private: - int m_zoneIndex; // the bombsite + int m_zoneIndex; // the bombsite StatusType m_status; // whether it is cleared or the bomb is there (planted) }; class BotBombStatusMeme: public BotMeme { public: - BotBombStatusMeme(CSGameState::BombState state, const Vector &pos) + BotBombStatusMeme(CSGameState::BombState state = CSGameState::MOVING, const Vector &pos = nullptr) { m_state = state; m_pos = pos; @@ -134,12 +108,6 @@ public: public: virtual void Interpret(CCSBot *sender, CCSBot *receiver) const; // cause the given bot to act on this meme -#ifdef HOOK_GAMEDLL - - void Interpret_(CCSBot *sender, CCSBot *receiver) const; - -#endif - private: CSGameState::BombState m_state; Vector m_pos; @@ -149,28 +117,16 @@ class BotFollowMeme: public BotMeme { public: virtual void Interpret(CCSBot *sender, CCSBot *receiver) const; // cause the given bot to act on this meme - -#ifdef HOOK_GAMEDLL - - void Interpret_(CCSBot *sender, CCSBot *receiver) const; - -#endif }; class BotDefendHereMeme: public BotMeme { public: - BotDefendHereMeme(const Vector &pos) + BotDefendHereMeme(const Vector &pos = nullptr) { m_pos = pos; } - virtual void Interpret(CCSBot *sender, CCSBot *receiver) const; // cause the given bot to act on this meme - -#ifdef HOOK_GAMEDLL - - void Interpret_(CCSBot *sender, CCSBot *receiver) const; - -#endif + virtual void Interpret(CCSBot *sender, CCSBot *receiver) const; // cause the given bot to act on this meme private: Vector m_pos; @@ -180,25 +136,12 @@ class BotWhereBombMeme: public BotMeme { public: virtual void Interpret(CCSBot *sender, CCSBot *receiver) const; // cause the given bot to act on this meme - -#ifdef HOOK_GAMEDLL - - void Interpret_(CCSBot *sender, CCSBot *receiver) const; - -#endif }; class BotRequestReportMeme: public BotMeme { public: virtual void Interpret(CCSBot *sender, CCSBot *receiver) const; // cause the given bot to act on this meme - -#ifdef HOOK_GAMEDLL - - void Interpret_(CCSBot *sender, CCSBot *receiver) const; - -#endif - }; enum BotStatementType @@ -214,7 +157,7 @@ enum BotStatementType REPORT_MY_PLAN, REPORT_INFORMATION, REPORT_EMOTE, - REPORT_ACKNOWLEDGE, // affirmative or negative + REPORT_ACKNOWLEDGE, // affirmative or negative REPORT_ENEMIES_REMAINING, REPORT_FRIENDLY_FIRE, REPORT_KILLED_FRIEND, @@ -244,12 +187,12 @@ typedef std::STD_VECTOR BotVoiceBankVector; class BotPhrase { public: - char *GetSpeakable(int bankIndex, float *duration = NULL) const; // return a random speakable and its duration in seconds that meets the current criteria + char *GetSpeakable(int bankIndex, float *duration = nullptr) const; // return a random speakable and its duration in seconds that meets the current criteria // NOTE: Criteria must be set just before the GetSpeakable() call, since they are shared among all bots void ClearCriteria() const; - void SetPlaceCriteria(PlaceCriteria place) const; // all returned phrases must have this place criteria - void SetCountCriteria(CountCriteria count) const; // all returned phrases must have this count criteria + void SetPlaceCriteria(PlaceCriteria place) const; // all returned phrases must have this place criteria + void SetCountCriteria(CountCriteria count) const; // all returned phrases must have this count criteria const char *GetName() const { return m_name; } Place GetID() const { return m_id; } @@ -257,26 +200,23 @@ public: bool IsImportant() const { return m_isImportant; } // return true if this phrase is part of an important statement bool IsPlace() const { return m_isPlace; } - void Randomize(); // randomly shuffle the speakable order + void Randomize(); // randomly shuffle the speakable order -#ifndef HOOK_GAMEDLL private: -#endif - friend class BotPhraseManager; BotPhrase(unsigned int id, bool isPlace); ~BotPhrase(); char *m_name; Place m_id; - bool m_isPlace; // true if this is a Place phrase + bool m_isPlace; // true if this is a Place phrase GameEventType m_radioEvent; - bool m_isImportant; // mission-critical statement + bool m_isImportant; // mission-critical statement - mutable BotVoiceBankVector m_voiceBank; // array of voice banks (arrays of speakables) + mutable BotVoiceBankVector m_voiceBank; // array of voice banks (arrays of speakables) std::STD_VECTOR m_count; // number of speakables - mutable std::STD_VECTOR< int > m_index; // index of next speakable to return - int m_numVoiceBanks; // number of voice banks that have been initialized + mutable std::STD_VECTOR< int > m_index; // index of next speakable to return + int m_numVoiceBanks; // number of voice banks that have been initialized void InitVoiceBank(int bankIndex); // sets up the vector of voice banks for the first bankIndex voice banks mutable PlaceCriteria m_placeCriteria; @@ -336,10 +276,7 @@ public: // set time of last statement of given type was emitted by a teammate for the given place void ResetPlaceStatementInterval(Place place) const; -#ifndef HOOK_GAMEDLL private: -#endif - int FindPlaceIndex(Place where) const; // master list of all phrase collections @@ -414,25 +351,25 @@ public: CCSBot *GetOwner() const; BotStatementType GetType() const { return m_type; } // return the type of statement this is - bool IsImportant() const; // return true if this statement is "important" and not personality chatter + bool IsImportant() const; // return true if this statement is "important" and not personality chatter bool HasSubject() const { return (m_subject != UNDEFINED_SUBJECT); } - void SetSubject(int playerID) { m_subject = playerID; } // who this statement is about + void SetSubject(int playerID) { m_subject = playerID; } // who this statement is about int GetSubject() const { return m_subject; } // who this statement is about bool HasPlace() const { return (GetPlace()) ? true : false; } - Place GetPlace() const; // if this statement refers to a specific place, return that place + Place GetPlace() const; // if this statement refers to a specific place, return that place void SetPlace(Place where) { m_place = where; } // explicitly set place - bool HasCount() const; // return true if this statement has an associated count + bool HasCount() const; // return true if this statement has an associated count bool IsRedundant(const BotStatement *say) const; // return true if this statement is the same as the given one - bool IsObsolete() const; // return true if this statement is no longer appropriate to say - void Convert(const BotStatement *say); // possibly change what were going to say base on what teammate is saying + bool IsObsolete() const; // return true if this statement is no longer appropriate to say + void Convert(const BotStatement *say); // possibly change what were going to say base on what teammate is saying void AppendPhrase(const BotPhrase *phrase); - void SetStartTime(float timestamp) { m_startTime = timestamp; } // define the earliest time this statement can be spoken + void SetStartTime(float timestamp) { m_startTime = timestamp; } // define the earliest time this statement can be spoken float GetStartTime() const { return m_startTime; } enum ConditionType @@ -444,7 +381,7 @@ public: }; void AddCondition(ConditionType condition); // conditions must be true for the statement to be spoken - bool IsValid() const; // verify all attached conditions + bool IsValid() const; // verify all attached conditions enum ContextType { @@ -456,20 +393,18 @@ public: }; void AppendPhrase(ContextType contextPhrase); // special phrases that depend on the context - bool Update(); // emit statement over time, return false if statement is done + bool Update(); // emit statement over time, return false if statement is done bool IsSpeaking() const { return m_isSpeaking; } // return true if this statement is currently being spoken float GetTimestamp() const { return m_timestamp; } // get time statement was created (but not necessarily started talking) - void AttachMeme(BotMeme *meme); // attach a meme to this statement, to be transmitted to other friendly bots when spoken + void AttachMeme(BotMeme *meme); // attach a meme to this statement, to be transmitted to other friendly bots when spoken public: friend class BotChatterInterface; - BotChatterInterface *m_chatter; // the chatter system this statement is part of - - BotStatement *m_next, *m_prev; // linked list hooks - - BotStatementType m_type; // what kind of statement this is + BotChatterInterface *m_chatter; // the chatter system this statement is part of + BotStatement *m_next, *m_prev; // linked list hooks + BotStatementType m_type; // what kind of statement this is int m_subject; // who this subject is about Place m_place; // explicit place - note some phrases have implicit places as well BotMeme *m_meme; // a statement can only have a single meme for now @@ -477,7 +412,7 @@ public: float m_timestamp; // time when message was created float m_startTime; // the earliest time this statement can be spoken float m_expireTime; // time when this statement is no longer valid - float m_speakTimestamp; // time when message began being spoken + float m_speakTimestamp; // time when message began being spoken bool m_isSpeaking; // true if this statement is current being spoken float m_nextTime; // time for next phrase to begin @@ -523,18 +458,18 @@ public: NORMAL, // full chatter MINIMAL, // only scenario-critical events RADIO, // use the standard radio instead - OFF // no chatter at all + OFF // no chatter at all }; VerbosityType GetVerbosity() const; // return our current level of verbosity CCSBot *GetOwner() const { return m_me; } - bool IsTalking() const; // return true if we are currently talking + bool IsTalking() const; // return true if we are currently talking float GetRadioSilenceDuration(); // return time since any teammate said anything void ResetRadioSilenceDuration(); enum { MUST_ADD = 1 }; void AddStatement(BotStatement *statement, bool mustAdd = false); // register a statement for speaking - void RemoveStatement(BotStatement *statement); // remove a statement + void RemoveStatement(BotStatement *statement); // remove a statement BotStatement *GetActiveStatement(); // returns the statement that is being spoken, or is next to be spoken if no-one is speaking now BotStatement *GetStatement() const; // returns our current statement, or NULL if we aren't speaking @@ -590,20 +525,17 @@ public: bool SeesAtLeastOneEnemy() const { return m_seeAtLeastOneEnemy; } -#ifndef HOOK_GAMEDLL private: -#endif - - BotStatement *m_statementList; // list of all active/pending messages for this bot - void ReportEnemies(); // track nearby enemy count and generate enemy activity statements - bool ShouldSpeak() const; // return true if we speaking makes sense now + BotStatement *m_statementList; // list of all active/pending messages for this bot + void ReportEnemies(); // track nearby enemy count and generate enemy activity statements + bool ShouldSpeak() const; // return true if we speaking makes sense now CCSBot *m_me; // the bot this chatter is for bool m_seeAtLeastOneEnemy; float m_timeWhenSawFirstEnemy; bool m_reportedEnemies; - bool m_requestedBombLocation; // true if we already asked where the bomb has been planted + bool m_requestedBombLocation; // true if we already asked where the bomb has been planted int m_pitch; @@ -616,14 +548,14 @@ private: CountdownTimer m_spottedLooseBombTimer; CountdownTimer m_heardNoiseTimer; CountdownTimer m_escortingHostageTimer; - static CountdownTimer IMPL(m_encourageTimer); // timer to know when we can "encourage" the human player again - shared by all bots + static CountdownTimer IMPL(m_encourageTimer); // timer to know when we can "encourage" the human player again - shared by all bots }; inline BotChatterInterface::VerbosityType BotChatterInterface::GetVerbosity() const { const char *string = cv_bot_chatter.string; - if (string == NULL) + if (string == nullptr) return NORMAL; if (string[0] == 'm' || string[0] == 'M') @@ -640,8 +572,7 @@ inline BotChatterInterface::VerbosityType BotChatterInterface::GetVerbosity() co inline bool BotChatterInterface::IsTalking() const { - if (m_statementList != NULL) - { + if (m_statementList) { return m_statementList->IsSpeaking(); } diff --git a/regamedll/dlls/bot/cs_bot_event.cpp b/regamedll/dlls/bot/cs_bot_event.cpp index 6a069271..9d6f4ad9 100644 --- a/regamedll/dlls/bot/cs_bot_event.cpp +++ b/regamedll/dlls/bot/cs_bot_event.cpp @@ -1,6 +1,6 @@ #include "precompiled.h" -void CCSBot::__MAKE_VHOOK(OnEvent)(GameEventType event, CBaseEntity *entity, CBaseEntity *other) +void CCSBot::OnEvent(GameEventType event, CBaseEntity *entity, CBaseEntity *other) { GetGameState()->OnEvent(event, entity, other); GetChatter()->OnEvent(event, entity, other); @@ -113,7 +113,7 @@ void CCSBot::__MAKE_VHOOK(OnEvent)(GameEventType event, CBaseEntity *entity, CBa // allow us to sneak past windows, doors, etc IgnoreEnemies(1.0f); - // move to last known position of enemy - this could cause us to flank if + // move to last known position of enemy - this could cause us to flank if // the danger has changed due to our teammate's recent death SetTask(MOVE_TO_LAST_KNOWN_ENEMY_POSITION, GetEnemy()); MoveTo(&GetLastKnownEnemyPosition()); @@ -133,7 +133,7 @@ void CCSBot::__MAKE_VHOOK(OnEvent)(GameEventType event, CBaseEntity *entity, CBa GetChatter()->EnemiesRemaining(); if (IsVisible(&victim->pev->origin, CHECK_FOV)) - { + { // congratulate teammates on their kills if (killer != this) { diff --git a/regamedll/dlls/bot/cs_bot_init.cpp b/regamedll/dlls/bot/cs_bot_init.cpp index 419150a4..7ece1b9d 100644 --- a/regamedll/dlls/bot/cs_bot_init.cpp +++ b/regamedll/dlls/bot/cs_bot_init.cpp @@ -111,7 +111,7 @@ CCSBot::CCSBot() : m_chatter(this), m_gameState(this) } // Prepare bot for action -bool CCSBot::__MAKE_VHOOK(Initialize)(const BotProfile *profile) +bool CCSBot::Initialize(const BotProfile *profile) { // extend CBot::Initialize(profile); @@ -292,7 +292,7 @@ void CCSBot::ResetValues() // Called when bot is placed in map, and when bots are reset after a round ends. // NOTE: For some reason, this can be called twice when a bot is added. -void CCSBot::__MAKE_VHOOK(SpawnBot)() +void CCSBot::SpawnBot() { TheCSBots()->ValidateMapData(); ResetValues(); @@ -309,7 +309,7 @@ void CCSBot::__MAKE_VHOOK(SpawnBot)() } } -void CCSBot::__MAKE_VHOOK(RoundRespawn)() +void CCSBot::RoundRespawn() { // do the normal player spawn process CBasePlayer::RoundRespawn(); diff --git a/regamedll/dlls/bot/cs_bot_manager.cpp b/regamedll/dlls/bot/cs_bot_manager.cpp index f6bd00a3..ddd5a63c 100644 --- a/regamedll/dlls/bot/cs_bot_manager.cpp +++ b/regamedll/dlls/bot/cs_bot_manager.cpp @@ -87,7 +87,7 @@ CCSBotManager::CCSBotManager() } // Invoked when a new round begins -void CCSBotManager::__MAKE_VHOOK(RestartRound)() +void CCSBotManager::RestartRound() { // extend CBotManager::RestartRound(); @@ -168,7 +168,7 @@ void UTIL_DrawBox(Extent *extent, int lifetime, int red, int green, int blue) // Called each frame -void CCSBotManager::__MAKE_VHOOK(StartFrame)() +void CCSBotManager::StartFrame() { // EXTEND CBotManager::StartFrame(); @@ -242,7 +242,7 @@ bool CCSBotManager::IsOnOffense(CBasePlayer *player) const } // Invoked when a map has just been loaded -void CCSBotManager::__MAKE_VHOOK(ServerActivate)() +void CCSBotManager::ServerActivate() { DestroyNavigationMap(); IMPL(m_isMapDataLoaded) = false; @@ -262,12 +262,12 @@ void CCSBotManager::__MAKE_VHOOK(ServerActivate)() TheBotPhrases->OnMapChange(); } -void CCSBotManager::__MAKE_VHOOK(AddServerCommand)(const char *cmd) +void CCSBotManager::AddServerCommand(const char *cmd) { ADD_SERVER_COMMAND((char *)cmd, Bot_ServerCommand); } -void CCSBotManager::__MAKE_VHOOK(AddServerCommands)() +void CCSBotManager::AddServerCommands() { static bool fFirstTime = true; @@ -322,12 +322,12 @@ void CCSBotManager::__MAKE_VHOOK(AddServerCommands)() AddServerCommand("bot_nav_check_consistency"); } -void CCSBotManager::__MAKE_VHOOK(ServerDeactivate)() +void CCSBotManager::ServerDeactivate() { m_bServerActive = false; } -void CCSBotManager::__MAKE_VHOOK(ClientDisconnect)(CBasePlayer *pPlayer) +void CCSBotManager::ClientDisconnect(CBasePlayer *pPlayer) { if (!pPlayer || !pPlayer->IsBot()) return; @@ -362,7 +362,7 @@ void PrintAllEntities() } } -void CCSBotManager::__MAKE_VHOOK(ServerCommand)(const char *pcmd) +void CCSBotManager::ServerCommand(const char *pcmd) { if (!m_bServerActive || !AreBotsAllowed()) return; @@ -756,7 +756,7 @@ void CCSBotManager::__MAKE_VHOOK(ServerCommand)(const char *pcmd) } } -BOOL CCSBotManager::__MAKE_VHOOK(ClientCommand)(CBasePlayer *pPlayer, const char *pcmd) +BOOL CCSBotManager::ClientCommand(CBasePlayer *pPlayer, const char *pcmd) { #ifndef REGAMEDLL_FIXES if (pPlayer && UTIL_GetLocalPlayer()) @@ -1319,7 +1319,7 @@ CNavArea *CCSBotManager::GetRandomAreaInZone(const Zone *zone) const return zone->m_area[ RANDOM_LONG(0, zone->m_areaCount - 1) ]; } -void CCSBotManager::__MAKE_VHOOK(OnEvent)(GameEventType event, CBaseEntity *entity, CBaseEntity *other) +void CCSBotManager::OnEvent(GameEventType event, CBaseEntity *entity, CBaseEntity *other) { switch (event) { @@ -1380,7 +1380,7 @@ void CCSBotManager::SetLooseBomb(CBaseEntity *bomb) } // Return true if player is important to scenario (VIP, bomb carrier, etc) -bool CCSBotManager::__MAKE_VHOOK(IsImportantPlayer)(CBasePlayer *player) const +bool CCSBotManager::IsImportantPlayer(CBasePlayer *player) const { switch (GetScenario()) { @@ -1411,7 +1411,7 @@ bool CCSBotManager::__MAKE_VHOOK(IsImportantPlayer)(CBasePlayer *player) const } // Return priority of player (0 = max pri) -unsigned int CCSBotManager::__MAKE_VHOOK(GetPlayerPriority)(CBasePlayer *player) const +unsigned int CCSBotManager::GetPlayerPriority(CBasePlayer *player) const { const unsigned int lowestPriority = 0xFFFFFFFF; diff --git a/regamedll/dlls/bot/cs_bot_manager.h b/regamedll/dlls/bot/cs_bot_manager.h index 2eaeda7b..e27932bb 100644 --- a/regamedll/dlls/bot/cs_bot_manager.h +++ b/regamedll/dlls/bot/cs_bot_manager.h @@ -50,29 +50,12 @@ public: virtual void AddServerCommand(const char *cmd); virtual void AddServerCommands(); - virtual void RestartRound(); // (EXTEND) invoked when a new round begins - virtual void StartFrame(); // (EXTEND) called each frame + virtual void RestartRound(); // (EXTEND) invoked when a new round begins + virtual void StartFrame(); // (EXTEND) called each frame - virtual void OnEvent(GameEventType event, CBaseEntity *entity = NULL, CBaseEntity *other = NULL); - virtual unsigned int GetPlayerPriority(CBasePlayer *player) const; // return priority of player (0 = max pri) - virtual bool IsImportantPlayer(CBasePlayer *player) const; // return true if player is important to scenario (VIP, bomb carrier, etc) - -#ifdef HOOK_GAMEDLL - - void ClientDisconnect_(CBasePlayer *pPlayer); - BOOL ClientCommand_(CBasePlayer *pPlayer, const char *pcmd); - void ServerActivate_(); - void ServerDeactivate_(); - void ServerCommand_(const char *pcmd); - void AddServerCommand_(const char *cmd); - void AddServerCommands_(); - void RestartRound_(); - void StartFrame_(); - void OnEvent_(GameEventType event, CBaseEntity *entity, CBaseEntity *other); - unsigned int GetPlayerPriority_(CBasePlayer *player) const; - bool IsImportantPlayer_(CBasePlayer *player) const; - -#endif + virtual void OnEvent(GameEventType event, CBaseEntity *entity = nullptr, CBaseEntity *other = nullptr); + virtual unsigned int GetPlayerPriority(CBasePlayer *player) const; // return priority of player (0 = max pri) + virtual bool IsImportantPlayer(CBasePlayer *player) const; // return true if player is important to scenario (VIP, bomb carrier, etc) public: void ValidateMapData(); @@ -120,21 +103,21 @@ public: // "zones" // depending on the game mode, these are bomb zones, rescue zones, etc. enum { MAX_ZONES = 4 }; // max # of zones in a map - enum { MAX_ZONE_NAV_AREAS = 16 }; // max # of nav areas in a zone + enum { MAX_ZONE_NAV_AREAS = 16 }; // max # of nav areas in a zone struct Zone { CBaseEntity *m_entity; // the map entity - CNavArea *m_area[MAX_ZONE_NAV_AREAS]; // nav areas that overlap this zone + CNavArea *m_area[MAX_ZONE_NAV_AREAS]; // nav areas that overlap this zone int m_areaCount; Vector m_center; - bool m_isLegacy; // if true, use pev->origin and 256 unit radius as zone + bool m_isLegacy; // if true, use pev->origin and 256 unit radius as zone int m_index; Extent m_extent; }; const Zone *GetZone(int i) const { return &m_zone[i]; } const Zone *GetZone(const Vector *pos) const; // return the zone that contains the given position - const Zone *GetClosestZone(const Vector *pos) const; // return the closest zone to the given position + const Zone *GetClosestZone(const Vector *pos) const; // return the closest zone to the given position const Zone *GetClosestZone(const CBaseEntity *entity) const { return GetClosestZone(&entity->pev->origin); } // return the closest zone to the given entity int GetZoneCount() const { return m_zoneCount; } @@ -143,13 +126,13 @@ public: // Return the zone closest to the given position, using the given cost heuristic template - const Zone *GetClosestZone(CNavArea *startArea, CostFunctor costFunc, float *travelDistance = NULL) const + const Zone *GetClosestZone(CNavArea *startArea, CostFunctor costFunc, float *travelDistance = nullptr) const { - const Zone *closeZone = NULL; + const Zone *closeZone = nullptr; float closeDist = 99999999.9f; - if (startArea == NULL) - return NULL; + if (startArea == nullptr) + return nullptr; for (int i = 0; i < m_zoneCount; ++i) { @@ -166,7 +149,7 @@ public: } } - if (travelDistance != NULL) + if (travelDistance) *travelDistance = closeDist; return closeZone; @@ -176,22 +159,22 @@ public: const Zone *GetRandomZone() const { if (!m_zoneCount) - return NULL; + return nullptr; return &m_zone[RANDOM_LONG(0, m_zoneCount - 1)]; } - bool IsBombPlanted() const { return m_isBombPlanted; } // returns true if bomb has been planted - float GetBombPlantTimestamp() const { return m_bombPlantTimestamp; } // return time bomb was planted - bool IsTimeToPlantBomb() const { return (gpGlobals->time >= m_earliestBombPlantTimestamp); } // return true if it's ok to try to plant bomb - CBasePlayer *GetBombDefuser() const { return m_bombDefuser; } // return the player currently defusing the bomb, or NULL - float GetBombTimeLeft() const; // get the time remaining before the planted bomb explodes - CBaseEntity *GetLooseBomb() { return m_looseBomb; } // return the bomb if it is loose on the ground - CNavArea *GetLooseBombArea() const { return m_looseBombArea; } // return area that bomb is in/near + bool IsBombPlanted() const { return m_isBombPlanted; } // returns true if bomb has been planted + float GetBombPlantTimestamp() const { return m_bombPlantTimestamp; } // return time bomb was planted + bool IsTimeToPlantBomb() const { return (gpGlobals->time >= m_earliestBombPlantTimestamp); } // return true if it's ok to try to plant bomb + CBasePlayer *GetBombDefuser() const { return m_bombDefuser; } // return the player currently defusing the bomb, or NULL + float GetBombTimeLeft() const; // get the time remaining before the planted bomb explodes + CBaseEntity *GetLooseBomb() { return m_looseBomb; } // return the bomb if it is loose on the ground + CNavArea *GetLooseBombArea() const { return m_looseBombArea; } // return area that bomb is in/near void SetLooseBomb(CBaseEntity *bomb); - float GetRadioMessageTimestamp(GameEventType event, int teamID) const; // return the last time the given radio message was sent for given team - float GetRadioMessageInterval(GameEventType event, int teamID) const; // return the interval since the last time this message was sent + float GetRadioMessageTimestamp(GameEventType event, int teamID) const; // return the last time the given radio message was sent for given team + float GetRadioMessageInterval(GameEventType event, int teamID) const; // return the interval since the last time this message was sent void SetRadioMessageTimestamp(GameEventType event, int teamID); void ResetRadioMessageTimestamps(); @@ -214,7 +197,7 @@ public: bool IsWeaponUseable(CBasePlayerItem *item) const; // return true if the bot can use this weapon - bool IsDefenseRushing() const { return m_isDefenseRushing; } // returns true if defense team has "decided" to rush this round + bool IsDefenseRushing() const { return m_isDefenseRushing; } // returns true if defense team has "decided" to rush this round bool IsOnDefense(CBasePlayer *player) const; // return true if this player is on "defense" bool IsOnOffense(CBasePlayer *player) const; // return true if this player is on "offense" @@ -231,34 +214,32 @@ public: bool AddBot(const BotProfile *profile, BotProfileTeamType team); #define FROM_CONSOLE true - bool BotAddCommand(BotProfileTeamType team, bool isFromConsole = false); // process the "bot_add" console command + bool BotAddCommand(BotProfileTeamType team, bool isFromConsole = false); // process the "bot_add" console command -#ifndef HOOK_GAMEDLL private: -#endif static float IMPL(m_flNextCVarCheck); - static bool IMPL(m_isMapDataLoaded); // true if we've attempted to load map data + static bool IMPL(m_isMapDataLoaded); // true if we've attempted to load map data static bool IMPL(m_isLearningMap); static bool IMPL(m_isAnalysisRequested); - GameScenarioType m_gameScenario; // what kind of game are we playing + GameScenarioType m_gameScenario; // what kind of game are we playing Zone m_zone[MAX_ZONES]; int m_zoneCount; bool m_isBombPlanted; // true if bomb has been planted float m_bombPlantTimestamp; // time bomb was planted - float m_earliestBombPlantTimestamp; // don't allow planting until after this time has elapsed + float m_earliestBombPlantTimestamp; // don't allow planting until after this time has elapsed CBasePlayer *m_bombDefuser; // the player currently defusing a bomb EHANDLE m_looseBomb; // will be non-NULL if bomb is loose on the ground CNavArea *m_looseBombArea; // area that bomb is is/near - bool m_isRoundOver; // true if the round has ended + bool m_isRoundOver; // true if the round has ended float m_radioMsgTimestamp[24][2]; float m_lastSeenEnemyTimestamp; - float m_roundStartTimestamp; // the time when the current round began + float m_roundStartTimestamp; // the time when the current round began bool m_isDefenseRushing; // whether defensive team is rushing this round or not diff --git a/regamedll/dlls/bot/cs_bot_update.cpp b/regamedll/dlls/bot/cs_bot_update.cpp index 94e75ef9..c63b38c1 100644 --- a/regamedll/dlls/bot/cs_bot_update.cpp +++ b/regamedll/dlls/bot/cs_bot_update.cpp @@ -1,7 +1,7 @@ #include "precompiled.h" // Lightweight maintenance, invoked frequently -void CCSBot::__MAKE_VHOOK(Upkeep)() +void CCSBot::Upkeep() { if (TheCSBots()->IsLearningMap() || !IsAlive()) return; @@ -147,7 +147,7 @@ void CCSBot::__MAKE_VHOOK(Upkeep)() } // Heavyweight processing, invoked less often -void CCSBot::__MAKE_VHOOK(Update)() +void CCSBot::Update() { if (TheCSBots()->IsAnalysisRequested() && m_processMode == PROCESS_NORMAL) { diff --git a/regamedll/dlls/bot/cs_bot_vision.cpp b/regamedll/dlls/bot/cs_bot_vision.cpp index a654b6d1..8a2fb1fa 100644 --- a/regamedll/dlls/bot/cs_bot_vision.cpp +++ b/regamedll/dlls/bot/cs_bot_vision.cpp @@ -194,7 +194,7 @@ void CCSBot::UpdateLookAngles() #endif // HOOK_GAMEDLL // Return true if we can see the point -bool CCSBot::__MAKE_VHOOK(IsVisible)(const Vector *pos, bool testFOV) const +bool CCSBot::IsVisible(const Vector *pos, bool testFOV) const { // we can't see anything if we're blind if (IsBlind()) @@ -221,7 +221,7 @@ bool CCSBot::__MAKE_VHOOK(IsVisible)(const Vector *pos, bool testFOV) const // Return true if we can see any part of the player // Check parts in order of importance. Return the first part seen in "visParts" if it is non-NULL. -bool CCSBot::__MAKE_VHOOK(IsVisible)(CBasePlayer *player, bool testFOV, unsigned char *visParts) const +bool CCSBot::IsVisible(CBasePlayer *player, bool testFOV, unsigned char *visParts) const { Vector spot = player->pev->origin; VisiblePartType testVisParts = NONE; @@ -275,7 +275,7 @@ bool CCSBot::__MAKE_VHOOK(IsVisible)(CBasePlayer *player, bool testFOV, unsigned return false; } -bool CCSBot::__MAKE_VHOOK(IsEnemyPartVisible)(VisiblePartType part) const +bool CCSBot::IsEnemyPartVisible(VisiblePartType part) const { if (!IsEnemyVisible()) return false; @@ -974,7 +974,7 @@ float CCSBot::GetRangeToNearestRecognizedEnemy() } // Blind the bot for the given duration -void CCSBot::__MAKE_VHOOK(Blind)(float duration, float holdTime, float fadeTime, int alpha) +void CCSBot::Blind(float duration, float holdTime, float fadeTime, int alpha) { // extend CBasePlayer::Blind(duration, holdTime, fadeTime, alpha); diff --git a/regamedll/dlls/bot/cs_bot_weapon.cpp b/regamedll/dlls/bot/cs_bot_weapon.cpp index b5d592ea..c1568a99 100644 --- a/regamedll/dlls/bot/cs_bot_weapon.cpp +++ b/regamedll/dlls/bot/cs_bot_weapon.cpp @@ -793,7 +793,7 @@ void CCSBot::SilencerCheck() } // Invoked when in contact with a CWeaponBox -void CCSBot::__MAKE_VHOOK(OnTouchingWeapon)(CWeaponBox *box) +void CCSBot::OnTouchingWeapon(CWeaponBox *box) { auto pDroppedWeapon = box->m_rgpPlayerItems[ PRIMARY_WEAPON_SLOT ]; diff --git a/regamedll/dlls/bot/cs_gamestate.h b/regamedll/dlls/bot/cs_gamestate.h index efefde49..35a72c97 100644 --- a/regamedll/dlls/bot/cs_gamestate.h +++ b/regamedll/dlls/bot/cs_gamestate.h @@ -43,7 +43,7 @@ public: void Reset(); void OnEvent(GameEventType event, CBaseEntity *entity, CBaseEntity *other); // Event handling - bool IsRoundOver() const; // true if round has been won or lost (but not yet reset) + bool IsRoundOver() const; // true if round has been won or lost (but not yet reset) // bomb defuse scenario enum BombState @@ -73,22 +73,22 @@ public: void MarkBombsiteAsPlanted(int zoneIndex); // mark bombsite as the location of the planted bomb enum { UNKNOWN = -1 }; - int GetPlantedBombsite() const; // return the zone index of the planted bombsite, or UNKNOWN - bool IsAtPlantedBombsite() const; // return true if we are currently in the bombsite where the bomb is planted + int GetPlantedBombsite() const; // return the zone index of the planted bombsite, or UNKNOWN + bool IsAtPlantedBombsite() const; // return true if we are currently in the bombsite where the bomb is planted - int GetNextBombsiteToSearch(); // return the zone index of the next bombsite to search + int GetNextBombsiteToSearch(); // return the zone index of the next bombsite to search bool IsBombsiteClear(int zoneIndex) const; // return true if given bombsite has been cleared - void ClearBombsite(int zoneIndex); // mark bombsite as clear + void ClearBombsite(int zoneIndex); // mark bombsite as clear const Vector *GetBombPosition() const; // return where we think the bomb is, or NULL if we don't know // hostage rescue scenario CHostage *GetNearestFreeHostage(Vector *knowPos = NULL) const; // return the closest free hostage, and where we think it is (knowPos) const Vector *GetRandomFreeHostagePosition(); - bool AreAllHostagesBeingRescued() const; // return true if there are no free hostages - bool AreAllHostagesGone() const; // all hostages have been rescued or are dead + bool AreAllHostagesBeingRescued() const; // return true if there are no free hostages + bool AreAllHostagesGone() const; // all hostages have been rescued or are dead void AllHostagesGone(); // someone told us all the hostages are gone - bool HaveSomeHostagesBeenTaken() const { return m_haveSomeHostagesBeenTaken; } // return true if one or more hostages have been moved by the CT's + bool HaveSomeHostagesBeenTaken() const { return m_haveSomeHostagesBeenTaken; } // return true if one or more hostages have been moved by the CT's void HostageWasTaken() { m_haveSomeHostagesBeenTaken = true; } // someone told us a CT is talking to a hostage CHostage *GetNearestVisibleFreeHostage() const; @@ -103,10 +103,7 @@ public: }; ValidateStatusType ValidateHostagePositions(); // update our knowledge with what we currently see - returns bitflag events -#ifndef HOOK_GAMEDLL private: -#endif - CCSBot *m_owner; // who owns this gamestate bool m_isRoundOver; // true if round is over, but no yet reset @@ -123,13 +120,13 @@ private: Vector m_looseBombPos; bool m_isBombsiteClear[4]; // corresponds to zone indices in CCSBotManager - int m_bombsiteSearchOrder[4]; // randomized order of bombsites to search + int m_bombsiteSearchOrder[4]; // randomized order of bombsites to search int m_bombsiteCount; int m_bombsiteSearchIndex; // the next step in the search int m_plantedBombsite; // zone index of the bombsite where the planted bomb is - bool m_isPlantedBombPosKnown; // if true, we know the exact location of the bomb + bool m_isPlantedBombPosKnown; // if true, we know the exact location of the bomb Vector m_plantedBombPos; // hostage rescue scenario @@ -142,12 +139,12 @@ private: bool isFree; // not being escorted by a CT } m_hostage[MAX_HOSTAGES]; - int m_hostageCount; // number of hostages left in map + int m_hostageCount; // number of hostages left in map CountdownTimer m_validateInterval; - CBaseEntity *GetNearestHostage() const; // return the closest live hostage + CBaseEntity *GetNearestHostage() const; // return the closest live hostage void InitializeHostageInfo(); // initialize our knowledge of the number and location of hostages - bool m_allHostagesRescued; // if true, so every hostages been is rescued + bool m_allHostagesRescued; // if true, so every hostages been is rescued bool m_haveSomeHostagesBeenTaken; // true if a hostage has been moved by a CT (and we've seen it) }; diff --git a/regamedll/dlls/bot/states/cs_bot_attack.cpp b/regamedll/dlls/bot/states/cs_bot_attack.cpp index f9fc5f5d..b23530dc 100644 --- a/regamedll/dlls/bot/states/cs_bot_attack.cpp +++ b/regamedll/dlls/bot/states/cs_bot_attack.cpp @@ -1,7 +1,7 @@ #include "precompiled.h" // Begin attacking -void AttackState::__MAKE_VHOOK(OnEnter)(CCSBot *me) +void AttackState::OnEnter(CCSBot *me) { CBasePlayer *enemy = me->GetEnemy(); @@ -125,7 +125,7 @@ void AttackState::StopAttacking(CCSBot *me) } // Perform attack behavior -void AttackState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) +void AttackState::OnUpdate(CCSBot *me) { // can't be stuck while attacking me->ResetStuckMonitor(); @@ -534,7 +534,7 @@ void AttackState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) } // Finish attack -void AttackState::__MAKE_VHOOK(OnExit)(CCSBot *me) +void AttackState::OnExit(CCSBot *me) { me->PrintIfWatched("AttackState:OnExit()\n"); diff --git a/regamedll/dlls/bot/states/cs_bot_buy.cpp b/regamedll/dlls/bot/states/cs_bot_buy.cpp index 4a50de48..29e75540 100644 --- a/regamedll/dlls/bot/states/cs_bot_buy.cpp +++ b/regamedll/dlls/bot/states/cs_bot_buy.cpp @@ -17,7 +17,7 @@ bool HasDefaultPistol(CCSBot *me) } // Buy weapons, armor, etc. -void BuyState::__MAKE_VHOOK(OnEnter)(CCSBot *me) +void BuyState::OnEnter(CCSBot *me) { m_retries = 0; m_prefRetries = 0; @@ -125,64 +125,64 @@ enum WeaponType struct BuyInfo { WeaponType type; - bool preferred; // more challenging bots prefer these weapons - char *buyAlias; // the buy alias for this equipment + bool preferred; // more challenging bots prefer these weapons + char *buyAlias; // the buy alias for this equipment }; // These tables MUST be kept in sync with the CT and T buy aliases #ifndef HOOK_GAMEDLL -static BuyInfo primaryWeaponBuyInfoCT[ PRIMARY_WEAPON_BUY_COUNT ] = +BuyInfo primaryWeaponBuyInfoCT[ PRIMARY_WEAPON_BUY_COUNT ] = { - { SHOTGUN, false, "m3" }, // WEAPON_M3 - { SHOTGUN, false, "xm1014" }, // WEAPON_XM1014 - { SUB_MACHINE_GUN, false, "tmp" }, // WEAPON_TMP - { SUB_MACHINE_GUN, false, "mp5" }, // WEAPON_MP5N - { SUB_MACHINE_GUN, false, "ump45" }, // WEAPON_UMP45 - { SUB_MACHINE_GUN, false, "p90" }, // WEAPON_P90 - { RIFLE, true, "famas" }, // WEAPON_FAMAS - { SNIPER_RIFLE, false, "scout" }, // WEAPON_SCOUT - { RIFLE, true, "m4a1" }, // WEAPON_M4A1 - { RIFLE, false, "aug" }, // WEAPON_AUG - { SNIPER_RIFLE, true, "sg550" }, // WEAPON_SG550 - { SNIPER_RIFLE, true, "awp" }, // WEAPON_AWP - { MACHINE_GUN, false, "m249" } // WEAPON_M249 + { SHOTGUN, false, "m3" }, // WEAPON_M3 + { SHOTGUN, false, "xm1014" }, // WEAPON_XM1014 + { SUB_MACHINE_GUN, false, "tmp" }, // WEAPON_TMP + { SUB_MACHINE_GUN, false, "mp5" }, // WEAPON_MP5N + { SUB_MACHINE_GUN, false, "ump45" }, // WEAPON_UMP45 + { SUB_MACHINE_GUN, false, "p90" }, // WEAPON_P90 + { RIFLE, true, "famas" }, // WEAPON_FAMAS + { SNIPER_RIFLE, false, "scout" }, // WEAPON_SCOUT + { RIFLE, true, "m4a1" }, // WEAPON_M4A1 + { RIFLE, false, "aug" }, // WEAPON_AUG + { SNIPER_RIFLE, true, "sg550" }, // WEAPON_SG550 + { SNIPER_RIFLE, true, "awp" }, // WEAPON_AWP + { MACHINE_GUN, false, "m249" }, // WEAPON_M249 }; -static BuyInfo secondaryWeaponBuyInfoCT[ SECONDARY_WEAPON_BUY_COUNT ] = +BuyInfo secondaryWeaponBuyInfoCT[ SECONDARY_WEAPON_BUY_COUNT ] = { -// { PISTOL, false, "glock" }, -// { PISTOL, false, "usp" }, - { PISTOL, true, "p228" }, - { PISTOL, true, "deagle" }, - { PISTOL, true, "fn57" } +// { PISTOL, false, "glock" }, +// { PISTOL, false, "usp" }, + { PISTOL, true, "p228" }, + { PISTOL, true, "deagle" }, + { PISTOL, true, "fn57" }, }; -static BuyInfo primaryWeaponBuyInfoT[ PRIMARY_WEAPON_BUY_COUNT ] = +BuyInfo primaryWeaponBuyInfoT[ PRIMARY_WEAPON_BUY_COUNT ] = { - { SHOTGUN, false, "m3" }, // WEAPON_M3 - { SHOTGUN, false, "xm1014" }, // WEAPON_XM1014 - { SUB_MACHINE_GUN, false, "mac10" }, // WEAPON_MAC10 - { SUB_MACHINE_GUN, false, "mp5" }, // WEAPON_MP5N - { SUB_MACHINE_GUN, false, "ump45" }, // WEAPON_UMP45 - { SUB_MACHINE_GUN, false, "p90" }, // WEAPON_P90 - { RIFLE, true, "galil" }, // WEAPON_GALIL - { RIFLE, true, "ak47" }, // WEAPON_AK47 - { SNIPER_RIFLE, false, "scout" }, // WEAPON_SCOUT - { RIFLE, true, "sg552" }, // WEAPON_SG552 - { SNIPER_RIFLE, true, "awp" }, // WEAPON_AWP - { SNIPER_RIFLE, true, "g3sg1" }, // WEAPON_G3SG1 - { MACHINE_GUN, false, "m249" } // WEAPON_M249 + { SHOTGUN, false, "m3" }, // WEAPON_M3 + { SHOTGUN, false, "xm1014" }, // WEAPON_XM1014 + { SUB_MACHINE_GUN, false, "mac10" }, // WEAPON_MAC10 + { SUB_MACHINE_GUN, false, "mp5" }, // WEAPON_MP5N + { SUB_MACHINE_GUN, false, "ump45" }, // WEAPON_UMP45 + { SUB_MACHINE_GUN, false, "p90" }, // WEAPON_P90 + { RIFLE, true, "galil" }, // WEAPON_GALIL + { RIFLE, true, "ak47" }, // WEAPON_AK47 + { SNIPER_RIFLE, false, "scout" }, // WEAPON_SCOUT + { RIFLE, true, "sg552" }, // WEAPON_SG552 + { SNIPER_RIFLE, true, "awp" }, // WEAPON_AWP + { SNIPER_RIFLE, true, "g3sg1" }, // WEAPON_G3SG1 + { MACHINE_GUN, false, "m249" }, // WEAPON_M249 }; -static BuyInfo secondaryWeaponBuyInfoT[ SECONDARY_WEAPON_BUY_COUNT ] = +BuyInfo secondaryWeaponBuyInfoT[ SECONDARY_WEAPON_BUY_COUNT ] = { -// { PISTOL, false, "glock" }, -// { PISTOL, false, "usp" }, - { PISTOL, true, "p228" }, - { PISTOL, true, "deagle" }, - { PISTOL, true, "elites" } +// { PISTOL, false, "glock" }, +// { PISTOL, false, "usp" }, + { PISTOL, true, "p228" }, + { PISTOL, true, "deagle" }, + { PISTOL, true, "elites" }, }; #else // HOOK_GAMEDLL @@ -220,7 +220,7 @@ inline WeaponType GetWeaponType(const char *alias) return NUM_WEAPON_TYPES; } -void BuyState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) +void BuyState::OnUpdate(CCSBot *me) { // wait for a Navigation Mesh if (!TheNavAreaList.size()) @@ -516,7 +516,7 @@ void BuyState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) } } -void BuyState::__MAKE_VHOOK(OnExit)(CCSBot *me) +void BuyState::OnExit(CCSBot *me) { me->ResetStuckMonitor(); me->EquipBestWeapon(); diff --git a/regamedll/dlls/bot/states/cs_bot_defuse_bomb.cpp b/regamedll/dlls/bot/states/cs_bot_defuse_bomb.cpp index 6cae9d48..1c950dbb 100644 --- a/regamedll/dlls/bot/states/cs_bot_defuse_bomb.cpp +++ b/regamedll/dlls/bot/states/cs_bot_defuse_bomb.cpp @@ -1,7 +1,7 @@ #include "precompiled.h" // Begin defusing the bomb -void DefuseBombState::__MAKE_VHOOK(OnEnter)(CCSBot *me) +void DefuseBombState::OnEnter(CCSBot *me) { me->Crouch(); me->SetDisposition(CCSBot::SELF_DEFENSE); @@ -9,7 +9,7 @@ void DefuseBombState::__MAKE_VHOOK(OnEnter)(CCSBot *me) } // Defuse the bomb -void DefuseBombState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) +void DefuseBombState::OnUpdate(CCSBot *me) { const Vector *bombPos = me->GetGameState()->GetBombPosition(); @@ -60,7 +60,7 @@ void DefuseBombState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) } } -void DefuseBombState::__MAKE_VHOOK(OnExit)(CCSBot *me) +void DefuseBombState::OnExit(CCSBot *me) { me->StandUp(); me->ResetStuckMonitor(); diff --git a/regamedll/dlls/bot/states/cs_bot_escape_from_bomb.cpp b/regamedll/dlls/bot/states/cs_bot_escape_from_bomb.cpp index 6670ef6b..86d9485b 100644 --- a/regamedll/dlls/bot/states/cs_bot_escape_from_bomb.cpp +++ b/regamedll/dlls/bot/states/cs_bot_escape_from_bomb.cpp @@ -1,6 +1,6 @@ #include "precompiled.h" -void EscapeFromBombState::__MAKE_VHOOK(OnEnter)(CCSBot *me) +void EscapeFromBombState::OnEnter(CCSBot *me) { me->StandUp(); me->Run(); @@ -9,7 +9,7 @@ void EscapeFromBombState::__MAKE_VHOOK(OnEnter)(CCSBot *me) } // Escape from the bomb -void EscapeFromBombState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) +void EscapeFromBombState::OnUpdate(CCSBot *me) { const Vector *bombPos = me->GetGameState()->GetBombPosition(); @@ -37,7 +37,7 @@ void EscapeFromBombState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) } } -void EscapeFromBombState::__MAKE_VHOOK(OnExit)(CCSBot *me) +void EscapeFromBombState::OnExit(CCSBot *me) { me->EquipBestWeapon(); } diff --git a/regamedll/dlls/bot/states/cs_bot_fetch_bomb.cpp b/regamedll/dlls/bot/states/cs_bot_fetch_bomb.cpp index 1e40f695..f92f2970 100644 --- a/regamedll/dlls/bot/states/cs_bot_fetch_bomb.cpp +++ b/regamedll/dlls/bot/states/cs_bot_fetch_bomb.cpp @@ -1,13 +1,13 @@ #include "precompiled.h" // Move to the bomb on the floor and pick it up -void FetchBombState::__MAKE_VHOOK(OnEnter)(CCSBot *me) +void FetchBombState::OnEnter(CCSBot *me) { me->DestroyPath(); } // Move to the bomb on the floor and pick it up -void FetchBombState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) +void FetchBombState::OnUpdate(CCSBot *me) { if (me->IsCarryingBomb()) { diff --git a/regamedll/dlls/bot/states/cs_bot_follow.cpp b/regamedll/dlls/bot/states/cs_bot_follow.cpp index 9241f60c..543da325 100644 --- a/regamedll/dlls/bot/states/cs_bot_follow.cpp +++ b/regamedll/dlls/bot/states/cs_bot_follow.cpp @@ -1,7 +1,7 @@ #include "precompiled.h" // Follow our leader -void FollowState::__MAKE_VHOOK(OnEnter)(CCSBot *me) +void FollowState::OnEnter(CCSBot *me) { me->StandUp(); me->Run(); @@ -72,7 +72,7 @@ void FollowState::ComputeLeaderMotionState(float leaderSpeed) // Follow our leader // TODO: Clean up this nasty mess -void FollowState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) +void FollowState::OnUpdate(CCSBot *me) { // if we lost our leader, give up if (m_leader == NULL || !m_leader->IsAlive()) @@ -254,7 +254,7 @@ void FollowState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) } } -void FollowState::__MAKE_VHOOK(OnExit)(CCSBot *me) +void FollowState::OnExit(CCSBot *me) { ; } diff --git a/regamedll/dlls/bot/states/cs_bot_hide.cpp b/regamedll/dlls/bot/states/cs_bot_hide.cpp index 78355680..828ea44d 100644 --- a/regamedll/dlls/bot/states/cs_bot_hide.cpp +++ b/regamedll/dlls/bot/states/cs_bot_hide.cpp @@ -2,7 +2,7 @@ // Begin moving to a nearby hidey-hole. // NOTE: Do not forget this state may include a very long "move-to" time to get to our hidey spot! -void HideState::__MAKE_VHOOK(OnEnter)(CCSBot *me) +void HideState::OnEnter(CCSBot *me) { m_isAtSpot = false; @@ -40,7 +40,7 @@ void HideState::__MAKE_VHOOK(OnEnter)(CCSBot *me) // Move to a nearby hidey-hole. // NOTE: Do not forget this state may include a very long "move-to" time to get to our hidey spot! -void HideState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) +void HideState::OnUpdate(CCSBot *me) { // wait until finished reloading to leave hide state if (!me->IsActiveWeaponReloading()) @@ -421,7 +421,7 @@ void HideState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) } } -void HideState::__MAKE_VHOOK(OnExit)(CCSBot *me) +void HideState::OnExit(CCSBot *me) { m_isHoldingPosition = false; diff --git a/regamedll/dlls/bot/states/cs_bot_hunt.cpp b/regamedll/dlls/bot/states/cs_bot_hunt.cpp index 813e9a2d..4b930a92 100644 --- a/regamedll/dlls/bot/states/cs_bot_hunt.cpp +++ b/regamedll/dlls/bot/states/cs_bot_hunt.cpp @@ -1,7 +1,7 @@ #include "precompiled.h" // Begin the hunt -void HuntState::__MAKE_VHOOK(OnEnter)(CCSBot *me) +void HuntState::OnEnter(CCSBot *me) { // lurking death if (me->IsUsingKnife() && me->IsWellPastSafe() && !me->IsHurrying()) @@ -16,7 +16,7 @@ void HuntState::__MAKE_VHOOK(OnEnter)(CCSBot *me) } // Hunt down our enemies -void HuntState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) +void HuntState::OnUpdate(CCSBot *me) { // if we've been hunting for a long time, drop into Idle for a moment to // select something else to do @@ -188,7 +188,7 @@ void HuntState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) } // Done hunting -void HuntState::__MAKE_VHOOK(OnExit)(CCSBot *me) +void HuntState::OnExit(CCSBot *me) { ; } diff --git a/regamedll/dlls/bot/states/cs_bot_idle.cpp b/regamedll/dlls/bot/states/cs_bot_idle.cpp index 5db005cf..fdb0977c 100644 --- a/regamedll/dlls/bot/states/cs_bot_idle.cpp +++ b/regamedll/dlls/bot/states/cs_bot_idle.cpp @@ -6,7 +6,7 @@ const float sniperHideRange = 2000.0f; // The Idle state. // We never stay in the Idle state - it is a "home base" for the state machine that // does various checks to determine what we should do next. -void IdleState::__MAKE_VHOOK(OnEnter)(CCSBot *me) +void IdleState::OnEnter(CCSBot *me) { me->DestroyPath(); me->SetEnemy(NULL); @@ -21,7 +21,7 @@ void IdleState::__MAKE_VHOOK(OnEnter)(CCSBot *me) } // Determine what we should do next -void IdleState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) +void IdleState::OnUpdate(CCSBot *me) { // all other states assume GetLastKnownArea() is valid, ensure that it is if (!me->GetLastKnownArea() && me->StayOnNavMesh() == false) diff --git a/regamedll/dlls/bot/states/cs_bot_investigate_noise.cpp b/regamedll/dlls/bot/states/cs_bot_investigate_noise.cpp index 65861167..cca4ddf6 100644 --- a/regamedll/dlls/bot/states/cs_bot_investigate_noise.cpp +++ b/regamedll/dlls/bot/states/cs_bot_investigate_noise.cpp @@ -21,13 +21,13 @@ void InvestigateNoiseState::AttendCurrentNoise(CCSBot *me) me->ForgetNoise(); } -void InvestigateNoiseState::__MAKE_VHOOK(OnEnter)(CCSBot *me) +void InvestigateNoiseState::OnEnter(CCSBot *me) { AttendCurrentNoise(me); } // Use TravelDistance instead of distance... -void InvestigateNoiseState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) +void InvestigateNoiseState::OnUpdate(CCSBot *me) { float newNoiseDist; if (me->ShouldInvestigateNoise(&newNoiseDist)) @@ -104,7 +104,7 @@ void InvestigateNoiseState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) } } -void InvestigateNoiseState::__MAKE_VHOOK(OnExit)(CCSBot *me) +void InvestigateNoiseState::OnExit(CCSBot *me) { // reset to run mode in case we were sneaking about me->Run(); diff --git a/regamedll/dlls/bot/states/cs_bot_move_to.cpp b/regamedll/dlls/bot/states/cs_bot_move_to.cpp index e13643f0..93cb05ae 100644 --- a/regamedll/dlls/bot/states/cs_bot_move_to.cpp +++ b/regamedll/dlls/bot/states/cs_bot_move_to.cpp @@ -1,7 +1,7 @@ #include "precompiled.h" // Move to a potentially far away position. -void MoveToState::__MAKE_VHOOK(OnEnter)(CCSBot *me) +void MoveToState::OnEnter(CCSBot *me) { if (me->IsUsingKnife() && me->IsWellPastSafe() && !me->IsHurrying()) { @@ -35,7 +35,7 @@ void MoveToState::__MAKE_VHOOK(OnEnter)(CCSBot *me) } // Move to a potentially far away position. -void MoveToState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) +void MoveToState::OnUpdate(CCSBot *me) { // assume that we are paying attention and close enough to know our enemy died if (me->GetTask() == CCSBot::MOVE_TO_LAST_KNOWN_ENEMY_POSITION) @@ -287,7 +287,7 @@ void MoveToState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) } } -void MoveToState::__MAKE_VHOOK(OnExit)(CCSBot *me) +void MoveToState::OnExit(CCSBot *me) { // reset to run in case we were walking near our goal position me->Run(); diff --git a/regamedll/dlls/bot/states/cs_bot_plant_bomb.cpp b/regamedll/dlls/bot/states/cs_bot_plant_bomb.cpp index 01a0b856..cda1fd81 100644 --- a/regamedll/dlls/bot/states/cs_bot_plant_bomb.cpp +++ b/regamedll/dlls/bot/states/cs_bot_plant_bomb.cpp @@ -1,7 +1,7 @@ #include "precompiled.h" // Plant the bomb. -void PlantBombState::__MAKE_VHOOK(OnEnter)(CCSBot *me) +void PlantBombState::OnEnter(CCSBot *me) { me->Crouch(); me->SetDisposition(CCSBot::SELF_DEFENSE); @@ -14,7 +14,7 @@ void PlantBombState::__MAKE_VHOOK(OnEnter)(CCSBot *me) } // Plant the bomb. -void PlantBombState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) +void PlantBombState::OnUpdate(CCSBot *me) { CBasePlayerWeapon *gun = me->GetActiveWeapon(); bool holdingC4 = false; @@ -44,7 +44,7 @@ void PlantBombState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) me->Idle(); } -void PlantBombState::__MAKE_VHOOK(OnExit)(CCSBot *me) +void PlantBombState::OnExit(CCSBot *me) { // equip our rifle (in case we were interrupted while holding C4) me->EquipBestWeapon(); diff --git a/regamedll/dlls/bot/states/cs_bot_use_entity.cpp b/regamedll/dlls/bot/states/cs_bot_use_entity.cpp index b6b536df..0cfb190a 100644 --- a/regamedll/dlls/bot/states/cs_bot_use_entity.cpp +++ b/regamedll/dlls/bot/states/cs_bot_use_entity.cpp @@ -2,12 +2,12 @@ // Face the entity and "use" it // NOTE: This state assumes we are standing in range of the entity to be used, with no obstructions. -void UseEntityState::__MAKE_VHOOK(OnEnter)(CCSBot *me) +void UseEntityState::OnEnter(CCSBot *me) { ; } -void UseEntityState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) +void UseEntityState::OnUpdate(CCSBot *me) { // in the very rare situation where two or more bots "used" a hostage at the same time, // one bot will fail and needs to time out of this state @@ -38,7 +38,7 @@ void UseEntityState::__MAKE_VHOOK(OnUpdate)(CCSBot *me) } } -void UseEntityState::__MAKE_VHOOK(OnExit)(CCSBot *me) +void UseEntityState::OnExit(CCSBot *me) { me->ClearLookAt(); me->ResetStuckMonitor(); diff --git a/regamedll/dlls/buttons.cpp b/regamedll/dlls/buttons.cpp index 2c23e1ca..535aed66 100644 --- a/regamedll/dlls/buttons.cpp +++ b/regamedll/dlls/buttons.cpp @@ -55,7 +55,7 @@ TYPEDESCRIPTION CEnvSpark::m_SaveData[] = IMPLEMENT_SAVERESTORE(CEnvGlobal, CBaseEntity) LINK_ENTITY_TO_CLASS(env_global, CEnvGlobal, CCSEnvGlobal) -void CEnvGlobal::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CEnvGlobal::KeyValue(KeyValueData *pkvd) { pkvd->fHandled = TRUE; @@ -76,7 +76,7 @@ void CEnvGlobal::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CPointEntity::KeyValue(pkvd); } -void CEnvGlobal::__MAKE_VHOOK(Spawn)() +void CEnvGlobal::Spawn() { if (!m_globalstate) { @@ -93,7 +93,7 @@ void CEnvGlobal::__MAKE_VHOOK(Spawn)() } } -void CEnvGlobal::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CEnvGlobal::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { GLOBALESTATE oldState = gGlobalState.EntityGetState(m_globalstate); GLOBALESTATE newState; @@ -138,7 +138,7 @@ IMPLEMENT_SAVERESTORE(CMultiSource, CBaseEntity) LINK_ENTITY_TO_CLASS(multisource, CMultiSource, CCSMultiSource) // Cache user-entity-field values until spawn is called. -void CMultiSource::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CMultiSource::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "style") || FStrEq(pkvd->szKeyName, "height") @@ -157,7 +157,7 @@ void CMultiSource::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CPointEntity::KeyValue(pkvd); } -void CMultiSource::__MAKE_VHOOK(Spawn)() +void CMultiSource::Spawn() { // set up think for later registration pev->solid = SOLID_NOT; @@ -178,7 +178,7 @@ void CMultiSource::Restart() } #endif -void CMultiSource::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CMultiSource::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { int i = 0; @@ -214,7 +214,7 @@ void CMultiSource::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCall } } -BOOL CMultiSource::__MAKE_VHOOK(IsTriggered)(CBaseEntity *) +BOOL CMultiSource::IsTriggered(CBaseEntity *) { // Is everything triggered? int i = 0; @@ -295,7 +295,7 @@ void CMultiSource::Register() IMPLEMENT_SAVERESTORE(CBaseButton, CBaseToggle) -void CBaseButton::__MAKE_VHOOK(Precache)() +void CBaseButton::Precache() { char *pszSound; @@ -355,7 +355,7 @@ void CBaseButton::__MAKE_VHOOK(Precache)() } // Cache user-entity-field values until spawn is called. -void CBaseButton::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CBaseButton::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "changetarget")) { @@ -392,7 +392,7 @@ void CBaseButton::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) } // ButtonShot -BOOL CBaseButton::__MAKE_VHOOK(TakeDamage)(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) +BOOL CBaseButton::TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) { BUTTON_CODE code = ButtonResponseToTouch(); @@ -447,7 +447,7 @@ BOOL CBaseButton::__MAKE_VHOOK(TakeDamage)(entvars_t *pevInflictor, entvars_t *p // 3) in-out LINK_ENTITY_TO_CLASS(func_button, CBaseButton, CCSButton) -void CBaseButton::__MAKE_VHOOK(Spawn)() +void CBaseButton::Spawn() { char *pszSound; @@ -834,7 +834,7 @@ void CBaseButton::ButtonBackHome() LINK_ENTITY_TO_CLASS(func_rot_button, CRotButton, CCSRotButton) -void CRotButton::__MAKE_VHOOK(Spawn)() +void CRotButton::Spawn() { char *pszSound; @@ -899,7 +899,7 @@ void CRotButton::__MAKE_VHOOK(Spawn)() IMPLEMENT_SAVERESTORE(CMomentaryRotButton, CBaseToggle) LINK_ENTITY_TO_CLASS(momentary_rot_button, CMomentaryRotButton, CCSMomentaryRotButton) -void CMomentaryRotButton::__MAKE_VHOOK(Spawn)() +void CMomentaryRotButton::Spawn() { CBaseToggle::AxisDir(pev); @@ -939,7 +939,7 @@ void CMomentaryRotButton::__MAKE_VHOOK(Spawn)() m_lastUsed = 0; } -void CMomentaryRotButton::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CMomentaryRotButton::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "returnspeed")) { @@ -963,7 +963,7 @@ void CMomentaryRotButton::PlaySound() // BUGBUG: This design causes a latentcy. When the button is retriggered, the first impulse // will send the target in the wrong direction because the parameter is calculated based on the // current, not future position. -void CMomentaryRotButton::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CMomentaryRotButton::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { pev->ideal_yaw = CBaseToggle::AxisDelta(pev->spawnflags, pev->angles, m_start) / m_flMoveDistance; @@ -1115,7 +1115,7 @@ IMPLEMENT_SAVERESTORE(CEnvSpark, CBaseEntity) LINK_ENTITY_TO_CLASS(env_spark, CEnvSpark, CCSEnvSpark) LINK_ENTITY_TO_CLASS(env_debris, CEnvSpark, CCSEnvSpark) -void CEnvSpark::__MAKE_VHOOK(Spawn)() +void CEnvSpark::Spawn() { SetThink(NULL); SetUse(NULL); @@ -1148,7 +1148,7 @@ void CEnvSpark::__MAKE_VHOOK(Spawn)() Precache(); } -void CEnvSpark::__MAKE_VHOOK(Precache)() +void CEnvSpark::Precache() { PRECACHE_SOUND("buttons/spark1.wav"); PRECACHE_SOUND("buttons/spark2.wav"); @@ -1158,7 +1158,7 @@ void CEnvSpark::__MAKE_VHOOK(Precache)() PRECACHE_SOUND("buttons/spark6.wav"); } -void CEnvSpark::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CEnvSpark::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "MaxDelay")) { @@ -1197,7 +1197,7 @@ void CEnvSpark::SparkStop(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYP LINK_ENTITY_TO_CLASS(button_target, CButtonTarget, CCSButtonTarget) -void CButtonTarget::__MAKE_VHOOK(Spawn)() +void CButtonTarget::Spawn() { pev->movetype = MOVETYPE_PUSH; pev->solid = SOLID_BSP; @@ -1211,7 +1211,7 @@ void CButtonTarget::__MAKE_VHOOK(Spawn)() } } -void CButtonTarget::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CButtonTarget::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (!ShouldToggle(useType, int(pev->frame))) return; @@ -1226,7 +1226,7 @@ void CButtonTarget::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCal SUB_UseTargets(pActivator, USE_OFF, 0); } -int CButtonTarget::__MAKE_VHOOK(ObjectCaps)() +int CButtonTarget::ObjectCaps() { int caps = (CBaseEntity::ObjectCaps() & ~FCAP_ACROSS_TRANSITION); @@ -1236,7 +1236,7 @@ int CButtonTarget::__MAKE_VHOOK(ObjectCaps)() return caps; } -BOOL CButtonTarget::__MAKE_VHOOK(TakeDamage)(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) +BOOL CButtonTarget::TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) { Use(Instance(pevAttacker), this, USE_TOGGLE, 0); return TRUE; diff --git a/regamedll/dlls/buttons.h b/regamedll/dlls/buttons.h index 5874b842..c976d1de 100644 --- a/regamedll/dlls/buttons.h +++ b/regamedll/dlls/buttons.h @@ -63,16 +63,6 @@ public: virtual int Restore(CRestore &restore); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: static TYPEDESCRIPTION IMPL(m_SaveData)[3]; @@ -85,12 +75,6 @@ class CRotButton: public CBaseButton { public: virtual void Spawn(); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif }; class CMomentaryRotButton: public CBaseToggle @@ -113,16 +97,6 @@ public: } virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: void EXPORT Off(); void EXPORT Return(); @@ -153,16 +127,6 @@ public: virtual int Save(CSave &save); virtual int Restore(CRestore &restore); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - -#endif - public: void EXPORT SparkThink(); void EXPORT SparkStart(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); @@ -180,16 +144,6 @@ public: virtual int ObjectCaps(); virtual BOOL TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - int ObjectCaps_(); - BOOL TakeDamage_(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - }; char *ButtonSound(int sound); diff --git a/regamedll/dlls/career_tasks.cpp b/regamedll/dlls/career_tasks.cpp index f4c8a5f3..8a58995d 100644 --- a/regamedll/dlls/career_tasks.cpp +++ b/regamedll/dlls/career_tasks.cpp @@ -9,27 +9,27 @@ CCareerTaskManager *TheCareerTasks = NULL; const TaskInfo taskInfo[] = { - { "defuse", EVENT_BOMB_DEFUSED, &CCareerTask::NewTask }, - { "plant", EVENT_BOMB_PLANTED, &CCareerTask::NewTask }, - { "rescue", EVENT_HOSTAGE_RESCUED, &CCareerTask::NewTask }, - { "killall", EVENT_KILL_ALL, &CCareerTask::NewTask }, - { "kill", EVENT_KILL, &CCareerTask::NewTask }, - { "killwith", EVENT_KILL, &CCareerTask::NewTask }, - { "killblind", EVENT_KILL_FLASHBANGED, &CCareerTask::NewTask }, - { "killvip", EVENT_KILL, &CCareerTask::NewTask }, - { "headshot", EVENT_HEADSHOT, &CCareerTask::NewTask }, - { "headshotwith", EVENT_HEADSHOT, &CCareerTask::NewTask }, - { "winfast", EVENT_ROUND_WIN, &CCareerTask::NewTask }, - { "rescue", EVENT_HOSTAGE_RESCUED, &CCareerTask::NewTask }, - { "rescueall", EVENT_ALL_HOSTAGES_RESCUED, &CCareerTask::NewTask }, - { "injure", EVENT_PLAYER_TOOK_DAMAGE, &CCareerTask::NewTask }, - { "injurewith", EVENT_PLAYER_TOOK_DAMAGE, &CCareerTask::NewTask }, - { "killdefuser", EVENT_KILL, &CCareerTask::NewTask }, - { "stoprescue", EVENT_KILL, &CCareerTask::NewTask }, - { "defendhostages", EVENT_ROUND_WIN, &CCareerTask::NewTask }, - { "hostagessurvive", EVENT_ROUND_WIN, &CCareerTask::NewTask }, - { "preventdefuse", EVENT_ROUND_WIN, &CPreventDefuseTask::NewTask }, - { NULL, EVENT_INVALID, &CCareerTask::NewTask } + { "defuse", EVENT_BOMB_DEFUSED, &CCareerTask::NewTask }, + { "plant", EVENT_BOMB_PLANTED, &CCareerTask::NewTask }, + { "rescue", EVENT_HOSTAGE_RESCUED, &CCareerTask::NewTask }, + { "killall", EVENT_KILL_ALL, &CCareerTask::NewTask }, + { "kill", EVENT_KILL, &CCareerTask::NewTask }, + { "killwith", EVENT_KILL, &CCareerTask::NewTask }, + { "killblind", EVENT_KILL_FLASHBANGED, &CCareerTask::NewTask }, + { "killvip", EVENT_KILL, &CCareerTask::NewTask }, + { "headshot", EVENT_HEADSHOT, &CCareerTask::NewTask }, + { "headshotwith", EVENT_HEADSHOT, &CCareerTask::NewTask }, + { "winfast", EVENT_ROUND_WIN, &CCareerTask::NewTask }, + { "rescue", EVENT_HOSTAGE_RESCUED, &CCareerTask::NewTask }, + { "rescueall", EVENT_ALL_HOSTAGES_RESCUED, &CCareerTask::NewTask }, + { "injure", EVENT_PLAYER_TOOK_DAMAGE, &CCareerTask::NewTask }, + { "injurewith", EVENT_PLAYER_TOOK_DAMAGE, &CCareerTask::NewTask }, + { "killdefuser", EVENT_KILL, &CCareerTask::NewTask }, + { "stoprescue", EVENT_KILL, &CCareerTask::NewTask }, + { "defendhostages", EVENT_ROUND_WIN, &CCareerTask::NewTask }, + { "hostagessurvive", EVENT_ROUND_WIN, &CCareerTask::NewTask }, + { "preventdefuse", EVENT_ROUND_WIN, &CPreventDefuseTask::NewTask }, + { nullptr, EVENT_INVALID, &CCareerTask::NewTask }, }; #endif @@ -52,7 +52,7 @@ CPreventDefuseTask::CPreventDefuseTask(const char *taskName, GameEventType event m_defuseStartedThisRound = false; } -void CPreventDefuseTask::__MAKE_VHOOK(Reset)() +void CPreventDefuseTask::Reset() { m_bombPlantedThisRound = false; m_defuseStartedThisRound = false; @@ -60,7 +60,7 @@ void CPreventDefuseTask::__MAKE_VHOOK(Reset)() CCareerTask::Reset(); } -void CPreventDefuseTask::__MAKE_VHOOK(OnEvent)(GameEventType event, CBasePlayer *pAttacker, CBasePlayer *pVictim) +void CPreventDefuseTask::OnEvent(GameEventType event, CBasePlayer *pAttacker, CBasePlayer *pVictim) { if (IsComplete()) return; @@ -123,7 +123,7 @@ CCareerTask::CCareerTask(const char *taskName, GameEventType event, const char * } } -void CCareerTask::__MAKE_VHOOK(Reset)() +void CCareerTask::Reset() { m_eventsSeen = 0; m_isComplete = false; @@ -225,7 +225,7 @@ void CCareerTask::OnWeaponInjury(int weaponId, int weaponClassId, bool attackerH SendPartialNotification(); } -void CCareerTask::__MAKE_VHOOK(OnEvent)(GameEventType event, CBasePlayer *pVictim, CBasePlayer *pAttacker) +void CCareerTask::OnEvent(GameEventType event, CBasePlayer *pVictim, CBasePlayer *pAttacker) { if (m_isComplete) return; diff --git a/regamedll/dlls/career_tasks.h b/regamedll/dlls/career_tasks.h index 89ac3c55..2e812dc1 100644 --- a/regamedll/dlls/career_tasks.h +++ b/regamedll/dlls/career_tasks.h @@ -44,13 +44,6 @@ public: virtual void Reset(); virtual bool IsTaskCompletableThisRound() { return true; } -#ifdef HOOK_GAMEDLL - - void OnEvent_(GameEventType event, CBasePlayer *pAttacker, CBasePlayer *pVictim); - void Reset_(); - -#endif - public: static CCareerTask *NewTask(const char *taskName, GameEventType event, const char *weaponName, int n, bool mustLive, bool crossRounds, int id, bool isComplete); @@ -97,13 +90,6 @@ public: virtual void Reset(); virtual bool IsTaskCompletableThisRound() { return m_bombPlantedThisRound && !m_defuseStartedThisRound; } -#ifdef HOOK_GAMEDLL - - void OnEvent_(GameEventType event, CBasePlayer *pAttacker, CBasePlayer *pVictim); - void Reset_(); - -#endif - public: static CCareerTask *NewTask(const char *taskName, GameEventType event, const char *weaponName, int n, bool mustLive, bool crossRounds, int id, bool isComplete); diff --git a/regamedll/dlls/cbase.cpp b/regamedll/dlls/cbase.cpp index 4710f597..20dc6f97 100644 --- a/regamedll/dlls/cbase.cpp +++ b/regamedll/dlls/cbase.cpp @@ -303,22 +303,10 @@ void REMOVE_ENTITY(edict_t *pEntity) } } -void CONSOLE_ECHO_(char *pszMsg, ...) -{ - va_list argptr; - static char szStr[1024]; - - va_start(argptr, pszMsg); - vsprintf(szStr, pszMsg, argptr); - va_end(argptr); - - SERVER_PRINT(szStr); -} - void loopPerformance() { - CPerformanceCounter loopCounter; - loopCounter.InitializePerformanceCounter(); + CCounter loopCounter; + loopCounter.Init(); double start, end; int i; @@ -777,7 +765,7 @@ CBaseEntity *EHANDLE::operator->() return (CBaseEntity *)GET_PRIVATE(Get()); } -BOOL CBaseEntity::__MAKE_VHOOK(TakeHealth)(float flHealth, int bitsDamageType) +BOOL CBaseEntity::TakeHealth(float flHealth, int bitsDamageType) { if (pev->takedamage == DAMAGE_NO) return FALSE; @@ -795,7 +783,7 @@ BOOL CBaseEntity::__MAKE_VHOOK(TakeHealth)(float flHealth, int bitsDamageType) return TRUE; } -BOOL CBaseEntity::__MAKE_VHOOK(TakeDamage)(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) +BOOL CBaseEntity::TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) { Vector vecTemp; @@ -846,14 +834,14 @@ BOOL CBaseEntity::__MAKE_VHOOK(TakeDamage)(entvars_t *pevInflictor, entvars_t *p return TRUE; } -void CBaseEntity::__MAKE_VHOOK(Killed)(entvars_t *pevAttacker, int iGib) +void CBaseEntity::Killed(entvars_t *pevAttacker, int iGib) { pev->takedamage = DAMAGE_NO; pev->deadflag = DEAD_DEAD; UTIL_Remove(this); } -CBaseEntity *CBaseEntity::__MAKE_VHOOK(GetNextTarget)() +CBaseEntity *CBaseEntity::GetNextTarget() { if (FStringNull(pev->target)) return NULL; @@ -867,7 +855,7 @@ CBaseEntity *CBaseEntity::__MAKE_VHOOK(GetNextTarget)() return Instance(pTarget); } -int CBaseEntity::__MAKE_VHOOK(Save)(CSave &save) +int CBaseEntity::Save(CSave &save) { if (save.WriteEntVars("ENTVARS", pev)) { @@ -877,7 +865,7 @@ int CBaseEntity::__MAKE_VHOOK(Save)(CSave &save) return 0; } -int CBaseEntity::__MAKE_VHOOK(Restore)(CRestore &restore) +int CBaseEntity::Restore(CRestore &restore) { int status = restore.ReadEntVars("ENTVARS", pev); if (status) @@ -948,7 +936,7 @@ void SetObjectCollisionBox(entvars_t *pev) pev->absmax.z += 1; } -void CBaseEntity::__MAKE_VHOOK(SetObjectCollisionBox)() +void CBaseEntity::SetObjectCollisionBox() { ::SetObjectCollisionBox(pev); } @@ -982,7 +970,7 @@ int CBaseEntity::IsDormant() return (pev->flags & FL_DORMANT) == FL_DORMANT; } -BOOL CBaseEntity::__MAKE_VHOOK(IsInWorld)() +BOOL CBaseEntity::IsInWorld() { // position if (pev->origin.x >= 4096.0 || pev->origin.y >= 4096.0 || pev->origin.z >= 4096.0) @@ -1018,7 +1006,7 @@ int CBaseEntity::ShouldToggle(USE_TYPE useType, BOOL currentState) return 1; } -int CBaseEntity::__MAKE_VHOOK(DamageDecal)(int bitsDamageType) +int CBaseEntity::DamageDecal(int bitsDamageType) { if (pev->rendermode == kRenderTransAlpha) return -1; diff --git a/regamedll/dlls/cbase.h b/regamedll/dlls/cbase.h index 6d786d23..23371c28 100644 --- a/regamedll/dlls/cbase.h +++ b/regamedll/dlls/cbase.h @@ -294,24 +294,6 @@ public: virtual BOOL FVisible(CBaseEntity *pEntity); virtual BOOL FVisible(const Vector &vecOrigin); -#ifdef HOOK_GAMEDLL - - int Save_(CSave &save); - int Restore_(CRestore &restore); - void SetObjectCollisionBox_(); - void TraceAttack_(entvars_t *pevAttacker, float flDamage, Vector vecDir, TraceResult *ptr, int bitsDamageType); - BOOL TakeDamage_(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType); - BOOL TakeHealth_(float flHealth, int bitsDamageType); - void Killed_(entvars_t *pevAttacker, int iGib); - void TraceBleed_(float flDamage, Vector vecDir, TraceResult *ptr, int bitsDamageType); - int DamageDecal_(int bitsDamageType); - BOOL IsInWorld_(); - CBaseEntity *GetNextTarget_(); - BOOL FVisible_(CBaseEntity *pEntity); - BOOL FVisible_(const Vector &vecOrigin); - -#endif - public: // allow engine to allocate instance data void *operator new(size_t stAllocateBlock, entvars_t *pevnew) { return ALLOC_PRIVATE(ENT(pevnew), stAllocateBlock); } @@ -433,13 +415,6 @@ class CPointEntity: public CBaseEntity { public: virtual void Spawn(); virtual int ObjectCaps() { return (CBaseEntity::ObjectCaps() & ~FCAP_ACROSS_TRANSITION); } - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - }; // MultiSouce @@ -457,17 +432,6 @@ public: virtual void Restart(); #endif -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - BOOL IsTriggered_(CBaseEntity *pActivator); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: void EXPORT Register(); @@ -487,14 +451,6 @@ public: virtual int Save(CSave &save); virtual int Restore(CRestore &restore); -#ifdef HOOK_GAMEDLL - - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - -#endif - public: void SUB_UseTargets(CBaseEntity *pActivator, USE_TYPE useType, float value); void EXPORT DelayThink(); @@ -511,13 +467,6 @@ public: virtual int Restore(CRestore &restore); virtual void HandleAnimEvent(MonsterEvent_t *pEvent) {} -#ifdef HOOK_GAMEDLL - - int Save_(CSave &save); - int Restore_(CRestore &restore); - -#endif - public: // Basic Monster Animation functions float StudioFrameAdvance(float flInterval = 0.0f); // accumulate animation frame time from last time called until now @@ -526,7 +475,6 @@ public: int LookupActivityHeaviest(int activity); int LookupSequence(const char *label); void ResetSequenceInfo(); - void ResetSequenceInfo_(); void DispatchAnimEvents(float flFutureInterval = 0.1f); // Handle events that have happend since last time called up until X seconds into the future float SetBoneController(int iController, float flValue = 0.0f); void InitBoneControllers(); @@ -541,6 +489,11 @@ public: int ExtractBbox(int sequence, float *mins, float *maxs); void SetSequenceBox(); + +#ifdef REGAMEDLL_API + void ResetSequenceInfo_OrigFunc(); +#endif + public: static TYPEDESCRIPTION IMPL(m_SaveData)[5]; @@ -561,14 +514,6 @@ public: virtual int GetToggleState() { return m_toggle_state; } virtual float GetDelay() { return m_flWait; } -#ifdef HOOK_GAMEDLL - - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - -#endif - public: void LinearMove(Vector vecDest, float flSpeed); void EXPORT LinearMoveDone(); @@ -606,11 +551,11 @@ public: int m_bitsDamageInflict; // DMG_ damage type that the door or tigger does - string_t m_sMaster; // If this button has a master switch, this is the targetname. - // A master switch must be of the multisource type. If all - // of the switches in the multisource have been triggered, then - // the button will be allowed to operate. Otherwise, it will be - // deactivated. + string_t m_sMaster; // If this button has a master switch, this is the targetname. + // A master switch must be of the multisource type. If all + // of the switches in the multisource have been triggered, then + // the button will be allowed to operate. Otherwise, it will be + // deactivated. }; #include "basemonster.h" @@ -638,18 +583,6 @@ public: virtual void Restart(); #endif - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - BOOL TakeDamage_(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType); - int Save_(CSave &save); - int Restore_(CRestore &restore); - -#endif - public: void RotSpawn(); void ButtonActivate(); @@ -690,15 +623,6 @@ public: virtual void Spawn(); virtual void Precache(); virtual void KeyValue(KeyValueData *pkvd); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - -#endif - }; // Converts a entvars_t * to a class pointer @@ -746,7 +670,6 @@ void RemoveEntityHashValue(entvars_t *pev, const char *value, hash_types_e field void printEntities(); edict_t *CREATE_NAMED_ENTITY(string_t iClass); void REMOVE_ENTITY(edict_t *pEntity); -void CONSOLE_ECHO_(char *pszMsg, ...); void loopPerformance(); int DispatchSpawn(edict_t *pent); void DispatchKeyValue(edict_t *pentKeyvalue, KeyValueData *pkvd); diff --git a/regamedll/dlls/client.cpp b/regamedll/dlls/client.cpp index 4b345b5b..a023c12c 100644 --- a/regamedll/dlls/client.cpp +++ b/regamedll/dlls/client.cpp @@ -526,16 +526,6 @@ void EXT_FUNC ClientPutInServer(edict_t *pEntity) UTIL_ClientPrintAll(HUD_PRINTNOTIFY, "#Game_connected", (sName[0] != '\0') ? sName : ""); } -NOXREF int Q_strlen_(const char *str) -{ - int count = 0; - if (str && *str) { - while (str[count++ + 1]); - } - - return count; -} - void Host_Say(edict_t *pEntity, BOOL teamonly) { CBasePlayer *client; diff --git a/regamedll/dlls/client.h b/regamedll/dlls/client.h index 57758cc1..9a1b9bc6 100644 --- a/regamedll/dlls/client.h +++ b/regamedll/dlls/client.h @@ -110,6 +110,15 @@ extern bool g_skipCareerInitialSpawn; extern unsigned short m_usResetDecals; extern unsigned short g_iShadowSprite; +#ifdef REGAMEDLL_API +void HandleMenu_ChooseAppearance_OrigFunc(CBasePlayer *player, int slot); +BOOL HandleMenu_ChooseTeam_OrigFunc(CBasePlayer *player, int slot); +bool BuyGunAmmo_OrigFunc(CBasePlayer *player, CBasePlayerItem *weapon, bool bBlinkMoney); +CBaseEntity *BuyWeaponByWeaponID_OrigFunc(CBasePlayer *pPlayer, WeaponIdType weaponID); +void ShowMenu_OrigFunc(CBasePlayer *pPlayer, int bitsValidSlots, int nDisplayTime, BOOL fNeedMore, char *pszText); +void ShowVGUIMenu_OrigFunc(CBasePlayer *pPlayer, int MenuType, int BitMask, char *szOldMenu); +#endif + int CMD_ARGC_(); const char *CMD_ARGV_(int i); void set_suicide_frame(entvars_t *pev); @@ -119,14 +128,11 @@ void ClientDisconnect(edict_t *pEntity); void respawn(entvars_t *pev, BOOL fCopyCorpse = FALSE); void ClientKill(edict_t *pEntity); void ShowMenu(CBasePlayer *pPlayer, int bitsValidSlots, int nDisplayTime, BOOL fNeedMore, char *pszText); -void ShowMenu_(CBasePlayer *pPlayer, int bitsValidSlots, int nDisplayTime, BOOL fNeedMore, char *pszText); void ShowVGUIMenu(CBasePlayer *pPlayer, int MenuType, int BitMask, char *szOldMenu); -void ShowVGUIMenu_(CBasePlayer *pPlayer, int MenuType, int BitMask, char *szOldMenu); void ListPlayers(CBasePlayer *current); void ProcessKickVote(CBasePlayer *pVotingPlayer, CBasePlayer *pKickPlayer); void CheckStartMoney(); void ClientPutInServer(edict_t *pEntity); -int Q_strlen_(const char *str); void Host_Say(edict_t *pEntity, BOOL teamonly); void DropSecondary(CBasePlayer *pPlayer); void DropPrimary(CBasePlayer *pPlayer); @@ -135,19 +141,15 @@ void BuyPistol(CBasePlayer *pPlayer, int iSlot); void BuyShotgun(CBasePlayer *pPlayer, int iSlot); void BuySubMachineGun(CBasePlayer *pPlayer, int iSlot); CBaseEntity *BuyWeaponByWeaponID(CBasePlayer *pPlayer, WeaponIdType weaponID); -CBaseEntity *BuyWeaponByWeaponID_(CBasePlayer *pPlayer, WeaponIdType weaponID); void BuyRifle(CBasePlayer *pPlayer, int iSlot); void BuyMachineGun(CBasePlayer *pPlayer, int iSlot); void BuyItem(CBasePlayer *pPlayer, int iSlot); void HandleMenu_ChooseAppearance(CBasePlayer *player, int slot); -void HandleMenu_ChooseAppearance_(CBasePlayer *player, int slot); BOOL HandleMenu_ChooseTeam(CBasePlayer *player, int slot); -BOOL HandleMenu_ChooseTeam_(CBasePlayer *player, int slot); void Radio1(CBasePlayer *player, int slot); void Radio2(CBasePlayer *player, int slot); void Radio3(CBasePlayer *player, int slot); bool BuyGunAmmo(CBasePlayer *player, CBasePlayerItem *weapon, bool bBlinkMoney); -bool BuyGunAmmo_(CBasePlayer *player, CBasePlayerItem *weapon, bool bBlinkMoney); bool BuyAmmo(CBasePlayer *player, int nSlot, bool bBlinkMoney); CBaseEntity *EntityFromUserID(int userID); int CountPlayersInServer(); diff --git a/regamedll/dlls/combat.cpp b/regamedll/dlls/combat.cpp index bfb9c5c1..9bf01127 100644 --- a/regamedll/dlls/combat.cpp +++ b/regamedll/dlls/combat.cpp @@ -202,7 +202,7 @@ void CGib::SpawnRandomGibs(entvars_t *pevVictim, int cGibs, int human) } } -BOOL CBaseMonster::__MAKE_VHOOK(HasHumanGibs)() +BOOL CBaseMonster::HasHumanGibs() { int myClass = Classify(); @@ -215,7 +215,7 @@ BOOL CBaseMonster::__MAKE_VHOOK(HasHumanGibs)() return FALSE; } -BOOL CBaseMonster::__MAKE_VHOOK(HasAlienGibs)() +BOOL CBaseMonster::HasAlienGibs() { int myClass = Classify(); if (myClass == CLASS_ALIEN_MILITARY @@ -229,7 +229,7 @@ BOOL CBaseMonster::__MAKE_VHOOK(HasAlienGibs)() return FALSE; } -void CBaseMonster::__MAKE_VHOOK(FadeMonster)() +void CBaseMonster::FadeMonster() { StopAnimation(); @@ -242,7 +242,7 @@ void CBaseMonster::__MAKE_VHOOK(FadeMonster)() SUB_StartFadeOut(); } -void CBaseMonster::__MAKE_VHOOK(GibMonster)() +void CBaseMonster::GibMonster() { TraceResult tr; bool gibbed = false; @@ -288,7 +288,7 @@ void CBaseMonster::__MAKE_VHOOK(GibMonster)() // GetDeathActivity - determines the best type of death // anim to play. -Activity CBaseMonster::__MAKE_VHOOK(GetDeathActivity)() +Activity CBaseMonster::GetDeathActivity() { Activity deathActivity; BOOL fTriedDirection; @@ -453,7 +453,7 @@ NOXREF Activity CBaseMonster::GetSmallFlinchActivity() return flinchActivity; } -void CBaseMonster::__MAKE_VHOOK(BecomeDead)() +void CBaseMonster::BecomeDead() { // don't let autoaim aim at corpses. pev->takedamage = DAMAGE_YES; @@ -521,7 +521,7 @@ void CBaseMonster::CallGibMonster() UTIL_Remove(this); } -void CBaseMonster::__MAKE_VHOOK(Killed)(entvars_t *pevAttacker, int iGib) +void CBaseMonster::Killed(entvars_t *pevAttacker, int iGib) { // unsigned int cCount = 0; // BOOL fDone = FALSE; @@ -711,7 +711,7 @@ void CGib::Spawn(const char *szGibModel) m_cBloodDecals = 5; } -BOOL CBaseMonster::__MAKE_VHOOK(TakeHealth)(float flHealth, int bitsDamageType) +BOOL CBaseMonster::TakeHealth(float flHealth, int bitsDamageType) { if (pev->takedamage == DAMAGE_NO) return FALSE; @@ -730,7 +730,7 @@ BOOL CBaseMonster::__MAKE_VHOOK(TakeHealth)(float flHealth, int bitsDamageType) // // Time-based damage: only occurs while the monster is within the trigger_hurt. // When a monster is poisoned via an arrow etc it takes all the poison damage at once. -BOOL CBaseMonster::__MAKE_VHOOK(TakeDamage)(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) +BOOL CBaseMonster::TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) { if (pev->takedamage == DAMAGE_NO) return FALSE; @@ -1320,7 +1320,7 @@ NOXREF CBaseEntity *CBaseMonster::CheckTraceHullAttack(float flDist, int iDamage // FInViewCone - returns true is the passed ent is in // the caller's forward view cone. The dot product is performed // in 2d, making the view cone infinitely tall. -BOOL CBaseMonster::__MAKE_VHOOK(FInViewCone)(CBaseEntity *pEntity) +BOOL CBaseMonster::FInViewCone(CBaseEntity *pEntity) { Vector2D vec2LOS; float flDot; @@ -1345,7 +1345,7 @@ BOOL CBaseMonster::__MAKE_VHOOK(FInViewCone)(CBaseEntity *pEntity) // FInViewCone - returns true is the passed vector is in // the caller's forward view cone. The dot product is performed // in 2d, making the view cone infinitely tall. -BOOL CBaseMonster::__MAKE_VHOOK(FInViewCone)(const Vector *pOrigin) +BOOL CBaseMonster::FInViewCone(const Vector *pOrigin) { Vector2D vec2LOS; float flDot; @@ -1369,7 +1369,7 @@ BOOL CBaseMonster::__MAKE_VHOOK(FInViewCone)(const Vector *pOrigin) // FVisible - returns true if a line can be traced from // the caller's eyes to the target -BOOL CBaseEntity::__MAKE_VHOOK(FVisible)(CBaseEntity *pEntity) +BOOL CBaseEntity::FVisible(CBaseEntity *pEntity) { TraceResult tr; Vector vecLookerOrigin; @@ -1402,7 +1402,7 @@ BOOL CBaseEntity::__MAKE_VHOOK(FVisible)(CBaseEntity *pEntity) // FVisible - returns true if a line can be traced from // the caller's eyes to the target vector -BOOL CBaseEntity::__MAKE_VHOOK(FVisible)(const Vector &vecOrigin) +BOOL CBaseEntity::FVisible(const Vector &vecOrigin) { TraceResult tr; Vector vecLookerOrigin; @@ -1424,7 +1424,7 @@ BOOL CBaseEntity::__MAKE_VHOOK(FVisible)(const Vector &vecOrigin) } } -void CBaseEntity::__MAKE_VHOOK(TraceAttack)(entvars_t *pevAttacker, float flDamage, Vector vecDir, TraceResult *ptr, int bitsDamageType) +void CBaseEntity::TraceAttack(entvars_t *pevAttacker, float flDamage, Vector vecDir, TraceResult *ptr, int bitsDamageType) { Vector vecOrigin = ptr->vecEndPos - vecDir * 4; @@ -1442,7 +1442,7 @@ void CBaseEntity::__MAKE_VHOOK(TraceAttack)(entvars_t *pevAttacker, float flDama } } -void CBaseMonster::__MAKE_VHOOK(TraceAttack)(entvars_t *pevAttacker, float flDamage, Vector vecDir, TraceResult *ptr, int bitsDamageType) +void CBaseMonster::TraceAttack(entvars_t *pevAttacker, float flDamage, Vector vecDir, TraceResult *ptr, int bitsDamageType) { Vector vecOrigin = ptr->vecEndPos - vecDir * 4; @@ -1859,7 +1859,7 @@ Vector CBaseEntity::FireBullets3(Vector vecSrc, Vector vecDirShooting, float vec return Vector(x * vecSpread, y * vecSpread, 0); } -void CBaseEntity::__MAKE_VHOOK(TraceBleed)(float flDamage, Vector vecDir, TraceResult *ptr, int bitsDamageType) +void CBaseEntity::TraceBleed(float flDamage, Vector vecDir, TraceResult *ptr, int bitsDamageType) { if (BloodColor() == DONT_BLEED) return; diff --git a/regamedll/dlls/doors.cpp b/regamedll/dlls/doors.cpp index dff9d918..2584ab99 100644 --- a/regamedll/dlls/doors.cpp +++ b/regamedll/dlls/doors.cpp @@ -113,7 +113,7 @@ void PlayLockSounds(entvars_t *pev, locksound_t *pls, int flocked, int fbutton) } // Cache user-entity-field values until spawn is called. -void CBaseDoor::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CBaseDoor::KeyValue(KeyValueData *pkvd) { //skin is used for content type if (FStrEq(pkvd->szKeyName, "skin")) @@ -192,7 +192,7 @@ LINK_ENTITY_TO_CLASS(func_door, CBaseDoor, CCSDoor) // func_water - same as a door. LINK_ENTITY_TO_CLASS(func_water, CBaseDoor, CCSDoor) -void CBaseDoor::__MAKE_VHOOK(Spawn)() +void CBaseDoor::Spawn() { Precache(); SetMovedir(pev); @@ -251,7 +251,7 @@ void CBaseDoor::__MAKE_VHOOK(Spawn)() m_lastBlockedTimestamp = 0; } -void CBaseDoor::__MAKE_VHOOK(Restart)() +void CBaseDoor::Restart() { SetMovedir(pev); m_toggle_state = TS_AT_BOTTOM; @@ -263,7 +263,7 @@ void CBaseDoor::__MAKE_VHOOK(Restart)() SetTouch(&CBaseDoor::DoorTouch); } -void CBaseDoor::__MAKE_VHOOK(SetToggleState)(int state) +void CBaseDoor::SetToggleState(int state) { if (state == TS_AT_TOP) UTIL_SetOrigin(pev, m_vecPosition2); @@ -274,7 +274,7 @@ void CBaseDoor::__MAKE_VHOOK(SetToggleState)(int state) #define noiseMoving noise1 #define noiseArrived noise2 -void CBaseDoor::__MAKE_VHOOK(Precache)() +void CBaseDoor::Precache() { char *pszSound; @@ -457,7 +457,7 @@ void CBaseDoor::DoorTouch(CBaseEntity *pOther) } // Used by SUB_UseTargets, when a door is the target of a button. -void CBaseDoor::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CBaseDoor::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { m_hActivator = pActivator; @@ -725,7 +725,7 @@ void CBaseDoor::DoorHitBottom() } } -void CBaseDoor::__MAKE_VHOOK(Blocked)(CBaseEntity *pOther) +void CBaseDoor::Blocked(CBaseEntity *pOther) { edict_t *pentTarget = NULL; CBaseDoor *pDoor = NULL; @@ -847,7 +847,7 @@ void CBaseDoor::__MAKE_VHOOK(Blocked)(CBaseEntity *pOther) // 4) screechy metal LINK_ENTITY_TO_CLASS(func_door_rotating, CRotDoor, CCSRotDoor) -void CRotDoor::__MAKE_VHOOK(Restart)() +void CRotDoor::Restart() { CBaseToggle::AxisDir(pev); @@ -878,7 +878,7 @@ void CRotDoor::__MAKE_VHOOK(Restart)() DoorGoDown(); } -void CRotDoor::__MAKE_VHOOK(Spawn)() +void CRotDoor::Spawn() { Precache(); @@ -941,7 +941,7 @@ void CRotDoor::__MAKE_VHOOK(Spawn)() } } -void CRotDoor::__MAKE_VHOOK(SetToggleState)(int state) +void CRotDoor::SetToggleState(int state) { if (state == TS_AT_TOP) pev->angles = m_vecAngle2; @@ -954,7 +954,7 @@ void CRotDoor::__MAKE_VHOOK(SetToggleState)(int state) LINK_ENTITY_TO_CLASS(momentary_door, CMomentaryDoor, CCSMomentaryDoor) IMPLEMENT_SAVERESTORE(CMomentaryDoor, CBaseToggle) -void CMomentaryDoor::__MAKE_VHOOK(Spawn)() +void CMomentaryDoor::Spawn() { SetMovedir(pev); @@ -989,7 +989,7 @@ void CMomentaryDoor::__MAKE_VHOOK(Spawn)() Precache(); } -void CMomentaryDoor::__MAKE_VHOOK(Precache)() +void CMomentaryDoor::Precache() { // set the door's "in-motion" sound switch (m_bMoveSnd) @@ -1035,7 +1035,7 @@ void CMomentaryDoor::__MAKE_VHOOK(Precache)() } } -void CMomentaryDoor::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CMomentaryDoor::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "movesnd")) { @@ -1056,7 +1056,7 @@ void CMomentaryDoor::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CBaseToggle::KeyValue(pkvd); } -void CMomentaryDoor::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CMomentaryDoor::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { // Momentary buttons will pass down a float in here if (useType != USE_SET) diff --git a/regamedll/dlls/doors.h b/regamedll/dlls/doors.h index f4048a2e..e315eff3 100644 --- a/regamedll/dlls/doors.h +++ b/regamedll/dlls/doors.h @@ -69,20 +69,6 @@ public: virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); virtual void Blocked(CBaseEntity *pOther); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void Restart_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void SetToggleState_(int state); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - void Blocked_(CBaseEntity *pOther); - -#endif - public: static TYPEDESCRIPTION IMPL(m_SaveData)[7]; @@ -97,10 +83,10 @@ public: public: byte m_bHealthValue; // some doors are medi-kit doors, they give players health - byte m_bMoveSnd; // sound a door makes while moving - byte m_bStopSnd; // sound a door makes when it stops + byte m_bMoveSnd; // sound a door makes while moving + byte m_bStopSnd; // sound a door makes when it stops - locksound_t m_ls; // door lock sounds + locksound_t m_ls; // door lock sounds byte m_bLockedSound; // ordinals from entity selection byte m_bLockedSentence; @@ -116,15 +102,6 @@ public: virtual void Spawn(); virtual void Restart(); virtual void SetToggleState(int state); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Restart_(); - void SetToggleState_(int state); - -#endif - }; class CMomentaryDoor: public CBaseToggle @@ -138,21 +115,10 @@ public: virtual int ObjectCaps() { return (CBaseToggle::ObjectCaps() & ~FCAP_ACROSS_TRANSITION); } virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: static TYPEDESCRIPTION IMPL(m_SaveData)[1]; - byte m_bMoveSnd; // sound a door makes while moving + byte m_bMoveSnd; // sound a door makes while moving }; void PlayLockSounds(entvars_t *pev, locksound_t *pls, int flocked, int fbutton); diff --git a/regamedll/dlls/effects.cpp b/regamedll/dlls/effects.cpp index 206a6337..4c5c6a4d 100644 --- a/regamedll/dlls/effects.cpp +++ b/regamedll/dlls/effects.cpp @@ -65,7 +65,7 @@ LINK_ENTITY_TO_CLASS(info_target, CPointEntity, CCSPointEntity) LINK_ENTITY_TO_CLASS(env_bubbles, CBubbling, CCSBubbling) IMPLEMENT_SAVERESTORE(CBubbling, CBaseEntity) -void CBubbling::__MAKE_VHOOK(Spawn)() +void CBubbling::Spawn() { Precache(); SET_MODEL(ENT(pev), STRING(pev->model)); // Set size @@ -95,13 +95,13 @@ void CBubbling::__MAKE_VHOOK(Spawn)() m_state = 0; } -void CBubbling::__MAKE_VHOOK(Precache)() +void CBubbling::Precache() { // Precache bubble sprite m_bubbleModel = PRECACHE_MODEL("sprites/bubble.spr"); } -void CBubbling::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CBubbling::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (ShouldToggle(useType, m_state)) m_state = !m_state; @@ -118,7 +118,7 @@ void CBubbling::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, } } -void CBubbling::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CBubbling::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "density")) { @@ -156,14 +156,14 @@ void CBubbling::FizzThink() LINK_ENTITY_TO_CLASS(beam, CBeam, CCSBeam) -void CBeam::__MAKE_VHOOK(Spawn)() +void CBeam::Spawn() { // Remove model & collisions pev->solid = SOLID_NOT; Precache(); } -void CBeam::__MAKE_VHOOK(Precache)() +void CBeam::Precache() { if (pev->owner) { @@ -354,7 +354,7 @@ LINK_ENTITY_TO_CLASS(env_lightning, CLightning, CCSLightning) LINK_ENTITY_TO_CLASS(env_beam, CLightning, CCSLightning) IMPLEMENT_SAVERESTORE(CLightning, CBeam) -void CLightning::__MAKE_VHOOK(Spawn)() +void CLightning::Spawn() { if (FStringNull(m_iszSpriteName)) { @@ -405,19 +405,19 @@ void CLightning::__MAKE_VHOOK(Spawn)() } } -void CLightning::__MAKE_VHOOK(Precache)() +void CLightning::Precache() { m_spriteTexture = PRECACHE_MODEL((char *)STRING(m_iszSpriteName)); CBeam::Precache(); } -void CLightning::__MAKE_VHOOK(Activate)() +void CLightning::Activate() { if (ServerSide()) BeamUpdateVars(); } -void CLightning::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CLightning::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "LightningStart")) { @@ -849,7 +849,7 @@ void CLightning::BeamUpdateVars() LINK_ENTITY_TO_CLASS(env_laser, CLaser, CCSLaser) IMPLEMENT_SAVERESTORE(CLaser, CBeam) -void CLaser::__MAKE_VHOOK(Spawn)() +void CLaser::Spawn() { if (FStringNull(pev->model)) { @@ -880,7 +880,7 @@ void CLaser::__MAKE_VHOOK(Spawn)() TurnOn(); } -void CLaser::__MAKE_VHOOK(Precache)() +void CLaser::Precache() { pev->modelindex = PRECACHE_MODEL((char *)STRING(pev->model)); @@ -890,7 +890,7 @@ void CLaser::__MAKE_VHOOK(Precache)() } } -void CLaser::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CLaser::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "LaserTarget")) { @@ -968,7 +968,7 @@ void CLaser::TurnOn() pev->nextthink = gpGlobals->time; } -void CLaser::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CLaser::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { int active = IsOn(); @@ -1008,7 +1008,7 @@ void CLaser::StrikeThink() LINK_ENTITY_TO_CLASS(env_glow, CGlow, CCSGlow) IMPLEMENT_SAVERESTORE(CGlow, CPointEntity) -void CGlow::__MAKE_VHOOK(Spawn)() +void CGlow::Spawn() { pev->solid = SOLID_NOT; pev->movetype = MOVETYPE_NONE; @@ -1028,7 +1028,7 @@ void CGlow::__MAKE_VHOOK(Spawn)() m_lastTime = gpGlobals->time; } -void CGlow::__MAKE_VHOOK(Think)() +void CGlow::Think() { Animate(pev->framerate * (gpGlobals->time - m_lastTime)); @@ -1046,7 +1046,7 @@ void CGlow::Animate(float frames) LINK_ENTITY_TO_CLASS(env_bombglow, CBombGlow, CCSBombGlow) -void CBombGlow::__MAKE_VHOOK(Spawn)() +void CBombGlow::Spawn() { #ifdef REGAMEDLL_FIXES PRECACHE_MODEL("sprites/flare1.spr"); @@ -1069,7 +1069,7 @@ void CBombGlow::__MAKE_VHOOK(Spawn)() m_bSetModel = false; } -void CBombGlow::__MAKE_VHOOK(Think)() +void CBombGlow::Think() { if (!m_bSetModel) { @@ -1099,7 +1099,7 @@ void CBombGlow::__MAKE_VHOOK(Think)() LINK_ENTITY_TO_CLASS(env_sprite, CSprite, CCSSprite) IMPLEMENT_SAVERESTORE(CSprite, CPointEntity) -void CSprite::__MAKE_VHOOK(Spawn)() +void CSprite::Spawn() { pev->solid = SOLID_NOT; pev->movetype = MOVETYPE_NONE; @@ -1123,7 +1123,7 @@ void CSprite::__MAKE_VHOOK(Spawn)() } } -void CSprite::__MAKE_VHOOK(Restart)() +void CSprite::Restart() { pev->solid = SOLID_NOT; pev->movetype = MOVETYPE_NONE; @@ -1136,7 +1136,7 @@ void CSprite::__MAKE_VHOOK(Restart)() TurnOn(); } -void CSprite::__MAKE_VHOOK(Precache)() +void CSprite::Precache() { PRECACHE_MODEL((char *)STRING(pev->model)); @@ -1259,7 +1259,7 @@ void CSprite::TurnOn() pev->frame = 0; } -void CSprite::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CSprite::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { int on = pev->effects != EF_NODRAW; @@ -1275,7 +1275,7 @@ void CSprite::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, U IMPLEMENT_SAVERESTORE(CGibShooter, CBaseDelay) LINK_ENTITY_TO_CLASS(gibshooter, CGibShooter, CCSGibShooter) -void CGibShooter::__MAKE_VHOOK(Precache)() +void CGibShooter::Precache() { if (g_Language == LANGUAGE_GERMAN) { @@ -1287,7 +1287,7 @@ void CGibShooter::__MAKE_VHOOK(Precache)() } } -void CGibShooter::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CGibShooter::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "m_iGibs")) { @@ -1313,13 +1313,13 @@ void CGibShooter::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CBaseDelay::KeyValue(pkvd); } -void CGibShooter::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CGibShooter::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { SetThink(&CGibShooter::ShootThink); pev->nextthink = gpGlobals->time; } -void CGibShooter::__MAKE_VHOOK(Spawn)() +void CGibShooter::Spawn() { Precache(); @@ -1340,7 +1340,7 @@ void CGibShooter::__MAKE_VHOOK(Spawn)() pev->body = MODEL_FRAMES(m_iGibModelIndex); } -CGib *CGibShooter::__MAKE_VHOOK(CreateGib)() +CGib *CGibShooter::CreateGib() { if (CVAR_GET_FLOAT("violence_hgibs") == 0) return NULL; @@ -1427,7 +1427,7 @@ void CGibShooter::ShootThink() LINK_ENTITY_TO_CLASS(env_shooter, CEnvShooter, CCSEnvShooter) -void CEnvShooter::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CEnvShooter::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "shootmodel")) { @@ -1466,13 +1466,13 @@ void CEnvShooter::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CGibShooter::KeyValue(pkvd); } -void CEnvShooter::__MAKE_VHOOK(Precache)() +void CEnvShooter::Precache() { m_iGibModelIndex = PRECACHE_MODEL((char *)STRING(pev->model)); CBreakable::MaterialSoundPrecache((Materials)m_iGibMaterial); } -CGib *CEnvShooter::__MAKE_VHOOK(CreateGib)() +CGib *CEnvShooter::CreateGib() { CGib *pGib = GetClassPtr((CGib *)NULL); @@ -1499,12 +1499,12 @@ CGib *CEnvShooter::__MAKE_VHOOK(CreateGib)() LINK_ENTITY_TO_CLASS(test_effect, CTestEffect, CCSTestEffect) -void CTestEffect::__MAKE_VHOOK(Spawn)() +void CTestEffect::Spawn() { Precache(); } -void CTestEffect::__MAKE_VHOOK(Precache)() +void CTestEffect::Precache() { PRECACHE_MODEL("sprites/lgtning.spr"); } @@ -1563,7 +1563,7 @@ void CTestEffect::TestThink() } } -void CTestEffect::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CTestEffect::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { SetThink(&CTestEffect::TestThink); @@ -1573,7 +1573,7 @@ void CTestEffect::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCalle LINK_ENTITY_TO_CLASS(env_blood, CBlood, CCSBlood) -void CBlood::__MAKE_VHOOK(Spawn)() +void CBlood::Spawn() { pev->solid = SOLID_NOT; pev->movetype = MOVETYPE_NONE; @@ -1583,7 +1583,7 @@ void CBlood::__MAKE_VHOOK(Spawn)() SetMovedir(pev); } -void CBlood::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CBlood::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "color")) { @@ -1637,7 +1637,7 @@ Vector CBlood::BloodPosition(CBaseEntity *pActivator) return pev->origin; } -void CBlood::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CBlood::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (pev->spawnflags & SF_BLOOD_STREAM) UTIL_BloodStream(BloodPosition(pActivator), Direction(), (Color() == BLOOD_COLOR_RED) ? 70 : Color(), int(BloodAmount())); @@ -1661,7 +1661,7 @@ void CBlood::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, US LINK_ENTITY_TO_CLASS(env_shake, CShake, CCSShake) -void CShake::__MAKE_VHOOK(Spawn)() +void CShake::Spawn() { pev->solid = SOLID_NOT; pev->movetype = MOVETYPE_NONE; @@ -1672,7 +1672,7 @@ void CShake::__MAKE_VHOOK(Spawn)() pev->dmg = 0; } -void CShake::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CShake::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "amplitude")) { @@ -1698,14 +1698,14 @@ void CShake::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CPointEntity::KeyValue(pkvd); } -void CShake::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CShake::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { UTIL_ScreenShake(pev->origin, Amplitude(), Frequency(), Duration(), Radius()); } LINK_ENTITY_TO_CLASS(env_fade, CFade, CCSFade) -void CFade::__MAKE_VHOOK(Spawn)() +void CFade::Spawn() { pev->solid = SOLID_NOT; pev->movetype = MOVETYPE_NONE; @@ -1713,7 +1713,7 @@ void CFade::__MAKE_VHOOK(Spawn)() pev->frame = 0; } -void CFade::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CFade::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "duration")) { @@ -1729,7 +1729,7 @@ void CFade::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CPointEntity::KeyValue(pkvd); } -void CFade::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CFade::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { int fadeFlags = 0; @@ -1754,7 +1754,7 @@ void CFade::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE LINK_ENTITY_TO_CLASS(env_message, CMessage, CCSMessage) -void CMessage::__MAKE_VHOOK(Spawn)() +void CMessage::Spawn() { Precache(); @@ -1787,7 +1787,7 @@ void CMessage::__MAKE_VHOOK(Spawn)() pev->scale = 1.0f; } -void CMessage::__MAKE_VHOOK(Precache)() +void CMessage::Precache() { if (pev->noise) { @@ -1795,7 +1795,7 @@ void CMessage::__MAKE_VHOOK(Precache)() } } -void CMessage::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CMessage::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "messagesound")) { @@ -1816,7 +1816,7 @@ void CMessage::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CPointEntity::KeyValue(pkvd); } -void CMessage::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CMessage::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { CBaseEntity *pPlayer = NULL; @@ -1847,12 +1847,12 @@ void CMessage::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, LINK_ENTITY_TO_CLASS(env_funnel, CEnvFunnel, CCSEnvFunnel) -void CEnvFunnel::__MAKE_VHOOK(Precache)() +void CEnvFunnel::Precache() { m_iSprite = PRECACHE_MODEL("sprites/flare6.spr"); } -void CEnvFunnel::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CEnvFunnel::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { MESSAGE_BEGIN(MSG_BROADCAST, SVC_TEMPENTITY); WRITE_BYTE(TE_LARGEFUNNEL); @@ -1878,14 +1878,14 @@ void CEnvFunnel::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller pev->nextthink = gpGlobals->time; } -void CEnvFunnel::__MAKE_VHOOK(Spawn)() +void CEnvFunnel::Spawn() { Precache(); pev->solid = SOLID_NOT; pev->effects = EF_NODRAW; } -void CEnvBeverage::__MAKE_VHOOK(Precache)() +void CEnvBeverage::Precache() { PRECACHE_MODEL("models/can.mdl"); PRECACHE_SOUND("weapons/g_bounce3.wav"); @@ -1893,7 +1893,7 @@ void CEnvBeverage::__MAKE_VHOOK(Precache)() LINK_ENTITY_TO_CLASS(env_beverage, CEnvBeverage, CCSEnvBeverage) -void CEnvBeverage::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CEnvBeverage::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (pev->frags != 0.0f || pev->health <= 0.0f) { @@ -1915,7 +1915,7 @@ void CEnvBeverage::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCall pev->health--; } -void CEnvBeverage::__MAKE_VHOOK(Spawn)() +void CEnvBeverage::Spawn() { Precache(); pev->solid = SOLID_NOT; @@ -1928,14 +1928,14 @@ void CEnvBeverage::__MAKE_VHOOK(Spawn)() } } -void CItemSoda::__MAKE_VHOOK(Precache)() +void CItemSoda::Precache() { ; } LINK_ENTITY_TO_CLASS(item_sodacan, CItemSoda, CCSItemSoda) -void CItemSoda::__MAKE_VHOOK(Spawn)() +void CItemSoda::Spawn() { Precache(); pev->solid = SOLID_NOT; diff --git a/regamedll/dlls/effects.h b/regamedll/dlls/effects.h index 7e6a38f1..1507bfe0 100644 --- a/regamedll/dlls/effects.h +++ b/regamedll/dlls/effects.h @@ -86,17 +86,6 @@ public: } virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void Restart_(); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: void EXPORT AnimateThink(); void EXPORT ExpandThink(); @@ -168,13 +157,6 @@ public: } virtual Vector Center() { return (GetStartPos() + GetEndPos()) * 0.5f; } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - -#endif - public: void EXPORT TriggerTouch(CBaseEntity *pOther); @@ -245,17 +227,6 @@ public: virtual int Restore(CRestore &restore); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: void TurnOn(); void TurnOff(); @@ -283,17 +254,6 @@ public: virtual int ObjectCaps() { return (CBaseEntity::ObjectCaps() & ~FCAP_ACROSS_TRANSITION); } virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: void EXPORT FizzThink(); @@ -316,17 +276,6 @@ public: virtual int Restore(CRestore &restore); virtual void Activate(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Activate_(); - -#endif - public: void EXPORT StrikeThink(); void EXPORT DamageThink(); @@ -371,15 +320,6 @@ public: virtual int Restore(CRestore &restore); virtual void Think(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Think_(); - -#endif - void Animate(float frames); public: @@ -395,13 +335,6 @@ public: virtual void Spawn(); virtual void Think(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Think_(); - -#endif - public: float m_lastTime; float m_tmBeepPeriod; @@ -419,18 +352,6 @@ public: virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); virtual CGib *CreateGib(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - CGib *CreateGib_(); - -#endif - public: void EXPORT ShootThink(); @@ -453,15 +374,6 @@ public: virtual void Precache(); virtual void KeyValue(KeyValueData *pkvd); virtual CGib *CreateGib(); - -#ifdef HOOK_GAMEDLL - - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - CGib *CreateGib_(); - -#endif - }; #define MAX_BEAM 24 @@ -473,14 +385,6 @@ public: virtual void Precache(); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: void EXPORT TestThink(); @@ -501,14 +405,6 @@ public: virtual void KeyValue(KeyValueData *pkvd); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: int Color() const { return pev->impulse; } float BloodAmount() const { return pev->dmg; } @@ -528,14 +424,6 @@ public: virtual void KeyValue(KeyValueData *pkvd); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: float Amplitude() const { return pev->scale; } float Frequency() const { return pev->dmg_save; } @@ -555,14 +443,6 @@ public: virtual void KeyValue(KeyValueData *pkvd); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: float Duration() const { return pev->dmg_take; } float HoldTime() const { return pev->dmg_save; } @@ -578,16 +458,6 @@ public: virtual void Precache(); virtual void KeyValue(KeyValueData *pkvd); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - }; class CEnvFunnel: public CBaseDelay @@ -597,14 +467,6 @@ public: virtual void Precache(); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: int m_iSprite; }; @@ -615,15 +477,6 @@ public: virtual void Spawn(); virtual void Precache(); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - }; class CItemSoda: public CBaseEntity @@ -632,13 +485,6 @@ public: virtual void Spawn(); virtual void Precache(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - -#endif - public: void EXPORT CanThink(); void EXPORT CanTouch(CBaseEntity *pOther); diff --git a/regamedll/dlls/explode.cpp b/regamedll/dlls/explode.cpp index 9be9cc2b..23360c27 100644 --- a/regamedll/dlls/explode.cpp +++ b/regamedll/dlls/explode.cpp @@ -15,7 +15,7 @@ TYPEDESCRIPTION CEnvExplosion::m_SaveData[] = LINK_ENTITY_TO_CLASS(spark_shower, CShower, CCSShower) -void CShower::__MAKE_VHOOK(Spawn)() +void CShower::Spawn() { pev->velocity = RANDOM_FLOAT(200, 300) * pev->angles; pev->velocity.x += RANDOM_FLOAT(-100, 100); @@ -40,7 +40,7 @@ void CShower::__MAKE_VHOOK(Spawn)() pev->angles = g_vecZero; } -void CShower::__MAKE_VHOOK(Think)() +void CShower::Think() { UTIL_Sparks(pev->origin); @@ -54,7 +54,7 @@ void CShower::__MAKE_VHOOK(Think)() pev->flags &= ~FL_ONGROUND; } -void CShower::__MAKE_VHOOK(Touch)(CBaseEntity *pOther) +void CShower::Touch(CBaseEntity *pOther) { if (pev->flags & FL_ONGROUND) pev->velocity = pev->velocity * 0.1f; @@ -70,7 +70,7 @@ void CShower::__MAKE_VHOOK(Touch)(CBaseEntity *pOther) IMPLEMENT_SAVERESTORE(CEnvExplosion, CBaseMonster) LINK_ENTITY_TO_CLASS(env_explosion, CEnvExplosion, CCSEnvExplosion) -void CEnvExplosion::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CEnvExplosion::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "iMagnitude")) { @@ -81,7 +81,7 @@ void CEnvExplosion::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CBaseEntity::KeyValue(pkvd); } -void CEnvExplosion::__MAKE_VHOOK(Spawn)() +void CEnvExplosion::Spawn() { pev->solid = SOLID_NOT; pev->effects = EF_NODRAW; @@ -97,7 +97,7 @@ void CEnvExplosion::__MAKE_VHOOK(Spawn)() m_spriteScale = int(flSpriteScale); } -void CEnvExplosion::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CEnvExplosion::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { TraceResult tr; diff --git a/regamedll/dlls/explode.h b/regamedll/dlls/explode.h index eaf5e8be..82222a44 100644 --- a/regamedll/dlls/explode.h +++ b/regamedll/dlls/explode.h @@ -46,15 +46,6 @@ public: virtual int ObjectCaps() { return FCAP_DONT_SAVE; } virtual void Think(); virtual void Touch(CBaseEntity *pOther); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Think_(); - void Touch_(CBaseEntity *pOther); - -#endif - }; class CEnvExplosion: public CBaseMonster @@ -66,16 +57,6 @@ public: virtual int Restore(CRestore &restore); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: void EXPORT Smoke(); diff --git a/regamedll/dlls/func_break.cpp b/regamedll/dlls/func_break.cpp index a87cb5ce..6a3a820d 100644 --- a/regamedll/dlls/func_break.cpp +++ b/regamedll/dlls/func_break.cpp @@ -106,7 +106,7 @@ TYPEDESCRIPTION CPushable::m_SaveData[] = #endif // HOOK_GAMEDLL -void CBreakable::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CBreakable::KeyValue(KeyValueData *pkvd) { // UNDONE_WC: explicitly ignoring these fields, but they shouldn't be in the map file! if (FStrEq(pkvd->szKeyName, "explosion")) @@ -172,7 +172,7 @@ void CBreakable::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) LINK_ENTITY_TO_CLASS(func_breakable, CBreakable, CCSBreakable) IMPLEMENT_SAVERESTORE(CBreakable, CBaseEntity) -void CBreakable::__MAKE_VHOOK(Spawn)() +void CBreakable::Spawn() { Precache(); @@ -212,7 +212,7 @@ void CBreakable::__MAKE_VHOOK(Spawn)() } } -void CBreakable::__MAKE_VHOOK(Restart)() +void CBreakable::Restart() { pev->solid = SOLID_BSP; pev->movetype = MOVETYPE_PUSH; @@ -316,7 +316,7 @@ void CBreakable::MaterialSoundRandom(edict_t *pEdict, Materials soundMaterial, f } } -void CBreakable::__MAKE_VHOOK(Precache)() +void CBreakable::Precache() { const char *pGibName = NULL; @@ -533,7 +533,7 @@ void CBreakable::BreakTouch(CBaseEntity *pOther) // Smash the our breakable object // Break when triggered -void CBreakable::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CBreakable::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (IsBreakable()) { @@ -551,7 +551,7 @@ void CBreakable::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller } } -void CBreakable::__MAKE_VHOOK(TraceAttack)(entvars_t *pevAttacker, float flDamage, Vector vecDir, TraceResult *ptr, int bitsDamageType) +void CBreakable::TraceAttack(entvars_t *pevAttacker, float flDamage, Vector vecDir, TraceResult *ptr, int bitsDamageType) { // random spark if this is a 'computer' object if (RANDOM_LONG(0, 1)) @@ -587,7 +587,7 @@ void CBreakable::__MAKE_VHOOK(TraceAttack)(entvars_t *pevAttacker, float flDamag // Special takedamage for func_breakable. Allows us to make // exceptions that are breakable-specific // bitsDamageType indicates the type of damage sustained ie: DMG_CRUSH -BOOL CBreakable::__MAKE_VHOOK(TakeDamage)(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) +BOOL CBreakable::TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) { Vector vecTemp; @@ -676,7 +676,7 @@ void CBreakable::Die() // The more negative pev->health, the louder // the sound should be. - + #ifdef REGAMEDLL_FIXES fvol = RANDOM_FLOAT(0.85f, 1.0f) + (Q_abs(pev->health) / 100.0f); #else @@ -849,7 +849,7 @@ BOOL CBreakable::IsBreakable() return m_Material != matUnbreakableGlass; } -int CBreakable::__MAKE_VHOOK(DamageDecal)(int bitsDamageType) +int CBreakable::DamageDecal(int bitsDamageType) { if (m_Material == matGlass) return DECAL_GLASSBREAK1 + RANDOM_LONG(0, 2); @@ -863,7 +863,7 @@ int CBreakable::__MAKE_VHOOK(DamageDecal)(int bitsDamageType) LINK_ENTITY_TO_CLASS(func_pushable, CPushable, CCSPushable) IMPLEMENT_SAVERESTORE(CPushable, CBreakable) -void CPushable::__MAKE_VHOOK(Spawn)() +void CPushable::Spawn() { if (pev->spawnflags & SF_PUSH_BREAKABLE) CBreakable::Spawn(); @@ -898,7 +898,7 @@ void CPushable::__MAKE_VHOOK(Spawn)() m_soundTime = 0; } -void CPushable::__MAKE_VHOOK(Precache)() +void CPushable::Precache() { for (int i = 0; i < 3; ++i) { @@ -935,7 +935,7 @@ void CPushable::Restart() } #endif -void CPushable::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CPushable::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "size")) { @@ -972,7 +972,7 @@ void CPushable::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) } // Pull the func_pushable -void CPushable::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CPushable::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (!pActivator || !pActivator->IsPlayer()) { @@ -990,7 +990,7 @@ void CPushable::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, } } -void CPushable::__MAKE_VHOOK(Touch)(CBaseEntity *pOther) +void CPushable::Touch(CBaseEntity *pOther) { if (FClassnameIs(pOther->pev, "worldspawn")) return; @@ -1078,7 +1078,7 @@ void CPushable::Move(CBaseEntity *pOther, int push) } } -BOOL CPushable::__MAKE_VHOOK(TakeDamage)(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) +BOOL CPushable::TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) { if (pev->spawnflags & SF_PUSH_BREAKABLE) { diff --git a/regamedll/dlls/func_break.h b/regamedll/dlls/func_break.h index df07d275..f0c73158 100644 --- a/regamedll/dlls/func_break.h +++ b/regamedll/dlls/func_break.h @@ -88,21 +88,6 @@ public: virtual int DamageDecal(int bitsDamageType); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void Restart_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void TraceAttack_(entvars_t *pevAttacker, float flDamage, Vector vecDir, TraceResult *ptr, int bitsDamageType); - BOOL TakeDamage_(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType); - int DamageDecal_(int bitsDamageType); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: void EXPORT BreakTouch(CBaseEntity *pOther); void DamageSound(); @@ -157,27 +142,13 @@ public: virtual void Restart(); #endif -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - BOOL TakeDamage_(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType); - void Touch_(CBaseEntity *pOther); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: void Move(CBaseEntity *pMover, int push); void EXPORT StopSound() { #if 0 Vector dist = pev->oldorigin - pev->origin; - if (dist.Length() <= 0) - { + if (dist.Length() <= 0) { STOP_SOUND(ENT(pev), CHAN_WEAPON, m_soundNames[m_lastSound]); } #endif diff --git a/regamedll/dlls/func_tank.cpp b/regamedll/dlls/func_tank.cpp index 7197a81e..b512eb58 100644 --- a/regamedll/dlls/func_tank.cpp +++ b/regamedll/dlls/func_tank.cpp @@ -61,7 +61,7 @@ const int MAX_FIRING_SPREADS = ARRAYSIZE(gTankSpread); IMPLEMENT_SAVERESTORE(CFuncTank, CBaseEntity) -void CFuncTank::__MAKE_VHOOK(Spawn)() +void CFuncTank::Spawn() { Precache(); @@ -90,7 +90,7 @@ void CFuncTank::__MAKE_VHOOK(Spawn)() pev->oldorigin = pev->origin; } -void CFuncTank::__MAKE_VHOOK(Precache)() +void CFuncTank::Precache() { if (m_iszSpriteSmoke) { @@ -108,7 +108,7 @@ void CFuncTank::__MAKE_VHOOK(Precache)() } } -void CFuncTank::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CFuncTank::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "yawrate")) { @@ -219,7 +219,7 @@ void CFuncTank::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CBaseEntity::KeyValue(pkvd); } -BOOL CFuncTank::__MAKE_VHOOK(OnControls)(entvars_t *pevTest) +BOOL CFuncTank::OnControls(entvars_t *pevTest) { if (!(pev->spawnflags & SF_TANK_CANCONTROL)) return FALSE; @@ -323,7 +323,7 @@ void CFuncTank::ControllerPostFrame() } } -void CFuncTank::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CFuncTank::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { // player controlled turret if (pev->spawnflags & SF_TANK_CANCONTROL) @@ -373,7 +373,7 @@ BOOL CFuncTank::InRange(float range) return TRUE; } -void CFuncTank::__MAKE_VHOOK(Think)() +void CFuncTank::Think() { pev->avelocity = g_vecZero; TrackTarget(); @@ -580,7 +580,7 @@ void CFuncTank::AdjustAnglesForBarrel(Vector &angles, float distance) } // Fire targets and spawn sprites -void CFuncTank::__MAKE_VHOOK(Fire)(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker) +void CFuncTank::Fire(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker) { if (m_fireLast != 0.0f) { @@ -656,7 +656,7 @@ void CFuncTank::StopRotSound() LINK_ENTITY_TO_CLASS(func_tank, CFuncTankGun, CCSFuncTankGun) -void CFuncTankGun::__MAKE_VHOOK(Fire)(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker) +void CFuncTankGun::Fire(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker) { if (m_fireLast != 0.0f) { @@ -696,7 +696,7 @@ void CFuncTankGun::__MAKE_VHOOK(Fire)(const Vector &barrelEnd, const Vector &for LINK_ENTITY_TO_CLASS(func_tanklaser, CFuncTankLaser, CCSFuncTankLaser) IMPLEMENT_SAVERESTORE(CFuncTankLaser, CFuncTank) -void CFuncTankLaser::__MAKE_VHOOK(Activate)() +void CFuncTankLaser::Activate() { if (!GetLaser()) { @@ -709,7 +709,7 @@ void CFuncTankLaser::__MAKE_VHOOK(Activate)() } } -void CFuncTankLaser::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CFuncTankLaser::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "laserentity")) { @@ -744,7 +744,7 @@ CLaser *CFuncTankLaser::GetLaser() return m_pLaser; } -void CFuncTankLaser::__MAKE_VHOOK(Think)() +void CFuncTankLaser::Think() { if (m_pLaser != NULL && gpGlobals->time > m_laserTime) { @@ -754,7 +754,7 @@ void CFuncTankLaser::__MAKE_VHOOK(Think)() CFuncTank::Think(); } -void CFuncTankLaser::__MAKE_VHOOK(Fire)(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker) +void CFuncTankLaser::Fire(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker) { int i; TraceResult tr; @@ -791,13 +791,13 @@ void CFuncTankLaser::__MAKE_VHOOK(Fire)(const Vector &barrelEnd, const Vector &f LINK_ENTITY_TO_CLASS(func_tankrocket, CFuncTankRocket, CCSFuncTankRocket) -void CFuncTankRocket::__MAKE_VHOOK(Precache)() +void CFuncTankRocket::Precache() { UTIL_PrecacheOther("rpg_rocket"); CFuncTank::Precache(); } -void CFuncTankRocket::__MAKE_VHOOK(Fire)(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker) +void CFuncTankRocket::Fire(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker) { int i; @@ -821,7 +821,7 @@ void CFuncTankRocket::__MAKE_VHOOK(Fire)(const Vector &barrelEnd, const Vector & LINK_ENTITY_TO_CLASS(func_tankmortar, CFuncTankMortar, CCSFuncTankMortar) -void CFuncTankMortar::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CFuncTankMortar::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "iMagnitude")) { @@ -832,7 +832,7 @@ void CFuncTankMortar::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CFuncTank::KeyValue(pkvd); } -void CFuncTankMortar::__MAKE_VHOOK(Fire)(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker) +void CFuncTankMortar::Fire(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker) { if (m_fireLast != 0.0f) { @@ -858,7 +858,7 @@ void CFuncTankMortar::__MAKE_VHOOK(Fire)(const Vector &barrelEnd, const Vector & LINK_ENTITY_TO_CLASS(func_tankcontrols, CFuncTankControls, CCSFuncTankControls) IMPLEMENT_SAVERESTORE(CFuncTankControls, CBaseEntity) -void CFuncTankControls::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CFuncTankControls::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { // pass the Use command onto the controls if (m_pTank != NULL) @@ -870,7 +870,7 @@ void CFuncTankControls::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity * assert(m_pTank != NULL); } -void CFuncTankControls::__MAKE_VHOOK(Think)() +void CFuncTankControls::Think() { edict_t *pTarget = NULL; @@ -889,7 +889,7 @@ void CFuncTankControls::__MAKE_VHOOK(Think)() m_pTank = static_cast(Instance(pTarget)); } -void CFuncTankControls::__MAKE_VHOOK(Spawn)() +void CFuncTankControls::Spawn() { pev->solid = SOLID_TRIGGER; pev->movetype = MOVETYPE_NONE; diff --git a/regamedll/dlls/func_tank.h b/regamedll/dlls/func_tank.h index 67a70413..96db109b 100644 --- a/regamedll/dlls/func_tank.h +++ b/regamedll/dlls/func_tank.h @@ -65,20 +65,6 @@ public: virtual void Fire(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker); virtual Vector UpdateTargetPosition(CBaseEntity *pTarget) { return pTarget->BodyTarget(pev->origin); } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - BOOL OnControls_(entvars_t *pevTest); - void Think_(); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - void Fire_(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker); - -#endif - public: void TrackTarget(); void StartRotSound(); @@ -160,11 +146,6 @@ class CFuncTankGun: public CFuncTank { public: virtual void Fire(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker); - -#ifdef HOOK_GAMEDLL - void Fire_(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker); -#endif - }; class CFuncTankLaser: public CFuncTank @@ -177,17 +158,6 @@ public: virtual void Think(); virtual void Fire(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker); -#ifdef HOOK_GAMEDLL - - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Activate_(); - void Think_(); - void Fire_(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker); - -#endif - CLaser *GetLaser(); public: @@ -203,14 +173,6 @@ class CFuncTankRocket: public CFuncTank public: virtual void Precache(); virtual void Fire(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker); - -#ifdef HOOK_GAMEDLL - - void Precache_(); - void Fire_(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker); - -#endif - }; class CFuncTankMortar: public CFuncTank @@ -218,14 +180,6 @@ class CFuncTankMortar: public CFuncTank public: virtual void KeyValue(KeyValueData *pkvd); virtual void Fire(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker); - -#ifdef HOOK_GAMEDLL - - void KeyValue_(KeyValueData *pkvd); - void Fire_(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker); - -#endif - }; class CFuncTankControls: public CBaseEntity @@ -238,16 +192,6 @@ public: virtual void Think(); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Think_(); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: static TYPEDESCRIPTION IMPL(m_SaveData)[1]; CFuncTank *m_pTank; diff --git a/regamedll/dlls/gamerules.cpp b/regamedll/dlls/gamerules.cpp index fe6201cb..06e5dc72 100644 --- a/regamedll/dlls/gamerules.cpp +++ b/regamedll/dlls/gamerules.cpp @@ -10,7 +10,6 @@ CGameRules *g_pGameRules = NULL; #endif CGameRules::CGameRules() - : m_GameDesc() { m_bFreezePeriod = FALSE; m_bBombDropped = FALSE; @@ -20,11 +19,13 @@ CGameRules::CGameRules() Q_strcpy(m_GameDesc, AreRunningCZero() ? "Condition Zero" : "Counter-Strike"); } +#ifndef HOOK_GAMEDLL CGameRules::~CGameRules() { delete[] m_GameDesc; m_GameDesc = nullptr; } +#endif // this is the game name that gets seen in the server browser const char *CGameRules::GetGameDescription() @@ -36,7 +37,7 @@ const char *CGameRules::GetGameDescription() #endif } -BOOL CGameRules::__MAKE_VHOOK(CanHaveAmmo)(CBasePlayer *pPlayer, const char *pszAmmoName, int iMaxCarry) +BOOL CGameRules::CanHaveAmmo(CBasePlayer *pPlayer, const char *pszAmmoName, int iMaxCarry) { if (pszAmmoName) { @@ -54,7 +55,7 @@ BOOL CGameRules::__MAKE_VHOOK(CanHaveAmmo)(CBasePlayer *pPlayer, const char *psz return FALSE; } -edict_t *CGameRules::__MAKE_VHOOK(GetPlayerSpawnSpot)(CBasePlayer *pPlayer) +edict_t *CGameRules::GetPlayerSpawnSpot(CBasePlayer *pPlayer) { // gat valid spawn point edict_t *pentSpawnSpot = pPlayer->EntSelectSpawnPoint(); @@ -77,7 +78,7 @@ edict_t *CGameRules::__MAKE_VHOOK(GetPlayerSpawnSpot)(CBasePlayer *pPlayer) return pentSpawnSpot; } -BOOL CGameRules::__MAKE_VHOOK(CanHavePlayerItem)(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon) +BOOL CGameRules::CanHavePlayerItem(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon) { // only living players can have items if (pPlayer->pev->deadflag != DEAD_NO) @@ -115,7 +116,7 @@ BOOL CGameRules::__MAKE_VHOOK(CanHavePlayerItem)(CBasePlayer *pPlayer, CBasePlay return TRUE; } -void CGameRules::__MAKE_VHOOK(RefreshSkillData)() +void CGameRules::RefreshSkillData() { int iSkill = int(CVAR_GET_FLOAT("skill")); diff --git a/regamedll/dlls/gamerules.h b/regamedll/dlls/gamerules.h index 72859030..819a86a8 100644 --- a/regamedll/dlls/gamerules.h +++ b/regamedll/dlls/gamerules.h @@ -60,12 +60,6 @@ #define WINNER_NONE 0 #define WINNER_DRAW 1 -#if defined(REGAMEDLL_ADD) && !defined(HOOK_GAMEDLL) -#define VFUNC virtual -#else -#define VFUNC -#endif - enum { WINSTATUS_CTS = 1, @@ -128,44 +122,44 @@ enum RewardRules // custom enum enum RewardAccount { - REWARD_TARGET_BOMB = 3500, - REWARD_VIP_ESCAPED = 3500, - REWARD_VIP_ASSASSINATED = 3250, - REWARD_TERRORISTS_ESCAPED = 3150, - REWARD_CTS_PREVENT_ESCAPE = 3500, - REWARD_ESCAPING_TERRORISTS_NEUTRALIZED = 3250, - REWARD_BOMB_DEFUSED = 3250, - REWARD_BOMB_PLANTED = 800, - REWARD_BOMB_EXPLODED = 3250, - REWARD_CTS_WIN = 3000, - REWARD_TERRORISTS_WIN = 3000, - REWARD_ALL_HOSTAGES_RESCUED = 2500, + REWARD_TARGET_BOMB = 3500, + REWARD_VIP_ESCAPED = 3500, + REWARD_VIP_ASSASSINATED = 3250, + REWARD_TERRORISTS_ESCAPED = 3150, + REWARD_CTS_PREVENT_ESCAPE = 3500, + REWARD_ESCAPING_TERRORISTS_NEUTRALIZED = 3250, + REWARD_BOMB_DEFUSED = 3250, + REWARD_BOMB_PLANTED = 800, + REWARD_BOMB_EXPLODED = 3250, + REWARD_CTS_WIN = 3000, + REWARD_TERRORISTS_WIN = 3000, + REWARD_ALL_HOSTAGES_RESCUED = 2500, // the end round was by the expiration time - REWARD_TARGET_BOMB_SAVED = 3250, - REWARD_HOSTAGE_NOT_RESCUED = 3250, - REWARD_VIP_NOT_ESCAPED = 3250, + REWARD_TARGET_BOMB_SAVED = 3250, + REWARD_HOSTAGE_NOT_RESCUED = 3250, + REWARD_VIP_NOT_ESCAPED = 3250, // loser bonus - REWARD_LOSER_BONUS_DEFAULT = 1400, - REWARD_LOSER_BONUS_MIN = 1500, - REWARD_LOSER_BONUS_MAX = 3000, - REWARD_LOSER_BONUS_ADD = 500, + REWARD_LOSER_BONUS_DEFAULT = 1400, + REWARD_LOSER_BONUS_MIN = 1500, + REWARD_LOSER_BONUS_MAX = 3000, + REWARD_LOSER_BONUS_ADD = 500, - REWARD_RESCUED_HOSTAGE = 750, - REWARD_KILLED_ENEMY = 300, - REWARD_KILLED_VIP = 2500, - REWARD_VIP_HAVE_SELF_RESCUED = 2500, + REWARD_RESCUED_HOSTAGE = 750, + REWARD_KILLED_ENEMY = 300, + REWARD_KILLED_VIP = 2500, + REWARD_VIP_HAVE_SELF_RESCUED = 2500, - REWARD_TAKEN_HOSTAGE = 1000, - REWARD_TOOK_HOSTAGE_ACC = 100, - REWARD_TOOK_HOSTAGE = 150, + REWARD_TAKEN_HOSTAGE = 1000, + REWARD_TOOK_HOSTAGE_ACC = 100, + REWARD_TOOK_HOSTAGE = 150, }; // custom enum enum PaybackForBadThing { - PAYBACK_FOR_KILLED_TEAMMATES = -3300, + PAYBACK_FOR_KILLED_TEAMMATES = -3300, }; // custom enum @@ -203,13 +197,13 @@ enum // custom enum enum { - SCENARIO_BLOCK_TIME_EXPRIRED = (1 << 0), // flag "a" - SCENARIO_BLOCK_NEED_PLAYERS = (1 << 1), // flag "b" - SCENARIO_BLOCK_VIP_ESCAPE = (1 << 2), // flag "c" - SCENARIO_BLOCK_PRISON_ESCAPE = (1 << 3), // flag "d" - SCENARIO_BLOCK_BOMB = (1 << 4), // flag "e" - SCENARIO_BLOCK_TEAM_EXTERMINATION = (1 << 5), // flag "f" - SCENARIO_BLOCK_HOSTAGE_RESCUE = (1 << 6), // flag "g" + SCENARIO_BLOCK_TIME_EXPRIRED = (1 << 0), // flag "a" + SCENARIO_BLOCK_NEED_PLAYERS = (1 << 1), // flag "b" + SCENARIO_BLOCK_VIP_ESCAPE = (1 << 2), // flag "c" + SCENARIO_BLOCK_PRISON_ESCAPE = (1 << 3), // flag "d" + SCENARIO_BLOCK_BOMB = (1 << 4), // flag "e" + SCENARIO_BLOCK_TEAM_EXTERMINATION = (1 << 5), // flag "f" + SCENARIO_BLOCK_HOSTAGE_RESCUE = (1 << 6), // flag "g" }; // Player relationship return codes @@ -228,49 +222,53 @@ class CGameRules { public: CGameRules(); + +#ifndef HOOK_GAMEDLL virtual ~CGameRules(); - virtual void RefreshSkillData(); // fill skill data struct with proper values - virtual void Think() = 0; // runs every server frame, should handle any timer tasks, periodic events, etc. +#endif + + virtual void RefreshSkillData(); // fill skill data struct with proper values + virtual void Think() = 0; // runs every server frame, should handle any timer tasks, periodic events, etc. virtual BOOL IsAllowedToSpawn(CBaseEntity *pEntity) = 0; // Can this item spawn (eg monsters don't spawn in deathmatch). - virtual BOOL FAllowFlashlight() = 0; // Are players allowed to switch on their flashlight? - virtual BOOL FShouldSwitchWeapon(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon) = 0; // should the player switch to this weapon? - virtual BOOL GetNextBestWeapon(CBasePlayer *pPlayer, CBasePlayerItem *pCurrentWeapon) = 0; // I can't use this weapon anymore, get me the next best one. + virtual BOOL FAllowFlashlight() = 0; // Are players allowed to switch on their flashlight? + virtual BOOL FShouldSwitchWeapon(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon) = 0; // should the player switch to this weapon? + virtual BOOL GetNextBestWeapon(CBasePlayer *pPlayer, CBasePlayerItem *pCurrentWeapon) = 0; // I can't use this weapon anymore, get me the next best one. // Functions to verify the single/multiplayer status of a game virtual BOOL IsMultiplayer() = 0; // is this a multiplayer game? (either coop or deathmatch) virtual BOOL IsDeathmatch() = 0; // is this a deathmatch game? - virtual BOOL IsTeamplay() { return FALSE; } // is this deathmatch game being played with team rules? - virtual BOOL IsCoOp() = 0; // is this a coop game? - virtual const char *GetGameDescription(); // this is the game name that gets seen in the server browser + virtual BOOL IsTeamplay() { return FALSE; } // is this deathmatch game being played with team rules? + virtual BOOL IsCoOp() = 0; // is this a coop game? + virtual const char *GetGameDescription(); // this is the game name that gets seen in the server browser // Client connection/disconnection virtual BOOL ClientConnected(edict_t *pEntity, const char *pszName, const char *pszAddress, char *szRejectReason) = 0; // a client just connected to the server (player hasn't spawned yet) virtual void InitHUD(CBasePlayer *pl) = 0; // the client dll is ready for updating - virtual void ClientDisconnected(edict_t *pClient) = 0; // a client just disconnected from the server - virtual void UpdateGameMode(CBasePlayer *pPlayer) {}; // the client needs to be informed of the current game mode + virtual void ClientDisconnected(edict_t *pClient) = 0; // a client just disconnected from the server + virtual void UpdateGameMode(CBasePlayer *pPlayer) {}; // the client needs to be informed of the current game mode // Client damage rules virtual float FlPlayerFallDamage(CBasePlayer *pPlayer) = 0; - virtual BOOL FPlayerCanTakeDamage(CBasePlayer *pPlayer, CBaseEntity *pAttacker) { return TRUE; } // can this player take damage from this attacker? + virtual BOOL FPlayerCanTakeDamage(CBasePlayer *pPlayer, CBaseEntity *pAttacker) { return TRUE; } // can this player take damage from this attacker? virtual BOOL ShouldAutoAim(CBasePlayer *pPlayer, edict_t *target) { return TRUE; } // Client spawn/respawn control virtual void PlayerSpawn(CBasePlayer *pPlayer) = 0; // called by CBasePlayer::Spawn just before releasing player into the game virtual void PlayerThink(CBasePlayer *pPlayer) = 0; // called by CBasePlayer::PreThink every frame, before physics are run and after keys are accepted - virtual BOOL FPlayerCanRespawn(CBasePlayer *pPlayer) = 0; // is this player allowed to respawn now? - virtual float FlPlayerSpawnTime(CBasePlayer *pPlayer) = 0; // When in the future will this player be able to spawn? - virtual edict_t *GetPlayerSpawnSpot(CBasePlayer *pPlayer); // Place this player on their spawnspot and face them the proper direction. + virtual BOOL FPlayerCanRespawn(CBasePlayer *pPlayer) = 0; // is this player allowed to respawn now? + virtual float FlPlayerSpawnTime(CBasePlayer *pPlayer) = 0; // When in the future will this player be able to spawn? + virtual edict_t *GetPlayerSpawnSpot(CBasePlayer *pPlayer); // Place this player on their spawnspot and face them the proper direction. virtual BOOL AllowAutoTargetCrosshair() { return TRUE; } virtual BOOL ClientCommand_DeadOrAlive(CBasePlayer *pPlayer, const char *pcmd) { return FALSE; } - virtual BOOL ClientCommand(CBasePlayer *pPlayer, const char *pcmd) { return FALSE; } // handles the user commands; returns TRUE if command handled properly + virtual BOOL ClientCommand(CBasePlayer *pPlayer, const char *pcmd) { return FALSE; } // handles the user commands; returns TRUE if command handled properly virtual void ClientUserInfoChanged(CBasePlayer *pPlayer, char *infobuffer) {}; // the player has changed userinfo; can change it now // Client kills/scoring virtual int IPointsForKill(CBasePlayer *pAttacker, CBasePlayer *pKilled) = 0; // how many points do I award whoever kills this player? - virtual void PlayerKilled(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor) = 0; // Called each time a player dies - virtual void DeathNotice(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pevInflictor) = 0; // Call this from within a GameRules class to report an obituary. + virtual void PlayerKilled(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor) = 0; // Called each time a player dies + virtual void DeathNotice(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pevInflictor) = 0; // Call this from within a GameRules class to report an obituary. // Weapon retrieval virtual BOOL CanHavePlayerItem(CBasePlayer *pPlayer, CBasePlayerItem *pItem); // The player is touching an CBasePlayerItem, do I give it to him? @@ -287,21 +285,21 @@ public: virtual void PlayerGotItem(CBasePlayer *pPlayer, CItem *pItem) = 0; // call each time a player picks up an item (battery, healthkit, longjump) // Item spawn/respawn control - virtual int ItemShouldRespawn(CItem *pItem) = 0; // Should this item respawn? - virtual float FlItemRespawnTime(CItem *pItem) = 0; // when may this item respawn? + virtual int ItemShouldRespawn(CItem *pItem) = 0; // Should this item respawn? + virtual float FlItemRespawnTime(CItem *pItem) = 0; // when may this item respawn? virtual Vector VecItemRespawnSpot(CItem *pItem) = 0; // where in the world should this item respawn? // Ammo retrieval - virtual BOOL CanHaveAmmo(CBasePlayer *pPlayer, const char *pszAmmoName, int iMaxCarry); // can this player take more of this ammo? - virtual void PlayerGotAmmo(CBasePlayer *pPlayer, char *szName, int iCount) = 0; // called each time a player picks up some ammo in the world + virtual BOOL CanHaveAmmo(CBasePlayer *pPlayer, const char *pszAmmoName, int iMaxCarry); // can this player take more of this ammo? + virtual void PlayerGotAmmo(CBasePlayer *pPlayer, char *szName, int iCount) = 0; // called each time a player picks up some ammo in the world // Ammo spawn/respawn control virtual int AmmoShouldRespawn(CBasePlayerAmmo *pAmmo) = 0; // should this ammo item respawn? - virtual float FlAmmoRespawnTime(CBasePlayerAmmo *pAmmo) = 0; // when should this ammo item respawn? - virtual Vector VecAmmoRespawnSpot(CBasePlayerAmmo *pAmmo) = 0; // where in the world should this ammo item respawn? + virtual float FlAmmoRespawnTime(CBasePlayerAmmo *pAmmo) = 0; // when should this ammo item respawn? + virtual Vector VecAmmoRespawnSpot(CBasePlayerAmmo *pAmmo) = 0; // where in the world should this ammo item respawn? // Healthcharger respawn control - virtual float FlHealthChargerRechargeTime() = 0; // how long until a depleted HealthCharger recharges itself? + virtual float FlHealthChargerRechargeTime() = 0; // how long until a depleted HealthCharger recharges itself? virtual float FlHEVChargerRechargeTime() { return 0.0f; } // how long until a depleted HealthCharger recharges itself? // What happens to a dead player's weapons @@ -312,7 +310,7 @@ public: // Teamplay stuff virtual const char *GetTeamID(CBaseEntity *pEntity) = 0; // what team is this entity on? - virtual int PlayerRelationship(CBasePlayer *pPlayer, CBaseEntity *pTarget) = 0; // What is the player's relationship with this entity? + virtual int PlayerRelationship(CBasePlayer *pPlayer, CBaseEntity *pTarget) = 0; // What is the player's relationship with this entity? virtual int GetTeamIndex(const char *pTeamName) { return -1; } virtual const char *GetIndexedTeamName(int teamIndex) { return ""; } virtual BOOL IsValidTeam(const char *pTeamName) { return TRUE; } @@ -333,26 +331,17 @@ public: virtual void ServerDeactivate() {}; virtual void CheckMapConditions() {}; -#ifdef HOOK_GAMEDLL - - void RefreshSkillData_(); - edict_t *GetPlayerSpawnSpot_(CBasePlayer *pPlayer); - BOOL CanHavePlayerItem_(CBasePlayer *pPlayer, CBasePlayerItem *pItem); - BOOL CanHaveAmmo_(CBasePlayer *pPlayer, const char *pszAmmoName, int iMaxCarry); - -#endif - // inline function's inline bool IsGameOver() const { return m_bGameOver; } inline void SetGameOver() { m_bGameOver = true; } public: - BOOL m_bFreezePeriod; // TRUE at beginning of round, set to FALSE when the period expires + BOOL m_bFreezePeriod; // TRUE at beginning of round, set to FALSE when the period expires BOOL m_bBombDropped; // custom - char *m_GameDesc; - bool m_bGameOver; // intermission or finale (deprecated name g_fGameOver) + CUSTOM_MEMBER char *m_GameDesc; + CUSTOM_MEMBER bool m_bGameOver; // intermission or finale (deprecated name g_fGameOver) }; // CHalfLifeRules - rules for the single player Half-Life game. @@ -360,7 +349,10 @@ class CHalfLifeRules: public CGameRules { public: CHalfLifeRules(); + +#ifndef HOOK_GAMEDLL virtual ~CHalfLifeRules() {}; +#endif virtual void Think(); virtual BOOL IsAllowedToSpawn(CBaseEntity *pEntity); @@ -437,50 +429,6 @@ public: // Monsters virtual BOOL FAllowMonsters(); - -#ifdef HOOK_GAMEDLL - - void Think_(); - BOOL IsAllowedToSpawn_(CBaseEntity *pEntity); - BOOL FShouldSwitchWeapon_(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon); - BOOL GetNextBestWeapon_(CBasePlayer *pPlayer, CBasePlayerItem *pCurrentWeapon); - BOOL IsMultiplayer_(); - BOOL IsDeathmatch_(); - BOOL IsCoOp_(); - BOOL ClientConnected_(edict_t *pEntity, const char *pszName, const char *pszAddress, char szRejectReason[128]); - void InitHUD_(CBasePlayer *pl); - void ClientDisconnected_(edict_t *pClient); - float FlPlayerFallDamage_(CBasePlayer *pPlayer); - void PlayerSpawn_(CBasePlayer *pPlayer); - void PlayerThink_(CBasePlayer *pPlayer); - BOOL FPlayerCanRespawn_(CBasePlayer *pPlayer); - float FlPlayerSpawnTime_(CBasePlayer *pPlayer); - edict_t *GetPlayerSpawnSpot_(CBasePlayer *pPlayer); - BOOL AllowAutoTargetCrosshair_(); - int IPointsForKill_(CBasePlayer *pAttacker, CBasePlayer *pKilled); - void PlayerKilled_(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor); - void DeathNotice_(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor); - void PlayerGotWeapon_(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon); - int WeaponShouldRespawn_(CBasePlayerItem *pWeapon); - float FlWeaponRespawnTime_(CBasePlayerItem *pWeapon); - float FlWeaponTryRespawn_(CBasePlayerItem *pWeapon); - Vector VecWeaponRespawnSpot_(CBasePlayerItem *pWeapon); - BOOL CanHaveItem_(CBasePlayer *pPlayer, CItem *pItem); - void PlayerGotItem_(CBasePlayer *pPlayer, CItem *pItem); - int ItemShouldRespawn_(CItem *pItem); - float FlItemRespawnTime_(CItem *pItem); - Vector VecItemRespawnSpot_(CItem *pItem); - void PlayerGotAmmo_(CBasePlayer *pPlayer, char *szName, int iCount); - int AmmoShouldRespawn_(CBasePlayerAmmo *pAmmo); - float FlAmmoRespawnTime_(CBasePlayerAmmo *pAmmo); - Vector VecAmmoRespawnSpot_(CBasePlayerAmmo *pAmmo); - float FlHealthChargerRechargeTime_(); - int DeadPlayerWeapons_(CBasePlayer *pPlayer); - int DeadPlayerAmmo_(CBasePlayer *pPlayer); - int PlayerRelationship_(CBasePlayer *pPlayer, CBaseEntity *pTarget); - BOOL FAllowMonsters_(); - -#endif // HOOK_GAMEDLL }; // CHalfLifeMultiplay - rules for the basic half life multiplayer competition @@ -508,7 +456,7 @@ public: virtual BOOL ClientConnected(edict_t *pEntity, const char *pszName, const char *pszAddress, char szRejectReason[128]); virtual void InitHUD(CBasePlayer *pl); // the client dll is ready for updating virtual void ClientDisconnected(edict_t *pClient); - virtual void UpdateGameMode(CBasePlayer *pPlayer); // the client needs to be informed of the current game mode + virtual void UpdateGameMode(CBasePlayer *pPlayer); // the client needs to be informed of the current game mode // Client damage rules virtual float FlPlayerFallDamage(CBasePlayer *pPlayer); @@ -595,64 +543,29 @@ public: virtual void ChangeLevel(); virtual void GoToIntermission(); -#if defined(REGAMEDLL_API) || defined(HOOK_GAMEDLL) - void RefreshSkillData_(); - void Think_(); - BOOL IsAllowedToSpawn_(CBaseEntity *pEntity); - BOOL FAllowFlashlight_(); - BOOL FShouldSwitchWeapon_(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon); - BOOL GetNextBestWeapon_(CBasePlayer *pPlayer, CBasePlayerItem *pCurrentWeapon); - BOOL IsMultiplayer_(); - BOOL IsDeathmatch_(); - BOOL IsCoOp_(); - BOOL ClientConnected_(edict_t *pEntity, const char *pszName, const char *pszAddress, char szRejectReason[128]); - void InitHUD_(CBasePlayer *pl); - void ClientDisconnected_(edict_t *pClient); - void UpdateGameMode_(CBasePlayer *pPlayer); - float FlPlayerFallDamage_(CBasePlayer *pPlayer); - BOOL FPlayerCanTakeDamage_(CBasePlayer *pPlayer, CBaseEntity *pAttacker); - void PlayerSpawn_(CBasePlayer *pPlayer); - void PlayerThink_(CBasePlayer *pPlayer); - BOOL FPlayerCanRespawn_(CBasePlayer *pPlayer); - float FlPlayerSpawnTime_(CBasePlayer *pPlayer); - edict_t *GetPlayerSpawnSpot_(CBasePlayer *pPlayer); - BOOL AllowAutoTargetCrosshair_(); - BOOL ClientCommand_DeadOrAlive_(CBasePlayer *pPlayer, const char *pcmd); - BOOL ClientCommand_(CBasePlayer *pPlayer, const char *pcmd); - void ClientUserInfoChanged_(CBasePlayer *pPlayer, char *infobuffer); - int IPointsForKill_(CBasePlayer *pAttacker, CBasePlayer *pKilled); - void PlayerKilled_(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor); - void DeathNotice_(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor); - BOOL CanHavePlayerItem_(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon); - void PlayerGotWeapon_(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon); - int WeaponShouldRespawn_(CBasePlayerItem *pWeapon); - float FlWeaponRespawnTime_(CBasePlayerItem *pWeapon); - float FlWeaponTryRespawn_(CBasePlayerItem *pWeapon); - Vector VecWeaponRespawnSpot_(CBasePlayerItem *pWeapon); - BOOL CanHaveItem_(CBasePlayer *pPlayer, CItem *pItem); - void PlayerGotItem_(CBasePlayer *pPlayer, CItem *pItem); - int ItemShouldRespawn_(CItem *pItem); - float FlItemRespawnTime_(CItem *pItem); - Vector VecItemRespawnSpot_(CItem *pItem); - void PlayerGotAmmo_(CBasePlayer *pPlayer, char *szName, int iCount); - int AmmoShouldRespawn_(CBasePlayerAmmo *pAmmo); - float FlAmmoRespawnTime_(CBasePlayerAmmo *pAmmo); - Vector VecAmmoRespawnSpot_(CBasePlayerAmmo *pAmmo); - float FlHealthChargerRechargeTime_(); - float FlHEVChargerRechargeTime_(); - int DeadPlayerWeapons_(CBasePlayer *pPlayer); - int DeadPlayerAmmo_(CBasePlayer *pPlayer); - int PlayerRelationship_(CBasePlayer *pPlayer, CBaseEntity *pTarget); - BOOL FAllowMonsters_(); - void ServerDeactivate_(); - void CheckMapConditions_(); - void CleanUpMap_(); - void RestartRound_(); - void CheckWinConditions_(); - void RemoveGuns_(); - void GiveC4_(); - void ChangeLevel_(); - void GoToIntermission_(); +#ifdef REGAMEDLL_API + BOOL FShouldSwitchWeapon_OrigFunc(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon); + BOOL GetNextBestWeapon_OrigFunc(CBasePlayer *pPlayer, CBasePlayerItem *pCurrentWeapon); + float FlPlayerFallDamage_OrigFunc(CBasePlayer *pPlayer); + BOOL FPlayerCanTakeDamage_OrigFunc(CBasePlayer *pPlayer, CBaseEntity *pAttacker); + void PlayerSpawn_OrigFunc(CBasePlayer *pPlayer); + BOOL FPlayerCanRespawn_OrigFunc(CBasePlayer *pPlayer); + edict_t *GetPlayerSpawnSpot_OrigFunc(CBasePlayer *pPlayer); + void ClientUserInfoChanged_OrigFunc(CBasePlayer *pPlayer, char *infobuffer); + void PlayerKilled_OrigFunc(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor); + void DeathNotice_OrigFunc(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor); + BOOL CanHavePlayerItem_OrigFunc(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon); + int DeadPlayerWeapons_OrigFunc(CBasePlayer *pPlayer); + void ServerDeactivate_OrigFunc(); + void CheckMapConditions_OrigFunc(); + void CleanUpMap_OrigFunc(); + void RestartRound_OrigFunc(); + void CheckWinConditions_OrigFunc(); + void RemoveGuns_OrigFunc(); + void GiveC4_OrigFunc(); + void ChangeLevel_OrigFunc(); + void GoToIntermission_OrigFunc(); + void BalanceTeams_OrigFunc(); #endif public: @@ -742,8 +655,6 @@ public: void ResetCurrentVIP(); VFUNC void BalanceTeams(); - void BalanceTeams_(); - VFUNC void SwapAllPlayers(); VFUNC void UpdateTeamScores(); VFUNC void EndRoundMessage(const char *sentence, int event); @@ -782,18 +693,18 @@ public: float m_flRestartRoundTime; // The global time when the round is supposed to end, if this is not 0 (deprecated name m_fTeamCount) float m_flCheckWinConditions; float m_fRoundStartTime; // Time round has started (deprecated name m_fRoundCount) - int m_iRoundTime; // (From mp_roundtime) - How many seconds long this round is. + int m_iRoundTime; // (From mp_roundtime) - How many seconds long this round is. int m_iRoundTimeSecs; int m_iIntroRoundTime; // (From mp_freezetime) - How many seconds long the intro round (when players are frozen) is. - float m_fRoundStartTimeReal; // The global time when the intro round ends and the real one starts - // wrote the original "m_flRoundTime" comment for this variable). + float m_fRoundStartTimeReal; // The global time when the intro round ends and the real one starts + // wrote the original "m_flRoundTime" comment for this variable). int m_iAccountTerrorist; int m_iAccountCT; int m_iNumTerrorist; // The number of terrorists on the team (this is generated at the end of a round) - int m_iNumCT; // The number of CTs on the team (this is generated at the end of a round) + int m_iNumCT; // The number of CTs on the team (this is generated at the end of a round) int m_iNumSpawnableTerrorist; int m_iNumSpawnableCT; - int m_iSpawnPointCount_Terrorist; // Number of Terrorist spawn points + int m_iSpawnPointCount_Terrorist; // Number of Terrorist spawn points int m_iSpawnPointCount_CT; // Number of CT spawn points int m_iHostagesRescued; int m_iHostagesTouched; @@ -814,22 +725,22 @@ public: BOOL m_bMapHasVIPSafetyZone; // TRUE = has VIP safety zone, FALSE = does not have VIP safetyzone BOOL m_bMapHasCameras; int m_iC4Timer; - int m_iC4Guy; // The current Terrorist who has the C4. - int m_iLoserBonus; // the amount of money the losing team gets. This scales up as they lose more rounds in a row + int m_iC4Guy; // The current Terrorist who has the C4. + int m_iLoserBonus; // the amount of money the losing team gets. This scales up as they lose more rounds in a row int m_iNumConsecutiveCTLoses; // the number of rounds the CTs have lost in a row. - int m_iNumConsecutiveTerroristLoses; // the number of rounds the Terrorists have lost in a row. + int m_iNumConsecutiveTerroristLoses; // the number of rounds the Terrorists have lost in a row. - float m_fMaxIdlePeriod; // For the idle kick functionality. This is tha max amount of time that the player has to be idle before being kicked + float m_fMaxIdlePeriod; // For the idle kick functionality. This is tha max amount of time that the player has to be idle before being kicked int m_iLimitTeams; bool m_bLevelInitialized; bool m_bRoundTerminating; - bool m_bCompleteReset; // Set to TRUE to have the scores reset next time round restarts + bool m_bCompleteReset; // Set to TRUE to have the scores reset next time round restarts float m_flRequiredEscapeRatio; int m_iNumEscapers; int m_iHaveEscaped; bool m_bCTCantBuy; - bool m_bTCantBuy; // Who can and can't buy. + bool m_bTCantBuy; // Who can and can't buy. float m_flBombRadius; int m_iConsecutiveVIP; int m_iTotalGunCount; @@ -864,11 +775,11 @@ protected: bool m_bSkipSpawn; // custom - bool m_bSkipShowMenu; - bool m_bNeededPlayers; - float m_flEscapeRatio; - float m_flTimeLimit; - float m_flGameStartTime; + CUSTOM_MEMBER bool m_bSkipShowMenu; + CUSTOM_MEMBER bool m_bNeededPlayers; + CUSTOM_MEMBER float m_flEscapeRatio; + CUSTOM_MEMBER float m_flTimeLimit; + CUSTOM_MEMBER float m_flGameStartTime; }; typedef struct mapcycle_item_s @@ -892,19 +803,15 @@ class CCStrikeGameMgrHelper: public IVoiceGameMgrHelper { public: virtual bool CanPlayerHearPlayer(CBasePlayer *pListener, CBasePlayer *pSender); - -#ifdef HOOK_GAMEDLL - - bool CanPlayerHearPlayer_(CBasePlayer *pListener, CBasePlayer *pSender); - -#endif - }; extern CGameRules DLLEXPORT *g_pGameRules; +#ifdef REGAMEDLL_API +CGameRules *InstallGameRules_OrigFunc(); +#endif + CGameRules *InstallGameRules(); -CGameRules *InstallGameRules_(); // Gets us at the CS game rules inline CHalfLifeMultiplay *CSGameRules() diff --git a/regamedll/dlls/ggrenade.cpp b/regamedll/dlls/ggrenade.cpp index 4c3d2e5a..3a981835 100644 --- a/regamedll/dlls/ggrenade.cpp +++ b/regamedll/dlls/ggrenade.cpp @@ -511,7 +511,7 @@ void CGrenade::SG_Smoke() } } -void CGrenade::__MAKE_VHOOK(Killed)(entvars_t *pevAttacker, int iGib) +void CGrenade::Killed(entvars_t *pevAttacker, int iGib) { Detonate(); } @@ -730,7 +730,7 @@ void CGrenade::SlideTouch(CBaseEntity *pOther) } } -void CGrenade::__MAKE_VHOOK(BounceSound)() +void CGrenade::BounceSound() { if (pev->dmg > 50.0f) { @@ -819,7 +819,7 @@ void CGrenade::SG_TumbleThink() } } -void CGrenade::__MAKE_VHOOK(Spawn)() +void CGrenade::Spawn() { m_iBounceCount = 0; pev->movetype = MOVETYPE_BOUNCE; @@ -939,7 +939,7 @@ CGrenade *CGrenade::ShootTimed(entvars_t *pevOwner, Vector vecStart, Vector vecV return pGrenade; } -void CGrenade::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CGrenade::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (!m_bIsC4) return; diff --git a/regamedll/dlls/h_battery.cpp b/regamedll/dlls/h_battery.cpp index cb340e61..22c8e5de 100644 --- a/regamedll/dlls/h_battery.cpp +++ b/regamedll/dlls/h_battery.cpp @@ -19,7 +19,7 @@ TYPEDESCRIPTION CRecharge::m_SaveData[] = IMPLEMENT_SAVERESTORE(CRecharge, CBaseEntity) LINK_ENTITY_TO_CLASS(func_recharge, CRecharge, CCSRecharge) -void CRecharge::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CRecharge::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "style") || FStrEq(pkvd->szKeyName, "height") @@ -38,7 +38,7 @@ void CRecharge::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CBaseToggle::KeyValue(pkvd); } -void CRecharge::__MAKE_VHOOK(Spawn)() +void CRecharge::Spawn() { Precache(); @@ -54,14 +54,14 @@ void CRecharge::__MAKE_VHOOK(Spawn)() pev->frame = 0; } -void CRecharge::__MAKE_VHOOK(Precache)() +void CRecharge::Precache() { PRECACHE_SOUND("items/suitcharge1.wav"); PRECACHE_SOUND("items/suitchargeno1.wav"); PRECACHE_SOUND("items/suitchargeok1.wav"); } -void CRecharge::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CRecharge::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { // if it's not a player, ignore if (!FClassnameIs(pActivator->pev, "player")) diff --git a/regamedll/dlls/h_battery.h b/regamedll/dlls/h_battery.h index d9e6fa67..71a8d4c3 100644 --- a/regamedll/dlls/h_battery.h +++ b/regamedll/dlls/h_battery.h @@ -43,17 +43,6 @@ public: virtual int ObjectCaps() { return ((CBaseToggle::ObjectCaps() | FCAP_CONTINUOUS_USE) & ~FCAP_ACROSS_TRANSITION); } virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: void EXPORT Off(); void EXPORT Recharge(); diff --git a/regamedll/dlls/h_cycler.cpp b/regamedll/dlls/h_cycler.cpp index 1175f203..b8100e9f 100644 --- a/regamedll/dlls/h_cycler.cpp +++ b/regamedll/dlls/h_cycler.cpp @@ -26,7 +26,7 @@ TYPEDESCRIPTION CWreckage::m_SaveData[] = IMPLEMENT_SAVERESTORE(CCycler, CBaseToggle) -void CGenericCycler::__MAKE_VHOOK(Spawn)() +void CGenericCycler::Spawn() { GenericCyclerSpawn((char *)STRING(pev->model), Vector(-16, -16, 0), Vector(16, 16, 72)); } @@ -34,7 +34,7 @@ void CGenericCycler::__MAKE_VHOOK(Spawn)() LINK_ENTITY_TO_CLASS(cycler, CGenericCycler, CCSGenericCycler) LINK_ENTITY_TO_CLASS(cycler_prdroid, CCyclerProbe, CCSCyclerProbe) -void CCyclerProbe::__MAKE_VHOOK(Spawn)() +void CCyclerProbe::Spawn() { pev->origin = pev->origin + Vector(0, 0, 16); GenericCyclerSpawn("models/prdroid.mdl", Vector(-16, -16, -16), Vector(16, 16, 16)); @@ -60,7 +60,7 @@ void CCycler::GenericCyclerSpawn(char *szModel, Vector vecMin, Vector vecMax) UTIL_SetSize(pev, vecMin, vecMax); } -void CCycler::__MAKE_VHOOK(Spawn)() +void CCycler::Spawn() { InitBoneControllers(); @@ -95,7 +95,7 @@ void CCycler::__MAKE_VHOOK(Spawn)() } // cycler think -void CCycler::__MAKE_VHOOK(Think)() +void CCycler::Think() { pev->nextthink = gpGlobals->time + 0.1f; @@ -123,7 +123,7 @@ void CCycler::__MAKE_VHOOK(Think)() } // CyclerUse - starts a rotation trend -void CCycler::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CCycler::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { m_animate = !m_animate; @@ -134,7 +134,7 @@ void CCycler::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, U } // CyclerPain , changes sequences when shot -BOOL CCycler::__MAKE_VHOOK(TakeDamage)(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) +BOOL CCycler::TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) { if (m_animate) { @@ -164,7 +164,7 @@ BOOL CCycler::__MAKE_VHOOK(TakeDamage)(entvars_t *pevInflictor, entvars_t *pevAt LINK_ENTITY_TO_CLASS(cycler_sprite, CCyclerSprite, CCSCyclerSprite) IMPLEMENT_SAVERESTORE(CCyclerSprite, CBaseEntity) -void CCyclerSprite::__MAKE_VHOOK(Spawn)() +void CCyclerSprite::Spawn() { pev->solid = SOLID_SLIDEBOX; pev->movetype = MOVETYPE_NONE; @@ -187,7 +187,7 @@ void CCyclerSprite::__MAKE_VHOOK(Spawn)() m_rendercolor = pev->rendercolor; } -void CCyclerSprite::__MAKE_VHOOK(Restart)() +void CCyclerSprite::Restart() { pev->solid = SOLID_SLIDEBOX; pev->movetype = MOVETYPE_NONE; @@ -205,7 +205,7 @@ void CCyclerSprite::__MAKE_VHOOK(Restart)() pev->rendercolor = m_rendercolor; } -void CCyclerSprite::__MAKE_VHOOK(Think)() +void CCyclerSprite::Think() { if (ShouldAnimate()) { @@ -216,13 +216,13 @@ void CCyclerSprite::__MAKE_VHOOK(Think)() m_lastTime = gpGlobals->time; } -void CCyclerSprite::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CCyclerSprite::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { m_animate = !m_animate; ALERT(at_console, "Sprite: %s\n", STRING(pev->model)); } -BOOL CCyclerSprite::__MAKE_VHOOK(TakeDamage)(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) +BOOL CCyclerSprite::TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) { if (m_maxFrame > 1.0) { @@ -244,7 +244,7 @@ void CCyclerSprite::Animate(float frames) LINK_ENTITY_TO_CLASS(cycler_weapon, CWeaponCycler, CCSWeaponCycler) -void CWeaponCycler::__MAKE_VHOOK(Spawn)() +void CWeaponCycler::Spawn() { pev->solid = SOLID_SLIDEBOX; pev->movetype = MOVETYPE_NONE; @@ -260,7 +260,7 @@ void CWeaponCycler::__MAKE_VHOOK(Spawn)() SetTouch(&CWeaponCycler::DefaultTouch); } -BOOL CWeaponCycler::__MAKE_VHOOK(Deploy)() +BOOL CWeaponCycler::Deploy() { m_pPlayer->pev->viewmodel = m_iszModel; m_pPlayer->m_flNextAttack = UTIL_WeaponTimeBase() + 1.0f; @@ -271,18 +271,18 @@ BOOL CWeaponCycler::__MAKE_VHOOK(Deploy)() return TRUE; } -void CWeaponCycler::__MAKE_VHOOK(Holster)(int skiplocal) +void CWeaponCycler::Holster(int skiplocal) { m_pPlayer->m_flNextAttack = UTIL_WeaponTimeBase() + 0.5f; } -void CWeaponCycler::__MAKE_VHOOK(PrimaryAttack)() +void CWeaponCycler::PrimaryAttack() { SendWeaponAnim(pev->sequence); m_flNextPrimaryAttack = gpGlobals->time + 0.3f; } -void CWeaponCycler::__MAKE_VHOOK(SecondaryAttack)() +void CWeaponCycler::SecondaryAttack() { float flFrameRate, flGroundSpeed; @@ -305,7 +305,7 @@ void CWeaponCycler::__MAKE_VHOOK(SecondaryAttack)() IMPLEMENT_SAVERESTORE(CWreckage, CBaseToggle) LINK_ENTITY_TO_CLASS(cycler_wreckage, CWreckage, CCSWreckage) -void CWreckage::__MAKE_VHOOK(Spawn)() +void CWreckage::Spawn() { pev->solid = SOLID_NOT; pev->movetype = MOVETYPE_NONE; @@ -325,7 +325,7 @@ void CWreckage::__MAKE_VHOOK(Spawn)() m_flStartTime = int(gpGlobals->time); } -void CWreckage::__MAKE_VHOOK(Precache)() +void CWreckage::Precache() { if (!FStringNull(pev->model)) { @@ -333,7 +333,7 @@ void CWreckage::__MAKE_VHOOK(Precache)() } } -void CWreckage::__MAKE_VHOOK(Think)() +void CWreckage::Think() { StudioFrameAdvance(); pev->nextthink = gpGlobals->time + 0.2f; diff --git a/regamedll/dlls/h_cycler.h b/regamedll/dlls/h_cycler.h index 4109fed4..7ed076dc 100644 --- a/regamedll/dlls/h_cycler.h +++ b/regamedll/dlls/h_cycler.h @@ -46,17 +46,6 @@ public: virtual void Think(); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - int Save_(CSave &save); - int Restore_(CRestore &restore); - BOOL TakeDamage_(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType); - void Think_(); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: void GenericCyclerSpawn(char *szModel, Vector vecMin, Vector vecMax); @@ -71,13 +60,6 @@ class CGenericCycler: public CCycler { public: virtual void Spawn(); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - }; // Probe droid imported for tech demo compatibility @@ -85,13 +67,6 @@ class CCyclerProbe: public CCycler { public: virtual void Spawn(); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - }; class CCyclerSprite: public CBaseEntity @@ -106,18 +81,6 @@ public: virtual void Think(); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Restart_(); - int Save_(CSave &save); - int Restore_(CRestore &restore); - BOOL TakeDamage_(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType); - void Think_(); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: void Animate(float frames); inline int ShouldAnimate() { return (m_animate && m_maxFrame > 1.0f); } @@ -145,16 +108,6 @@ public: virtual void PrimaryAttack(); virtual void SecondaryAttack(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - BOOL Deploy_(); - void Holster_(int skiplocal = 0); - void PrimaryAttack_(); - void SecondaryAttack_(); - -#endif - public: int m_iszModel; int m_iModel; @@ -170,16 +123,6 @@ public: virtual int Restore(CRestore &restore); virtual void Think(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Think_(); - -#endif - public: static TYPEDESCRIPTION IMPL(m_SaveData)[1]; diff --git a/regamedll/dlls/healthkit.cpp b/regamedll/dlls/healthkit.cpp index ebf81f6b..f5a4e6bb 100644 --- a/regamedll/dlls/healthkit.cpp +++ b/regamedll/dlls/healthkit.cpp @@ -18,7 +18,7 @@ TYPEDESCRIPTION CWallHealth::m_SaveData[] = LINK_ENTITY_TO_CLASS(item_healthkit, CHealthKit, CCSHealthKit) -void CHealthKit::__MAKE_VHOOK(Spawn)() +void CHealthKit::Spawn() { Precache(); SET_MODEL(ENT(pev), "models/w_medkit.mdl"); @@ -26,13 +26,13 @@ void CHealthKit::__MAKE_VHOOK(Spawn)() CItem::Spawn(); } -void CHealthKit::__MAKE_VHOOK(Precache)() +void CHealthKit::Precache() { PRECACHE_MODEL("models/w_medkit.mdl"); PRECACHE_SOUND("items/smallmedkit1.wav"); } -BOOL CHealthKit::__MAKE_VHOOK(MyTouch)(CBasePlayer *pPlayer) +BOOL CHealthKit::MyTouch(CBasePlayer *pPlayer) { #ifdef REGAMEDLL_ADD if (pPlayer->HasRestrictItem(ITEM_HEALTHKIT, ITEM_TYPE_TOUCHED)) @@ -61,7 +61,7 @@ BOOL CHealthKit::__MAKE_VHOOK(MyTouch)(CBasePlayer *pPlayer) IMPLEMENT_SAVERESTORE(CWallHealth, CBaseEntity) LINK_ENTITY_TO_CLASS(func_healthcharger, CWallHealth, CCSWallHealth) -void CWallHealth::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CWallHealth::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "style") || FStrEq(pkvd->szKeyName, "height") || FStrEq(pkvd->szKeyName, "value1") || FStrEq(pkvd->szKeyName, "value2") || FStrEq(pkvd->szKeyName, "value3")) { @@ -76,7 +76,7 @@ void CWallHealth::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CBaseToggle::KeyValue(pkvd); } -void CWallHealth::__MAKE_VHOOK(Spawn)() +void CWallHealth::Spawn() { Precache(); @@ -93,14 +93,14 @@ void CWallHealth::__MAKE_VHOOK(Spawn)() pev->frame = 0.0f; } -void CWallHealth::__MAKE_VHOOK(Precache)() +void CWallHealth::Precache() { PRECACHE_SOUND("items/medshot4.wav"); PRECACHE_SOUND("items/medshotno1.wav"); PRECACHE_SOUND("items/medcharge4.wav"); } -void CWallHealth::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CWallHealth::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { // Make sure that we have a caller if (!pActivator) diff --git a/regamedll/dlls/healthkit.h b/regamedll/dlls/healthkit.h index 6242628c..e588a39e 100644 --- a/regamedll/dlls/healthkit.h +++ b/regamedll/dlls/healthkit.h @@ -38,15 +38,6 @@ public: virtual void Spawn(); virtual void Precache(); virtual BOOL MyTouch(CBasePlayer *pPlayer); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - BOOL MyTouch_(CBasePlayer *pPlayer); - -#endif - }; class CWallHealth: public CBaseToggle @@ -60,17 +51,6 @@ public: virtual int ObjectCaps() { return (CBaseToggle::ObjectCaps() | FCAP_CONTINUOUS_USE) & ~FCAP_ACROSS_TRANSITION; } virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: void EXPORT Off(); void EXPORT Recharge(); diff --git a/regamedll/dlls/hostage/hostage.cpp b/regamedll/dlls/hostage/hostage.cpp index 31783774..56b5c897 100644 --- a/regamedll/dlls/hostage/hostage.cpp +++ b/regamedll/dlls/hostage/hostage.cpp @@ -173,10 +173,9 @@ struct LINK_ENTITY_TO_CLASS(hostage_entity, CHostage, CCSHostage) LINK_ENTITY_TO_CLASS(monster_scientist, CHostage, CCSHostage) -void CHostage::__MAKE_VHOOK(Spawn)() +void CHostage::Spawn() { - if (!g_pHostages) - { + if (!g_pHostages) { g_pHostages = new CHostageManager; } @@ -223,13 +222,7 @@ void CHostage::__MAKE_VHOOK(Spawn)() DROP_TO_FLOOR(edict()); -#ifndef HOOK_GAMEDLL SetThink(&CHostage::IdleThink); -#else - // TODO: fix test demo - SetThink(pCHostage__IdleThink); -#endif - pev->nextthink = gpGlobals->time + RANDOM_FLOAT(0.1, 0.2); m_flNextFullThink = gpGlobals->time + RANDOM_FLOAT(0.1, 0.2); @@ -252,7 +245,7 @@ void CHostage::__MAKE_VHOOK(Spawn)() m_improv = NULL; } -void CHostage::__MAKE_VHOOK(Precache)() +void CHostage::Precache() { static int which = 0; @@ -551,12 +544,7 @@ void CHostage::RePosition() DROP_TO_FLOOR(edict()); SetActivity(ACT_IDLE); -#ifndef HOOK_GAMEDLL SetThink(&CHostage::IdleThink); -#else - // TODO: fix test demo - SetThink(pCHostage__IdleThink); -#endif pev->nextthink = gpGlobals->time + RANDOM_FLOAT(0.1, 0.2); m_fHasPath = FALSE; @@ -578,7 +566,7 @@ void CHostage::TraceAttack(entvars_t *pevAttacker, float flDamage, Vector vecDir } } -BOOL CHostage::__MAKE_VHOOK(TakeDamage)(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) +BOOL CHostage::TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) { #ifdef REGAMEDLL_ADD if (hostagehurtable.value <= 0) @@ -830,7 +818,7 @@ void CHostage::ApplyHostagePenalty(CBasePlayer *pAttacker) } } -void CHostage::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CHostage::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (!pActivator->IsPlayer()) return; @@ -936,12 +924,12 @@ void CHostage::GiveCTTouchBonus(CBasePlayer *pPlayer) UTIL_LogPrintf("\"%s<%i><%s>\" triggered \"Touched_A_Hostage\"\n", STRING(pPlayer->pev->netname), GETPLAYERUSERID(pPlayer->edict()), GETPLAYERAUTHID(pPlayer->edict())); } -int CHostage::__MAKE_VHOOK(ObjectCaps)() +int CHostage::ObjectCaps() { return (CBaseMonster::ObjectCaps() | FCAP_MUST_SPAWN | FCAP_ONOFF_USE); } -void CHostage::__MAKE_VHOOK(Touch)(CBaseEntity *pOther) +void CHostage::Touch(CBaseEntity *pOther) { Vector2D vPush; const float pushForce = 50.0f; diff --git a/regamedll/dlls/hostage/hostage.h b/regamedll/dlls/hostage/hostage.h index 65dbe4f7..741ced5b 100644 --- a/regamedll/dlls/hostage/hostage.h +++ b/regamedll/dlls/hostage/hostage.h @@ -32,19 +32,19 @@ #pragma once #endif -#define MAX_NODES 100 -#define MAX_HOSTAGES 12 -#define MAX_HOSTAGES_NAV 20 +#define MAX_NODES 100 +#define MAX_HOSTAGES 12 +#define MAX_HOSTAGES_NAV 20 -#define HOSTAGE_STEPSIZE 26.0f -#define HOSTAGE_STEPSIZE_DEFAULT 18.0f +#define HOSTAGE_STEPSIZE 26.0f +#define HOSTAGE_STEPSIZE_DEFAULT 18.0f -#define VEC_HOSTAGE_VIEW Vector(0, 0, 12) -#define VEC_HOSTAGE_HULL_MIN Vector(-10, -10, 0) -#define VEC_HOSTAGE_HULL_MAX Vector(10, 10, 62) +#define VEC_HOSTAGE_VIEW Vector(0, 0, 12) +#define VEC_HOSTAGE_HULL_MIN Vector(-10, -10, 0) +#define VEC_HOSTAGE_HULL_MAX Vector(10, 10, 62) -#define VEC_HOSTAGE_CROUCH Vector(10, 10, 30) -#define RESCUE_HOSTAGES_RADIUS 256.0f // rescue zones from legacy info_* +#define VEC_HOSTAGE_CROUCH Vector(10, 10, 30) +#define RESCUE_HOSTAGES_RADIUS 256.0f // rescue zones from legacy info_* class CHostage; class CLocalNav; @@ -105,17 +105,6 @@ public: virtual void Touch(CBaseEntity *pOther); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int ObjectCaps_(); - BOOL TakeDamage_(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType); - void Touch_(CBaseEntity *pOther); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: void EXPORT IdleThink(); void EXPORT Remove(); @@ -144,21 +133,19 @@ public: bool IsFollowingSomeone() { return IsFollowing(); } CBaseEntity *GetLeader() // return our leader, or NULL { - if (m_improv != NULL) - { + if (m_improv) { return m_improv->GetFollowLeader(); } return m_hTargetEnt; } - bool IsFollowing(const CBaseEntity *entity = NULL) + bool IsFollowing(const CBaseEntity *entity = nullptr) { - if (m_improv != NULL) - { + if (m_improv) { return m_improv->IsFollowing(); } - if ((!entity && !m_hTargetEnt) || (entity != NULL && m_hTargetEnt != entity)) + if ((!entity && !m_hTargetEnt) || (entity && m_hTargetEnt != entity)) return false; if (m_State != FOLLOW) @@ -265,7 +252,7 @@ public: { CHostage *hostage = m_hostage[i]; - if (hostage == NULL || hostage->pev->deadflag == DEAD_DEAD) + if (!hostage || hostage->pev->deadflag == DEAD_DEAD) continue; if (func(hostage) == false) @@ -274,11 +261,11 @@ public: return true; } - inline CHostage *GetClosestHostage(const Vector &pos, float *resultRange = NULL) + inline CHostage *GetClosestHostage(const Vector &pos, float *resultRange = nullptr) { float range; float closeRange = 1e8f; - CHostage *close = NULL; + CHostage *close = nullptr; for (int i = 0; i < m_hostageCount; i++) { diff --git a/regamedll/dlls/hostage/hostage_improv.cpp b/regamedll/dlls/hostage/hostage_improv.cpp index 948c627b..5413fb07 100644 --- a/regamedll/dlls/hostage/hostage_improv.cpp +++ b/regamedll/dlls/hostage/hostage_improv.cpp @@ -19,12 +19,12 @@ CHostageImprov::CHostageImprov(CBaseEntity *entity) OnReset(); } -bool CHostageImprov::__MAKE_VHOOK(IsAlive)() const +bool CHostageImprov::IsAlive() const { return m_hostage->pev->deadflag != DEAD_DEAD; } -void CHostageImprov::__MAKE_VHOOK(MoveTo)(const Vector &goal) +void CHostageImprov::MoveTo(const Vector &goal) { m_moveGoal = goal; m_path.Invalidate(); @@ -37,7 +37,7 @@ void CHostageImprov::__MAKE_VHOOK(MoveTo)(const Vector &goal) } // Find "simple" ground height, treating current nav area as part of the floor -bool CHostageImprov::__MAKE_VHOOK(GetSimpleGroundHeightWithFloor)(const Vector *pos, float *height, Vector *normal) +bool CHostageImprov::GetSimpleGroundHeightWithFloor(const Vector *pos, float *height, Vector *normal) { if (GetSimpleGroundHeight(pos, height, normal)) { @@ -74,24 +74,24 @@ bool CHostageImprov::DiscontinuityJump(float ground, bool onlyJumpDown, bool mus return false; } -void CHostageImprov::__MAKE_VHOOK(LookAt)(const Vector &target) +void CHostageImprov::LookAt(const Vector &target) { m_isLookingAt = true; m_viewGoal = target; } -void CHostageImprov::__MAKE_VHOOK(ClearLookAt)() +void CHostageImprov::ClearLookAt() { m_isLookingAt = false; } -void CHostageImprov::__MAKE_VHOOK(FaceTo)(const Vector &goal) +void CHostageImprov::FaceTo(const Vector &goal) { m_isFacingTo = true; m_faceGoal = goal; } -void CHostageImprov::__MAKE_VHOOK(ClearFaceTo)() +void CHostageImprov::ClearFaceTo() { m_isFacingTo = false; } @@ -290,18 +290,18 @@ void CHostageImprov::FaceOutwards() FaceTo(to); } -bool CHostageImprov::__MAKE_VHOOK(IsAtMoveGoal)(float error) const +bool CHostageImprov::IsAtMoveGoal(float error) const { return (GetFeet() - m_moveGoal).IsLengthLessThan(error); } -bool CHostageImprov::__MAKE_VHOOK(IsAtFaceGoal)() const +bool CHostageImprov::IsAtFaceGoal() const { return false; } // Return true if a friend is between us and the given position -bool CHostageImprov::__MAKE_VHOOK(IsFriendInTheWay)(const Vector &goalPos) const +bool CHostageImprov::IsFriendInTheWay(const Vector &goalPos) const { // do this check less often to ease CPU burden if (!m_avoidFriendTimer.IsElapsed()) @@ -349,7 +349,7 @@ bool CHostageImprov::__MAKE_VHOOK(IsFriendInTheWay)(const Vector &goalPos) const } // Return true if a friend is between us and the given entity -bool CHostageImprov::__MAKE_VHOOK(IsFriendInTheWay)(CBaseEntity *myFriend, const Vector &goalPos) const +bool CHostageImprov::IsFriendInTheWay(CBaseEntity *myFriend, const Vector &goalPos) const { if (m_hostage == myFriend) return false; @@ -414,7 +414,7 @@ float CHostageImprov::GetSpeed() return -1.0f; } -bool CHostageImprov::__MAKE_VHOOK(Jump)() +bool CHostageImprov::Jump() { if (IsCrouching() || g_pHostages->IsNearbyHostageJumping(this)) return false; @@ -443,17 +443,17 @@ bool CHostageImprov::__MAKE_VHOOK(Jump)() return true; } -void CHostageImprov::__MAKE_VHOOK(Run)() +void CHostageImprov::Run() { m_moveType = m_moveLimit; } -void CHostageImprov::__MAKE_VHOOK(Walk)() +void CHostageImprov::Walk() { m_moveType = (m_moveLimit > Walking) ? Walking : m_moveLimit; } -void CHostageImprov::__MAKE_VHOOK(Stop)() +void CHostageImprov::Stop() { MoveTo(GetFeet()); m_hostage->pev->velocity = Vector(0, 0, 0); @@ -464,35 +464,35 @@ void CHostageImprov::__MAKE_VHOOK(Stop)() m_moveType = m_moveLimit; } -const Vector &CHostageImprov::__MAKE_VHOOK(GetFeet)() const +const Vector &CHostageImprov::GetFeet() const { return m_hostage->pev->origin; } -const Vector &CHostageImprov::__MAKE_VHOOK(GetCentroid)() const +const Vector &CHostageImprov::GetCentroid() const { m_centroid = m_hostage->pev->origin + Vector(0, 0, HalfHumanHeight); return m_centroid; } -const Vector &CHostageImprov::__MAKE_VHOOK(GetEyes)() const +const Vector &CHostageImprov::GetEyes() const { m_eye = m_hostage->pev->origin + Vector(0, 0, HumanHeight) - Vector(0, 0, 7); return m_eye; } -bool CHostageImprov::__MAKE_VHOOK(IsOnGround)() const +bool CHostageImprov::IsOnGround() const { return (m_hostage->pev->flags & FL_ONGROUND) != 0; } -bool CHostageImprov::__MAKE_VHOOK(IsMoving)() const +bool CHostageImprov::IsMoving() const { float const epsilon = 10.0f; return m_actualVel.IsLengthGreaterThan(epsilon); } -bool CHostageImprov::__MAKE_VHOOK(IsVisible)(const Vector &pos, bool testFOV) const +bool CHostageImprov::IsVisible(const Vector &pos, bool testFOV) const { const Vector eye = GetEyes(); TraceResult result; @@ -501,7 +501,7 @@ bool CHostageImprov::__MAKE_VHOOK(IsVisible)(const Vector &pos, bool testFOV) co return result.flFraction == 1.0f; } -bool CHostageImprov::__MAKE_VHOOK(IsPlayerLookingAtMe)(CBasePlayer *other, float cosTolerance) const +bool CHostageImprov::IsPlayerLookingAtMe(CBasePlayer *other, float cosTolerance) const { Vector2D toOther = (other->pev->origin - GetCentroid()).Make2D(); toOther.NormalizeInPlace(); @@ -522,7 +522,7 @@ bool CHostageImprov::__MAKE_VHOOK(IsPlayerLookingAtMe)(CBasePlayer *other, float return false; } -CBasePlayer *CHostageImprov::__MAKE_VHOOK(IsAnyPlayerLookingAtMe)(int team, float cosTolerance) const +CBasePlayer *CHostageImprov::IsAnyPlayerLookingAtMe(int team, float cosTolerance) const { for (int i = 1; i <= gpGlobals->maxClients; ++i) { @@ -543,7 +543,7 @@ CBasePlayer *CHostageImprov::__MAKE_VHOOK(IsAnyPlayerLookingAtMe)(int team, floa return NULL; } -CBasePlayer *CHostageImprov::__MAKE_VHOOK(GetClosestPlayerByTravelDistance)(int team, float *range) const +CBasePlayer *CHostageImprov::GetClosestPlayerByTravelDistance(int team, float *range) const { CBasePlayer *close = NULL; float closeRange = 9.9999998e10f; @@ -579,7 +579,7 @@ CBasePlayer *CHostageImprov::__MAKE_VHOOK(GetClosestPlayerByTravelDistance)(int return close; } -void CHostageImprov::__MAKE_VHOOK(OnReset)() +void CHostageImprov::OnReset() { m_moveFlags = 0; m_moveType = Stopped; @@ -672,7 +672,7 @@ void CHostageImprov::UpdateVision() m_visionTimer.Start(RANDOM_FLOAT(0.4f, 0.6f)); } -void CHostageImprov::__MAKE_VHOOK(TrackPath)(const Vector &pathGoal, float deltaT) +void CHostageImprov::TrackPath(const Vector &pathGoal, float deltaT) { FaceTowards(pathGoal, deltaT); MoveTowards(pathGoal, deltaT); @@ -731,12 +731,12 @@ void CHostageImprov::ResetToKnownGoodPosition() Stop(); } -void CHostageImprov::__MAKE_VHOOK(StartLadder)(const CNavLadder *ladder, NavTraverseType how, const Vector *approachPos, const Vector *departPos) +void CHostageImprov::StartLadder(const CNavLadder *ladder, NavTraverseType how, const Vector *approachPos, const Vector *departPos) { m_traversingLadder = true; } -bool CHostageImprov::__MAKE_VHOOK(TraverseLadder)(const CNavLadder *ladder, NavTraverseType how, const Vector *approachPos, const Vector *departPos, float deltaT) +bool CHostageImprov::TraverseLadder(const CNavLadder *ladder, NavTraverseType how, const Vector *approachPos, const Vector *departPos, float deltaT) { Vector goal; @@ -984,7 +984,7 @@ void CHostageImprov::UpdatePosition(float deltaT) m_moveFlags = 0; } -void CHostageImprov::__MAKE_VHOOK(OnUpkeep)(float deltaT) +void CHostageImprov::OnUpkeep(float deltaT) { if (IsAlive()) { @@ -1069,7 +1069,7 @@ void CHostageImprov::UpdateGrenadeReactions() } } -void CHostageImprov::__MAKE_VHOOK(OnUpdate)(float deltaT) +void CHostageImprov::OnUpdate(float deltaT) { if (!IsAlive() || cv_hostage_stop.value > 0.0f) return; @@ -1225,7 +1225,7 @@ void CHostageImprov::__MAKE_VHOOK(OnUpdate)(float deltaT) m_animateState.OnUpdate(this); } -void CHostageImprov::__MAKE_VHOOK(OnGameEvent)(GameEventType event, CBaseEntity *entity, CBaseEntity *other) +void CHostageImprov::OnGameEvent(GameEventType event, CBaseEntity *entity, CBaseEntity *other) { switch (event) { @@ -1330,7 +1330,7 @@ void CHostageImprov::__MAKE_VHOOK(OnGameEvent)(GameEventType event, CBaseEntity } } -void CHostageImprov::__MAKE_VHOOK(OnTouch)(CBaseEntity *other) +void CHostageImprov::OnTouch(CBaseEntity *other) { const char *classname; Vector2D to; @@ -1719,7 +1719,7 @@ void CHostageImprov::Wave() } // Invoked when an improv fails to reach a MoveTo goal -void CHostageImprov::__MAKE_VHOOK(OnMoveToFailure)(const Vector &goal, MoveToFailureType reason) +void CHostageImprov::OnMoveToFailure(const Vector &goal, MoveToFailureType reason) { m_behavior.OnMoveToFailure(goal, reason); @@ -1814,7 +1814,7 @@ void CHostageImprov::ClearPath() } } -void CHostageImprov::__MAKE_VHOOK(Crouch)() +void CHostageImprov::Crouch() { const float minCrouchTime = 1.0f; @@ -1826,7 +1826,7 @@ void CHostageImprov::__MAKE_VHOOK(Crouch)() UTIL_SetSize(m_hostage->pev, VEC_HOSTAGE_HULL_MIN, VEC_HOSTAGE_CROUCH); } -void CHostageImprov::__MAKE_VHOOK(StandUp)() +void CHostageImprov::StandUp() { if (!IsCrouching() || !m_minCrouchTimer.IsElapsed()) { diff --git a/regamedll/dlls/hostage/hostage_improv.h b/regamedll/dlls/hostage/hostage_improv.h index b882eebe..72896a8e 100644 --- a/regamedll/dlls/hostage/hostage_improv.h +++ b/regamedll/dlls/hostage/hostage_improv.h @@ -42,7 +42,7 @@ enum HostageChatterType; class CHostageImprov: public CImprov { public: - CHostageImprov(CBaseEntity *entity); + CHostageImprov(CBaseEntity *entity = nullptr); ~CHostageImprov() {}; // invoked when an improv reaches its MoveTo goal @@ -81,7 +81,7 @@ public: virtual void TrackPath(const Vector &pathGoal, float deltaT); // move along path by following "pathGoal" virtual void StartLadder(const CNavLadder *ladder, NavTraverseType how, const Vector *approachPos, const Vector *departPos); virtual bool TraverseLadder(const CNavLadder *ladder, NavTraverseType how, const Vector *approachPos, const Vector *departPos, float deltaT); - virtual bool GetSimpleGroundHeightWithFloor(const Vector *pos, float *height, Vector *normal = NULL); + virtual bool GetSimpleGroundHeightWithFloor(const Vector *pos, float *height, Vector *normal = nullptr); virtual void Run(); virtual void Walk(); virtual void Stop(); @@ -104,54 +104,14 @@ public: virtual bool IsVisible(const Vector &pos, bool testFOV = false) const; // return true if hostage can see position virtual bool IsPlayerLookingAtMe(CBasePlayer *other, float cosTolerance = 0.95f) const; virtual CBasePlayer *IsAnyPlayerLookingAtMe(int team = 0, float cosTolerance = 0.95f) const; - virtual CBasePlayer *GetClosestPlayerByTravelDistance(int team = 0, float *range = NULL) const; + virtual CBasePlayer *GetClosestPlayerByTravelDistance(int team = 0, float *range = nullptr) const; virtual CNavArea *GetLastKnownArea() const { return m_lastKnownArea; } virtual void OnUpdate(float deltaT); virtual void OnUpkeep(float deltaT); virtual void OnReset(); - virtual void OnGameEvent(GameEventType event, CBaseEntity *entity = NULL, CBaseEntity *other = NULL); + virtual void OnGameEvent(GameEventType event, CBaseEntity *entity = nullptr, CBaseEntity *other = nullptr); virtual void OnTouch(CBaseEntity *other); // in contact with "other" -#ifdef HOOK_GAMEDLL - - void OnMoveToFailure_(const Vector &goal, MoveToFailureType reason); - bool IsAlive_() const; - void MoveTo_(const Vector &goal); - void LookAt_(const Vector &target); - void ClearLookAt_(); - void FaceTo_(const Vector &goal); - void ClearFaceTo_(); - bool IsAtMoveGoal_(float error = 20.0f) const; - bool IsAtFaceGoal_() const; - bool IsFriendInTheWay_(const Vector &goalPos) const; - bool IsFriendInTheWay_(CBaseEntity *myFriend, const Vector &goalPos) const; - bool Jump_(); - void Crouch_(); - void StandUp_(); - void TrackPath_(const Vector &pathGoal, float deltaT); - void StartLadder_(const CNavLadder *ladder, NavTraverseType how, const Vector *approachPos, const Vector *departPos); - bool TraverseLadder_(const CNavLadder *ladder, NavTraverseType how, const Vector *approachPos, const Vector *departPos, float deltaT); - bool GetSimpleGroundHeightWithFloor_(const Vector *pos, float *height, Vector *normal = NULL); - void Run_(); - void Walk_(); - void Stop_(); - const Vector &GetFeet_() const; - const Vector &GetCentroid_() const; - const Vector &GetEyes_() const; - bool IsOnGround_() const; - bool IsMoving_() const; - bool IsVisible_(const Vector &pos, bool testFOV = false) const; - bool IsPlayerLookingAtMe_(CBasePlayer *other, float cosTolerance = 0.95f) const; - CBasePlayer *IsAnyPlayerLookingAtMe_(int team = 0, float cosTolerance = 0.95f) const; - CBasePlayer *GetClosestPlayerByTravelDistance_(int team = 0, float *range = NULL) const; - void OnUpdate_(float deltaT); - void OnUpkeep_(float deltaT); - void OnReset_(); - void OnGameEvent_(GameEventType event, CBaseEntity *entity = NULL, CBaseEntity *other = NULL); - void OnTouch_(CBaseEntity *other); - -#endif // HOOK_GAMEDLL - #ifdef PLAY_GAMEDLL void ApplyForce2(float_precision x, float_precision y); #endif @@ -180,7 +140,7 @@ public: // begin following "leader" void Follow(CBasePlayer *leader) { m_followState.SetLeader(leader); m_behavior.SetState(&m_followState); } - bool IsFollowing(const CBaseEntity *leader = NULL) const { return m_behavior.IsState(&m_followState); } + bool IsFollowing(const CBaseEntity *leader = nullptr) const { return m_behavior.IsState(&m_followState); } // Escape void Escape() { m_behavior.SetState(&m_escapeState); } @@ -223,7 +183,7 @@ public: bool FaceTowards(const Vector &target, float deltaT); // rotate body to face towards "target" float GetSpeed(); void SetMoveAngle(float angle) { m_moveAngle = angle; } - void Wiggle(); // attempt to wiggle-out of begin stuck + void Wiggle(); // attempt to wiggle-out of begin stuck void ClearPath(); #define HOSTAGE_ONLY_JUMP_DOWN true @@ -281,12 +241,12 @@ private: bool m_isLookingAt; Vector m_faceGoal; bool m_isFacingTo; - CNavPath m_path; // current path to follow + CNavPath m_path; // current path to follow CNavPathFollower m_follower; Vector m_lastPosition; MoveType m_moveType; MoveType m_moveLimit; - bool m_isCrouching; // true if hostage is crouching + bool m_isCrouching; // true if hostage is crouching CountdownTimer m_minCrouchTimer; float m_moveAngle; NavRelativeDirType m_wiggleDirection; @@ -294,7 +254,7 @@ private: CountdownTimer m_wiggleTimer; // for wiggling CountdownTimer m_wiggleJumpTimer; CountdownTimer m_inhibitObstacleAvoidance; - CountdownTimer m_jumpTimer; // if zero, we can jump + CountdownTimer m_jumpTimer; // if zero, we can jump bool m_hasJumped; bool m_hasJumpedIntoAir; @@ -313,7 +273,7 @@ public: { m_me = me; m_goalPos = goalPos; - m_blocker = NULL; + m_blocker = nullptr; } bool operator()(CHostage *them) { @@ -338,7 +298,7 @@ class HostagePathCost public: float operator()(CNavArea *area, CNavArea *fromArea, const CNavLadder *ladder) { - if (fromArea == NULL) + if (fromArea == nullptr) { // first area in path, no cost return 0.0f; diff --git a/regamedll/dlls/hostage/hostage_localnav.h b/regamedll/dlls/hostage/hostage_localnav.h index be6d1c75..ceb4dd7a 100644 --- a/regamedll/dlls/hostage/hostage_localnav.h +++ b/regamedll/dlls/hostage/hostage_localnav.h @@ -53,9 +53,7 @@ typedef struct localnode_s } localnode_t; #ifndef HOOK_GAMEDLL - #define s_flStepSize_LocalNav m_LocalNav->s_flStepSize - #endif class CLocalNav @@ -101,10 +99,7 @@ public: static void HostagePrethink(); static float s_flStepSize; -#ifndef HOOK_GAMEDLL private: -#endif - static EHANDLE _queue[MAX_HOSTAGES_NAV]; static int qptr; static int tot_inqueue; diff --git a/regamedll/dlls/hostage/hostage_states.h b/regamedll/dlls/hostage/hostage_states.h index 3a9bff20..fb5faf55 100644 --- a/regamedll/dlls/hostage/hostage_states.h +++ b/regamedll/dlls/hostage/hostage_states.h @@ -80,15 +80,6 @@ public: virtual void OnMoveToFailure(const Vector &goal, MoveToFailureType reason) { m_moveState = MoveFailed; } virtual void OnInjury(float amount = -1.0f) { m_fleeTimer.Invalidate(); m_mustFlee = true; } -#ifdef HOOK_GAMEDLL - - void OnEnter_(CHostageImprov *improv); - void OnUpdate_(CHostageImprov *improv); - void OnExit_(CHostageImprov *improv); - void UpdateStationaryAnimation_(CHostageImprov *improv); - -#endif - private: CountdownTimer m_waveTimer; CountdownTimer m_fleeTimer; @@ -120,15 +111,6 @@ public: virtual const char *GetName() const { return "Escape:ToCover"; } virtual void OnMoveToFailure(const Vector &goal, MoveToFailureType reason); -#ifdef HOOK_GAMEDLL - - void OnEnter_(CHostageImprov *improv); - void OnUpdate_(CHostageImprov *improv); - void OnExit_(CHostageImprov *improv); - void OnMoveToFailure_(const Vector &goal, MoveToFailureType reason); - -#endif - public: void SetRescueGoal(const Vector &rescueGoal) { m_rescueGoal = rescueGoal; } @@ -148,14 +130,6 @@ public: virtual void OnExit(CHostageImprov *improv); virtual const char *GetName() const { return "Escape:LookAround"; } -#ifdef HOOK_GAMEDLL - - void OnEnter_(CHostageImprov *improv); - void OnUpdate_(CHostageImprov *improv); - void OnExit_(CHostageImprov *improv); - -#endif - private: CountdownTimer m_timer; }; @@ -176,14 +150,6 @@ public: virtual const char *GetName() const { return "Escape"; } virtual void OnMoveToFailure(const Vector &goal, MoveToFailureType reason) { m_behavior.OnMoveToFailure(goal, reason); } -#ifdef HOOK_GAMEDLL - - void OnEnter_(CHostageImprov *improv); - void OnUpdate_(CHostageImprov *improv); - void OnExit_(CHostageImprov *improv); - -#endif - public: void ToCover() { m_behavior.SetState(&m_toCoverState); } void LookAround() { m_behavior.SetState(&m_lookAroundState); } @@ -205,15 +171,6 @@ public: virtual void OnUpdate(CHostageImprov *improv); virtual void OnExit(CHostageImprov *improv); virtual const char *GetName() const { return "Retreat"; } - -#ifdef HOOK_GAMEDLL - - void OnEnter_(CHostageImprov *improv); - void OnUpdate_(CHostageImprov *improv); - void OnExit_(CHostageImprov *improv); - -#endif - }; class HostageFollowState: public HostageState @@ -227,15 +184,6 @@ public: virtual const char *GetName() const { return "Follow"; } virtual void UpdateStationaryAnimation(CHostageImprov *improv); -#ifdef HOOK_GAMEDLL - - void OnEnter_(CHostageImprov *improv); - void OnUpdate_(CHostageImprov *improv); - void OnExit_(CHostageImprov *improv); - void UpdateStationaryAnimation_(CHostageImprov *improv); - -#endif - public: void SetLeader(CBaseEntity *leader) { m_leader = leader; } CBaseEntity *GetLeader() const { return m_leader; } @@ -262,14 +210,6 @@ public: virtual void OnExit(CHostageImprov *improv); virtual const char *GetName() const { return "Animate"; } -#ifdef HOOK_GAMEDLL - - void OnEnter_(CHostageImprov *improv); - void OnUpdate_(CHostageImprov *improv); - void OnExit_(CHostageImprov *improv); - -#endif - public: struct SeqInfo { diff --git a/regamedll/dlls/hostage/states/hostage_animate.cpp b/regamedll/dlls/hostage/states/hostage_animate.cpp index 493d2627..bbec560d 100644 --- a/regamedll/dlls/hostage/states/hostage_animate.cpp +++ b/regamedll/dlls/hostage/states/hostage_animate.cpp @@ -72,12 +72,12 @@ bool HostageAnimateState::IsDoneHolding() return false; } -void HostageAnimateState::__MAKE_VHOOK(OnEnter)(CHostageImprov *improv) +void HostageAnimateState::OnEnter(CHostageImprov *improv) { ; } -void HostageAnimateState::__MAKE_VHOOK(OnUpdate)(CHostageImprov *improv) +void HostageAnimateState::OnUpdate(CHostageImprov *improv) { if (m_sequenceCount <= 0) return; @@ -103,7 +103,7 @@ void HostageAnimateState::__MAKE_VHOOK(OnUpdate)(CHostageImprov *improv) StartSequence(improv, &m_sequence[m_currentSequence]); } -void HostageAnimateState::__MAKE_VHOOK(OnExit)(CHostageImprov *improv) +void HostageAnimateState::OnExit(CHostageImprov *improv) { ; } diff --git a/regamedll/dlls/hostage/states/hostage_escape.cpp b/regamedll/dlls/hostage/states/hostage_escape.cpp index 19e3e36d..14c04c37 100644 --- a/regamedll/dlls/hostage/states/hostage_escape.cpp +++ b/regamedll/dlls/hostage/states/hostage_escape.cpp @@ -1,6 +1,6 @@ #include "precompiled.h" -void HostageEscapeToCoverState::__MAKE_VHOOK(OnEnter)(CHostageImprov *improv) +void HostageEscapeToCoverState::OnEnter(CHostageImprov *improv) { CNavPath path; HostagePathCost pathCost; @@ -35,7 +35,7 @@ void HostageEscapeToCoverState::__MAKE_VHOOK(OnEnter)(CHostageImprov *improv) m_canEscape = true; } -void HostageEscapeToCoverState::__MAKE_VHOOK(OnUpdate)(CHostageImprov *improv) +void HostageEscapeToCoverState::OnUpdate(CHostageImprov *improv) { if (!m_canEscape) { @@ -67,18 +67,18 @@ void HostageEscapeToCoverState::__MAKE_VHOOK(OnUpdate)(CHostageImprov *improv) } } -void HostageEscapeToCoverState::__MAKE_VHOOK(OnExit)(CHostageImprov *improv) +void HostageEscapeToCoverState::OnExit(CHostageImprov *improv) { ; } -void HostageEscapeToCoverState::__MAKE_VHOOK(OnMoveToFailure)(const Vector &goal, MoveToFailureType reason) +void HostageEscapeToCoverState::OnMoveToFailure(const Vector &goal, MoveToFailureType reason) { HostageEscapeState *escape = static_cast(GetParent()); escape->LookAround(); } -void HostageEscapeLookAroundState::__MAKE_VHOOK(OnEnter)(CHostageImprov *improv) +void HostageEscapeLookAroundState::OnEnter(CHostageImprov *improv) { m_timer.Start(RANDOM_FLOAT(5, 10)); @@ -86,7 +86,7 @@ void HostageEscapeLookAroundState::__MAKE_VHOOK(OnEnter)(CHostageImprov *improv) improv->FaceOutwards(); } -void HostageEscapeLookAroundState::__MAKE_VHOOK(OnUpdate)(CHostageImprov *improv) +void HostageEscapeLookAroundState::OnUpdate(CHostageImprov *improv) { improv->UpdateIdleActivity(ACT_IDLE_SNEAKY, ACT_IDLE_SNEAKY_FIDGET); @@ -97,12 +97,12 @@ void HostageEscapeLookAroundState::__MAKE_VHOOK(OnUpdate)(CHostageImprov *improv } } -void HostageEscapeLookAroundState::__MAKE_VHOOK(OnExit)(CHostageImprov *improv) +void HostageEscapeLookAroundState::OnExit(CHostageImprov *improv) { improv->ClearFaceTo(); } -void HostageEscapeState::__MAKE_VHOOK(OnEnter)(CHostageImprov *improv) +void HostageEscapeState::OnEnter(CHostageImprov *improv) { const CCSBotManager::Zone *zone = TheCSBots()->GetRandomZone(); @@ -117,7 +117,7 @@ void HostageEscapeState::__MAKE_VHOOK(OnEnter)(CHostageImprov *improv) m_canEscape = true; } -void HostageEscapeState::__MAKE_VHOOK(OnUpdate)(CHostageImprov *improv) +void HostageEscapeState::OnUpdate(CHostageImprov *improv) { if (!m_canEscape || (improv->IsScared() && improv->GetScareIntensity() == CHostageImprov::TERRIFIED)) { @@ -164,7 +164,7 @@ void HostageEscapeState::__MAKE_VHOOK(OnUpdate)(CHostageImprov *improv) } } -void HostageEscapeState::__MAKE_VHOOK(OnExit)(CHostageImprov *improv) +void HostageEscapeState::OnExit(CHostageImprov *improv) { improv->Run(); } diff --git a/regamedll/dlls/hostage/states/hostage_follow.cpp b/regamedll/dlls/hostage/states/hostage_follow.cpp index dcb141c5..ea16aca7 100644 --- a/regamedll/dlls/hostage/states/hostage_follow.cpp +++ b/regamedll/dlls/hostage/states/hostage_follow.cpp @@ -1,6 +1,6 @@ #include "precompiled.h" -void HostageFollowState::__MAKE_VHOOK(OnEnter)(CHostageImprov *improv) +void HostageFollowState::OnEnter(CHostageImprov *improv) { improv->Chatter(HOSTAGE_CHATTER_START_FOLLOW); improv->Agree(); @@ -21,7 +21,7 @@ void HostageFollowState::__MAKE_VHOOK(OnEnter)(CHostageImprov *improv) } } -void HostageFollowState::__MAKE_VHOOK(OnUpdate)(CHostageImprov *improv) +void HostageFollowState::OnUpdate(CHostageImprov *improv) { // if we lost our leader, give up if (m_leader == NULL) @@ -192,12 +192,12 @@ void HostageFollowState::__MAKE_VHOOK(OnUpdate)(CHostageImprov *improv) } } -void HostageFollowState::__MAKE_VHOOK(OnExit)(CHostageImprov *improv) +void HostageFollowState::OnExit(CHostageImprov *improv) { improv->Stop(); } -void HostageFollowState::__MAKE_VHOOK(UpdateStationaryAnimation)(CHostageImprov *improv) +void HostageFollowState::UpdateStationaryAnimation(CHostageImprov *improv) { if (improv->IsScared()) improv->UpdateIdleActivity(ACT_FOLLOW_IDLE_SCARED, ACT_RESET); diff --git a/regamedll/dlls/hostage/states/hostage_idle.cpp b/regamedll/dlls/hostage/states/hostage_idle.cpp index 624e99c6..9f0b91a1 100644 --- a/regamedll/dlls/hostage/states/hostage_idle.cpp +++ b/regamedll/dlls/hostage/states/hostage_idle.cpp @@ -1,13 +1,13 @@ #include "precompiled.h" -void HostageIdleState::__MAKE_VHOOK(OnEnter)(CHostageImprov *improv) +void HostageIdleState::OnEnter(CHostageImprov *improv) { m_moveState = MoveDone; m_fleeTimer.Invalidate(); m_mustFlee = false; } -void HostageIdleState::__MAKE_VHOOK(OnUpdate)(CHostageImprov *improv) +void HostageIdleState::OnUpdate(CHostageImprov *improv) { if (!UTIL_ActivePlayersInGame()) return; @@ -57,7 +57,7 @@ void HostageIdleState::__MAKE_VHOOK(OnUpdate)(CHostageImprov *improv) improv->Stop(); improv->FaceOutwards(); - + const float crouchChance = 33.3f; if (improv->IsScared() && !improv->IsAtHome() && RANDOM_FLOAT(0, 100) <= crouchChance) { @@ -92,7 +92,7 @@ void HostageIdleState::__MAKE_VHOOK(OnUpdate)(CHostageImprov *improv) { const float attentionRange = 700.0f; float rangeT = (improv->GetCentroid() - captor->pev->origin).Length(); - + if (rangeT < attentionRange) { const float cosTolerance = 0.95f; @@ -228,13 +228,13 @@ void HostageIdleState::__MAKE_VHOOK(OnUpdate)(CHostageImprov *improv) } } -void HostageIdleState::__MAKE_VHOOK(OnExit)(CHostageImprov *improv) +void HostageIdleState::OnExit(CHostageImprov *improv) { improv->StandUp(); improv->ClearFaceTo(); } -void HostageIdleState::__MAKE_VHOOK(UpdateStationaryAnimation)(CHostageImprov *improv) +void HostageIdleState::UpdateStationaryAnimation(CHostageImprov *improv) { if (improv->IsScared()) { diff --git a/regamedll/dlls/hostage/states/hostage_retreat.cpp b/regamedll/dlls/hostage/states/hostage_retreat.cpp index 7c7ce1a4..a6d14f4a 100644 --- a/regamedll/dlls/hostage/states/hostage_retreat.cpp +++ b/regamedll/dlls/hostage/states/hostage_retreat.cpp @@ -1,12 +1,12 @@ #include "precompiled.h" -void HostageRetreatState::__MAKE_VHOOK(OnEnter)(CHostageImprov *improv) +void HostageRetreatState::OnEnter(CHostageImprov *improv) { improv->Walk(); improv->MoveTo(improv->GetEntity()->m_vStart); } -void HostageRetreatState::__MAKE_VHOOK(OnUpdate)(CHostageImprov *improv) +void HostageRetreatState::OnUpdate(CHostageImprov *improv) { if (improv->IsAtHome()) { @@ -37,7 +37,7 @@ void HostageRetreatState::__MAKE_VHOOK(OnUpdate)(CHostageImprov *improv) improv->Walk(); } -void HostageRetreatState::__MAKE_VHOOK(OnExit)(CHostageImprov *improv) +void HostageRetreatState::OnExit(CHostageImprov *improv) { ; } diff --git a/regamedll/dlls/items.cpp b/regamedll/dlls/items.cpp index 17068782..efd491aa 100644 --- a/regamedll/dlls/items.cpp +++ b/regamedll/dlls/items.cpp @@ -46,7 +46,7 @@ ItemInfo itemInfo[] = { #ifndef REGAMEDLL_FIXES LINK_ENTITY_TO_CLASS(world_items, CWorldItem, CCSWorldItem) -void CWorldItem::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CWorldItem::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "type")) { @@ -57,7 +57,7 @@ void CWorldItem::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CBaseEntity::KeyValue(pkvd); } -void CWorldItem::__MAKE_VHOOK(Spawn)() +void CWorldItem::Spawn() { CBaseEntity *pEntity = NULL; @@ -90,7 +90,7 @@ void CWorldItem::__MAKE_VHOOK(Spawn)() } #endif -void CItem::__MAKE_VHOOK(Spawn)() +void CItem::Spawn() { pev->movetype = MOVETYPE_TOSS; pev->solid = SOLID_TRIGGER; @@ -132,7 +132,7 @@ void CItem::ItemTouch(CBaseEntity *pOther) UTIL_Remove(this); } -CBaseEntity *CItem::__MAKE_VHOOK(Respawn)() +CBaseEntity *CItem::Respawn() { SetTouch(NULL); @@ -163,20 +163,20 @@ void CItem::Materialize() // NOTE: useless thing #ifndef REGAMEDLL_FIXES -void CItemSuit::__MAKE_VHOOK(Spawn)() +void CItemSuit::Spawn() { Precache(); SET_MODEL(ENT(pev), "models/w_kevlar.mdl"); CItem::Spawn(); } -void CItemSuit::__MAKE_VHOOK(Precache)() +void CItemSuit::Precache() { PRECACHE_MODEL("models/w_kevlar.mdl"); PRECACHE_SOUND("items/tr_kevlar.wav"); } -BOOL CItemSuit::__MAKE_VHOOK(MyTouch)(CBasePlayer *pPlayer) +BOOL CItemSuit::MyTouch(CBasePlayer *pPlayer) { if (pPlayer->pev->weapons & (1 << WEAPON_SUIT)) return FALSE; @@ -192,20 +192,20 @@ BOOL CItemSuit::__MAKE_VHOOK(MyTouch)(CBasePlayer *pPlayer) LINK_ENTITY_TO_CLASS(item_suit, CItemSuit, CCSItemSuit) #endif -void CItemBattery::__MAKE_VHOOK(Spawn)() +void CItemBattery::Spawn() { Precache(); SET_MODEL(ENT(pev), "models/w_battery.mdl"); CItem::Spawn(); } -void CItemBattery::__MAKE_VHOOK(Precache)() +void CItemBattery::Precache() { PRECACHE_MODEL("models/w_battery.mdl"); PRECACHE_SOUND("items/gunpickup2.wav"); } -BOOL CItemBattery::__MAKE_VHOOK(MyTouch)(CBasePlayer *pPlayer) +BOOL CItemBattery::MyTouch(CBasePlayer *pPlayer) { #ifdef REGAMEDLL_ADD if (pPlayer->HasRestrictItem(ITEM_BATTERY, ITEM_TYPE_TOUCHED)) @@ -244,19 +244,19 @@ BOOL CItemBattery::__MAKE_VHOOK(MyTouch)(CBasePlayer *pPlayer) LINK_ENTITY_TO_CLASS(item_battery, CItemBattery, CCSItemBattery) -void CItemAntidote::__MAKE_VHOOK(Spawn)() +void CItemAntidote::Spawn() { Precache(); SET_MODEL(ENT(pev), "models/w_antidote.mdl"); CItem::Spawn(); } -void CItemAntidote::__MAKE_VHOOK(Precache)() +void CItemAntidote::Precache() { PRECACHE_MODEL("models/w_antidote.mdl"); } -BOOL CItemAntidote::__MAKE_VHOOK(MyTouch)(CBasePlayer *pPlayer) +BOOL CItemAntidote::MyTouch(CBasePlayer *pPlayer) { #ifdef REGAMEDLL_ADD if (pPlayer->HasRestrictItem(ITEM_ANTIDOTE, ITEM_TYPE_TOUCHED)) @@ -273,19 +273,19 @@ LINK_ENTITY_TO_CLASS(item_antidote, CItemAntidote, CCSItemAntidote) // NOTE: useless thing #ifndef REGAMEDLL_FIXES -void CItemSecurity::__MAKE_VHOOK(Spawn)() +void CItemSecurity::Spawn() { Precache(); SET_MODEL(ENT(pev), "models/w_security.mdl"); CItem::Spawn(); } -void CItemSecurity::__MAKE_VHOOK(Precache)() +void CItemSecurity::Precache() { PRECACHE_MODEL("models/w_security.mdl"); } -BOOL CItemSecurity::__MAKE_VHOOK(MyTouch)(CBasePlayer *pPlayer) +BOOL CItemSecurity::MyTouch(CBasePlayer *pPlayer) { pPlayer->m_rgItems[ ITEM_ID_SECURITY ] += 1; return TRUE; @@ -294,19 +294,19 @@ BOOL CItemSecurity::__MAKE_VHOOK(MyTouch)(CBasePlayer *pPlayer) LINK_ENTITY_TO_CLASS(item_security, CItemSecurity, CCSItemSecurity) #endif -void CItemLongJump::__MAKE_VHOOK(Spawn)() +void CItemLongJump::Spawn() { Precache(); SET_MODEL(ENT(pev), "models/w_longjump.mdl"); CItem::Spawn(); } -void CItemLongJump::__MAKE_VHOOK(Precache)() +void CItemLongJump::Precache() { PRECACHE_MODEL("models/w_longjump.mdl"); } -BOOL CItemLongJump::__MAKE_VHOOK(MyTouch)(CBasePlayer *pPlayer) +BOOL CItemLongJump::MyTouch(CBasePlayer *pPlayer) { #ifdef REGAMEDLL_ADD if (pPlayer->HasRestrictItem(ITEM_LONGJUMP, ITEM_TYPE_TOUCHED)) @@ -336,19 +336,19 @@ BOOL CItemLongJump::__MAKE_VHOOK(MyTouch)(CBasePlayer *pPlayer) LINK_ENTITY_TO_CLASS(item_longjump, CItemLongJump, CCSItemLongJump) -void CItemKevlar::__MAKE_VHOOK(Spawn)() +void CItemKevlar::Spawn() { Precache(); SET_MODEL(ENT(pev), "models/w_kevlar.mdl"); CItem::Spawn(); } -void CItemKevlar::__MAKE_VHOOK(Precache)() +void CItemKevlar::Precache() { PRECACHE_MODEL("models/w_kevlar.mdl"); } -BOOL CItemKevlar::__MAKE_VHOOK(MyTouch)(CBasePlayer *pPlayer) +BOOL CItemKevlar::MyTouch(CBasePlayer *pPlayer) { #ifdef REGAMEDLL_ADD if (pPlayer->HasRestrictItem(ITEM_KEVLAR, ITEM_TYPE_TOUCHED)) @@ -379,19 +379,19 @@ BOOL CItemKevlar::__MAKE_VHOOK(MyTouch)(CBasePlayer *pPlayer) LINK_ENTITY_TO_CLASS(item_kevlar, CItemKevlar, CCSItemKevlar) -void CItemAssaultSuit::__MAKE_VHOOK(Spawn)() +void CItemAssaultSuit::Spawn() { Precache(); SET_MODEL(ENT(pev), "models/w_assault.mdl"); CItem::Spawn(); } -void CItemAssaultSuit::__MAKE_VHOOK(Precache)() +void CItemAssaultSuit::Precache() { PRECACHE_MODEL("models/w_assault.mdl"); } -BOOL CItemAssaultSuit::__MAKE_VHOOK(MyTouch)(CBasePlayer *pPlayer) +BOOL CItemAssaultSuit::MyTouch(CBasePlayer *pPlayer) { #ifdef REGAMEDLL_ADD if (pPlayer->HasRestrictItem(ITEM_ASSAULT, ITEM_TYPE_TOUCHED)) @@ -421,19 +421,19 @@ BOOL CItemAssaultSuit::__MAKE_VHOOK(MyTouch)(CBasePlayer *pPlayer) LINK_ENTITY_TO_CLASS(item_assaultsuit, CItemAssaultSuit, CCSItemAssaultSuit) -void CItemThighPack::__MAKE_VHOOK(Spawn)() +void CItemThighPack::Spawn() { Precache(); SET_MODEL(ENT(pev), "models/w_thighpack.mdl"); CItem::Spawn(); } -void CItemThighPack::__MAKE_VHOOK(Precache)() +void CItemThighPack::Precache() { PRECACHE_MODEL("models/w_thighpack.mdl"); } -BOOL CItemThighPack::__MAKE_VHOOK(MyTouch)(CBasePlayer *pPlayer) +BOOL CItemThighPack::MyTouch(CBasePlayer *pPlayer) { if (pPlayer->m_iTeam != CT || pPlayer->m_bHasDefuser) return FALSE; diff --git a/regamedll/dlls/items.h b/regamedll/dlls/items.h index 890b9cec..4e1a06dd 100644 --- a/regamedll/dlls/items.h +++ b/regamedll/dlls/items.h @@ -93,13 +93,6 @@ public: virtual CBaseEntity *Respawn(); virtual BOOL MyTouch(CBasePlayer *pPlayer) { return FALSE; } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - CBaseEntity *Respawn_(); - -#endif - public: void EXPORT ItemTouch(CBaseEntity *pOther); void EXPORT Materialize(); @@ -111,13 +104,6 @@ public: virtual void Spawn(); virtual void KeyValue(KeyValueData *pkvd); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - -#endif - public: int m_iType; }; @@ -128,15 +114,6 @@ public: virtual void Spawn(); virtual void Precache(); virtual BOOL MyTouch(CBasePlayer *pPlayer); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - BOOL MyTouch_(CBasePlayer *pPlayer); - -#endif - }; class CItemBattery: public CItem @@ -145,15 +122,6 @@ public: virtual void Spawn(); virtual void Precache(); virtual BOOL MyTouch(CBasePlayer *pPlayer); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - BOOL MyTouch_(CBasePlayer *pPlayer); - -#endif - }; class CItemAntidote: public CItem @@ -162,15 +130,6 @@ public: virtual void Spawn(); virtual void Precache(); virtual BOOL MyTouch(CBasePlayer *pPlayer); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - BOOL MyTouch_(CBasePlayer *pPlayer); - -#endif - }; class CItemSecurity: public CItem @@ -179,15 +138,6 @@ public: virtual void Spawn(); virtual void Precache(); virtual BOOL MyTouch(CBasePlayer *pPlayer); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - BOOL MyTouch_(CBasePlayer *pPlayer); - -#endif - }; class CItemLongJump: public CItem @@ -196,15 +146,6 @@ public: virtual void Spawn(); virtual void Precache(); virtual BOOL MyTouch(CBasePlayer *pPlayer); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - BOOL MyTouch_(CBasePlayer *pPlayer); - -#endif - }; class CItemKevlar: public CItem @@ -213,15 +154,6 @@ public: virtual void Spawn(); virtual void Precache(); virtual BOOL MyTouch(CBasePlayer *pPlayer); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - BOOL MyTouch_(CBasePlayer *pPlayer); - -#endif - }; class CItemAssaultSuit: public CItem @@ -230,15 +162,6 @@ public: virtual void Spawn(); virtual void Precache(); virtual BOOL MyTouch(CBasePlayer *pPlayer); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - BOOL MyTouch_(CBasePlayer *pPlayer); - -#endif - }; class CItemThighPack: public CItem @@ -247,15 +170,6 @@ public: virtual void Spawn(); virtual void Precache(); virtual BOOL MyTouch(CBasePlayer *pPlayer); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - BOOL MyTouch_(CBasePlayer *pPlayer); - -#endif - }; ItemID GetItemIdByName(const char *pszName); diff --git a/regamedll/dlls/lights.cpp b/regamedll/dlls/lights.cpp index c06d921f..59fad171 100644 --- a/regamedll/dlls/lights.cpp +++ b/regamedll/dlls/lights.cpp @@ -17,7 +17,7 @@ LINK_ENTITY_TO_CLASS(light, CLight, CCSLight) IMPLEMENT_SAVERESTORE(CLight, CPointEntity) // Cache user-entity-field values until spawn is called. -void CLight::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CLight::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "style")) { @@ -38,7 +38,7 @@ void CLight::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CPointEntity::KeyValue(pkvd); } -void CLight::__MAKE_VHOOK(Spawn)() +void CLight::Spawn() { // inert light if (FStringNull(pev->targetname)) @@ -61,7 +61,7 @@ void CLight::__MAKE_VHOOK(Spawn)() } } -void CLight::__MAKE_VHOOK(Restart)() +void CLight::Restart() { if (m_iStyle >= 32) { @@ -82,7 +82,7 @@ void CLight::__MAKE_VHOOK(Restart)() } } -void CLight::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CLight::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (m_iStyle >= 32) { @@ -109,7 +109,7 @@ void CLight::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, US LINK_ENTITY_TO_CLASS(light_spot, CLight, CCSLight) LINK_ENTITY_TO_CLASS(light_environment, CEnvLight, CCSEnvLight) -void CEnvLight::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CEnvLight::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "_light")) { @@ -145,7 +145,7 @@ void CEnvLight::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CLight::KeyValue(pkvd); } -void CEnvLight::__MAKE_VHOOK(Spawn)() +void CEnvLight::Spawn() { #ifdef HOOK_GAMEDLL // NOTE: fix negative the values for function sprintf from STD C++: diff --git a/regamedll/dlls/lights.h b/regamedll/dlls/lights.h index 21f20be0..e3eb78b0 100644 --- a/regamedll/dlls/lights.h +++ b/regamedll/dlls/lights.h @@ -44,17 +44,6 @@ public: virtual int Restore(CRestore &restore); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Restart_(); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void KeyValue_(KeyValueData *pkvd); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - static TYPEDESCRIPTION IMPL(m_SaveData)[2]; private: @@ -68,14 +57,6 @@ class CEnvLight: public CLight public: virtual void Spawn(); virtual void KeyValue(KeyValueData *pkvd); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - -#endif - }; #endif // LIGHT_H diff --git a/regamedll/dlls/mapinfo.cpp b/regamedll/dlls/mapinfo.cpp index 221c07c9..b9160e38 100644 --- a/regamedll/dlls/mapinfo.cpp +++ b/regamedll/dlls/mapinfo.cpp @@ -60,7 +60,7 @@ void CMapInfo::CheckMapInfo() CSGameRules()->m_bTCantBuy = bTCantBuy; } -void CMapInfo::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CMapInfo::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "buying")) { @@ -78,7 +78,7 @@ void CMapInfo::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) } } -void CMapInfo::__MAKE_VHOOK(Spawn)() +void CMapInfo::Spawn() { pev->movetype = MOVETYPE_NONE; pev->solid = SOLID_NOT; diff --git a/regamedll/dlls/mapinfo.h b/regamedll/dlls/mapinfo.h index aad541c0..0686f525 100644 --- a/regamedll/dlls/mapinfo.h +++ b/regamedll/dlls/mapinfo.h @@ -37,13 +37,6 @@ public: virtual void UpdateOnRemove(); void CheckMapInfo(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - -#endif - public: InfoMapBuyParam m_iBuyingStatus; float m_flBombRadius; diff --git a/regamedll/dlls/maprules.cpp b/regamedll/dlls/maprules.cpp index 94716559..3c75e669 100644 --- a/regamedll/dlls/maprules.cpp +++ b/regamedll/dlls/maprules.cpp @@ -29,14 +29,14 @@ TYPEDESCRIPTION CGamePlayerZone::m_SaveData[] = IMPLEMENT_SAVERESTORE(CRuleEntity, CBaseEntity) -void CRuleEntity::__MAKE_VHOOK(Spawn)() +void CRuleEntity::Spawn() { pev->solid = SOLID_NOT; pev->movetype = MOVETYPE_NONE; pev->effects = EF_NODRAW; } -void CRuleEntity::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CRuleEntity::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "master")) { @@ -60,14 +60,14 @@ BOOL CRuleEntity::CanFireForActivator(CBaseEntity *pActivator) return TRUE; } -void CRulePointEntity::__MAKE_VHOOK(Spawn)() +void CRulePointEntity::Spawn() { CRuleEntity::Spawn(); pev->frame = 0; pev->model = 0; } -void CRuleBrushEntity::__MAKE_VHOOK(Spawn)() +void CRuleBrushEntity::Spawn() { SET_MODEL(edict(), STRING(pev->model)); CRuleEntity::Spawn(); @@ -75,12 +75,12 @@ void CRuleBrushEntity::__MAKE_VHOOK(Spawn)() LINK_ENTITY_TO_CLASS(game_score, CGameScore, CCSGameScore) -void CGameScore::__MAKE_VHOOK(Spawn)() +void CGameScore::Spawn() { CRulePointEntity::Spawn(); } -void CGameScore::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CGameScore::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "points")) { @@ -91,7 +91,7 @@ void CGameScore::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CRulePointEntity::KeyValue(pkvd); } -void CGameScore::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CGameScore::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (!CanFireForActivator(pActivator)) return; @@ -112,7 +112,7 @@ void CGameScore::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller LINK_ENTITY_TO_CLASS(game_end, CGameEnd, CCSGameEnd) -void CGameEnd::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CGameEnd::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (!CanFireForActivator(pActivator)) return; @@ -123,7 +123,7 @@ void CGameEnd::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, LINK_ENTITY_TO_CLASS(game_text, CGameText, CCSGameText) IMPLEMENT_SAVERESTORE(CGameText, CRulePointEntity) -void CGameText::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CGameText::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "channel")) { @@ -193,7 +193,7 @@ void CGameText::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CRulePointEntity::KeyValue(pkvd); } -void CGameText::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CGameText::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (!CanFireForActivator(pActivator)) return; @@ -213,7 +213,7 @@ void CGameText::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, LINK_ENTITY_TO_CLASS(game_team_master, CGameTeamMaster, CCSGameTeamMaster) -void CGameTeamMaster::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CGameTeamMaster::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "teamindex")) { @@ -243,7 +243,7 @@ void CGameTeamMaster::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CRulePointEntity::KeyValue(pkvd); } -void CGameTeamMaster::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CGameTeamMaster::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (!CanFireForActivator(pActivator)) return; @@ -281,12 +281,12 @@ void CGameTeamMaster::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pC } } -BOOL CGameTeamMaster::__MAKE_VHOOK(IsTriggered)(CBaseEntity *pActivator) +BOOL CGameTeamMaster::IsTriggered(CBaseEntity *pActivator) { return TeamMatch(pActivator); } -const char *CGameTeamMaster::__MAKE_VHOOK(TeamID)() +const char *CGameTeamMaster::TeamID() { // Currently set to "no team" if (m_teamIndex < 0) @@ -323,7 +323,7 @@ BOOL CGameTeamMaster::TeamMatch(CBaseEntity *pActivator) LINK_ENTITY_TO_CLASS(game_team_set, CGameTeamSet, CCSGameTeamSet) -void CGameTeamSet::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CGameTeamSet::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (!CanFireForActivator(pActivator)) return; @@ -348,7 +348,7 @@ void CGameTeamSet::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCall LINK_ENTITY_TO_CLASS(game_zone_player, CGamePlayerZone, CCSGamePlayerZone) IMPLEMENT_SAVERESTORE(CGamePlayerZone, CRuleBrushEntity) -void CGamePlayerZone::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CGamePlayerZone::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "intarget")) { @@ -374,7 +374,7 @@ void CGamePlayerZone::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CRuleBrushEntity::KeyValue(pkvd); } -void CGamePlayerZone::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CGamePlayerZone::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { int playersInCount = 0; int playersOutCount = 0; @@ -432,7 +432,7 @@ void CGamePlayerZone::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pC LINK_ENTITY_TO_CLASS(game_player_hurt, CGamePlayerHurt, CCSGamePlayerHurt) -void CGamePlayerHurt::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CGamePlayerHurt::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (!CanFireForActivator(pActivator)) return; @@ -455,14 +455,14 @@ void CGamePlayerHurt::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pC LINK_ENTITY_TO_CLASS(game_counter, CGameCounter, CCSGameCounter) -void CGameCounter::__MAKE_VHOOK(Spawn)() +void CGameCounter::Spawn() { // Save off the initial count SetInitialValue(CountValue()); CRulePointEntity::Spawn(); } -void CGameCounter::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CGameCounter::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (!CanFireForActivator(pActivator)) return; @@ -501,7 +501,7 @@ void CGameCounter::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCall LINK_ENTITY_TO_CLASS(game_counter_set, CGameCounterSet, CCSGameCounterSet) -void CGameCounterSet::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CGameCounterSet::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (!CanFireForActivator(pActivator)) return; @@ -516,7 +516,7 @@ void CGameCounterSet::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pC LINK_ENTITY_TO_CLASS(game_player_equip, CGamePlayerEquip, CCSGamePlayerEquip) -void CGamePlayerEquip::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CGamePlayerEquip::KeyValue(KeyValueData *pkvd) { CRulePointEntity::KeyValue(pkvd); @@ -540,7 +540,7 @@ void CGamePlayerEquip::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) } } -void CGamePlayerEquip::__MAKE_VHOOK(Touch)(CBaseEntity *pOther) +void CGamePlayerEquip::Touch(CBaseEntity *pOther) { if (!CanFireForActivator(pOther)) return; @@ -581,7 +581,7 @@ void CGamePlayerEquip::EquipPlayer(CBaseEntity *pEntity) } } -void CGamePlayerEquip::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CGamePlayerEquip::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { EquipPlayer(pActivator); } @@ -601,7 +601,7 @@ const char *CGamePlayerTeam::TargetTeamName(const char *pszTargetName) return NULL; } -void CGamePlayerTeam::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CGamePlayerTeam::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (!CanFireForActivator(pActivator)) return; diff --git a/regamedll/dlls/maprules.h b/regamedll/dlls/maprules.h index 77bd162a..9f367f39 100644 --- a/regamedll/dlls/maprules.h +++ b/regamedll/dlls/maprules.h @@ -65,15 +65,6 @@ public: virtual int Save(CSave &save); virtual int Restore(CRestore &restore); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - -#endif - public: static TYPEDESCRIPTION IMPL(m_SaveData)[1]; @@ -91,13 +82,6 @@ class CRulePointEntity: public CRuleEntity { public: virtual void Spawn(); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - }; // CRuleBrushEntity -- base class for all rule "brush" entities (not brushes) @@ -106,13 +90,6 @@ class CRuleBrushEntity: public CRuleEntity { public: virtual void Spawn(); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - }; // CGameScore / game_score -- award points to player / team @@ -126,14 +103,6 @@ public: virtual void KeyValue(KeyValueData *pkvd); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: int Points() const { return int(pev->frags); } BOOL AllowNegativeScore() { return pev->spawnflags & SF_SCORE_NEGATIVE; } @@ -147,13 +116,6 @@ class CGameEnd: public CRulePointEntity { public: virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#ifdef HOOK_GAMEDLL - - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - }; // CGameText / game_text -- NON-Localized HUD Message (use env_message to display a titles.txt message) @@ -166,15 +128,6 @@ public: virtual int Restore(CRestore &restore); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: BOOL MessageToAll() const { return (pev->spawnflags & SF_ENVTEXT_ALLPLAYERS) == SF_ENVTEXT_ALLPLAYERS; } void MessageSet(const char *pMessage) { pev->message = ALLOC_STRING(pMessage); } @@ -202,15 +155,6 @@ public: virtual const char *TeamID(); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void KeyValue_(KeyValueData *pkvd); - BOOL IsTriggered_(CBaseEntity *pActivator); - const char *TeamID_(); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: BOOL RemoveOnFire() const { return (pev->spawnflags & SF_TEAMMASTER_FIREONCE) == SF_TEAMMASTER_FIREONCE; } BOOL AnyTeam() const { return (pev->spawnflags & SF_TEAMMASTER_ANYTEAM) == SF_TEAMMASTER_ANYTEAM; } @@ -231,12 +175,6 @@ class CGameTeamSet: public CRulePointEntity public: virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: BOOL RemoveOnFire() const { return (pev->spawnflags & SF_TEAMSET_FIREONCE) == SF_TEAMSET_FIREONCE; } BOOL ShouldClearTeam() const { return (pev->spawnflags & SF_TEAMSET_CLEARTEAM) == SF_TEAMSET_CLEARTEAM; } @@ -252,15 +190,6 @@ public: virtual int Restore(CRestore &restore); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: static TYPEDESCRIPTION IMPL(m_SaveData)[4]; @@ -278,12 +207,6 @@ class CGamePlayerHurt: public CRulePointEntity public: virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: BOOL RemoveOnFire() const { return (pev->spawnflags & SF_PKILL_FIREONCE) == SF_PKILL_FIREONCE; } }; @@ -297,13 +220,6 @@ public: virtual void Spawn(); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: BOOL RemoveOnFire() const { return (pev->spawnflags & SF_GAMECOUNT_FIREONCE) == SF_GAMECOUNT_FIREONCE; } BOOL ResetOnFire() const { return (pev->spawnflags & SF_GAMECOUNT_RESET) == SF_GAMECOUNT_RESET; } @@ -328,12 +244,6 @@ class CGameCounterSet: public CRulePointEntity public: virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: BOOL RemoveOnFire() const { return (pev->spawnflags & SF_GAMECOUNTSET_FIREONCE) == SF_GAMECOUNTSET_FIREONCE; } }; @@ -347,14 +257,6 @@ public: virtual void Touch(CBaseEntity *pOther); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void KeyValue_(KeyValueData *pkvd); - void Touch_(CBaseEntity *pOther); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: BOOL UseOnly() const { return (pev->spawnflags & SF_PLAYEREQUIP_USEONLY) == SF_PLAYEREQUIP_USEONLY; } @@ -375,12 +277,6 @@ class CGamePlayerTeam: public CRulePointEntity public: virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - private: BOOL RemoveOnFire() const { return (pev->spawnflags & SF_PTEAM_FIREONCE) == SF_PTEAM_FIREONCE; } BOOL ShouldKillPlayer() const { return (pev->spawnflags & SF_PTEAM_KILL) == SF_PTEAM_KILL; } diff --git a/regamedll/dlls/mortar.cpp b/regamedll/dlls/mortar.cpp index d1ce9eeb..0f907e67 100644 --- a/regamedll/dlls/mortar.cpp +++ b/regamedll/dlls/mortar.cpp @@ -20,7 +20,7 @@ TYPEDESCRIPTION CFuncMortarField::m_SaveData[] = LINK_ENTITY_TO_CLASS(func_mortar_field, CFuncMortarField, CCSFuncMortarField) IMPLEMENT_SAVERESTORE(CFuncMortarField, CBaseToggle) -void CFuncMortarField::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CFuncMortarField::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "m_iszXController")) { @@ -50,7 +50,7 @@ void CFuncMortarField::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) } // Drop bombs from above -void CFuncMortarField::__MAKE_VHOOK(Spawn)() +void CFuncMortarField::Spawn() { pev->solid = SOLID_NOT; @@ -63,7 +63,7 @@ void CFuncMortarField::__MAKE_VHOOK(Spawn)() Precache(); } -void CFuncMortarField::__MAKE_VHOOK(Precache)() +void CFuncMortarField::Precache() { PRECACHE_SOUND("weapons/mortar.wav"); PRECACHE_SOUND("weapons/mortarhit.wav"); @@ -155,7 +155,7 @@ void CFuncMortarField::FieldUse(CBaseEntity *pActivator, CBaseEntity *pCaller, U LINK_ENTITY_TO_CLASS(monster_mortar, CMortar, CCSMortar) -void CMortar::__MAKE_VHOOK(Spawn)() +void CMortar::Spawn() { pev->movetype = MOVETYPE_NONE; pev->solid = SOLID_NOT; @@ -166,7 +166,7 @@ void CMortar::__MAKE_VHOOK(Spawn)() Precache(); } -void CMortar::__MAKE_VHOOK(Precache)() +void CMortar::Precache() { m_spriteTexture = PRECACHE_MODEL("sprites/lgtning.spr"); } diff --git a/regamedll/dlls/mortar.h b/regamedll/dlls/mortar.h index a2fe8303..f1feca54 100644 --- a/regamedll/dlls/mortar.h +++ b/regamedll/dlls/mortar.h @@ -44,16 +44,6 @@ public: // Bmodels don't go across transitions virtual int ObjectCaps() { return CBaseToggle::ObjectCaps() & ~FCAP_ACROSS_TRANSITION; } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - -#endif - public: void EXPORT FieldUse(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); @@ -74,13 +64,6 @@ public: virtual void Spawn(); virtual void Precache(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - -#endif - void EXPORT MortarExplode(); public: diff --git a/regamedll/dlls/mpstubb.cpp b/regamedll/dlls/mpstubb.cpp index 99ec3373..94608ef0 100644 --- a/regamedll/dlls/mpstubb.cpp +++ b/regamedll/dlls/mpstubb.cpp @@ -42,7 +42,7 @@ int CGraph::FindNearestNode(const Vector &vecOrigin, CBaseEntity *pEntity) return 0; } -float CBaseMonster::__MAKE_VHOOK(ChangeYaw)(int speed) +float CBaseMonster::ChangeYaw(int speed) { return 0.0f; } @@ -66,7 +66,7 @@ NOXREF void CBaseMonster::CorpseFallThink() pev->nextthink = gpGlobals->time + 0.1f; } -void CBaseMonster::__MAKE_VHOOK(MonsterInitDead)() +void CBaseMonster::MonsterInitDead() { InitBoneControllers(); @@ -88,7 +88,7 @@ void CBaseMonster::__MAKE_VHOOK(MonsterInitDead)() pev->nextthink = gpGlobals->time + 0.5f; } -BOOL CBaseMonster::__MAKE_VHOOK(ShouldFadeOnDeath)() +BOOL CBaseMonster::ShouldFadeOnDeath() { return FALSE; } @@ -98,12 +98,12 @@ BOOL CBaseMonster::FCheckAITrigger() return FALSE; } -void CBaseMonster::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CBaseMonster::KeyValue(KeyValueData *pkvd) { CBaseToggle::KeyValue(pkvd); } -int CBaseMonster::__MAKE_VHOOK(IRelationship)(CBaseEntity *pTarget) +int CBaseMonster::IRelationship(CBaseEntity *pTarget) { static int const iEnemy[14][14] = { @@ -136,7 +136,7 @@ int CBaseMonster::__MAKE_VHOOK(IRelationship)(CBaseEntity *pTarget) // Function also sets the Looker's m_pLink // to the head of a link list that contains all visible ents. // (linked via each ent's m_pLink field) -void CBaseMonster::__MAKE_VHOOK(Look)(int iDistance) +void CBaseMonster::Look(int iDistance) { int iSighted = 0; @@ -213,7 +213,7 @@ void CBaseMonster::__MAKE_VHOOK(Look)(int iDistance) // // UNDONE: currently, this only returns the closest enemy. // we'll want to consider distance, relationship, attack types, back turned, etc. -CBaseEntity *CBaseMonster::__MAKE_VHOOK(BestVisibleEnemy)() +CBaseEntity *CBaseMonster::BestVisibleEnemy() { CBaseEntity *pReturn; CBaseEntity *pNextEnt; diff --git a/regamedll/dlls/multiplay_gamerules.cpp b/regamedll/dlls/multiplay_gamerules.cpp index d8209b13..0b584447 100644 --- a/regamedll/dlls/multiplay_gamerules.cpp +++ b/regamedll/dlls/multiplay_gamerules.cpp @@ -179,7 +179,7 @@ BOOL CHalfLifeMultiplay::IsCareer() LINK_HOOK_CLASS_VOID_CUSTOM_CHAIN2(CHalfLifeMultiplay, CSGameRules, ServerDeactivate) -void EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(ServerDeactivate)() +void EXT_FUNC CHalfLifeMultiplay::__API_HOOK(ServerDeactivate)() { if (!IsCareer()) { @@ -191,7 +191,7 @@ void EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(ServerDeactivate)() UTIL_LogPrintf("Career End\n"); } -bool CCStrikeGameMgrHelper::__MAKE_VHOOK(CanPlayerHearPlayer)(CBasePlayer *pListener, CBasePlayer *pSender) +bool CCStrikeGameMgrHelper::CanPlayerHearPlayer(CBasePlayer *pListener, CBasePlayer *pSender) { if ( #ifndef REGAMEDLL_FIXES @@ -611,7 +611,7 @@ CHalfLifeMultiplay::CHalfLifeMultiplay() #endif } -void CHalfLifeMultiplay::__MAKE_VHOOK(RefreshSkillData)() +void CHalfLifeMultiplay::RefreshSkillData() { // load all default values CGameRules::RefreshSkillData(); @@ -644,7 +644,7 @@ void CHalfLifeMultiplay::__MAKE_VHOOK(RefreshSkillData)() LINK_HOOK_CLASS_VOID_CUSTOM_CHAIN2(CHalfLifeMultiplay, CSGameRules, RemoveGuns) -void EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(RemoveGuns)() +void EXT_FUNC CHalfLifeMultiplay::__API_HOOK(RemoveGuns)() { CBaseEntity *toremove = NULL; @@ -675,9 +675,11 @@ void CHalfLifeMultiplay::UpdateTeamScores() LINK_HOOK_CLASS_VOID_CUSTOM_CHAIN2(CHalfLifeMultiplay, CSGameRules, CleanUpMap) -void EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(CleanUpMap)() +void EXT_FUNC CHalfLifeMultiplay::__API_HOOK(CleanUpMap)() { #ifdef REGAMEDLL_FIXES + UTIL_RestartOther("multi_manager"); + // Release or reset everything entities in depending of flags ObjectCaps // (FCAP_MUST_RESET / FCAP_MUST_RELEASE) UTIL_ResetEntities(); @@ -703,7 +705,6 @@ void EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(CleanUpMap)() UTIL_RestartOther("func_button"); UTIL_RestartOther("trigger_auto"); UTIL_RestartOther("trigger_once"); - UTIL_RestartOther("multi_manager"); #endif // Remove grenades and C4 @@ -735,7 +736,7 @@ void EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(CleanUpMap)() LINK_HOOK_CLASS_VOID_CUSTOM_CHAIN2(CHalfLifeMultiplay, CSGameRules, GiveC4) -void EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(GiveC4)() +void EXT_FUNC CHalfLifeMultiplay::__API_HOOK(GiveC4)() { int iTeamCount; int iTemp = 0; @@ -927,7 +928,7 @@ void CHalfLifeMultiplay::QueueCareerRoundEndMenu(float tmDelay, int iWinStatus) LINK_HOOK_CLASS_VOID_CUSTOM_CHAIN2(CHalfLifeMultiplay, CSGameRules, CheckWinConditions) // Check if the scenario has been won/lost. -void EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(CheckWinConditions)() +void EXT_FUNC CHalfLifeMultiplay::__API_HOOK(CheckWinConditions)() { if (HasRoundInfinite()) return; @@ -1637,7 +1638,7 @@ void EXT_FUNC CHalfLifeMultiplay::__API_HOOK(BalanceTeams)() LINK_HOOK_CLASS_VOID_CUSTOM_CHAIN2(CHalfLifeMultiplay, CSGameRules, CheckMapConditions) -void EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(CheckMapConditions)() +void EXT_FUNC CHalfLifeMultiplay::__API_HOOK(CheckMapConditions)() { // Check to see if this map has a bomb target in it if (UTIL_FindEntityByClassname(NULL, "func_bomb_target")) @@ -1672,7 +1673,7 @@ void EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(CheckMapConditions)() LINK_HOOK_CLASS_VOID_CUSTOM_CHAIN2(CHalfLifeMultiplay, CSGameRules, RestartRound) -void EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(RestartRound)() +void EXT_FUNC CHalfLifeMultiplay::__API_HOOK(RestartRound)() { // tell bots that the round is restarting if (TheBots) @@ -2371,7 +2372,7 @@ void CHalfLifeMultiplay::PickNextVIP() } } -void CHalfLifeMultiplay::__MAKE_VHOOK(Think)() +void CHalfLifeMultiplay::Think() { MonitorTutorStatus(); m_VoiceGameMgr.Update(gpGlobals->frametime); @@ -3200,24 +3201,24 @@ void CHalfLifeMultiplay::CareerRestart() } } -BOOL CHalfLifeMultiplay::__MAKE_VHOOK(IsMultiplayer)() +BOOL CHalfLifeMultiplay::IsMultiplayer() { return TRUE; } -BOOL CHalfLifeMultiplay::__MAKE_VHOOK(IsDeathmatch)() +BOOL CHalfLifeMultiplay::IsDeathmatch() { return TRUE; } -BOOL CHalfLifeMultiplay::__MAKE_VHOOK(IsCoOp)() +BOOL CHalfLifeMultiplay::IsCoOp() { return gpGlobals->coop; } LINK_HOOK_CLASS_CUSTOM_CHAIN(BOOL, CHalfLifeMultiplay, CSGameRules, FShouldSwitchWeapon, (CBasePlayer *pPlayer, CBasePlayerItem *pWeapon), pPlayer, pWeapon) -BOOL EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(FShouldSwitchWeapon)(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon) +BOOL EXT_FUNC CHalfLifeMultiplay::__API_HOOK(FShouldSwitchWeapon)(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon) { if (!pWeapon->CanDeploy()) return FALSE; @@ -3239,7 +3240,7 @@ BOOL EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(FShouldSwitchWeapon)(CBasePlayer * LINK_HOOK_CLASS_CUSTOM_CHAIN(BOOL, CHalfLifeMultiplay, CSGameRules, GetNextBestWeapon, (CBasePlayer *pPlayer, CBasePlayerItem *pCurrentWeapon), pPlayer, pCurrentWeapon) -BOOL EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(GetNextBestWeapon)(CBasePlayer *pPlayer, CBasePlayerItem *pCurrentWeapon) +BOOL EXT_FUNC CHalfLifeMultiplay::__API_HOOK(GetNextBestWeapon)(CBasePlayer *pPlayer, CBasePlayerItem *pCurrentWeapon) { CBasePlayerItem *pCheck; CBasePlayerItem *pBest; // this will be used in the event that we don't find a weapon in the same category. @@ -3295,30 +3296,30 @@ BOOL EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(GetNextBestWeapon)(CBasePlayer *pP return TRUE; } -BOOL CHalfLifeMultiplay::__MAKE_VHOOK(ClientCommand_DeadOrAlive)(CBasePlayer *pPlayer, const char *pcmd) +BOOL CHalfLifeMultiplay::ClientCommand_DeadOrAlive(CBasePlayer *pPlayer, const char *pcmd) { return m_VoiceGameMgr.ClientCommand(pPlayer, pcmd); } -BOOL CHalfLifeMultiplay::__MAKE_VHOOK(ClientCommand)(CBasePlayer *pPlayer, const char *pcmd) +BOOL CHalfLifeMultiplay::ClientCommand(CBasePlayer *pPlayer, const char *pcmd) { return FALSE; } -BOOL CHalfLifeMultiplay::__MAKE_VHOOK(ClientConnected)(edict_t *pEntity, const char *pszName, const char *pszAddress, char *szRejectReason) +BOOL CHalfLifeMultiplay::ClientConnected(edict_t *pEntity, const char *pszName, const char *pszAddress, char *szRejectReason) { m_VoiceGameMgr.ClientConnected(pEntity); return TRUE; } -void CHalfLifeMultiplay::__MAKE_VHOOK(UpdateGameMode)(CBasePlayer *pPlayer) +void CHalfLifeMultiplay::UpdateGameMode(CBasePlayer *pPlayer) { MESSAGE_BEGIN(MSG_ONE, gmsgGameMode, NULL, pPlayer->edict()); WRITE_BYTE(1); MESSAGE_END(); } -void CHalfLifeMultiplay::__MAKE_VHOOK(InitHUD)(CBasePlayer *pl) +void CHalfLifeMultiplay::InitHUD(CBasePlayer *pl) { int i; @@ -3488,7 +3489,7 @@ void CHalfLifeMultiplay::__MAKE_VHOOK(InitHUD)(CBasePlayer *pl) #endif } -void CHalfLifeMultiplay::__MAKE_VHOOK(ClientDisconnected)(edict_t *pClient) +void CHalfLifeMultiplay::ClientDisconnected(edict_t *pClient) { if (pClient) { @@ -3584,7 +3585,7 @@ void CHalfLifeMultiplay::__MAKE_VHOOK(ClientDisconnected)(edict_t *pClient) LINK_HOOK_CLASS_CUSTOM_CHAIN(float, CHalfLifeMultiplay, CSGameRules, FlPlayerFallDamage, (CBasePlayer *pPlayer), pPlayer) -float EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(FlPlayerFallDamage)(CBasePlayer *pPlayer) +float EXT_FUNC CHalfLifeMultiplay::__API_HOOK(FlPlayerFallDamage)(CBasePlayer *pPlayer) { pPlayer->m_flFallVelocity -= PLAYER_MAX_SAFE_FALL_SPEED; return pPlayer->m_flFallVelocity * DAMAGE_FOR_FALL_SPEED * 1.25; @@ -3592,7 +3593,7 @@ float EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(FlPlayerFallDamage)(CBasePlayer * LINK_HOOK_CLASS_CUSTOM_CHAIN(BOOL, CHalfLifeMultiplay, CSGameRules, FPlayerCanTakeDamage, (CBasePlayer *pPlayer, CBaseEntity *pAttacker), pPlayer, pAttacker) -BOOL EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(FPlayerCanTakeDamage)(CBasePlayer *pPlayer, CBaseEntity *pAttacker) +BOOL EXT_FUNC CHalfLifeMultiplay::__API_HOOK(FPlayerCanTakeDamage)(CBasePlayer *pPlayer, CBaseEntity *pAttacker) { if (!pAttacker || PlayerRelationship(pPlayer, pAttacker) != GR_TEAMMATE) { @@ -3607,7 +3608,7 @@ BOOL EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(FPlayerCanTakeDamage)(CBasePlayer return FALSE; } -void CHalfLifeMultiplay::__MAKE_VHOOK(PlayerThink)(CBasePlayer *pPlayer) +void CHalfLifeMultiplay::PlayerThink(CBasePlayer *pPlayer) { if (m_bGameOver) { @@ -3708,7 +3709,7 @@ void CHalfLifeMultiplay::__MAKE_VHOOK(PlayerThink)(CBasePlayer *pPlayer) LINK_HOOK_CLASS_VOID_CUSTOM_CHAIN(CHalfLifeMultiplay, CSGameRules, PlayerSpawn, (CBasePlayer *pPlayer), pPlayer) // Purpose: Player has just spawned. Equip them. -void EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(PlayerSpawn)(CBasePlayer *pPlayer) +void EXT_FUNC CHalfLifeMultiplay::__API_HOOK(PlayerSpawn)(CBasePlayer *pPlayer) { // This is tied to the joining state (m_iJoiningState).. add it when the joining state is there. if (pPlayer->m_bJustConnected) @@ -3721,7 +3722,7 @@ void EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(PlayerSpawn)(CBasePlayer *pPlayer) LINK_HOOK_CLASS_CUSTOM_CHAIN(BOOL, CHalfLifeMultiplay, CSGameRules, FPlayerCanRespawn, (CBasePlayer *pPlayer), pPlayer) -BOOL EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(FPlayerCanRespawn)(CBasePlayer *pPlayer) +BOOL EXT_FUNC CHalfLifeMultiplay::__API_HOOK(FPlayerCanRespawn)(CBasePlayer *pPlayer) { #ifdef REGAMEDLL_ADD if (forcerespawn.value <= 0) @@ -3776,26 +3777,26 @@ BOOL EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(FPlayerCanRespawn)(CBasePlayer *pP return TRUE; } -float CHalfLifeMultiplay::__MAKE_VHOOK(FlPlayerSpawnTime)(CBasePlayer *pPlayer) +float CHalfLifeMultiplay::FlPlayerSpawnTime(CBasePlayer *pPlayer) { return gpGlobals->time; } -BOOL CHalfLifeMultiplay::__MAKE_VHOOK(AllowAutoTargetCrosshair)() +BOOL CHalfLifeMultiplay::AllowAutoTargetCrosshair() { return FALSE; } // IPointsForKill - how many points awarded to anyone // that kills this player? -int CHalfLifeMultiplay::__MAKE_VHOOK(IPointsForKill)(CBasePlayer *pAttacker, CBasePlayer *pKilled) +int CHalfLifeMultiplay::IPointsForKill(CBasePlayer *pAttacker, CBasePlayer *pKilled) { return 1; } LINK_HOOK_CLASS_VOID_CUSTOM_CHAIN(CHalfLifeMultiplay, CSGameRules, PlayerKilled, (CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor), pVictim, pKiller, pInflictor) -void EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(PlayerKilled)(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor) +void EXT_FUNC CHalfLifeMultiplay::__API_HOOK(PlayerKilled)(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor) { DeathNotice(pVictim, pKiller, pInflictor); @@ -3947,7 +3948,7 @@ void EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(PlayerKilled)(CBasePlayer *pVictim LINK_HOOK_CLASS_VOID_CUSTOM_CHAIN(CHalfLifeMultiplay, CSGameRules, DeathNotice, (CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pevInflictor), pVictim, pKiller, pevInflictor) -void EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(DeathNotice)(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pevInflictor) +void EXT_FUNC CHalfLifeMultiplay::__API_HOOK(DeathNotice)(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pevInflictor) { // Work out what killed the player, and send a message to all clients about it // CBaseEntity *Killer = CBaseEntity::Instance(pKiller); @@ -4078,21 +4079,21 @@ void EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(DeathNotice)(CBasePlayer *pVictim, // PlayerGotWeapon - player has grabbed a weapon that was // sitting in the world -void CHalfLifeMultiplay::__MAKE_VHOOK(PlayerGotWeapon)(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon) +void CHalfLifeMultiplay::PlayerGotWeapon(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon) { ; } // FlWeaponRespawnTime - what is the time in the future // at which this weapon may spawn? -float CHalfLifeMultiplay::__MAKE_VHOOK(FlWeaponRespawnTime)(CBasePlayerItem *pWeapon) +float CHalfLifeMultiplay::FlWeaponRespawnTime(CBasePlayerItem *pWeapon) { return gpGlobals->time + WEAPON_RESPAWN_TIME; } // FlWeaponRespawnTime - Returns 0 if the weapon can respawn now, // otherwise it returns the time at which it can try to spawn again. -float CHalfLifeMultiplay::__MAKE_VHOOK(FlWeaponTryRespawn)(CBasePlayerItem *pWeapon) +float CHalfLifeMultiplay::FlWeaponTryRespawn(CBasePlayerItem *pWeapon) { if (pWeapon && pWeapon->m_iId && (pWeapon->iFlags() & ITEM_FLAG_LIMITINWORLD)) { @@ -4106,12 +4107,12 @@ float CHalfLifeMultiplay::__MAKE_VHOOK(FlWeaponTryRespawn)(CBasePlayerItem *pWea return 0; } -Vector CHalfLifeMultiplay::__MAKE_VHOOK(VecWeaponRespawnSpot)(CBasePlayerItem *pWeapon) +Vector CHalfLifeMultiplay::VecWeaponRespawnSpot(CBasePlayerItem *pWeapon) { return pWeapon->pev->origin; } -int CHalfLifeMultiplay::__MAKE_VHOOK(WeaponShouldRespawn)(CBasePlayerItem *pWeapon) +int CHalfLifeMultiplay::WeaponShouldRespawn(CBasePlayerItem *pWeapon) { if (pWeapon->pev->spawnflags & SF_NORESPAWN) { @@ -4123,22 +4124,22 @@ int CHalfLifeMultiplay::__MAKE_VHOOK(WeaponShouldRespawn)(CBasePlayerItem *pWeap LINK_HOOK_CLASS_CUSTOM_CHAIN(BOOL, CHalfLifeMultiplay, CSGameRules, CanHavePlayerItem, (CBasePlayer *pPlayer, CBasePlayerItem *pItem), pPlayer, pItem) -BOOL EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(CanHavePlayerItem)(CBasePlayer *pPlayer, CBasePlayerItem *pItem) +BOOL EXT_FUNC CHalfLifeMultiplay::__API_HOOK(CanHavePlayerItem)(CBasePlayer *pPlayer, CBasePlayerItem *pItem) { return CGameRules::CanHavePlayerItem(pPlayer, pItem); } -BOOL CHalfLifeMultiplay::__MAKE_VHOOK(CanHaveItem)(CBasePlayer *pPlayer, CItem *pItem) +BOOL CHalfLifeMultiplay::CanHaveItem(CBasePlayer *pPlayer, CItem *pItem) { return TRUE; } -void CHalfLifeMultiplay::__MAKE_VHOOK(PlayerGotItem)(CBasePlayer *pPlayer, CItem *pItem) +void CHalfLifeMultiplay::PlayerGotItem(CBasePlayer *pPlayer, CItem *pItem) { ; } -int CHalfLifeMultiplay::__MAKE_VHOOK(ItemShouldRespawn)(CItem *pItem) +int CHalfLifeMultiplay::ItemShouldRespawn(CItem *pItem) { if (pItem->pev->spawnflags & SF_NORESPAWN) { @@ -4148,27 +4149,27 @@ int CHalfLifeMultiplay::__MAKE_VHOOK(ItemShouldRespawn)(CItem *pItem) return GR_ITEM_RESPAWN_YES; } -float CHalfLifeMultiplay::__MAKE_VHOOK(FlItemRespawnTime)(CItem *pItem) +float CHalfLifeMultiplay::FlItemRespawnTime(CItem *pItem) { return gpGlobals->time + ITEM_RESPAWN_TIME; } -Vector CHalfLifeMultiplay::__MAKE_VHOOK(VecItemRespawnSpot)(CItem *pItem) +Vector CHalfLifeMultiplay::VecItemRespawnSpot(CItem *pItem) { return pItem->pev->origin; } -void CHalfLifeMultiplay::__MAKE_VHOOK(PlayerGotAmmo)(CBasePlayer *pPlayer, char *szName, int iCount) +void CHalfLifeMultiplay::PlayerGotAmmo(CBasePlayer *pPlayer, char *szName, int iCount) { ; } -BOOL CHalfLifeMultiplay::__MAKE_VHOOK(IsAllowedToSpawn)(CBaseEntity *pEntity) +BOOL CHalfLifeMultiplay::IsAllowedToSpawn(CBaseEntity *pEntity) { return TRUE; } -int CHalfLifeMultiplay::__MAKE_VHOOK(AmmoShouldRespawn)(CBasePlayerAmmo *pAmmo) +int CHalfLifeMultiplay::AmmoShouldRespawn(CBasePlayerAmmo *pAmmo) { if (pAmmo->pev->spawnflags & SF_NORESPAWN) { @@ -4178,41 +4179,41 @@ int CHalfLifeMultiplay::__MAKE_VHOOK(AmmoShouldRespawn)(CBasePlayerAmmo *pAmmo) return GR_AMMO_RESPAWN_YES; } -float CHalfLifeMultiplay::__MAKE_VHOOK(FlAmmoRespawnTime)(CBasePlayerAmmo *pAmmo) +float CHalfLifeMultiplay::FlAmmoRespawnTime(CBasePlayerAmmo *pAmmo) { return gpGlobals->time + 20.0f; } -Vector CHalfLifeMultiplay::__MAKE_VHOOK(VecAmmoRespawnSpot)(CBasePlayerAmmo *pAmmo) +Vector CHalfLifeMultiplay::VecAmmoRespawnSpot(CBasePlayerAmmo *pAmmo) { return pAmmo->pev->origin; } -float CHalfLifeMultiplay::__MAKE_VHOOK(FlHealthChargerRechargeTime)() +float CHalfLifeMultiplay::FlHealthChargerRechargeTime() { return 60; } -float CHalfLifeMultiplay::__MAKE_VHOOK(FlHEVChargerRechargeTime)() +float CHalfLifeMultiplay::FlHEVChargerRechargeTime() { return 30; } LINK_HOOK_CLASS_CUSTOM_CHAIN(int, CHalfLifeMultiplay, CSGameRules, DeadPlayerWeapons, (CBasePlayer *pPlayer), pPlayer) -int EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(DeadPlayerWeapons)(CBasePlayer *pPlayer) +int EXT_FUNC CHalfLifeMultiplay::__API_HOOK(DeadPlayerWeapons)(CBasePlayer *pPlayer) { return GR_PLR_DROP_GUN_ACTIVE; } -int CHalfLifeMultiplay::__MAKE_VHOOK(DeadPlayerAmmo)(CBasePlayer *pPlayer) +int CHalfLifeMultiplay::DeadPlayerAmmo(CBasePlayer *pPlayer) { return GR_PLR_DROP_AMMO_ACTIVE; } LINK_HOOK_CLASS_CUSTOM_CHAIN(edict_t *, CHalfLifeMultiplay, CSGameRules, GetPlayerSpawnSpot, (CBasePlayer *pPlayer), pPlayer) -edict_t *EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(GetPlayerSpawnSpot)(CBasePlayer *pPlayer) +edict_t *EXT_FUNC CHalfLifeMultiplay::__API_HOOK(GetPlayerSpawnSpot)(CBasePlayer *pPlayer) { // gat valid spawn point edict_t *pentSpawnSpot = CGameRules::GetPlayerSpawnSpot(pPlayer); @@ -4228,7 +4229,7 @@ edict_t *EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(GetPlayerSpawnSpot)(CBasePlaye return pentSpawnSpot; } -int CHalfLifeMultiplay::__MAKE_VHOOK(PlayerRelationship)(CBasePlayer *pPlayer, CBaseEntity *pTarget) +int CHalfLifeMultiplay::PlayerRelationship(CBasePlayer *pPlayer, CBaseEntity *pTarget) { #ifdef REGAMEDLL_ADD if (IsFreeForAll()) @@ -4258,7 +4259,7 @@ int CHalfLifeMultiplay::__MAKE_VHOOK(PlayerRelationship)(CBasePlayer *pPlayer, C return GR_TEAMMATE; } -BOOL CHalfLifeMultiplay::__MAKE_VHOOK(FAllowFlashlight)() +BOOL CHalfLifeMultiplay::FAllowFlashlight() { static cvar_t *mp_flashlight = NULL; @@ -4271,7 +4272,7 @@ BOOL CHalfLifeMultiplay::__MAKE_VHOOK(FAllowFlashlight)() return FALSE; } -BOOL CHalfLifeMultiplay::__MAKE_VHOOK(FAllowMonsters)() +BOOL CHalfLifeMultiplay::FAllowMonsters() { #ifdef REGAMEDLL_FIXES return FALSE; @@ -4282,7 +4283,7 @@ BOOL CHalfLifeMultiplay::__MAKE_VHOOK(FAllowMonsters)() LINK_HOOK_CLASS_VOID_CUSTOM_CHAIN2(CHalfLifeMultiplay, CSGameRules, GoToIntermission) -void EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(GoToIntermission)() +void EXT_FUNC CHalfLifeMultiplay::__API_HOOK(GoToIntermission)() { if (m_bGameOver) return; @@ -4812,7 +4813,7 @@ void CHalfLifeMultiplay::ProcessMapVote(CBasePlayer *player, int iVote) LINK_HOOK_CLASS_VOID_CUSTOM_CHAIN2(CHalfLifeMultiplay, CSGameRules, ChangeLevel); // Server is changing to a new level, check mapcycle.txt for map name and setup info -void EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(ChangeLevel)() +void EXT_FUNC CHalfLifeMultiplay::__API_HOOK(ChangeLevel)() { static char szPreviousMapCycleFile[256]; static mapcycle_t mapcycle; @@ -4995,7 +4996,7 @@ void CHalfLifeMultiplay::SendMOTDToClient(edict_t *client) LINK_HOOK_CLASS_VOID_CUSTOM_CHAIN(CHalfLifeMultiplay, CSGameRules, ClientUserInfoChanged, (CBasePlayer *pPlayer, char *infobuffer), pPlayer, infobuffer); -void EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(ClientUserInfoChanged)(CBasePlayer *pPlayer, char *infobuffer) +void EXT_FUNC CHalfLifeMultiplay::__API_HOOK(ClientUserInfoChanged)(CBasePlayer *pPlayer, char *infobuffer) { pPlayer->SetPlayerModel(pPlayer->m_bHasC4); pPlayer->SetPrefsFromUserinfo(infobuffer); diff --git a/regamedll/dlls/observer.h b/regamedll/dlls/observer.h index cab1d045..0846b8a4 100644 --- a/regamedll/dlls/observer.h +++ b/regamedll/dlls/observer.h @@ -37,7 +37,10 @@ #define CAMERA_MODE_SPEC_ONLY_FRIST_PERSON 2 int GetForceCamera(CBasePlayer *pObserver); -int GetForceCamera_(CBasePlayer *pObserver); void UpdateClientEffects(CBasePlayer *pObserver, int oldMode); +#ifdef REGAMEDLL_API +int GetForceCamera_OrigFunc(CBasePlayer *pObserver); +#endif + #endif // OBSERVER_H diff --git a/regamedll/dlls/pathcorner.cpp b/regamedll/dlls/pathcorner.cpp index 4043f5dc..23e298a1 100644 --- a/regamedll/dlls/pathcorner.cpp +++ b/regamedll/dlls/pathcorner.cpp @@ -24,7 +24,7 @@ TYPEDESCRIPTION CPathTrack::m_SaveData[] = LINK_ENTITY_TO_CLASS(path_corner, CPathCorner, CCSPathCorner) IMPLEMENT_SAVERESTORE(CPathCorner, CPointEntity) -void CPathCorner::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CPathCorner::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "wait")) { @@ -35,7 +35,7 @@ void CPathCorner::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CPointEntity::KeyValue(pkvd); } -void CPathCorner::__MAKE_VHOOK(Spawn)() +void CPathCorner::Spawn() { assert(("path_corner without a targetname", !FStringNull(pev->targetname))); } @@ -43,7 +43,7 @@ void CPathCorner::__MAKE_VHOOK(Spawn)() IMPLEMENT_SAVERESTORE(CPathTrack, CBaseEntity) LINK_ENTITY_TO_CLASS(path_track, CPathTrack, CCSPathTrack) -void CPathTrack::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CPathTrack::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "altpath")) { @@ -54,7 +54,7 @@ void CPathTrack::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CPointEntity::KeyValue(pkvd); } -void CPathTrack::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CPathTrack::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { int on; @@ -117,7 +117,7 @@ void CPathTrack::Link() } } -void CPathTrack::__MAKE_VHOOK(Spawn)() +void CPathTrack::Spawn() { pev->solid = SOLID_TRIGGER; UTIL_SetSize(pev, Vector(-8, -8, -8), Vector(8, 8, 8)); @@ -126,7 +126,7 @@ void CPathTrack::__MAKE_VHOOK(Spawn)() m_pprevious = NULL; } -void CPathTrack::__MAKE_VHOOK(Activate)() +void CPathTrack::Activate() { // Link to next, and back-link if (!FStringNull(pev->targetname)) diff --git a/regamedll/dlls/pathcorner.h b/regamedll/dlls/pathcorner.h index 069dc2cd..93217804 100644 --- a/regamedll/dlls/pathcorner.h +++ b/regamedll/dlls/pathcorner.h @@ -41,15 +41,6 @@ public: virtual int Restore(CRestore &restore); virtual float GetDelay() { return m_flWait; } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - -#endif - public: static TYPEDESCRIPTION IMPL(m_SaveData)[1]; diff --git a/regamedll/dlls/plats.cpp b/regamedll/dlls/plats.cpp index aa64eb96..0253ee43 100644 --- a/regamedll/dlls/plats.cpp +++ b/regamedll/dlls/plats.cpp @@ -63,7 +63,7 @@ TYPEDESCRIPTION CGunTarget::m_SaveData[] = IMPLEMENT_SAVERESTORE(CBasePlatTrain, CBaseToggle) -void CBasePlatTrain::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CBasePlatTrain::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "lip")) { @@ -107,7 +107,7 @@ void CBasePlatTrain::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) #define noiseMoving noise #define noiseArrived noise1 -void CBasePlatTrain::__MAKE_VHOOK(Precache)() +void CBasePlatTrain::Precache() { // set the plat's "in-motion" sound switch (m_bMoveSnd) @@ -292,7 +292,7 @@ void CFuncPlat::Setup() } } -void CFuncPlat::__MAKE_VHOOK(Precache)() +void CFuncPlat::Precache() { CBasePlatTrain::Precache(); @@ -303,7 +303,7 @@ void CFuncPlat::__MAKE_VHOOK(Precache)() } } -void CFuncPlat::__MAKE_VHOOK(Spawn)() +void CFuncPlat::Spawn() { Setup(); Precache(); @@ -359,7 +359,7 @@ void CPlatTrigger::SpawnInsideTrigger(CFuncPlat *pPlatform) UTIL_SetSize(pev, vecTMin, vecTMax); } -void CPlatTrigger::__MAKE_VHOOK(Touch)(CBaseEntity *pOther) +void CPlatTrigger::Touch(CBaseEntity *pOther) { // Ignore touches by non-players entvars_t *pevToucher = pOther->pev; @@ -418,7 +418,7 @@ void CFuncPlat::PlatUse(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE } // Platform is at top, now starts moving down. -void CFuncPlat::__MAKE_VHOOK(GoDown)() +void CFuncPlat::GoDown() { if (pev->noiseMovement) { @@ -432,7 +432,7 @@ void CFuncPlat::__MAKE_VHOOK(GoDown)() } // Platform has hit bottom. Stops and waits forever. -void CFuncPlat::__MAKE_VHOOK(HitBottom)() +void CFuncPlat::HitBottom() { if (pev->noiseMovement) { @@ -449,7 +449,7 @@ void CFuncPlat::__MAKE_VHOOK(HitBottom)() } // Platform is at bottom, now starts moving up -void CFuncPlat::__MAKE_VHOOK(GoUp)() +void CFuncPlat::GoUp() { if (pev->noiseMovement) { @@ -463,7 +463,7 @@ void CFuncPlat::__MAKE_VHOOK(GoUp)() } // Platform has hit top. Pauses, then starts back down again. -void CFuncPlat::__MAKE_VHOOK(HitTop)() +void CFuncPlat::HitTop() { if (pev->noiseMovement) { @@ -486,7 +486,7 @@ void CFuncPlat::__MAKE_VHOOK(HitTop)() } } -void CFuncPlat::__MAKE_VHOOK(Blocked)(CBaseEntity *pOther) +void CFuncPlat::Blocked(CBaseEntity *pOther) { ALERT(at_aiconsole, "%s Blocked by %s\n", STRING(pev->classname), STRING(pOther->pev->classname)); @@ -536,20 +536,20 @@ void CFuncPlatRot::SetupRotation() } } -void CFuncPlatRot::__MAKE_VHOOK(Spawn)() +void CFuncPlatRot::Spawn() { CFuncPlat::Spawn(); SetupRotation(); } -void CFuncPlatRot::__MAKE_VHOOK(GoDown)() +void CFuncPlatRot::GoDown() { CFuncPlat::GoDown(); RotMove(m_start, pev->nextthink - pev->ltime); } // Platform has hit bottom. Stops and waits forever. -void CFuncPlatRot::__MAKE_VHOOK(HitBottom)() +void CFuncPlatRot::HitBottom() { CFuncPlat::HitBottom(); pev->avelocity = g_vecZero; @@ -557,14 +557,14 @@ void CFuncPlatRot::__MAKE_VHOOK(HitBottom)() } // Platform is at bottom, now starts moving up -void CFuncPlatRot::__MAKE_VHOOK(GoUp)() +void CFuncPlatRot::GoUp() { CFuncPlat::GoUp(); RotMove(m_end, pev->nextthink - pev->ltime); } // Platform has hit top. Pauses, then starts back down again. -void CFuncPlatRot::__MAKE_VHOOK(HitTop)() +void CFuncPlatRot::HitTop() { CFuncPlat::HitTop(); pev->avelocity = g_vecZero; @@ -591,7 +591,7 @@ void CFuncPlatRot::RotMove(Vector &destAngle, float time) LINK_ENTITY_TO_CLASS(func_train, CFuncTrain, CCSFuncTrain) IMPLEMENT_SAVERESTORE(CFuncTrain, CBasePlatTrain) -void CFuncTrain::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CFuncTrain::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "sounds")) { @@ -602,7 +602,7 @@ void CFuncTrain::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CBasePlatTrain::KeyValue(pkvd); } -void CFuncTrain::__MAKE_VHOOK(Blocked)(CBaseEntity *pOther) +void CFuncTrain::Blocked(CBaseEntity *pOther) { if (gpGlobals->time < m_flActivateFinished) return; @@ -611,7 +611,7 @@ void CFuncTrain::__MAKE_VHOOK(Blocked)(CBaseEntity *pOther) pOther->TakeDamage(pev, pev, pev->dmg, DMG_CRUSH); } -void CFuncTrain::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CFuncTrain::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (pev->spawnflags & SF_TRAIN_WAIT_RETRIGGER) { @@ -765,7 +765,7 @@ void CFuncTrain::Next() } } -void CFuncTrain::__MAKE_VHOOK(Activate)() +void CFuncTrain::Activate() { // Not yet active, so teleport to first target if (!m_activated) @@ -803,7 +803,7 @@ void CFuncTrain::__MAKE_VHOOK(Activate)() // dmg default 2 // sounds // 1) ratchet metal -void CFuncTrain::__MAKE_VHOOK(Spawn)() +void CFuncTrain::Spawn() { Precache(); @@ -846,7 +846,7 @@ void CFuncTrain::__MAKE_VHOOK(Spawn)() m_volume = 0.85f; } -void CFuncTrain::__MAKE_VHOOK(Restart)() +void CFuncTrain::Restart() { if (pev->speed == 0) pev->speed = 100; @@ -888,12 +888,12 @@ void CFuncTrain::__MAKE_VHOOK(Restart)() #endif } -void CFuncTrain::__MAKE_VHOOK(Precache)() +void CFuncTrain::Precache() { CBasePlatTrain::Precache(); } -void CFuncTrain::__MAKE_VHOOK(OverrideReset)() +void CFuncTrain::OverrideReset() { CBaseEntity *pTarg; @@ -921,7 +921,7 @@ void CFuncTrain::__MAKE_VHOOK(OverrideReset)() IMPLEMENT_SAVERESTORE(CFuncTrackTrain, CBaseEntity) LINK_ENTITY_TO_CLASS(func_tracktrain, CFuncTrackTrain, CCSFuncTrackTrain) -void CFuncTrackTrain::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CFuncTrackTrain::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "wheels")) { @@ -970,7 +970,7 @@ void CFuncTrackTrain::NextThink(float thinkTime, BOOL alwaysThink) pev->nextthink = thinkTime; } -void CFuncTrackTrain::__MAKE_VHOOK(Blocked)(CBaseEntity *pOther) +void CFuncTrackTrain::Blocked(CBaseEntity *pOther) { entvars_t *pevOther = pOther->pev; @@ -1007,7 +1007,7 @@ void CFuncTrackTrain::__MAKE_VHOOK(Blocked)(CBaseEntity *pOther) #endif } -void CFuncTrackTrain::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CFuncTrackTrain::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (useType != USE_SET) { @@ -1356,7 +1356,7 @@ void CFuncTrackTrain::SetControls(entvars_t *pevControls) m_controlMaxs = pevControls->maxs + offset; } -BOOL CFuncTrackTrain::__MAKE_VHOOK(OnControls)(entvars_t *pevTest) +BOOL CFuncTrackTrain::OnControls(entvars_t *pevTest) { Vector offset = pevTest->origin - pev->origin; @@ -1474,7 +1474,7 @@ void CFuncTrackTrain::NearestPath() } } -void CFuncTrackTrain::__MAKE_VHOOK(OverrideReset)() +void CFuncTrackTrain::OverrideReset() { NextThink(pev->ltime + 0.1f, FALSE); SetThink(&CFuncTrackTrain::NearestPath); @@ -1490,7 +1490,7 @@ CFuncTrackTrain *CFuncTrackTrain::Instance(edict_t *pent) return NULL; } -void CFuncTrackTrain::__MAKE_VHOOK(Spawn)() +void CFuncTrackTrain::Spawn() { if (pev->speed == 0) m_speed = 165; @@ -1535,7 +1535,7 @@ void CFuncTrackTrain::__MAKE_VHOOK(Spawn)() Precache(); } -void CFuncTrackTrain::__MAKE_VHOOK(Restart)() +void CFuncTrackTrain::Restart() { ALERT(at_console, "M_speed = %f\n", m_speed); @@ -1555,7 +1555,7 @@ void CFuncTrackTrain::__MAKE_VHOOK(Restart)() SetThink(&CFuncTrackTrain::Find); } -void CFuncTrackTrain::__MAKE_VHOOK(Precache)() +void CFuncTrackTrain::Precache() { if (m_flVolume == 0.0f) m_flVolume = 1.0f; @@ -1603,7 +1603,7 @@ void CFuncTrainControls::Find() UTIL_Remove(this); } -void CFuncTrainControls::__MAKE_VHOOK(Spawn)() +void CFuncTrainControls::Spawn() { pev->solid = SOLID_NOT; pev->movetype = MOVETYPE_NONE; @@ -1616,7 +1616,7 @@ void CFuncTrainControls::__MAKE_VHOOK(Spawn)() pev->nextthink = gpGlobals->time; } -BOOL CFuncTrackChange::__MAKE_VHOOK(IsTogglePlat)() +BOOL CFuncTrackChange::IsTogglePlat() { return TRUE; } @@ -1624,7 +1624,7 @@ BOOL CFuncTrackChange::__MAKE_VHOOK(IsTogglePlat)() LINK_ENTITY_TO_CLASS(func_trackchange, CFuncTrackChange, CCSFuncTrackChange) IMPLEMENT_SAVERESTORE(CFuncTrackChange, CFuncPlatRot) -void CFuncTrackChange::__MAKE_VHOOK(Spawn)() +void CFuncTrackChange::Spawn() { Setup(); if (pev->spawnflags & SF_TRACK_DONT_MOVE) @@ -1655,7 +1655,7 @@ void CFuncTrackChange::__MAKE_VHOOK(Spawn)() Precache(); } -void CFuncTrackChange::__MAKE_VHOOK(Precache)() +void CFuncTrackChange::Precache() { // Can't trigger sound PRECACHE_SOUND("buttons/button11.wav"); @@ -1664,7 +1664,7 @@ void CFuncTrackChange::__MAKE_VHOOK(Precache)() } // UNDONE: Filter touches before re-evaluating the train. -void CFuncTrackChange::__MAKE_VHOOK(Touch)(CBaseEntity *pOther) +void CFuncTrackChange::Touch(CBaseEntity *pOther) { #if 0 TRAIN_CODE code; @@ -1672,7 +1672,7 @@ void CFuncTrackChange::__MAKE_VHOOK(Touch)(CBaseEntity *pOther) #endif } -void CFuncTrackChange::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CFuncTrackChange::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "train")) { @@ -1696,7 +1696,7 @@ void CFuncTrackChange::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) } } -void CFuncTrackChange::__MAKE_VHOOK(OverrideReset)() +void CFuncTrackChange::OverrideReset() { pev->nextthink = pev->ltime + 1.0f; SetThink(&CFuncTrackChange::Find); @@ -1804,7 +1804,7 @@ void CFuncTrackChange::UpdateTrain(Vector &dest) m_train->pev->velocity = pev->velocity + (local * (1.0 / time)); } -void CFuncTrackChange::__MAKE_VHOOK(GoDown)() +void CFuncTrackChange::GoDown() { if (m_code == TRAIN_BLOCKING) return; @@ -1837,7 +1837,7 @@ void CFuncTrackChange::__MAKE_VHOOK(GoDown)() } // Platform is at bottom, now starts moving up -void CFuncTrackChange::__MAKE_VHOOK(GoUp)() +void CFuncTrackChange::GoUp() { if (m_code == TRAIN_BLOCKING) return; @@ -1871,7 +1871,7 @@ void CFuncTrackChange::__MAKE_VHOOK(GoUp)() } // Normal track change -void CFuncTrackChange::__MAKE_VHOOK(UpdateAutoTargets)(int toggleState) +void CFuncTrackChange::UpdateAutoTargets(int toggleState) { if (!m_trackTop || !m_trackBottom) return; @@ -1887,7 +1887,7 @@ void CFuncTrackChange::__MAKE_VHOOK(UpdateAutoTargets)(int toggleState) m_trackBottom->pev->spawnflags |= SF_PATH_DISABLED; } -void CFuncTrackChange::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CFuncTrackChange::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (m_toggle_state != TS_AT_TOP && m_toggle_state != TS_AT_BOTTOM) return; @@ -1925,7 +1925,7 @@ void CFuncTrackChange::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *p } // Platform has hit bottom. Stops and waits forever. -void CFuncTrackChange::__MAKE_VHOOK(HitBottom)() +void CFuncTrackChange::HitBottom() { CFuncPlatRot::HitBottom(); if (m_code == TRAIN_FOLLOWING) @@ -1941,7 +1941,7 @@ void CFuncTrackChange::__MAKE_VHOOK(HitBottom)() } // Platform has hit bottom. Stops and waits forever. -void CFuncTrackChange::__MAKE_VHOOK(HitTop)() +void CFuncTrackChange::HitTop() { CFuncPlatRot::HitTop(); if (m_code == TRAIN_FOLLOWING) @@ -1961,7 +1961,7 @@ void CFuncTrackChange::__MAKE_VHOOK(HitTop)() LINK_ENTITY_TO_CLASS(func_trackautochange, CFuncTrackAuto, CCSFuncTrackAuto) // Auto track change -void CFuncTrackAuto::__MAKE_VHOOK(UpdateAutoTargets)(int toggleState) +void CFuncTrackAuto::UpdateAutoTargets(int toggleState) { CPathTrack *pTarget, *pNextTarget; @@ -1995,7 +1995,7 @@ void CFuncTrackAuto::__MAKE_VHOOK(UpdateAutoTargets)(int toggleState) } } -void CFuncTrackAuto::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CFuncTrackAuto::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { CPathTrack *pTarget; @@ -2052,7 +2052,7 @@ void CFuncTrackAuto::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCa LINK_ENTITY_TO_CLASS(func_guntarget, CGunTarget, CCSGunTarget) IMPLEMENT_SAVERESTORE(CGunTarget, CBaseMonster) -void CGunTarget::__MAKE_VHOOK(Spawn)() +void CGunTarget::Spawn() { pev->solid = SOLID_BSP; pev->movetype = MOVETYPE_PUSH; @@ -2079,7 +2079,7 @@ void CGunTarget::__MAKE_VHOOK(Spawn)() } } -void CGunTarget::__MAKE_VHOOK(Activate)() +void CGunTarget::Activate() { CBaseEntity *pTarg; @@ -2159,7 +2159,7 @@ void CGunTarget::Stop() pev->takedamage = DAMAGE_NO; } -BOOL CGunTarget::__MAKE_VHOOK(TakeDamage)(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) +BOOL CGunTarget::TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) { if (pev->health > 0) { @@ -2180,7 +2180,7 @@ BOOL CGunTarget::__MAKE_VHOOK(TakeDamage)(entvars_t *pevInflictor, entvars_t *pe return FALSE; } -void CGunTarget::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CGunTarget::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (!ShouldToggle(useType, m_on)) return; diff --git a/regamedll/dlls/plats.h b/regamedll/dlls/plats.h index 4b6e748a..e06b6c83 100644 --- a/regamedll/dlls/plats.h +++ b/regamedll/dlls/plats.h @@ -58,15 +58,6 @@ public: // This is done to fix spawn flag collisions between this class and a derived class virtual BOOL IsTogglePlat() { return (pev->spawnflags & SF_PLAT_TOGGLE) != 0; } -#ifdef HOOK_GAMEDLL - - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - -#endif - public: static TYPEDESCRIPTION IMPL(m_SaveData)[3]; @@ -86,18 +77,6 @@ public: virtual void HitTop(); virtual void HitBottom(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void Blocked_(CBaseEntity *pOther); - void GoUp_(); - void GoDown_(); - void HitTop_(); - void HitBottom_(); - -#endif - public: void Setup(); void EXPORT PlatUse(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); @@ -112,12 +91,6 @@ public: virtual int ObjectCaps() { return (CBaseEntity::ObjectCaps() & ~FCAP_ACROSS_TRANSITION) | FCAP_DONT_SAVE; } virtual void Touch(CBaseEntity *pOther); -#ifdef HOOK_GAMEDLL - - void Touch_(CBaseEntity *pOther); - -#endif - public: void SpawnInsideTrigger(CFuncPlat *pPlatform); @@ -136,18 +109,6 @@ public: virtual void HitTop(); virtual void HitBottom(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void GoUp_(); - void GoDown_(); - void HitTop_(); - void HitBottom_(); - -#endif - public: void SetupRotation(); void RotMove(Vector &destAngle, float time); @@ -173,21 +134,6 @@ public: virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); virtual void Blocked(CBaseEntity *pOther); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void Restart_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Activate_(); - void OverrideReset_(); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - void Blocked_(CBaseEntity *pOther); - -#endif - public: void EXPORT Wait(); void EXPORT Next(); @@ -208,12 +154,6 @@ public: virtual void Spawn(); virtual int ObjectCaps() { return CBaseEntity::ObjectCaps() & ~FCAP_ACROSS_TRANSITION; } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - public: void EXPORT Find(); }; @@ -238,25 +178,6 @@ public: virtual void HitBottom(); virtual void UpdateAutoTargets(int toggleState); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void OverrideReset_(); - void Touch_(CBaseEntity *pOther); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - BOOL IsTogglePlat_(); - void GoUp_(); - void GoDown_(); - void HitBottom_(); - void HitTop_(); - void UpdateAutoTargets_(int toggleState); - -#endif - public: void EXPORT Find(); TRAIN_CODE EvaluateTrain(CPathTrack *pcurrent); @@ -288,14 +209,6 @@ class CFuncTrackAuto: public CFuncTrackChange public: virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); virtual void UpdateAutoTargets(int toggleState); - -#ifdef HOOK_GAMEDLL - - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - void UpdateAutoTargets_(int toggleState); - -#endif - }; class CGunTarget: public CBaseMonster @@ -312,17 +225,6 @@ public: virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); virtual Vector BodyTarget(const Vector &posSrc) { return pev->origin; } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Activate_(); - BOOL TakeDamage_(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: void EXPORT Next(); void EXPORT Start(); diff --git a/regamedll/dlls/player.cpp b/regamedll/dlls/player.cpp index 6e88fe70..b926e40e 100644 --- a/regamedll/dlls/player.cpp +++ b/regamedll/dlls/player.cpp @@ -724,12 +724,12 @@ LINK_HOOK_CLASS_CHAIN(BOOL, CBasePlayer, TakeHealth, (float flHealth, int bitsDa // override takehealth // bitsDamageType indicates type of damage healed. -BOOL EXT_FUNC CBasePlayer::__API_VHOOK(TakeHealth)(float flHealth, int bitsDamageType) +BOOL EXT_FUNC CBasePlayer::__API_HOOK(TakeHealth)(float flHealth, int bitsDamageType) { return CBaseMonster::TakeHealth(flHealth, bitsDamageType); } -Vector CBasePlayer::__MAKE_VHOOK(GetGunPosition)() +Vector CBasePlayer::GetGunPosition() { return pev->origin + pev->view_ofs; } @@ -750,7 +750,7 @@ bool CBasePlayer::IsHittingShield(Vector &vecDirection, TraceResult *ptr) LINK_HOOK_CLASS_VOID_CHAIN(CBasePlayer, TraceAttack, (entvars_t *pevAttacker, float flDamage, Vector vecDir, TraceResult *ptr, int bitsDamageType), pevAttacker, flDamage, vecDir, ptr, bitsDamageType) -void EXT_FUNC CBasePlayer::__API_VHOOK(TraceAttack)(entvars_t *pevAttacker, float flDamage, VectorRef vecDir, TraceResult *ptr, int bitsDamageType) +void EXT_FUNC CBasePlayer::__API_HOOK(TraceAttack)(entvars_t *pevAttacker, float flDamage, VectorRef vecDir, TraceResult *ptr, int bitsDamageType) { bool bShouldBleed = true; bool bShouldSpark = false; @@ -981,7 +981,7 @@ LINK_HOOK_CLASS_CHAIN(BOOL, CBasePlayer, TakeDamage, (entvars_t *pevInflictor, e // NOTE: each call to TakeDamage with bitsDamageType set to a time-based damage // type will cause the damage time countdown to be reset. Thus the ongoing effects of poison, radiation // etc are implemented with subsequent calls to TakeDamage using DMG_GENERIC. -BOOL EXT_FUNC CBasePlayer::__API_VHOOK(TakeDamage)(entvars_t *pevInflictor, entvars_t *pevAttacker, FloatRef flDamage, int bitsDamageType) +BOOL EXT_FUNC CBasePlayer::__API_HOOK(TakeDamage)(entvars_t *pevInflictor, entvars_t *pevAttacker, FloatRef flDamage, int bitsDamageType) { BOOL bTookDamage; float flRatio = ARMOR_RATIO; @@ -2010,7 +2010,7 @@ void CBasePlayer::SendFOV(int fov) LINK_HOOK_CLASS_VOID_CHAIN(CBasePlayer, Killed, (entvars_t *pevAttacker, int iGib), pevAttacker, iGib) -void EXT_FUNC CBasePlayer::__API_VHOOK(Killed)(entvars_t *pevAttacker, int iGib) +void EXT_FUNC CBasePlayer::__API_HOOK(Killed)(entvars_t *pevAttacker, int iGib) { m_canSwitchObserverModes = false; @@ -3047,7 +3047,7 @@ NOXREF void CBasePlayer::ThrowWeapon(char *pszItemName) LINK_ENTITY_TO_CLASS(weapon_shield, CWShield, CCSShield) -void CWShield::__MAKE_VHOOK(Spawn)() +void CWShield::Spawn() { pev->movetype = MOVETYPE_TOSS; pev->solid = SOLID_TRIGGER; @@ -3056,7 +3056,7 @@ void CWShield::__MAKE_VHOOK(Spawn)() SET_MODEL(ENT(pev), "models/w_shield.mdl"); } -void CWShield::__MAKE_VHOOK(Touch)(CBaseEntity *pOther) +void CWShield::Touch(CBaseEntity *pOther) { if (!pOther->IsPlayer()) return; @@ -3697,7 +3697,7 @@ void CBasePlayer::PlayerDeathThink() LINK_HOOK_CLASS_VOID_CHAIN2(CBasePlayer, RoundRespawn) -void EXT_FUNC CBasePlayer::__API_VHOOK(RoundRespawn)() +void EXT_FUNC CBasePlayer::__API_HOOK(RoundRespawn)() { m_canSwitchObserverModes = true; @@ -4049,7 +4049,7 @@ void CBasePlayer::HostageUsed() LINK_HOOK_CLASS_VOID_CHAIN2(CBasePlayer, Jump) -void EXT_FUNC CBasePlayer::__API_VHOOK(Jump)() +void EXT_FUNC CBasePlayer::__API_HOOK(Jump)() { if (pev->flags & FL_WATERJUMP) return; @@ -4121,7 +4121,7 @@ NOXREF void FixPlayerCrouchStuck(edict_t *pPlayer) LINK_HOOK_CLASS_VOID_CHAIN2(CBasePlayer, Duck) -void EXT_FUNC CBasePlayer::__API_VHOOK(Duck)() +void EXT_FUNC CBasePlayer::__API_HOOK(Duck)() { if (pev->button & IN_DUCK) SetAnimation(PLAYER_WALK); @@ -4129,7 +4129,7 @@ void EXT_FUNC CBasePlayer::__API_VHOOK(Duck)() LINK_HOOK_CLASS_CHAIN2(int, CBasePlayer, ObjectCaps) -int EXT_FUNC CBasePlayer::__API_VHOOK(ObjectCaps)() +int EXT_FUNC CBasePlayer::__API_HOOK(ObjectCaps)() { return (CBaseMonster::ObjectCaps() & ~FCAP_ACROSS_TRANSITION); } @@ -4137,14 +4137,14 @@ int EXT_FUNC CBasePlayer::__API_VHOOK(ObjectCaps)() LINK_HOOK_CLASS_CHAIN2(int, CBasePlayer, Classify) // ID's player as such. -int EXT_FUNC CBasePlayer::__API_VHOOK(Classify)() +int EXT_FUNC CBasePlayer::__API_HOOK(Classify)() { return CLASS_PLAYER; } LINK_HOOK_CLASS_VOID_CHAIN(CBasePlayer, AddPoints, (int score, BOOL bAllowNegativeScore), score, bAllowNegativeScore) -void EXT_FUNC CBasePlayer::__API_VHOOK(AddPoints)(int score, BOOL bAllowNegativeScore) +void EXT_FUNC CBasePlayer::__API_HOOK(AddPoints)(int score, BOOL bAllowNegativeScore) { // Positive score always adds if (score < 0 && !bAllowNegativeScore) @@ -4177,7 +4177,7 @@ void EXT_FUNC CBasePlayer::__API_VHOOK(AddPoints)(int score, BOOL bAllowNegative LINK_HOOK_CLASS_VOID_CHAIN(CBasePlayer, AddPointsToTeam, (int score, BOOL bAllowNegativeScore), score, bAllowNegativeScore) -void EXT_FUNC CBasePlayer::__API_VHOOK(AddPointsToTeam)(int score, BOOL bAllowNegativeScore) +void EXT_FUNC CBasePlayer::__API_HOOK(AddPointsToTeam)(int score, BOOL bAllowNegativeScore) { int index = entindex(); for (int i = 1; i <= gpGlobals->maxClients; ++i) @@ -4270,7 +4270,7 @@ bool CBasePlayer::CanPlayerBuy(bool display) LINK_HOOK_CLASS_VOID_CHAIN2(CBasePlayer, PreThink) -void EXT_FUNC CBasePlayer::__API_VHOOK(PreThink)() +void EXT_FUNC CBasePlayer::__API_HOOK(PreThink)() { // These buttons have changed this frame int buttonsChanged = (m_afButtonLast ^ pev->button); @@ -4851,7 +4851,7 @@ void CBasePlayer::UpdatePlayerSound() LINK_HOOK_CLASS_VOID_CHAIN2(CBasePlayer, PostThink) -void EXT_FUNC CBasePlayer::__API_VHOOK(PostThink)() +void EXT_FUNC CBasePlayer::__API_HOOK(PostThink)() { // intermission or finale if (g_pGameRules->IsGameOver()) @@ -5208,7 +5208,7 @@ void CBasePlayer::SetScoreAttrib(CBasePlayer *dest) LINK_HOOK_CLASS_VOID_CHAIN2(CBasePlayer, Spawn) -void EXT_FUNC CBasePlayer::__API_VHOOK(Spawn)() +void EXT_FUNC CBasePlayer::__API_HOOK(Spawn)() { int i; @@ -5565,7 +5565,7 @@ void EXT_FUNC CBasePlayer::__API_VHOOK(Spawn)() LINK_HOOK_CLASS_VOID_CHAIN2(CBasePlayer, Precache) -void EXT_FUNC CBasePlayer::__API_VHOOK(Precache)() +void EXT_FUNC CBasePlayer::__API_HOOK(Precache)() { #ifndef REGAMEDLL_FIXES // in the event that the player JUST spawned, and the level node graph @@ -5607,7 +5607,7 @@ void EXT_FUNC CBasePlayer::__API_VHOOK(Precache)() m_fInitHUD = TRUE; } -int CBasePlayer::__MAKE_VHOOK(Save)(CSave &save) +int CBasePlayer::Save(CSave &save) { if (!CBaseMonster::Save(save)) return 0; @@ -5638,7 +5638,7 @@ NOXREF void CBasePlayer::RenewItems() ; } -int CBasePlayer::__MAKE_VHOOK(Restore)(CRestore &restore) +int CBasePlayer::Restore(CRestore &restore) { if (!CBaseMonster::Restore(restore)) return 0; @@ -5866,7 +5866,7 @@ NOXREF void CBasePlayer::SelectPrevItem(int iItem) ; } -const char *CBasePlayer::__MAKE_VHOOK(TeamID)() +const char *CBasePlayer::TeamID() { // Not fully connected yet if (!pev) @@ -5891,7 +5891,7 @@ void CSprayCan::Spawn(entvars_t *pevOwner) EMIT_SOUND(ENT(pev), CHAN_VOICE, "player/sprayer.wav", VOL_NORM, ATTN_NORM); } -void CSprayCan::__MAKE_VHOOK(Think)() +void CSprayCan::Think() { TraceResult tr; int playernum; @@ -6082,7 +6082,7 @@ void CBasePlayer::ForceClientDllUpdate() LINK_HOOK_CLASS_VOID_CHAIN2(CBasePlayer, ImpulseCommands) -void EXT_FUNC CBasePlayer::__API_VHOOK(ImpulseCommands)() +void EXT_FUNC CBasePlayer::__API_HOOK(ImpulseCommands)() { TraceResult tr; @@ -6395,11 +6395,11 @@ void CBasePlayer::HandleSignals() { if (CSGameRules()->IsMultiplayer()) { - + #ifdef REGAMEDLL_ADD if (buytime.value != 0.0f) #endif - { + { if (!CSGameRules()->m_bMapHasBuyZone) OLD_CheckBuyZone(this); } @@ -6456,7 +6456,7 @@ void CBasePlayer::HandleSignals() LINK_HOOK_CLASS_CHAIN(BOOL, CBasePlayer, AddPlayerItem, (CBasePlayerItem *pItem), pItem) // Add a weapon to the player (Item == Weapon == Selectable Object) -BOOL EXT_FUNC CBasePlayer::__API_VHOOK(AddPlayerItem)(CBasePlayerItem *pItem) +BOOL EXT_FUNC CBasePlayer::__API_HOOK(AddPlayerItem)(CBasePlayerItem *pItem) { CBasePlayerItem *pInsert = m_rgpPlayerItems[ pItem->iItemSlot() ]; while (pInsert) @@ -6523,7 +6523,7 @@ BOOL EXT_FUNC CBasePlayer::__API_VHOOK(AddPlayerItem)(CBasePlayerItem *pItem) LINK_HOOK_CLASS_CHAIN(BOOL, CBasePlayer, RemovePlayerItem, (CBasePlayerItem *pItem), pItem) -BOOL EXT_FUNC CBasePlayer::__API_VHOOK(RemovePlayerItem)(CBasePlayerItem *pItem) +BOOL EXT_FUNC CBasePlayer::__API_HOOK(RemovePlayerItem)(CBasePlayerItem *pItem) { if (m_pActiveItem == pItem) { @@ -6561,7 +6561,7 @@ BOOL EXT_FUNC CBasePlayer::__API_VHOOK(RemovePlayerItem)(CBasePlayerItem *pItem) LINK_HOOK_CLASS_CHAIN(int, CBasePlayer, GiveAmmo, (int iCount, char *szName, int iMax), iCount, szName, iMax) // Returns the unique ID for the ammo, or -1 if error -int EXT_FUNC CBasePlayer::__API_VHOOK(GiveAmmo)(int iCount, char *szName, int iMax) +int EXT_FUNC CBasePlayer::__API_HOOK(GiveAmmo)(int iCount, char *szName, int iMax) { if (pev->flags & FL_SPECTATOR) return -1; @@ -6781,7 +6781,7 @@ LINK_HOOK_CLASS_VOID_CHAIN2(CBasePlayer, UpdateClientData) // Also called at start of demo recording and playback by // ForceClientDllUpdate to ensure the demo gets messages // reflecting all of the HUD state info. -void EXT_FUNC CBasePlayer::__API_VHOOK(UpdateClientData)() +void EXT_FUNC CBasePlayer::__API_HOOK(UpdateClientData)() { if (m_fInitHUD) { @@ -7138,7 +7138,7 @@ void EXT_FUNC CBasePlayer::__API_VHOOK(UpdateClientData)() } } -BOOL CBasePlayer::__MAKE_VHOOK(FBecomeProne)() +BOOL CBasePlayer::FBecomeProne() { m_afPhysicsFlags |= PFLAG_ONBARNACLE; return TRUE; @@ -7155,7 +7155,7 @@ NOXREF void CBasePlayer::BarnacleVictimReleased() } // return player light level plus virtual muzzle flash -int CBasePlayer::__MAKE_VHOOK(Illumination)() +int CBasePlayer::Illumination() { int iIllum = CBaseEntity::Illumination(); @@ -7177,7 +7177,7 @@ void CBasePlayer::EnableControl(BOOL fControl) LINK_HOOK_CLASS_VOID_CHAIN2(CBasePlayer, ResetMaxSpeed) -void EXT_FUNC CBasePlayer::__API_VHOOK(ResetMaxSpeed)() +void EXT_FUNC CBasePlayer::__API_HOOK(ResetMaxSpeed)() { float speed; @@ -7221,7 +7221,7 @@ bool CBasePlayer::HintMessage(const char *pMessage, BOOL bDisplayIfPlayerDead, B return true; } -Vector CBasePlayer::__MAKE_VHOOK(GetAutoaimVector)(float flDelta) +Vector CBasePlayer::GetAutoaimVector(float flDelta) { Vector vecSrc; BOOL m_fOldTargeting; @@ -7320,7 +7320,7 @@ int CBasePlayer::GetCustomDecalFrames() LINK_HOOK_CLASS_VOID_CHAIN(CBasePlayer, Blind, (float duration, float holdTime, float fadeTime, int alpha), duration, holdTime, fadeTime, alpha) -void EXT_FUNC CBasePlayer::__API_VHOOK(Blind)(float duration, float holdTime, float fadeTime, int alpha) +void EXT_FUNC CBasePlayer::__API_HOOK(Blind)(float duration, float holdTime, float fadeTime, int alpha) { m_blindUntilTime = gpGlobals->time + duration; m_blindStartTime = gpGlobals->time; @@ -7873,12 +7873,12 @@ void CBasePlayer::TabulateAmmo() ammo_357sig = AmmoInventory(GetAmmoIndex("357SIG")); } -int CDeadHEV::__MAKE_VHOOK(Classify)() +int CDeadHEV::Classify() { return CLASS_HUMAN_MILITARY; } -void CDeadHEV::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CDeadHEV::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "pose")) { @@ -7891,7 +7891,7 @@ void CDeadHEV::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) LINK_ENTITY_TO_CLASS(monster_hevsuit_dead, CDeadHEV, CCSDeadHEV) -void CDeadHEV::__MAKE_VHOOK(Spawn)() +void CDeadHEV::Spawn() { PRECACHE_MODEL("models/player.mdl"); SET_MODEL(ENT(pev), "models/player.mdl"); @@ -7919,7 +7919,7 @@ void CDeadHEV::__MAKE_VHOOK(Spawn)() LINK_ENTITY_TO_CLASS(player_weaponstrip, CStripWeapons, CCSStripWeapons) -void CStripWeapons::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CStripWeapons::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { CBasePlayer *pPlayer = NULL; @@ -7941,7 +7941,7 @@ void CStripWeapons::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCal LINK_ENTITY_TO_CLASS(player_loadsaved, CRevertSaved, CCSRevertSaved) IMPLEMENT_SAVERESTORE(CRevertSaved, CPointEntity) -void CRevertSaved::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CRevertSaved::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "duration")) { @@ -7967,7 +7967,7 @@ void CRevertSaved::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CPointEntity::KeyValue(pkvd); } -void CRevertSaved::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CRevertSaved::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { UTIL_ScreenFadeAll(pev->rendercolor, Duration(), HoldTime(), int(pev->renderamt), FFADE_OUT); pev->nextthink = gpGlobals->time + MessageTime(); @@ -7994,7 +7994,7 @@ void CRevertSaved::LoadThink() SERVER_COMMAND("reload\n"); } -void CInfoIntermission::__MAKE_VHOOK(Spawn)() +void CInfoIntermission::Spawn() { UTIL_SetOrigin(pev, pev->origin); @@ -8004,7 +8004,7 @@ void CInfoIntermission::__MAKE_VHOOK(Spawn)() pev->nextthink = gpGlobals->time + 2.0f; // let targets spawn! } -void CInfoIntermission::__MAKE_VHOOK(Think)() +void CInfoIntermission::Think() { // find my target edict_t *pTarget = FIND_ENTITY_BY_TARGETNAME(NULL, STRING(pev->target)); diff --git a/regamedll/dlls/player.h b/regamedll/dlls/player.h index 6032c665..c1e2916b 100644 --- a/regamedll/dlls/player.h +++ b/regamedll/dlls/player.h @@ -284,13 +284,6 @@ class CCSPlayer; class CStripWeapons: public CPointEntity { public: virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#ifdef HOOK_GAMEDLL - - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - }; // Multiplayer intermission spots. @@ -298,14 +291,6 @@ class CInfoIntermission: public CPointEntity { public: virtual void Spawn(); virtual void Think(); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Think_(); - -#endif - }; // Dead HEV suit prop @@ -315,14 +300,6 @@ public: virtual void KeyValue(KeyValueData *pkvd); virtual int Classify(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - int Classify_(); - -#endif - public: int m_iPose; // which sequence to display -- temporary, don't need to save static char *m_szPoses[4]; @@ -333,12 +310,6 @@ public: virtual void Think(); virtual int ObjectCaps() { return FCAP_DONT_SAVE; } -#ifdef HOOK_GAMEDLL - - void Think_(); - -#endif - public: void Spawn(entvars_t *pevOwner); }; @@ -397,37 +368,50 @@ public: virtual void Blind(float flUntilTime, float flHoldTime, float flFadeTime, int iAlpha); virtual void OnTouchingWeapon(CWeaponBox *pWeapon) { } -#if defined(REGAMEDLL_API) || defined(HOOK_GAMEDLL) - void Spawn_(); - void Precache_(); - int ObjectCaps_(); - int Classify_(); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void TraceAttack_(entvars_t *pevAttacker, float flDamage, VectorRef vecDir, TraceResult *ptr, int bitsDamageType); - BOOL TakeDamage_(entvars_t *pevInflictor, entvars_t *pevAttacker, FloatRef flDamage, int bitsDamageType); - BOOL TakeHealth_(float flHealth, int bitsDamageType); - void Killed_(entvars_t *pevAttacker, int iGib); - void AddPoints_(int score, BOOL bAllowNegativeScore); - void AddPointsToTeam_(int score, BOOL bAllowNegativeScore); - BOOL AddPlayerItem_(CBasePlayerItem *pItem); - BOOL RemovePlayerItem_(CBasePlayerItem *pItem); - int GiveAmmo_(int iAmount, char *szName, int iMax); - void ResetMaxSpeed_(); - void Jump_(); - void Duck_(); - void PreThink_(); - void PostThink_(); - void UpdateClientData_(); - void ImpulseCommands_(); - void RoundRespawn_(); - void Blind_(float flUntilTime, float flHoldTime, float flFadeTime, int iAlpha); - const char *TeamID_(); - BOOL FBecomeProne_(); - int Illumination_(); - Vector GetGunPosition_(); - Vector GetAutoaimVector_(float flDelta); -#endif +#ifdef REGAMEDLL_API + void Spawn_OrigFunc(); + void Precache_OrigFunc(); + int ObjectCaps_OrigFunc(); + int Classify_OrigFunc(); + void TraceAttack_OrigFunc(entvars_t *pevAttacker, float flDamage, VectorRef vecDir, TraceResult *ptr, int bitsDamageType); + BOOL TakeDamage_OrigFunc(entvars_t *pevInflictor, entvars_t *pevAttacker, FloatRef flDamage, int bitsDamageType); + BOOL TakeHealth_OrigFunc(float flHealth, int bitsDamageType); + void Killed_OrigFunc(entvars_t *pevAttacker, int iGib); + void AddPoints_OrigFunc(int score, BOOL bAllowNegativeScore); + void AddPointsToTeam_OrigFunc(int score, BOOL bAllowNegativeScore); + BOOL AddPlayerItem_OrigFunc(CBasePlayerItem *pItem); + BOOL RemovePlayerItem_OrigFunc(CBasePlayerItem *pItem); + int GiveAmmo_OrigFunc(int iAmount, char *szName, int iMax); + void ResetMaxSpeed_OrigFunc(); + void Jump_OrigFunc(); + void Duck_OrigFunc(); + void PreThink_OrigFunc(); + void PostThink_OrigFunc(); + void UpdateClientData_OrigFunc(); + void ImpulseCommands_OrigFunc(); + void RoundRespawn_OrigFunc(); + void Blind_OrigFunc(float flUntilTime, float flHoldTime, float flFadeTime, int iAlpha); + CBasePlayer *Observer_IsValidTarget_OrigFunc(int iPlayerIndex, bool bSameTeam); + void Radio_OrigFunc(const char *msg_id, const char *msg_verbose = NULL, short pitch = 100, bool showIcon = true); + void AddAccount_OrigFunc(int amount, RewardType type = RT_NONE, bool bTrackChange = true); + void Disappear_OrigFunc(); + void MakeVIP_OrigFunc(); + void GiveDefaultItems_OrigFunc(); + bool SetClientUserInfoName_OrigFunc(char *infobuffer, char *szNewName); + void SetAnimation_OrigFunc(PLAYER_ANIM playerAnim); + void StartObserver_OrigFunc(Vector &vecPosition, Vector &vecViewAngle); + void DropPlayerItem_OrigFunc(const char *pszItemName); + CBaseEntity *GiveNamedItem_OrigFunc(const char *pszName); + void DropShield_OrigFunc(bool bDeploy = true); + void GiveShield_OrigFunc(bool bDeploy = true); + bool HasRestrictItem_OrigFunc(ItemID item, ItemRestType type); + void OnSpawnEquip_OrigFunc(bool addDefault = true, bool equipGame = true); + bool MakeBomber_OrigFunc(); + bool GetIntoGame_OrigFunc(); + void StartDeathCam_OrigFunc(); + + CCSPlayer *CSPlayer() const; +#endif // REGAMEDLL_API public: static CBasePlayer *Instance(edict_t *pent) { return (CBasePlayer *)GET_PRIVATE(pent ? pent : ENT(0)); } @@ -437,8 +421,6 @@ public: void SpawnClientSideCorpse(); void Observer_FindNextPlayer(bool bReverse, const char *name = NULL); CBasePlayer *Observer_IsValidTarget(int iPlayerIndex, bool bSameTeam); - CBasePlayer *Observer_IsValidTarget_(int iPlayerIndex, bool bSameTeam); - void Disconnect(); void Observer_Think(); void Observer_HandleButtons(); @@ -448,17 +430,13 @@ public: int IsObserver() { return pev->iuser1; } void PlantC4(); void Radio(const char *msg_id, const char *msg_verbose = NULL, short pitch = 100, bool showIcon = true); - void Radio_(const char *msg_id, const char *msg_verbose = NULL, short pitch = 100, bool showIcon = true); CBasePlayer *GetNextRadioRecipient(CBasePlayer *pStartPlayer); void SmartRadio(); void ThrowWeapon(char *pszItemName); void ThrowPrimary(); void AddAccount(int amount, RewardType type = RT_NONE, bool bTrackChange = true); - void AddAccount_(int amount, RewardType type = RT_NONE, bool bTrackChange = true); void Disappear(); - void Disappear_(); void MakeVIP(); - void MakeVIP_(); bool CanPlayerBuy(bool display = false); void SwitchTeam(); void TabulateAmmo(); @@ -470,14 +448,12 @@ public: void RenewItems(); void PackDeadPlayerItems(); void GiveDefaultItems(); - void GiveDefaultItems_(); void RemoveAllItems(BOOL removeSuit); void SetBombIcon(BOOL bFlash = FALSE); void SetProgressBarTime(int time); void SetProgressBarTime2(int time, float timeElapsed); void SetPlayerModel(BOOL HasC4); bool SetClientUserInfoName(char *infobuffer, char *szNewName); - bool SetClientUserInfoName_(char *infobuffer, char *szNewName); void SetClientUserInfoModel(char *infobuffer, char *szNewModel); void SetClientUserInfoModel_api(char *infobuffer, char *szNewModel); void SetNewPlayerModel(const char *modelName); @@ -501,16 +477,12 @@ public: void UpdatePlayerSound(); void DeathSound(); void SetAnimation(PLAYER_ANIM playerAnim); - void SetAnimation_(PLAYER_ANIM playerAnim); void SetWeaponAnimType(const char *szExtention) { Q_strcpy(m_szAnimExtention, szExtention); } void CheatImpulseCommands(int iImpulse); void StartDeathCam(); - void StartDeathCam_(); void StartObserver(Vector &vecPosition, Vector &vecViewAngle); - void StartObserver_(Vector &vecPosition, Vector &vecViewAngle); void HandleSignals(); void DropPlayerItem(const char *pszItemName); - void DropPlayerItem_(const char *pszItemName); bool HasPlayerItem(CBasePlayerItem *pCheckItem); bool HasNamedPlayerItem(const char *pszItemName); bool HasWeapons(); @@ -521,7 +493,6 @@ public: void ItemPreFrame(); void ItemPostFrame(); CBaseEntity *GiveNamedItem(const char *pszName); - CBaseEntity *GiveNamedItem_(const char *pszName); CBaseEntity *GiveNamedItemEx(const char *pszName); void EnableControl(BOOL fControl); bool HintMessage(const char *pMessage, BOOL bDisplayIfPlayerDead = FALSE, BOOL bOverride = FALSE); @@ -570,9 +541,7 @@ public: bool IsProtectedByShield() { return HasShield() && m_bShieldDrawn; } void RemoveShield(); void DropShield(bool bDeploy = true); - void DropShield_(bool bDeploy = true); void GiveShield(bool bDeploy = true); - void GiveShield_(bool bDeploy = true); bool IsHittingShield(Vector &vecDirection, TraceResult *ptr); bool SelectSpawnSpot(const char *pEntClassName, CBaseEntity* &pSpot); bool IsReloading() const; @@ -616,28 +585,17 @@ public: void ReloadWeapons(CBasePlayerItem *pWeapon = nullptr, bool bForceReload = false, bool bForceRefill = false); void TeamChangeUpdate(); bool HasRestrictItem(ItemID item, ItemRestType type); - bool HasRestrictItem_(ItemID item, ItemRestType type); void DropSecondary(); void DropPrimary(); - void OnSpawnEquip(bool addDefault = true, bool equipGame = true); - void OnSpawnEquip_(bool addDefault = true, bool equipGame = true); - void RemoveBomb(); void HideTimer(); bool MakeBomber(); - bool MakeBomber_(); - bool GetIntoGame(); - bool GetIntoGame_(); CBasePlayerItem *GetItemByName(const char *itemName); CBasePlayerItem *GetItemById(WeaponIdType weaponID); -#ifdef REGAMEDLL_API - CCSPlayer *CSPlayer() const; -#endif - // templates template CBasePlayerItem *ForEachItem(int slot, const Functor &func) @@ -871,13 +829,6 @@ public: virtual void Spawn(); virtual void EXPORT Touch(CBaseEntity *pOther); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Touch_(CBaseEntity *pOther); - -#endif - public: void SetCantBePickedUpByUser(CBaseEntity *pEntity, float time) { diff --git a/regamedll/dlls/revert_saved.h b/regamedll/dlls/revert_saved.h index 4a5854d8..3c41a1f1 100644 --- a/regamedll/dlls/revert_saved.h +++ b/regamedll/dlls/revert_saved.h @@ -40,15 +40,6 @@ public: virtual int Restore(CRestore &restore); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: void EXPORT MessageThink(); void EXPORT LoadThink(); diff --git a/regamedll/dlls/saverestore.h b/regamedll/dlls/saverestore.h index 6421d4fc..a6612bd7 100644 --- a/regamedll/dlls/saverestore.h +++ b/regamedll/dlls/saverestore.h @@ -42,16 +42,16 @@ #define IMPL_CLASS(baseClass,var)\ baseClass::var -#endif +#endif // HOOK_GAMEDLL #define IMPLEMENT_SAVERESTORE(derivedClass, baseClass)\ - int derivedClass::__MAKE_VHOOK(Save)(CSave &save)\ + int derivedClass::Save(CSave &save)\ {\ if (!baseClass::Save(save))\ return 0;\ return save.WriteFields(#derivedClass, this, IMPL(m_SaveData), ARRAYSIZE(IMPL(m_SaveData)));\ }\ - int derivedClass::__MAKE_VHOOK(Restore)(CRestore &restore)\ + int derivedClass::Restore(CRestore &restore)\ {\ if (!baseClass::Restore(restore))\ return 0;\ @@ -126,12 +126,8 @@ public: void WriteFunction(const char *pname, void **data, int count); int WriteEntVars(const char *pname, entvars_t *pev); int WriteFields(const char *pname, void *pBaseData, TYPEDESCRIPTION *pFields, int fieldCount); + private: - -#ifdef HOOK_GAMEDLL -public: -#endif - int DataEmpty(const char *pdata, int size); void BufferField(const char *pname, int size, const char *pdata); void BufferString(char *pdata, int len); diff --git a/regamedll/dlls/singleplay_gamerules.cpp b/regamedll/dlls/singleplay_gamerules.cpp index cdc2bffd..7652029f 100644 --- a/regamedll/dlls/singleplay_gamerules.cpp +++ b/regamedll/dlls/singleplay_gamerules.cpp @@ -6,27 +6,27 @@ CHalfLifeRules::CHalfLifeRules() RefreshSkillData(); } -void CHalfLifeRules::__MAKE_VHOOK(Think)() +void CHalfLifeRules::Think() { ; } -BOOL CHalfLifeRules::__MAKE_VHOOK(IsMultiplayer)() +BOOL CHalfLifeRules::IsMultiplayer() { return FALSE; } -BOOL CHalfLifeRules::__MAKE_VHOOK(IsDeathmatch)() +BOOL CHalfLifeRules::IsDeathmatch() { return FALSE; } -BOOL CHalfLifeRules::__MAKE_VHOOK(IsCoOp)() +BOOL CHalfLifeRules::IsCoOp() { return FALSE; } -BOOL CHalfLifeRules::__MAKE_VHOOK(FShouldSwitchWeapon)(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon) +BOOL CHalfLifeRules::FShouldSwitchWeapon(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon) { if (!pPlayer->m_pActiveItem) { @@ -42,27 +42,27 @@ BOOL CHalfLifeRules::__MAKE_VHOOK(FShouldSwitchWeapon)(CBasePlayer *pPlayer, CBa return TRUE; } -BOOL CHalfLifeRules::__MAKE_VHOOK(GetNextBestWeapon)(CBasePlayer *pPlayer, CBasePlayerItem *pCurrentWeapon) +BOOL CHalfLifeRules::GetNextBestWeapon(CBasePlayer *pPlayer, CBasePlayerItem *pCurrentWeapon) { return FALSE; } -BOOL CHalfLifeRules::__MAKE_VHOOK(ClientConnected)(edict_t *pEntity, const char *pszName, const char *pszAddress, char *szRejectReason) +BOOL CHalfLifeRules::ClientConnected(edict_t *pEntity, const char *pszName, const char *pszAddress, char *szRejectReason) { return TRUE; } -void CHalfLifeRules::__MAKE_VHOOK(InitHUD)(CBasePlayer *pl) +void CHalfLifeRules::InitHUD(CBasePlayer *pl) { ; } -void CHalfLifeRules::__MAKE_VHOOK(ClientDisconnected)(edict_t *pClient) +void CHalfLifeRules::ClientDisconnected(edict_t *pClient) { ; } -float CHalfLifeRules::__MAKE_VHOOK(FlPlayerFallDamage)(CBasePlayer *pPlayer) +float CHalfLifeRules::FlPlayerFallDamage(CBasePlayer *pPlayer) { // subtract off the speed at which a player is allowed to fall without being hurt, // so damage will be based on speed beyond that, not the entire fall @@ -70,7 +70,7 @@ float CHalfLifeRules::__MAKE_VHOOK(FlPlayerFallDamage)(CBasePlayer *pPlayer) return pPlayer->m_flFallVelocity * DAMAGE_FOR_FALL_SPEED; } -void CHalfLifeRules::__MAKE_VHOOK(PlayerSpawn)(CBasePlayer *pPlayer) +void CHalfLifeRules::PlayerSpawn(CBasePlayer *pPlayer) { pPlayer->pev->weapons |= (1 << WEAPON_SUIT); @@ -83,62 +83,62 @@ void CHalfLifeRules::__MAKE_VHOOK(PlayerSpawn)(CBasePlayer *pPlayer) pPlayer->GiveAmmo(24, "45acp"); } -BOOL CHalfLifeRules::__MAKE_VHOOK(AllowAutoTargetCrosshair)() +BOOL CHalfLifeRules::AllowAutoTargetCrosshair() { return (g_iSkillLevel == SKILL_EASY); } -void CHalfLifeRules::__MAKE_VHOOK(PlayerThink)(CBasePlayer *pPlayer) +void CHalfLifeRules::PlayerThink(CBasePlayer *pPlayer) { ; } -BOOL CHalfLifeRules::__MAKE_VHOOK(FPlayerCanRespawn)(CBasePlayer *pPlayer) +BOOL CHalfLifeRules::FPlayerCanRespawn(CBasePlayer *pPlayer) { return TRUE; } -float CHalfLifeRules::__MAKE_VHOOK(FlPlayerSpawnTime)(CBasePlayer *pPlayer) +float CHalfLifeRules::FlPlayerSpawnTime(CBasePlayer *pPlayer) { return gpGlobals->time; } -int CHalfLifeRules::__MAKE_VHOOK(IPointsForKill)(CBasePlayer *pAttacker, CBasePlayer *pKilled) +int CHalfLifeRules::IPointsForKill(CBasePlayer *pAttacker, CBasePlayer *pKilled) { return 1; } -void CHalfLifeRules::__MAKE_VHOOK(PlayerKilled)(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor) +void CHalfLifeRules::PlayerKilled(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor) { ; } -void CHalfLifeRules::__MAKE_VHOOK(DeathNotice)(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor) +void CHalfLifeRules::DeathNotice(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor) { ; } -void CHalfLifeRules::__MAKE_VHOOK(PlayerGotWeapon)(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon) +void CHalfLifeRules::PlayerGotWeapon(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon) { ; } -float CHalfLifeRules::__MAKE_VHOOK(FlWeaponRespawnTime)(CBasePlayerItem *pWeapon) +float CHalfLifeRules::FlWeaponRespawnTime(CBasePlayerItem *pWeapon) { return -1; } -float CHalfLifeRules::__MAKE_VHOOK(FlWeaponTryRespawn)(CBasePlayerItem *pWeapon) +float CHalfLifeRules::FlWeaponTryRespawn(CBasePlayerItem *pWeapon) { return 0; } -Vector CHalfLifeRules::__MAKE_VHOOK(VecWeaponRespawnSpot)(CBasePlayerItem *pWeapon) +Vector CHalfLifeRules::VecWeaponRespawnSpot(CBasePlayerItem *pWeapon) { return pWeapon->pev->origin; } -edict_t *CHalfLifeRules::__MAKE_VHOOK(GetPlayerSpawnSpot)(CBasePlayer *pPlayer) +edict_t *CHalfLifeRules::GetPlayerSpawnSpot(CBasePlayer *pPlayer) { CBaseEntity *pSpot = UTIL_FindEntityByClassname(NULL, "info_player_start"); @@ -158,83 +158,83 @@ edict_t *CHalfLifeRules::__MAKE_VHOOK(GetPlayerSpawnSpot)(CBasePlayer *pPlayer) return pSpot->edict(); } -int CHalfLifeRules::__MAKE_VHOOK(WeaponShouldRespawn)(CBasePlayerItem *pWeapon) +int CHalfLifeRules::WeaponShouldRespawn(CBasePlayerItem *pWeapon) { return GR_WEAPON_RESPAWN_NO; } -BOOL CHalfLifeRules::__MAKE_VHOOK(CanHaveItem)(CBasePlayer *pPlayer, CItem *pItem) +BOOL CHalfLifeRules::CanHaveItem(CBasePlayer *pPlayer, CItem *pItem) { return TRUE; } -void CHalfLifeRules::__MAKE_VHOOK(PlayerGotItem)(CBasePlayer *pPlayer, CItem *pItem) +void CHalfLifeRules::PlayerGotItem(CBasePlayer *pPlayer, CItem *pItem) { ; } -int CHalfLifeRules::__MAKE_VHOOK(ItemShouldRespawn)(CItem *pItem) +int CHalfLifeRules::ItemShouldRespawn(CItem *pItem) { return GR_ITEM_RESPAWN_NO; } -float CHalfLifeRules::__MAKE_VHOOK(FlItemRespawnTime)(CItem *pItem) +float CHalfLifeRules::FlItemRespawnTime(CItem *pItem) { return -1; } -Vector CHalfLifeRules::__MAKE_VHOOK(VecItemRespawnSpot)(CItem *pItem) +Vector CHalfLifeRules::VecItemRespawnSpot(CItem *pItem) { return pItem->pev->origin; } -BOOL CHalfLifeRules::__MAKE_VHOOK(IsAllowedToSpawn)(CBaseEntity *pEntity) +BOOL CHalfLifeRules::IsAllowedToSpawn(CBaseEntity *pEntity) { return TRUE; } -void CHalfLifeRules::__MAKE_VHOOK(PlayerGotAmmo)(CBasePlayer *pPlayer, char *szName, int iCount) +void CHalfLifeRules::PlayerGotAmmo(CBasePlayer *pPlayer, char *szName, int iCount) { ; } -int CHalfLifeRules::__MAKE_VHOOK(AmmoShouldRespawn)(CBasePlayerAmmo *pAmmo) +int CHalfLifeRules::AmmoShouldRespawn(CBasePlayerAmmo *pAmmo) { return GR_AMMO_RESPAWN_NO; } -float CHalfLifeRules::__MAKE_VHOOK(FlAmmoRespawnTime)(CBasePlayerAmmo *pAmmo) +float CHalfLifeRules::FlAmmoRespawnTime(CBasePlayerAmmo *pAmmo) { return -1; } -Vector CHalfLifeRules::__MAKE_VHOOK(VecAmmoRespawnSpot)(CBasePlayerAmmo *pAmmo) +Vector CHalfLifeRules::VecAmmoRespawnSpot(CBasePlayerAmmo *pAmmo) { return pAmmo->pev->origin; } -float CHalfLifeRules::__MAKE_VHOOK(FlHealthChargerRechargeTime)() +float CHalfLifeRules::FlHealthChargerRechargeTime() { return 0; } -int CHalfLifeRules::__MAKE_VHOOK(DeadPlayerWeapons)(CBasePlayer *pPlayer) +int CHalfLifeRules::DeadPlayerWeapons(CBasePlayer *pPlayer) { return GR_PLR_DROP_GUN_NO; } -int CHalfLifeRules::__MAKE_VHOOK(DeadPlayerAmmo)(CBasePlayer *pPlayer) +int CHalfLifeRules::DeadPlayerAmmo(CBasePlayer *pPlayer) { return GR_PLR_DROP_AMMO_NO; } -int CHalfLifeRules::__MAKE_VHOOK(PlayerRelationship)(CBasePlayer *pPlayer, CBaseEntity *pTarget) +int CHalfLifeRules::PlayerRelationship(CBasePlayer *pPlayer, CBaseEntity *pTarget) { // why would a single player in half life need this? return GR_NOTTEAMMATE; } -BOOL CHalfLifeRules::__MAKE_VHOOK(FAllowMonsters)() +BOOL CHalfLifeRules::FAllowMonsters() { return TRUE; } diff --git a/regamedll/dlls/sound.cpp b/regamedll/dlls/sound.cpp index 1653032b..8a984f21 100644 --- a/regamedll/dlls/sound.cpp +++ b/regamedll/dlls/sound.cpp @@ -87,7 +87,7 @@ IMPLEMENT_SAVERESTORE(CAmbientGeneric, CBaseEntity) // 200 : "Small Radius" // 125 : "Medium Radius" // 80 : "Large Radius" -void CAmbientGeneric::__MAKE_VHOOK(Spawn)() +void CAmbientGeneric::Spawn() { if (pev->spawnflags & AMBIENT_SOUND_EVERYWHERE) { @@ -144,7 +144,7 @@ void CAmbientGeneric::__MAKE_VHOOK(Spawn)() Precache(); } -void CAmbientGeneric::__MAKE_VHOOK(Restart)() +void CAmbientGeneric::Restart() { if (pev->spawnflags & AMBIENT_SOUND_EVERYWHERE) { @@ -210,7 +210,7 @@ void CAmbientGeneric::__MAKE_VHOOK(Restart)() } } -void CAmbientGeneric::__MAKE_VHOOK(Precache)() +void CAmbientGeneric::Precache() { char *szSoundFile = (char *)STRING(pev->message); @@ -658,7 +658,7 @@ void CAmbientGeneric::ToggleUse(CBaseEntity *pActivator, CBaseEntity *pCaller, U // KeyValue - load keyvalue pairs into member data of the // ambient generic. NOTE: called BEFORE spawn! -void CAmbientGeneric::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CAmbientGeneric::KeyValue(KeyValueData *pkvd) { // NOTE: changing any of the modifiers in this code // NOTE: also requires changing InitModulationParms code. @@ -857,7 +857,7 @@ void CAmbientGeneric::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) LINK_ENTITY_TO_CLASS(env_sound, CEnvSound, CCSEnvSound) IMPLEMENT_SAVERESTORE(CEnvSound, CBaseEntity) -void CEnvSound::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CEnvSound::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "radius")) { @@ -913,7 +913,7 @@ BOOL FEnvSoundInRange(entvars_t *pev, entvars_t *pevTarget, float *pflRange) // a new in-range, visible sound entity resets a new room_type. // // CONSIDER: if player in water state, autoset roomtype to 14,15 or 16. -void CEnvSound::__MAKE_VHOOK(Think)() +void CEnvSound::Think() { // get pointer to client if visible; FIND_CLIENT_IN_PVS will // cycle through visible clients on consecutive calls. @@ -1006,7 +1006,7 @@ void CEnvSound::__MAKE_VHOOK(Think)() // env_sound - spawn a sound entity that will set player roomtype // when player moves in range and sight. -void CEnvSound::__MAKE_VHOOK(Spawn)() +void CEnvSound::Spawn() { // spread think times pev->nextthink = gpGlobals->time + RANDOM_FLOAT(0.0, 0.5); @@ -1819,7 +1819,7 @@ LINK_ENTITY_TO_CLASS(speaker, CSpeaker, CCSSpeaker) IMPLEMENT_SAVERESTORE(CSpeaker, CBaseEntity) // ambient_generic - general-purpose user-defined static sound -void CSpeaker::__MAKE_VHOOK(Spawn)() +void CSpeaker::Spawn() { char *szSoundFile = (char *)STRING(pev->message); @@ -1843,7 +1843,7 @@ void CSpeaker::__MAKE_VHOOK(Spawn)() Precache(); } -void CSpeaker::__MAKE_VHOOK(Precache)() +void CSpeaker::Precache() { if (!(pev->spawnflags & SPEAKER_START_SILENT)) { @@ -1970,7 +1970,7 @@ void CSpeaker::ToggleUse(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE // KeyValue - load keyvalue pairs into member data // NOTE: called BEFORE spawn! -void CSpeaker::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CSpeaker::KeyValue(KeyValueData *pkvd) { // preset if (FStrEq(pkvd->szKeyName, "preset")) diff --git a/regamedll/dlls/sound.h b/regamedll/dlls/sound.h index 8ccf0f28..aa2b5883 100644 --- a/regamedll/dlls/sound.h +++ b/regamedll/dlls/sound.h @@ -116,17 +116,6 @@ public: virtual int Restore(CRestore &restore); virtual int ObjectCaps() { return (CBaseEntity::ObjectCaps() & ~FCAP_ACROSS_TRANSITION); } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void Restart_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - -#endif - public: void EXPORT ToggleUse(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); void EXPORT RampThink(); @@ -150,16 +139,6 @@ public: virtual int Restore(CRestore &restore); virtual void Think(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Think_(); - -#endif - public: static TYPEDESCRIPTION IMPL(m_SaveData)[2]; @@ -177,16 +156,6 @@ public: virtual int Restore(CRestore &restore); virtual int ObjectCaps() { return (CBaseEntity::ObjectCaps() & ~FCAP_ACROSS_TRANSITION); } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - -#endif - public: void EXPORT ToggleUse(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); void EXPORT SpeakerThink(); diff --git a/regamedll/dlls/soundent.cpp b/regamedll/dlls/soundent.cpp index ea2d37fc..c580102b 100644 --- a/regamedll/dlls/soundent.cpp +++ b/regamedll/dlls/soundent.cpp @@ -54,7 +54,7 @@ NOXREF BOOL CSound::FIsScent() return FALSE; } -void CSoundEnt::__MAKE_VHOOK(Spawn)() +void CSoundEnt::Spawn() { pev->solid = SOLID_NOT; Initialize(); @@ -65,7 +65,7 @@ void CSoundEnt::__MAKE_VHOOK(Spawn)() // Think - at interval, the entire active sound list is checked // for sounds that have ExpireTimes less than or equal // to the current world time, and these sounds are deallocated. -void CSoundEnt::__MAKE_VHOOK(Think)() +void CSoundEnt::Think() { int iSound; int iPreviousSound; @@ -102,7 +102,7 @@ void CSoundEnt::__MAKE_VHOOK(Think)() } // Precache - dummy function -void CSoundEnt::__MAKE_VHOOK(Precache)() +void CSoundEnt::Precache() { ; } diff --git a/regamedll/dlls/soundent.h b/regamedll/dlls/soundent.h index 101caa7b..95bb2a99 100644 --- a/regamedll/dlls/soundent.h +++ b/regamedll/dlls/soundent.h @@ -84,14 +84,6 @@ public: virtual int ObjectCaps() { return FCAP_DONT_SAVE; } virtual void Think(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void Think_(); - -#endif - public: void Initialize(); diff --git a/regamedll/dlls/spectator.cpp b/regamedll/dlls/spectator.cpp index 0bcffdfe..bd66205b 100644 --- a/regamedll/dlls/spectator.cpp +++ b/regamedll/dlls/spectator.cpp @@ -89,7 +89,7 @@ void CBaseSpectator::SpectatorThink() } } -void CBaseSpectator::__MAKE_VHOOK(Spawn)() +void CBaseSpectator::Spawn() { pev->flags = FL_SPECTATOR; pev->solid = SOLID_NOT; diff --git a/regamedll/dlls/spectator.h b/regamedll/dlls/spectator.h index 2b4148e2..c56e4151 100644 --- a/regamedll/dlls/spectator.h +++ b/regamedll/dlls/spectator.h @@ -42,12 +42,6 @@ public: void SpectatorDisconnect(); void SpectatorThink(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - private: void SpectatorImpulseCommand(); }; diff --git a/regamedll/dlls/subs.cpp b/regamedll/dlls/subs.cpp index 5be66087..77d32f17 100644 --- a/regamedll/dlls/subs.cpp +++ b/regamedll/dlls/subs.cpp @@ -39,13 +39,13 @@ TYPEDESCRIPTION CBaseToggle::m_SaveData[] = #endif // Landmark class -void CPointEntity::__MAKE_VHOOK(Spawn)() +void CPointEntity::Spawn() { pev->solid = SOLID_NOT; } // Null Entity, remove on startup -void CNullEntity::__MAKE_VHOOK(Spawn)() +void CNullEntity::Spawn() { REMOVE_ENTITY(ENT(pev)); } @@ -60,7 +60,7 @@ LINK_ENTITY_TO_CLASS(info_landmark, CPointEntity, CCSPointEntity) LINK_ENTITY_TO_CLASS(info_hostage_rescue, CPointEntity, CCSPointEntity) LINK_ENTITY_TO_CLASS(info_bomb_target, CPointEntity, CCSPointEntity) -void CBaseDMStart::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CBaseDMStart::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "master")) { @@ -71,7 +71,7 @@ void CBaseDMStart::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CPointEntity::KeyValue(pkvd); } -BOOL CBaseDMStart::__MAKE_VHOOK(IsTriggered)(CBaseEntity *pEntity) +BOOL CBaseDMStart::IsTriggered(CBaseEntity *pEntity) { BOOL master = UTIL_IsMasterTriggered(pev->netname, pEntity); @@ -125,7 +125,7 @@ void CBaseEntity::SUB_DoNothing() IMPLEMENT_SAVERESTORE(CBaseDelay, CBaseEntity) -void CBaseDelay::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CBaseDelay::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "delay")) { @@ -289,7 +289,7 @@ void CBaseDelay::DelayThink() IMPLEMENT_SAVERESTORE(CBaseToggle, CBaseAnimating) -void CBaseToggle::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CBaseToggle::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "lip")) { diff --git a/regamedll/dlls/subs.h b/regamedll/dlls/subs.h index 9ce5173b..4c44bcf8 100644 --- a/regamedll/dlls/subs.h +++ b/regamedll/dlls/subs.h @@ -36,13 +36,6 @@ class CNullEntity: public CBaseEntity { public: virtual void Spawn(); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - }; class CBaseDMStart: public CPointEntity @@ -50,14 +43,6 @@ class CBaseDMStart: public CPointEntity public: virtual void KeyValue(KeyValueData *pkvd); virtual BOOL IsTriggered(CBaseEntity *pEntity); - -#ifdef HOOK_GAMEDLL - - void KeyValue_(KeyValueData *pkvd); - BOOL IsTriggered_(CBaseEntity *pEntity); - -#endif - }; void FireTargets(const char *targetName, CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); diff --git a/regamedll/dlls/training_gamerules.cpp b/regamedll/dlls/training_gamerules.cpp index 138c80e0..91b7ade5 100644 --- a/regamedll/dlls/training_gamerules.cpp +++ b/regamedll/dlls/training_gamerules.cpp @@ -31,12 +31,12 @@ CHalfLifeTraining::CHalfLifeTraining() PRECACHE_MODEL("models/w_weaponbox.mdl"); } -BOOL CHalfLifeTraining::__MAKE_VHOOK(IsDeathmatch)() +BOOL CHalfLifeTraining::IsDeathmatch() { return FALSE; } -void CHalfLifeTraining::__MAKE_VHOOK(InitHUD)(CBasePlayer *pl) +void CHalfLifeTraining::InitHUD(CBasePlayer *pl) { ; } @@ -51,7 +51,7 @@ void CHalfLifeTraining::HostageDied() } } -edict_t *CHalfLifeTraining::__MAKE_VHOOK(GetPlayerSpawnSpot)(CBasePlayer *pPlayer) +edict_t *CHalfLifeTraining::GetPlayerSpawnSpot(CBasePlayer *pPlayer) { CBaseEntity *pSpot = UTIL_FindEntityByClassname(NULL, "info_player_start"); @@ -71,7 +71,7 @@ edict_t *CHalfLifeTraining::__MAKE_VHOOK(GetPlayerSpawnSpot)(CBasePlayer *pPlaye return pSpot->edict(); } -void CHalfLifeTraining::__MAKE_VHOOK(PlayerThink)(CBasePlayer *pPlayer) +void CHalfLifeTraining::PlayerThink(CBasePlayer *pPlayer) { if (pPlayer->pev->radsuit_finished && gpGlobals->time > pPlayer->pev->radsuit_finished) { @@ -200,7 +200,7 @@ void CHalfLifeTraining::__MAKE_VHOOK(PlayerThink)(CBasePlayer *pPlayer) } } -void CHalfLifeTraining::__MAKE_VHOOK(PlayerSpawn)(CBasePlayer *pPlayer) +void CHalfLifeTraining::PlayerSpawn(CBasePlayer *pPlayer) { if (pPlayer->m_bNotKilled) return; @@ -230,12 +230,12 @@ void CHalfLifeTraining::__MAKE_VHOOK(PlayerSpawn)(CBasePlayer *pPlayer) pPlayer->m_iHideHUD |= (HIDEHUD_WEAPONS | HIDEHUD_HEALTH | HIDEHUD_TIMER | HIDEHUD_MONEY); } -int CHalfLifeTraining::__MAKE_VHOOK(ItemShouldRespawn)(CItem *pItem) +int CHalfLifeTraining::ItemShouldRespawn(CItem *pItem) { return GR_ITEM_RESPAWN_NO; } -BOOL CHalfLifeTraining::__MAKE_VHOOK(FPlayerCanRespawn)(CBasePlayer *pPlayer) +BOOL CHalfLifeTraining::FPlayerCanRespawn(CBasePlayer *pPlayer) { return TRUE; } @@ -245,13 +245,13 @@ bool CHalfLifeTraining::PlayerCanBuy(CBasePlayer *pPlayer) return (pPlayer->m_signals.GetState() & SIGNAL_BUY) != 0; } -void CHalfLifeTraining::__MAKE_VHOOK(PlayerKilled)(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor) +void CHalfLifeTraining::PlayerKilled(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor) { SET_VIEW(pVictim->edict(), pVictim->edict()); FireTargets("game_playerdie", pVictim, pVictim, USE_TOGGLE, 0); } -void CHalfLifeTraining::__MAKE_VHOOK(CheckWinConditions)() +void CHalfLifeTraining::CheckWinConditions() { if (m_bBombDefused) { @@ -313,7 +313,7 @@ void CHalfLifeTraining::__MAKE_VHOOK(CheckWinConditions)() IMPLEMENT_SAVERESTORE(CBaseGrenCatch, CBaseEntity) LINK_ENTITY_TO_CLASS(func_grencatch, CBaseGrenCatch, CCSGrenCatch) -void CBaseGrenCatch::__MAKE_VHOOK(Spawn)() +void CBaseGrenCatch::Spawn() { pev->solid = SOLID_TRIGGER; pev->flags |= FL_WORLDBRUSH; @@ -323,7 +323,7 @@ void CBaseGrenCatch::__MAKE_VHOOK(Spawn)() pev->nextthink = gpGlobals->time + 0.1f; } -void CBaseGrenCatch::__MAKE_VHOOK(Touch)(CBaseEntity *pOther) +void CBaseGrenCatch::Touch(CBaseEntity *pOther) { if (!pOther) { @@ -336,7 +336,7 @@ void CBaseGrenCatch::__MAKE_VHOOK(Touch)(CBaseEntity *pOther) } } -void CBaseGrenCatch::__MAKE_VHOOK(Think)() +void CBaseGrenCatch::Think() { CGrenade *pGrenade; bool m_fSmokeTouchingLastFrame; @@ -400,7 +400,7 @@ void CBaseGrenCatch::__MAKE_VHOOK(Think)() pev->nextthink = gpGlobals->time + 0.1f; } -void CBaseGrenCatch::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CBaseGrenCatch::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "triggerongrenade")) { @@ -429,7 +429,7 @@ void CBaseGrenCatch::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CBaseEntity::KeyValue(pkvd); } -void CFuncWeaponCheck::__MAKE_VHOOK(Spawn)() +void CFuncWeaponCheck::Spawn() { pev->dmgtime = 0; pev->solid = SOLID_TRIGGER; @@ -442,7 +442,7 @@ void CFuncWeaponCheck::__MAKE_VHOOK(Spawn)() IMPLEMENT_SAVERESTORE(CFuncWeaponCheck, CBaseEntity) LINK_ENTITY_TO_CLASS(func_weaponcheck, CFuncWeaponCheck, CCSFuncWeaponCheck) -void CFuncWeaponCheck::__MAKE_VHOOK(Touch)(CBaseEntity *pOther) +void CFuncWeaponCheck::Touch(CBaseEntity *pOther) { if (!UTIL_IsMasterTriggered(sMaster, pOther)) return; @@ -488,7 +488,7 @@ void CFuncWeaponCheck::__MAKE_VHOOK(Touch)(CBaseEntity *pOther) SUB_Remove(); } -void CFuncWeaponCheck::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CFuncWeaponCheck::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "trigger_items")) { diff --git a/regamedll/dlls/training_gamerules.h b/regamedll/dlls/training_gamerules.h index 3f41013d..735f2b2c 100644 --- a/regamedll/dlls/training_gamerules.h +++ b/regamedll/dlls/training_gamerules.h @@ -50,20 +50,6 @@ public: virtual void CheckMapConditions() {}; virtual void CheckWinConditions(); -#ifdef HOOK_GAMEDLL - - BOOL IsDeathmatch_(); - void InitHUD_(CBasePlayer *pl); - void PlayerSpawn_(CBasePlayer *pPlayer); - void PlayerThink_(CBasePlayer *pPlayer); - BOOL FPlayerCanRespawn_(CBasePlayer *pPlayer); - edict_t *GetPlayerSpawnSpot_(CBasePlayer *pPlayer); - void PlayerKilled_(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor); - int ItemShouldRespawn_(CItem *pItem); - void CheckWinConditions_(); - -#endif - public: static void HostageDied(); static bool PlayerCanBuy(CBasePlayer *pPlayer); @@ -86,17 +72,6 @@ public: virtual void Think(); virtual void Touch(CBaseEntity *pOther); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Think_(); - void Touch_(CBaseEntity *pOther); - -#endif - public: static TYPEDESCRIPTION IMPL(m_SaveData)[5]; @@ -116,16 +91,6 @@ public: virtual int Restore(CRestore &restore); virtual void Touch(CBaseEntity *pOther); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Touch_(CBaseEntity *pOther); - -#endif - public: static TYPEDESCRIPTION IMPL(m_SaveData)[6]; diff --git a/regamedll/dlls/trains.h b/regamedll/dlls/trains.h index 2ca13b63..c06d7b23 100644 --- a/regamedll/dlls/trains.h +++ b/regamedll/dlls/trains.h @@ -60,17 +60,6 @@ public: virtual void Activate(); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData* pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Activate_(); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - void SetPrevious(CPathTrack *pprevious); void Link(); @@ -111,21 +100,6 @@ public: virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); virtual void Blocked(CBaseEntity *pOther); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void Restart_(); - void KeyValue_(KeyValueData* pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void OverrideReset_(); - BOOL OnControls_(entvars_t *pev); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - void Blocked_(CBaseEntity *pOther); - -#endif - public: void EXPORT Next(); void EXPORT Find(); @@ -178,22 +152,6 @@ public: virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); virtual void Blocked(CBaseEntity *pOther); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void Restart_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - int Classify_(); - void OverrideReset_(); - BOOL OnControls_(entvars_t *pev); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - void Blocked_(CBaseEntity *pOther); - -#endif - public: void EXPORT Next(); void EXPORT Find(); diff --git a/regamedll/dlls/triggers.cpp b/regamedll/dlls/triggers.cpp index 709f2f94..9a8901e5 100644 --- a/regamedll/dlls/triggers.cpp +++ b/regamedll/dlls/triggers.cpp @@ -71,7 +71,7 @@ char st_szNextSpot[cchMapNameMost]; LINK_ENTITY_TO_CLASS(func_friction, CFrictionModifier, CCSFrictionModifier) IMPLEMENT_SAVERESTORE(CFrictionModifier, CBaseEntity) -void CFrictionModifier::__MAKE_VHOOK(Spawn)() +void CFrictionModifier::Spawn() { pev->solid = SOLID_TRIGGER; @@ -92,7 +92,7 @@ void CFrictionModifier::ChangeFriction(CBaseEntity *pOther) } // Sets toucher's friction to m_frictionFraction (1.0 = normal friction) -void CFrictionModifier::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CFrictionModifier::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "modifier")) { @@ -106,7 +106,7 @@ void CFrictionModifier::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) LINK_ENTITY_TO_CLASS(trigger_auto, CAutoTrigger, CCSAutoTrigger) IMPLEMENT_SAVERESTORE(CAutoTrigger, CBaseDelay) -void CAutoTrigger::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CAutoTrigger::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "globalstate")) { @@ -134,17 +134,17 @@ void CAutoTrigger::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CBaseDelay::KeyValue(pkvd); } -void CAutoTrigger::__MAKE_VHOOK(Spawn)() +void CAutoTrigger::Spawn() { Precache(); } -void CAutoTrigger::__MAKE_VHOOK(Precache)() +void CAutoTrigger::Precache() { pev->nextthink = gpGlobals->time + 0.1f; } -void CAutoTrigger::__MAKE_VHOOK(Think)() +void CAutoTrigger::Think() { if (!m_globalstate || gGlobalState.EntityGetState(m_globalstate) == GLOBAL_ON) { @@ -174,7 +174,7 @@ void CAutoTrigger::Restart() LINK_ENTITY_TO_CLASS(trigger_relay, CTriggerRelay, CCSTriggerRelay) IMPLEMENT_SAVERESTORE(CTriggerRelay, CBaseDelay) -void CTriggerRelay::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CTriggerRelay::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "triggerstate")) { @@ -197,12 +197,12 @@ void CTriggerRelay::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CBaseDelay::KeyValue(pkvd); } -void CTriggerRelay::__MAKE_VHOOK(Spawn)() +void CTriggerRelay::Spawn() { ; } -void CTriggerRelay::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CTriggerRelay::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { SUB_UseTargets(this, triggerType, 0); if (pev->spawnflags & SF_RELAY_FIREONCE) @@ -214,7 +214,7 @@ void CTriggerRelay::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCal LINK_ENTITY_TO_CLASS(multi_manager, CMultiManager, CCSMultiManager) IMPLEMENT_SAVERESTORE(CMultiManager, CBaseToggle) -void CMultiManager::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CMultiManager::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "wait")) { @@ -238,7 +238,7 @@ void CMultiManager::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) } } -void CMultiManager::__MAKE_VHOOK(Spawn)() +void CMultiManager::Spawn() { pev->solid = SOLID_NOT; SetUse(&CMultiManager::ManagerUse); @@ -269,7 +269,7 @@ void CMultiManager::__MAKE_VHOOK(Spawn)() } } -void CMultiManager::__MAKE_VHOOK(Restart)() +void CMultiManager::Restart() { #ifndef REGAMEDLL_FIXES edict_t *pentTarget = NULL; @@ -307,7 +307,7 @@ void CMultiManager::__MAKE_VHOOK(Restart)() m_index = 0; } -BOOL CMultiManager::__MAKE_VHOOK(HasTarget)(string_t targetname) +BOOL CMultiManager::HasTarget(string_t targetname) { for (int i = 0; i < m_cTargets; ++i) { @@ -398,12 +398,12 @@ void CMultiManager::ManagerUse(CBaseEntity *pActivator, CBaseEntity *pCaller, US LINK_ENTITY_TO_CLASS(env_render, CRenderFxManager, CCSRenderFxManager) -void CRenderFxManager::__MAKE_VHOOK(Spawn)() +void CRenderFxManager::Spawn() { pev->solid = SOLID_NOT; } -void CRenderFxManager::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CRenderFxManager::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (!FStringNull(pev->target)) { @@ -454,7 +454,7 @@ void CBaseTrigger::InitTrigger() } // Cache user-entity-field values until spawn is called. -void CBaseTrigger::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CBaseTrigger::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "damage")) { @@ -477,7 +477,7 @@ void CBaseTrigger::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) LINK_ENTITY_TO_CLASS(trigger_monsterjump, CTriggerMonsterJump, CCSTriggerMonsterJump) -void CTriggerMonsterJump::__MAKE_VHOOK(Spawn)() +void CTriggerMonsterJump::Spawn() { SetMovedir(pev); @@ -498,7 +498,7 @@ void CTriggerMonsterJump::__MAKE_VHOOK(Spawn)() } } -void CTriggerMonsterJump::__MAKE_VHOOK(Think)() +void CTriggerMonsterJump::Think() { // kill the trigger for now UNDONE pev->solid = SOLID_NOT; @@ -508,7 +508,7 @@ void CTriggerMonsterJump::__MAKE_VHOOK(Think)() SetThink(NULL); } -void CTriggerMonsterJump::__MAKE_VHOOK(Touch)(CBaseEntity *pOther) +void CTriggerMonsterJump::Touch(CBaseEntity *pOther) { entvars_t *pevOther = pOther->pev; @@ -536,7 +536,7 @@ LINK_ENTITY_TO_CLASS(trigger_cdaudio, CTriggerCDAudio, CCSTriggerCDAudio) // Changes tracks or stops CD when player touches // HACK: overloaded HEALTH to avoid adding new field -void CTriggerCDAudio::__MAKE_VHOOK(Touch)(CBaseEntity *pOther) +void CTriggerCDAudio::Touch(CBaseEntity *pOther) { // only clients may trigger these events if (!pOther->IsPlayer()) @@ -547,12 +547,12 @@ void CTriggerCDAudio::__MAKE_VHOOK(Touch)(CBaseEntity *pOther) PlayTrack(pOther->edict()); } -void CTriggerCDAudio::__MAKE_VHOOK(Spawn)() +void CTriggerCDAudio::Spawn() { InitTrigger(); } -void CTriggerCDAudio::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CTriggerCDAudio::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { PlayTrack(pCaller->edict()); } @@ -634,7 +634,7 @@ void CTriggerCDAudio::PlayTrack(edict_t *pEdict) LINK_ENTITY_TO_CLASS(target_cdaudio, CTargetCDAudio, CCSTargetCDAudio) -void CTargetCDAudio::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CTargetCDAudio::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "radius")) { @@ -645,7 +645,7 @@ void CTargetCDAudio::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CPointEntity::KeyValue(pkvd); } -void CTargetCDAudio::__MAKE_VHOOK(Spawn)() +void CTargetCDAudio::Spawn() { pev->solid = SOLID_NOT; pev->movetype = MOVETYPE_NONE; @@ -656,13 +656,13 @@ void CTargetCDAudio::__MAKE_VHOOK(Spawn)() } } -void CTargetCDAudio::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CTargetCDAudio::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Play(pCaller->edict()); } // only plays for ONE client, so only use in single play! -void CTargetCDAudio::__MAKE_VHOOK(Think)() +void CTargetCDAudio::Think() { // manually find the single player. edict_t *pClient = INDEXENT(1); @@ -687,7 +687,7 @@ void CTargetCDAudio::Play(edict_t *pEdict) LINK_ENTITY_TO_CLASS(trigger_hurt, CTriggerHurt, CCSTriggerHurt) -void CTriggerHurt::__MAKE_VHOOK(Spawn)() +void CTriggerHurt::Spawn() { InitTrigger(); SetTouch(&CTriggerHurt::HurtTouch); @@ -926,7 +926,7 @@ void CBaseTrigger::HurtTouch(CBaseEntity *pOther) LINK_ENTITY_TO_CLASS(trigger_multiple, CTriggerMultiple, CCSTriggerMultiple) -void CTriggerMultiple::__MAKE_VHOOK(Spawn)() +void CTriggerMultiple::Spawn() { if (m_flWait == 0.0f) m_flWait = 0.2f; @@ -960,7 +960,7 @@ void CTriggerMultiple::__MAKE_VHOOK(Spawn)() LINK_ENTITY_TO_CLASS(trigger_once, CTriggerOnce, CCSTriggerOnce) -void CTriggerOnce::__MAKE_VHOOK(Spawn)() +void CTriggerOnce::Spawn() { #ifdef REGAMEDLL_FIXES m_flWait = -2; @@ -1098,7 +1098,7 @@ void CBaseTrigger::CounterUse(CBaseEntity *pActivator, CBaseEntity *pCaller, USE LINK_ENTITY_TO_CLASS(trigger_counter, CTriggerCounter, CCSTriggerCounter) -void CTriggerCounter::__MAKE_VHOOK(Spawn)() +void CTriggerCounter::Spawn() { // By making the flWait be -1, this counter-trigger will disappear after it's activated // (but of course it needs cTriggersLeft "uses" before that happens). @@ -1115,7 +1115,7 @@ void CTriggerCounter::__MAKE_VHOOK(Spawn)() LINK_ENTITY_TO_CLASS(trigger_transition, CTriggerVolume, CCSTriggerVolume) // Define space that travels across a level transition -void CTriggerVolume::__MAKE_VHOOK(Spawn)() +void CTriggerVolume::Spawn() { pev->solid = SOLID_NOT; pev->movetype = MOVETYPE_NONE; @@ -1129,18 +1129,18 @@ void CTriggerVolume::__MAKE_VHOOK(Spawn)() LINK_ENTITY_TO_CLASS(fireanddie, CFireAndDie, CCSFireAndDie) -void CFireAndDie::__MAKE_VHOOK(Spawn)() +void CFireAndDie::Spawn() { MAKE_STRING_CLASS("fireanddie", pev); // Don't call Precache() - it should be called on restore } -void CFireAndDie::__MAKE_VHOOK(Precache)() +void CFireAndDie::Precache() { pev->nextthink = gpGlobals->time + m_flDelay; } -void CFireAndDie::__MAKE_VHOOK(Think)() +void CFireAndDie::Think() { SUB_UseTargets(this, USE_TOGGLE, 0); UTIL_Remove(this); @@ -1150,7 +1150,7 @@ LINK_ENTITY_TO_CLASS(trigger_changelevel, CChangeLevel, CCSChangeLevel) IMPLEMENT_SAVERESTORE(CChangeLevel, CBaseTrigger) // Cache user-entity-field values until spawn is called. -void CChangeLevel::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CChangeLevel::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "map")) { @@ -1186,7 +1186,7 @@ void CChangeLevel::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CBaseTrigger::KeyValue(pkvd); } -void CChangeLevel::__MAKE_VHOOK(Spawn)() +void CChangeLevel::Spawn() { if (FStrEq(m_szMapName, "")) { @@ -1528,13 +1528,13 @@ NOXREF void NextLevel() LINK_ENTITY_TO_CLASS(func_ladder, CLadder, CCSLadder) -void CLadder::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CLadder::KeyValue(KeyValueData *pkvd) { CBaseTrigger::KeyValue(pkvd); } // func_ladder - makes an area vertically negotiable -void CLadder::__MAKE_VHOOK(Precache)() +void CLadder::Precache() { // Do all of this in here because we need to 'convert' old saved games pev->solid = SOLID_NOT; @@ -1549,7 +1549,7 @@ void CLadder::__MAKE_VHOOK(Precache)() pev->effects &= ~EF_NODRAW; } -void CLadder::__MAKE_VHOOK(Spawn)() +void CLadder::Spawn() { Precache(); @@ -1560,12 +1560,12 @@ void CLadder::__MAKE_VHOOK(Spawn)() LINK_ENTITY_TO_CLASS(trigger_push, CTriggerPush, CCSTriggerPush) -void CTriggerPush::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CTriggerPush::KeyValue(KeyValueData *pkvd) { CBaseTrigger::KeyValue(pkvd); } -void CTriggerPush::__MAKE_VHOOK(Spawn)() +void CTriggerPush::Spawn() { if (pev->angles == g_vecZero) { @@ -1614,7 +1614,7 @@ void CTriggerPush::Restart() } #endif -void CTriggerPush::__MAKE_VHOOK(Touch)(CBaseEntity *pOther) +void CTriggerPush::Touch(CBaseEntity *pOther) { entvars_t *pevToucher = pOther->pev; @@ -1724,7 +1724,7 @@ void CBaseTrigger::TeleportTouch(CBaseEntity *pOther) LINK_ENTITY_TO_CLASS(trigger_teleport, CTriggerTeleport, CCSTriggerTeleport) -void CTriggerTeleport::__MAKE_VHOOK(Spawn)() +void CTriggerTeleport::Spawn() { InitTrigger(); SetTouch(&CTriggerTeleport::TeleportTouch); @@ -1733,7 +1733,7 @@ void CTriggerTeleport::__MAKE_VHOOK(Spawn)() LINK_ENTITY_TO_CLASS(info_teleport_destination, CPointEntity, CCSPointEntity) LINK_ENTITY_TO_CLASS(func_buyzone, CBuyZone, CCSBuyZone) -void CBuyZone::__MAKE_VHOOK(Spawn)() +void CBuyZone::Spawn() { InitTrigger(); SetTouch(&CBuyZone::BuyTouch); @@ -1765,7 +1765,7 @@ void CBuyZone::BuyTouch(CBaseEntity *pOther) LINK_ENTITY_TO_CLASS(func_bomb_target, CBombTarget, CCSBombTarget) -void CBombTarget::__MAKE_VHOOK(Spawn)() +void CBombTarget::Spawn() { InitTrigger(); @@ -1794,7 +1794,7 @@ void CBombTarget::BombTargetUse(CBaseEntity *pActivator, CBaseEntity *pCaller, U LINK_ENTITY_TO_CLASS(func_hostage_rescue, CHostageRescue, CCSHostageRescue) -void CHostageRescue::__MAKE_VHOOK(Spawn)() +void CHostageRescue::Spawn() { InitTrigger(); SetTouch(&CHostageRescue::HostageRescueTouch); @@ -1815,7 +1815,7 @@ void CHostageRescue::HostageRescueTouch(CBaseEntity *pOther) LINK_ENTITY_TO_CLASS(func_escapezone, CEscapeZone, CCSEscapeZone) -void CEscapeZone::__MAKE_VHOOK(Spawn)() +void CEscapeZone::Spawn() { InitTrigger(); SetTouch(&CEscapeZone::EscapeTouch); @@ -1860,7 +1860,7 @@ void CEscapeZone::EscapeTouch(CBaseEntity *pOther) LINK_ENTITY_TO_CLASS(func_vip_safetyzone, CVIP_SafetyZone, CCSVIP_SafetyZone) -void CVIP_SafetyZone::__MAKE_VHOOK(Spawn)() +void CVIP_SafetyZone::Spawn() { InitTrigger(); SetTouch(&CVIP_SafetyZone::VIP_SafetyTouch); @@ -1888,7 +1888,7 @@ void CVIP_SafetyZone::VIP_SafetyTouch(CBaseEntity *pOther) LINK_ENTITY_TO_CLASS(trigger_autosave, CTriggerSave, CCSTriggerSave) -void CTriggerSave::__MAKE_VHOOK(Spawn)() +void CTriggerSave::Spawn() { if (g_pGameRules->IsDeathmatch()) { @@ -1931,7 +1931,7 @@ void CTriggerEndSection::EndSectionUse(CBaseEntity *pActivator, CBaseEntity *pCa UTIL_Remove(this); } -void CTriggerEndSection::__MAKE_VHOOK(Spawn)() +void CTriggerEndSection::Spawn() { if (g_pGameRules->IsDeathmatch()) { @@ -1964,7 +1964,7 @@ void CTriggerEndSection::EndSectionTouch(CBaseEntity *pOther) UTIL_Remove(this); } -void CTriggerEndSection::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CTriggerEndSection::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "section")) { @@ -1978,7 +1978,7 @@ void CTriggerEndSection::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) LINK_ENTITY_TO_CLASS(trigger_gravity, CTriggerGravity, CCSTriggerGravity) -void CTriggerGravity::__MAKE_VHOOK(Spawn)() +void CTriggerGravity::Spawn() { InitTrigger(); SetTouch(&CTriggerGravity::GravityTouch); @@ -1996,7 +1996,7 @@ void CTriggerGravity::GravityTouch(CBaseEntity *pOther) LINK_ENTITY_TO_CLASS(trigger_changetarget, CTriggerChangeTarget, CCSTriggerChangeTarget) IMPLEMENT_SAVERESTORE(CTriggerChangeTarget, CBaseDelay) -void CTriggerChangeTarget::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CTriggerChangeTarget::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "m_iszNewTarget")) { @@ -2007,12 +2007,12 @@ void CTriggerChangeTarget::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CBaseDelay::KeyValue(pkvd); } -void CTriggerChangeTarget::__MAKE_VHOOK(Spawn)() +void CTriggerChangeTarget::Spawn() { ; } -void CTriggerChangeTarget::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CTriggerChangeTarget::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { CBaseEntity *pTarget = UTIL_FindEntityByString(NULL, "targetname", STRING(pev->target)); @@ -2032,7 +2032,7 @@ void CTriggerChangeTarget::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntit LINK_ENTITY_TO_CLASS(trigger_camera, CTriggerCamera, CCSTriggerCamera) IMPLEMENT_SAVERESTORE(CTriggerCamera, CBaseDelay) -void CTriggerCamera::__MAKE_VHOOK(Spawn)() +void CTriggerCamera::Spawn() { pev->movetype = MOVETYPE_NOCLIP; @@ -2055,7 +2055,7 @@ void CTriggerCamera::__MAKE_VHOOK(Spawn)() } } -void CTriggerCamera::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CTriggerCamera::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "wait")) { @@ -2081,7 +2081,7 @@ void CTriggerCamera::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CBaseDelay::KeyValue(pkvd); } -void CTriggerCamera::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CTriggerCamera::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (!ShouldToggle(useType, m_state)) return; @@ -2302,12 +2302,12 @@ LINK_ENTITY_TO_CLASS(func_snow, CWeather, CCSWeather) LINK_ENTITY_TO_CLASS(env_rain, CWeather, CCSWeather) LINK_ENTITY_TO_CLASS(func_rain, CWeather, CCSWeather) -void CWeather::__MAKE_VHOOK(Spawn)() +void CWeather::Spawn() { InitTrigger(); } -void CClientFog::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CClientFog::KeyValue(KeyValueData *pkvd) { #if 0 if (FStrEq(pkvd->szKeyName, "startdist")) @@ -2335,7 +2335,7 @@ void CClientFog::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) CBaseEntity::KeyValue(pkvd); } -void CClientFog::__MAKE_VHOOK(Spawn)() +void CClientFog::Spawn() { pev->movetype = MOVETYPE_NOCLIP; pev->solid = SOLID_NOT; // Remove model & collisions diff --git a/regamedll/dlls/triggers.h b/regamedll/dlls/triggers.h index 6b0e55ee..6f081012 100644 --- a/regamedll/dlls/triggers.h +++ b/regamedll/dlls/triggers.h @@ -86,15 +86,6 @@ public: virtual int Restore(CRestore &restore); virtual int ObjectCaps() { return (CBaseEntity::ObjectCaps() & ~FCAP_ACROSS_TRANSITION); } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - -#endif - public: void EXPORT ChangeFriction(CBaseEntity *pOther); static TYPEDESCRIPTION IMPL(m_SaveData)[1]; @@ -119,17 +110,6 @@ public: virtual void Restart(); #endif -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Think_(); - -#endif - public: static TYPEDESCRIPTION IMPL(m_SaveData)[2]; @@ -147,16 +127,6 @@ public: virtual int ObjectCaps() { return (CBaseDelay::ObjectCaps() & ~FCAP_ACROSS_TRANSITION); } virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: static TYPEDESCRIPTION IMPL(m_SaveData)[1]; @@ -178,17 +148,6 @@ public: virtual int ObjectCaps() { return (CBaseToggle::ObjectCaps() & ~FCAP_ACROSS_TRANSITION); } virtual BOOL HasTarget(string_t targetname); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Restart_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - BOOL HasTarget_(string_t targetname); - -#endif - public: void EXPORT ManagerThink(); void EXPORT ManagerUse(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); @@ -238,14 +197,6 @@ class CRenderFxManager: public CBaseEntity public: virtual void Spawn(); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - }; class CBaseTrigger: public CBaseToggle @@ -254,12 +205,6 @@ public: virtual void KeyValue(KeyValueData *pkvd); virtual int ObjectCaps() { return (CBaseToggle::ObjectCaps() & ~FCAP_ACROSS_TRANSITION); } -#ifdef HOOK_GAMEDLL - - void KeyValue_(KeyValueData *pkvd); - -#endif - public: void EXPORT TeleportTouch(CBaseEntity *pOther); void EXPORT MultiTouch(CBaseEntity *pOther); @@ -284,12 +229,6 @@ public: virtual int ObjectCaps() { return (CBaseTrigger::ObjectCaps() | FCAP_MUST_RESET); } #endif -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - void EXPORT RadiationThink(); }; @@ -299,15 +238,6 @@ public: virtual void Spawn(); virtual void Think(); virtual void Touch(CBaseEntity *pOther); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Think_(); - void Touch_(CBaseEntity *pOther); - -#endif - }; // trigger_cdaudio - starts/stops cd audio tracks @@ -318,14 +248,6 @@ public: virtual void Touch(CBaseEntity *pOther); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Touch_(CBaseEntity *pOther); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: void PlayTrack(edict_t *pEdict); }; @@ -339,15 +261,6 @@ public: virtual void Think(); virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - void Think_(); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: void Play(edict_t *pEdict); }; @@ -370,13 +283,6 @@ class CTriggerMultiple: public CBaseTrigger { public: virtual void Spawn(); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - }; // QUAKED trigger_once (.5 .5 .5) ? notouch @@ -398,13 +304,6 @@ public: #ifdef REGAMEDLL_FIXES virtual void Restart(); #endif - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - }; // QUAKED trigger_counter (.5 .5 .5) ? nomessage @@ -416,13 +315,6 @@ class CTriggerCounter: public CBaseTrigger { public: virtual void Spawn(); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - }; // Derive from point entity so this doesn't move across levels @@ -430,13 +322,6 @@ class CTriggerVolume: public CPointEntity { public: virtual void Spawn(); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - }; // Fires a target after level transition and then dies @@ -447,15 +332,6 @@ public: virtual void Precache(); virtual int ObjectCaps() { return (CBaseDelay::ObjectCaps() | FCAP_FORCE_TRANSITION); } // Always go across transitions virtual void Think(); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void Think_(); - -#endif - }; // QUAKED trigger_changelevel (0.5 0.5 0.5) ? NO_INTERMISSION @@ -468,15 +344,6 @@ public: virtual int Save(CSave &save); virtual int Restore(CRestore &restore); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - -#endif - public: void EXPORT UseChangeLevel(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); void EXPORT TriggerChangeLevel(); @@ -504,15 +371,6 @@ public: virtual void Spawn(); virtual void Precache(); virtual void KeyValue(KeyValueData *pkvd); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - -#endif - }; class CTriggerPush: public CBaseTrigger @@ -526,28 +384,12 @@ public: virtual void Restart(); virtual int ObjectCaps() { return (CBaseEntity::ObjectCaps() | FCAP_MUST_RESET); } #endif - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - void Touch_(CBaseEntity *pOther); - -#endif - }; class CTriggerTeleport: public CBaseTrigger { public: virtual void Spawn(); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - }; class CBuyZone: public CBaseTrigger @@ -555,12 +397,6 @@ class CBuyZone: public CBaseTrigger public: virtual void Spawn(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - void EXPORT BuyTouch(CBaseEntity *pOther); }; @@ -569,12 +405,6 @@ class CBombTarget: public CBaseTrigger public: virtual void Spawn(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - public: void EXPORT BombTargetTouch(CBaseEntity *pOther); void EXPORT BombTargetUse(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); @@ -585,12 +415,6 @@ class CHostageRescue: public CBaseTrigger public: virtual void Spawn(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - public: void EXPORT HostageRescueTouch(CBaseEntity *pOther); }; @@ -600,12 +424,6 @@ class CEscapeZone: public CBaseTrigger public: virtual void Spawn(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - void EXPORT EscapeTouch(CBaseEntity *pOther); }; @@ -614,12 +432,6 @@ class CVIP_SafetyZone: public CBaseTrigger public: virtual void Spawn(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - void EXPORT VIP_SafetyTouch(CBaseEntity *pOther); }; @@ -628,12 +440,6 @@ class CTriggerSave: public CBaseTrigger public: virtual void Spawn(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - void EXPORT SaveTouch(CBaseEntity *pOther); }; @@ -643,13 +449,6 @@ public: virtual void Spawn(); virtual void KeyValue(KeyValueData *pkvd); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - -#endif - public: void EXPORT EndSectionTouch(CBaseEntity *pOther); void EXPORT EndSectionUse(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); @@ -660,12 +459,6 @@ class CTriggerGravity: public CBaseTrigger public: virtual void Spawn(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - void EXPORT GravityTouch(CBaseEntity *pOther); }; @@ -680,16 +473,6 @@ public: virtual int ObjectCaps() { return (CBaseEntity::ObjectCaps() & ~FCAP_ACROSS_TRANSITION); } virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: static TYPEDESCRIPTION IMPL(m_SaveData)[1]; @@ -707,16 +490,6 @@ public: virtual int ObjectCaps() { return (CBaseEntity::ObjectCaps() & ~FCAP_ACROSS_TRANSITION); } virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - -#endif - public: void EXPORT FollowTarget(); void Move(); @@ -742,13 +515,6 @@ class CWeather: public CBaseTrigger { public: virtual void Spawn(); - -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - }; class CClientFog: public CBaseEntity @@ -757,13 +523,6 @@ public: virtual void Spawn(); virtual void KeyValue(KeyValueData *pkvd); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void KeyValue_(KeyValueData *pkvd); - -#endif - public: int m_iStartDist; int m_iEndDist; diff --git a/regamedll/dlls/tutor_base_tutor.cpp b/regamedll/dlls/tutor_base_tutor.cpp index 77d5e5c3..ad30345c 100644 --- a/regamedll/dlls/tutor_base_tutor.cpp +++ b/regamedll/dlls/tutor_base_tutor.cpp @@ -258,7 +258,7 @@ void CBaseTutor::CalculatePathForObjective(CBaseEntity *player) ; } -bool CBaseTutor::__MAKE_VHOOK(IsEntityInViewOfPlayer)(CBaseEntity *entity, CBasePlayer *player) +bool CBaseTutor::IsEntityInViewOfPlayer(CBaseEntity *entity, CBasePlayer *player) { if (!entity || !player) return false; @@ -282,7 +282,7 @@ bool CBaseTutor::__MAKE_VHOOK(IsEntityInViewOfPlayer)(CBaseEntity *entity, CBase return false; } -bool CBaseTutor::__MAKE_VHOOK(IsPlayerLookingAtPosition)(Vector *origin, CBasePlayer *player) +bool CBaseTutor::IsPlayerLookingAtPosition(Vector *origin, CBasePlayer *player) { if (!origin || !player) return false; @@ -304,7 +304,7 @@ bool CBaseTutor::__MAKE_VHOOK(IsPlayerLookingAtPosition)(Vector *origin, CBasePl return false; } -bool CBaseTutor::__MAKE_VHOOK(IsPlayerLookingAtEntity)(CBaseEntity *entity, CBasePlayer *player) +bool CBaseTutor::IsPlayerLookingAtEntity(CBaseEntity *entity, CBasePlayer *player) { if (!entity || !player) return false; @@ -328,7 +328,7 @@ bool CBaseTutor::__MAKE_VHOOK(IsPlayerLookingAtEntity)(CBaseEntity *entity, CBas return false; } -bool CBaseTutor::__MAKE_VHOOK(IsBombsiteInViewOfPlayer)(CBaseEntity *entity, CBasePlayer *player) +bool CBaseTutor::IsBombsiteInViewOfPlayer(CBaseEntity *entity, CBasePlayer *player) { if (!entity || !player) return false; @@ -354,7 +354,7 @@ bool CBaseTutor::__MAKE_VHOOK(IsBombsiteInViewOfPlayer)(CBaseEntity *entity, CBa return false; } -bool CBaseTutor::__MAKE_VHOOK(IsEntityInBombsite)(CBaseEntity *bombsite, CBaseEntity *entity) +bool CBaseTutor::IsEntityInBombsite(CBaseEntity *bombsite, CBaseEntity *entity) { if (!bombsite || !entity) return false; diff --git a/regamedll/dlls/tutor_base_tutor.h b/regamedll/dlls/tutor_base_tutor.h index 424bd9ce..f9d6f7b9 100644 --- a/regamedll/dlls/tutor_base_tutor.h +++ b/regamedll/dlls/tutor_base_tutor.h @@ -81,16 +81,6 @@ public: virtual void HandleShotFired(Vector source, Vector target) = 0; virtual struct TutorMessage *GetTutorMessageDefinition(int messageID) = 0; -#ifdef HOOK_GAMEDLL - - bool IsEntityInViewOfPlayer_(CBaseEntity *entity, CBasePlayer *player); - bool IsBombsiteInViewOfPlayer_(CBaseEntity *entity, CBasePlayer *player); - bool IsEntityInBombsite_(CBaseEntity *bombsite, CBaseEntity *entity); - bool IsPlayerLookingAtPosition_(Vector *origin, CBasePlayer *player); - bool IsPlayerLookingAtEntity_(CBaseEntity *entity, CBasePlayer *player); - -#endif - public: void StartFrame(float time); void OnEvent(GameEventType event, CBaseEntity *entity = NULL, CBaseEntity *other = NULL); diff --git a/regamedll/dlls/tutor_cs_states.cpp b/regamedll/dlls/tutor_cs_states.cpp index 974cf55f..32364f08 100644 --- a/regamedll/dlls/tutor_cs_states.cpp +++ b/regamedll/dlls/tutor_cs_states.cpp @@ -45,7 +45,7 @@ CCSTutorStateSystem::~CCSTutorStateSystem() } } -bool CCSTutorStateSystem::__MAKE_VHOOK(UpdateState)(GameEventType event, CBaseEntity *entity, CBaseEntity *other) +bool CCSTutorStateSystem::UpdateState(GameEventType event, CBaseEntity *entity, CBaseEntity *other) { if (m_currentState == nullptr) { @@ -67,7 +67,7 @@ bool CCSTutorStateSystem::__MAKE_VHOOK(UpdateState)(GameEventType event, CBaseEn return false; } -char *CCSTutorStateSystem::__MAKE_VHOOK(GetCurrentStateString)() +char *CCSTutorStateSystem::GetCurrentStateString() { if (m_currentState) { @@ -77,7 +77,7 @@ char *CCSTutorStateSystem::__MAKE_VHOOK(GetCurrentStateString)() return NULL; } -CBaseTutorState *CCSTutorStateSystem::__MAKE_VHOOK(ConstructNewState)(int stateType) +CBaseTutorState *CCSTutorStateSystem::ConstructNewState(int stateType) { switch (stateType) { @@ -99,7 +99,7 @@ CCSTutorUndefinedState::~CCSTutorUndefinedState() ; } -int CCSTutorUndefinedState::__MAKE_VHOOK(CheckForStateTransition)(GameEventType event, CBaseEntity *entity, CBaseEntity *other) +int CCSTutorUndefinedState::CheckForStateTransition(GameEventType event, CBaseEntity *entity, CBaseEntity *other) { if (event == EVENT_PLAYER_SPAWNED) { @@ -126,7 +126,7 @@ int CCSTutorUndefinedState::HandlePlayerSpawned(CBaseEntity *entity, CBaseEntity return 0; } -char *CCSTutorUndefinedState::__MAKE_VHOOK(GetStateString)() +char *CCSTutorUndefinedState::GetStateString() { return NULL; } @@ -141,7 +141,7 @@ CCSTutorWaitingForStartState::~CCSTutorWaitingForStartState() ; } -int CCSTutorWaitingForStartState::__MAKE_VHOOK(CheckForStateTransition)(GameEventType event, CBaseEntity *entity, CBaseEntity *other) +int CCSTutorWaitingForStartState::CheckForStateTransition(GameEventType event, CBaseEntity *entity, CBaseEntity *other) { switch (event) { @@ -154,7 +154,7 @@ int CCSTutorWaitingForStartState::__MAKE_VHOOK(CheckForStateTransition)(GameEven return 0; } -char *CCSTutorWaitingForStartState::__MAKE_VHOOK(GetStateString)() +char *CCSTutorWaitingForStartState::GetStateString() { return g_TutorStateStrings[m_type]; } @@ -191,7 +191,7 @@ CCSTutorBuyMenuState::~CCSTutorBuyMenuState() ; } -int CCSTutorBuyMenuState::__MAKE_VHOOK(CheckForStateTransition)(GameEventType event, CBaseEntity *entity, CBaseEntity *other) +int CCSTutorBuyMenuState::CheckForStateTransition(GameEventType event, CBaseEntity *entity, CBaseEntity *other) { if (event == EVENT_ROUND_START) { @@ -201,7 +201,7 @@ int CCSTutorBuyMenuState::__MAKE_VHOOK(CheckForStateTransition)(GameEventType ev return 0; } -char *CCSTutorBuyMenuState::__MAKE_VHOOK(GetStateString)() +char *CCSTutorBuyMenuState::GetStateString() { return g_TutorStateStrings[m_type]; } diff --git a/regamedll/dlls/tutor_cs_states.h b/regamedll/dlls/tutor_cs_states.h index 9b8e19a0..be03122e 100644 --- a/regamedll/dlls/tutor_cs_states.h +++ b/regamedll/dlls/tutor_cs_states.h @@ -70,14 +70,6 @@ public: virtual bool UpdateState(GameEventType event, CBaseEntity *entity, CBaseEntity *other); virtual char *GetCurrentStateString(); -#ifdef HOOK_GAMEDLL - - bool UpdateState_(GameEventType event, CBaseEntity *entity, CBaseEntity *other); - char *GetCurrentStateString_(); - CBaseTutorState *ConstructNewState_(int stateType); - -#endif - protected: virtual CBaseTutorState *ConstructNewState(int stateType); }; @@ -91,13 +83,6 @@ public: virtual int CheckForStateTransition(GameEventType event, CBaseEntity *entity, CBaseEntity *other); virtual char *GetStateString(); -#ifdef HOOK_GAMEDLL - - int CheckForStateTransition_(GameEventType event, CBaseEntity *entity, CBaseEntity *other); - char *GetStateString_(); - -#endif - protected: int HandlePlayerSpawned(CBaseEntity *entity, CBaseEntity *other); }; @@ -111,13 +96,6 @@ public: virtual int CheckForStateTransition(GameEventType event, CBaseEntity *entity, CBaseEntity *other); virtual char *GetStateString(); -#ifdef HOOK_GAMEDLL - - int CheckForStateTransition_(GameEventType event, CBaseEntity *entity, CBaseEntity *other); - char *GetStateString_(); - -#endif - protected: int HandlePlayerSpawned(CBaseEntity *entity, CBaseEntity *other); int HandleBuyTimeStart(CBaseEntity *entity, CBaseEntity *other); @@ -132,13 +110,6 @@ public: virtual int CheckForStateTransition(GameEventType event, CBaseEntity *entity, CBaseEntity *other); virtual char *GetStateString(); -#ifdef HOOK_GAMEDLL - - int CheckForStateTransition_(GameEventType event, CBaseEntity *entity, CBaseEntity *other); - char *GetStateString_(); - -#endif - protected: int HandleRoundStart(CBaseEntity *entity, CBaseEntity *other); }; diff --git a/regamedll/dlls/tutor_cs_tutor.cpp b/regamedll/dlls/tutor_cs_tutor.cpp index 60f8c27f..8e4b6263 100644 --- a/regamedll/dlls/tutor_cs_tutor.cpp +++ b/regamedll/dlls/tutor_cs_tutor.cpp @@ -540,7 +540,7 @@ void CCSTutor::CheckForInterruptingMessageEvent(float time) ConstructMessageAndDisplay(); } -void CCSTutor::__MAKE_VHOOK(TutorThink)(float time) +void CCSTutor::TutorThink(float time) { if (m_nextViewableCheckTime <= time) { @@ -992,7 +992,7 @@ void CCSTutor::DeleteEvent(TutorMessageEvent *event) delete event; } -void CCSTutor::__MAKE_VHOOK(PurgeMessages)() +void CCSTutor::PurgeMessages() { ClearCurrentEvent(); ClearEventList(); @@ -1083,7 +1083,7 @@ void CCSTutor::UpdateCurrentMessage(TutorMessageEvent *event) } } -void CCSTutor::__MAKE_VHOOK(ShowTutorMessage)(TutorMessageEvent *event) +void CCSTutor::ShowTutorMessage(TutorMessageEvent *event) { TutorMessageID mid = static_cast(event->GetID()); @@ -1121,7 +1121,7 @@ void CCSTutor::ConstructMessageAndDisplay() } } -void CCSTutor::__MAKE_VHOOK(CallEventHandler)(GameEventType event, CBaseEntity *entity, CBaseEntity *other) +void CCSTutor::CallEventHandler(GameEventType event, CBaseEntity *entity, CBaseEntity *other) { switch (event) { @@ -2052,7 +2052,7 @@ void CCSTutor::HandleCareerTaskDone(CBaseEntity *entity, CBaseEntity *other) CreateAndAddEventToList(CAREER_TASK_DONE_ALL_DONE); } -void CCSTutor::__MAKE_VHOOK(HandleShotFired)(Vector source, Vector target) +void CCSTutor::HandleShotFired(Vector source, Vector target) { CBasePlayer *localPlayer = UTIL_GetLocalPlayer(); @@ -2473,7 +2473,7 @@ bool CCSTutor::CheckForAllHostagesFollowingSomeone() return foundUnusedOne ? false : true; } -TutorMessage *CCSTutor::__MAKE_VHOOK(GetTutorMessageDefinition)(int messageID) +TutorMessage *CCSTutor::GetTutorMessageDefinition(int messageID) { if (messageID < 0 || messageID >= TUTOR_NUM_MESSAGES) return NULL; diff --git a/regamedll/dlls/tutor_cs_tutor.h b/regamedll/dlls/tutor_cs_tutor.h index 03ac2569..ee4f8b80 100644 --- a/regamedll/dlls/tutor_cs_tutor.h +++ b/regamedll/dlls/tutor_cs_tutor.h @@ -391,17 +391,6 @@ public: void ResetPlayerDeathInfo(); void ConstructRecentDeathsList(TeamName team, char *buf, int buflen, TutorMessageEvent *event); -#ifdef HOOK_GAMEDLL - - void TutorThink_(float time); - void PurgeMessages_(); - void CallEventHandler_(GameEventType event, CBaseEntity *entity, CBaseEntity *other); - void ShowTutorMessage_(TutorMessageEvent *event); - void HandleShotFired_(Vector source, Vector target); - TutorMessage *GetTutorMessageDefinition_(int messageID); - -#endif - private: float m_nextViewableCheckTime; TutorMessageMap m_messageMap; diff --git a/regamedll/dlls/util.h b/regamedll/dlls/util.h index 3af11c1d..8f0286f8 100644 --- a/regamedll/dlls/util.h +++ b/regamedll/dlls/util.h @@ -37,36 +37,8 @@ #include "enginecallback.h" #include "utlvector.h" -#define _LOG_TRACE\ - static int iNumPassed = 0;\ - printf2("%s:: iNumPassed - %d", __FUNCTION__, iNumPassed++); - -#define _LOG_TRACE2\ - static int iNumPassedt = 0;\ - printf2("%s:: iNumPassed - %d", __FUNCTION__, iNumPassedt++);\ - _logf("%s:: iNumPassed - %d", __FUNCTION__, iNumPassedt++); - -// Makes these more explicit, and easier to find -#ifdef HOOK_GAMEDLL - -#define STD_LIST list_vs6 // use STL containers of the old version from Visual Studio 6.0 sp6 -#define STD_VECTOR vector_vs6 - -#define FILE_GLOBAL static -#define DLL_GLOBAL - -#else - -#define STD_LIST list -#define STD_VECTOR vector - -#define FILE_GLOBAL -#define DLL_GLOBAL - -#endif - #define eoNullEntity 0 // Testing the three types of "entity" for nullity -#define iStringNull 0 // Testing strings for nullity +#define iStringNull 0 // Testing strings for nullity #define cchMapNameMost 32 @@ -85,11 +57,11 @@ extern globalvars_t *gpGlobals; #define VIEW_FIELD_FULL -1.0 // +-180 degrees #define VIEW_FIELD_WIDE -0.7 // +-135 degrees 0.1 // +-85 degrees, used for full FOV checks -#define VIEW_FIELD_NARROW 0.7 // +-45 degrees, more narrow check used to set up ranged attacks +#define VIEW_FIELD_NARROW 0.7 // +-45 degrees, more narrow check used to set up ranged attacks #define VIEW_FIELD_ULTRA_NARROW 0.9 // +-25 degrees, more narrow check used to set up ranged attacks #define SND_SPAWNING (1<<8) // duplicated in protocol.h we're spawing, used in some cases for ambients -#define SND_STOP (1<<5) // duplicated in protocol.h stop sound +#define SND_STOP (1<<5) // duplicated in protocol.h stop sound #define SND_CHANGE_VOL (1<<6) // duplicated in protocol.h change sound vol #define SND_CHANGE_PITCH (1<<7) // duplicated in protocol.h change sound pitch @@ -121,7 +93,7 @@ extern globalvars_t *gpGlobals; #define VEC_HULL_MIN Vector(-16, -16, -36) #define VEC_HULL_MAX Vector(16, 16, 36) -#define VEC_VIEW Vector(0, 0, 17) +#define VEC_VIEW Vector(0, 0, 17) #define VEC_DUCK_HULL_MIN Vector(-16, -16, -18) #define VEC_DUCK_HULL_MAX Vector(16, 16, 32) @@ -133,11 +105,6 @@ extern globalvars_t *gpGlobals; #define PLAYBACK_EVENT_DELAY(flags, who, index, delay)\ PLAYBACK_EVENT_FULL(flags, who, index, delay, (float *)&g_vecZero, (float *)&g_vecZero, 0.0, 0.0, 0, 0, 0, 0) -#if !defined(HOOK_GAMEDLL) -#define __MAKE_VHOOK(fname)\ - fname -#endif // !defined(HOOK_GAMEDLL) && defined(REGAMEDLL_API) - #define LINK_ENTITY_TO_CLASS(mapClassName, DLLClassName, DLLClassWrapName)\ C_DLLEXPORT void EXT_FUNC mapClassName(entvars_t *pev);\ void mapClassName(entvars_t *pev)\ diff --git a/regamedll/dlls/vector.h b/regamedll/dlls/vector.h index 3eb2f9e4..b20b7bb4 100644 --- a/regamedll/dlls/vector.h +++ b/regamedll/dlls/vector.h @@ -280,26 +280,7 @@ public: return (LengthSquared() > length * length); } #ifdef PLAY_GAMEDLL - float_precision NormalizeInPlace() - { - float_precision flLen = Length(); - - if (flLen > 0) - { - x = vec_t(1 / flLen * x); - y = vec_t(1 / flLen * y); - z = vec_t(1 / flLen * z); - } - else - { - x = 0; - y = 0; - z = 1; - } - - return flLen; - } - template + template float_precision NormalizeInPlace() { T flLen = Length(); diff --git a/regamedll/dlls/vehicle.cpp b/regamedll/dlls/vehicle.cpp index 0a22ca7c..e0d6496f 100644 --- a/regamedll/dlls/vehicle.cpp +++ b/regamedll/dlls/vehicle.cpp @@ -44,7 +44,7 @@ void FixupAngles2(Vector &v) IMPLEMENT_SAVERESTORE(CFuncVehicle, CBaseEntity) LINK_ENTITY_TO_CLASS(func_vehicle, CFuncVehicle, CCSFuncVehicle) -void CFuncVehicle::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CFuncVehicle::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "length")) { @@ -110,7 +110,7 @@ void CFuncVehicle::NextThink(float thinkTime, BOOL alwaysThink) pev->nextthink = thinkTime; } -void CFuncVehicle::__MAKE_VHOOK(Blocked)(CBaseEntity *pOther) +void CFuncVehicle::Blocked(CBaseEntity *pOther) { entvars_t *pevOther = pOther->pev; @@ -153,7 +153,7 @@ void CFuncVehicle::__MAKE_VHOOK(Blocked)(CBaseEntity *pOther) } } -void CFuncVehicle::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CFuncVehicle::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { float delta = value; @@ -722,7 +722,7 @@ void CFuncVehicle::SetControls(entvars_t *pevControls) m_controlMaxs = pevControls->maxs + offset; } -BOOL CFuncVehicle::__MAKE_VHOOK(OnControls)(entvars_t *pevTest) +BOOL CFuncVehicle::OnControls(entvars_t *pevTest) { Vector offset = pevTest->origin - pev->origin; @@ -826,7 +826,7 @@ void CFuncVehicle::NearestPath() } } -void CFuncVehicle::__MAKE_VHOOK(OverrideReset)() +void CFuncVehicle::OverrideReset() { NextThink(pev->ltime + 0.1, FALSE); SetThink(&CFuncVehicle::NearestPath); @@ -842,12 +842,12 @@ CFuncVehicle *CFuncVehicle::Instance(edict_t *pent) return NULL; } -int CFuncVehicle::__MAKE_VHOOK(Classify)() +int CFuncVehicle::Classify() { return CLASS_VEHICLE; } -void CFuncVehicle::__MAKE_VHOOK(Spawn)() +void CFuncVehicle::Spawn() { if (pev->speed == 0) m_speed = 165; @@ -896,7 +896,7 @@ void CFuncVehicle::__MAKE_VHOOK(Spawn)() Precache(); } -void CFuncVehicle::__MAKE_VHOOK(Restart)() +void CFuncVehicle::Restart() { ALERT(at_console, "M_speed = %f\n", m_speed); @@ -922,7 +922,7 @@ void CFuncVehicle::__MAKE_VHOOK(Restart)() SetThink(&CFuncVehicle::Find); } -void CFuncVehicle::__MAKE_VHOOK(Precache)() +void CFuncVehicle::Precache() { if (m_flVolume == 0.0f) m_flVolume = 1.0f; @@ -967,7 +967,7 @@ void CFuncVehicleControls::Find() UTIL_Remove(this); } -void CFuncVehicleControls::__MAKE_VHOOK(Spawn)() +void CFuncVehicleControls::Spawn() { pev->solid = SOLID_NOT; pev->movetype = MOVETYPE_NONE; diff --git a/regamedll/dlls/vehicle.h b/regamedll/dlls/vehicle.h index da15a2de..87e40227 100644 --- a/regamedll/dlls/vehicle.h +++ b/regamedll/dlls/vehicle.h @@ -57,12 +57,6 @@ public: virtual void Spawn(); virtual int ObjectCaps() { return CBaseEntity::ObjectCaps() & ~FCAP_ACROSS_TRANSITION; } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - -#endif - public: void EXPORT Find(); }; diff --git a/regamedll/dlls/weapons.cpp b/regamedll/dlls/weapons.cpp index 08c78588..568372a0 100644 --- a/regamedll/dlls/weapons.cpp +++ b/regamedll/dlls/weapons.cpp @@ -474,7 +474,7 @@ void W_Precache() IMPLEMENT_SAVERESTORE(CBasePlayerItem, CBaseAnimating) IMPLEMENT_SAVERESTORE(CBasePlayerWeapon, CBasePlayerItem) -void CBasePlayerItem::__MAKE_VHOOK(SetObjectCollisionBox)() +void CBasePlayerItem::SetObjectCollisionBox() { pev->absmin = pev->origin + Vector(-24, -24, 0); pev->absmax = pev->origin + Vector(24, 24, 16); @@ -589,7 +589,7 @@ void CBasePlayerItem::CheckRespawn() // Respawn - this item is already in the world, but it is // invisible and intangible. Make it visible and tangible. -CBaseEntity *CBasePlayerItem::__MAKE_VHOOK(Respawn)() +CBaseEntity *CBasePlayerItem::Respawn() { // make a copy of this weapon that is invisible and inaccessible to players (no touch function). The weapon spawn/respawn code // will decide when to make the weapon visible and touchable. @@ -881,7 +881,7 @@ bool CBasePlayerWeapon::HasSecondaryAttack() return true; } -void CBasePlayerWeapon::__MAKE_VHOOK(ItemPostFrame)() +void CBasePlayerWeapon::ItemPostFrame() { int usableButtons = m_pPlayer->pev->button; @@ -1081,7 +1081,7 @@ void CBasePlayerItem::DestroyItem() Kill(); } -int CBasePlayerItem::__MAKE_VHOOK(AddToPlayer)(CBasePlayer *pPlayer) +int CBasePlayerItem::AddToPlayer(CBasePlayer *pPlayer) { m_pPlayer = pPlayer; @@ -1092,27 +1092,27 @@ int CBasePlayerItem::__MAKE_VHOOK(AddToPlayer)(CBasePlayer *pPlayer) return TRUE; } -void CBasePlayerItem::__MAKE_VHOOK(Drop)() +void CBasePlayerItem::Drop() { SetTouch(NULL); SetThink(&CBaseEntity::SUB_Remove); pev->nextthink = gpGlobals->time + 0.1f; } -void CBasePlayerItem::__MAKE_VHOOK(Kill)() +void CBasePlayerItem::Kill() { SetTouch(NULL); SetThink(&CBaseEntity::SUB_Remove); pev->nextthink = gpGlobals->time + 0.1f; } -void CBasePlayerItem::__MAKE_VHOOK(Holster)(int skiplocal) +void CBasePlayerItem::Holster(int skiplocal) { m_pPlayer->pev->viewmodel = 0; m_pPlayer->pev->weaponmodel = 0; } -void CBasePlayerItem::__MAKE_VHOOK(AttachToPlayer)(CBasePlayer *pPlayer) +void CBasePlayerItem::AttachToPlayer(CBasePlayer *pPlayer) { pev->movetype = MOVETYPE_FOLLOW; pev->solid = SOLID_NOT; @@ -1136,7 +1136,7 @@ void CBasePlayerItem::__MAKE_VHOOK(AttachToPlayer)(CBasePlayer *pPlayer) } // CALLED THROUGH the newly-touched weapon's instance. The existing player weapon is pOriginal -int CBasePlayerWeapon::__MAKE_VHOOK(AddDuplicate)(CBasePlayerItem *pOriginal) +int CBasePlayerWeapon::AddDuplicate(CBasePlayerItem *pOriginal) { if (m_iDefaultAmmo) { @@ -1149,7 +1149,7 @@ int CBasePlayerWeapon::__MAKE_VHOOK(AddDuplicate)(CBasePlayerItem *pOriginal) } } -int CBasePlayerWeapon::__MAKE_VHOOK(AddToPlayer)(CBasePlayer *pPlayer) +int CBasePlayerWeapon::AddToPlayer(CBasePlayer *pPlayer) { m_pPlayer = pPlayer; pPlayer->pev->weapons |= (1 << m_iId); @@ -1168,7 +1168,7 @@ int CBasePlayerWeapon::__MAKE_VHOOK(AddToPlayer)(CBasePlayer *pPlayer) return FALSE; } -int CBasePlayerWeapon::__MAKE_VHOOK(UpdateClientData)(CBasePlayer *pPlayer) +int CBasePlayerWeapon::UpdateClientData(CBasePlayer *pPlayer) { bool bSend = false; int state = 0; @@ -1214,7 +1214,7 @@ int CBasePlayerWeapon::__MAKE_VHOOK(UpdateClientData)(CBasePlayer *pPlayer) return 1; } -void CBasePlayerWeapon::__MAKE_VHOOK(SendWeaponAnim)(int iAnim, int skiplocal) +void CBasePlayerWeapon::SendWeaponAnim(int iAnim, int skiplocal) { m_pPlayer->pev->weaponanim = iAnim; @@ -1282,7 +1282,7 @@ BOOL CBasePlayerWeapon::AddSecondaryAmmo(int iCount, char *szName, int iMax) // weapon is useable by the player in its current state. // (does it have ammo loaded? do I have any ammo for the // weapon?, etc) -BOOL CBasePlayerWeapon::__MAKE_VHOOK(IsUseable)() +BOOL CBasePlayerWeapon::IsUseable() { if (m_iClip <= 0) { @@ -1296,7 +1296,7 @@ BOOL CBasePlayerWeapon::__MAKE_VHOOK(IsUseable)() return TRUE; } -BOOL CBasePlayerWeapon::__MAKE_VHOOK(CanDeploy)() +BOOL CBasePlayerWeapon::CanDeploy() { return TRUE; } @@ -1379,7 +1379,7 @@ int CBasePlayerWeapon::DefaultReload(int iClipSize, int iAnim, float fDelay) return TRUE; } -BOOL CBasePlayerWeapon::__MAKE_VHOOK(PlayEmptySound)() +BOOL CBasePlayerWeapon::PlayEmptySound() { if (m_iPlayEmptySound) { @@ -1402,22 +1402,22 @@ BOOL CBasePlayerWeapon::__MAKE_VHOOK(PlayEmptySound)() return FALSE; } -void CBasePlayerWeapon::__MAKE_VHOOK(ResetEmptySound)() +void CBasePlayerWeapon::ResetEmptySound() { m_iPlayEmptySound = 1; } -int CBasePlayerWeapon::__MAKE_VHOOK(PrimaryAmmoIndex)() +int CBasePlayerWeapon::PrimaryAmmoIndex() { return m_iPrimaryAmmoType; } -int CBasePlayerWeapon::__MAKE_VHOOK(SecondaryAmmoIndex)() +int CBasePlayerWeapon::SecondaryAmmoIndex() { return -1; } -void CBasePlayerWeapon::__MAKE_VHOOK(Holster)(int skiplocal) +void CBasePlayerWeapon::Holster(int skiplocal) { // cancel any reload in progress. m_fInReload = FALSE; @@ -1425,7 +1425,7 @@ void CBasePlayerWeapon::__MAKE_VHOOK(Holster)(int skiplocal) m_pPlayer->pev->weaponmodel = 0; } -void CBasePlayerAmmo::__MAKE_VHOOK(Spawn)() +void CBasePlayerAmmo::Spawn() { pev->movetype = MOVETYPE_TOSS; pev->solid = SOLID_TRIGGER; @@ -1442,7 +1442,7 @@ void CBasePlayerAmmo::__MAKE_VHOOK(Spawn)() } } -CBaseEntity *CBasePlayerAmmo::__MAKE_VHOOK(Respawn)() +CBaseEntity *CBasePlayerAmmo::Respawn() { pev->effects |= EF_NODRAW; SetTouch(NULL); @@ -1506,7 +1506,7 @@ void CBasePlayerAmmo::DefaultTouch(CBaseEntity *pOther) // the first time. If it is spawned by the world, m_iDefaultAmmo will have a default ammo amount in it. // if this is a weapon dropped by a dying player, has 0 m_iDefaultAmmo, which means only the ammo in // the weapon clip comes along. -int CBasePlayerWeapon::__MAKE_VHOOK(ExtractAmmo)(CBasePlayerWeapon *pWeapon) +int CBasePlayerWeapon::ExtractAmmo(CBasePlayerWeapon *pWeapon) { int iReturn = 0; @@ -1527,7 +1527,7 @@ int CBasePlayerWeapon::__MAKE_VHOOK(ExtractAmmo)(CBasePlayerWeapon *pWeapon) } // called by the new item's class with the existing item as parameter -int CBasePlayerWeapon::__MAKE_VHOOK(ExtractClipAmmo)(CBasePlayerWeapon *pWeapon) +int CBasePlayerWeapon::ExtractClipAmmo(CBasePlayerWeapon *pWeapon) { int iAmmo; if (m_iClip == WEAPON_NOCLIP) @@ -1544,7 +1544,7 @@ int CBasePlayerWeapon::__MAKE_VHOOK(ExtractClipAmmo)(CBasePlayerWeapon *pWeapon) } // RetireWeapon - no more ammo for this gun, put it away. -void CBasePlayerWeapon::__MAKE_VHOOK(RetireWeapon)() +void CBasePlayerWeapon::RetireWeapon() { // first, no viewmodel at all. m_pPlayer->pev->viewmodel = iStringNull; @@ -1599,12 +1599,12 @@ float CBasePlayerWeapon::GetNextAttackDelay(float delay) LINK_ENTITY_TO_CLASS(weaponbox, CWeaponBox, CCSWeaponBox) IMPLEMENT_SAVERESTORE(CWeaponBox, CBaseEntity) -void CWeaponBox::__MAKE_VHOOK(Precache)() +void CWeaponBox::Precache() { PRECACHE_MODEL("models/w_weaponbox.mdl"); } -void CWeaponBox::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CWeaponBox::KeyValue(KeyValueData *pkvd) { if (m_cAmmoTypes >= MAX_AMMO_SLOTS) { @@ -1649,7 +1649,7 @@ void CWeaponBox::BombThink() pev->nextthink = gpGlobals->time + 1.0f; } -void CWeaponBox::__MAKE_VHOOK(Spawn)() +void CWeaponBox::Spawn() { Precache(); @@ -1688,7 +1688,7 @@ void CWeaponBox::Kill() // CWeaponBox - Touch: try to add my contents to the toucher // if the toucher is a player. -void CWeaponBox::__MAKE_VHOOK(Touch)(CBaseEntity *pOther) +void CWeaponBox::Touch(CBaseEntity *pOther) { if (!(pev->flags & FL_ONGROUND)) { @@ -2086,7 +2086,7 @@ BOOL CWeaponBox::IsEmpty() return TRUE; } -void CWeaponBox::__MAKE_VHOOK(SetObjectCollisionBox)() +void CWeaponBox::SetObjectCollisionBox() { pev->absmin = pev->origin + Vector(-16, -16, 0); pev->absmax = pev->origin + Vector(16, 16, 16); @@ -2129,7 +2129,7 @@ char *armouryItemModels[] = { }; -void CArmoury::__MAKE_VHOOK(Spawn)() +void CArmoury::Spawn() { Precache(); @@ -2160,7 +2160,7 @@ void CArmoury::__MAKE_VHOOK(Spawn)() m_iInitialCount = m_iCount; } -void CArmoury::__MAKE_VHOOK(Restart)() +void CArmoury::Restart() { #ifdef REGAMEDLL_FIXES // This code refers to the mode of Escape. (Because there is relationship to the team Terrorists) @@ -2230,7 +2230,7 @@ void CArmoury::__MAKE_VHOOK(Restart)() #endif } -void CArmoury::__MAKE_VHOOK(Precache)() +void CArmoury::Precache() { if (m_iItem < ARRAYSIZE(armouryItemModels)) { @@ -2416,7 +2416,7 @@ void CArmoury::ArmouryTouch(CBaseEntity *pOther) Hide(); } -void CArmoury::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CArmoury::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "item")) { @@ -2433,7 +2433,7 @@ void CArmoury::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) } #ifdef REGAMEDLL_ADD -void CArmoury::__MAKE_VHOOK(SetObjectCollisionBox)() +void CArmoury::SetObjectCollisionBox() { pev->absmin = pev->origin + Vector(-16, -16, 0); pev->absmax = pev->origin + Vector(16, 16, 16); diff --git a/regamedll/dlls/weapons.h b/regamedll/dlls/weapons.h index 1bb9b1a5..441fced4 100644 --- a/regamedll/dlls/weapons.h +++ b/regamedll/dlls/weapons.h @@ -150,15 +150,6 @@ public: virtual void SetObjectCollisionBox(); #endif -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void Restart_(); - void KeyValue_(KeyValueData *pkvd); - -#endif - public: void EXPORT ArmouryTouch(CBaseEntity *pOther); @@ -185,17 +176,6 @@ public: virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); virtual void BounceSound(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void Killed_(entvars_t *pevAttacker, int iGib); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - void BounceSound_(); - -#endif - public: enum SATCHELCODE { @@ -295,20 +275,6 @@ public: virtual float GetMaxSpeed() { return 260.0f; } virtual int iItemSlot() { return 0; } -#ifdef HOOK_GAMEDLL - - int Save_(CSave &save); - int Restore_(CRestore &restore); - void SetObjectCollisionBox_(); - CBaseEntity *Respawn_(); - int AddToPlayer_(CBasePlayer *pPlayer); - void Holster_(int skiplocal); - void Drop_(); - void Kill_(); - void AttachToPlayer_(CBasePlayer *pPlayer); - -#endif - public: void EXPORT DestroyItem(); void EXPORT DefaultTouch(CBaseEntity *pOther); @@ -375,28 +341,6 @@ public: virtual BOOL ShouldWeaponIdle() { return FALSE; } virtual BOOL UseDecrement() { return FALSE; } -#ifdef HOOK_GAMEDLL - - int Save_(CSave &save); - int Restore_(CRestore &restore); - int AddToPlayer_(CBasePlayer *pPlayer); - int AddDuplicate_(CBasePlayerItem *pItem); - BOOL CanDeploy_(); - void Holster_(int skiplocal = 0); - void ItemPostFrame_(); - int PrimaryAmmoIndex_(); - int SecondaryAmmoIndex_(); - int UpdateClientData_(CBasePlayer *pPlayer); - int ExtractAmmo_(CBasePlayerWeapon *pWeapon); - int ExtractClipAmmo_(CBasePlayerWeapon *pWeapon); - BOOL PlayEmptySound_(); - void ResetEmptySound_(); - void SendWeaponAnim_(int iAnim, int skiplocal = 0); - BOOL IsUseable_(); - void RetireWeapon_(); - -#endif - public: BOOL AddPrimaryAmmo(int iCount, char *szName, int iMaxClip, int iMaxCarry); BOOL AddSecondaryAmmo(int iCount, char *szName, int iMaxCarry); @@ -466,13 +410,6 @@ public: virtual BOOL AddAmmo(CBaseEntity *pOther) { return TRUE; } virtual CBaseEntity *Respawn(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - CBaseEntity *Respawn_(); - -#endif - public: void EXPORT DefaultTouch(CBaseEntity *pOther); void EXPORT Materialize(); @@ -489,18 +426,6 @@ public: virtual void SetObjectCollisionBox(); virtual void Touch(CBaseEntity *pOther); -#if defined(REGAMEDLL_API) || defined(HOOK_GAMEDLL) - - void Spawn_(); - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - int Save_(CSave &save); - int Restore_(CRestore &restore); - void SetObjectCollisionBox_(); - void Touch_(CBaseEntity *pOther); - -#endif - public: BOOL IsEmpty(); int GiveAmmo(int iCount, char *szName, int iMax, int *pIndex = NULL); @@ -545,19 +470,6 @@ public: } virtual BOOL IsPistol() { return TRUE; } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - void PrimaryAttack_(); - void SecondaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: void USPFire(float flSpread, float flCycleTime, BOOL fUseSemi); void MakeBeam(); @@ -590,18 +502,6 @@ public: #endif } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - void PrimaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: void MP5NFire(float flSpread, float flCycleTime, BOOL fUseAutoAim); @@ -634,20 +534,6 @@ public: #endif } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - float GetMaxSpeed_(); - void PrimaryAttack_(); - void SecondaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: void SG552Fire(float flSpread, float flCycleTime, BOOL fUseAutoAim); @@ -680,19 +566,6 @@ public: #endif } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - void PrimaryAttack_(); - void SecondaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: void AK47Fire(float flSpread, float flCycleTime, BOOL fUseAutoAim); @@ -725,19 +598,6 @@ public: #endif } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - void PrimaryAttack_(); - void SecondaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: void AUGFire(float flSpread, float flCycleTime, BOOL fUseAutoAim); @@ -770,20 +630,6 @@ public: #endif } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - float GetMaxSpeed_(); - void PrimaryAttack_(); - void SecondaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: void AWPFire(float flSpread, float flCycleTime, BOOL fUseAutoAim); @@ -820,21 +666,6 @@ public: #endif } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - void KeyValue_(KeyValueData *pkvd); - void Use_(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - void Holster_(int skiplocal); - float GetMaxSpeed_(); - void PrimaryAttack_(); - void WeaponIdle_(); - -#endif - public: bool m_bStartedArming; bool m_bBombPlacedAnimation; @@ -867,19 +698,6 @@ public: } virtual BOOL IsPistol() { return TRUE; } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - void PrimaryAttack_(); - void SecondaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: void DEAGLEFire(float flSpread, float flCycleTime, BOOL fUseSemi); @@ -922,20 +740,6 @@ public: #endif } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL CanDeploy_(); - BOOL Deploy_(); - void Holster_(int skiplocal); - void PrimaryAttack_(); - void SecondaryAttack_(); - void WeaponIdle_(); - -#endif - public: bool ShieldSecondaryFire(int iUpAnim, int iDownAnim); void SetPlayerShieldAnim(); @@ -964,20 +768,6 @@ public: #endif } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - float GetMaxSpeed_(); - void PrimaryAttack_(); - void SecondaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: void G3SG1Fire(float flSpread, float flCycleTime, BOOL fUseAutoAim); @@ -1010,19 +800,6 @@ public: } virtual BOOL IsPistol() { return TRUE; } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - void PrimaryAttack_(); - void SecondaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: void GLOCK18Fire(float flSpread, float flCycleTime, BOOL bFireBurst); @@ -1055,20 +832,6 @@ public: #endif } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL CanDeploy_(); - BOOL Deploy_(); - void Holster_(int skiplocal); - void PrimaryAttack_(); - void SecondaryAttack_(); - void WeaponIdle_(); - -#endif - public: bool ShieldSecondaryFire(int iUpAnim, int iDownAnim); void SetPlayerShieldAnim(); @@ -1101,19 +864,6 @@ public: } virtual void WeaponIdle(); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - void Holster_(int skiplocal); - void PrimaryAttack_(); - void SecondaryAttack_(); - void WeaponIdle_(); - -#endif - public: void EXPORT SwingAgain(); void EXPORT Smack(); @@ -1153,18 +903,6 @@ public: #endif } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - void PrimaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: void M249Fire(float flSpread, float flCycleTime, BOOL fUseAutoAim); @@ -1196,18 +934,6 @@ public: #endif } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - void PrimaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: int m_iShell; float m_flPumpTime; @@ -1238,20 +964,6 @@ public: #endif } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - float GetMaxSpeed_(); - void PrimaryAttack_(); - void SecondaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: void M4A1Fire(float flSpread, float flCycleTime, BOOL fUseAutoAim); @@ -1283,18 +995,6 @@ public: #endif } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - void PrimaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: void MAC10Fire(float flSpread, float flCycleTime, BOOL fUseAutoAim); @@ -1328,19 +1028,6 @@ public: } virtual BOOL IsPistol() { return TRUE; } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - void PrimaryAttack_(); - void SecondaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: void P228Fire(float flSpread, float flCycleTime, BOOL fUseSemi); void MakeBeam(); @@ -1374,19 +1061,6 @@ public: #endif } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - float GetMaxSpeed_(); - void PrimaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: void P90Fire(float flSpread, float flCycleTime, BOOL fUseAutoAim); @@ -1419,20 +1093,6 @@ public: #endif } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - float GetMaxSpeed_(); - void PrimaryAttack_(); - void SecondaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: void SCOUTFire(float flSpread, float flCycleTime, BOOL fUseAutoAim); int m_iShell; @@ -1465,20 +1125,6 @@ public: #endif } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL CanDeploy_(); - BOOL Deploy_(); - void Holster_(int skiplocal); - void PrimaryAttack_(); - void SecondaryAttack_(); - void WeaponIdle_(); - -#endif - public: bool ShieldSecondaryFire(int iUpAnim, int iDownAnim); void SetPlayerShieldAnim(); @@ -1509,18 +1155,6 @@ public: #endif } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - void PrimaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: void TMPFire(float flSpread, float flCycleTime, BOOL fUseAutoAim); @@ -1553,18 +1187,6 @@ public: #endif } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - void PrimaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: int m_iShell; float m_flPumpTime; @@ -1595,18 +1217,6 @@ public: } virtual BOOL IsPistol() { return TRUE; } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - void PrimaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: void ELITEFire(float flSpread, float flCycleTime, BOOL fUseSemi); @@ -1640,19 +1250,6 @@ public: } virtual BOOL IsPistol() { return TRUE; } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - void PrimaryAttack_(); - void SecondaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: void FiveSevenFire(float flSpread, float flCycleTime, BOOL fUseSemi); void MakeBeam(); @@ -1686,18 +1283,6 @@ public: #endif } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - void PrimaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: void UMP45Fire(float flSpread, float flCycleTime, BOOL fUseAutoAim); @@ -1730,20 +1315,6 @@ public: #endif } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - float GetMaxSpeed_(); - void PrimaryAttack_(); - void SecondaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: void SG550Fire(float flSpread, float flCycleTime, BOOL fUseAutoAim); int m_iShell; @@ -1774,19 +1345,6 @@ public: #endif } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - void PrimaryAttack_(); - void SecondaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: void GalilFire(float flSpread, float flCycleTime, BOOL fUseAutoAim); @@ -1820,19 +1378,6 @@ public: #endif } -#ifdef HOOK_GAMEDLL - - void Spawn_(); - void Precache_(); - int GetItemInfo_(ItemInfo *p); - BOOL Deploy_(); - void PrimaryAttack_(); - void SecondaryAttack_(); - void Reload_(); - void WeaponIdle_(); - -#endif - public: void FamasFire(float flSpread, float flCycleTime, BOOL fUseAutoAim, BOOL bFireBurst); diff --git a/regamedll/dlls/world.cpp b/regamedll/dlls/world.cpp index 0ddaec24..3ff8cd23 100644 --- a/regamedll/dlls/world.cpp +++ b/regamedll/dlls/world.cpp @@ -414,7 +414,7 @@ void EXT_FUNC ResetGlobalState() LINK_ENTITY_TO_CLASS(worldspawn, CWorld, CCSWorld) -void CWorld::__MAKE_VHOOK(Spawn)() +void CWorld::Spawn() { #ifdef REGAMEDLL_FIXES static char szMapBriefingFile[64] = ""; @@ -483,7 +483,7 @@ void CWorld::__MAKE_VHOOK(Spawn)() #endif } -void CWorld::__MAKE_VHOOK(Precache)() +void CWorld::Precache() { g_pLastSpawn = NULL; g_pLastCTSpawn = NULL; @@ -691,7 +691,7 @@ void CWorld::__MAKE_VHOOK(Precache)() gDisplayTitle = FALSE; } -void CWorld::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CWorld::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "skyname")) { diff --git a/regamedll/dlls/wpn_shared/wpn_ak47.cpp b/regamedll/dlls/wpn_shared/wpn_ak47.cpp index 71d87f52..73f065e6 100644 --- a/regamedll/dlls/wpn_shared/wpn_ak47.cpp +++ b/regamedll/dlls/wpn_shared/wpn_ak47.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_ak47, CAK47, CCSAK47) -void CAK47::__MAKE_VHOOK(Spawn)() +void CAK47::Spawn() { Precache(); @@ -16,7 +16,7 @@ void CAK47::__MAKE_VHOOK(Spawn)() FallInit(); } -void CAK47::__MAKE_VHOOK(Precache)() +void CAK47::Precache() { PRECACHE_MODEL("models/v_ak47.mdl"); PRECACHE_MODEL("models/w_ak47.mdl"); @@ -31,7 +31,7 @@ void CAK47::__MAKE_VHOOK(Precache)() m_usFireAK47 = PRECACHE_EVENT(1, "events/ak47.sc"); } -int CAK47::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CAK47::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "762Nato"; @@ -48,7 +48,7 @@ int CAK47::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CAK47::__MAKE_VHOOK(Deploy)() +BOOL CAK47::Deploy() { m_flAccuracy = 0.2f; m_iShotsFired = 0; @@ -57,12 +57,12 @@ BOOL CAK47::__MAKE_VHOOK(Deploy)() return DefaultDeploy("models/v_ak47.mdl", "models/p_ak47.mdl", AK47_DRAW, "ak47", UseDecrement() != FALSE); } -void CAK47::__MAKE_VHOOK(SecondaryAttack)() +void CAK47::SecondaryAttack() { ; } -void CAK47::__MAKE_VHOOK(PrimaryAttack)() +void CAK47::PrimaryAttack() { if (!(m_pPlayer->pev->flags & FL_ONGROUND)) { @@ -158,7 +158,7 @@ void CAK47::AK47Fire(float flSpread, float flCycleTime, BOOL fUseAutoAim) } } -void CAK47::__MAKE_VHOOK(Reload)() +void CAK47::Reload() { #ifdef REGAMEDLL_FIXES // to prevent reload if not enough ammo @@ -176,7 +176,7 @@ void CAK47::__MAKE_VHOOK(Reload)() } } -void CAK47::__MAKE_VHOOK(WeaponIdle)() +void CAK47::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_10DEGREES); diff --git a/regamedll/dlls/wpn_shared/wpn_aug.cpp b/regamedll/dlls/wpn_shared/wpn_aug.cpp index 590d1746..55b11146 100644 --- a/regamedll/dlls/wpn_shared/wpn_aug.cpp +++ b/regamedll/dlls/wpn_shared/wpn_aug.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_aug, CAUG, CCSAUG) -void CAUG::__MAKE_VHOOK(Spawn)() +void CAUG::Spawn() { Precache(); @@ -16,7 +16,7 @@ void CAUG::__MAKE_VHOOK(Spawn)() FallInit(); } -void CAUG::__MAKE_VHOOK(Precache)() +void CAUG::Precache() { PRECACHE_MODEL("models/v_aug.mdl"); PRECACHE_MODEL("models/w_aug.mdl"); @@ -32,7 +32,7 @@ void CAUG::__MAKE_VHOOK(Precache)() m_usFireAug = PRECACHE_EVENT(1, "events/aug.sc"); } -int CAUG::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CAUG::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "556Nato"; @@ -49,7 +49,7 @@ int CAUG::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CAUG::__MAKE_VHOOK(Deploy)() +BOOL CAUG::Deploy() { m_flAccuracy = 0.2f; m_iShotsFired = 0; @@ -58,7 +58,7 @@ BOOL CAUG::__MAKE_VHOOK(Deploy)() return DefaultDeploy("models/v_aug.mdl", "models/p_aug.mdl", AUG_DRAW, "carbine", UseDecrement() != FALSE); } -void CAUG::__MAKE_VHOOK(SecondaryAttack)() +void CAUG::SecondaryAttack() { if (m_pPlayer->m_iFOV == DEFAULT_FOV) m_pPlayer->pev->fov = m_pPlayer->m_iFOV = 55; @@ -68,7 +68,7 @@ void CAUG::__MAKE_VHOOK(SecondaryAttack)() m_flNextSecondaryAttack = UTIL_WeaponTimeBase() + 0.3f; } -void CAUG::__MAKE_VHOOK(PrimaryAttack)() +void CAUG::PrimaryAttack() { if (!(m_pPlayer->pev->flags & FL_ONGROUND)) { @@ -168,7 +168,7 @@ void CAUG::AUGFire(float flSpread, float flCycleTime, BOOL fUseAutoAim) } } -void CAUG::__MAKE_VHOOK(Reload)() +void CAUG::Reload() { if (m_pPlayer->ammo_556nato <= 0) return; @@ -188,7 +188,7 @@ void CAUG::__MAKE_VHOOK(Reload)() } } -void CAUG::__MAKE_VHOOK(WeaponIdle)() +void CAUG::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_10DEGREES); diff --git a/regamedll/dlls/wpn_shared/wpn_awp.cpp b/regamedll/dlls/wpn_shared/wpn_awp.cpp index 6ef5cf33..d62e2b37 100644 --- a/regamedll/dlls/wpn_shared/wpn_awp.cpp +++ b/regamedll/dlls/wpn_shared/wpn_awp.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_awp, CAWP, CCSAWP) -void CAWP::__MAKE_VHOOK(Spawn)() +void CAWP::Spawn() { Precache(); @@ -13,7 +13,7 @@ void CAWP::__MAKE_VHOOK(Spawn)() FallInit(); } -void CAWP::__MAKE_VHOOK(Precache)() +void CAWP::Precache() { PRECACHE_MODEL("models/v_awp.mdl"); PRECACHE_MODEL("models/w_awp.mdl"); @@ -32,7 +32,7 @@ void CAWP::__MAKE_VHOOK(Precache)() m_usFireAWP = PRECACHE_EVENT(1, "events/awp.sc"); } -int CAWP::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CAWP::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "338Magnum"; @@ -49,7 +49,7 @@ int CAWP::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CAWP::__MAKE_VHOOK(Deploy)() +BOOL CAWP::Deploy() { if (DefaultDeploy("models/v_awp.mdl", "models/p_awp.mdl", AWP_DRAW, "rifle", UseDecrement() != FALSE)) { @@ -63,7 +63,7 @@ BOOL CAWP::__MAKE_VHOOK(Deploy)() return FALSE; } -void CAWP::__MAKE_VHOOK(SecondaryAttack)() +void CAWP::SecondaryAttack() { switch (m_pPlayer->m_iFOV) { @@ -83,7 +83,7 @@ void CAWP::__MAKE_VHOOK(SecondaryAttack)() m_flNextSecondaryAttack = UTIL_WeaponTimeBase() + 0.3; } -void CAWP::__MAKE_VHOOK(PrimaryAttack)() +void CAWP::PrimaryAttack() { if (!(m_pPlayer->pev->flags & FL_ONGROUND)) { @@ -178,7 +178,7 @@ void CAWP::AWPFire(float flSpread, float flCycleTime, BOOL fUseAutoAim) m_pPlayer->pev->punchangle.x -= 2.0f; } -void CAWP::__MAKE_VHOOK(Reload)() +void CAWP::Reload() { if (m_pPlayer->ammo_338mag <= 0) return; @@ -197,7 +197,7 @@ void CAWP::__MAKE_VHOOK(Reload)() } } -void CAWP::__MAKE_VHOOK(WeaponIdle)() +void CAWP::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_10DEGREES); @@ -209,7 +209,7 @@ void CAWP::__MAKE_VHOOK(WeaponIdle)() } } -float CAWP::__MAKE_VHOOK(GetMaxSpeed)() +float CAWP::GetMaxSpeed() { if (m_pPlayer->m_iFOV == DEFAULT_FOV) return AWP_MAX_SPEED; diff --git a/regamedll/dlls/wpn_shared/wpn_c4.cpp b/regamedll/dlls/wpn_shared/wpn_c4.cpp index ae06d41e..985403fe 100644 --- a/regamedll/dlls/wpn_shared/wpn_c4.cpp +++ b/regamedll/dlls/wpn_shared/wpn_c4.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_c4, CC4, CCSC4) -void CC4::__MAKE_VHOOK(Spawn)() +void CC4::Spawn() { SET_MODEL(edict(), "models/w_backpack.mdl"); @@ -28,7 +28,7 @@ void CC4::__MAKE_VHOOK(Spawn)() pev->nextthink = UTIL_WeaponTimeBase() + 0.1f; } -void CC4::__MAKE_VHOOK(Precache)() +void CC4::Precache() { PRECACHE_MODEL("models/v_c4.mdl"); PRECACHE_MODEL("models/w_backpack.mdl"); @@ -36,7 +36,7 @@ void CC4::__MAKE_VHOOK(Precache)() PRECACHE_SOUND("weapons/c4_click.wav"); } -int CC4::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CC4::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "C4"; @@ -53,7 +53,7 @@ int CC4::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CC4::__MAKE_VHOOK(Deploy)() +BOOL CC4::Deploy() { pev->body = 0; @@ -69,7 +69,7 @@ BOOL CC4::__MAKE_VHOOK(Deploy)() return DefaultDeploy("models/v_c4.mdl", "models/p_c4.mdl", C4_DRAW, "c4", UseDecrement() != FALSE); } -void CC4::__MAKE_VHOOK(Holster)(int skiplocal) +void CC4::Holster(int skiplocal) { m_pPlayer->m_flNextAttack = UTIL_WeaponTimeBase() + 0.5f; m_bStartedArming = false; // stop arming sequence @@ -87,7 +87,7 @@ void CC4::__MAKE_VHOOK(Holster)(int skiplocal) } } -void CC4::__MAKE_VHOOK(PrimaryAttack)() +void CC4::PrimaryAttack() { if (m_pPlayer->m_rgAmmo[m_iPrimaryAmmoType] <= 0) return; @@ -243,7 +243,7 @@ void CC4::__MAKE_VHOOK(PrimaryAttack)() m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + RANDOM_FLOAT(10, 15); } -void CC4::__MAKE_VHOOK(WeaponIdle)() +void CC4::WeaponIdle() { if (m_bStartedArming) { @@ -276,7 +276,7 @@ void CC4::__MAKE_VHOOK(WeaponIdle)() } } -void CC4::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) +void CC4::KeyValue(KeyValueData *pkvd) { if (FStrEq(pkvd->szKeyName, "detonatedelay")) { @@ -299,7 +299,7 @@ void CC4::__MAKE_VHOOK(KeyValue)(KeyValueData *pkvd) } } -void CC4::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) +void CC4::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { if (m_pPlayer) return; @@ -335,7 +335,7 @@ void CC4::__MAKE_VHOOK(Use)(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_T } } -float CC4::__MAKE_VHOOK(GetMaxSpeed)() +float CC4::GetMaxSpeed() { return C4_MAX_SPEED; } diff --git a/regamedll/dlls/wpn_shared/wpn_deagle.cpp b/regamedll/dlls/wpn_shared/wpn_deagle.cpp index 0f938d10..3783f835 100644 --- a/regamedll/dlls/wpn_shared/wpn_deagle.cpp +++ b/regamedll/dlls/wpn_shared/wpn_deagle.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_deagle, CDEAGLE, CCSDEAGLE) -void CDEAGLE::__MAKE_VHOOK(Spawn)() +void CDEAGLE::Spawn() { Precache(); @@ -17,7 +17,7 @@ void CDEAGLE::__MAKE_VHOOK(Spawn)() FallInit(); } -void CDEAGLE::__MAKE_VHOOK(Precache)() +void CDEAGLE::Precache() { PRECACHE_MODEL("models/v_deagle.mdl"); PRECACHE_MODEL("models/shield/v_shield_deagle.mdl"); @@ -33,7 +33,7 @@ void CDEAGLE::__MAKE_VHOOK(Precache)() m_usFireDeagle = PRECACHE_EVENT(1, "events/deagle.sc"); } -int CDEAGLE::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CDEAGLE::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "50AE"; @@ -50,7 +50,7 @@ int CDEAGLE::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CDEAGLE::__MAKE_VHOOK(Deploy)() +BOOL CDEAGLE::Deploy() { m_flAccuracy = 0.9f; m_fMaxSpeed = DEAGLE_MAX_SPEED; @@ -63,7 +63,7 @@ BOOL CDEAGLE::__MAKE_VHOOK(Deploy)() return DefaultDeploy("models/v_deagle.mdl", "models/p_deagle.mdl", DEAGLE_DRAW, "onehanded", UseDecrement() != FALSE); } -void CDEAGLE::__MAKE_VHOOK(PrimaryAttack)() +void CDEAGLE::PrimaryAttack() { if (!(m_pPlayer->pev->flags & FL_ONGROUND)) { @@ -83,7 +83,7 @@ void CDEAGLE::__MAKE_VHOOK(PrimaryAttack)() } } -void CDEAGLE::__MAKE_VHOOK(SecondaryAttack)() +void CDEAGLE::SecondaryAttack() { ShieldSecondaryFire(SHIELDGUN_UP, SHIELDGUN_DOWN); } @@ -162,13 +162,13 @@ void CDEAGLE::DEAGLEFire(float flSpread, float flCycleTime, BOOL fUseSemi) { m_pPlayer->SetSuitUpdate("!HEV_AMO0", FALSE, FALSE); } - + m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 1.8f; m_pPlayer->pev->punchangle.x -= 2; ResetPlayerShieldAnim(); } -void CDEAGLE::__MAKE_VHOOK(Reload)() +void CDEAGLE::Reload() { if (m_pPlayer->ammo_50ae <= 0) return; @@ -180,7 +180,7 @@ void CDEAGLE::__MAKE_VHOOK(Reload)() } } -void CDEAGLE::__MAKE_VHOOK(WeaponIdle)() +void CDEAGLE::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_10DEGREES); diff --git a/regamedll/dlls/wpn_shared/wpn_elite.cpp b/regamedll/dlls/wpn_shared/wpn_elite.cpp index d31881ff..a5bc4ffc 100644 --- a/regamedll/dlls/wpn_shared/wpn_elite.cpp +++ b/regamedll/dlls/wpn_shared/wpn_elite.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_elite, CELITE, CCSELITE) -void CELITE::__MAKE_VHOOK(Spawn)() +void CELITE::Spawn() { Precache(); @@ -15,7 +15,7 @@ void CELITE::__MAKE_VHOOK(Spawn)() FallInit(); } -void CELITE::__MAKE_VHOOK(Precache)() +void CELITE::Precache() { PRECACHE_MODEL("models/v_elite.mdl"); PRECACHE_MODEL("models/w_elite.mdl"); @@ -34,7 +34,7 @@ void CELITE::__MAKE_VHOOK(Precache)() m_usFireELITE_RIGHT = PRECACHE_EVENT(1, "events/elite_right.sc"); } -int CELITE::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CELITE::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "9mm"; @@ -51,7 +51,7 @@ int CELITE::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CELITE::__MAKE_VHOOK(Deploy)() +BOOL CELITE::Deploy() { m_flAccuracy = 0.88f; @@ -63,7 +63,7 @@ BOOL CELITE::__MAKE_VHOOK(Deploy)() return DefaultDeploy("models/v_elite.mdl", "models/p_elite.mdl", ELITE_DRAW, "dualpistols", UseDecrement() != FALSE); } -void CELITE::__MAKE_VHOOK(PrimaryAttack)() +void CELITE::PrimaryAttack() { if (!(m_pPlayer->pev->flags & FL_ONGROUND)) { @@ -187,7 +187,7 @@ void CELITE::ELITEFire(float flSpread, float flCycleTime, BOOL fUseSemi) m_pPlayer->pev->punchangle.x -= 2.0f; } -void CELITE::__MAKE_VHOOK(Reload)() +void CELITE::Reload() { if (m_pPlayer->ammo_9mm <= 0) return; @@ -199,7 +199,7 @@ void CELITE::__MAKE_VHOOK(Reload)() } } -void CELITE::__MAKE_VHOOK(WeaponIdle)() +void CELITE::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_10DEGREES); diff --git a/regamedll/dlls/wpn_shared/wpn_famas.cpp b/regamedll/dlls/wpn_shared/wpn_famas.cpp index b2bf6c6e..9f63ff31 100644 --- a/regamedll/dlls/wpn_shared/wpn_famas.cpp +++ b/regamedll/dlls/wpn_shared/wpn_famas.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_famas, CFamas, CCSFamas) -void CFamas::__MAKE_VHOOK(Spawn)() +void CFamas::Spawn() { Precache(); @@ -16,7 +16,7 @@ void CFamas::__MAKE_VHOOK(Spawn)() FallInit(); } -void CFamas::__MAKE_VHOOK(Precache)() +void CFamas::Precache() { PRECACHE_MODEL("models/v_famas.mdl"); PRECACHE_MODEL("models/w_famas.mdl"); @@ -34,7 +34,7 @@ void CFamas::__MAKE_VHOOK(Precache)() m_usFireFamas = PRECACHE_EVENT(1, "events/famas.sc"); } -int CFamas::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CFamas::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "556Nato"; @@ -51,19 +51,19 @@ int CFamas::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CFamas::__MAKE_VHOOK(Deploy)() +BOOL CFamas::Deploy() { m_iShotsFired = 0; m_iFamasShotsFired = 0; m_flFamasShoot = 0; m_flAccuracy = 0.2f; - + iShellOn = 1; return DefaultDeploy("models/v_famas.mdl", "models/p_famas.mdl", FAMAS_DRAW, "carbine", UseDecrement() != FALSE); } -void CFamas::__MAKE_VHOOK(SecondaryAttack)() +void CFamas::SecondaryAttack() { if (m_iWeaponState & WPNSTATE_FAMAS_BURST_MODE) { @@ -79,7 +79,7 @@ void CFamas::__MAKE_VHOOK(SecondaryAttack)() m_flNextSecondaryAttack = UTIL_WeaponTimeBase() + 0.3f; } -void CFamas::__MAKE_VHOOK(PrimaryAttack)() +void CFamas::PrimaryAttack() { if (m_pPlayer->pev->waterlevel == 3) { @@ -201,7 +201,7 @@ void CFamas::FamasFire(float flSpread, float flCycleTime, BOOL fUseAutoAim, BOOL } } -void CFamas::__MAKE_VHOOK(Reload)() +void CFamas::Reload() { if (m_pPlayer->ammo_556nato <= 0) return; @@ -221,7 +221,7 @@ void CFamas::__MAKE_VHOOK(Reload)() } } -void CFamas::__MAKE_VHOOK(WeaponIdle)() +void CFamas::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_10DEGREES); diff --git a/regamedll/dlls/wpn_shared/wpn_fiveseven.cpp b/regamedll/dlls/wpn_shared/wpn_fiveseven.cpp index ce0b584f..6792d0a9 100644 --- a/regamedll/dlls/wpn_shared/wpn_fiveseven.cpp +++ b/regamedll/dlls/wpn_shared/wpn_fiveseven.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_fiveseven, CFiveSeven, CCSFiveSeven) -void CFiveSeven::__MAKE_VHOOK(Spawn)() +void CFiveSeven::Spawn() { Precache(); @@ -16,7 +16,7 @@ void CFiveSeven::__MAKE_VHOOK(Spawn)() FallInit(); } -void CFiveSeven::__MAKE_VHOOK(Precache)() +void CFiveSeven::Precache() { PRECACHE_MODEL("models/v_fiveseven.mdl"); PRECACHE_MODEL("models/w_fiveseven.mdl"); @@ -32,7 +32,7 @@ void CFiveSeven::__MAKE_VHOOK(Precache)() m_usFireFiveSeven = PRECACHE_EVENT(1, "events/fiveseven.sc"); } -int CFiveSeven::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CFiveSeven::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "57mm"; @@ -49,7 +49,7 @@ int CFiveSeven::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CFiveSeven::__MAKE_VHOOK(Deploy)() +BOOL CFiveSeven::Deploy() { m_flAccuracy = 0.92f; m_fMaxSpeed = FIVESEVEN_MAX_SPEED; @@ -62,7 +62,7 @@ BOOL CFiveSeven::__MAKE_VHOOK(Deploy)() return DefaultDeploy("models/v_fiveseven.mdl", "models/p_fiveseven.mdl", FIVESEVEN_DRAW, "onehanded", UseDecrement() != FALSE); } -void CFiveSeven::__MAKE_VHOOK(PrimaryAttack)() +void CFiveSeven::PrimaryAttack() { if (!(m_pPlayer->pev->flags & FL_ONGROUND)) { @@ -82,7 +82,7 @@ void CFiveSeven::__MAKE_VHOOK(PrimaryAttack)() } } -void CFiveSeven::__MAKE_VHOOK(SecondaryAttack)() +void CFiveSeven::SecondaryAttack() { ShieldSecondaryFire(SHIELDGUN_UP, SHIELDGUN_DOWN); } @@ -161,13 +161,13 @@ void CFiveSeven::FiveSevenFire(float flSpread, float flCycleTime, BOOL fUseSemi) { m_pPlayer->SetSuitUpdate("!HEV_AMO0", FALSE, FALSE); } - + m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 2.0f; m_pPlayer->pev->punchangle.x -= 2.0f; ResetPlayerShieldAnim(); } -void CFiveSeven::__MAKE_VHOOK(Reload)() +void CFiveSeven::Reload() { if (m_pPlayer->ammo_57mm <= 0) return; @@ -179,7 +179,7 @@ void CFiveSeven::__MAKE_VHOOK(Reload)() } } -void CFiveSeven::__MAKE_VHOOK(WeaponIdle)() +void CFiveSeven::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_10DEGREES); diff --git a/regamedll/dlls/wpn_shared/wpn_flashbang.cpp b/regamedll/dlls/wpn_shared/wpn_flashbang.cpp index 6470f087..489ba465 100644 --- a/regamedll/dlls/wpn_shared/wpn_flashbang.cpp +++ b/regamedll/dlls/wpn_shared/wpn_flashbang.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_flashbang, CFlashbang, CCSFlashbang) -void CFlashbang::__MAKE_VHOOK(Spawn)() +void CFlashbang::Spawn() { Precache(); @@ -20,7 +20,7 @@ void CFlashbang::__MAKE_VHOOK(Spawn)() FallInit(); } -void CFlashbang::__MAKE_VHOOK(Precache)() +void CFlashbang::Precache() { PRECACHE_MODEL("models/v_flashbang.mdl"); PRECACHE_MODEL("models/shield/v_shield_flashbang.mdl"); @@ -30,7 +30,7 @@ void CFlashbang::__MAKE_VHOOK(Precache)() PRECACHE_SOUND("weapons/pinpull.wav"); } -int CFlashbang::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CFlashbang::GetItemInfo(ItemInfo *p) { auto info = GetWeaponInfo(WEAPON_FLASHBANG); @@ -51,7 +51,7 @@ int CFlashbang::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CFlashbang::__MAKE_VHOOK(Deploy)() +BOOL CFlashbang::Deploy() { m_flReleaseThrow = -1.0f; m_fMaxSpeed = FLASHBANG_MAX_SPEED; @@ -65,7 +65,7 @@ BOOL CFlashbang::__MAKE_VHOOK(Deploy)() return DefaultDeploy("models/v_flashbang.mdl", "models/p_flashbang.mdl", FLASHBANG_DRAW, "grenade", UseDecrement() != FALSE); } -void CFlashbang::__MAKE_VHOOK(Holster)(int skiplocal) +void CFlashbang::Holster(int skiplocal) { m_pPlayer->m_flNextAttack = UTIL_WeaponTimeBase() + 0.5f; @@ -79,7 +79,7 @@ void CFlashbang::__MAKE_VHOOK(Holster)(int skiplocal) m_flReleaseThrow = -1.0f; } -void CFlashbang::__MAKE_VHOOK(PrimaryAttack)() +void CFlashbang::PrimaryAttack() { if (m_iWeaponState & WPNSTATE_SHIELD_DRAWN) { @@ -134,7 +134,7 @@ bool CFlashbang::ShieldSecondaryFire(int iUpAnim, int iDownAnim) return true; } -void CFlashbang::__MAKE_VHOOK(SecondaryAttack)() +void CFlashbang::SecondaryAttack() { ShieldSecondaryFire(SHIELDGUN_DRAW, SHIELDGUN_DRAWN_IDLE); } @@ -161,7 +161,7 @@ void CFlashbang::ResetPlayerShieldAnim() } } -void CFlashbang::__MAKE_VHOOK(WeaponIdle)() +void CFlashbang::WeaponIdle() { if (m_flReleaseThrow == 0 && m_flStartThrow != 0.0f) m_flReleaseThrow = gpGlobals->time; @@ -258,7 +258,7 @@ void CFlashbang::__MAKE_VHOOK(WeaponIdle)() } } -BOOL CFlashbang::__MAKE_VHOOK(CanDeploy)() +BOOL CFlashbang::CanDeploy() { return m_pPlayer->m_rgAmmo[m_iPrimaryAmmoType] != 0; } diff --git a/regamedll/dlls/wpn_shared/wpn_g3sg1.cpp b/regamedll/dlls/wpn_shared/wpn_g3sg1.cpp index b9cadec2..45eb908d 100644 --- a/regamedll/dlls/wpn_shared/wpn_g3sg1.cpp +++ b/regamedll/dlls/wpn_shared/wpn_g3sg1.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_g3sg1, CG3SG1, CCSG3SG1) -void CG3SG1::__MAKE_VHOOK(Spawn)() +void CG3SG1::Spawn() { Precache(); @@ -15,7 +15,7 @@ void CG3SG1::__MAKE_VHOOK(Spawn)() FallInit(); } -void CG3SG1::__MAKE_VHOOK(Precache)() +void CG3SG1::Precache() { PRECACHE_MODEL("models/v_g3sg1.mdl"); PRECACHE_MODEL("models/w_g3sg1.mdl"); @@ -30,7 +30,7 @@ void CG3SG1::__MAKE_VHOOK(Precache)() m_usFireG3SG1 = PRECACHE_EVENT(1, "events/g3sg1.sc"); } -int CG3SG1::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CG3SG1::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "762Nato"; @@ -47,13 +47,13 @@ int CG3SG1::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CG3SG1::__MAKE_VHOOK(Deploy)() +BOOL CG3SG1::Deploy() { m_flAccuracy = 0.2f; return DefaultDeploy("models/v_g3sg1.mdl", "models/p_g3sg1.mdl", G3SG1_DRAW, "mp5", UseDecrement() != FALSE); } -void CG3SG1::__MAKE_VHOOK(SecondaryAttack)() +void CG3SG1::SecondaryAttack() { switch (m_pPlayer->m_iFOV) { @@ -78,7 +78,7 @@ void CG3SG1::__MAKE_VHOOK(SecondaryAttack)() m_flNextSecondaryAttack = UTIL_WeaponTimeBase() + 0.3f; } -void CG3SG1::__MAKE_VHOOK(PrimaryAttack)() +void CG3SG1::PrimaryAttack() { if (!(m_pPlayer->pev->flags & FL_ONGROUND)) { @@ -176,7 +176,7 @@ void CG3SG1::G3SG1Fire(float flSpread, float flCycleTime, BOOL fUseAutoAim) m_pPlayer->pev->punchangle.y += UTIL_SharedRandomFloat(m_pPlayer->random_seed + 5, -0.75, 0.75); } -void CG3SG1::__MAKE_VHOOK(Reload)() +void CG3SG1::Reload() { if (m_pPlayer->ammo_762nato <= 0) return; @@ -194,7 +194,7 @@ void CG3SG1::__MAKE_VHOOK(Reload)() } } -void CG3SG1::__MAKE_VHOOK(WeaponIdle)() +void CG3SG1::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_10DEGREES); @@ -209,7 +209,7 @@ void CG3SG1::__MAKE_VHOOK(WeaponIdle)() } } -float CG3SG1::__MAKE_VHOOK(GetMaxSpeed)() +float CG3SG1::GetMaxSpeed() { return (m_pPlayer->m_iFOV == DEFAULT_FOV) ? G3SG1_MAX_SPEED : G3SG1_MAX_SPEED_ZOOM; } diff --git a/regamedll/dlls/wpn_shared/wpn_galil.cpp b/regamedll/dlls/wpn_shared/wpn_galil.cpp index d271fc26..65501870 100644 --- a/regamedll/dlls/wpn_shared/wpn_galil.cpp +++ b/regamedll/dlls/wpn_shared/wpn_galil.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_galil, CGalil, CCSGalil) -void CGalil::__MAKE_VHOOK(Spawn)() +void CGalil::Spawn() { Precache(); @@ -14,7 +14,7 @@ void CGalil::__MAKE_VHOOK(Spawn)() FallInit(); } -void CGalil::__MAKE_VHOOK(Precache)() +void CGalil::Precache() { PRECACHE_MODEL("models/v_galil.mdl"); PRECACHE_MODEL("models/w_galil.mdl"); @@ -29,7 +29,7 @@ void CGalil::__MAKE_VHOOK(Precache)() m_usFireGalil = PRECACHE_EVENT(1, "events/galil.sc"); } -int CGalil::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CGalil::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "556Nato"; @@ -46,7 +46,7 @@ int CGalil::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CGalil::__MAKE_VHOOK(Deploy)() +BOOL CGalil::Deploy() { m_flAccuracy = 0.2f; m_iShotsFired = 0; @@ -55,12 +55,12 @@ BOOL CGalil::__MAKE_VHOOK(Deploy)() return DefaultDeploy("models/v_galil.mdl", "models/p_galil.mdl", GALIL_DRAW, "ak47", UseDecrement() != FALSE); } -void CGalil::__MAKE_VHOOK(SecondaryAttack)() +void CGalil::SecondaryAttack() { ; } -void CGalil::__MAKE_VHOOK(PrimaryAttack)() +void CGalil::PrimaryAttack() { if (m_pPlayer->pev->waterlevel == 3) { @@ -163,7 +163,7 @@ void CGalil::GalilFire(float flSpread, float flCycleTime, BOOL fUseAutoAim) } } -void CGalil::__MAKE_VHOOK(Reload)() +void CGalil::Reload() { #ifdef REGAMEDLL_FIXES // to prevent reload if not enough ammo @@ -181,7 +181,7 @@ void CGalil::__MAKE_VHOOK(Reload)() } } -void CGalil::__MAKE_VHOOK(WeaponIdle)() +void CGalil::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_10DEGREES); diff --git a/regamedll/dlls/wpn_shared/wpn_glock18.cpp b/regamedll/dlls/wpn_shared/wpn_glock18.cpp index 150545ab..d3fec4da 100644 --- a/regamedll/dlls/wpn_shared/wpn_glock18.cpp +++ b/regamedll/dlls/wpn_shared/wpn_glock18.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_glock18, CGLOCK18, CCSGLOCK18) -void CGLOCK18::__MAKE_VHOOK(Spawn)() +void CGLOCK18::Spawn() { Precache(); @@ -20,7 +20,7 @@ void CGLOCK18::__MAKE_VHOOK(Spawn)() FallInit(); } -void CGLOCK18::__MAKE_VHOOK(Precache)() +void CGLOCK18::Precache() { PRECACHE_MODEL("models/v_glock18.mdl"); PRECACHE_MODEL("models/w_glock18.mdl"); @@ -40,7 +40,7 @@ void CGLOCK18::__MAKE_VHOOK(Precache)() m_usFireGlock18 = PRECACHE_EVENT(1, "events/glock18.sc"); } -int CGLOCK18::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CGLOCK18::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "9mm"; @@ -57,7 +57,7 @@ int CGLOCK18::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CGLOCK18::__MAKE_VHOOK(Deploy)() +BOOL CGLOCK18::Deploy() { m_iWeaponState &= ~WPNSTATE_SHIELD_DRAWN; @@ -82,7 +82,7 @@ BOOL CGLOCK18::__MAKE_VHOOK(Deploy)() return DefaultDeploy("models/v_glock18.mdl", "models/p_glock18.mdl", GLOCK18_DRAW2, "onehanded", UseDecrement() != FALSE); } -void CGLOCK18::__MAKE_VHOOK(SecondaryAttack)() +void CGLOCK18::SecondaryAttack() { if (ShieldSecondaryFire(GLOCK18_SHIELD_UP, GLOCK18_SHIELD_DOWN)) { @@ -99,11 +99,11 @@ void CGLOCK18::__MAKE_VHOOK(SecondaryAttack)() ClientPrint(m_pPlayer->pev, HUD_PRINTCENTER, "#Switch_To_BurstFire"); m_iWeaponState |= WPNSTATE_GLOCK18_BURST_MODE; } - + m_flNextSecondaryAttack = UTIL_WeaponTimeBase() + 0.3f; } -void CGLOCK18::__MAKE_VHOOK(PrimaryAttack)() +void CGLOCK18::PrimaryAttack() { if (m_iWeaponState & WPNSTATE_GLOCK18_BURST_MODE) { @@ -230,7 +230,7 @@ void CGLOCK18::GLOCK18Fire(float flSpread, float flCycleTime, BOOL bFireBurst) // HEV suit - indicate out of ammo condition m_pPlayer->SetSuitUpdate("!HEV_AMO0", FALSE, FALSE); } - + m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 2.5f; if (bFireBurst) @@ -243,7 +243,7 @@ void CGLOCK18::GLOCK18Fire(float flSpread, float flCycleTime, BOOL bFireBurst) ResetPlayerShieldAnim(); } -void CGLOCK18::__MAKE_VHOOK(Reload)() +void CGLOCK18::Reload() { int iResult; if (m_pPlayer->ammo_9mm <= 0) @@ -263,7 +263,7 @@ void CGLOCK18::__MAKE_VHOOK(Reload)() } } -void CGLOCK18::__MAKE_VHOOK(WeaponIdle)() +void CGLOCK18::WeaponIdle() { int iAnim; float flRand; diff --git a/regamedll/dlls/wpn_shared/wpn_hegrenade.cpp b/regamedll/dlls/wpn_shared/wpn_hegrenade.cpp index b351cd35..52014d8c 100644 --- a/regamedll/dlls/wpn_shared/wpn_hegrenade.cpp +++ b/regamedll/dlls/wpn_shared/wpn_hegrenade.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_hegrenade, CHEGrenade, CCSHEGrenade) -void CHEGrenade::__MAKE_VHOOK(Spawn)() +void CHEGrenade::Spawn() { Precache(); @@ -20,7 +20,7 @@ void CHEGrenade::__MAKE_VHOOK(Spawn)() FallInit(); } -void CHEGrenade::__MAKE_VHOOK(Precache)() +void CHEGrenade::Precache() { PRECACHE_MODEL("models/v_hegrenade.mdl"); PRECACHE_MODEL("models/shield/v_shield_hegrenade.mdl"); @@ -33,7 +33,7 @@ void CHEGrenade::__MAKE_VHOOK(Precache)() m_usCreateExplosion = PRECACHE_EVENT(1, "events/createexplo.sc"); } -int CHEGrenade::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CHEGrenade::GetItemInfo(ItemInfo *p) { auto info = GetWeaponInfo(WEAPON_HEGRENADE); @@ -54,7 +54,7 @@ int CHEGrenade::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CHEGrenade::__MAKE_VHOOK(Deploy)() +BOOL CHEGrenade::Deploy() { m_flReleaseThrow = -1.0f; m_fMaxSpeed = HEGRENADE_MAX_SPEED; @@ -68,7 +68,7 @@ BOOL CHEGrenade::__MAKE_VHOOK(Deploy)() return DefaultDeploy("models/v_hegrenade.mdl", "models/p_hegrenade.mdl", HEGRENADE_DRAW, "grenade", UseDecrement() != FALSE); } -void CHEGrenade::__MAKE_VHOOK(Holster)(int skiplocal) +void CHEGrenade::Holster(int skiplocal) { m_pPlayer->m_flNextAttack = UTIL_WeaponTimeBase() + 0.5f; @@ -82,7 +82,7 @@ void CHEGrenade::__MAKE_VHOOK(Holster)(int skiplocal) m_flReleaseThrow = -1.0f; } -void CHEGrenade::__MAKE_VHOOK(PrimaryAttack)() +void CHEGrenade::PrimaryAttack() { if (m_iWeaponState & WPNSTATE_SHIELD_DRAWN) { @@ -135,7 +135,7 @@ bool CHEGrenade::ShieldSecondaryFire(int iUpAnim, int iDownAnim) return true; } -void CHEGrenade::__MAKE_VHOOK(SecondaryAttack)() +void CHEGrenade::SecondaryAttack() { ShieldSecondaryFire(SHIELDGUN_DRAW, SHIELDGUN_DRAWN_IDLE); } @@ -162,7 +162,7 @@ void CHEGrenade::ResetPlayerShieldAnim() } } -void CHEGrenade::__MAKE_VHOOK(WeaponIdle)() +void CHEGrenade::WeaponIdle() { if (m_flReleaseThrow == 0 && m_flStartThrow != 0.0f) m_flReleaseThrow = gpGlobals->time; @@ -253,7 +253,7 @@ void CHEGrenade::__MAKE_VHOOK(WeaponIdle)() } } -BOOL CHEGrenade::__MAKE_VHOOK(CanDeploy)() +BOOL CHEGrenade::CanDeploy() { return m_pPlayer->m_rgAmmo[m_iPrimaryAmmoType] != 0; } diff --git a/regamedll/dlls/wpn_shared/wpn_knife.cpp b/regamedll/dlls/wpn_shared/wpn_knife.cpp index 20a25c5d..4c49bec9 100644 --- a/regamedll/dlls/wpn_shared/wpn_knife.cpp +++ b/regamedll/dlls/wpn_shared/wpn_knife.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_knife, CKnife, CCSKnife) -void CKnife::__MAKE_VHOOK(Spawn)() +void CKnife::Spawn() { Precache(); @@ -15,7 +15,7 @@ void CKnife::__MAKE_VHOOK(Spawn)() FallInit(); } -void CKnife::__MAKE_VHOOK(Precache)() +void CKnife::Precache() { PRECACHE_MODEL("models/v_knife.mdl"); PRECACHE_MODEL("models/shield/v_shield_knife.mdl"); @@ -34,7 +34,7 @@ void CKnife::__MAKE_VHOOK(Precache)() m_usKnife = PRECACHE_EVENT(1, "events/knife.sc"); } -int CKnife::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CKnife::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = NULL; @@ -54,7 +54,7 @@ int CKnife::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CKnife::__MAKE_VHOOK(Deploy)() +BOOL CKnife::Deploy() { EMIT_SOUND(m_pPlayer->edict(), CHAN_ITEM, "weapons/knife_deploy1.wav", 0.3, 2.4); @@ -72,7 +72,7 @@ BOOL CKnife::__MAKE_VHOOK(Deploy)() return DefaultDeploy("models/v_knife.mdl", "models/p_knife.mdl", KNIFE_DRAW, "knife", UseDecrement() != FALSE); } -void CKnife::__MAKE_VHOOK(Holster)(int skiplocal) +void CKnife::Holster(int skiplocal) { m_pPlayer->m_flNextAttack = UTIL_WeaponTimeBase() + 0.5f; } @@ -141,7 +141,7 @@ void FindHullIntersection(const Vector &vecSrc, TraceResult &tr, float *mins, fl } } -void CKnife::__MAKE_VHOOK(PrimaryAttack)() +void CKnife::PrimaryAttack() { Swing(TRUE); } @@ -211,7 +211,7 @@ bool CKnife::ShieldSecondaryFire(int iUpAnim, int iDownAnim) return true; } -void CKnife::__MAKE_VHOOK(SecondaryAttack)() +void CKnife::SecondaryAttack() { if (!ShieldSecondaryFire(KNIFE_SHIELD_UP, KNIFE_SHIELD_DOWN)) { @@ -230,7 +230,7 @@ void CKnife::SwingAgain() Swing(FALSE); } -void CKnife::__MAKE_VHOOK(WeaponIdle)() +void CKnife::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_10DEGREES); diff --git a/regamedll/dlls/wpn_shared/wpn_m249.cpp b/regamedll/dlls/wpn_shared/wpn_m249.cpp index 2aaf8548..d6cb0882 100644 --- a/regamedll/dlls/wpn_shared/wpn_m249.cpp +++ b/regamedll/dlls/wpn_shared/wpn_m249.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_m249, CM249, CCSM249) -void CM249::__MAKE_VHOOK(Spawn)() +void CM249::Spawn() { Precache(); @@ -16,7 +16,7 @@ void CM249::__MAKE_VHOOK(Spawn)() FallInit(); } -void CM249::__MAKE_VHOOK(Precache)() +void CM249::Precache() { PRECACHE_MODEL("models/v_m249.mdl"); PRECACHE_MODEL("models/w_m249.mdl"); @@ -33,7 +33,7 @@ void CM249::__MAKE_VHOOK(Precache)() m_usFireM249 = PRECACHE_EVENT(1, "events/m249.sc"); } -int CM249::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CM249::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "556NatoBox"; @@ -50,7 +50,7 @@ int CM249::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CM249::__MAKE_VHOOK(Deploy)() +BOOL CM249::Deploy() { m_flAccuracy = 0.2f; m_iShotsFired = 0; @@ -59,7 +59,7 @@ BOOL CM249::__MAKE_VHOOK(Deploy)() return DefaultDeploy("models/v_m249.mdl", "models/p_m249.mdl", M249_DRAW, "m249", UseDecrement() != FALSE); } -void CM249::__MAKE_VHOOK(PrimaryAttack)() +void CM249::PrimaryAttack() { if (!(m_pPlayer->pev->flags & FL_ONGROUND)) { @@ -155,7 +155,7 @@ void CM249::M249Fire(float flSpread, float flCycleTime, BOOL fUseAutoAim) } } -void CM249::__MAKE_VHOOK(Reload)() +void CM249::Reload() { #ifdef REGAMEDLL_FIXES // to prevent reload if not enough ammo @@ -173,7 +173,7 @@ void CM249::__MAKE_VHOOK(Reload)() } } -void CM249::__MAKE_VHOOK(WeaponIdle)() +void CM249::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_10DEGREES); diff --git a/regamedll/dlls/wpn_shared/wpn_m3.cpp b/regamedll/dlls/wpn_shared/wpn_m3.cpp index ff5b4852..1471e742 100644 --- a/regamedll/dlls/wpn_shared/wpn_m3.cpp +++ b/regamedll/dlls/wpn_shared/wpn_m3.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_m3, CM3, CCSM3) -void CM3::__MAKE_VHOOK(Spawn)() +void CM3::Spawn() { Precache(); @@ -14,7 +14,7 @@ void CM3::__MAKE_VHOOK(Spawn)() FallInit(); } -void CM3::__MAKE_VHOOK(Precache)() +void CM3::Precache() { PRECACHE_MODEL("models/v_m3.mdl"); PRECACHE_MODEL("models/w_m3.mdl"); @@ -30,7 +30,7 @@ void CM3::__MAKE_VHOOK(Precache)() m_usFireM3 = PRECACHE_EVENT(1, "events/m3.sc"); } -int CM3::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CM3::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "buckshot"; @@ -47,12 +47,12 @@ int CM3::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CM3::__MAKE_VHOOK(Deploy)() +BOOL CM3::Deploy() { return DefaultDeploy("models/v_m3.mdl", "models/p_m3.mdl", M3_DRAW, "shotgun", UseDecrement() != FALSE); } -void CM3::__MAKE_VHOOK(PrimaryAttack)() +void CM3::PrimaryAttack() { Vector vecAiming, vecSrc, vecDir; int flag; @@ -133,7 +133,7 @@ void CM3::__MAKE_VHOOK(PrimaryAttack)() m_pPlayer->m_flEjectBrass = gpGlobals->time + 0.45f; } -void CM3::__MAKE_VHOOK(Reload)() +void CM3::Reload() { if (m_pPlayer->m_rgAmmo[m_iPrimaryAmmoType] <= 0 || m_iClip == iMaxClip()) return; @@ -179,7 +179,7 @@ void CM3::__MAKE_VHOOK(Reload)() } } -void CM3::__MAKE_VHOOK(WeaponIdle)() +void CM3::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_5DEGREES); diff --git a/regamedll/dlls/wpn_shared/wpn_m4a1.cpp b/regamedll/dlls/wpn_shared/wpn_m4a1.cpp index 6da0f6fa..864ef2fb 100644 --- a/regamedll/dlls/wpn_shared/wpn_m4a1.cpp +++ b/regamedll/dlls/wpn_shared/wpn_m4a1.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_m4a1, CM4A1, CCSM4A1) -void CM4A1::__MAKE_VHOOK(Spawn)() +void CM4A1::Spawn() { Precache(); @@ -17,7 +17,7 @@ void CM4A1::__MAKE_VHOOK(Spawn)() FallInit(); } -void CM4A1::__MAKE_VHOOK(Precache)() +void CM4A1::Precache() { PRECACHE_MODEL("models/v_m4a1.mdl"); PRECACHE_MODEL("models/w_m4a1.mdl"); @@ -36,7 +36,7 @@ void CM4A1::__MAKE_VHOOK(Precache)() m_usFireM4A1 = PRECACHE_EVENT(1, "events/m4a1.sc"); } -int CM4A1::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CM4A1::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "556Nato"; @@ -53,7 +53,7 @@ int CM4A1::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CM4A1::__MAKE_VHOOK(Deploy)() +BOOL CM4A1::Deploy() { m_bDelayFire = true; m_flAccuracy = 0.2f; @@ -67,7 +67,7 @@ BOOL CM4A1::__MAKE_VHOOK(Deploy)() return DefaultDeploy("models/v_m4a1.mdl", "models/p_m4a1.mdl", M4A1_UNSIL_DRAW, "rifle", UseDecrement() != FALSE); } -void CM4A1::__MAKE_VHOOK(SecondaryAttack)() +void CM4A1::SecondaryAttack() { if (m_iWeaponState & WPNSTATE_M4A1_SILENCED) { @@ -86,7 +86,7 @@ void CM4A1::__MAKE_VHOOK(SecondaryAttack)() m_flNextPrimaryAttack = GetNextAttackDelay(2.0); } -void CM4A1::__MAKE_VHOOK(PrimaryAttack)() +void CM4A1::PrimaryAttack() { if (m_iWeaponState & WPNSTATE_M4A1_SILENCED) { @@ -213,7 +213,7 @@ void CM4A1::M4A1Fire(float flSpread, float flCycleTime, BOOL fUseAutoAim) } } -void CM4A1::__MAKE_VHOOK(Reload)() +void CM4A1::Reload() { if (m_pPlayer->ammo_556nato <= 0) return; @@ -228,7 +228,7 @@ void CM4A1::__MAKE_VHOOK(Reload)() } } -void CM4A1::__MAKE_VHOOK(WeaponIdle)() +void CM4A1::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_10DEGREES); @@ -242,7 +242,7 @@ void CM4A1::__MAKE_VHOOK(WeaponIdle)() SendWeaponAnim((m_iWeaponState & WPNSTATE_M4A1_SILENCED) == WPNSTATE_M4A1_SILENCED ? M4A1_IDLE : M4A1_UNSIL_IDLE, UseDecrement() != FALSE); } -float CM4A1::__MAKE_VHOOK(GetMaxSpeed)() +float CM4A1::GetMaxSpeed() { return M4A1_MAX_SPEED; } diff --git a/regamedll/dlls/wpn_shared/wpn_mac10.cpp b/regamedll/dlls/wpn_shared/wpn_mac10.cpp index a6a4fc17..fcffae62 100644 --- a/regamedll/dlls/wpn_shared/wpn_mac10.cpp +++ b/regamedll/dlls/wpn_shared/wpn_mac10.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_mac10, CMAC10, CCSMAC10) -void CMAC10::__MAKE_VHOOK(Spawn)() +void CMAC10::Spawn() { Precache(); @@ -16,7 +16,7 @@ void CMAC10::__MAKE_VHOOK(Spawn)() FallInit(); } -void CMAC10::__MAKE_VHOOK(Precache)() +void CMAC10::Precache() { PRECACHE_MODEL("models/v_mac10.mdl"); PRECACHE_MODEL("models/w_mac10.mdl"); @@ -30,7 +30,7 @@ void CMAC10::__MAKE_VHOOK(Precache)() m_usFireMAC10 = PRECACHE_EVENT(1, "events/mac10.sc"); } -int CMAC10::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CMAC10::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "45acp"; @@ -47,7 +47,7 @@ int CMAC10::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CMAC10::__MAKE_VHOOK(Deploy)() +BOOL CMAC10::Deploy() { m_flAccuracy = 0.15f; iShellOn = 1; @@ -56,7 +56,7 @@ BOOL CMAC10::__MAKE_VHOOK(Deploy)() return DefaultDeploy("models/v_mac10.mdl", "models/p_mac10.mdl", MAC10_DRAW, "onehanded", UseDecrement() != FALSE); } -void CMAC10::__MAKE_VHOOK(PrimaryAttack)() +void CMAC10::PrimaryAttack() { if (!(m_pPlayer->pev->flags & FL_ONGROUND)) { @@ -148,7 +148,7 @@ void CMAC10::MAC10Fire(float flSpread, float flCycleTime, BOOL fUseAutoAim) } } -void CMAC10::__MAKE_VHOOK(Reload)() +void CMAC10::Reload() { if (m_pPlayer->ammo_45acp <= 0) return; @@ -162,7 +162,7 @@ void CMAC10::__MAKE_VHOOK(Reload)() } } -void CMAC10::__MAKE_VHOOK(WeaponIdle)() +void CMAC10::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_10DEGREES); diff --git a/regamedll/dlls/wpn_shared/wpn_mp5navy.cpp b/regamedll/dlls/wpn_shared/wpn_mp5navy.cpp index 0cfd30cf..8bd52293 100644 --- a/regamedll/dlls/wpn_shared/wpn_mp5navy.cpp +++ b/regamedll/dlls/wpn_shared/wpn_mp5navy.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_mp5navy, CMP5N, CCSMP5N) -void CMP5N::__MAKE_VHOOK(Spawn)() +void CMP5N::Spawn() { Precache(); @@ -16,7 +16,7 @@ void CMP5N::__MAKE_VHOOK(Spawn)() FallInit(); } -void CMP5N::__MAKE_VHOOK(Precache)() +void CMP5N::Precache() { PRECACHE_MODEL("models/v_mp5.mdl"); PRECACHE_MODEL("models/w_mp5.mdl"); @@ -31,7 +31,7 @@ void CMP5N::__MAKE_VHOOK(Precache)() m_usFireMP5N = PRECACHE_EVENT(1, "events/mp5n.sc"); } -int CMP5N::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CMP5N::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "9mm"; @@ -48,7 +48,7 @@ int CMP5N::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CMP5N::__MAKE_VHOOK(Deploy)() +BOOL CMP5N::Deploy() { m_flAccuracy = 0.0f; m_bDelayFire = false; @@ -57,7 +57,7 @@ BOOL CMP5N::__MAKE_VHOOK(Deploy)() return DefaultDeploy("models/v_mp5.mdl", "models/p_mp5.mdl", MP5N_DRAW, "mp5", UseDecrement() != FALSE); } -void CMP5N::__MAKE_VHOOK(PrimaryAttack)() +void CMP5N::PrimaryAttack() { if (!(m_pPlayer->pev->flags & FL_ONGROUND)) { @@ -149,7 +149,7 @@ void CMP5N::MP5NFire(float flSpread, float flCycleTime, BOOL fUseAutoAim) } } -void CMP5N::__MAKE_VHOOK(Reload)() +void CMP5N::Reload() { if (m_pPlayer->ammo_9mm <= 0) return; @@ -163,7 +163,7 @@ void CMP5N::__MAKE_VHOOK(Reload)() } } -void CMP5N::__MAKE_VHOOK(WeaponIdle)() +void CMP5N::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_10DEGREES); diff --git a/regamedll/dlls/wpn_shared/wpn_p228.cpp b/regamedll/dlls/wpn_shared/wpn_p228.cpp index 6b45afe0..954e9aeb 100644 --- a/regamedll/dlls/wpn_shared/wpn_p228.cpp +++ b/regamedll/dlls/wpn_shared/wpn_p228.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_p228, CP228, CCSP228) -void CP228::__MAKE_VHOOK(Spawn)() +void CP228::Spawn() { Precache(); @@ -16,7 +16,7 @@ void CP228::__MAKE_VHOOK(Spawn)() FallInit(); } -void CP228::__MAKE_VHOOK(Precache)() +void CP228::Precache() { PRECACHE_MODEL("models/v_p228.mdl"); PRECACHE_MODEL("models/w_p228.mdl"); @@ -32,7 +32,7 @@ void CP228::__MAKE_VHOOK(Precache)() m_usFireP228 = PRECACHE_EVENT(1, "events/p228.sc"); } -int CP228::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CP228::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "357SIG"; @@ -49,7 +49,7 @@ int CP228::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CP228::__MAKE_VHOOK(Deploy)() +BOOL CP228::Deploy() { m_flAccuracy = 0.9f; m_fMaxSpeed = P228_MAX_SPEED; @@ -62,7 +62,7 @@ BOOL CP228::__MAKE_VHOOK(Deploy)() return DefaultDeploy("models/v_p228.mdl", "models/p_p228.mdl", P228_DRAW, "onehanded", UseDecrement() != FALSE); } -void CP228::__MAKE_VHOOK(PrimaryAttack)() +void CP228::PrimaryAttack() { if (!(m_pPlayer->pev->flags & FL_ONGROUND)) { @@ -82,7 +82,7 @@ void CP228::__MAKE_VHOOK(PrimaryAttack)() } } -void CP228::__MAKE_VHOOK(SecondaryAttack)() +void CP228::SecondaryAttack() { ShieldSecondaryFire(SHIELDGUN_UP, SHIELDGUN_DOWN); } @@ -167,7 +167,7 @@ void CP228::P228Fire(float flSpread, float flCycleTime, BOOL fUseSemi) ResetPlayerShieldAnim(); } -void CP228::__MAKE_VHOOK(Reload)() +void CP228::Reload() { if (m_pPlayer->ammo_357sig <= 0) return; @@ -179,7 +179,7 @@ void CP228::__MAKE_VHOOK(Reload)() } } -void CP228::__MAKE_VHOOK(WeaponIdle)() +void CP228::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_10DEGREES); diff --git a/regamedll/dlls/wpn_shared/wpn_p90.cpp b/regamedll/dlls/wpn_shared/wpn_p90.cpp index 391c64ce..67404e74 100644 --- a/regamedll/dlls/wpn_shared/wpn_p90.cpp +++ b/regamedll/dlls/wpn_shared/wpn_p90.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_p90, CP90, CCSP90) -void CP90::__MAKE_VHOOK(Spawn)() +void CP90::Spawn() { Precache(); @@ -17,7 +17,7 @@ void CP90::__MAKE_VHOOK(Spawn)() FallInit(); } -void CP90::__MAKE_VHOOK(Precache)() +void CP90::Precache() { PRECACHE_MODEL("models/v_p90.mdl"); PRECACHE_MODEL("models/w_p90.mdl"); @@ -32,7 +32,7 @@ void CP90::__MAKE_VHOOK(Precache)() m_usFireP90 = PRECACHE_EVENT(1, "events/p90.sc"); } -int CP90::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CP90::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "57mm"; @@ -49,7 +49,7 @@ int CP90::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CP90::__MAKE_VHOOK(Deploy)() +BOOL CP90::Deploy() { m_iShotsFired = 0; m_bDelayFire = false; @@ -60,7 +60,7 @@ BOOL CP90::__MAKE_VHOOK(Deploy)() return DefaultDeploy("models/v_p90.mdl", "models/p_p90.mdl", P90_DRAW, "carbine", UseDecrement() != FALSE); } -void CP90::__MAKE_VHOOK(PrimaryAttack)() +void CP90::PrimaryAttack() { if (!(m_pPlayer->pev->flags & FL_ONGROUND)) { @@ -155,7 +155,7 @@ void CP90::P90Fire(float flSpread, float flCycleTime, BOOL fUseAutoAim) } } -void CP90::__MAKE_VHOOK(Reload)() +void CP90::Reload() { if (m_pPlayer->ammo_57mm <= 0) return; @@ -169,7 +169,7 @@ void CP90::__MAKE_VHOOK(Reload)() } } -void CP90::__MAKE_VHOOK(WeaponIdle)() +void CP90::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_10DEGREES); @@ -183,7 +183,7 @@ void CP90::__MAKE_VHOOK(WeaponIdle)() SendWeaponAnim(P90_IDLE1, UseDecrement() != FALSE); } -float CP90::__MAKE_VHOOK(GetMaxSpeed)() +float CP90::GetMaxSpeed() { return P90_MAX_SPEED; } diff --git a/regamedll/dlls/wpn_shared/wpn_scout.cpp b/regamedll/dlls/wpn_shared/wpn_scout.cpp index 947132a1..ec550739 100644 --- a/regamedll/dlls/wpn_shared/wpn_scout.cpp +++ b/regamedll/dlls/wpn_shared/wpn_scout.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_scout, CSCOUT, CCSSCOUT) -void CSCOUT::__MAKE_VHOOK(Spawn)() +void CSCOUT::Spawn() { Precache(); @@ -14,7 +14,7 @@ void CSCOUT::__MAKE_VHOOK(Spawn)() FallInit(); } -void CSCOUT::__MAKE_VHOOK(Precache)() +void CSCOUT::Precache() { PRECACHE_MODEL("models/v_scout.mdl"); PRECACHE_MODEL("models/w_scout.mdl"); @@ -29,7 +29,7 @@ void CSCOUT::__MAKE_VHOOK(Precache)() m_usFireScout = PRECACHE_EVENT(1, "events/scout.sc"); } -int CSCOUT::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CSCOUT::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "762Nato"; @@ -46,7 +46,7 @@ int CSCOUT::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CSCOUT::__MAKE_VHOOK(Deploy)() +BOOL CSCOUT::Deploy() { if (DefaultDeploy("models/v_scout.mdl", "models/p_scout.mdl", SCOUT_DRAW, "rifle", UseDecrement() != FALSE)) { @@ -59,7 +59,7 @@ BOOL CSCOUT::__MAKE_VHOOK(Deploy)() return FALSE; } -void CSCOUT::__MAKE_VHOOK(SecondaryAttack)() +void CSCOUT::SecondaryAttack() { switch (m_pPlayer->m_iFOV) { @@ -83,7 +83,7 @@ void CSCOUT::__MAKE_VHOOK(SecondaryAttack)() m_flNextSecondaryAttack = UTIL_WeaponTimeBase() + 0.3; } -void CSCOUT::__MAKE_VHOOK(PrimaryAttack)() +void CSCOUT::PrimaryAttack() { if (!(m_pPlayer->pev->flags & FL_ONGROUND)) { @@ -171,7 +171,7 @@ void CSCOUT::SCOUTFire(float flSpread, float flCycleTime, BOOL fUseAutoAim) m_pPlayer->pev->punchangle.x -= 2.0f; } -void CSCOUT::__MAKE_VHOOK(Reload)() +void CSCOUT::Reload() { #ifdef REGAMEDLL_FIXES // to prevent reload if not enough ammo @@ -191,7 +191,7 @@ void CSCOUT::__MAKE_VHOOK(Reload)() } } -void CSCOUT::__MAKE_VHOOK(WeaponIdle)() +void CSCOUT::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_10DEGREES); @@ -208,7 +208,7 @@ void CSCOUT::__MAKE_VHOOK(WeaponIdle)() } } -float CSCOUT::__MAKE_VHOOK(GetMaxSpeed)() +float CSCOUT::GetMaxSpeed() { return (m_pPlayer->m_iFOV == DEFAULT_FOV) ? SCOUT_MAX_SPEED : SCOUT_MAX_SPEED_ZOOM; } diff --git a/regamedll/dlls/wpn_shared/wpn_sg550.cpp b/regamedll/dlls/wpn_shared/wpn_sg550.cpp index c13e745b..35de62f0 100644 --- a/regamedll/dlls/wpn_shared/wpn_sg550.cpp +++ b/regamedll/dlls/wpn_shared/wpn_sg550.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_sg550, CSG550, CCSSG550) -void CSG550::__MAKE_VHOOK(Spawn)() +void CSG550::Spawn() { Precache(); @@ -15,7 +15,7 @@ void CSG550::__MAKE_VHOOK(Spawn)() FallInit(); } -void CSG550::__MAKE_VHOOK(Precache)() +void CSG550::Precache() { PRECACHE_MODEL("models/v_sg550.mdl"); PRECACHE_MODEL("models/w_sg550.mdl"); @@ -30,7 +30,7 @@ void CSG550::__MAKE_VHOOK(Precache)() m_usFireSG550 = PRECACHE_EVENT(1, "events/sg550.sc"); } -int CSG550::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CSG550::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "556Nato"; @@ -47,12 +47,12 @@ int CSG550::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CSG550::__MAKE_VHOOK(Deploy)() +BOOL CSG550::Deploy() { return DefaultDeploy("models/v_sg550.mdl", "models/p_sg550.mdl", SG550_DRAW, "rifle", UseDecrement() != FALSE); } -void CSG550::__MAKE_VHOOK(SecondaryAttack)() +void CSG550::SecondaryAttack() { switch (m_pPlayer->m_iFOV) { @@ -77,7 +77,7 @@ void CSG550::__MAKE_VHOOK(SecondaryAttack)() m_flNextSecondaryAttack = UTIL_WeaponTimeBase() + 0.3; } -void CSG550::__MAKE_VHOOK(PrimaryAttack)() +void CSG550::PrimaryAttack() { if (!(m_pPlayer->pev->flags & FL_ONGROUND)) { @@ -171,7 +171,7 @@ void CSG550::SG550Fire(float flSpread, float flCycleTime, BOOL fUseAutoAim) m_pPlayer->pev->punchangle.y += UTIL_SharedRandomFloat(m_pPlayer->random_seed + 5, -0.75, 0.75); } -void CSG550::__MAKE_VHOOK(Reload)() +void CSG550::Reload() { if (m_pPlayer->ammo_556nato <= 0) return; @@ -188,7 +188,7 @@ void CSG550::__MAKE_VHOOK(Reload)() } } -void CSG550::__MAKE_VHOOK(WeaponIdle)() +void CSG550::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_10DEGREES); @@ -205,7 +205,7 @@ void CSG550::__MAKE_VHOOK(WeaponIdle)() } } -float CSG550::__MAKE_VHOOK(GetMaxSpeed)() +float CSG550::GetMaxSpeed() { return (m_pPlayer->m_iFOV == DEFAULT_FOV) ? SG550_MAX_SPEED : SG550_MAX_SPEED_ZOOM; } diff --git a/regamedll/dlls/wpn_shared/wpn_sg552.cpp b/regamedll/dlls/wpn_shared/wpn_sg552.cpp index 9482cf8b..299d7913 100644 --- a/regamedll/dlls/wpn_shared/wpn_sg552.cpp +++ b/regamedll/dlls/wpn_shared/wpn_sg552.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_sg552, CSG552, CCSSG552) -void CSG552::__MAKE_VHOOK(Spawn)() +void CSG552::Spawn() { Precache(); @@ -16,7 +16,7 @@ void CSG552::__MAKE_VHOOK(Spawn)() FallInit(); } -void CSG552::__MAKE_VHOOK(Precache)() +void CSG552::Precache() { PRECACHE_MODEL("models/v_sg552.mdl"); PRECACHE_MODEL("models/w_sg552.mdl"); @@ -31,7 +31,7 @@ void CSG552::__MAKE_VHOOK(Precache)() m_usFireSG552 = PRECACHE_EVENT(1, "events/sg552.sc"); } -int CSG552::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CSG552::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "556Nato"; @@ -48,7 +48,7 @@ int CSG552::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CSG552::__MAKE_VHOOK(Deploy)() +BOOL CSG552::Deploy() { m_flAccuracy = 0.2f; m_iShotsFired = 0; @@ -57,7 +57,7 @@ BOOL CSG552::__MAKE_VHOOK(Deploy)() return DefaultDeploy("models/v_sg552.mdl", "models/p_sg552.mdl", SG552_DRAW, "mp5", UseDecrement() != FALSE); } -void CSG552::__MAKE_VHOOK(SecondaryAttack)() +void CSG552::SecondaryAttack() { if (m_pPlayer->m_iFOV == DEFAULT_FOV) m_pPlayer->pev->fov = m_pPlayer->m_iFOV = 55; @@ -67,7 +67,7 @@ void CSG552::__MAKE_VHOOK(SecondaryAttack)() m_flNextSecondaryAttack = UTIL_WeaponTimeBase() + 0.3f; } -void CSG552::__MAKE_VHOOK(PrimaryAttack)() +void CSG552::PrimaryAttack() { if (!(m_pPlayer->pev->flags & FL_ONGROUND)) { @@ -167,7 +167,7 @@ void CSG552::SG552Fire(float flSpread, float flCycleTime, BOOL fUseAutoAim) } } -void CSG552::__MAKE_VHOOK(Reload)() +void CSG552::Reload() { if (m_pPlayer->ammo_556nato <= 0) return; @@ -186,7 +186,7 @@ void CSG552::__MAKE_VHOOK(Reload)() } } -void CSG552::__MAKE_VHOOK(WeaponIdle)() +void CSG552::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_10DEGREES); @@ -200,7 +200,7 @@ void CSG552::__MAKE_VHOOK(WeaponIdle)() SendWeaponAnim(SG552_IDLE1, UseDecrement() != FALSE); } -float CSG552::__MAKE_VHOOK(GetMaxSpeed)() +float CSG552::GetMaxSpeed() { if (m_pPlayer->m_iFOV == DEFAULT_FOV) return SG552_MAX_SPEED; diff --git a/regamedll/dlls/wpn_shared/wpn_smokegrenade.cpp b/regamedll/dlls/wpn_shared/wpn_smokegrenade.cpp index 9512f37d..273d559c 100644 --- a/regamedll/dlls/wpn_shared/wpn_smokegrenade.cpp +++ b/regamedll/dlls/wpn_shared/wpn_smokegrenade.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_smokegrenade, CSmokeGrenade, CCSSmokeGrenade) -void CSmokeGrenade::__MAKE_VHOOK(Spawn)() +void CSmokeGrenade::Spawn() { Precache(); @@ -20,7 +20,7 @@ void CSmokeGrenade::__MAKE_VHOOK(Spawn)() FallInit(); } -void CSmokeGrenade::__MAKE_VHOOK(Precache)() +void CSmokeGrenade::Precache() { PRECACHE_MODEL("models/v_smokegrenade.mdl"); PRECACHE_MODEL("models/shield/v_shield_smokegrenade.mdl"); @@ -31,7 +31,7 @@ void CSmokeGrenade::__MAKE_VHOOK(Precache)() m_usCreateSmoke = PRECACHE_EVENT(1, "events/createsmoke.sc"); } -int CSmokeGrenade::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CSmokeGrenade::GetItemInfo(ItemInfo *p) { auto info = GetWeaponInfo(WEAPON_SMOKEGRENADE); @@ -52,7 +52,7 @@ int CSmokeGrenade::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CSmokeGrenade::__MAKE_VHOOK(Deploy)() +BOOL CSmokeGrenade::Deploy() { m_iWeaponState &= ~WPNSTATE_SHIELD_DRAWN; @@ -67,10 +67,10 @@ BOOL CSmokeGrenade::__MAKE_VHOOK(Deploy)() return DefaultDeploy("models/v_smokegrenade.mdl", "models/p_smokegrenade.mdl", SMOKEGRENADE_DRAW, "grenade", UseDecrement() != FALSE); } -void CSmokeGrenade::__MAKE_VHOOK(Holster)(int skiplocal) +void CSmokeGrenade::Holster(int skiplocal) { m_pPlayer->m_flNextAttack = UTIL_WeaponTimeBase() + 0.5f; - + if (!m_pPlayer->m_rgAmmo[m_iPrimaryAmmoType]) { // no more smokegrenades! @@ -83,7 +83,7 @@ void CSmokeGrenade::__MAKE_VHOOK(Holster)(int skiplocal) m_flReleaseThrow = -1; } -void CSmokeGrenade::__MAKE_VHOOK(PrimaryAttack)() +void CSmokeGrenade::PrimaryAttack() { if (m_iWeaponState & WPNSTATE_SHIELD_DRAWN) return; @@ -136,7 +136,7 @@ bool CSmokeGrenade::ShieldSecondaryFire(int iUpAnim, int iDownAnim) return true; } -void CSmokeGrenade::__MAKE_VHOOK(SecondaryAttack)() +void CSmokeGrenade::SecondaryAttack() { ShieldSecondaryFire(SHIELDGUN_DRAW, SHIELDGUN_DRAWN_IDLE); } @@ -163,7 +163,7 @@ void CSmokeGrenade::ResetPlayerShieldAnim() } } -void CSmokeGrenade::__MAKE_VHOOK(WeaponIdle)() +void CSmokeGrenade::WeaponIdle() { if (m_flReleaseThrow == 0) m_flReleaseThrow = gpGlobals->time; @@ -267,7 +267,7 @@ void CSmokeGrenade::__MAKE_VHOOK(WeaponIdle)() } } -BOOL CSmokeGrenade::__MAKE_VHOOK(CanDeploy)() +BOOL CSmokeGrenade::CanDeploy() { return m_pPlayer->m_rgAmmo[m_iPrimaryAmmoType] != 0; } diff --git a/regamedll/dlls/wpn_shared/wpn_tmp.cpp b/regamedll/dlls/wpn_shared/wpn_tmp.cpp index 5fb4eb4f..9ee39faf 100644 --- a/regamedll/dlls/wpn_shared/wpn_tmp.cpp +++ b/regamedll/dlls/wpn_shared/wpn_tmp.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_tmp, CTMP, CCSTMP) -void CTMP::__MAKE_VHOOK(Spawn)() +void CTMP::Spawn() { Precache(); @@ -17,7 +17,7 @@ void CTMP::__MAKE_VHOOK(Spawn)() FallInit(); } -void CTMP::__MAKE_VHOOK(Precache)() +void CTMP::Precache() { PRECACHE_MODEL("models/v_tmp.mdl"); PRECACHE_MODEL("models/w_tmp.mdl"); @@ -29,7 +29,7 @@ void CTMP::__MAKE_VHOOK(Precache)() m_usFireTMP = PRECACHE_EVENT(1, "events/tmp.sc"); } -int CTMP::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CTMP::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "9mm"; @@ -46,7 +46,7 @@ int CTMP::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CTMP::__MAKE_VHOOK(Deploy)() +BOOL CTMP::Deploy() { m_flAccuracy = 0.2f; m_iShotsFired = 0; @@ -56,7 +56,7 @@ BOOL CTMP::__MAKE_VHOOK(Deploy)() return DefaultDeploy("models/v_tmp.mdl", "models/p_tmp.mdl", TMP_DRAW, "onehanded", UseDecrement() != FALSE); } -void CTMP::__MAKE_VHOOK(PrimaryAttack)() +void CTMP::PrimaryAttack() { if (!(m_pPlayer->pev->flags & FL_ONGROUND)) { @@ -146,7 +146,7 @@ void CTMP::TMPFire(float flSpread, float flCycleTime, BOOL fUseAutoAim) } } -void CTMP::__MAKE_VHOOK(Reload)() +void CTMP::Reload() { #ifdef REGAMEDLL_FIXES // to prevent reload if not enough ammo @@ -163,7 +163,7 @@ void CTMP::__MAKE_VHOOK(Reload)() } } -void CTMP::__MAKE_VHOOK(WeaponIdle)() +void CTMP::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_10DEGREES); diff --git a/regamedll/dlls/wpn_shared/wpn_ump45.cpp b/regamedll/dlls/wpn_shared/wpn_ump45.cpp index dc75225d..ef14cfa7 100644 --- a/regamedll/dlls/wpn_shared/wpn_ump45.cpp +++ b/regamedll/dlls/wpn_shared/wpn_ump45.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_ump45, CUMP45, CCSUMP45) -void CUMP45::__MAKE_VHOOK(Spawn)() +void CUMP45::Spawn() { Precache(); @@ -16,7 +16,7 @@ void CUMP45::__MAKE_VHOOK(Spawn)() FallInit(); } -void CUMP45::__MAKE_VHOOK(Precache)() +void CUMP45::Precache() { PRECACHE_MODEL("models/v_ump45.mdl"); PRECACHE_MODEL("models/w_ump45.mdl"); @@ -30,7 +30,7 @@ void CUMP45::__MAKE_VHOOK(Precache)() m_usFireUMP45 = PRECACHE_EVENT(1, "events/ump45.sc"); } -int CUMP45::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CUMP45::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); #ifdef REGAMEDLL_FIXES @@ -51,7 +51,7 @@ int CUMP45::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CUMP45::__MAKE_VHOOK(Deploy)() +BOOL CUMP45::Deploy() { m_flAccuracy = 0.0f; m_bDelayFire = false; @@ -60,7 +60,7 @@ BOOL CUMP45::__MAKE_VHOOK(Deploy)() return DefaultDeploy("models/v_ump45.mdl", "models/p_ump45.mdl", UMP45_DRAW, "carbine", UseDecrement() != FALSE); } -void CUMP45::__MAKE_VHOOK(PrimaryAttack)() +void CUMP45::PrimaryAttack() { if (!(m_pPlayer->pev->flags & FL_ONGROUND)) { @@ -152,7 +152,7 @@ void CUMP45::UMP45Fire(float flSpread, float flCycleTime, BOOL fUseAutoAim) } } -void CUMP45::__MAKE_VHOOK(Reload)() +void CUMP45::Reload() { if (m_pPlayer->ammo_45acp <= 0) return; @@ -166,7 +166,7 @@ void CUMP45::__MAKE_VHOOK(Reload)() } } -void CUMP45::__MAKE_VHOOK(WeaponIdle)() +void CUMP45::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_10DEGREES); diff --git a/regamedll/dlls/wpn_shared/wpn_usp.cpp b/regamedll/dlls/wpn_shared/wpn_usp.cpp index 1f444a81..c1b85b25 100644 --- a/regamedll/dlls/wpn_shared/wpn_usp.cpp +++ b/regamedll/dlls/wpn_shared/wpn_usp.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_usp, CUSP, CCSUSP) -void CUSP::__MAKE_VHOOK(Spawn)() +void CUSP::Spawn() { Precache(); @@ -16,7 +16,7 @@ void CUSP::__MAKE_VHOOK(Spawn)() FallInit(); } -void CUSP::__MAKE_VHOOK(Precache)() +void CUSP::Precache() { PRECACHE_MODEL("models/v_usp.mdl"); PRECACHE_MODEL("models/w_usp.mdl"); @@ -36,7 +36,7 @@ void CUSP::__MAKE_VHOOK(Precache)() m_usFireUSP = PRECACHE_EVENT(1, "events/usp.sc"); } -int CUSP::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CUSP::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); #ifdef REGAMEDLL_FIXES @@ -57,7 +57,7 @@ int CUSP::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CUSP::__MAKE_VHOOK(Deploy)() +BOOL CUSP::Deploy() { m_iWeaponState &= ~WPNSTATE_SHIELD_DRAWN; m_flAccuracy = 0.92f; @@ -77,7 +77,7 @@ BOOL CUSP::__MAKE_VHOOK(Deploy)() return DefaultDeploy("models/v_usp.mdl", "models/p_usp.mdl", USP_UNSIL_DRAW, "onehanded", UseDecrement()); } -void CUSP::__MAKE_VHOOK(SecondaryAttack)() +void CUSP::SecondaryAttack() { if (ShieldSecondaryFire(USP_SHIELD_UP, USP_SHIELD_DOWN)) { @@ -103,7 +103,7 @@ void CUSP::__MAKE_VHOOK(SecondaryAttack)() m_flNextPrimaryAttack = GetNextAttackDelay(3.0); } -void CUSP::__MAKE_VHOOK(PrimaryAttack)() +void CUSP::PrimaryAttack() { if (m_iWeaponState & WPNSTATE_USP_SILENCED) { @@ -226,13 +226,13 @@ void CUSP::USPFire(float flSpread, float flCycleTime, BOOL fUseSemi) { m_pPlayer->SetSuitUpdate("!HEV_AMO0", FALSE, FALSE); } - + m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 2.0f; m_pPlayer->pev->punchangle.x -= 2.0f; ResetPlayerShieldAnim(); } -void CUSP::__MAKE_VHOOK(Reload)() +void CUSP::Reload() { if (m_pPlayer->ammo_45acp <= 0) return; @@ -252,11 +252,11 @@ void CUSP::__MAKE_VHOOK(Reload)() } } -void CUSP::__MAKE_VHOOK(WeaponIdle)() +void CUSP::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_10DEGREES); - + if (m_flTimeWeaponIdle > 0) { return; diff --git a/regamedll/dlls/wpn_shared/wpn_xm1014.cpp b/regamedll/dlls/wpn_shared/wpn_xm1014.cpp index 038c1ef2..9e44940b 100644 --- a/regamedll/dlls/wpn_shared/wpn_xm1014.cpp +++ b/regamedll/dlls/wpn_shared/wpn_xm1014.cpp @@ -2,7 +2,7 @@ LINK_ENTITY_TO_CLASS(weapon_xm1014, CXM1014, CCSXM1014) -void CXM1014::__MAKE_VHOOK(Spawn)() +void CXM1014::Spawn() { Precache(); @@ -15,7 +15,7 @@ void CXM1014::__MAKE_VHOOK(Spawn)() FallInit(); } -void CXM1014::__MAKE_VHOOK(Precache)() +void CXM1014::Precache() { PRECACHE_MODEL("models/v_xm1014.mdl"); PRECACHE_MODEL("models/w_xm1014.mdl"); @@ -29,7 +29,7 @@ void CXM1014::__MAKE_VHOOK(Precache)() m_usFireXM1014 = PRECACHE_EVENT(1, "events/xm1014.sc"); } -int CXM1014::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) +int CXM1014::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); p->pszAmmo1 = "buckshot"; @@ -46,12 +46,12 @@ int CXM1014::__MAKE_VHOOK(GetItemInfo)(ItemInfo *p) return 1; } -BOOL CXM1014::__MAKE_VHOOK(Deploy)() +BOOL CXM1014::Deploy() { return DefaultDeploy("models/v_xm1014.mdl", "models/p_xm1014.mdl", XM1014_DRAW, "m249", UseDecrement() != FALSE); } -void CXM1014::__MAKE_VHOOK(PrimaryAttack)() +void CXM1014::PrimaryAttack() { Vector vecAiming, vecSrc, vecDir; int flag; @@ -67,7 +67,7 @@ void CXM1014::__MAKE_VHOOK(PrimaryAttack)() if (m_iClip <= 0) { Reload(); - + if (!m_iClip) { PlayEmptySound(); @@ -131,7 +131,7 @@ void CXM1014::__MAKE_VHOOK(PrimaryAttack)() m_pPlayer->pev->punchangle.x -= UTIL_SharedRandomLong(m_pPlayer->random_seed + 1, 7, 10); } -void CXM1014::__MAKE_VHOOK(Reload)() +void CXM1014::Reload() { if (m_pPlayer->m_rgAmmo[m_iPrimaryAmmoType] <= 0 || m_iClip == iMaxClip()) return; @@ -183,7 +183,7 @@ void CXM1014::__MAKE_VHOOK(Reload)() } } -void CXM1014::__MAKE_VHOOK(WeaponIdle)() +void CXM1014::WeaponIdle() { ResetEmptySound(); m_pPlayer->GetAutoaimVector(AUTOAIM_5DEGREES); diff --git a/regamedll/engine/osconfig.h b/regamedll/engine/osconfig.h index 3a5d7b48..bf1585e1 100644 --- a/regamedll/engine/osconfig.h +++ b/regamedll/engine/osconfig.h @@ -48,6 +48,7 @@ #include #ifdef _WIN32 // WINDOWS + #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers #include #include #include // for support IPX diff --git a/regamedll/extra/cssdk/dlls/bot/cs_bot_chatter.h b/regamedll/extra/cssdk/dlls/bot/cs_bot_chatter.h index 4f56b969..2e62a332 100644 --- a/regamedll/extra/cssdk/dlls/bot/cs_bot_chatter.h +++ b/regamedll/extra/cssdk/dlls/bot/cs_bot_chatter.h @@ -27,10 +27,10 @@ */ #pragma once -#define UNDEFINED_COUNT 0xFFFF -#define MAX_PLACES_PER_MAP 64 -#define UNDEFINED_SUBJECT (-1) -#define COUNT_MANY 4 // equal to or greater than this is "many" +#define UNDEFINED_COUNT 0xFFFF +#define MAX_PLACES_PER_MAP 64 +#define UNDEFINED_SUBJECT (-1) +#define COUNT_MANY 4 // equal to or greater than this is "many" class CCSBot; class BotChatterInterface; @@ -58,6 +58,7 @@ public: class BotHelpMeme: public BotMeme { public: virtual void Interpret(CCSBot *sender, CCSBot *receiver) const; // cause the given bot to act on this meme + public: Place m_place; }; @@ -65,9 +66,10 @@ public: class BotBombsiteStatusMeme: public BotMeme { public: virtual void Interpret(CCSBot *sender, CCSBot *receiver) const; // cause the given bot to act on this meme + public: enum StatusType { CLEAR, PLANTED }; - int m_zoneIndex; // the bombsite + int m_zoneIndex; // the bombsite StatusType m_status; // whether it is cleared or the bomb is there (planted) }; @@ -87,7 +89,8 @@ public: class BotDefendHereMeme: public BotMeme { public: - virtual void Interpret(CCSBot *sender, CCSBot *receiver) const; // cause the given bot to act on this meme + virtual void Interpret(CCSBot *sender, CCSBot *receiver) const; // cause the given bot to act on this meme + public: Vector m_pos; }; @@ -115,7 +118,7 @@ enum BotStatementType REPORT_MY_PLAN, REPORT_INFORMATION, REPORT_EMOTE, - REPORT_ACKNOWLEDGE, // affirmative or negative + REPORT_ACKNOWLEDGE, // affirmative or negative REPORT_ENEMIES_REMAINING, REPORT_FRIENDLY_FIRE, REPORT_KILLED_FRIEND, @@ -145,18 +148,19 @@ public: GameEventType GetRadioEquivalent() const { return m_radioEvent; } bool IsImportant() const { return m_isImportant; } // return true if this phrase is part of an important statement bool IsPlace() const { return m_isPlace; } + public: friend class BotPhraseManager; char *m_name; Place m_id; - bool m_isPlace; // true if this is a Place phrase + bool m_isPlace; // true if this is a Place phrase GameEventType m_radioEvent; - bool m_isImportant; // mission-critical statement + bool m_isImportant; // mission-critical statement - mutable BotVoiceBankVector m_voiceBank; // array of voice banks (arrays of speakables) - std::vector m_count; // number of speakables + mutable BotVoiceBankVector m_voiceBank; // array of voice banks (arrays of speakables) + std::vector m_count; // number of speakables mutable std::vector< int > m_index; // index of next speakable to return - int m_numVoiceBanks; // number of voice banks that have been initialized + int m_numVoiceBanks; // number of voice banks that have been initialized mutable PlaceCriteria m_placeCriteria; mutable CountCriteria m_countCriteria; @@ -244,11 +248,11 @@ public: BotChatterInterface *GetChatter() const { return m_chatter; } BotStatementType GetType() const { return m_type; } // return the type of statement this is bool HasSubject() const { return (m_subject != UNDEFINED_SUBJECT); } - void SetSubject(int playerID) { m_subject = playerID; } // who this statement is about + void SetSubject(int playerID) { m_subject = playerID; } // who this statement is about int GetSubject() const { return m_subject; } // who this statement is about void SetPlace(Place where) { m_place = where; } // explicitly set place - void SetStartTime(float timestamp) { m_startTime = timestamp; } // define the earliest time this statement can be spoken + void SetStartTime(float timestamp) { m_startTime = timestamp; } // define the earliest time this statement can be spoken float GetStartTime() const { return m_startTime; } bool IsSpeaking() const { return m_isSpeaking; } // return true if this statement is currently being spoken float GetTimestamp() const { return m_timestamp; } // get time statement was created (but not necessarily started talking) @@ -256,10 +260,9 @@ public: public: friend class BotChatterInterface; - BotChatterInterface *m_chatter; // the chatter system this statement is part of - BotStatement *m_next, *m_prev; // linked list hooks - - BotStatementType m_type; // what kind of statement this is + BotChatterInterface *m_chatter; // the chatter system this statement is part of + BotStatement *m_next, *m_prev; // linked list hooks + BotStatementType m_type; // what kind of statement this is int m_subject; // who this subject is about Place m_place; // explicit place - note some phrases have implicit places as well BotMeme *m_meme; // a statement can only have a single meme for now @@ -267,7 +270,7 @@ public: float m_timestamp; // time when message was created float m_startTime; // the earliest time this statement can be spoken float m_expireTime; // time when this statement is no longer valid - float m_speakTimestamp; // time when message began being spoken + float m_speakTimestamp; // time when message began being spoken bool m_isSpeaking; // true if this statement is current being spoken float m_nextTime; // time for next phrase to begin @@ -315,15 +318,14 @@ public: CCSBot *GetOwner() const { return m_me; } int GetPitch() const { return m_pitch; } bool SeesAtLeastOneEnemy() const { return m_seeAtLeastOneEnemy; } + public: - BotStatement *m_statementList; // list of all active/pending messages for this bot - void ReportEnemies(); // track nearby enemy count and generate enemy activity statements - bool ShouldSpeak() const; // return true if we speaking makes sense now + BotStatement *m_statementList; // list of all active/pending messages for this bot CCSBot *m_me; // the bot this chatter is for bool m_seeAtLeastOneEnemy; float m_timeWhenSawFirstEnemy; bool m_reportedEnemies; - bool m_requestedBombLocation; // true if we already asked where the bomb has been planted + bool m_requestedBombLocation; // true if we already asked where the bomb has been planted int m_pitch; IntervalTimer m_needBackupInterval; IntervalTimer m_spottedBomberInterval; diff --git a/regamedll/extra/cssdk/dlls/csbot_dll.h b/regamedll/extra/cssdk/dlls/csbot_dll.h index f96b7285..4620d053 100644 --- a/regamedll/extra/cssdk/dlls/csbot_dll.h +++ b/regamedll/extra/cssdk/dlls/csbot_dll.h @@ -31,7 +31,7 @@ #include "../game_shared/bot/bot_util.h" #include "../game_shared/bot/simple_state_machine.h" #include "../game_shared/steam_util.h" -#include "../game_shared/perf_counter.h" +#include "../game_shared/counter.h" #include "../game_shared/bot/bot_manager.h" #include "../game_shared/bot/bot_constants.h" #include "../game_shared/bot/bot.h" diff --git a/regamedll/extra/cssdk/dlls/gamerules.h b/regamedll/extra/cssdk/dlls/gamerules.h index 1555284f..56e1fea1 100644 --- a/regamedll/extra/cssdk/dlls/gamerules.h +++ b/regamedll/extra/cssdk/dlls/gamerules.h @@ -115,44 +115,44 @@ enum RewardRules // custom enum enum RewardAccount { - REWARD_TARGET_BOMB = 3500, - REWARD_VIP_ESCAPED = 3500, - REWARD_VIP_ASSASSINATED = 3250, - REWARD_TERRORISTS_ESCAPED = 3150, - REWARD_CTS_PREVENT_ESCAPE = 3500, - REWARD_ESCAPING_TERRORISTS_NEUTRALIZED = 3250, - REWARD_BOMB_DEFUSED = 3250, - REWARD_BOMB_PLANTED = 800, - REWARD_BOMB_EXPLODED = 3250, - REWARD_CTS_WIN = 3000, - REWARD_TERRORISTS_WIN = 3000, - REWARD_ALL_HOSTAGES_RESCUED = 2500, + REWARD_TARGET_BOMB = 3500, + REWARD_VIP_ESCAPED = 3500, + REWARD_VIP_ASSASSINATED = 3250, + REWARD_TERRORISTS_ESCAPED = 3150, + REWARD_CTS_PREVENT_ESCAPE = 3500, + REWARD_ESCAPING_TERRORISTS_NEUTRALIZED = 3250, + REWARD_BOMB_DEFUSED = 3250, + REWARD_BOMB_PLANTED = 800, + REWARD_BOMB_EXPLODED = 3250, + REWARD_CTS_WIN = 3000, + REWARD_TERRORISTS_WIN = 3000, + REWARD_ALL_HOSTAGES_RESCUED = 2500, // the end round was by the expiration time - REWARD_TARGET_BOMB_SAVED = 3250, - REWARD_HOSTAGE_NOT_RESCUED = 3250, - REWARD_VIP_NOT_ESCAPED = 3250, + REWARD_TARGET_BOMB_SAVED = 3250, + REWARD_HOSTAGE_NOT_RESCUED = 3250, + REWARD_VIP_NOT_ESCAPED = 3250, // loser bonus - REWARD_LOSER_BONUS_DEFAULT = 1400, - REWARD_LOSER_BONUS_MIN = 1500, - REWARD_LOSER_BONUS_MAX = 3000, - REWARD_LOSER_BONUS_ADD = 500, + REWARD_LOSER_BONUS_DEFAULT = 1400, + REWARD_LOSER_BONUS_MIN = 1500, + REWARD_LOSER_BONUS_MAX = 3000, + REWARD_LOSER_BONUS_ADD = 500, - REWARD_RESCUED_HOSTAGE = 750, - REWARD_KILLED_ENEMY = 300, - REWARD_KILLED_VIP = 2500, - REWARD_VIP_HAVE_SELF_RESCUED = 2500, + REWARD_RESCUED_HOSTAGE = 750, + REWARD_KILLED_ENEMY = 300, + REWARD_KILLED_VIP = 2500, + REWARD_VIP_HAVE_SELF_RESCUED = 2500, - REWARD_TAKEN_HOSTAGE = 1000, - REWARD_TOOK_HOSTAGE_ACC = 100, - REWARD_TOOK_HOSTAGE = 150, + REWARD_TAKEN_HOSTAGE = 1000, + REWARD_TOOK_HOSTAGE_ACC = 100, + REWARD_TOOK_HOSTAGE = 150, }; // custom enum enum PaybackForBadThing { - PAYBACK_FOR_KILLED_TEAMMATES = -3300, + PAYBACK_FOR_KILLED_TEAMMATES = -3300, }; // custom enum @@ -190,13 +190,13 @@ enum // custom enum enum { - SCENARIO_BLOCK_TIME_EXPRIRED = (1 << 0), // flag "a" - SCENARIO_BLOCK_NEED_PLAYERS = (1 << 1), // flag "b" - SCENARIO_BLOCK_VIP_ESCAPE = (1 << 2), // flag "c" - SCENARIO_BLOCK_PRISON_ESCAPE = (1 << 3), // flag "d" - SCENARIO_BLOCK_BOMB = (1 << 4), // flag "e" - SCENARIO_BLOCK_TEAM_EXTERMINATION = (1 << 5), // flag "f" - SCENARIO_BLOCK_HOSTAGE_RESCUE = (1 << 6), // flag "g" + SCENARIO_BLOCK_TIME_EXPRIRED = (1 << 0), // flag "a" + SCENARIO_BLOCK_NEED_PLAYERS = (1 << 1), // flag "b" + SCENARIO_BLOCK_VIP_ESCAPE = (1 << 2), // flag "c" + SCENARIO_BLOCK_PRISON_ESCAPE = (1 << 3), // flag "d" + SCENARIO_BLOCK_BOMB = (1 << 4), // flag "e" + SCENARIO_BLOCK_TEAM_EXTERMINATION = (1 << 5), // flag "f" + SCENARIO_BLOCK_HOSTAGE_RESCUE = (1 << 6), // flag "g" }; // Player relationship return codes @@ -215,48 +215,48 @@ class CGameRules { protected: virtual ~CGameRules() {}; public: - virtual void RefreshSkillData() = 0; // fill skill data struct with proper values - virtual void Think() = 0; // runs every server frame, should handle any timer tasks, periodic events, etc. + virtual void RefreshSkillData() = 0; // fill skill data struct with proper values + virtual void Think() = 0; // runs every server frame, should handle any timer tasks, periodic events, etc. virtual BOOL IsAllowedToSpawn(CBaseEntity *pEntity) = 0; // Can this item spawn (eg monsters don't spawn in deathmatch). - virtual BOOL FAllowFlashlight() = 0; // Are players allowed to switch on their flashlight? - virtual BOOL FShouldSwitchWeapon(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon) = 0; // should the player switch to this weapon? - virtual BOOL GetNextBestWeapon(CBasePlayer *pPlayer, CBasePlayerItem *pCurrentWeapon) = 0; // I can't use this weapon anymore, get me the next best one. + virtual BOOL FAllowFlashlight() = 0; // Are players allowed to switch on their flashlight? + virtual BOOL FShouldSwitchWeapon(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon) = 0; // should the player switch to this weapon? + virtual BOOL GetNextBestWeapon(CBasePlayer *pPlayer, CBasePlayerItem *pCurrentWeapon) = 0; // I can't use this weapon anymore, get me the next best one. // Functions to verify the single/multiplayer status of a game virtual BOOL IsMultiplayer() = 0; // is this a multiplayer game? (either coop or deathmatch) virtual BOOL IsDeathmatch() = 0; // is this a deathmatch game? virtual BOOL IsTeamplay() = 0; // is this deathmatch game being played with team rules? - virtual BOOL IsCoOp() = 0; // is this a coop game? - virtual const char *GetGameDescription() = 0; // this is the game name that gets seen in the server browser + virtual BOOL IsCoOp() = 0; // is this a coop game? + virtual const char *GetGameDescription() = 0; // this is the game name that gets seen in the server browser // Client connection/disconnection virtual BOOL ClientConnected(edict_t *pEntity, const char *pszName, const char *pszAddress, char *szRejectReason) = 0; // a client just connected to the server (player hasn't spawned yet) virtual void InitHUD(CBasePlayer *pl) = 0; // the client dll is ready for updating - virtual void ClientDisconnected(edict_t *pClient) = 0; // a client just disconnected from the server - virtual void UpdateGameMode(CBasePlayer *pPlayer) = 0; // the client needs to be informed of the current game mode + virtual void ClientDisconnected(edict_t *pClient) = 0; // a client just disconnected from the server + virtual void UpdateGameMode(CBasePlayer *pPlayer) = 0; // the client needs to be informed of the current game mode // Client damage rules virtual float FlPlayerFallDamage(CBasePlayer *pPlayer) = 0; - virtual BOOL FPlayerCanTakeDamage(CBasePlayer *pPlayer, CBaseEntity *pAttacker) = 0; // can this player take damage from this attacker? + virtual BOOL FPlayerCanTakeDamage(CBasePlayer *pPlayer, CBaseEntity *pAttacker) = 0; // can this player take damage from this attacker? virtual BOOL ShouldAutoAim(CBasePlayer *pPlayer, edict_t *target) = 0; // Client spawn/respawn control virtual void PlayerSpawn(CBasePlayer *pPlayer) = 0; // called by CBasePlayer::Spawn just before releasing player into the game virtual void PlayerThink(CBasePlayer *pPlayer) = 0; // called by CBasePlayer::PreThink every frame, before physics are run and after keys are accepted - virtual BOOL FPlayerCanRespawn(CBasePlayer *pPlayer) = 0; // is this player allowed to respawn now? - virtual float FlPlayerSpawnTime(CBasePlayer *pPlayer) = 0; // When in the future will this player be able to spawn? - virtual edict_t *GetPlayerSpawnSpot(CBasePlayer *pPlayer) = 0; // Place this player on their spawnspot and face them the proper direction. + virtual BOOL FPlayerCanRespawn(CBasePlayer *pPlayer) = 0; // is this player allowed to respawn now? + virtual float FlPlayerSpawnTime(CBasePlayer *pPlayer) = 0; // When in the future will this player be able to spawn? + virtual edict_t *GetPlayerSpawnSpot(CBasePlayer *pPlayer) = 0; // Place this player on their spawnspot and face them the proper direction. virtual BOOL AllowAutoTargetCrosshair() = 0; virtual BOOL ClientCommand_DeadOrAlive(CBasePlayer *pPlayer, const char *pcmd) = 0; - virtual BOOL ClientCommand(CBasePlayer *pPlayer, const char *pcmd) = 0; // handles the user commands; returns TRUE if command handled properly + virtual BOOL ClientCommand(CBasePlayer *pPlayer, const char *pcmd) = 0; // handles the user commands; returns TRUE if command handled properly virtual void ClientUserInfoChanged(CBasePlayer *pPlayer, char *infobuffer) = 0; // the player has changed userinfo; can change it now // Client kills/scoring virtual int IPointsForKill(CBasePlayer *pAttacker, CBasePlayer *pKilled) = 0; // how many points do I award whoever kills this player? - virtual void PlayerKilled(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor) = 0; // Called each time a player dies - virtual void DeathNotice(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pevInflictor) = 0; // Call this from within a GameRules class to report an obituary. + virtual void PlayerKilled(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor) = 0; // Called each time a player dies + virtual void DeathNotice(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pevInflictor) = 0; // Call this from within a GameRules class to report an obituary. // Weapon retrieval virtual BOOL CanHavePlayerItem(CBasePlayer *pPlayer, CBasePlayerItem *pItem) = 0; // The player is touching an CBasePlayerItem, do I give it to him? @@ -273,22 +273,22 @@ public: virtual void PlayerGotItem(CBasePlayer *pPlayer, CItem *pItem) = 0; // call each time a player picks up an item (battery, healthkit, longjump) // Item spawn/respawn control - virtual int ItemShouldRespawn(CItem *pItem) = 0; // Should this item respawn? - virtual float FlItemRespawnTime(CItem *pItem) = 0; // when may this item respawn? + virtual int ItemShouldRespawn(CItem *pItem) = 0; // Should this item respawn? + virtual float FlItemRespawnTime(CItem *pItem) = 0; // when may this item respawn? virtual Vector VecItemRespawnSpot(CItem *pItem) = 0; // where in the world should this item respawn? // Ammo retrieval - virtual BOOL CanHaveAmmo(CBasePlayer *pPlayer, const char *pszAmmoName, int iMaxCarry) = 0; // can this player take more of this ammo? - virtual void PlayerGotAmmo(CBasePlayer *pPlayer, char *szName, int iCount) = 0; // called each time a player picks up some ammo in the world + virtual BOOL CanHaveAmmo(CBasePlayer *pPlayer, const char *pszAmmoName, int iMaxCarry) = 0; // can this player take more of this ammo? + virtual void PlayerGotAmmo(CBasePlayer *pPlayer, char *szName, int iCount) = 0; // called each time a player picks up some ammo in the world // Ammo spawn/respawn control virtual int AmmoShouldRespawn(CBasePlayerAmmo *pAmmo) = 0; // should this ammo item respawn? - virtual float FlAmmoRespawnTime(CBasePlayerAmmo *pAmmo) = 0; // when should this ammo item respawn? - virtual Vector VecAmmoRespawnSpot(CBasePlayerAmmo *pAmmo) = 0; // where in the world should this ammo item respawn? + virtual float FlAmmoRespawnTime(CBasePlayerAmmo *pAmmo) = 0; // when should this ammo item respawn? + virtual Vector VecAmmoRespawnSpot(CBasePlayerAmmo *pAmmo) = 0; // where in the world should this ammo item respawn? // Healthcharger respawn control - virtual float FlHealthChargerRechargeTime() = 0; // how long until a depleted HealthCharger recharges itself? - virtual float FlHEVChargerRechargeTime() = 0; // how long until a depleted HealthCharger recharges itself? + virtual float FlHealthChargerRechargeTime() = 0; // how long until a depleted HealthCharger recharges itself? + virtual float FlHEVChargerRechargeTime() = 0; // how long until a depleted HealthCharger recharges itself? // What happens to a dead player's weapons virtual int DeadPlayerWeapons(CBasePlayer *pPlayer) = 0; // what do I do with a player's weapons when he's killed? @@ -298,7 +298,7 @@ public: // Teamplay stuff virtual const char *GetTeamID(CBaseEntity *pEntity) = 0; // what team is this entity on? - virtual int PlayerRelationship(CBasePlayer *pPlayer, CBaseEntity *pTarget) = 0; // What is the player's relationship with this entity? + virtual int PlayerRelationship(CBasePlayer *pPlayer, CBaseEntity *pTarget) = 0; // What is the player's relationship with this entity? virtual int GetTeamIndex(const char *pTeamName) = 0; virtual const char *GetIndexedTeamName(int teamIndex) = 0; virtual BOOL IsValidTeam(const char *pTeamName) = 0; @@ -324,12 +324,12 @@ public: inline void SetGameOver() { m_bGameOver = true; } public: - BOOL m_bFreezePeriod; // TRUE at beginning of round, set to FALSE when the period expires + BOOL m_bFreezePeriod; // TRUE at beginning of round, set to FALSE when the period expires BOOL m_bBombDropped; // custom char *m_GameDesc; - bool m_bGameOver; // intermission or finale (deprecated name g_fGameOver) + bool m_bGameOver; // intermission or finale (deprecated name g_fGameOver) }; // CHalfLifeRules - rules for the single player Half-Life game. @@ -563,18 +563,18 @@ public: float m_flRestartRoundTime; // The global time when the round is supposed to end, if this is not 0 (deprecated name m_fTeamCount) float m_flCheckWinConditions; float m_fRoundStartTime; // Time round has started (deprecated name m_fRoundCount) - int m_iRoundTime; // (From mp_roundtime) - How many seconds long this round is. + int m_iRoundTime; // (From mp_roundtime) - How many seconds long this round is. int m_iRoundTimeSecs; int m_iIntroRoundTime; // (From mp_freezetime) - How many seconds long the intro round (when players are frozen) is. - float m_fRoundStartTimeReal; // The global time when the intro round ends and the real one starts - // wrote the original "m_flRoundTime" comment for this variable). + float m_fRoundStartTimeReal; // The global time when the intro round ends and the real one starts + // wrote the original "m_flRoundTime" comment for this variable). int m_iAccountTerrorist; int m_iAccountCT; int m_iNumTerrorist; // The number of terrorists on the team (this is generated at the end of a round) - int m_iNumCT; // The number of CTs on the team (this is generated at the end of a round) + int m_iNumCT; // The number of CTs on the team (this is generated at the end of a round) int m_iNumSpawnableTerrorist; int m_iNumSpawnableCT; - int m_iSpawnPointCount_Terrorist; // Number of Terrorist spawn points + int m_iSpawnPointCount_Terrorist; // Number of Terrorist spawn points int m_iSpawnPointCount_CT; // Number of CT spawn points int m_iHostagesRescued; int m_iHostagesTouched; @@ -595,22 +595,22 @@ public: BOOL m_bMapHasVIPSafetyZone; // TRUE = has VIP safety zone, FALSE = does not have VIP safetyzone BOOL m_bMapHasCameras; int m_iC4Timer; - int m_iC4Guy; // The current Terrorist who has the C4. - int m_iLoserBonus; // the amount of money the losing team gets. This scales up as they lose more rounds in a row + int m_iC4Guy; // The current Terrorist who has the C4. + int m_iLoserBonus; // the amount of money the losing team gets. This scales up as they lose more rounds in a row int m_iNumConsecutiveCTLoses; // the number of rounds the CTs have lost in a row. - int m_iNumConsecutiveTerroristLoses; // the number of rounds the Terrorists have lost in a row. + int m_iNumConsecutiveTerroristLoses; // the number of rounds the Terrorists have lost in a row. - float m_fMaxIdlePeriod; // For the idle kick functionality. This is tha max amount of time that the player has to be idle before being kicked + float m_fMaxIdlePeriod; // For the idle kick functionality. This is tha max amount of time that the player has to be idle before being kicked int m_iLimitTeams; bool m_bLevelInitialized; bool m_bRoundTerminating; - bool m_bCompleteReset; // Set to TRUE to have the scores reset next time round restarts + bool m_bCompleteReset; // Set to TRUE to have the scores reset next time round restarts float m_flRequiredEscapeRatio; int m_iNumEscapers; int m_iHaveEscaped; bool m_bCTCantBuy; - bool m_bTCantBuy; // Who can and can't buy. + bool m_bTCantBuy; // Who can and can't buy. float m_flBombRadius; int m_iConsecutiveVIP; int m_iTotalGunCount; diff --git a/regamedll/extra/cssdk/dlls/hostage/hostage_improv.h b/regamedll/extra/cssdk/dlls/hostage/hostage_improv.h index 9ec69a7c..7616057a 100644 --- a/regamedll/extra/cssdk/dlls/hostage/hostage_improv.h +++ b/regamedll/extra/cssdk/dlls/hostage/hostage_improv.h @@ -36,6 +36,8 @@ enum HostageChatterType; // A Counter-Strike Hostage improved class CHostageImprov: public CImprov { public: + virtual ~CHostageImprov() {}; + // invoked when an improv reaches its MoveTo goal virtual void OnMoveToSuccess(const Vector &goal) = 0; diff --git a/regamedll/extra/cssdk/engine/osconfig.h b/regamedll/extra/cssdk/engine/osconfig.h index 3a5d7b48..bf1585e1 100644 --- a/regamedll/extra/cssdk/engine/osconfig.h +++ b/regamedll/extra/cssdk/engine/osconfig.h @@ -48,6 +48,7 @@ #include #ifdef _WIN32 // WINDOWS + #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers #include #include #include // for support IPX diff --git a/regamedll/extra/cssdk/game_shared/perf_counter.h b/regamedll/extra/cssdk/game_shared/counter.h similarity index 91% rename from regamedll/extra/cssdk/game_shared/perf_counter.h rename to regamedll/extra/cssdk/game_shared/counter.h index e99c7007..0b55e02c 100644 --- a/regamedll/extra/cssdk/game_shared/perf_counter.h +++ b/regamedll/extra/cssdk/game_shared/counter.h @@ -25,9 +25,11 @@ * version. * */ + #pragma once #ifdef _WIN32 + #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers #include #include #include @@ -50,12 +52,12 @@ #include #include -class CPerformanceCounter +class CCounter { public: - CPerformanceCounter(); + CCounter(); - void InitializePerformanceCounter(); + bool Init(); double GetCurTime(); private: @@ -65,21 +67,22 @@ private: double m_flLastCurrentTime; }; -inline CPerformanceCounter::CPerformanceCounter() : +inline CCounter::CCounter() : m_iLowShift(0), m_flPerfCounterFreq(0), m_flCurrentTime(0), m_flLastCurrentTime(0) { - InitializePerformanceCounter(); + Init(); } -inline void CPerformanceCounter::InitializePerformanceCounter() +inline bool CCounter::Init() { #ifdef _WIN32 LARGE_INTEGER performanceFreq; - QueryPerformanceFrequency(&performanceFreq); + if (!QueryPerformanceFrequency(&performanceFreq)) + return false; // get 32 out of the 64 time bits such that we have around // 1 microsecond resolution @@ -99,9 +102,11 @@ inline void CPerformanceCounter::InitializePerformanceCounter() m_flPerfCounterFreq = 1.0 / (double)lowpart; #endif // _WIN32 + + return true; } -inline double CPerformanceCounter::GetCurTime() +inline double CCounter::GetCurTime() { #ifdef _WIN32 diff --git a/regamedll/game_shared/GameEvent.h b/regamedll/game_shared/GameEvent.h index 719b882c..2474e55d 100644 --- a/regamedll/game_shared/GameEvent.h +++ b/regamedll/game_shared/GameEvent.h @@ -35,53 +35,53 @@ enum GameEventType { EVENT_INVALID = 0, - EVENT_WEAPON_FIRED, // tell bots the player is attack (argumens: 1 = attacker, 2 = NULL) - EVENT_WEAPON_FIRED_ON_EMPTY, // tell bots the player is attack without clip ammo (argumens: 1 = attacker, 2 = NULL) + EVENT_WEAPON_FIRED, // tell bots the player is attack (argumens: 1 = attacker, 2 = NULL) + EVENT_WEAPON_FIRED_ON_EMPTY, // tell bots the player is attack without clip ammo (argumens: 1 = attacker, 2 = NULL) EVENT_WEAPON_RELOADED, // tell bots the player is reloading his weapon (argumens: 1 = reloader, 2 = NULL) - EVENT_HE_GRENADE_EXPLODED, // tell bots the HE grenade is exploded (argumens: 1 = grenade thrower, 2 = NULL) + EVENT_HE_GRENADE_EXPLODED, // tell bots the HE grenade is exploded (argumens: 1 = grenade thrower, 2 = NULL) EVENT_FLASHBANG_GRENADE_EXPLODED, // tell bots the flashbang grenade is exploded (argumens: 1 = grenade thrower, 2 = explosion origin) EVENT_SMOKE_GRENADE_EXPLODED, // tell bots the smoke grenade is exploded (argumens: 1 = grenade thrower, 2 = NULL) EVENT_GRENADE_BOUNCED, EVENT_BEING_SHOT_AT, EVENT_PLAYER_BLINDED_BY_FLASHBANG, // tell bots the player is flashed (argumens: 1 = flashed player, 2 = NULL) - EVENT_PLAYER_FOOTSTEP, // tell bots the player is running (argumens: 1 = runner, 2 = NULL) - EVENT_PLAYER_JUMPED, // tell bots the player is jumped (argumens: 1 = jumper, 2 = NULL) - EVENT_PLAYER_DIED, // tell bots the player is killed (argumens: 1 = victim, 2 = killer) + EVENT_PLAYER_FOOTSTEP, // tell bots the player is running (argumens: 1 = runner, 2 = NULL) + EVENT_PLAYER_JUMPED, // tell bots the player is jumped (argumens: 1 = jumper, 2 = NULL) + EVENT_PLAYER_DIED, // tell bots the player is killed (argumens: 1 = victim, 2 = killer) EVENT_PLAYER_LANDED_FROM_HEIGHT, // tell bots the player is fell with some damage (argumens: 1 = felled player, 2 = NULL) - EVENT_PLAYER_TOOK_DAMAGE, // tell bots the player is take damage (argumens: 1 = victim, 2 = attacker) - EVENT_HOSTAGE_DAMAGED, // tell bots the player has injured a hostage (argumens: 1 = hostage, 2 = injurer) - EVENT_HOSTAGE_KILLED, // tell bots the player has killed a hostage (argumens: 1 = hostage, 2 = killer) + EVENT_PLAYER_TOOK_DAMAGE, // tell bots the player is take damage (argumens: 1 = victim, 2 = attacker) + EVENT_HOSTAGE_DAMAGED, // tell bots the player has injured a hostage (argumens: 1 = hostage, 2 = injurer) + EVENT_HOSTAGE_KILLED, // tell bots the player has killed a hostage (argumens: 1 = hostage, 2 = killer) - EVENT_DOOR, // tell bots the door is moving (argumens: 1 = door, 2 = NULL) - EVENT_BREAK_GLASS, // tell bots the glass has break (argumens: 1 = glass, 2 = NULL) - EVENT_BREAK_WOOD, // tell bots the wood has break (argumens: 1 = wood, 2 = NULL) - EVENT_BREAK_METAL, // tell bots the metal/computer has break (argumens: 1 = metal/computer, 2 = NULL) - EVENT_BREAK_FLESH, // tell bots the flesh has break (argumens: 1 = flesh, 2 = NULL) + EVENT_DOOR, // tell bots the door is moving (argumens: 1 = door, 2 = NULL) + EVENT_BREAK_GLASS, // tell bots the glass has break (argumens: 1 = glass, 2 = NULL) + EVENT_BREAK_WOOD, // tell bots the wood has break (argumens: 1 = wood, 2 = NULL) + EVENT_BREAK_METAL, // tell bots the metal/computer has break (argumens: 1 = metal/computer, 2 = NULL) + EVENT_BREAK_FLESH, // tell bots the flesh has break (argumens: 1 = flesh, 2 = NULL) EVENT_BREAK_CONCRETE, // tell bots the concrete has break (argumens: 1 = concrete, 2 = NULL) - EVENT_BOMB_PLANTED, // tell bots the bomb has been planted (argumens: 1 = planter, 2 = NULL) - EVENT_BOMB_DROPPED, // tell bots the bomb has been dropped (argumens: 1 = NULL, 2 = NULL) + EVENT_BOMB_PLANTED, // tell bots the bomb has been planted (argumens: 1 = planter, 2 = NULL) + EVENT_BOMB_DROPPED, // tell bots the bomb has been dropped (argumens: 1 = NULL, 2 = NULL) EVENT_BOMB_PICKED_UP, // let the bots hear the bomb pickup (argumens: 1 = player that pickup c4, 2 = NULL) - EVENT_BOMB_BEEP, // let the bots hear the bomb beeping (argumens: 1 = c4, 2 = NULL) + EVENT_BOMB_BEEP, // let the bots hear the bomb beeping (argumens: 1 = c4, 2 = NULL) EVENT_BOMB_DEFUSING, // tell the bots someone has started defusing (argumens: 1 = defuser, 2 = NULL) EVENT_BOMB_DEFUSE_ABORTED, // tell the bots someone has aborted defusing (argumens: 1 = NULL, 2 = NULL) - EVENT_BOMB_DEFUSED, // tell the bots the bomb is defused (argumens: 1 = defuser, 2 = NULL) + EVENT_BOMB_DEFUSED, // tell the bots the bomb is defused (argumens: 1 = defuser, 2 = NULL) EVENT_BOMB_EXPLODED, // let the bots hear the bomb exploding (argumens: 1 = NULL, 2 = NULL) - EVENT_HOSTAGE_USED, // tell bots the hostage is used (argumens: 1 = user, 2 = NULL) + EVENT_HOSTAGE_USED, // tell bots the hostage is used (argumens: 1 = user, 2 = NULL) EVENT_HOSTAGE_RESCUED, // tell bots the hostage is rescued (argumens: 1 = rescuer (CBasePlayer *), 2 = hostage (CHostage *)) EVENT_ALL_HOSTAGES_RESCUED, // tell bots the all hostages are rescued (argumens: 1 = NULL, 2 = NULL) - EVENT_VIP_ESCAPED, // tell bots the VIP is escaped (argumens: 1 = NULL, 2 = NULL) + EVENT_VIP_ESCAPED, // tell bots the VIP is escaped (argumens: 1 = NULL, 2 = NULL) EVENT_VIP_ASSASSINATED, // tell bots the VIP is assassinated (argumens: 1 = NULL, 2 = NULL) EVENT_TERRORISTS_WIN, // tell bots the terrorists won the round (argumens: 1 = NULL, 2 = NULL) - EVENT_CTS_WIN, // tell bots the CTs won the round (argumens: 1 = NULL, 2 = NULL) - EVENT_ROUND_DRAW, // tell bots the round was a draw (argumens: 1 = NULL, 2 = NULL) - EVENT_ROUND_WIN, // tell carreer the round was a win (argumens: 1 = NULL, 2 = NULL) - EVENT_ROUND_LOSS, // tell carreer the round was a loss (argumens: 1 = NULL, 2 = NULL) - EVENT_ROUND_START, // tell bots the round was started (when freeze period is expired) (argumens: 1 = NULL, 2 = NULL) + EVENT_CTS_WIN, // tell bots the CTs won the round (argumens: 1 = NULL, 2 = NULL) + EVENT_ROUND_DRAW, // tell bots the round was a draw (argumens: 1 = NULL, 2 = NULL) + EVENT_ROUND_WIN, // tell carreer the round was a win (argumens: 1 = NULL, 2 = NULL) + EVENT_ROUND_LOSS, // tell carreer the round was a loss (argumens: 1 = NULL, 2 = NULL) + EVENT_ROUND_START, // tell bots the round was started (when freeze period is expired) (argumens: 1 = NULL, 2 = NULL) EVENT_PLAYER_SPAWNED, // tell bots the player is spawned (argumens: 1 = spawned player, 2 = NULL) EVENT_CLIENT_CORPSE_SPAWNED, EVENT_BUY_TIME_START, @@ -131,12 +131,12 @@ enum GameEventType EVENT_RADIO_ENEMY_DOWN, EVENT_END_RADIO, - EVENT_NEW_MATCH, // tell bots the game is new (argumens: 1 = NULL, 2 = NULL) + EVENT_NEW_MATCH, // tell bots the game is new (argumens: 1 = NULL, 2 = NULL) EVENT_PLAYER_CHANGED_TEAM, // tell bots the player is switch his team (also called from ClientPutInServer()) (argumens: 1 = switcher, 2 = NULL) EVENT_BULLET_IMPACT, // tell bots the player is shoot at wall (argumens: 1 = shooter, 2 = shoot trace end position) EVENT_GAME_COMMENCE, // tell bots the game is commencing (argumens: 1 = NULL, 2 = NULL) EVENT_WEAPON_ZOOMED, // tell bots the player is switch weapon zoom (argumens: 1 = zoom switcher, 2 = NULL) - EVENT_HOSTAGE_CALLED_FOR_HELP, // tell bots the hostage is talking (argumens: 1 = listener, 2 = NULL) + EVENT_HOSTAGE_CALLED_FOR_HELP, // tell bots the hostage is talking (argumens: 1 = listener, 2 = NULL) NUM_GAME_EVENTS, }; diff --git a/regamedll/game_shared/bot/bot.cpp b/regamedll/game_shared/bot/bot.cpp index ff36922b..5042c957 100644 --- a/regamedll/game_shared/bot/bot.cpp +++ b/regamedll/game_shared/bot/bot.cpp @@ -34,13 +34,13 @@ CBot::CBot() } // Prepare bot for action -bool CBot::__MAKE_VHOOK(Initialize)(const BotProfile *profile) +bool CBot::Initialize(const BotProfile *profile) { m_profile = profile; return true; } -void CBot::__MAKE_VHOOK(Spawn)() +void CBot::Spawn() { // Let CBasePlayer set some things up CBasePlayer::Spawn(); @@ -69,7 +69,7 @@ void CBot::__MAKE_VHOOK(Spawn)() SpawnBot(); } -Vector CBot::__MAKE_VHOOK(GetAutoaimVector)(float flDelta) +Vector CBot::GetAutoaimVector(float flDelta) { UTIL_MakeVectors(pev->v_angle + pev->punchangle); return gpGlobals->v_forward; @@ -94,7 +94,7 @@ void CBot::BotThink() } } -void CBot::__MAKE_VHOOK(MoveForward)() +void CBot::MoveForward() { m_forwardSpeed = GetMoveSpeed(); m_buttonFlags |= IN_FORWARD; @@ -103,7 +103,7 @@ void CBot::__MAKE_VHOOK(MoveForward)() m_buttonFlags &= ~IN_BACK; } -void CBot::__MAKE_VHOOK(MoveBackward)() +void CBot::MoveBackward() { m_forwardSpeed = -GetMoveSpeed(); m_buttonFlags |= IN_BACK; @@ -112,7 +112,7 @@ void CBot::__MAKE_VHOOK(MoveBackward)() m_buttonFlags &= ~IN_FORWARD; } -void CBot::__MAKE_VHOOK(StrafeLeft)() +void CBot::StrafeLeft() { m_strafeSpeed = -GetMoveSpeed(); m_buttonFlags |= IN_MOVELEFT; @@ -121,7 +121,7 @@ void CBot::__MAKE_VHOOK(StrafeLeft)() m_buttonFlags &= ~IN_MOVERIGHT; } -void CBot::__MAKE_VHOOK(StrafeRight)() +void CBot::StrafeRight() { m_strafeSpeed = GetMoveSpeed(); m_buttonFlags |= IN_MOVERIGHT; @@ -130,7 +130,7 @@ void CBot::__MAKE_VHOOK(StrafeRight)() m_buttonFlags &= ~IN_MOVELEFT; } -bool CBot::__MAKE_VHOOK(Jump)(bool mustJump) +bool CBot::Jump(bool mustJump) { if (IsJumping() || IsCrouching()) return false; @@ -154,7 +154,7 @@ bool CBot::__MAKE_VHOOK(Jump)(bool mustJump) } // Zero any MoveForward(), Jump(), etc -void CBot::__MAKE_VHOOK(ClearMovement)() +void CBot::ClearMovement() { ResetCommand(); } @@ -177,42 +177,42 @@ bool CBot::IsJumping() return true; } -void CBot::__MAKE_VHOOK(Crouch)() +void CBot::Crouch() { m_isCrouching = true; } -void CBot::__MAKE_VHOOK(StandUp)() +void CBot::StandUp() { m_isCrouching = false; } -void CBot::__MAKE_VHOOK(UseEnvironment)() +void CBot::UseEnvironment() { m_buttonFlags |= IN_USE; } -void CBot::__MAKE_VHOOK(PrimaryAttack)() +void CBot::PrimaryAttack() { m_buttonFlags |= IN_ATTACK; } -void CBot::__MAKE_VHOOK(ClearPrimaryAttack)() +void CBot::ClearPrimaryAttack() { m_buttonFlags &= ~IN_ATTACK; } -void CBot::__MAKE_VHOOK(TogglePrimaryAttack)() +void CBot::TogglePrimaryAttack() { m_buttonFlags ^= IN_ATTACK; } -void CBot::__MAKE_VHOOK(SecondaryAttack)() +void CBot::SecondaryAttack() { m_buttonFlags |= IN_ATTACK2; } -void CBot::__MAKE_VHOOK(Reload)() +void CBot::Reload() { m_buttonFlags |= IN_RELOAD; } @@ -269,7 +269,7 @@ bool CBot::IsUsingScope() const return false; } -void CBot::__MAKE_VHOOK(ExecuteCommand)() +void CBot::ExecuteCommand() { byte adjustedMSec; diff --git a/regamedll/game_shared/bot/bot.h b/regamedll/game_shared/bot/bot.h index ae2c073c..571f5b13 100644 --- a/regamedll/game_shared/bot/bot.h +++ b/regamedll/game_shared/bot/bot.h @@ -158,32 +158,6 @@ public: virtual void ExecuteCommand(); virtual void SetModel(const char *modelName); -#ifdef HOOK_GAMEDLL - - void Spawn_(); - Vector GetAutoaimVector_(float flDelta); - bool Initialize_(const BotProfile *profile); - void Crouch_(); - void StandUp_(); - void MoveForward_(); - void MoveBackward_(); - void StrafeLeft_(); - void StrafeRight_(); - bool Jump_(bool mustJump = false); - void ClearMovement_(); - void UseEnvironment_(); - void PrimaryAttack_(); - void ClearPrimaryAttack_(); - void TogglePrimaryAttack_(); - void SecondaryAttack_(); - bool IsPlayerFacingMe_(CBasePlayer *other) const; - bool IsPlayerLookingAtMe_(CBasePlayer *other) const; - void Reload_(); - void ExecuteCommand_(); - void SetModel_(const char *modelName); - -#endif - public: // return bot's unique ID unsigned int GetID() const { return m_id; } @@ -259,10 +233,7 @@ public: }; BotRelationshipTeam BotRelationship(CBasePlayer *pTarget) const; -#ifndef HOOK_GAMEDLL protected: -#endif - #ifndef REGAMEDLL_FIXES // Do a "client command" - useful for invoking menu choices, etc. void ClientCommand(const char *cmd, const char *arg1 = NULL, const char *arg2 = NULL, const char *arg3 = NULL); @@ -317,7 +288,7 @@ private: int m_postureStackIndex; }; -inline void CBot::__MAKE_VHOOK(SetModel)(const char *modelName) +inline void CBot::SetModel(const char *modelName) { SET_CLIENT_KEY_VALUE(entindex(), GET_INFO_BUFFER(edict()), "model", (char *)modelName); } @@ -400,7 +371,7 @@ inline void CBot::PopPostureContext() m_isCrouching = m_postureStack[m_postureStackIndex].isCrouching; } -inline bool CBot::__MAKE_VHOOK(IsPlayerFacingMe)(CBasePlayer *other) const +inline bool CBot::IsPlayerFacingMe(CBasePlayer *other) const { Vector toOther = other->pev->origin - pev->origin; UTIL_MakeVectors(other->pev->v_angle + other->pev->punchangle); @@ -412,7 +383,7 @@ inline bool CBot::__MAKE_VHOOK(IsPlayerFacingMe)(CBasePlayer *other) const return false; } -inline bool CBot::__MAKE_VHOOK(IsPlayerLookingAtMe)(CBasePlayer *other) const +inline bool CBot::IsPlayerLookingAtMe(CBasePlayer *other) const { Vector toOther = other->pev->origin - pev->origin; toOther.NormalizeInPlace(); diff --git a/regamedll/game_shared/bot/bot_manager.cpp b/regamedll/game_shared/bot/bot_manager.cpp index 14231770..c6ec7e2e 100644 --- a/regamedll/game_shared/bot/bot_manager.cpp +++ b/regamedll/game_shared/bot/bot_manager.cpp @@ -131,13 +131,13 @@ CBotManager::CBotManager() } // Invoked when the round is restarting -void CBotManager::__MAKE_VHOOK(RestartRound)() +void CBotManager::RestartRound() { DestroyAllGrenades(); } // Invoked at the start of each frame -void CBotManager::__MAKE_VHOOK(StartFrame)() +void CBotManager::StartFrame() { // debug smoke grenade visualization if (cv_bot_debug.value == 5) @@ -217,7 +217,7 @@ const char *CBotManager::GetNavMapFilename() const // Invoked when given player does given event (some events have NULL player). // Events are propogated to all bots. // TODO: This has become the game-wide event dispatcher. We should restructure this. -void CBotManager::__MAKE_VHOOK(OnEvent)(GameEventType event, CBaseEntity *entity, CBaseEntity *other) +void CBotManager::OnEvent(GameEventType event, CBaseEntity *entity, CBaseEntity *other) { // propogate event to all bots for (int i = 1; i <= gpGlobals->maxClients; ++i) diff --git a/regamedll/game_shared/bot/bot_manager.h b/regamedll/game_shared/bot/bot_manager.h index e4442829..1dae1171 100644 --- a/regamedll/game_shared/bot/bot_manager.h +++ b/regamedll/game_shared/bot/bot_manager.h @@ -84,27 +84,19 @@ public: // Events are propogated to all bots. virtual void OnEvent(GameEventType event, CBaseEntity *entity = NULL, CBaseEntity *other = NULL); // Invoked when event occurs in the game (some events have NULL entity). - virtual unsigned int GetPlayerPriority(CBasePlayer *player) const = 0; // return priority of player (0 = max pri) + virtual unsigned int GetPlayerPriority(CBasePlayer *player) const = 0; // return priority of player (0 = max pri) public: const char *GetNavMapFilename() const; // return the filename for this map's "nav" file - void AddGrenade(int type, CGrenade *grenade); // add an active grenade to the bot's awareness + void AddGrenade(int type, CGrenade *grenade); // add an active grenade to the bot's awareness void RemoveGrenade(CGrenade *grenade); // the grenade entity in the world is going away - void ValidateActiveGrenades(); // destroy any invalid active grenades + void ValidateActiveGrenades(); // destroy any invalid active grenades void DestroyAllGrenades(); - bool IsLineBlockedBySmoke(const Vector *from, const Vector *to); // return true if line intersects smoke volume + bool IsLineBlockedBySmoke(const Vector *from, const Vector *to); // return true if line intersects smoke volume bool IsInsideSmokeCloud(const Vector *pos); // return true if position is inside a smoke cloud -#ifdef HOOK_GAMEDLL - - void RestartRound_(); - void StartFrame_(); - void OnEvent_(GameEventType event, CBaseEntity *entity = NULL, CBaseEntity *other = NULL); - -#endif - private: // the list of active grenades the bots are aware of ActiveGrenadeList m_activeGrenadeList; diff --git a/regamedll/game_shared/bot/nav_area.h b/regamedll/game_shared/bot/nav_area.h index 9a54cda2..7b68cc97 100644 --- a/regamedll/game_shared/bot/nav_area.h +++ b/regamedll/game_shared/bot/nav_area.h @@ -175,9 +175,7 @@ public: static void ChangeMasterMarker() { ++IMPL(m_masterMarker); } -#ifndef HOOK_GAMEDLL private: -#endif friend void DestroyHidingSpots(); Vector m_pos; @@ -351,9 +349,7 @@ public: void AddLadderUp(CNavLadder *ladder) { m_ladder[LADDER_UP].push_back(ladder); } void AddLadderDown(CNavLadder *ladder) { m_ladder[LADDER_DOWN].push_back(ladder); } -#ifndef HOOK_GAMEDLL private: -#endif friend void ConnectGeneratedAreas(); friend void MergeGeneratedAreas(); friend void MarkJumpAreas(); diff --git a/regamedll/game_shared/bot/nav_node.h b/regamedll/game_shared/bot/nav_node.h index de6bb510..79cbed79 100644 --- a/regamedll/game_shared/bot/nav_node.h +++ b/regamedll/game_shared/bot/nav_node.h @@ -55,29 +55,27 @@ public: void ConnectTo(CNavNode *node, NavDirType dir); CNavNode *GetParent() const; - void MarkAsVisited(NavDirType dir); // mark the given direction as having been visited - BOOL HasVisited(NavDirType dir); // return TRUE if the given direction has already been searched + void MarkAsVisited(NavDirType dir); // mark the given direction as having been visited + BOOL HasVisited(NavDirType dir); // return TRUE if the given direction has already been searched BOOL IsBiLinked(NavDirType dir) const; // node is bidirectionally linked to another node in the given direction - BOOL IsClosedCell() const; // node is the NW corner of a bi-linked quad of nodes + BOOL IsClosedCell() const; // node is the NW corner of a bi-linked quad of nodes - void Cover() { m_isCovered = true; } // TODO: Should pass in area that is covering + void Cover() { m_isCovered = true; } // TODO: Should pass in area that is covering BOOL IsCovered() const { return m_isCovered; } // return true if this node has been covered by an area void AssignArea(CNavArea *area); // assign the given area to this node - CNavArea *GetArea() const; // return associated area + CNavArea *GetArea() const; // return associated area void SetAttributes(unsigned char bits) { m_attributeFlags = bits; } unsigned char GetAttributes() const { return m_attributeFlags; } -#ifndef HOOK_GAMEDLL private: -#endif friend void DestroyNavigationMap(); - Vector m_pos; // position of this node in the world - Vector m_normal; // surface normal at this location + Vector m_pos; // position of this node in the world + Vector m_normal; // surface normal at this location CNavNode *m_to[ NUM_DIRECTIONS ]; // links to north, south, east, and west. NULL if no link - unsigned int m_id; // unique ID of this node + unsigned int m_id; // unique ID of this node unsigned char m_attributeFlags; // set of attribute bit flags (see NavAttributeType) static CNavNode *IMPL(m_list); // the master list of all nodes for this map diff --git a/regamedll/game_shared/bot/nav_path.h b/regamedll/game_shared/bot/nav_path.h index 54d8e0c2..b21ba2f1 100644 --- a/regamedll/game_shared/bot/nav_path.h +++ b/regamedll/game_shared/bot/nav_path.h @@ -42,9 +42,9 @@ public: struct PathSegment { - CNavArea *area; // the area along the path + CNavArea *area; // the area along the path NavTraverseType how; // how to enter this area from the previous one - Vector pos; // our movement goal position at this point in the path + Vector pos; // our movement goal position at this point in the path const CNavLadder *ladder; // if "how" refers to a ladder, this is it }; @@ -52,8 +52,8 @@ public: int GetSegmentCount() const { return m_segmentCount; } const Vector &GetEndpoint() const { return m_path[ m_segmentCount - 1 ].pos; } - bool IsAtEnd(const Vector &pos) const; // return true if position is at the end of the path - float GetLength() const; // return length of path from start to finish + bool IsAtEnd(const Vector &pos) const; // return true if position is at the end of the path + float GetLength() const; // return length of path from start to finish bool GetPointAlongPath(float distAlong, Vector *pointOnPath) const; // return point a given distance along the path - if distance is out of path bounds, point is clamped to start/end // return the node index closest to the given distance along the path without going over - returns (-1) if error @@ -149,16 +149,15 @@ public: return true; } -#ifndef HOOK_GAMEDLL + private: -#endif enum { MAX_PATH_SEGMENTS = 256 }; PathSegment m_path[ MAX_PATH_SEGMENTS ]; int m_segmentCount; - bool ComputePathPositions(); // determine actual path positions + bool ComputePathPositions(); // determine actual path positions bool BuildTrivialPath(const Vector *start, const Vector *goal); // utility function for when start and goal are in the same area - int FindNextOccludedNode(int anchor_); // used by Optimize() + int FindNextOccludedNode(int anchor_); // used by Optimize() }; // Monitor improv movement and determine if it becomes stuck @@ -174,8 +173,8 @@ public: float GetDuration() const { return m_isStuck ? m_stuckTimer.GetElapsedTime() : 0.0f; } private: - bool m_isStuck; // if true, we are stuck - Vector m_stuckSpot; // the location where we became stuck + bool m_isStuck; // if true, we are stuck + Vector m_stuckSpot; // the location where we became stuck IntervalTimer m_stuckTimer; // how long we have been stuck enum { MAX_VEL_SAMPLES = 5 }; @@ -197,18 +196,16 @@ public: void SetPath(CNavPath *path) { m_path = path; } void Reset(); - void Update(float deltaT, bool avoidObstacles = true); // move improv along path - void Debug(bool status) { m_isDebug = status; } // turn debugging on/off + void Update(float deltaT, bool avoidObstacles = true); // move improv along path + void Debug(bool status) { m_isDebug = status; } // turn debugging on/off - bool IsStuck() const { return m_stuckMonitor.IsStuck(); } // return true if improv is stuck + bool IsStuck() const { return m_stuckMonitor.IsStuck(); } // return true if improv is stuck void ResetStuck() { m_stuckMonitor.Reset(); } float GetStuckDuration() const { return m_stuckMonitor.GetDuration(); } // return how long we've been stuck void FeelerReflexAdjustment(Vector *goalPosition, float height = -1.0f); // adjust goal position if "feelers" are touched -#ifndef HOOK_GAMEDLL private: -#endif int FindOurPositionOnPath(Vector *close, bool local) const; // return the closest point to our current position on current path int FindPathPoint(float aheadRange, Vector *point, int *prevIndex); // compute a point a fixed distance ahead along our path. diff --git a/regamedll/game_shared/perf_counter.h b/regamedll/game_shared/counter.h similarity index 85% rename from regamedll/game_shared/perf_counter.h rename to regamedll/game_shared/counter.h index 138a00a9..0b55e02c 100644 --- a/regamedll/game_shared/perf_counter.h +++ b/regamedll/game_shared/counter.h @@ -1,190 +1,188 @@ -/* -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; either version 2 of the License, or (at -* your option) any later version. -* -* This program is distributed in the hope that it will be useful, but -* WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -* General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software Foundation, -* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -* -*/ - -#ifndef PERF_COUNTER_H -#define PERF_COUNTER_H -#ifdef _WIN32 -#pragma once -#endif - -#ifdef _WIN32 - #include - #include - #include -#else - #include - #include - #include - #include - #ifdef OSX - #include - #else - #include - #endif - #include -#endif - -#include -#include -#include -#include -#include - -class CPerformanceCounter -{ -public: - CPerformanceCounter(); - - void InitializePerformanceCounter(); - double GetCurTime(); - -private: - int m_iLowShift; - double m_flPerfCounterFreq; - double m_flCurrentTime; - double m_flLastCurrentTime; -}; - -inline CPerformanceCounter::CPerformanceCounter() : - m_iLowShift(0), - m_flPerfCounterFreq(0), - m_flCurrentTime(0), - m_flLastCurrentTime(0) -{ - InitializePerformanceCounter(); -} - -inline void CPerformanceCounter::InitializePerformanceCounter() -{ -#ifdef _WIN32 - - LARGE_INTEGER performanceFreq; - QueryPerformanceFrequency(&performanceFreq); - - // get 32 out of the 64 time bits such that we have around - // 1 microsecond resolution - unsigned int lowpart, highpart; - lowpart = (unsigned int)performanceFreq.LowPart; - highpart = (unsigned int)performanceFreq.HighPart; - m_iLowShift = 0; - - while (highpart || (lowpart > 2000000.0)) - { - m_iLowShift++; - lowpart >>= 1; - lowpart |= (highpart & 1) << 31; - highpart >>= 1; - } - - m_flPerfCounterFreq = 1.0 / (double)lowpart; - -#endif // _WIN32 -} - -inline double CPerformanceCounter::GetCurTime() -{ -#ifdef _WIN32 - - static int sametimecount; - static unsigned int oldtime; - static int first = 1; - LARGE_INTEGER PerformanceCount; - unsigned int temp, t2; - double time; - - QueryPerformanceCounter(&PerformanceCount); - if (m_iLowShift == 0) - { - temp = (unsigned int)PerformanceCount.LowPart; - } - else - { - temp = ((unsigned int)PerformanceCount.LowPart >> m_iLowShift) | - ((unsigned int)PerformanceCount.HighPart << (32 - m_iLowShift)); - } - - if (first) - { - oldtime = temp; - first = 0; - } - else - { - // check for turnover or backward time - if ((temp <= oldtime) && ((oldtime - temp) < 0x10000000)) - { - // so we can't get stuck - oldtime = temp; - } - else - { - t2 = temp - oldtime; - - time = (double)t2 * m_flPerfCounterFreq; - oldtime = temp; - - m_flCurrentTime += time; - - if (m_flCurrentTime == m_flLastCurrentTime) - { - if (++sametimecount > 100000) - { - m_flCurrentTime += 1.0; - sametimecount = 0; - } - } - else - { - sametimecount = 0; - } - - m_flLastCurrentTime = m_flCurrentTime; - } - } - - return m_flCurrentTime; - -#else // _WIN32 - - struct timeval tp; - static int secbase = 0; - - gettimeofday(&tp, NULL); - - if (!secbase) - { - secbase = tp.tv_sec; - return (tp.tv_usec / 1000000.0); - } - - return ((tp.tv_sec - secbase) + tp.tv_usec / 1000000.0); - -#endif // _WIN32 -} - -#endif // PERF_COUNTER_H +/* +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at +* your option) any later version. +* +* This program is distributed in the hope that it will be useful, but +* WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software Foundation, +* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +* +* In addition, as a special exception, the author gives permission to +* link the code of this program with the Half-Life Game Engine ("HL +* Engine") and Modified Game Libraries ("MODs") developed by Valve, +* L.L.C ("Valve"). You must obey the GNU General Public License in all +* respects for all of the code used other than the HL Engine and MODs +* from Valve. If you modify this file, you may extend this exception +* to your version of the file, but you are not obligated to do so. If +* you do not wish to do so, delete this exception statement from your +* version. +* +*/ + +#pragma once + +#ifdef _WIN32 + #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers + #include + #include + #include +#else + #include + #include + #include + #include + #ifdef OSX + #include + #else + #include + #endif + #include +#endif + +#include +#include +#include +#include +#include + +class CCounter +{ +public: + CCounter(); + + bool Init(); + double GetCurTime(); + +private: + int m_iLowShift; + double m_flPerfCounterFreq; + double m_flCurrentTime; + double m_flLastCurrentTime; +}; + +inline CCounter::CCounter() : + m_iLowShift(0), + m_flPerfCounterFreq(0), + m_flCurrentTime(0), + m_flLastCurrentTime(0) +{ + Init(); +} + +inline bool CCounter::Init() +{ +#ifdef _WIN32 + + LARGE_INTEGER performanceFreq; + if (!QueryPerformanceFrequency(&performanceFreq)) + return false; + + // get 32 out of the 64 time bits such that we have around + // 1 microsecond resolution + unsigned int lowpart, highpart; + lowpart = (unsigned int)performanceFreq.LowPart; + highpart = (unsigned int)performanceFreq.HighPart; + m_iLowShift = 0; + + while (highpart || (lowpart > 2000000.0)) + { + m_iLowShift++; + lowpart >>= 1; + lowpart |= (highpart & 1) << 31; + highpart >>= 1; + } + + m_flPerfCounterFreq = 1.0 / (double)lowpart; + +#endif // _WIN32 + + return true; +} + +inline double CCounter::GetCurTime() +{ +#ifdef _WIN32 + + static int sametimecount; + static unsigned int oldtime; + static int first = 1; + LARGE_INTEGER PerformanceCount; + unsigned int temp, t2; + double time; + + QueryPerformanceCounter(&PerformanceCount); + if (m_iLowShift == 0) + { + temp = (unsigned int)PerformanceCount.LowPart; + } + else + { + temp = ((unsigned int)PerformanceCount.LowPart >> m_iLowShift) | + ((unsigned int)PerformanceCount.HighPart << (32 - m_iLowShift)); + } + + if (first) + { + oldtime = temp; + first = 0; + } + else + { + // check for turnover or backward time + if ((temp <= oldtime) && ((oldtime - temp) < 0x10000000)) + { + // so we can't get stuck + oldtime = temp; + } + else + { + t2 = temp - oldtime; + + time = (double)t2 * m_flPerfCounterFreq; + oldtime = temp; + + m_flCurrentTime += time; + + if (m_flCurrentTime == m_flLastCurrentTime) + { + if (++sametimecount > 100000) + { + m_flCurrentTime += 1.0; + sametimecount = 0; + } + } + else + { + sametimecount = 0; + } + + m_flLastCurrentTime = m_flCurrentTime; + } + } + + return m_flCurrentTime; + +#else // _WIN32 + + struct timeval tp; + static int secbase = 0; + + gettimeofday(&tp, NULL); + + if (!secbase) + { + secbase = tp.tv_sec; + return (tp.tv_usec / 1000000.0); + } + + return ((tp.tv_sec - secbase) + tp.tv_usec / 1000000.0); + +#endif // _WIN32 +} diff --git a/regamedll/game_shared/shared_util.h b/regamedll/game_shared/shared_util.h index 73f9686d..458c2abe 100644 --- a/regamedll/game_shared/shared_util.h +++ b/regamedll/game_shared/shared_util.h @@ -73,4 +73,3 @@ inline wchar_t *CloneWString(const wchar_t *str) wcscpy(cloneStr, str); return cloneStr; } - \ No newline at end of file diff --git a/regamedll/game_shared/voice_gamemgr.h b/regamedll/game_shared/voice_gamemgr.h index b6d15de3..cdcc9ff3 100644 --- a/regamedll/game_shared/voice_gamemgr.h +++ b/regamedll/game_shared/voice_gamemgr.h @@ -36,7 +36,7 @@ #include "voice_common.h" -class CGameRules; +class CGameRules; class CBasePlayer; class IVoiceGameMgrHelper @@ -44,11 +44,11 @@ class IVoiceGameMgrHelper public: virtual ~IVoiceGameMgrHelper() {} - // Called each frame to determine which players are allowed to hear each other. This overrides + // Called each frame to determine which players are allowed to hear each other. This overrides // whatever squelch settings players have. virtual bool CanPlayerHearPlayer(CBasePlayer *pListener, CBasePlayer *pTalker) = 0; }; - + // CVoiceGameMgr manages which clients can hear which other clients. class CVoiceGameMgr { @@ -59,26 +59,24 @@ public: bool Init(IVoiceGameMgrHelper *pHelper, int maxClients); void SetHelper(IVoiceGameMgrHelper *pHelper); - // Updates which players can hear which other players. - // If gameplay mode is DM, then only players within the PVS can hear each other. - // If gameplay mode is teamplay, then only players on the same team can hear each other. + // Updates which players can hear which other players. + // If gameplay mode is DM, then only players within the PVS can hear each other. + // If gameplay mode is teamplay, then only players on the same team can hear each other. // Player masks are always applied. void Update(double frametime); // Called when a new client connects (unsquelches its entity for everyone). void ClientConnected(edict_t *pEdict); - // Called on ClientCommand. Checks for the squelch and unsquelch commands. + // Called on ClientCommand. Checks for the squelch and unsquelch commands. // Returns true if it handled the command. bool ClientCommand(CBasePlayer *pPlayer, const char *cmd); - // Called to determine if the Receiver has muted (blocked) the Sender + // Called to determine if the Receiver has muted (blocked) the Sender // Returns true if the receiver has blocked the sender bool PlayerHasBlockedPlayer(CBasePlayer *pReceiver, CBasePlayer *pSender); -#ifndef HOOK_GAMEDLL private: -#endif // Force it to update the client masks. void UpdateMasks(); diff --git a/regamedll/hookers/6153_hooker.cpp b/regamedll/hookers/6153_hooker.cpp deleted file mode 100644 index 3cccc848..00000000 --- a/regamedll/hookers/6153_hooker.cpp +++ /dev/null @@ -1,6177 +0,0 @@ -/* -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; either version 2 of the License,or (at -* your option) any later version. -* -* This program is distributed in the hope that it will be useful,but -* WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -* General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not,write to the Free Software Foundation, -* Inc.,59 Temple Place,Suite 330,Boston,MA 02111-1307 USA -* -* In addition,as a special exception,the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file,you may extend this exception -* to your version of the file,but you are not obligated to do so. If -* you do not wish to do so,delete this exception statement from your -* version. -* -*/ - -#include "precompiled.h" - -#define CBASE_VIRTUAL_COUNT 58 -#define CWEAPON_VIRTUAL_COUNT 94 - -template -size_t mfunc_ptr_cast(MFUNC f) -{ - auto x = f; - size_t addr = (size_t &)x; - return addr; -} - -// Offset where engine assumed be loaded to ajust hooks offsets. NULL for the Linux to trigger symbols searching. -#ifdef _WIN32 -extern const size_t g_BaseOffset = 0x01D00000; -#else -extern const size_t g_BaseOffset = 0x00000000; -#endif - -//#define Mem_Region -//#define Export_Region -//#define Monsters_Region -//#define AirTank_Region -//#define PM_Shared_Region -//#define Triggers_Region -//#define Cbase_Region -//#define Client_Region -//#define Spectator_Region -//#define BaseMonster_Region -//#define Player_Region -//#define Effects_Region -//#define Plats_Region -//#define PathCorner_Region -//#define Vehicle_Region -//#define Func_Tank_Region -//#define Func_Break_Region -//#define Door_Region -//#define BModels_Region -//#define Button_Region -//#define Explode_Region -//#define Mortar_Region -//#define Healkit_Region -//#define Lights_Region -//#define MapRules_Region -//#define HintMessage_Region -//#define Items_Region -//#define SharedUtil_Region -//#define World_Region -//#define Graph_Region -//#define SoundEnt_Region -//#define Sound_Region -//#define Util_Region -//#define WeaponType_Region -//#define Weapons_Region -//#define GGrenade_Region -//#define Animation_Region -//#define GameRules_Region -//#define Multiplay_GameRules_Region -//#define Singleplay_GameRules_Region -//#define Training_Gamerules_Region -//#define CareerTasks_Region -//#define MemoryPool_Region -//#define Unicode_StrTools_Region -//#define CUtlSymbol_Region -//#define Debug_Region -//#define CS_Bot_Region -//#define CS_BotState_Region -//#define Bot_Region -//#define Bot_Profile -//#define CS_Util_Region -//#define CS_Init_Region -//#define H_Region -//#define Tutor_CS_Region -//#define Nav_Region -//#define Hostage_Region -//#define VoiceManager_Region -//#define Vector_Region - -//#define Data_References_Region -//#define Function_References_Region - -FunctionHook g_FunctionHooks[] = -{ - -#ifndef Mem_Region - -#ifdef _WIN32 - - { 0x01DE015D, "malloc", (size_t)&_malloc_mhook_ }, - { 0x01DE2331, "calloc", (size_t)&_calloc_mhook_ }, - { 0x01DE12A5, "realloc", (size_t)&_realloc_mhook_ }, - { 0x01DE0E7B, "free", (size_t)&_free_mhook_ }, - { 0x01DF27C9, "strdup", (size_t)&_strdup_mhook_ }, - //{ 0x01DDFD40, "rand", (size_t)&_rand_mhook_ }, - -#endif // _WIN32 - -#endif // Mem_Region - -#ifndef Export_Region - - { 0x01D86730, "GiveFnptrsToDll", (size_t)&GiveFnptrsToDll }, - -#endif // Export_Region - -#ifndef PM_Shared_Region - - { 0x01DB6640, "PM_Move", (size_t)&PM_Move }, - { 0x01DB6710, "PM_Init", (size_t)&PM_Init }, - { 0x01DB1020, "PM_FindTextureType", (size_t)&PM_FindTextureType }, -//pm_debug - //{ 0x01DAEEE0, "PM_ShowClipBox", (size_t)&PM_ShowClipBox }, // NOXREF - //{ 0x01DAEEF0, "PM_ParticleLine", (size_t)&PM_ParticleLine }, // NOXREF - //{ 0x01DAEFC0, "PM_DrawRectangle", (size_t)&PM_DrawRectangle }, // NOXREF - //{ 0x01DAF290, "PM_DrawPhysEntBBox", (size_t)&PM_DrawPhysEntBBox }, // NOXREF - //{ 0x01DAFB50, "PM_DrawBBox", (size_t)&PM_DrawBBox }, // NOXREF - //{ 0x01DAFF20, "PM_ViewEntity", (size_t)&PM_ViewEntity }, // NOXREF -//pm_shared - //{ 0x01DB0AB0, "PM_SwapTextures", (size_t)&PM_SwapTextures }, // NOXREF - //{ 0x01DB0B30, "PM_IsThereGrassTexture", (size_t)&PM_IsThereGrassTexture }, // NOXREF - //{ 0x01DB0B60, "PM_SortTextures", (size_t)&PM_SortTextures }, // NOXREF - { 0x01DB0C80, "PM_InitTextureTypes", (size_t)&PM_InitTextureTypes }, - //{ 0x0, "PM_FindTextureType", (size_t)&PM_FindTextureType }, - { 0x01DB1080, "PM_PlayStepSound", (size_t)&PM_PlayStepSound }, - //{ 0x01DB17E0, "PM_MapTextureTypeStepType", (size_t)&PM_MapTextureTypeStepType }, // NOXREF - { 0x01DB1860, "PM_CatagorizeTextureType", (size_t)&PM_CatagorizeTextureType }, - { 0x01DB19B0, "PM_UpdateStepSound", (size_t)&PM_UpdateStepSound }, - //{ 0x01DB1CB0, "PM_AddToTouched", (size_t)&PM_AddToTouched }, // NOXREF - { 0x01DB1D50, "PM_CheckVelocity", (size_t)&PM_CheckVelocity }, - { 0x01DB1E40, "PM_ClipVelocity", (size_t)&PM_ClipVelocity }, - //{ 0x01DB1EF0, "PM_AddCorrectGravity", (size_t)&PM_AddCorrectGravity }, // NOXREF - //{ 0x01DB1F70, "PM_FixupGravityVelocity", (size_t)&PM_FixupGravityVelocity }, // NOXREF - { 0x01DB1FD0, "PM_FlyMove", (size_t)&PM_FlyMove }, - //{ 0x01DB24E0, "PM_Accelerate", (size_t)&PM_Accelerate }, // NOXREF - { 0x01DB2580, "PM_WalkMove", (size_t)&PM_WalkMove }, - { 0x01DB2B50, "PM_Friction", (size_t)&PM_Friction }, - { 0x01DB2CF0, "PM_AirAccelerate", (size_t)&PM_AirAccelerate }, - { 0x01DB2DB0, "PM_WaterMove", (size_t)&PM_WaterMove }, - { 0x01DB30C0, "PM_AirMove", (size_t)&PM_AirMove_internal }, - //{ 0x01DB3200, "PM_InWater", (size_t)&PM_InWater }, // NOXREF - { 0x01DB3220, "PM_CheckWater", (size_t)&PM_CheckWater }, - { 0x01DB33E0, "PM_CatagorizePosition", (size_t)&PM_CatagorizePosition }, - //{ 0x01DB3590, "PM_GetRandomStuckOffsets", (size_t)&PM_GetRandomStuckOffsets },// NOXREF - //{ 0x01DB35E0, "PM_ResetStuckOffsets", (size_t)&PM_ResetStuckOffsets }, // NOXREF - { 0x01DB3600, "PM_CheckStuck", (size_t)&PM_CheckStuck }, - { 0x01DB3970, "PM_SpectatorMove", (size_t)&PM_SpectatorMove }, - //{ 0x01DB3C70, "PM_SplineFraction", (size_t)&PM_SplineFraction }, // NOXREF - //{ 0x01DB3C90, "PM_SimpleSpline", (size_t)&PM_SimpleSpline }, // NOXREF - //{ 0x01DB3CB0, "PM_FixPlayerCrouchStuck", (size_t)&PM_FixPlayerCrouchStuck }, // NOXREF - { 0x01DB3D50, "PM_Duck", (size_t)&PM_Duck }, - { 0x01DB4110, "PM_LadderMove", (size_t)&PM_LadderMove }, - { 0x01DB44D0, "PM_Ladder", (size_t)&PM_Ladder }, - //{ 0x01DB45A0, "PM_WaterJump", (size_t)&PM_WaterJump }, // NOXREF - //{ 0x01DB4660, "PM_AddGravity", (size_t)&PM_AddGravity }, // NOXREF - //{ 0x01DB46C0, "PM_PushEntity", (size_t)&PM_PushEntity }, // NOXREF - { 0x01DB4820, "PM_Physics_Toss", (size_t)&PM_Physics_Toss }, - { 0x01DB4DE0, "PM_NoClip", (size_t)&PM_NoClip }, - //{ 0x01DB4E90, "PM_PreventMegaBunnyJumping", (size_t)&PM_PreventMegaBunnyJumping }, // NOXREF - { 0x01DB4F00, "PM_Jump", (size_t)&PM_Jump }, - { 0x01DB52F0, "PM_CheckWaterJump", (size_t)&PM_CheckWaterJump }, - { 0x01DB5560, "PM_CheckFalling", (size_t)&PM_CheckFalling }, - //{ 0x01DB5810, "PM_PlayWaterSounds", (size_t)&PM_PlayWaterSounds }, // NOXREF - //{ 0x01DB5810, "PM_CalcRoll", (size_t)&PM_CalcRoll }, // NOXREF - //{ 0x01DB58A0, "PM_DropPunchAngle", (size_t)&PM_DropPunchAngle }, // NOXREF - { 0x01DB58F0, "PM_CheckParamters", (size_t)&PM_CheckParamters }, - { 0x01DB5BE0, "PM_ReduceTimers", (size_t)&PM_ReduceTimers }, - //{ 0x01DB5D20, "PM_ShouldDoSpectMode", (size_t)&PM_ShouldDoSpectMode }, // NOXREF - { 0x01DB5D50, "PM_PlayerMove", (size_t)&PM_PlayerMove }, - { 0x01DB6430, "PM_CreateStuckTable", (size_t)&PM_CreateStuckTable }, - //{ 0x01DB66B0, "PM_GetVisEntInfo", (size_t)&PM_GetVisEntInfo }, // NOXREF - //{ 0x01DB66E0, "PM_GetPhysEntInfo", (size_t)&PM_GetPhysEntInfo }, // NOXREF -//pm_math - //{ 0x0, "anglemod", (size_t)&anglemod }, - { 0x01DB0000, "AngleVectors", (size_t)&AngleVectors }, - //{ 0x01DB0100, "AngleVectorsTranspose", (size_t)&AngleVectorsTranspose }, // NOXREF - { 0x01DB0200, "AngleMatrix", (size_t)&AngleMatrix }, - //{ 0x01DB02D0, "AngleIMatrix", (size_t)&AngleIMatrix }, // NOXREF - //{ 0x01DB03A0, "NormalizeAngles", (size_t)&NormalizeAngles }, // NOXREF - //{ 0x01DB03F0, "InterpolateAngles", (size_t)&InterpolateAngles }, // NOXREF - //{ 0x01DB0510, "AngleBetweenVectors", (size_t)&AngleBetweenVectors }, // NOXREF - //{ 0x01DB05B0, "VectorTransform", (size_t)&VectorTransform }, // NOXREF - { 0x01DB0610, "VectorCompare", (size_t)&VectorCompare }, - { 0x01DB0640, "VectorMA", (size_t)&VectorMA }, - //{ 0x01DB0680, "_DotProduct", (size_t)&_DotProduct }, // NOXREF - //{ 0x01DB06A0, "_VectorSubtract", (size_t)&_VectorSubtract }, // NOXREF - //{ 0x01DB06D0, "_VectorAdd", (size_t)&_VectorAdd }, // NOXREF - //{ 0x01DB0700, "_VectorCopy", (size_t)&_VectorCopy }, // NOXREF - //{ 0x01DB0720, "CrossProduct", (size_t)&CrossProduct }, // NOXREF - { 0x01DB0760, "Length", (size_t)&Length }, - //{ 0x01DB0780, "Distance", (size_t)&Distance }, // NOXREF - { 0x01DB07D0, "VectorNormalize", (size_t)&VectorNormalize }, - //{ 0x01DB0820, "VectorInverse", (size_t)&VectorInverse }, - { 0x01DB0840, "VectorScale", (size_t)&VectorScale }, - //{ 0x01DB0870, "Q_log2", (size_t)&Q_log2 }, - //{ 0x01DB0880, "VectorMatrix", (size_t)&VectorMatrix }, - //{ 0x01DB09D0, "VectorAngles", (size_t)&VectorAngles }, - -#endif // PM_Shared_Region - -#ifndef Monsters_Region -//CGib - //virtual func - //{ 0x01D70C90, "_ZN4CGib10ObjectCapsEv", mfunc_ptr_cast(&CGib::ObjectCaps_) }, // DEFAULT - //non-virtual func - { 0x01D6FFE0, "_ZN4CGib5SpawnEPKc", mfunc_ptr_cast(&CGib::Spawn) }, - { 0x01D6FCA0, "_ZN4CGib14BounceGibTouchEP11CBaseEntity", mfunc_ptr_cast(&CGib::BounceGibTouch) }, - { 0x01D6FE40, "_ZN4CGib14StickyGibTouchEP11CBaseEntity", mfunc_ptr_cast(&CGib::StickyGibTouch) }, - { 0x01D6FBF0, "_ZN4CGib12WaitTillLandEv", mfunc_ptr_cast(&CGib::WaitTillLand) }, - { 0x01D6E550, "_ZN4CGib13LimitVelocityEv", mfunc_ptr_cast(&CGib::LimitVelocity) }, - { 0x01D6EAB0, "_ZN4CGib12SpawnHeadGibEP9entvars_s", mfunc_ptr_cast(&CGib::SpawnHeadGib) }, - { 0x01D6EEB0, "_ZN4CGib15SpawnRandomGibsEP9entvars_sii", mfunc_ptr_cast(&CGib::SpawnRandomGibs) }, - //{ 0x01D6E640, "_ZN4CGib15SpawnStickyGibsEP9entvars_s6Vectori", mfunc_ptr_cast(&CGib::SpawnStickyGibs) }, // NOXREF -#endif // Monsters_Region - -#ifndef AirTank_Region - - //virtual func - { 0x01D592B0, "_ZN8CAirtank5SpawnEv", mfunc_ptr_cast(&CAirtank::Spawn_) }, - { 0x01D593A0, "_ZN8CAirtank8PrecacheEv", mfunc_ptr_cast(&CAirtank::Precache_) }, - { 0x01D59250, "_ZN8CAirtank4SaveER5CSave", mfunc_ptr_cast(&CAirtank::Save_) }, - { 0x01D59280, "_ZN8CAirtank7RestoreER8CRestore", mfunc_ptr_cast(&CAirtank::Restore_) }, - { 0x01D593C0, "_ZN8CAirtank6KilledEP9entvars_si", mfunc_ptr_cast(&CAirtank::Killed_) }, - //{ 0x01D59240, "_ZN8CAirtank10BloodColorEv", mfunc_ptr_cast(&CAirtank::BloodColor_) }, // DEFAULT - //non-virtual func - { 0x01D59410, "_ZN8CAirtank9TankThinkEv", mfunc_ptr_cast(&CAirtank::TankThink) }, - { 0x01D59430, "_ZN8CAirtank9TankTouchEP11CBaseEntity", mfunc_ptr_cast(&CAirtank::TankTouch) }, - { 0x01D591F0, "item_airtank", (size_t)&item_airtank }, - -#endif // AirTank_Region - -#ifndef Client_Region - - //{ 0x0, "_ZL8CMD_ARGCv", (size_t)&CMD_ARGC_ }, - //{ 0x0, "_ZL8CMD_ARGVi", (size_t)&CMD_ARGV_ }, - //{ 0x01D63CE0, "_Z17set_suicide_frameP9entvars_s", (size_t)&set_suicide_frame }, // NOXREF - { 0x01D63D30, "_Z13ClientConnectP7edict_sPKcS2_Pc", (size_t)&ClientConnect }, - { 0x01D63D50, "_Z16ClientDisconnectP7edict_s", (size_t)&ClientDisconnect }, - { 0x01D63E50, "_Z7respawnP9entvars_si", (size_t)&respawn }, - { 0x01D63F60, "_Z10ClientKillP7edict_s", (size_t)&ClientKill }, - { 0x01D64010, "_Z8ShowMenuP11CBasePlayeriiiPc_constprop_32", (size_t)&ShowMenu }, - //{ 0x01D64070, "_Z12ShowVGUIMenuP11CBasePlayeriiPc", (size_t)&ShowVGUIMenu }, - { 0x01D64130, "CountTeams", (size_t)&CountTeams }, //extern c func - { 0x01D64260, "_Z11ListPlayersP11CBasePlayer", (size_t)&ListPlayers }, - { 0x01D64460, "CountTeamPlayers", (size_t)&CountTeamPlayers }, //extern c func - { 0x01D64580, "_Z15ProcessKickVoteP11CBasePlayerS0_", (size_t)&ProcessKickVote }, - //{ 0x01D64920, "_Z17SelectDefaultTeamv", (size_t)&SelectDefaultTeam }, - { 0x01D649A0, "_Z15CheckStartMoneyv", (size_t)&CheckStartMoney }, - { 0x01D649F0, "_Z17ClientPutInServerP7edict_s", (size_t)&ClientPutInServer }, - { 0x01D64F00, "Q_strlen", (size_t)&Q_strlen_ }, - { 0x01D64F20, "_Z8Host_SayP7edict_si", (size_t)&Host_Say }, - //{ 0x0, "", (size_t)&DropSecondary }, // NOXREF - //{ 0x01D656F0, "_Z11DropPrimaryP11CBasePlayer", (size_t)&DropPrimary }, - { 0x01D65740, "_Z10CanBuyThisP11CBasePlayeri", (size_t)&CanBuyThis }, - { 0x01D65850, "_Z9BuyPistolP11CBasePlayeri", (size_t)&BuyPistol }, - { 0x01D65A30, "_Z10BuyShotgunP11CBasePlayeri", (size_t)&BuyShotgun }, - { 0x01D65B70, "_Z16BuySubMachineGunP11CBasePlayeri", (size_t)&BuySubMachineGun }, - //{ 0x01D65D00, "_Z19BuyWeaponByWeaponIDP11CBasePlayer12WeaponIdType", (size_t)&BuyWeaponByWeaponID }, - { 0x01D65E80, "_Z8BuyRifleP11CBasePlayeri", (size_t)&BuyRifle }, - { 0x01D66070, "_Z13BuyMachineGunP11CBasePlayeri", (size_t)&BuyMachineGun }, - { 0x01D66170, "_Z7BuyItemP11CBasePlayeri", (size_t)&BuyItem }, - { 0x01D669A0, "_Z27HandleMenu_ChooseAppearanceP11CBasePlayeri", (size_t)&HandleMenu_ChooseAppearance }, - { 0x01D66D10, "_Z21HandleMenu_ChooseTeamP11CBasePlayeri", (size_t)&HandleMenu_ChooseTeam }, - { 0x01D67930, "_Z6Radio1P11CBasePlayeri", (size_t)&Radio1 }, - { 0x01D67A20, "_Z6Radio2P11CBasePlayeri", (size_t)&Radio2 }, - { 0x01D67B10, "_Z6Radio3P11CBasePlayeri", (size_t)&Radio3 }, - { 0x01D67C70, "_Z10BuyGunAmmoR11CBasePlayerR15CBasePlayerItemb", (size_t)&BuyGunAmmo }, - //{ 0x01D67E50, "_Z7BuyAmmoP11CBasePlayerib", (size_t)&BuyAmmo }, // NOXREF - //{ 0x01D67EC0, "_Z16EntityFromUserIDi", (size_t)&EntityFromUserID }, // NOXREF - //{ 0x01D67FC0, "_Z20CountPlayersInServerv", (size_t)&CountPlayersInServer }, // NOXREF - { 0x01D680D0, "_Z22HandleBuyAliasCommandsP11CBasePlayerPKc", (size_t)&HandleBuyAliasCommands }, - { 0x01D68540, "_Z24HandleRadioAliasCommandsP11CBasePlayerPKc", (size_t)&HandleRadioAliasCommands }, - { 0x01D68840, "_Z13ClientCommandP7edict_s", (size_t)&ClientCommand }, - { 0x01D6B230, "_Z21ClientUserInfoChangedP7edict_sPc", (size_t)&ClientUserInfoChanged }, - { 0x01D6B4D0, "_Z16ServerDeactivatev", (size_t)&ServerDeactivate }, - { 0x01D6B520, "_Z14ServerActivateP7edict_sii", (size_t)&ServerActivate }, - { 0x01D6B620, "_Z14PlayerPreThinkP7edict_s", (size_t)&PlayerPreThink }, - { 0x01D6B640, "_Z15PlayerPostThinkP7edict_s", (size_t)&PlayerPostThink }, - //{ 0x01D6B660, "_Z13ParmsNewLevelv", (size_t)&ParmsNewLevel }, // PURE - { 0x01D6B670, "_Z16ParmsChangeLevelv", (size_t)&ParmsChangeLevel }, - { 0x01D6B6A0, "_Z10StartFramev", (size_t)&StartFrame }, - { 0x01D6B740, "_Z14ClientPrecachev", (size_t)&ClientPrecache }, - { 0x01D6CCE0, "_Z18GetGameDescriptionv", (size_t)&GetGameDescription }, - { 0x01D6CD00, "_Z9Sys_ErrorPKc", (size_t)&SysEngine_Error }, - { 0x01D6CD10, "_Z19PlayerCustomizationP7edict_sP15customization_s", (size_t)&PlayerCustomization }, - { 0x01D6CD90, "_Z16SpectatorConnectP7edict_s", (size_t)&SpectatorConnect }, - { 0x01D6CDB0, "_Z19SpectatorDisconnectP7edict_s", (size_t)&SpectatorDisconnect }, - { 0x01D6CDD0, "_Z14SpectatorThinkP7edict_s", (size_t)&SpectatorThink }, - { 0x01D6CDF0, "_Z15SetupVisibilityP7edict_sS0_PPhS2_", (size_t)&SetupVisibility }, - //{ 0x01D6CF60, "_Z14ResetPlayerPVSP7edict_si", (size_t)&ResetPlayerPVS }, // NOXREF - //{ 0x01D6CFB0, "_Z25CheckPlayerPVSLeafChangedP7edict_si", (size_t)&CheckPlayerPVSLeafChanged }, // NOXREF - //{ 0x01D6D020, "_Z15MarkEntityInPVSiifb", (size_t)&MarkEntityInPVS }, // NOXREF - //{ 0x01D6D060, "_Z24CheckEntityRecentlyInPVSiif", (size_t)&CheckEntityRecentlyInPVS }, // NOXREF - { 0x01D6D0B0, "_Z13AddToFullPackP14entity_state_siP7edict_sS2_iiPh", (size_t)&AddToFullPack }, - { 0x01D6D5F0, "_Z14CreateBaselineiiP14entity_state_sP7edict_si6VectorS3_", (size_t)&CreateBaseline }, - //{ 0x01D6D790, "_Z16Entity_FieldInitP7delta_s", (size_t)&Entity_FieldInit }, // NOXREF - { 0x01D6D800, "_Z13Entity_EncodeP7delta_sPKhS2_", (size_t)&Entity_Encode }, - //{ 0x01D6D9C0, "_Z16Player_FieldInitP7delta_s", (size_t)&Player_FieldInit }, // NOXREF - { 0x01D6DA00, "_Z13Player_EncodeP7delta_sPKhS2_", (size_t)&Player_Encode }, - { 0x01D6DB10, "_Z23Custom_Entity_FieldInitP7delta_s", (size_t)&Custom_Entity_FieldInit }, - { 0x01D6DBC0, "_Z13Custom_EncodeP7delta_sPKhS2_", (size_t)&Custom_Encode }, - { 0x01D6DCB0, "_Z16RegisterEncodersv", (size_t)&RegisterEncoders }, - { 0x01D6DCF0, "_Z13GetWeaponDataP7edict_sP13weapon_data_s", (size_t)&GetWeaponData }, - { 0x01D6DF00, "_Z16UpdateClientDataPK7edict_siP12clientdata_s", (size_t)&UpdateClientData }, - { 0x01D6E2F0, "_Z8CmdStartPK7edict_sPK9usercmd_sj", (size_t)&CmdStart }, - { 0x01D6E360, "_Z6CmdEndPK7edict_s", (size_t)&CmdEnd }, - { 0x01D6E410, "_Z20ConnectionlessPacketPK8netadr_sPKcPcPi", (size_t)&ConnectionlessPacket }, - { 0x01D6E420, "_Z13GetHullBoundsiPfS_", (size_t)&GetHullBounds }, - { 0x01D6E440, "_Z24CreateInstancedBaselinesv", (size_t)&CreateInstancedBaselines }, - { 0x01D6E450, "_Z16InconsistentFilePK7edict_sPKcPc", (size_t)&InconsistentFile }, - { 0x01D6E490, "_Z20AllowLagCompensationv", (size_t)&AllowLagCompensation }, - -#endif // Client_Region - -#ifndef Cbase_Region - - //base func - { 0x01D61A30, "_Z19CaseInsensitiveHashPKci", (size_t)&CaseInsensitiveHash }, - { 0x01D61A70, "_Z20EmptyEntityHashTablev", (size_t)&EmptyEntityHashTable }, - { 0x01D61AE0, "_Z18AddEntityHashValueP9entvars_sPKc12hash_types_e", (size_t)&AddEntityHashValue }, - { 0x01D61CA0, "_Z21RemoveEntityHashValueP9entvars_sPKc12hash_types_e", (size_t)&RemoveEntityHashValue }, - { 0x01D61E20, "_Z13printEntitiesv", (size_t)&printEntities }, - { 0x01D61ED0, "_Z19CREATE_NAMED_ENTITYj", (size_t)&CREATE_NAMED_ENTITY }, - { 0x01D61F10, "_Z13REMOVE_ENTITYP7edict_s", (size_t)&REMOVE_ENTITY }, - { 0x01D62540, "_Z12CONSOLE_ECHOPcz", (size_t)&CONSOLE_ECHO_ }, - { 0x01D61F30, "_Z15loopPerformancev", (size_t)&loopPerformance }, - { 0x01D62570, "GetEntityAPI", (size_t)&GetEntityAPI }, - //{ 0x01D62670, "_Z13GetEntityAPI2P13DLL_FUNCTIONSPi", (size_t)&GetEntityAPI2 }, // NOXREF - { 0x01D626B0, "GetNewDLLFunctions", (size_t)&GetNewDLLFunctions }, - //{ 0x01D62B20, "_Z16FindGlobalEntityjj", (size_t)&FindGlobalEntity }, // NOXREF - { 0x01D63700, "_ZL21SetObjectCollisionBoxP9entvars_s", (size_t)&SetObjectCollisionBox }, - { 0x01D63BE0, "_Z20OnFreeEntPrivateDataP7edict_s", (size_t)&OnFreeEntPrivateData }, - { 0x01D80630, "_Z11GameDLLInitv", (size_t)&GameDLLInit }, - //{ 0x01DB6BD0, "_Z12GetSkillCvarPc", (size_t)&GetSkillCvar }, //NOXREF - { 0x01D626F0, "_Z13DispatchSpawnP7edict_s", (size_t)&DispatchSpawn }, - { 0x01D629D0, "_Z13DispatchThinkP7edict_s", (size_t)&DispatchThink }, - { 0x01D62990, "_Z11DispatchUseP7edict_sS0_", (size_t)&DispatchUse }, - { 0x01D62930, "_Z13DispatchTouchP7edict_sS0_", (size_t)&DispatchTouch }, - { 0x01D62A20, "_Z15DispatchBlockedP7edict_sS0_", (size_t)&DispatchBlocked }, - { 0x01D628F0, "_Z16DispatchKeyValueP7edict_sP14KeyValueData_s", (size_t)&DispatchKeyValue }, - { 0x01D62A50, "_Z12DispatchSaveP7edict_sP13saverestore_s", (size_t)&DispatchSave }, - { 0x01D62BD0, "_Z15DispatchRestoreP7edict_sP13saverestore_si", (size_t)&DispatchRestore }, - { 0x01D62FF0, "_Z25DispatchObjectCollsionBoxP7edict_s", (size_t)&DispatchObjectCollsionBox }, - { 0x01D63020, "_Z15SaveWriteFieldsP13saverestore_sPKcPvP15TYPEDESCRIPTIONi", (size_t)&SaveWriteFields }, - { 0x01D63060, "_Z14SaveReadFieldsP13saverestore_sPKcPvP15TYPEDESCRIPTIONi", (size_t)&SaveReadFields }, - //virtual func -//CBaseEntity - //{ 0x01D18590, "_ZN11CBaseEntity5SpawnEv", mfunc_ptr_cast(&CBaseEntity::Spawn_) }, // PURE - //{ 0x01D185A0, "_ZN11CBaseEntity8PrecacheEv", mfunc_ptr_cast(&CBaseEntity::Precache_) }, // PURE - //{ 0x01D01B90, "_ZN11CBaseEntity7RestartEv", mfunc_ptr_cast(&CBaseEntity::Restart_) }, // PURE - ////{ 0x01D185B0, "_ZN11CBaseEntity8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CBaseEntity::KeyValue_) }, // default - { 0x01D635D0, "_ZN11CBaseEntity4SaveER5CSave", mfunc_ptr_cast(&CBaseEntity::Save_) }, - { 0x01D63610, "_ZN11CBaseEntity7RestoreER8CRestore", mfunc_ptr_cast(&CBaseEntity::Restore_) }, - //{ 0x01D01BA0, "_ZN11CBaseEntity10ObjectCapsEv", mfunc_ptr_cast(&CBaseEntity::ObjectCaps_) }, // default - //{ 0x01D01BB0, "_ZN11CBaseEntity8ActivateEv", mfunc_ptr_cast(&CBaseEntity::Activate_) }, // PURE - //{ 0x01D638B0, "_ZN11CBaseEntity21SetObjectCollisionBoxEv", mfunc_ptr_cast(&CBaseEntity::SetObjectCollisionBox_) }, // default - //{ 0x01D01BC0, "_ZN11CBaseEntity8ClassifyEv", mfunc_ptr_cast(&CBaseEntity::Classify_) }, // default - //{ 0x01D01BD0, "_ZN11CBaseEntity11DeathNoticeEP9entvars_s", mfunc_ptr_cast(&CBaseEntity::DeathNotice_) }, // default - { 0x01D719D0, "_ZN11CBaseEntity11TraceAttackEP9entvars_sf6VectorP11TraceResulti", mfunc_ptr_cast(&CBaseEntity::TraceAttack_) }, - { 0x01D63210, "_ZN11CBaseEntity10TakeDamageEP9entvars_sS1_fi", mfunc_ptr_cast(&CBaseEntity::TakeDamage_) }, - { 0x01D63190, "_ZN11CBaseEntity10TakeHealthEfi", mfunc_ptr_cast(&CBaseEntity::TakeHealth_) }, - { 0x01D63550, "_ZN11CBaseEntity6KilledEP9entvars_si", mfunc_ptr_cast(&CBaseEntity::Killed_) }, - //{ 0x01D01BE0, "_ZN11CBaseEntity10BloodColorEv", mfunc_ptr_cast(&CBaseEntity::BloodColor_) }, // default - { 0x01D72EE0, "_ZN11CBaseEntity10TraceBleedEf6VectorP11TraceResulti", mfunc_ptr_cast(&CBaseEntity::TraceBleed_) }, - //{ 0x01D01BF0, "_ZN11CBaseEntity11IsTriggeredEPS_", mfunc_ptr_cast(&CBaseEntity::IsTriggered_) }, // default - //{ 0x01D01C00, "_ZN11CBaseEntity16MyMonsterPointerEv", mfunc_ptr_cast(&CBaseEntity::MyMonsterPointer_) }, // default - //{ 0x01D01C10, "_ZN11CBaseEntity21MySquadMonsterPointerEv", mfunc_ptr_cast(&CBaseEntity::MySquadMonsterPointer_) }, // default - //{ 0x01D01C20, "_ZN11CBaseEntity14GetToggleStateEv", mfunc_ptr_cast(&CBaseEntity::GetToggleState_) }, // default - //{ 0x01D01C30, "_ZN11CBaseEntity9AddPointsEii", mfunc_ptr_cast(&CBaseEntity::AddPoints_) }, // PURE - //{ 0x01D01C40, "_ZN11CBaseEntity15AddPointsToTeamEii", mfunc_ptr_cast(&CBaseEntity::AddPointsToTeam_) }, // PURE - //{ 0x01D01C50, "_ZN11CBaseEntity13AddPlayerItemEP15CBasePlayerItem", mfunc_ptr_cast(&CBaseEntity::AddPlayerItem_) }, // default - //{ 0x01D01C60, "_ZN11CBaseEntity16RemovePlayerItemEP15CBasePlayerItem", mfunc_ptr_cast(&CBaseEntity::RemovePlayerItem_) }, // default - //{ 0x01D01C70, "_ZN11CBaseEntity8GiveAmmoEiPci", mfunc_ptr_cast(&CBaseEntity::GiveAmmo_) }, // default - //{ 0x01D01C80, "_ZN11CBaseEntity8GetDelayEv", mfunc_ptr_cast(&CBaseEntity::GetDelay_) }, // DEFAULT - ////{ 0x01D01C90, "_ZN11CBaseEntity8IsMovingEv", mfunc_ptr_cast(&CBaseEntity::IsMoving_) }, - //{ 0x01D01CE0, "_ZN11CBaseEntity13OverrideResetEv", mfunc_ptr_cast(&CBaseEntity::OverrideReset_) }, // PURE - { 0x01D63AF0, "_ZN11CBaseEntity11DamageDecalEi", mfunc_ptr_cast(&CBaseEntity::DamageDecal_) }, - //{ 0x01D01CF0, "_ZN11CBaseEntity14SetToggleStateEi", mfunc_ptr_cast(&CBaseEntity::SetToggleState_) }, // PURE - //{ 0x01D01D00, "_ZN11CBaseEntity13StartSneakingEv", mfunc_ptr_cast(&CBaseEntity::StartSneaking_) }, // PURE - //{ 0x01D01D10, "_ZN11CBaseEntity12StopSneakingEv", mfunc_ptr_cast(&CBaseEntity::StopSneaking_) }, // PURE - //{ 0x01D01D20, "_ZN11CBaseEntity10OnControlsEP9entvars_s", mfunc_ptr_cast(&CBaseEntity::OnControls_) }, // default - ////{ 0x01D01D30, "_ZN11CBaseEntity10IsSneakingEv", mfunc_ptr_cast(&CBaseEntity::IsSneaking_) }, // default - //{ 0x01D01D40, "_ZN11CBaseEntity7IsAliveEv", mfunc_ptr_cast(&CBaseEntity::IsAlive_) }, // default - //{ 0x01D01D70, "_ZN11CBaseEntity10IsBSPModelEv", mfunc_ptr_cast(&CBaseEntity::IsBSPModel_) }, // default - //{ 0x01D01D90, "_ZN11CBaseEntity12ReflectGaussEv", mfunc_ptr_cast(&CBaseEntity::ReflectGauss_) }, // default - //{ 0x01D01DC0, "_ZN11CBaseEntity9HasTargetEj", mfunc_ptr_cast(&CBaseEntity::HasTarget_) }, // default - { 0x01D639C0, "_ZN11CBaseEntity9IsInWorldEv", mfunc_ptr_cast(&CBaseEntity::IsInWorld_) }, - //{ 0x01D01E30, "_ZN11CBaseEntity8IsPlayerEv", mfunc_ptr_cast(&CBaseEntity::IsPlayer_) }, // default - //{ 0x01D01E40, "_ZN11CBaseEntity11IsNetClientEv", mfunc_ptr_cast(&CBaseEntity::IsNetClient_) }, // default - //{ 0x01D01E50, "_ZN11CBaseEntity6TeamIDEv", mfunc_ptr_cast(&CBaseEntity::TeamID_) }, // default - { 0x01D63580, "_ZN11CBaseEntity13GetNextTargetEv", mfunc_ptr_cast(&CBaseEntity::GetNextTarget_) }, - //{ 0x01D01E60, "_ZN11CBaseEntity5ThinkEv", mfunc_ptr_cast(&CBaseEntity::Think_) }, // default - //{ 0x01D01E70, "_ZN11CBaseEntity5TouchEPS_", mfunc_ptr_cast(&CBaseEntity::Touch_) }, // default - //{ 0x01D01E80, "_ZN11CBaseEntity3UseEPS_S0_8USE_TYPEf", mfunc_ptr_cast(&CBaseEntity::Use_) }, // default - //{ 0x01D01EA0, "_ZN11CBaseEntity7BlockedEPS_", mfunc_ptr_cast(&CBaseEntity::Blocked_) }, // default - //{ 0x01D18B00, "_ZN11CBaseEntity7RespawnEv", mfunc_ptr_cast(&CBaseEntity::Respawn_) }, // default - //{ 0x01D01EC0, "_ZN11CBaseEntity11UpdateOwnerEv", mfunc_ptr_cast(&CBaseEntity::UpdateOwner_) }, // PURE - //{ 0x01D01ED0, "_ZN11CBaseEntity12FBecomeProneEv", mfunc_ptr_cast(&CBaseEntity::FBecomeProne_) }, // default - //{ 0x01D01EE0, "_ZN11CBaseEntity6CenterEv", mfunc_ptr_cast(&CBaseEntity::Center_) }, // default - //{ 0x01D01F40, "_ZN11CBaseEntity11EyePositionEv", mfunc_ptr_cast(&CBaseEntity::EyePosition_) }, // default - //{ 0x01D01F70, "_ZN11CBaseEntity11EarPositionEv", mfunc_ptr_cast(&CBaseEntity::EarPosition_) }, // default - //{ 0x01D01FA0, "_ZN11CBaseEntity10BodyTargetERK6Vector", mfunc_ptr_cast(&CBaseEntity::BodyTarget_) },// default - //{ 0x01D01FC0, "_ZN11CBaseEntity12IlluminationEv", mfunc_ptr_cast(&CBaseEntity::Illumination_) }, // default - { 0x01D71840, "_ZN11CBaseEntity8FVisibleEPS_", mfunc_ptr_cast(&CBaseEntity::FVisible_) }, - { 0x01D71950, "_ZN11CBaseEntity8FVisibleERK6Vector", mfunc_ptr_cast(&CBaseEntity::FVisible_) }, - //non-virtual func - //{ 0x01DA7FD0, "", mfunc_ptr_cast(&CBaseEntity::Instance) }, - { 0x01DBAF90, "_ZN11CBaseEntity14UpdateOnRemoveEv", mfunc_ptr_cast(&CBaseEntity::UpdateOnRemove) }, - { 0x01DBAFF0, "_ZN11CBaseEntity10SUB_RemoveEv", mfunc_ptr_cast(&CBaseEntity::SUB_Remove) }, - { 0x01DBB0A0, "_ZN11CBaseEntity13SUB_DoNothingEv", mfunc_ptr_cast(&CBaseEntity::SUB_DoNothing) }, - { 0x01D6FB10, "_ZN11CBaseEntity16SUB_StartFadeOutEv", mfunc_ptr_cast(&CBaseEntity::SUB_StartFadeOut) }, - { 0x01D6FB80, "_ZN11CBaseEntity11SUB_FadeOutEv", mfunc_ptr_cast(&CBaseEntity::SUB_FadeOut) }, - { 0x01D01EB0, "_ZN11CBaseEntity17SUB_CallUseToggleEv", mfunc_ptr_cast(&CBaseEntity::SUB_CallUseToggle) }, - { 0x01D63AC0, "_ZN11CBaseEntity12ShouldToggleE8USE_TYPEi", mfunc_ptr_cast(&CBaseEntity::ShouldToggle) }, - { 0x01D71BC0, "_ZN11CBaseEntity11FireBulletsEj6VectorS0_S0_fiiiP9entvars_s", mfunc_ptr_cast(&CBaseEntity::FireBullets) }, - { 0x01D72480, "_ZN11CBaseEntity12FireBullets3E6VectorS0_ffiiifP9entvars_sbi", mfunc_ptr_cast(&CBaseEntity::FireBullets3) }, - { 0x01DBB190, "_ZN11CBaseEntity14SUB_UseTargetsEPS_8USE_TYPEf", mfunc_ptr_cast(&CBaseEntity::SUB_UseTargets) }, - { 0x01DBB260, "_Z11FireTargetsPKcP11CBaseEntityS2_8USE_TYPEf", (size_t)&FireTargets }, - { 0x01D638C0, "_ZN11CBaseEntity10IntersectsEPS_", mfunc_ptr_cast(&CBaseEntity::Intersects) }, - //{ 0x01D63950, "_ZN11CBaseEntity11MakeDormantEv", mfunc_ptr_cast(&CBaseEntity::MakeDormant) }, // NOXREF - { 0x01D639B0, "_ZN11CBaseEntity9IsDormantEv", mfunc_ptr_cast(&CBaseEntity::IsDormant) }, - //{ 0x0, "_ZN11CBaseEntity16IsLockedByMasterEv", mfunc_ptr_cast(&CBaseEntity::IsLockedByMaster) }, // NOXREF - { 0x01D63B20, "_ZN11CBaseEntity6CreateEPcRK6VectorS3_P7edict_s", mfunc_ptr_cast(&CBaseEntity::Create) }, -//CPointEntity - { 0x01DBACC0, "_ZN12CPointEntity5SpawnEv", mfunc_ptr_cast(&CPointEntity::Spawn_) }, - //{ 0x01D60CB0, "_ZN12CPointEntity10ObjectCapsEv", mfunc_ptr_cast(&CPointEntity::ObjectCaps_) }, // default -//CNullEntity - { 0x01DBACD0, "_ZN11CNullEntity5SpawnEv", mfunc_ptr_cast(&CNullEntity::Spawn_) }, -//CBaseDMStart - { 0x01DBAF20, "_ZN12CBaseDMStart8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CBaseDMStart::KeyValue_) }, - { 0x01DBAF70, "_ZN12CBaseDMStart11IsTriggeredEP11CBaseEntity", mfunc_ptr_cast(&CBaseDMStart::IsTriggered_) }, -//CBaseDelay - //virtual func - { 0x01DBB110, "_ZN10CBaseDelay8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CBaseDelay::KeyValue_) }, - { 0x01DBB0B0, "_ZN10CBaseDelay4SaveER5CSave", mfunc_ptr_cast(&CBaseDelay::Save_) }, - { 0x01DBB0E0, "_ZN10CBaseDelay7RestoreER8CRestore", mfunc_ptr_cast(&CBaseDelay::Restore_) }, - //non-virtual func - { 0x01DBB620, "_Z10SetMovedirP9entvars_s", (size_t)&SetMovedir }, - { 0x01DBB360, "_ZN10CBaseDelay14SUB_UseTargetsEP11CBaseEntity8USE_TYPEf", mfunc_ptr_cast(&CBaseDelay::SUB_UseTargets) }, - { 0x01DBB730, "_ZN10CBaseDelay10DelayThinkEv", mfunc_ptr_cast(&CBaseDelay::DelayThink) }, -//CBaseAnimating - //virtual func - { 0x01D59E70, "_ZN14CBaseAnimating4SaveER5CSave", mfunc_ptr_cast(&CBaseAnimating::Save_) }, - { 0x01D59EA0, "_ZN14CBaseAnimating7RestoreER8CRestore", mfunc_ptr_cast(&CBaseAnimating::Restore_) }, - //{ 0x01D01FE0, "_ZN14CBaseAnimating15HandleAnimEventEP14MonsterEvent_t", mfunc_ptr_cast(&CBaseAnimating::HandleAnimEvent_) }, // PURE - //non-virtual func - { 0x01D59ED0, "_ZN14CBaseAnimating18StudioFrameAdvanceEf", mfunc_ptr_cast(&CBaseAnimating::StudioFrameAdvance) }, - //{ 0x01D5A130, "_ZN14CBaseAnimating16GetSequenceFlagsEv", mfunc_ptr_cast(&CBaseAnimating::GetSequenceFlags) }, // NOXREF - { 0x01D5A010, "_ZN14CBaseAnimating14LookupActivityEi", mfunc_ptr_cast(&CBaseAnimating::LookupActivity) }, - { 0x01D5A040, "_ZN14CBaseAnimating22LookupActivityHeaviestEi", mfunc_ptr_cast(&CBaseAnimating::LookupActivityHeaviest) }, - { 0x01D5A070, "_ZN14CBaseAnimating14LookupSequenceEPKc", mfunc_ptr_cast(&CBaseAnimating::LookupSequence) }, - { 0x01D5A0A0, "_ZN14CBaseAnimating17ResetSequenceInfoEv", mfunc_ptr_cast(&CBaseAnimating::ResetSequenceInfo) }, - { 0x01D5A160, "_ZN14CBaseAnimating18DispatchAnimEventsEf", mfunc_ptr_cast(&CBaseAnimating::DispatchAnimEvents) }, - { 0x01D5A280, "_ZN14CBaseAnimating17SetBoneControllerEif", mfunc_ptr_cast(&CBaseAnimating::SetBoneController) }, - { 0x01D5A2B0, "_ZN14CBaseAnimating19InitBoneControllersEv", mfunc_ptr_cast(&CBaseAnimating::InitBoneControllers) }, - //{ 0x01D5A310, "_ZN14CBaseAnimating11SetBlendingEif", mfunc_ptr_cast(&CBaseAnimating::SetBlending) }, // NOXREF - //{ 0x01D5A340, "_ZN14CBaseAnimating15GetBonePositionEiR6VectorS1_", mfunc_ptr_cast(&CBaseAnimating::GetBonePosition) }, // NOXREF - //{ 0x01D5A370, "_ZN14CBaseAnimating13GetAttachmentEiR6VectorS1_", mfunc_ptr_cast(&CBaseAnimating::GetAttachment) }, // NOXREF - //{ 0x01D5A3A0, "_ZN14CBaseAnimating14FindTransitionEiiPi", mfunc_ptr_cast(&CBaseAnimating::FindTransition) }, // NOXREF - //{ 0x01D5A400, "_ZN14CBaseAnimating15GetAutomovementER6VectorS1_f", mfunc_ptr_cast(&CBaseAnimating::GetAutomovement) }, // NOXREF - //{ 0x01D5A410, "_ZN14CBaseAnimating12SetBodygroupEii", mfunc_ptr_cast(&CBaseAnimating::SetBodygroup) }, // NOXREF - //{ 0x01D5A440, "_ZN14CBaseAnimating12GetBodygroupEi", mfunc_ptr_cast(&CBaseAnimating::GetBodygroup) }, // NOXREF - //{ 0x01D5A470, "_ZN14CBaseAnimating11ExtractBboxEiPfS0_", mfunc_ptr_cast(&CBaseAnimating::ExtractBbox) }, // NOXREF - { 0x01D5A4A0, "_ZN14CBaseAnimating14SetSequenceBoxEv", mfunc_ptr_cast(&CBaseAnimating::SetSequenceBox) }, -//CBaseToggle - //virtual func - { 0x01DBB7D0, "_ZN11CBaseToggle8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CBaseToggle::KeyValue_) }, - { 0x01DBB770, "_ZN11CBaseToggle4SaveER5CSave", mfunc_ptr_cast(&CBaseToggle::Save_) }, - { 0x01DBB7A0, "_ZN11CBaseToggle7RestoreER8CRestore", mfunc_ptr_cast(&CBaseToggle::Restore_) }, - //{ 0x01D20F20, "_ZN11CBaseToggle14GetToggleStateEv", mfunc_ptr_cast(&CBaseToggle::GetToggleState_) }, - //{ 0x01D20F30, "_ZN11CBaseToggle8GetDelayEv", mfunc_ptr_cast(&CBaseToggle::GetDelay_) }, - //non-virtual func - { 0x01DBB920, "_ZN11CBaseToggle10LinearMoveE6Vectorf", mfunc_ptr_cast(&CBaseToggle::LinearMove) }, - { 0x01DBBA60, "_ZN11CBaseToggle14LinearMoveDoneEv", mfunc_ptr_cast(&CBaseToggle::LinearMoveDone) }, - { 0x01DBBAC0, "_ZN11CBaseToggle16IsLockedByMasterEv", mfunc_ptr_cast(&CBaseToggle::IsLockedByMaster) }, // NOXREF - { 0x01DBBB00, "_ZN11CBaseToggle11AngularMoveE6Vectorf", mfunc_ptr_cast(&CBaseToggle::AngularMove) }, - { 0x01DBBC40, "_ZN11CBaseToggle15AngularMoveDoneEv", mfunc_ptr_cast(&CBaseToggle::AngularMoveDone) }, - { 0x01DBBCA0, "_ZN11CBaseToggle9AxisValueEiRK6Vector", mfunc_ptr_cast(&CBaseToggle::AxisValue) }, - { 0x01DBBCD0, "_ZN11CBaseToggle7AxisDirEP9entvars_s", mfunc_ptr_cast(&CBaseToggle::AxisDir) }, - { 0x01DBBD60, "_ZN11CBaseToggle9AxisDeltaEiRK6VectorS2_", mfunc_ptr_cast(&CBaseToggle::AxisDelta) }, - //{ 0x01DBBDA0, "_Z13FEntIsVisibleP9entvars_sS0_", (size_t)&FEntIsVisible }, // NOXREF -//CWorld - //virtual func - { 0x01DD1EE0, "_ZN6CWorld5SpawnEv", mfunc_ptr_cast(&CWorld::Spawn_) }, - { 0x01DD2000, "_ZN6CWorld8PrecacheEv", mfunc_ptr_cast(&CWorld::Precache_) }, - { 0x01DD2440, "_ZN6CWorld8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CWorld::KeyValue_) }, -//linked objects - { 0x01DBACF0, "info_null", (size_t)&info_null }, - { 0x01DBAD40, "info_player_deathmatch", (size_t)&info_player_deathmatch }, - { 0x01DBAD90, "info_player_start", (size_t)&info_player_start }, - { 0x01DBADE0, "info_vip_start", (size_t)&info_vip_start }, - { 0x01DBAE30, "info_landmark", (size_t)&info_landmark }, - { 0x01DBAE80, "info_hostage_rescue", (size_t)&info_hostage_rescue }, - { 0x01DBAED0, "info_bomb_target", (size_t)&info_bomb_target }, - { 0x01DBB310, "DelayedUse", (size_t)&DelayedUse }, - -#endif // Cbase_Region - -#ifndef Spectator_Region - - //virtual func - //{ 0x01DBAC90, "_ZN14CBaseSpectator5SpawnEv", mfunc_ptr_cast(&CBaseSpectator::Spawn_) }, // NOXREF - //non-virtual func - //{ 0x01DBAB20, "_ZN14CBaseSpectator16SpectatorConnectEv", mfunc_ptr_cast(&CBaseSpectator::SpectatorConnect) }, // NOXREF - //{ 0x01DBAB50, "_ZN14CBaseSpectator19SpectatorDisconnectEv", mfunc_ptr_cast(&CBaseSpectator::SpectatorDisconnect) }, // NOXREF - //{ 0x01DBAC40, "_ZN14CBaseSpectator14SpectatorThinkEv", mfunc_ptr_cast(&CBaseSpectator::SpectatorThink) }, // NOXREF - //{ 0x01DBAB60, "_ZN14CBaseSpectator23SpectatorImpulseCommandEv", mfunc_ptr_cast(&CBaseSpectator::SpectatorImpulseCommand) }, // PRIVATE - -#endif // Spectator_Region - -#ifndef BaseMonster_Region - - //virtual func - { 0x01D8AD30, "_ZN12CBaseMonster8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CBaseMonster::KeyValue_) }, - { 0x01D71AA0, "_ZN12CBaseMonster11TraceAttackEP9entvars_sf6VectorP11TraceResulti", mfunc_ptr_cast(&CBaseMonster::TraceAttack_) }, - { 0x01D70180, "_ZN12CBaseMonster10TakeDamageEP9entvars_sS1_fi", mfunc_ptr_cast(&CBaseMonster::TakeDamage_) }, - { 0x01D70130, "_ZN12CBaseMonster10TakeHealthEfi", mfunc_ptr_cast(&CBaseMonster::TakeHealth_) }, - { 0x01D6F9D0, "_ZN12CBaseMonster6KilledEP9entvars_si", mfunc_ptr_cast(&CBaseMonster::Killed_) }, - //{ 0x01D20F50, "_ZN12CBaseMonster10BloodColorEv", mfunc_ptr_cast(&CBaseMonster::BloodColor_) }, // DEFAULT - //{ 0x01D24CF0, "_ZN12CBaseMonster7IsAliveEv", mfunc_ptr_cast(&CBaseMonster::IsAlive_) }, // DEFAULT - { 0x01D8ABF0, "_ZN12CBaseMonster9ChangeYawEi", mfunc_ptr_cast(&CBaseMonster::ChangeYaw_) }, - { 0x01D6F360, "_ZN12CBaseMonster12HasHumanGibsEv", mfunc_ptr_cast(&CBaseMonster::HasHumanGibs_) }, - { 0x01D6F390, "_ZN12CBaseMonster12HasAlienGibsEv", mfunc_ptr_cast(&CBaseMonster::HasAlienGibs_) }, - { 0x01D6F3C0, "_ZN12CBaseMonster11FadeMonsterEv", mfunc_ptr_cast(&CBaseMonster::FadeMonster_) }, - { 0x01D6F4B0, "_ZN12CBaseMonster10GibMonsterEv", mfunc_ptr_cast(&CBaseMonster::GibMonster_) }, - { 0x01D6F5A0, "_ZN12CBaseMonster16GetDeathActivityEv", mfunc_ptr_cast(&CBaseMonster::GetDeathActivity_) }, - { 0x01D6F880, "_ZN12CBaseMonster10BecomeDeadEv", mfunc_ptr_cast(&CBaseMonster::BecomeDead_) }, - { 0x01D8AD10, "_ZN12CBaseMonster17ShouldFadeOnDeathEv", mfunc_ptr_cast(&CBaseMonster::ShouldFadeOnDeath_) }, - { 0x01D8AD40, "_ZN12CBaseMonster13IRelationshipEP11CBaseEntity", mfunc_ptr_cast(&CBaseMonster::IRelationship_) }, - //{ 0x01D20F40, "_ZN12CBaseMonster9PainSoundEv", mfunc_ptr_cast(&CBaseMonster::PainSound_) }, // PURE - //{ 0x01D24AD0, "_ZN12CBaseMonster13ResetMaxSpeedEv", mfunc_ptr_cast(&CBaseMonster::ResetMaxSpeed_) }, // PURE - //{ 0x01D8ABE0, "_ZN12CBaseMonster13ReportAIStateEv", mfunc_ptr_cast(&CBaseMonster::ReportAIState_) }, // PURE - { 0x01D8AC60, "_ZN12CBaseMonster15MonsterInitDeadEv", mfunc_ptr_cast(&CBaseMonster::MonsterInitDead_) }, - { 0x01D8AD70, "_ZN12CBaseMonster4LookEi", mfunc_ptr_cast(&CBaseMonster::Look_) }, - { 0x01D8AF10, "_ZN12CBaseMonster16BestVisibleEnemyEv", mfunc_ptr_cast(&CBaseMonster::BestVisibleEnemy_) }, - { 0x01D716D0, "_ZN12CBaseMonster11FInViewConeEP11CBaseEntity", mfunc_ptr_cast(&CBaseMonster::FInViewCone_) }, - { 0x01D71790, "_ZN12CBaseMonster11FInViewConeEP6Vector", mfunc_ptr_cast(&CBaseMonster::FInViewCone_) }, - //non-virtual func - //{ 0x01D8AC00, "_ZN12CBaseMonster12MakeIdealYawE6Vector", mfunc_ptr_cast(&CBaseMonster::MakeIdealYaw) }, // PURE - //{ 0x01D6F7F0, "_ZN12CBaseMonster22GetSmallFlinchActivityEv", mfunc_ptr_cast(&CBaseMonster::GetSmallFlinchActivity) }, // NOXREF - //{ 0x01D6F8C0, "_ZN12CBaseMonster16ShouldGibMonsterEi", mfunc_ptr_cast(&CBaseMonster::ShouldGibMonster) }, // NOXREF - { 0x01D6F8F0, "_ZN12CBaseMonster14CallGibMonsterEv", mfunc_ptr_cast(&CBaseMonster::CallGibMonster) }, - { 0x01D8AD20, "_ZN12CBaseMonster15FCheckAITriggerEv", mfunc_ptr_cast(&CBaseMonster::FCheckAITrigger) }, - { 0x01D705B0, "_ZN12CBaseMonster14DeadTakeDamageEP9entvars_sS1_fi", mfunc_ptr_cast(&CBaseMonster::DeadTakeDamage) }, - //{ 0x01D707C0, "_ZN12CBaseMonster11DamageForceEf", mfunc_ptr_cast(&CBaseMonster::DamageForce) }, // NOXREF - { 0x01D71470, "_ZN12CBaseMonster12RadiusDamageEP9entvars_sS1_fii", mfunc_ptr_cast(&CBaseMonster::RadiusDamage) }, - //{ 0x01D71520, "_ZN12CBaseMonster12RadiusDamageE6VectorP9entvars_sS2_fii", mfunc_ptr_cast(&CBaseMonster::RadiusDamage) }, // NOXREF - //{ 0x0, "_ZN12CBaseMonster13RadiusDamage2E6VectorP9entvars_sS2_fii", mfunc_ptr_cast(&CBaseMonster::RadiusDamage2) }, // NOXREF - { 0x01D8AC10, "_ZN12CBaseMonster15CorpseFallThinkEv", mfunc_ptr_cast(&CBaseMonster::CorpseFallThink) }, - //{ 0x01D715D0, "_ZN12CBaseMonster20CheckTraceHullAttackEfii", mfunc_ptr_cast(&CBaseMonster::CheckTraceHullAttack) }, // NOXREF - //{ 0x01D730E0, "_ZN12CBaseMonster20MakeDamageBloodDecalEifP11TraceResultRK6Vector", mfunc_ptr_cast(&CBaseMonster::MakeDamageBloodDecal) }, // NOXREF - { 0x01D73240, "_ZN12CBaseMonster10BloodSplatER6VectorS1_ii", mfunc_ptr_cast(&CBaseMonster::BloodSplat) }, - { 0x01D70800, "_Z11RadiusFlash6VectorP9entvars_sS1_fii", (size_t)&RadiusFlash }, - //{ 0x0, "_ZL24GetAmountOfPlayerVisible6VectorP11CBaseEntity_constprop_21", (size_t)&GetAmountOfPlayerVisible }, // NOXREF - { 0x01D70CA0, "_Z12RadiusDamage6VectorP9entvars_sS1_ffii", (size_t)&RadiusDamage }, - { 0x01D711B0, "_Z13RadiusDamage26VectorP9entvars_sS1_ffii", (size_t)&RadiusDamage2 }, - //{ 0x01D72430, "_Z4vstrPf", (size_t)&vstr }, // NOXREF - -#endif // BaseMonster_Region - -#ifndef Player_Region - -//CBasePlayer - //virtual func - { 0x01DA5200, "_ZN11CBasePlayer5SpawnEv", mfunc_ptr_cast(&CBasePlayer::Spawn_) }, - { 0x01DA5E40, "_ZN11CBasePlayer8PrecacheEv", mfunc_ptr_cast(&CBasePlayer::Precache_) }, - { 0x01DA5EE0, "_ZN11CBasePlayer4SaveER5CSave", mfunc_ptr_cast(&CBasePlayer::Save_) }, - { 0x01DA6080, "_ZN11CBasePlayer7RestoreER8CRestore", mfunc_ptr_cast(&CBasePlayer::Restore_) }, - //{ 0x01D210A0, "_ZN11CBasePlayer10ObjectCapsEv", mfunc_ptr_cast(&CBasePlayer::ObjectCaps_) }, // DEFAULT - { 0x01DA3550, "_ZN11CBasePlayer8ClassifyEv", mfunc_ptr_cast(&CBasePlayer::Classify_) }, - { 0x01D9BE00, "_ZN11CBasePlayer11TraceAttackEP9entvars_sf6VectorP11TraceResulti", mfunc_ptr_cast(&CBasePlayer::TraceAttack_) }, - { 0x01D9C4C0, "_ZN11CBasePlayer10TakeDamageEP9entvars_sS1_fi", mfunc_ptr_cast(&CBasePlayer::TakeDamage_) }, - { 0x01D9BD70, "_ZN11CBasePlayer10TakeHealthEfi", mfunc_ptr_cast(&CBasePlayer::TakeHealth_) }, - { 0x01D9E550, "_ZN11CBasePlayer6KilledEP9entvars_si", mfunc_ptr_cast(&CBasePlayer::Killed_) }, - { 0x01DA3560, "_ZN11CBasePlayer9AddPointsEii", mfunc_ptr_cast(&CBasePlayer::AddPoints_) }, - { 0x01DA3640, "_ZN11CBasePlayer15AddPointsToTeamEii", mfunc_ptr_cast(&CBasePlayer::AddPointsToTeam_) }, - { 0x01DA86C0, "_ZN11CBasePlayer13AddPlayerItemEP15CBasePlayerItem", mfunc_ptr_cast(&CBasePlayer::AddPlayerItem_) }, - { 0x01DA8960, "_ZN11CBasePlayer16RemovePlayerItemEP15CBasePlayerItem", mfunc_ptr_cast(&CBasePlayer::RemovePlayerItem_) }, - { 0x01DA8AA0, "_ZN11CBasePlayer8GiveAmmoEiPci", mfunc_ptr_cast(&CBasePlayer::GiveAmmo_) }, - //{ 0x01D20FD0, "_ZN11CBasePlayer13StartSneakingEv", mfunc_ptr_cast(&CBasePlayer::StartSneaking_) }, // DEFAULT - //{ 0x01D20FF0, "_ZN11CBasePlayer12StopSneakingEv", mfunc_ptr_cast(&CBasePlayer::StopSneaking_) }, // DEFAULT - //{ 0x01D21010, "_ZN11CBasePlayer10IsSneakingEv", mfunc_ptr_cast(&CBasePlayer::IsSneaking_) }, // DEFAULT - //{ 0x01D21030, "_ZN11CBasePlayer7IsAliveEv", mfunc_ptr_cast(&CBasePlayer::IsAlive_) }, // DEFAULT - //{ 0x01D21070, "_ZN11CBasePlayer8IsPlayerEv", mfunc_ptr_cast(&CBasePlayer::IsPlayer_) }, // DEFAULT - //{ 0x01D21090, "_ZN11CBasePlayer11IsNetClientEv", mfunc_ptr_cast(&CBasePlayer::IsNetClient_) }, // DEFAULT - { 0x01DA6950, "_ZN11CBasePlayer6TeamIDEv", mfunc_ptr_cast(&CBasePlayer::TeamID_) }, - { 0x01DA9BF0, "_ZN11CBasePlayer12FBecomeProneEv", mfunc_ptr_cast(&CBasePlayer::FBecomeProne_) }, - //{ 0x01D20F60, "_ZN11CBasePlayer10BodyTargetERK6Vector", mfunc_ptr_cast(&CBasePlayer::BodyTarget_) }, // DEFAULT - { 0x01DA9C50, "_ZN11CBasePlayer12IlluminationEv", mfunc_ptr_cast(&CBasePlayer::Illumination_) }, - //{ 0x01D21060, "_ZN11CBasePlayer17ShouldFadeOnDeathEv", mfunc_ptr_cast(&CBasePlayer::ShouldFadeOnDeath_) }, // DEFAULT - { 0x01DA9CB0, "_ZN11CBasePlayer13ResetMaxSpeedEv", mfunc_ptr_cast(&CBasePlayer::ResetMaxSpeed_) }, - { 0x01DA3310, "_ZN11CBasePlayer4JumpEv", mfunc_ptr_cast(&CBasePlayer::Jump_) }, - { 0x01DA3530, "_ZN11CBasePlayer4DuckEv", mfunc_ptr_cast(&CBasePlayer::Duck_) }, - { 0x01DA3850, "_ZN11CBasePlayer8PreThinkEv", mfunc_ptr_cast(&CBasePlayer::PreThink_) }, - { 0x01DA4610, "_ZN11CBasePlayer9PostThinkEv", mfunc_ptr_cast(&CBasePlayer::PostThink_) }, - { 0x01D9BD80, "_ZN11CBasePlayer14GetGunPositionEv", mfunc_ptr_cast(&CBasePlayer::GetGunPosition_) }, - //{ 0x01D25AD0, "_ZN11CBasePlayer5IsBotEv", mfunc_ptr_cast(&CBasePlayer::IsBot_) }, // DEFAULT - { 0x01DA8F90, "_ZN11CBasePlayer16UpdateClientDataEv", mfunc_ptr_cast(&CBasePlayer::UpdateClientData_) }, - { 0x01DA7020, "_ZN11CBasePlayer15ImpulseCommandsEv", mfunc_ptr_cast(&CBasePlayer::ImpulseCommands_) }, - { 0x01DA2490, "_ZN11CBasePlayer12RoundRespawnEv", mfunc_ptr_cast(&CBasePlayer::RoundRespawn_) }, - { 0x01DA9DC0, "_ZN11CBasePlayer16GetAutoaimVectorEf", mfunc_ptr_cast(&CBasePlayer::GetAutoaimVector_) }, - { 0x01DAA220, "_ZN11CBasePlayer5BlindEfffi", mfunc_ptr_cast(&CBasePlayer::Blind_) }, - //{ 0x01D25AE0, "_ZN11CBasePlayer16OnTouchingWeaponEP10CWeaponBox", mfunc_ptr_cast(&CBasePlayer::OnTouchingWeapon_) }, // DEFAULT - //non-virtual func - { 0x01DAC8D0, "_ZN11CBasePlayer21SpawnClientSideCorpseEv", mfunc_ptr_cast(&CBasePlayer::SpawnClientSideCorpse) }, - { 0x01D93750, "_ZN11CBasePlayer23Observer_FindNextPlayerEbPKc", mfunc_ptr_cast(&CBasePlayer::Observer_FindNextPlayer) }, - { 0x01D936E0, "_ZN11CBasePlayer22Observer_IsValidTargetEib", mfunc_ptr_cast(&CBasePlayer::Observer_IsValidTarget) }, - { 0x01D93D10, "_ZN11CBasePlayer22Observer_HandleButtonsEv", mfunc_ptr_cast(&CBasePlayer::Observer_HandleButtons) }, - { 0x01D94280, "_ZN11CBasePlayer16Observer_SetModeEi", mfunc_ptr_cast(&CBasePlayer::Observer_SetMode) }, - { 0x01D93DF0, "_ZN11CBasePlayer20Observer_CheckTargetEv", mfunc_ptr_cast(&CBasePlayer::Observer_CheckTarget) }, - { 0x01D93F30, "_ZN11CBasePlayer24Observer_CheckPropertiesEv", mfunc_ptr_cast(&CBasePlayer::Observer_CheckProperties) }, - //{ 0x0, "_ZN11CBasePlayer10IsObserverEv", mfunc_ptr_cast(&CBasePlayer::IsObserver) }, // NOXREF - //{ 0x0, "_ZN11CBasePlayer7PlantC4Ev", mfunc_ptr_cast(&CBasePlayer::PlantC4) }, // NOXREF - { 0x01D9B670, "_ZN11CBasePlayer5RadioEPKcS1_sb", mfunc_ptr_cast(&CBasePlayer::Radio) }, - //{ 0x01D9B4F0, "_ZN11CBasePlayer21GetNextRadioRecipientEPS_", mfunc_ptr_cast(&CBasePlayer::GetNextRadioRecipient) }, // NOXREF - //{ 0x01D9B9A0, "_ZN11CBasePlayer10SmartRadioEv", mfunc_ptr_cast(&CBasePlayer::SmartRadio) }, // NOXREF - { 0x01DA07D0, "_ZN11CBasePlayer11ThrowWeaponEPc", mfunc_ptr_cast(&CBasePlayer::ThrowWeapon) }, // NOXREF - //{ 0x01DA0DB0, "_ZN11CBasePlayer12ThrowPrimaryEv", mfunc_ptr_cast(&CBasePlayer::ThrowPrimary) }, // NOXREF - //{ 0x01DA1170, "_ZN11CBasePlayer10AddAccountEib", mfunc_ptr_cast(&CBasePlayer::AddAccount) }, - { 0x01DA1DA0, "_ZN11CBasePlayer9DisappearEv", mfunc_ptr_cast(&CBasePlayer::Disappear) }, - { 0x01DA15B0, "_ZN11CBasePlayer7MakeVIPEv", mfunc_ptr_cast(&CBasePlayer::MakeVIP) }, - { 0x01DA36C0, "_ZN11CBasePlayer12CanPlayerBuyEb", mfunc_ptr_cast(&CBasePlayer::CanPlayerBuy) }, - { 0x01DAB070, "_ZN11CBasePlayer10SwitchTeamEv", mfunc_ptr_cast(&CBasePlayer::SwitchTeam) }, - { 0x01DAB820, "_ZN11CBasePlayer12TabulateAmmoEv", mfunc_ptr_cast(&CBasePlayer::TabulateAmmo) }, - { 0x01D9B9B0, "_ZN11CBasePlayer4PainEib", mfunc_ptr_cast(&CBasePlayer::Pain) }, - { 0x01D9F410, "_ZN11CBasePlayer9IsBombGuyEv", mfunc_ptr_cast(&CBasePlayer::IsBombGuy) }, - { 0x01DACC30, "_ZNK11CBasePlayer19IsLookingAtPositionEPK6Vectorf", mfunc_ptr_cast(&CBasePlayer::IsLookingAtPosition) }, - { 0x01DA6310, "_ZN11CBasePlayer5ResetEv", mfunc_ptr_cast(&CBasePlayer::Reset) }, - { 0x01DA5F10, "_ZN11CBasePlayer23SetScoreboardAttributesEPS_", mfunc_ptr_cast(&CBasePlayer::SetScoreboardAttributes) }, - //{ 0x01DA6070, "_ZN11CBasePlayer10RenewItemsEv", mfunc_ptr_cast(&CBasePlayer::RenewItems) }, // NOXREF - { 0x01D9D630, "_ZN11CBasePlayer19PackDeadPlayerItemsEv", mfunc_ptr_cast(&CBasePlayer::PackDeadPlayerItems) }, - { 0x01D9DAD0, "_ZN11CBasePlayer16GiveDefaultItemsEv", mfunc_ptr_cast(&CBasePlayer::GiveDefaultItems) }, - { 0x01D9DD60, "_ZN11CBasePlayer14RemoveAllItemsEi", mfunc_ptr_cast(&CBasePlayer::RemoveAllItems) }, - { 0x01D9E020, "_ZN11CBasePlayer11SetBombIconEi", mfunc_ptr_cast(&CBasePlayer::SetBombIcon) }, - { 0x01D9E190, "_ZN11CBasePlayer18SetProgressBarTimeEi", mfunc_ptr_cast(&CBasePlayer::SetProgressBarTime) }, - { 0x01D9E320, "_ZN11CBasePlayer19SetProgressBarTime2Eif", mfunc_ptr_cast(&CBasePlayer::SetProgressBarTime2) }, - //{ 0x01D93690, "_Z14GetForceCamerav", (size_t)&GetForceCamera }, // NOXREF - { 0x01D93A00, "_ZL19UpdateClientEffectsP11CBasePlayeri", (size_t)&UpdateClientEffects }, - //{ 0x0, "", (size_t)&OLD_CheckBuyZone }, // NOXREF - //{ 0x0, "", (size_t)&OLD_CheckBombTarget }, // NOXREF - //{ 0x0, "", (size_t)&OLD_CheckRescueZone }, // NOXREF - -#ifdef _WIN32 - - //{ 0x0, "", (size_t)&BuyZoneIcon_Set }, - //{ 0x0, "", (size_t)&BuyZoneIcon_Clear }, // NOXREF - //{ 0x0, "", (size_t)&BombTargetFlash_Set }, - //{ 0x0, "", (size_t)&BombTargetFlash_Clear }, // NOXREF - //{ 0x0, "", (size_t)&RescueZoneIcon_Set }, - //{ 0x0, "", (size_t)&RescueZoneIcon_Clear }, // NOXREF - { 0x01DA8410, "", (size_t)&EscapeZoneIcon_Set }, - { 0x01DA84C0, "", (size_t)&EscapeZoneIcon_Clear }, - { 0x01DA8550, "", (size_t)&VIP_SafetyZoneIcon_Set }, - { 0x01DA8630, "", (size_t)&VIP_SafetyZoneIcon_Clear }, - -#endif // _WIN32 - - { 0x01DA4420, "_ZN11CBasePlayer17SetNewPlayerModelEPKc", mfunc_ptr_cast(&CBasePlayer::SetNewPlayerModel) }, - { 0x01DAB720, "_ZN11CBasePlayer12SwitchWeaponEP15CBasePlayerItem", mfunc_ptr_cast(&CBasePlayer::SwitchWeapon) }, - //{ 0x01DA43F0, "_ZN11CBasePlayer13CheckPowerupsEP9entvars_s", mfunc_ptr_cast(&CBasePlayer::CheckPowerups) }, // NOXREF - { 0x01DACDA0, "_ZN11CBasePlayer16CanAffordPrimaryEv", mfunc_ptr_cast(&CBasePlayer::CanAffordPrimary) }, - { 0x01DACE10, "_ZN11CBasePlayer20CanAffordPrimaryAmmoEv", mfunc_ptr_cast(&CBasePlayer::CanAffordPrimaryAmmo) }, - { 0x01DACE60, "_ZN11CBasePlayer22CanAffordSecondaryAmmoEv", mfunc_ptr_cast(&CBasePlayer::CanAffordSecondaryAmmo) }, - { 0x01DACEB0, "_ZN11CBasePlayer14CanAffordArmorEv", mfunc_ptr_cast(&CBasePlayer::CanAffordArmor) }, - { 0x01DACEF0, "_ZN11CBasePlayer18CanAffordDefuseKitEv", mfunc_ptr_cast(&CBasePlayer::CanAffordDefuseKit) }, - { 0x01DACF00, "_ZN11CBasePlayer16CanAffordGrenadeEv", mfunc_ptr_cast(&CBasePlayer::CanAffordGrenade) }, - { 0x01DACF20, "_ZN11CBasePlayer16NeedsPrimaryAmmoEv", mfunc_ptr_cast(&CBasePlayer::NeedsPrimaryAmmo) }, - { 0x01DACF60, "_ZN11CBasePlayer18NeedsSecondaryAmmoEv", mfunc_ptr_cast(&CBasePlayer::NeedsSecondaryAmmo) }, - { 0x01DACFA0, "_ZN11CBasePlayer10NeedsArmorEv", mfunc_ptr_cast(&CBasePlayer::NeedsArmor) }, - { 0x01DACFD0, "_ZN11CBasePlayer14NeedsDefuseKitEv", mfunc_ptr_cast(&CBasePlayer::NeedsDefuseKit) }, - { 0x01DAD000, "_ZN11CBasePlayer12NeedsGrenadeEv", mfunc_ptr_cast(&CBasePlayer::NeedsGrenade) }, - { 0x01DA07B0, "_ZN11CBasePlayer10IsOnLadderEv", mfunc_ptr_cast(&CBasePlayer::IsOnLadder) }, - //{ 0x01DA6E80, "_ZN11CBasePlayer14FlashlightIsOnEv", mfunc_ptr_cast(&CBasePlayer::FlashlightIsOn) }, // NOXREF - //{ 0x01DA6E90, "_ZN11CBasePlayer16FlashlightTurnOnEv", mfunc_ptr_cast(&CBasePlayer::FlashlightTurnOn) }, // NOXREF - //{ 0x01DA6F40, "_ZN11CBasePlayer17FlashlightTurnOffEv", mfunc_ptr_cast(&CBasePlayer::FlashlightTurnOff) }, // NOXREF - { 0x01DA4450, "_ZN11CBasePlayer17UpdatePlayerSoundEv", mfunc_ptr_cast(&CBasePlayer::UpdatePlayerSound) }, - //{ 0x01D9BCA0, "_ZN11CBasePlayer10DeathSoundEv", mfunc_ptr_cast(&CBasePlayer::DeathSound) }, // NOXREF - { 0x01D9F430, "_ZN11CBasePlayer12SetAnimationE11PLAYER_ANIM", mfunc_ptr_cast(&CBasePlayer::SetAnimation) }, - //{ 0x0, "_ZN11CBasePlayer17SetWeaponAnimTypeEPKc", mfunc_ptr_cast(&CBasePlayer::SetWeaponAnimType) }, // NOXREF - { 0x01DA73C0, "_ZN11CBasePlayer20CheatImpulseCommandsEi", mfunc_ptr_cast(&CBasePlayer::CheatImpulseCommands) }, - //{ 0x01DA2640, "_ZN11CBasePlayer13StartDeathCamEv", mfunc_ptr_cast(&CBasePlayer::StartDeathCam) }, // NOXREF - { 0x01DA26D0, "_ZN11CBasePlayer13StartObserverE6VectorS0_", mfunc_ptr_cast(&CBasePlayer::StartObserver) }, - { 0x01DA7FF0, "_ZN11CBasePlayer13HandleSignalsEv", mfunc_ptr_cast(&CBasePlayer::HandleSignals) }, - { 0x01DAA850, "_ZN11CBasePlayer14DropPlayerItemEPKc", mfunc_ptr_cast(&CBasePlayer::DropPlayerItem) }, - //{ 0x01DAAF30, "_ZN11CBasePlayer13HasPlayerItemEP15CBasePlayerItem", mfunc_ptr_cast(&CBasePlayer::HasPlayerItem) }, - //{ 0x01DAAFC0, "_ZN11CBasePlayer18HasNamedPlayerItemEPKc", mfunc_ptr_cast(&CBasePlayer::HasNamedPlayerItem) }, - //{ 0x01DA6920, "_ZN11CBasePlayer10HasWeaponsEv", mfunc_ptr_cast(&CBasePlayer::HasWeapons) }, // NOXREF - //{ 0x01DA6940, "_ZN11CBasePlayer14SelectPrevItemEi", mfunc_ptr_cast(&CBasePlayer::SelectPrevItem) }, // NOXREF - //{ 0x01DA6470, "_ZN11CBasePlayer14SelectNextItemEi", mfunc_ptr_cast(&CBasePlayer::SelectNextItem) }, // NOXREF - { 0x01DA65E0, "_ZN11CBasePlayer10SelectItemEPKc", mfunc_ptr_cast(&CBasePlayer::SelectItem) }, - { 0x01DA67A0, "_ZN11CBasePlayer14SelectLastItemEv", mfunc_ptr_cast(&CBasePlayer::SelectLastItem) }, - //{ 0x01DA8BB0, "_ZN11CBasePlayer12ItemPreFrameEv", mfunc_ptr_cast(&CBasePlayer::ItemPreFrame) }, // NOXREF - //{ 0x01DA8BE0, "_ZN11CBasePlayer13ItemPostFrameEv", mfunc_ptr_cast(&CBasePlayer::ItemPostFrame) }, // NOXREF - //{ 0x01DA6CC0, "_ZN11CBasePlayer13GiveNamedItemEPKc", mfunc_ptr_cast(&CBasePlayer::GiveNamedItem) }, - { 0x01DA9C80, "_ZN11CBasePlayer13EnableControlEi", mfunc_ptr_cast(&CBasePlayer::EnableControl) }, - { 0x01DA9D50, "_ZN11CBasePlayer11HintMessageEPKcii", mfunc_ptr_cast(&CBasePlayer::HintMessage) }, - { 0x01DA8CC0, "_ZN11CBasePlayer14SendAmmoUpdateEv", mfunc_ptr_cast(&CBasePlayer::SendAmmoUpdate) }, - //{ 0x01D9E4F0, "_ZN11CBasePlayer7SendFOVEi", mfunc_ptr_cast(&CBasePlayer::SendFOV) }, // NOXREF - { 0x01DA0390, "_ZN11CBasePlayer9WaterMoveEv", mfunc_ptr_cast(&CBasePlayer::WaterMove) }, - { 0x01DA2140, "_ZN11CBasePlayer16PlayerDeathThinkEv", mfunc_ptr_cast(&CBasePlayer::PlayerDeathThink) }, - { 0x01DA29A0, "_ZN11CBasePlayer9PlayerUseEv", mfunc_ptr_cast(&CBasePlayer::PlayerUse) }, - { 0x01DA3290, "_ZN11CBasePlayer11HostageUsedEv", mfunc_ptr_cast(&CBasePlayer::HostageUsed) }, - { 0x01DA1680, "_ZN11CBasePlayer12JoiningThinkEv", mfunc_ptr_cast(&CBasePlayer::JoiningThink) }, - //{ 0x01DA1480, "_ZN11CBasePlayer15RemoveLevelTextEv", mfunc_ptr_cast(&CBasePlayer::RemoveLevelText) }, // NOXREF - //!!{ 0x01DA14D0, "_ZN11CBasePlayer9MenuPrintEPS_PKc", mfunc_ptr_cast(&CBasePlayer::MenuPrint) }, hook with attribute __stdcall - //{ 0x01DA11F0, "_ZN11CBasePlayer9ResetMenuEv", mfunc_ptr_cast(&CBasePlayer::ResetMenu) }, // NOXREF - { 0x01DA1240, "_ZN11CBasePlayer14SyncRoundTimerEv", mfunc_ptr_cast(&CBasePlayer::SyncRoundTimer) }, - { 0x01DA4220, "_ZN11CBasePlayer15CheckSuitUpdateEv", mfunc_ptr_cast(&CBasePlayer::CheckSuitUpdate) }, - { 0x01DA43E0, "_ZN11CBasePlayer13SetSuitUpdateEPcii", mfunc_ptr_cast(&CBasePlayer::SetSuitUpdate) }, - //{ 0x01DA4170, "_ZN11CBasePlayer19UpdateGeigerCounterEv", mfunc_ptr_cast(&CBasePlayer::UpdateGeigerCounter) }, // NOXREF - { 0x01DA3FE0, "_ZN11CBasePlayer20CheckTimeBasedDamageEv", mfunc_ptr_cast(&CBasePlayer::CheckTimeBasedDamage) }, - //{ 0x01DA9C10, "_ZN11CBasePlayer20BarnacleVictimBittenEP9entvars_s", mfunc_ptr_cast(&CBasePlayer::BarnacleVictimBitten) }, // NOXREF - //{ 0x01DA9C40, "_ZN11CBasePlayer22BarnacleVictimReleasedEv", mfunc_ptr_cast(&CBasePlayer::BarnacleVictimReleased) }, // NOXREF - { 0x01DA8C80, "_ZN11CBasePlayer12GetAmmoIndexEPKc", mfunc_ptr_cast(&CBasePlayer::GetAmmoIndex) }, - { 0x01DA8C60, "_ZN11CBasePlayer13AmmoInventoryEi", mfunc_ptr_cast(&CBasePlayer::AmmoInventory) }, - //{ 0x01DAA150, "_ZN11CBasePlayer12ResetAutoaimEv", mfunc_ptr_cast(&CBasePlayer::ResetAutoaim) }, // NOXREF - //{ 0x01DAA120, "_ZN11CBasePlayer17AutoaimDeflectionER6Vectorff", mfunc_ptr_cast(&CBasePlayer::AutoaimDeflection) }, // NOXREF - { 0x01DA6FD0, "_ZN11CBasePlayer20ForceClientDllUpdateEv", mfunc_ptr_cast(&CBasePlayer::ForceClientDllUpdate) }, - //{ 0x0, "_ZN11CBasePlayer12DeathMessageEP9entvars_s", mfunc_ptr_cast(&CBasePlayer::DeathMessage) }, // NOXREF - { 0x01DAA1E0, "_ZN11CBasePlayer20SetCustomDecalFramesEi", mfunc_ptr_cast(&CBasePlayer::SetCustomDecalFrames) }, - //{ 0x01DAA210, "_ZN11CBasePlayer20GetCustomDecalFramesEv", mfunc_ptr_cast(&CBasePlayer::GetCustomDecalFrames) }, // NOXREF - //{ 0x01DAA260, "_ZN11CBasePlayer13InitStatusBarEv", mfunc_ptr_cast(&CBasePlayer::InitStatusBar) }, // NOXREF - { 0x01DAA270, "_ZN11CBasePlayer15UpdateStatusBarEv", mfunc_ptr_cast(&CBasePlayer::UpdateStatusBar) }, - { 0x01DAC0F0, "_ZN11CBasePlayer18StudioEstimateGaitEv", mfunc_ptr_cast(&CBasePlayer::StudioEstimateGait) }, - //{ 0x01DAC400, "_ZN11CBasePlayer17StudioPlayerBlendEPiPf", mfunc_ptr_cast(&CBasePlayer::StudioPlayerBlend) }, // NOXREF - //{ 0x01DAC490, "_ZN11CBasePlayer19CalculatePitchBlendEv", mfunc_ptr_cast(&CBasePlayer::CalculatePitchBlend) }, // NOXREF - { 0x01DAC510, "_ZN11CBasePlayer17CalculateYawBlendEv", mfunc_ptr_cast(&CBasePlayer::CalculateYawBlend) }, - { 0x01DAC640, "_ZN11CBasePlayer17StudioProcessGaitEv", mfunc_ptr_cast(&CBasePlayer::StudioProcessGait) }, - //{ 0x01DA8D40, "_ZN11CBasePlayer14SendHostagePosEv", mfunc_ptr_cast(&CBasePlayer::SendHostagePos) }, // NOXREF - { 0x01DA8DE0, "_ZN11CBasePlayer16SendHostageIconsEv", mfunc_ptr_cast(&CBasePlayer::SendHostageIcons) }, - //{ 0x01DAC7C0, "_ZN11CBasePlayer12ResetStaminaEv", mfunc_ptr_cast(&CBasePlayer::ResetStamina) }, // NOXREF - //{ 0x01DACA10, "_ZN11CBasePlayer9IsArmoredEi", mfunc_ptr_cast(&CBasePlayer::IsArmored) }, // NOXREF - //{ 0x01DACA60, "_ZN11CBasePlayer19ShouldDoLargeFlinchEii", mfunc_ptr_cast(&CBasePlayer::ShouldDoLargeFlinch) }, // NOXREF - { 0x01DACAD0, "_ZN11CBasePlayer20SetPrefsFromUserinfoEPc", mfunc_ptr_cast(&CBasePlayer::SetPrefsFromUserinfo) }, - { 0x01DA8EE0, "_ZN11CBasePlayer15SendWeatherInfoEv", mfunc_ptr_cast(&CBasePlayer::SendWeatherInfo) }, - { 0x01DAB6F0, "_ZN11CBasePlayer21UpdateShieldCrosshairEb", mfunc_ptr_cast(&CBasePlayer::UpdateShieldCrosshair) }, - { 0x01DA0DA0, "_ZN11CBasePlayer9HasShieldEv", mfunc_ptr_cast(&CBasePlayer::HasShield) }, - //{ 0x0, "_ZN11CBasePlayer19IsProtectedByShieldEv", mfunc_ptr_cast(&CBasePlayer::IsProtectedByShield) }, - //{ 0x01DA0B20, "_ZN11CBasePlayer12RemoveShieldEv", mfunc_ptr_cast(&CBasePlayer::RemoveShield) }, // NOXREF - { 0x01DA0B60, "_ZN11CBasePlayer10DropShieldEb", mfunc_ptr_cast(&CBasePlayer::DropShield) }, - { 0x01DA0A90, "_ZN11CBasePlayer10GiveShieldEb", mfunc_ptr_cast(&CBasePlayer::GiveShield) }, - //{ 0x01D9BDB0, "_ZN11CBasePlayer15IsHittingShieldERK6VectorP11TraceResult", mfunc_ptr_cast(&CBasePlayer::IsHittingShield) }, // NOXREF - //{ 0x0, "_ZN11CBasePlayer11IsReloadingEv", mfunc_ptr_cast(&CBasePlayer::IsReloading) }, // NOXREF - //{ 0x0, "_ZNK11CBasePlayer7IsBlindEv", mfunc_ptr_cast(&CBasePlayer::IsBlind) }, // NOXREF - //{ 0x0, "_ZNK11CBasePlayer19IsAutoFollowAllowedEv", mfunc_ptr_cast(&CBasePlayer::IsAutoFollowAllowed) }, // NOXREF - //{ 0x0, "_ZN11CBasePlayer17InhibitAutoFollowEf", mfunc_ptr_cast(&CBasePlayer::InhibitAutoFollow) }, // NOXREF - //{ 0x0, "_ZN11CBasePlayer15AllowAutoFollowEv", mfunc_ptr_cast(&CBasePlayer::AllowAutoFollow) }, // NOXREF - { 0x01DAD180, "_ZN11CBasePlayer16ClearAutoBuyDataEv", mfunc_ptr_cast(&CBasePlayer::ClearAutoBuyData) }, - { 0x01DAD190, "_ZN11CBasePlayer14AddAutoBuyDataEPKc", mfunc_ptr_cast(&CBasePlayer::AddAutoBuyData) }, - { 0x01DAD280, "_ZN11CBasePlayer7AutoBuyEv", mfunc_ptr_cast(&CBasePlayer::AutoBuy) }, - { 0x01DAD0D0, "_ZN11CBasePlayer13ClientCommandEPKcS1_S1_S1_", mfunc_ptr_cast(&CBasePlayer::ClientCommand) }, - { 0x01DADD00, "_ZN11CBasePlayer23PrioritizeAutoBuyStringEPcPKc", mfunc_ptr_cast(&CBasePlayer::PrioritizeAutoBuyString) }, - { 0x01DAD590, "_ZN11CBasePlayer27PickPrimaryCareerTaskWeaponEv", mfunc_ptr_cast(&CBasePlayer::PickPrimaryCareerTaskWeapon) }, - { 0x01DAD930, "_ZN11CBasePlayer29PickSecondaryCareerTaskWeaponEv", mfunc_ptr_cast(&CBasePlayer::PickSecondaryCareerTaskWeapon) }, - //{ 0x01DADC60, "_ZN11CBasePlayer25PickFlashKillWeaponStringEv", mfunc_ptr_cast(&CBasePlayer::PickFlashKillWeaponString) }, // NOXREF - //{ 0x01DADCC0, "_ZN11CBasePlayer27PickGrenadeKillWeaponStringEv", mfunc_ptr_cast(&CBasePlayer::PickGrenadeKillWeaponString) }, // NOXREF - //{ 0x01DADF70, "_ZN11CBasePlayer27ShouldExecuteAutoBuyCommandEPK17AutoBuyInfoStructbb", mfunc_ptr_cast(&CBasePlayer::ShouldExecuteAutoBuyCommand) }, // NOXREF - { 0x01DADFF0, "_ZN11CBasePlayer28PostAutoBuyCommandProcessingEPK17AutoBuyInfoStructRbS3_", mfunc_ptr_cast(&CBasePlayer::PostAutoBuyCommandProcessing) }, - { 0x01DADE20, "_ZN11CBasePlayer18ParseAutoBuyStringEPKcRbS2_", mfunc_ptr_cast(&CBasePlayer::ParseAutoBuyString) }, - //{ 0x01DADFB0, "_ZN11CBasePlayer21GetAutoBuyCommandInfoEPKc", mfunc_ptr_cast(&CBasePlayer::GetAutoBuyCommandInfo) }, // NOXREF - { 0x01DAD1F0, "_ZN11CBasePlayer13InitRebuyDataEPKc", mfunc_ptr_cast(&CBasePlayer::InitRebuyData) }, - { 0x01DAE0A0, "_ZN11CBasePlayer16BuildRebuyStructEv", mfunc_ptr_cast(&CBasePlayer::BuildRebuyStruct) }, - { 0x01DAE260, "_ZN11CBasePlayer5RebuyEv", mfunc_ptr_cast(&CBasePlayer::Rebuy) }, - //{ 0x01DAE580, "_ZN11CBasePlayer18RebuyPrimaryWeaponEv", mfunc_ptr_cast(&CBasePlayer::RebuyPrimaryWeapon) }, // NOXREF - //{ 0x01DAE5E0, "_ZN11CBasePlayer16RebuyPrimaryAmmoEv", mfunc_ptr_cast(&CBasePlayer::RebuyPrimaryAmmo) }, // NOXREF - //{ 0x01DAE650, "_ZN11CBasePlayer20RebuySecondaryWeaponEv", mfunc_ptr_cast(&CBasePlayer::RebuySecondaryWeapon) }, // NOXREF - //{ 0x01DAE6B0, "_ZN11CBasePlayer18RebuySecondaryAmmoEv", mfunc_ptr_cast(&CBasePlayer::RebuySecondaryAmmo) }, - //{ 0x01DAE720, "_ZN11CBasePlayer14RebuyHEGrenadeEv", mfunc_ptr_cast(&CBasePlayer::RebuyHEGrenade) }, // NOXREF - //{ 0x01DAE7C0, "_ZN11CBasePlayer14RebuyFlashbangEv", mfunc_ptr_cast(&CBasePlayer::RebuyFlashbang) }, // NOXREF - //{ 0x01DAE860, "_ZN11CBasePlayer17RebuySmokeGrenadeEv", mfunc_ptr_cast(&CBasePlayer::RebuySmokeGrenade) }, // NOXREF - { 0x01DAE900, "_ZN11CBasePlayer12RebuyDefuserEv", mfunc_ptr_cast(&CBasePlayer::RebuyDefuser) }, - { 0x01DAE960, "_ZN11CBasePlayer16RebuyNightVisionEv", mfunc_ptr_cast(&CBasePlayer::RebuyNightVision) }, - { 0x01DAE9C0, "_ZN11CBasePlayer10RebuyArmorEv", mfunc_ptr_cast(&CBasePlayer::RebuyArmor) }, - { 0x01DAEAB0, "_ZN11CBasePlayer14UpdateLocationEb", mfunc_ptr_cast(&CBasePlayer::UpdateLocation) }, - //{ 0x0, "_ZN11CBasePlayer23SetObserverAutoDirectorEb", mfunc_ptr_cast(&CBasePlayer::SetObserverAutoDirector) }, // NOXREF - { 0x01DAEA40, "_ZN11CBasePlayer17IsObservingPlayerEPS_", mfunc_ptr_cast(&CBasePlayer::IsObservingPlayer) }, - //{ 0x0, "_ZNK11CBasePlayer22CanSwitchObserverModesEv", mfunc_ptr_cast(&CBasePlayer::CanSwitchObserverModes) }, // NOXREF - //{ 0x0, "_ZN11CBasePlayer7IntenseEv", mfunc_ptr_cast(&CBasePlayer::Intense) }, // NOXREF - { 0x01D9AB20, "_Z16LinkUserMessagesv", (size_t)&LinkUserMessages }, - { 0x01D9B0F0, "_Z18WriteSigonMessagesv", (size_t)&WriteSigonMessages }, - //{ 0x01D9B280, "_Z14SendItemStatusP11CBasePlayer", (size_t)&SendItemStatus }, - { 0x01D9D8A0, "_ZL14GetCSModelNamei", (size_t)&GetCSModelName }, - { 0x01D9B2D0, "_ZN11CBasePlayer14SetPlayerModelEi", mfunc_ptr_cast(&CBasePlayer::SetPlayerModel) }, - //{ 0x01D9BB40, "_Z20VecVelocityForDamagef", (size_t)&VecVelocityForDamage }, // NOXREF - //{ 0x01D9BC40, "_Z10TrainSpeedii", (size_t)&TrainSpeed }, // NOXREF - { 0x01D9C2B0, "_Z13GetWeaponNameP9entvars_sS0_", (size_t)&GetWeaponName }, - { 0x01D9C3C0, "_Z9LogAttackP11CBasePlayerS0_iiiiiPKc", (size_t)&LogAttack }, - { 0x01D9D770, "_ZL14packPlayerItemP11CBasePlayerP15CBasePlayerItemb", (size_t)&packPlayerItem }, - { 0x01DA3110, "_ZL13CanSeeUseableP11CBasePlayerP11CBaseEntity_isra_13", (size_t)&CanSeeUseable }, - //{ 0x01DA34E0, "_Z20FixPlayerCrouchStuckP7edict_s", (size_t)&FixPlayerCrouchStuck }, // NOXREF - //{ 0x01DA4A90, "_Z17IsSpawnPointValidP11CBaseEntityS0_", (size_t)&IsSpawnPointValid }, // NOXREF - //{ 0x01DA4B20, "_Z16InitZombieSpawnsv", (size_t)&InitZombieSpawns }, // NOXREF - //{ 0x01DA4BC0, "_Z15FindZombieSpawnP11CBaseEntityb", (size_t)&FindZombieSpawn }, // NOXREF - //{ 0x01DA4BD0, "_Z19EntSelectSpawnPointP11CBaseEntity", (size_t)&EntSelectSpawnPoint }, - -#ifdef _WIN32 - //{ 0x01DA5180, "", (size_t)&SetScoreAttrib }, -#endif // _WIN32 - - //{ 0x01DA6D60, "_Z17FindEntityForwardP11CBaseEntity", (size_t)&FindEntityForward }, // NOXREF - { 0x01DAC7E0, "_Z14GetPlayerPitchPK7edict_s", (size_t)&GetPlayerPitch }, - { 0x01DAC830, "_Z12GetPlayerYawPK7edict_s", (size_t)&GetPlayerYaw }, - { 0x01DAC880, "_Z21GetPlayerGaitsequencePK7edict_s", (size_t)&GetPlayerGaitsequence }, - //{ 0x01DAD120, "_Z26GetBuyStringForWeaponClassi", (size_t)&GetBuyStringForWeaponClass }, // NOXREF - //{ 0x01DAD470, "_Z20IsPrimaryWeaponClassi", (size_t)&IsPrimaryWeaponClass }, // NOXREF - //{ 0x01DAD490, "_Z17IsPrimaryWeaponIdi", (size_t)&IsPrimaryWeaponId }, // NOXREF - //{ 0x01DAD4C0, "_Z22IsSecondaryWeaponClassi", (size_t)&IsSecondaryWeaponClass }, // NOXREF - //{ 0x01DAD4D0, "_Z19IsSecondaryWeaponIdi", (size_t)&IsSecondaryWeaponId }, // NOXREF - //{ 0x01DAD500, "_Z22GetWeaponAliasFromNamePKc", (size_t)&GetWeaponAliasFromName }, // NOXREF - //{ 0x01DAD520, "_Z22CurrentWeaponSatisfiesP17CBasePlayerWeaponii", (size_t)&CurrentWeaponSatisfies }, // NOXREF -//CWShield - //virtual func - { 0x01DA08D0, "_ZN8CWShield5SpawnEv", mfunc_ptr_cast(&CWShield::Spawn_) }, - { 0x01DA0920, "_ZN8CWShield5TouchEP11CBaseEntity", mfunc_ptr_cast(&CWShield::Touch_) }, - //non-virtual func - //{ 0x0, "_ZN8CWShield23SetCantBePickedUpByUserEP11CBaseEntityf", mfunc_ptr_cast(&CWShield::SetCantBePickedUpByUser) } // NOXREF - -//CSprayCan - //virtual func - { 0x01DA6A30, "_ZN9CSprayCan5ThinkEv", mfunc_ptr_cast(&CSprayCan::Think_) }, - //{ 0x01DA73B0, "_ZN9CSprayCan10ObjectCapsEv", mfunc_ptr_cast(&CSprayCan::ObjectCaps_) }, // DEFAULT - //non-virtual func - { 0x01DA6970, "_ZN9CSprayCan5SpawnEP9entvars_s", mfunc_ptr_cast(&CSprayCan::Spawn) }, // NOXREF -//CBloodSplat - //{ 0x01DA6B70, "_ZN11CBloodSplat5SpawnEP9entvars_s", mfunc_ptr_cast(&CBloodSplat::Spawn) }, // NOXREF - //{ 0x01DA6C00, "_ZN11CBloodSplat5SprayEv", mfunc_ptr_cast(&CBloodSplat::Spray) }, // NOXREF -//CDeadHEV - //virtual func - { 0x01DABAF0, "_ZN8CDeadHEV5SpawnEv", mfunc_ptr_cast(&CDeadHEV::Spawn_) }, - { 0x01DABAE0, "_ZN8CDeadHEV8ClassifyEv", mfunc_ptr_cast(&CDeadHEV::Classify_) }, - { 0x01DABA40, "_ZN8CDeadHEV8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CDeadHEV::KeyValue_) }, -//CStripWeapons - //virtual func - { 0x01DABC10, "_ZN13CStripWeapons3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CStripWeapons::Use_) }, -//CRevertSaved - //virtual func - { 0x01DABD20, "_ZN12CRevertSaved8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CRevertSaved::KeyValue_) }, - { 0x01DABCC0, "_ZN12CRevertSaved4SaveER5CSave", mfunc_ptr_cast(&CRevertSaved::Save_) }, - { 0x01DABCF0, "_ZN12CRevertSaved7RestoreER8CRestore", mfunc_ptr_cast(&CRevertSaved::Restore_) }, - { 0x01DABE10, "_ZN12CRevertSaved3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CRevertSaved::Use_) }, - //non-virtual func - { 0x01DABE70, "_ZN12CRevertSaved12MessageThinkEv", mfunc_ptr_cast(&CRevertSaved::MessageThink) }, - { 0x01DABEF0, "_ZN12CRevertSaved9LoadThinkEv", mfunc_ptr_cast(&CRevertSaved::LoadThink) }, -//CInfoIntermission - //virtual func - { 0x01DABF20, "_ZN17CInfoIntermission5SpawnEv", mfunc_ptr_cast(&CInfoIntermission::Spawn_) }, - { 0x01DABF90, "_ZN17CInfoIntermission5ThinkEv", mfunc_ptr_cast(&CInfoIntermission::Think_) }, - //linked objects - { 0x01D9B1F0, "player", (size_t)&player }, - { 0x01DAC0A0, "info_intermission", (size_t)&info_intermission }, - { 0x01DABC70, "player_loadsaved", (size_t)&player_loadsaved }, - { 0x01DABBC0, "player_weaponstrip", (size_t)&player_weaponstrip }, - { 0x01DABA90, "monster_hevsuit_dead", (size_t)&monster_hevsuit_dead }, - { 0x01DA0880, "weapon_shield", (size_t)&weapon_shield }, - -#endif // Player_Region - -#ifndef Effects_Region - -//CSprite - //virtual func - { 0x01D792F0, "_ZN7CSprite5SpawnEv", mfunc_ptr_cast(&CSprite::Spawn_) }, - { 0x01D79500, "_ZN7CSprite8PrecacheEv", mfunc_ptr_cast(&CSprite::Precache_) }, - { 0x01D79440, "_ZN7CSprite7RestartEv", mfunc_ptr_cast(&CSprite::Restart_) }, - { 0x01D79290, "_ZN7CSprite4SaveER5CSave", mfunc_ptr_cast(&CSprite::Save_) }, - { 0x01D792C0, "_ZN7CSprite7RestoreER8CRestore", mfunc_ptr_cast(&CSprite::Restore_) }, - //{ 0x01D78660, "_ZN7CSprite10ObjectCapsEv", mfunc_ptr_cast(&CSprite::ObjectCaps_) }, // DEFAULT - { 0x01D79AE0, "_ZN7CSprite3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CSprite::Use_) }, - //non-virtual func - { 0x01D79740, "_ZN7CSprite12AnimateThinkEv", mfunc_ptr_cast(&CSprite::AnimateThink) }, - { 0x01D79930, "_ZN7CSprite11ExpandThinkEv", mfunc_ptr_cast(&CSprite::ExpandThink) }, - //{ 0x01D799C0, "_ZN7CSprite12AnimateThinkEv", mfunc_ptr_cast(&CSprite::Animate) }, // NOXREF - //{ 0x01D798E0, "_ZN7CSprite6ExpandEff", mfunc_ptr_cast(&CSprite::Expand) }, // NOXREF - //{ 0x01D79590, "_ZN7CSprite10SpriteInitEPKcRK6Vector", mfunc_ptr_cast(&CSprite::SpriteInit) }, // NOXREF - //{ 0x0, "_ZN7CSprite13SetAttachmentEP7edict_si", mfunc_ptr_cast(&CSprite::SetAttachment) }, // NOXREF - //{ 0x01D79A40, "_ZN7CSprite7TurnOffEv", mfunc_ptr_cast(&CSprite::TurnOff) }, // NOXREF - { 0x01D79A60, "_ZN7CSprite6TurnOnEv", mfunc_ptr_cast(&CSprite::TurnOn) }, - //{ 0x0, "_ZN7CSprite6FramesEv", mfunc_ptr_cast(&CSprite::Frames) }, // NOXREF - //{ 0x0, "_ZN7CSprite15SetTransparencyEiiiiii", mfunc_ptr_cast(&CSprite::SetTransparency) }, // NOXREF - //{ 0x0, "_ZN7CSprite10SetTextureEi", mfunc_ptr_cast(&CSprite::SetTexture) }, // NOXREF - //{ 0x0, "_ZN7CSprite8SetScaleEf", mfunc_ptr_cast(&CSprite::SetScale) }, // NOXREF - //{ 0x0, "_ZN7CSprite8SetColorEiii", mfunc_ptr_cast(&CSprite::SetColor) }, // NOXREF - //{ 0x0, "_ZN7CSprite13SetBrightnessEi", mfunc_ptr_cast(&CSprite::SetBrightness) }, // NOXREF - //{ 0x0, "_ZN7CSprite13AnimateAndDieEf", mfunc_ptr_cast(&CSprite::AnimateAndDie) }, // NOXREF - { 0x01D79800, "_ZN7CSprite16AnimateUntilDeadEv", mfunc_ptr_cast(&CSprite::AnimateUntilDead) }, - { 0x01D795D0, "_ZN7CSprite12SpriteCreateEPKcRK6Vectori", mfunc_ptr_cast(&CSprite::SpriteCreate) }, -//CBeam - //virtual func - { 0x01D75E00, "_ZN5CBeam5SpawnEv", mfunc_ptr_cast(&CBeam::Spawn_) }, - { 0x01D75E20, "_ZN5CBeam8PrecacheEv", mfunc_ptr_cast(&CBeam::Precache_) }, - //{ 0x01D788B0, "_ZN5CBeam10ObjectCapsEv", mfunc_ptr_cast(&CBeam::ObjectCaps_) }, // DEFAULT - //{ 0x01D78D20, "_ZN5CBeam6CenterEv", mfunc_ptr_cast(&CBeam::Center_) }, // DEFAULT - //non-virtual func - { 0x01D76660, "_ZN5CBeam12TriggerTouchEP11CBaseEntity", mfunc_ptr_cast(&CBeam::TriggerTouch) }, - //{ 0x0, "_ZN5CBeam7SetTypeEi", mfunc_ptr_cast(&CBeam::SetType) }, // NOXREF - //{ 0x0, "_ZN5CBeam8SetFlagsEi", mfunc_ptr_cast(&CBeam::SetFlags) }, // NOXREF - //{ 0x0, "_ZN5CBeam11SetStartPosERK6Vector", mfunc_ptr_cast(&CBeam::SetStartPos) }, // NOXREF - //{ 0x0, "_ZN5CBeam9SetEndPosERK6Vector", mfunc_ptr_cast(&CBeam::SetEndPos) }, // NOXREF - //{ 0x01D75EC0, "_ZN5CBeam14SetStartEntityEi", mfunc_ptr_cast(&CBeam::SetStartEntity) }, // NOXREF - //{ 0x01D75F10, "_ZN5CBeam12SetEndEntityEi", mfunc_ptr_cast(&CBeam::SetEndEntity) }, // NOXREF - { 0x01D7A860, "_ZN5CBeam18SetStartAttachmentEi", mfunc_ptr_cast(&CBeam::SetStartAttachment) }, - { 0x01D7A890, "_ZN5CBeam16SetEndAttachmentEi", mfunc_ptr_cast(&CBeam::SetEndAttachment) }, - //{ 0x0, "_ZN5CBeam10SetTextureEi", mfunc_ptr_cast(&CBeam::SetTexture) }, // NOXREF - //{ 0x0, "_ZN5CBeam8SetWidthEi", mfunc_ptr_cast(&CBeam::SetWidth) }, // NOXREF - //{ 0x0, "_ZN5CBeam8SetNoiseEi", mfunc_ptr_cast(&CBeam::SetNoise) }, // NOXREF - //{ 0x0, "_ZN5CBeam8SetColorEiii", mfunc_ptr_cast(&CBeam::SetColor) }, // NOXREF - //{ 0x0, "_ZN5CBeam13SetBrightnessEi", mfunc_ptr_cast(&CBeam::SetBrightness) }, // NOXREF - //{ 0x0, "_ZN5CBeam8SetFrameEf", mfunc_ptr_cast(&CBeam::SetFrame) }, // NOXREF - //{ 0x0, "_ZN5CBeam13SetScrollRateEi", mfunc_ptr_cast(&CBeam::SetScrollRate) }, // NOXREF - //{ 0x0, "_ZN5CBeam7GetTypeEv", mfunc_ptr_cast(&CBeam::GetType) }, // NOXREF - //{ 0x0, "_ZN5CBeam8GetFlagsEv", mfunc_ptr_cast(&CBeam::GetFlags) }, // NOXREF - //{ 0x0, "_ZN5CBeam14GetStartEntityEv", mfunc_ptr_cast(&CBeam::GetStartEntity) }, // NOXREF - //{ 0x0, "_ZN5CBeam12GetEndEntityEv", mfunc_ptr_cast(&CBeam::GetEndEntity) }, // NOXREF - //{ 0x01D75F60, "_ZN5CBeam11GetStartPosEv", mfunc_ptr_cast(&CBeam::GetStartPos) }, // NOXREF - //{ 0x01D75FA0, "_ZN5CBeam9GetEndPosEv", mfunc_ptr_cast(&CBeam::GetEndPos) }, // NOXREF - //{ 0x0, "_ZN5CBeam10GetTextureEv", mfunc_ptr_cast(&CBeam::GetTexture) }, // NOXREF - //{ 0x0, "_ZN5CBeam8GetWidthEv", mfunc_ptr_cast(&CBeam::GetWidth) }, // NOXREF - //{ 0x0, "_ZN5CBeam8GetNoiseEv", mfunc_ptr_cast(&CBeam::GetNoise) }, // NOXREF - //{ 0x0, "_ZN5CBeam13GetBrightnessEv", mfunc_ptr_cast(&CBeam::GetBrightness) }, // NOXREF - //{ 0x0, "_ZN5CBeam8GetFrameEv", mfunc_ptr_cast(&CBeam::GetFrame) }, // NOXREF - //{ 0x0, "_ZN5CBeam13GetScrollRateEv", mfunc_ptr_cast(&CBeam::GetScrollRate) }, // NOXREF - { 0x01D76480, "_ZN5CBeam10RelinkBeamEv", mfunc_ptr_cast(&CBeam::RelinkBeam) }, - //{ 0x01D76700, "_ZN5CBeam8DoSparksERK6VectorS2_", mfunc_ptr_cast(&CBeam::DoSparks) }, // NOXREF - //{ 0x01D766B0, "_ZN5CBeam16RandomTargetnameEPKc", mfunc_ptr_cast(&CBeam::RandomTargetname) }, // NOXREF - { 0x01D775B0, "_ZN5CBeam10BeamDamageEP11TraceResult", mfunc_ptr_cast(&CBeam::BeamDamage) }, - { 0x01D76140, "_ZN5CBeam8BeamInitEPKci", mfunc_ptr_cast(&CBeam::BeamInit) }, - //{ 0x01D76200, "_ZN5CBeam10PointsInitERK6VectorS2_", mfunc_ptr_cast(&CBeam::PointsInit) }, // NOXREF - //{ 0x01D76300, "_ZN5CBeam12PointEntInitERK6Vectori", mfunc_ptr_cast(&CBeam::PointEntInit) }, // NOXREF - //{ 0x01D763B0, "_ZN5CBeam8EntsInitEii", mfunc_ptr_cast(&CBeam::EntsInit) }, // NOXREF - //{ 0x01D76280, "_ZN5CBeam8HoseInitERK6VectorS2_", mfunc_ptr_cast(&CBeam::HoseInit) }, // NOXREF - //{ 0x01D75FF0, "_ZN5CBeam10BeamCreateEPKci", mfunc_ptr_cast(&CBeam::BeamCreate) }, // NOXREF - //{ 0x0, "_ZN5CBeam11LiveForTimeEf", mfunc_ptr_cast(&CBeam::LiveForTime) }, // NOXREF - //{ 0x0, "_ZN5CBeam17BeamDamageInstantEP11TraceResultf", mfunc_ptr_cast(&CBeam::BeamDamageInstant) }, // NOXREF -//CLaser - //virtual func - { 0x01D782A0, "_ZN6CLaser5SpawnEv", mfunc_ptr_cast(&CLaser::Spawn_) }, - { 0x01D78680, "_ZN6CLaser8PrecacheEv", mfunc_ptr_cast(&CLaser::Precache_) }, - { 0x01D786D0, "_ZN6CLaser8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CLaser::KeyValue_) }, - { 0x01D78240, "_ZN6CLaser4SaveER5CSave", mfunc_ptr_cast(&CLaser::Save_) }, - { 0x01D78270, "_ZN6CLaser7RestoreER8CRestore", mfunc_ptr_cast(&CLaser::Restore_) }, - { 0x01D789E0, "_ZN6CLaser3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CLaser::Use_) }, - //non-virtual func - { 0x01D78930, "_ZN6CLaser6TurnOnEv", mfunc_ptr_cast(&CLaser::TurnOn) }, - { 0x01D788F0, "_ZN6CLaser7TurnOffEv", mfunc_ptr_cast(&CLaser::TurnOff) }, - //{ 0x01D788D0, "_ZN6CLaser4IsOnEv", mfunc_ptr_cast(&CLaser::IsOn) }, // NOXREF - { 0x01D78B00, "_ZN6CLaser11FireAtPointER11TraceResult", mfunc_ptr_cast(&CLaser::FireAtPoint) }, - { 0x01D78BB0, "_ZN6CLaser11StrikeThinkEv", mfunc_ptr_cast(&CLaser::StrikeThink) }, -//CBubbling - //virtual func - { 0x01D75A90, "_ZN9CBubbling5SpawnEv", mfunc_ptr_cast(&CBubbling::Spawn_) }, - { 0x01D75BA0, "_ZN9CBubbling8PrecacheEv", mfunc_ptr_cast(&CBubbling::Precache_) }, - { 0x01D75C30, "_ZN9CBubbling8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CBubbling::KeyValue_) }, - { 0x01D75A30, "_ZN9CBubbling4SaveER5CSave", mfunc_ptr_cast(&CBubbling::Save_) }, - { 0x01D75A60, "_ZN9CBubbling7RestoreER8CRestore", mfunc_ptr_cast(&CBubbling::Restore_) }, - //{ 0x01D75A20, "_ZN9CBubbling10ObjectCapsEv", mfunc_ptr_cast(&CBubbling::ObjectCaps_) }, // DEFAULT - { 0x01D75BC0, "_ZN9CBubbling3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CBubbling::Use_) }, - //non-virtual func - { 0x01D75CF0, "_ZN9CBubbling9FizzThinkEv", mfunc_ptr_cast(&CBubbling::FizzThink) }, -//CLightning - //virtual func - { 0x01D76840, "_ZN10CLightning5SpawnEv", mfunc_ptr_cast(&CLightning::Spawn_) }, - { 0x01D76970, "_ZN10CLightning8PrecacheEv", mfunc_ptr_cast(&CLightning::Precache_) }, - { 0x01D76A60, "_ZN10CLightning8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CLightning::KeyValue_) }, - { 0x01D767E0, "_ZN10CLightning4SaveER5CSave", mfunc_ptr_cast(&CLightning::Save_) }, - { 0x01D76810, "_ZN10CLightning7RestoreER8CRestore", mfunc_ptr_cast(&CLightning::Restore_) }, - { 0x01D76A30, "_ZN10CLightning8ActivateEv", mfunc_ptr_cast(&CLightning::Activate_) }, - //non-virtual func - { 0x01D76EE0, "_ZN10CLightning11StrikeThinkEv", mfunc_ptr_cast(&CLightning::StrikeThink) }, - { 0x01D776A0, "_ZN10CLightning11DamageThinkEv", mfunc_ptr_cast(&CLightning::DamageThink) }, - { 0x01D778C0, "_ZN10CLightning10RandomAreaEv", mfunc_ptr_cast(&CLightning::RandomArea) }, - { 0x01D77CC0, "_ZN10CLightning11RandomPointER6Vector", mfunc_ptr_cast(&CLightning::RandomPoint) }, - { 0x01D77760, "_ZN10CLightning3ZapERK6VectorS2_", mfunc_ptr_cast(&CLightning::Zap) }, - { 0x01D76E00, "_ZN10CLightning9StrikeUseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CLightning::StrikeUse) }, - { 0x01D76CB0, "_ZN10CLightning9ToggleUseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CLightning::ToggleUse) }, - //{ 0x0, "_ZN10CLightning10ServerSideEv", mfunc_ptr_cast(&CLightning::ServerSide) }, // NOXREF - { 0x01D77E60, "_ZN10CLightning14BeamUpdateVarsEv", mfunc_ptr_cast(&CLightning::BeamUpdateVars) }, - //{ 0x01D76E70, "_Z13IsPointEntityP11CBaseEntity", (size_t)&IsPointEntity }, // NOXREF -//CGlow - //virtual func - { 0x01D78E90, "_ZN5CGlow5SpawnEv", mfunc_ptr_cast(&CGlow::Spawn_) }, - { 0x01D78E30, "_ZN5CGlow4SaveER5CSave", mfunc_ptr_cast(&CGlow::Save_) }, - { 0x01D78E60, "_ZN5CGlow7RestoreER8CRestore", mfunc_ptr_cast(&CGlow::Restore_) }, - { 0x01D78FA0, "_ZN5CGlow5ThinkEv", mfunc_ptr_cast(&CGlow::Think_) }, - //non-virtual func - //{ 0x01D79010, "_ZN5CGlow7AnimateEf", mfunc_ptr_cast(&CGlow::Animate) }, // NOXREF -//CBombGlow - //virtual func - { 0x01D790A0, "_ZN9CBombGlow5SpawnEv", mfunc_ptr_cast(&CBombGlow::Spawn_) }, - { 0x01D79150, "_ZN9CBombGlow5ThinkEv", mfunc_ptr_cast(&CBombGlow::Think_) }, -//CGibShooter - //virtual func - { 0x01D79DA0, "_ZN11CGibShooter5SpawnEv", mfunc_ptr_cast(&CGibShooter::Spawn_) }, - { 0x01D79C50, "_ZN11CGibShooter8PrecacheEv", mfunc_ptr_cast(&CGibShooter::Precache_) }, - { 0x01D79C90, "_ZN11CGibShooter8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CGibShooter::KeyValue_) }, - { 0x01D79BA0, "_ZN11CGibShooter4SaveER5CSave", mfunc_ptr_cast(&CGibShooter::Save_) }, - { 0x01D79BD0, "_ZN11CGibShooter7RestoreER8CRestore", mfunc_ptr_cast(&CGibShooter::Restore_) }, - { 0x01D79D80, "_ZN11CGibShooter3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CGibShooter::Use_) }, - { 0x01D79E20, "_ZN11CGibShooter9CreateGibEv", mfunc_ptr_cast(&CGibShooter::CreateGib_) }, - //non-virtual func - { 0x01D79EF0, "_ZN11CGibShooter10ShootThinkEv", mfunc_ptr_cast(&CGibShooter::ShootThink) }, -//CEnvShooter - //virtual func - { 0x01D7A370, "_ZN11CEnvShooter8PrecacheEv", mfunc_ptr_cast(&CEnvShooter::Precache_) }, - { 0x01D7A270, "_ZN11CEnvShooter8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CEnvShooter::KeyValue_) }, - { 0x01D7A3B0, "_ZN11CEnvShooter9CreateGibEv", mfunc_ptr_cast(&CEnvShooter::CreateGib_) }, -//CTestEffect - //virtual func - { 0x01D7A530, "_ZN11CTestEffect5SpawnEv", mfunc_ptr_cast(&CTestEffect::Spawn_) }, - { 0x01D7A540, "_ZN11CTestEffect8PrecacheEv", mfunc_ptr_cast(&CTestEffect::Precache_) }, - { 0x01D7A8C0, "_ZN11CTestEffect3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CTestEffect::Use_) }, - //non-virtual func - { 0x01D7A550, "_ZN11CTestEffect9TestThinkEv", mfunc_ptr_cast(&CTestEffect::TestThink) }, -//CBlood - //virtual func - { 0x01D7A940, "_ZN6CBlood5SpawnEv", mfunc_ptr_cast(&CBlood::Spawn_) }, - { 0x01D7A980, "_ZN6CBlood8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CBlood::KeyValue_) }, - { 0x01D7AB70, "_ZN6CBlood3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CBlood::Use_) }, - //non-virtual func - //{ 0x0, "_ZN6CBlood5ColorEv", mfunc_ptr_cast(&CBlood::Color) }, // NOXREF - //{ 0x0, "_ZN6CBlood11BloodAmountEv", mfunc_ptr_cast(&CBlood::BloodAmount) }, // NOXREF - //{ 0x0, "_ZN6CBlood8SetColorEi", mfunc_ptr_cast(&CBlood::SetColor) }, // NOXREF - //{ 0x0, "_ZN6CBlood14SetBloodAmountEf", mfunc_ptr_cast(&CBlood::SetBloodAmount) }, // NOXREF - //{ 0x01D7AA30, "_ZN6CBlood9DirectionEv", mfunc_ptr_cast(&CBlood::Direction) }, // NOXREF - { 0x01D7AA70, "_ZN6CBlood13BloodPositionEP11CBaseEntity", mfunc_ptr_cast(&CBlood::BloodPosition) }, -//CShake - //virtual func - { 0x01D7ADB0, "_ZN6CShake5SpawnEv", mfunc_ptr_cast(&CShake::Spawn_) }, - { 0x01D7ADF0, "_ZN6CShake8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CShake::KeyValue_) }, - { 0x01D7AEE0, "_ZN6CShake3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CShake::Use_) }, - //non-virtual func - //{ 0x0, "_ZN6CShake9AmplitudeEv", mfunc_ptr_cast(&CShake::Amplitude) }, // NOXREF - //{ 0x0, "_ZN6CShake9FrequencyEv", mfunc_ptr_cast(&CShake::Frequency) }, // NOXREF - //{ 0x0, "_ZN6CShake8DurationEv", mfunc_ptr_cast(&CShake::Duration) }, // NOXREF - //{ 0x0, "_ZN6CShake6RadiusEv", mfunc_ptr_cast(&CShake::Radius) }, // NOXREF - //{ 0x0, "_ZN6CShake12SetAmplitudeEf", mfunc_ptr_cast(&CShake::SetAmplitude) }, // NOXREF - //{ 0x0, "_ZN6CShake12SetFrequencyEf", mfunc_ptr_cast(&CShake::SetFrequency) }, // NOXREF - //{ 0x0, "_ZN6CShake11SetDurationEf", mfunc_ptr_cast(&CShake::SetDuration) }, // NOXREF - //{ 0x0, "_ZN6CShake9SetRadiusEf", mfunc_ptr_cast(&CShake::SetRadius) }, // NOXREF -//CFade - //virtual func - { 0x01D7AF70, "_ZN5CFade5SpawnEv", mfunc_ptr_cast(&CFade::Spawn_) }, - { 0x01D7AFA0, "_ZN5CFade8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CFade::KeyValue_) }, - { 0x01D7B030, "_ZN5CFade3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CFade::Use_) }, - //non-virtual func - //{ 0x0, "_ZN5CFade8DurationEv", mfunc_ptr_cast(&CFade::Duration) }, // NOXREF - //{ 0x0, "_ZN5CFade8HoldTimeEv", mfunc_ptr_cast(&CFade::HoldTime) }, // NOXREF - //{ 0x0, "_ZN5CFade11SetDurationEf", mfunc_ptr_cast(&CFade::SetDuration) }, // NOXREF - //{ 0x0, "_ZN5CFade11SetHoldTimeEf", mfunc_ptr_cast(&CFade::SetHoldTime) }, // NOXREF -//CMessage - //virtual func - { 0x01D7B150, "_ZN8CMessage5SpawnEv", mfunc_ptr_cast(&CMessage::Spawn_) }, - { 0x01D7B1E0, "_ZN8CMessage8PrecacheEv", mfunc_ptr_cast(&CMessage::Precache_) }, - { 0x01D7B210, "_ZN8CMessage8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CMessage::KeyValue_) }, - { 0x01D7B2E0, "_ZN8CMessage3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CMessage::Use_) }, -//CEnvFunnel - //virtual func - { 0x01D7B4E0, "_ZN10CEnvFunnel5SpawnEv", mfunc_ptr_cast(&CEnvFunnel::Spawn_) }, - { 0x01D7B3E0, "_ZN10CEnvFunnel8PrecacheEv", mfunc_ptr_cast(&CEnvFunnel::Precache_) }, - { 0x01D7B450, "_ZN10CEnvFunnel3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CEnvFunnel::Use_) }, -//CEnvBeverage - //virtual func - { 0x01D7B630, "_ZN12CEnvBeverage5SpawnEv", mfunc_ptr_cast(&CEnvBeverage::Spawn_) }, - { 0x01D7B510, "_ZN12CEnvBeverage8PrecacheEv", mfunc_ptr_cast(&CEnvBeverage::Precache_) }, - { 0x01D7B580, "_ZN12CEnvBeverage3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CEnvBeverage::Use_) }, -//CItemSoda - //virtual func - { 0x01D7B6E0, "_ZN9CItemSoda5SpawnEv", mfunc_ptr_cast(&CItemSoda::Spawn_) }, - //{ 0x01D7B680, "_ZN9CItemSoda8PrecacheEv", mfunc_ptr_cast(&CItemSoda::Precache_) }, // pure - //non-virtual func - { 0x01D7B790, "_ZN9CItemSoda8CanThinkEv", mfunc_ptr_cast(&CItemSoda::CanThink) }, - { 0x01D7B820, "_ZN9CItemSoda8CanTouchEP11CBaseEntity", mfunc_ptr_cast(&CItemSoda::CanTouch) }, - //linked objects - { 0x01D75980, "info_target", (size_t)&info_target }, - { 0x01D759D0, "env_bubbles", (size_t)&env_bubbles }, - { 0x01D75DB0, "beam", (size_t)&beam }, - { 0x01D76740, "env_lightning", (size_t)&env_lightning }, - { 0x01D76790, "env_beam", (size_t)&env_beam }, - { 0x01D781F0, "env_laser", (size_t)&env_laser }, - { 0x01D78DE0, "env_glow", (size_t)&env_glow }, - { 0x01D79050, "env_bombglow", (size_t)&env_bombglow }, - { 0x01D79240, "env_sprite", (size_t)&env_sprite }, - { 0x01D79C00, "gibshooter", (size_t)&gibshooter }, - { 0x01D7A220, "env_shooter", (size_t)&env_shooter }, - { 0x01D7A4E0, "test_effect", (size_t)&test_effect }, - { 0x01D7A8F0, "env_blood", (size_t)&env_blood }, - { 0x01D7AD60, "env_shake", (size_t)&env_shake }, - { 0x01D7AF20, "env_fade", (size_t)&env_fade }, - { 0x01D7B100, "env_message", (size_t)&env_message }, - { 0x01D7B400, "env_funnel", (size_t)&env_funnel }, - { 0x01D7B530, "env_beverage", (size_t)&env_beverage }, - { 0x01D7B690, "item_sodacan", (size_t)&item_sodacan }, - -#endif // Effects_Region - -#ifndef Plats_Region - -//CBasePlatTrain - //virtual func - { 0x01D95570, "_ZN14CBasePlatTrain8PrecacheEv", mfunc_ptr_cast(&CBasePlatTrain::Precache_) }, - { 0x01D953E0, "_ZN14CBasePlatTrain8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CBasePlatTrain::KeyValue_) }, - { 0x01D95380, "_ZN14CBasePlatTrain4SaveER5CSave", mfunc_ptr_cast(&CBasePlatTrain::Save_) }, - { 0x01D953B0, "_ZN14CBasePlatTrain7RestoreER8CRestore", mfunc_ptr_cast(&CBasePlatTrain::Restore_) }, - //{ 0x01D95890, "_ZN14CBasePlatTrain10ObjectCapsEv", mfunc_ptr_cast(&CBasePlatTrain::ObjectCaps_) }, // DEFAULT - //{ 0x01D958A0, "_ZN14CBasePlatTrain12IsTogglePlatEv", mfunc_ptr_cast(&CBasePlatTrain::IsTogglePlat_) }, // DEFAULT -//CFuncPlat - //virtual func - { 0x01D95AF0, "_ZN9CFuncPlat5SpawnEv", mfunc_ptr_cast(&CFuncPlat::Spawn_) }, - { 0x01D95A20, "_ZN9CFuncPlat8PrecacheEv", mfunc_ptr_cast(&CFuncPlat::Precache_) }, - { 0x01D95FC0, "_ZN9CFuncPlat7BlockedEP11CBaseEntity", mfunc_ptr_cast(&CFuncPlat::Blocked_) }, - { 0x01D95E90, "_ZN9CFuncPlat4GoUpEv", mfunc_ptr_cast(&CFuncPlat::GoUp_) }, - { 0x01D95D80, "_ZN9CFuncPlat6GoDownEv", mfunc_ptr_cast(&CFuncPlat::GoDown_) }, - { 0x01D95F10, "_ZN9CFuncPlat6HitTopEv", mfunc_ptr_cast(&CFuncPlat::HitTop_) }, - { 0x01D95E00, "_ZN9CFuncPlat9HitBottomEv", mfunc_ptr_cast(&CFuncPlat::HitBottom_) }, - //non-virtual func - { 0x01D958B0, "_ZN9CFuncPlat5SetupEv", mfunc_ptr_cast(&CFuncPlat::Setup) }, - { 0x01D95D10, "_ZN9CFuncPlat7PlatUseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CFuncPlat::PlatUse) }, - { 0x01D95810, "_ZN9CFuncPlat10CallGoDownEv", mfunc_ptr_cast(&CFuncPlat::CallGoDown) }, - { 0x01D95820, "_ZN9CFuncPlat10CallHitTopEv", mfunc_ptr_cast(&CFuncPlat::CallHitTop) }, - { 0x01D95830, "_ZN9CFuncPlat13CallHitBottomEv", mfunc_ptr_cast(&CFuncPlat::CallHitBottom) }, -//CPlatTrigger - //virtual func - //{ 0x01D95AE0, "_ZN12CPlatTrigger10ObjectCapsEv", mfunc_ptr_cast(&CPlatTrigger::ObjectCaps_) }, // DEFAULT - { 0x01D95C90, "_ZN12CPlatTrigger5TouchEP11CBaseEntity", mfunc_ptr_cast(&CPlatTrigger::Touch_) }, - //non-virtual func - { 0x01D95B50, "_ZN12CPlatTrigger18SpawnInsideTriggerEP9CFuncPlat", mfunc_ptr_cast(&CPlatTrigger::SpawnInsideTrigger) }, -//CFuncPlatRot - //virtual func - { 0x01D96270, "_ZN12CFuncPlatRot5SpawnEv", mfunc_ptr_cast(&CFuncPlatRot::Spawn_) }, - { 0x01D960C0, "_ZN12CFuncPlatRot4SaveER5CSave", mfunc_ptr_cast(&CFuncPlatRot::Save_) }, - { 0x01D96110, "_ZN12CFuncPlatRot7RestoreER8CRestore", mfunc_ptr_cast(&CFuncPlatRot::Restore_) }, - { 0x01D965C0, "_ZN12CFuncPlatRot4GoUpEv", mfunc_ptr_cast(&CFuncPlatRot::GoUp_) }, - { 0x01D963D0, "_ZN12CFuncPlatRot6GoDownEv", mfunc_ptr_cast(&CFuncPlatRot::GoDown_) }, - { 0x01D966F0, "_ZN12CFuncPlatRot6HitTopEv", mfunc_ptr_cast(&CFuncPlatRot::HitTop_) }, - { 0x01D96500, "_ZN12CFuncPlatRot9HitBottomEv", mfunc_ptr_cast(&CFuncPlatRot::HitBottom_) }, - //non-virtual func - //{ 0x01D96160, "_ZN12CFuncPlatRot13SetupRotationEv", mfunc_ptr_cast(&CFuncPlatRot::SetupRotation) }, // NOXREF - //{ 0x01D96740, "_ZN12CFuncPlatRot7RotMoveER6Vectorf", mfunc_ptr_cast(&CFuncPlatRot::RotMove) }, // NOXREF -//CFuncTrain - //virtual func - { 0x01D96FD0, "_ZN10CFuncTrain5SpawnEv", mfunc_ptr_cast(&CFuncTrain::Spawn_) }, - { 0x01D971A0, "_ZN10CFuncTrain8PrecacheEv", mfunc_ptr_cast(&CFuncTrain::Precache_) }, - { 0x01D97100, "_ZN10CFuncTrain7RestartEv", mfunc_ptr_cast(&CFuncTrain::Restart_) }, - { 0x01D968E0, "_ZN10CFuncTrain8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CFuncTrain::KeyValue_) }, - { 0x01D96840, "_ZN10CFuncTrain4SaveER5CSave", mfunc_ptr_cast(&CFuncTrain::Save_) }, - { 0x01D96890, "_ZN10CFuncTrain7RestoreER8CRestore", mfunc_ptr_cast(&CFuncTrain::Restore_) }, - { 0x01D96EB0, "_ZN10CFuncTrain8ActivateEv", mfunc_ptr_cast(&CFuncTrain::Activate_) }, - { 0x01D971B0, "_ZN10CFuncTrain13OverrideResetEv", mfunc_ptr_cast(&CFuncTrain::OverrideReset_) }, - { 0x01D96970, "_ZN10CFuncTrain3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CFuncTrain::Use_) }, - { 0x01D96930, "_ZN10CFuncTrain7BlockedEP11CBaseEntity", mfunc_ptr_cast(&CFuncTrain::Blocked_) }, - //non-virtual func - { 0x01D96A20, "_ZN10CFuncTrain4WaitEv", mfunc_ptr_cast(&CFuncTrain::Wait) }, - { 0x01D96BE0, "_ZN10CFuncTrain4NextEv", mfunc_ptr_cast(&CFuncTrain::Next) }, -//CFuncTrackTrain - //virtual func - { 0x01D98A10, "_ZN15CFuncTrackTrain5SpawnEv", mfunc_ptr_cast(&CFuncTrackTrain::Spawn_) }, - { 0x01D98CF0, "_ZN15CFuncTrackTrain8PrecacheEv", mfunc_ptr_cast(&CFuncTrackTrain::Precache_) }, - { 0x01D98C00, "_ZN15CFuncTrackTrain7RestartEv", mfunc_ptr_cast(&CFuncTrackTrain::Restart_) }, - { 0x01D97310, "_ZN15CFuncTrackTrain8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CFuncTrackTrain::KeyValue_) }, - { 0x01D97260, "_ZN15CFuncTrackTrain4SaveER5CSave", mfunc_ptr_cast(&CFuncTrackTrain::Save_) }, - { 0x01D97290, "_ZN15CFuncTrackTrain7RestoreER8CRestore", mfunc_ptr_cast(&CFuncTrackTrain::Restore_) }, - //{ 0x01D97630, "_ZN15CFuncTrackTrain10ObjectCapsEv", mfunc_ptr_cast(&CFuncTrackTrain::ObjectCaps_) }, // DEFAULT - { 0x01D98980, "_ZN15CFuncTrackTrain13OverrideResetEv", mfunc_ptr_cast(&CFuncTrackTrain::OverrideReset_) }, - { 0x01D98490, "_ZN15CFuncTrackTrain10OnControlsEP9entvars_s", mfunc_ptr_cast(&CFuncTrackTrain::OnControls_) }, - { 0x01D97640, "_ZN15CFuncTrackTrain3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CFuncTrackTrain::Use_) }, - { 0x01D974B0, "_ZN15CFuncTrackTrain7BlockedEP11CBaseEntity", mfunc_ptr_cast(&CFuncTrackTrain::Blocked_) }, - //non-virtual func - { 0x01D97A40, "_ZN15CFuncTrackTrain4NextEv", mfunc_ptr_cast(&CFuncTrackTrain::Next) }, // TODO: FIX me, pev->angles.y is have difference of values 0.00001 - { 0x01D985C0, "_ZN15CFuncTrackTrain4FindEv", mfunc_ptr_cast(&CFuncTrackTrain::Find) }, - { 0x01D98770, "_ZN15CFuncTrackTrain11NearestPathEv", mfunc_ptr_cast(&CFuncTrackTrain::NearestPath) }, - { 0x01D982B0, "_ZN15CFuncTrackTrain7DeadEndEv", mfunc_ptr_cast(&CFuncTrackTrain::DeadEnd) }, - //{ 0x01D97470, "_ZN15CFuncTrackTrain9NextThinkEfi", mfunc_ptr_cast(&CFuncTrackTrain::NextThink) }, // NOXREF - //{ 0x0, "_ZN15CFuncTrackTrain8SetTrackEP10CPathTrack", mfunc_ptr_cast(&CFuncTrackTrain::SetTrack) }, // NOXREF - //{ 0x01D983E0, "_ZN15CFuncTrackTrain11SetControlsEP9entvars_s", mfunc_ptr_cast(&CFuncTrackTrain::SetControls) }, // NOXREF - //{ 0x01D97860, "_ZN15CFuncTrackTrain9StopSoundEv", mfunc_ptr_cast(&CFuncTrackTrain::StopSound) }, // NOXREF - { 0x01D978F0, "_ZN15CFuncTrackTrain11UpdateSoundEv", mfunc_ptr_cast(&CFuncTrackTrain::UpdateSound) }, - //{ 0x01D989C0, "_ZN15CFuncTrackTrain8InstanceEP7edict_s", mfunc_ptr_cast(&CFuncTrackTrain::Instance) }, // NOXREF -//CFuncTrainControls - //virtual func - { 0x01D98FF0, "_ZN18CFuncTrainControls5SpawnEv", mfunc_ptr_cast(&CFuncTrainControls::Spawn_) }, - //{ 0x01D98E60, "_ZN18CFuncTrainControls10ObjectCapsEv", mfunc_ptr_cast(&CFuncTrainControls::ObjectCaps_) }, // DEFAULT - //non-virtual func - { 0x01D98E70, "_ZN18CFuncTrainControls4FindEv", mfunc_ptr_cast(&CFuncTrainControls::Find) }, -//CFuncTrackChange - //virtual func - { 0x01D991C0, "_ZN16CFuncTrackChange5SpawnEv", mfunc_ptr_cast(&CFuncTrackChange::Spawn_) }, - { 0x01D99390, "_ZN16CFuncTrackChange8PrecacheEv", mfunc_ptr_cast(&CFuncTrackChange::Precache_) }, - { 0x01D99480, "_ZN16CFuncTrackChange8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CFuncTrackChange::KeyValue_) }, - { 0x01D990E0, "_ZN16CFuncTrackChange4SaveER5CSave", mfunc_ptr_cast(&CFuncTrackChange::Save_) }, - { 0x01D99150, "_ZN16CFuncTrackChange7RestoreER8CRestore", mfunc_ptr_cast(&CFuncTrackChange::Restore_) }, - { 0x01D99540, "_ZN16CFuncTrackChange13OverrideResetEv", mfunc_ptr_cast(&CFuncTrackChange::OverrideReset_) }, - { 0x01D99470, "_ZN16CFuncTrackChange5TouchEP11CBaseEntity", mfunc_ptr_cast(&CFuncTrackChange::Touch_) }, // PURE - { 0x01D99EB0, "_ZN16CFuncTrackChange3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CFuncTrackChange::Use_) }, - { 0x01D990D0, "_ZN16CFuncTrackChange12IsTogglePlatEv", mfunc_ptr_cast(&CFuncTrackChange::IsTogglePlat_) }, - { 0x01D99C90, "_ZN16CFuncTrackChange4GoUpEv", mfunc_ptr_cast(&CFuncTrackChange::GoUp_) }, - { 0x01D99AE0, "_ZN16CFuncTrackChange6GoDownEv", mfunc_ptr_cast(&CFuncTrackChange::GoDown_) }, - { 0x01D99F60, "_ZN16CFuncTrackChange9HitBottomEv", mfunc_ptr_cast(&CFuncTrackChange::HitBottom_) }, - { 0x01D9A090, "_ZN16CFuncTrackChange6HitTopEv", mfunc_ptr_cast(&CFuncTrackChange::HitTop_) }, - { 0x01D99E40, "_ZN16CFuncTrackChange17UpdateAutoTargetsEi", mfunc_ptr_cast(&CFuncTrackChange::UpdateAutoTargets_) }, - //non-virtual func - { 0x01D99560, "_ZN16CFuncTrackChange4FindEv", mfunc_ptr_cast(&CFuncTrackChange::Find) }, - { 0x01D99840, "_ZN16CFuncTrackChange13EvaluateTrainEP10CPathTrack", mfunc_ptr_cast(&CFuncTrackChange::EvaluateTrain) }, - { 0x01D99910, "_ZN16CFuncTrackChange11UpdateTrainER6Vector", mfunc_ptr_cast(&CFuncTrackChange::UpdateTrain) }, - //{ 0x0, "_ZN16CFuncTrackChange10DisableUseEv", mfunc_ptr_cast(&CFuncTrackChange::DisableUse) }, // NOXREF - //{ 0x0, "_ZN16CFuncTrackChange9EnableUseEv", mfunc_ptr_cast(&CFuncTrackChange::EnableUse) }, // NOXREF - //{ 0x0, "_ZN16CFuncTrackChange10UseEnabledEv", mfunc_ptr_cast(&CFuncTrackChange::UseEnabled) }, // NOXREF -//CFuncTrackAuto - //virtual func - { 0x01D9A270, "_ZN14CFuncTrackAuto3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CFuncTrackAuto::Use_) }, - { 0x01D9A1B0, "_ZN14CFuncTrackAuto17UpdateAutoTargetsEi", mfunc_ptr_cast(&CFuncTrackAuto::UpdateAutoTargets_) }, -//CGunTarget - //virtual func - { 0x01D9A480, "_ZN10CGunTarget5SpawnEv", mfunc_ptr_cast(&CGunTarget::Spawn_) }, - { 0x01D9A420, "_ZN10CGunTarget4SaveER5CSave", mfunc_ptr_cast(&CGunTarget::Save_) }, - { 0x01D9A450, "_ZN10CGunTarget7RestoreER8CRestore", mfunc_ptr_cast(&CGunTarget::Restore_) }, - //{ 0x01D9A410, "_ZN10CGunTarget10ObjectCapsEv", mfunc_ptr_cast(&CGunTarget::ObjectCaps_) }, // DEFAULT - { 0x01D9A550, "_ZN10CGunTarget8ActivateEv", mfunc_ptr_cast(&CGunTarget::Activate_) }, - //{ 0x01D9A3E0, "_ZN10CGunTarget8ClassifyEv", mfunc_ptr_cast(&CGunTarget::Classify_) }, // DEFAULT - { 0x01D9A8D0, "_ZN10CGunTarget10TakeDamageEP9entvars_sS1_fi", mfunc_ptr_cast(&CGunTarget::TakeDamage_) }, - //{ 0x01D9A3D0, "_ZN10CGunTarget10BloodColorEv", mfunc_ptr_cast(&CGunTarget::BloodColor_) }, // DEFAULT - { 0x01D9A990, "_ZN10CGunTarget3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CGunTarget::Use_) }, - //{ 0x01D9A3F0, "_ZN10CGunTarget10BodyTargetERK6Vector", mfunc_ptr_cast(&CGunTarget::BodyTarget_) }, // DEFAULT - //non-virtual func - { 0x01D9A610, "_ZN10CGunTarget4NextEv", mfunc_ptr_cast(&CGunTarget::Next) }, - { 0x01D9A600, "_ZN10CGunTarget5StartEv", mfunc_ptr_cast(&CGunTarget::Start) }, - { 0x01D9A6E0, "_ZN10CGunTarget4WaitEv", mfunc_ptr_cast(&CGunTarget::Wait) }, - //{ 0x01D9A890, "_ZN10CGunTarget4StopEv", mfunc_ptr_cast(&CGunTarget::Stop) }, // NOXREF -//CPlane - //{ 0x01D952F0, "_ZN6CPlaneC2Ev", mfunc_ptr_cast(&CPlane::CPlane) }, // NOXREF - //{ 0x01D95300, "_ZN6CPlane15InitializePlaneERK6VectorS2_", mfunc_ptr_cast(&CPlane::InitializePlane) }, // NOXREF - //{ 0x01D95340, "_ZN6CPlane12PointInFrontERK6Vector", mfunc_ptr_cast(&CPlane::PointInFront) }, // NOXREF -//linked objects - { 0x01D95840, "func_plat", (size_t)&func_plat }, - { 0x01D96070, "func_platrot", (size_t)&func_platrot }, - { 0x01D967F0, "func_train", (size_t)&func_train }, - { 0x01D972C0, "func_tracktrain", (size_t)&func_tracktrain }, - { 0x01D98E10, "func_traincontrols", (size_t)&func_traincontrols }, - { 0x01D99070, "func_trackchange", (size_t)&func_trackchange }, - { 0x01D9A150, "func_trackautochange", (size_t)&func_trackautochange }, - { 0x01D9A380, "func_guntarget", (size_t)&func_guntarget }, - -#endif // Plats_Region - -#ifndef PathCorner_Region - -//CPathTrack - //virtual func - { 0x01D94980, "_ZN10CPathTrack5SpawnEv", mfunc_ptr_cast(&CPathTrack::Spawn_) }, - { 0x01D946A0, "_ZN10CPathTrack8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CPathTrack::KeyValue_) }, - { 0x01D945F0, "_ZN10CPathTrack4SaveER5CSave", mfunc_ptr_cast(&CPathTrack::Save_) }, - { 0x01D94620, "_ZN10CPathTrack7RestoreER8CRestore", mfunc_ptr_cast(&CPathTrack::Restore_) }, - { 0x01D949F0, "_ZN10CPathTrack8ActivateEv", mfunc_ptr_cast(&CPathTrack::Activate_) }, - { 0x01D946F0, "_ZN10CPathTrack3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CPathTrack::Use_) }, - //non-virtual func - //{ 0x01D94B90, "_ZN10CPathTrack11SetPreviousEPS_", mfunc_ptr_cast(&CPathTrack::SetPrevious) }, // NOXREF - { 0x01D94790, "_ZN10CPathTrack4LinkEv", mfunc_ptr_cast(&CPathTrack::Link) }, - { 0x01D94A10, "_ZN10CPathTrack9ValidPathEPS_i", mfunc_ptr_cast(&CPathTrack::ValidPath) }, - //{ 0x01D94A40, "_ZN10CPathTrack7ProjectEPS_S0_P6Vectorf", mfunc_ptr_cast(&CPathTrack::Project) }, // NOXREF - { 0x01D952A0, "_ZN10CPathTrack8InstanceEP7edict_s", mfunc_ptr_cast(&CPathTrack::Instance) }, - { 0x01D94C00, "_ZN10CPathTrack9LookAheadEP6Vectorfi", mfunc_ptr_cast(&CPathTrack::LookAhead) }, - { 0x01D951A0, "_ZN10CPathTrack7NearestE6Vector", mfunc_ptr_cast(&CPathTrack::Nearest) }, - { 0x01D94B30, "_ZN10CPathTrack7GetNextEv", mfunc_ptr_cast(&CPathTrack::GetNext) }, - { 0x01D94B60, "_ZN10CPathTrack11GetPreviousEv", mfunc_ptr_cast(&CPathTrack::GetPrevious) }, - //linked objects - { 0x01D94650, "path_track", (size_t)&path_track }, -//CPathCorner - //virtual func - { 0x01D945E0, "_ZN11CPathCorner5SpawnEv", mfunc_ptr_cast(&CPathCorner::Spawn_) }, // PURE - { 0x01D94590, "_ZN11CPathCorner8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CPathCorner::KeyValue_) }, - { 0x01D94530, "_ZN11CPathCorner4SaveER5CSave", mfunc_ptr_cast(&CPathCorner::Save_) }, - { 0x01D94560, "_ZN11CPathCorner7RestoreER8CRestore", mfunc_ptr_cast(&CPathCorner::Restore_) }, - //{ 0x01D94520, "_ZN11CPathCorner8GetDelayEv", mfunc_ptr_cast(&CPathCorner::GetDelay_) }, // DEFAULT - //linked objects - { 0x01D944D0, "path_corner", (size_t)&path_corner }, - -#endif // PathCorner_Region - -#ifndef Vehicle_Region - -//CFuncVehicle - //virtual func - { 0x01DCBFC0, "_ZN12CFuncVehicle5SpawnEv", mfunc_ptr_cast(&CFuncVehicle::Spawn_) }, - { 0x01DCC310, "_ZN12CFuncVehicle8PrecacheEv", mfunc_ptr_cast(&CFuncVehicle::Precache_) }, - { 0x01DCC1D0, "_ZN12CFuncVehicle7RestartEv", mfunc_ptr_cast(&CFuncVehicle::Restart_) }, - { 0x01DC9370, "_ZN12CFuncVehicle8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CFuncVehicle::KeyValue_) }, - { 0x01DC92C0, "_ZN12CFuncVehicle4SaveER5CSave", mfunc_ptr_cast(&CFuncVehicle::Save_) }, - { 0x01DC92F0, "_ZN12CFuncVehicle7RestoreER8CRestore", mfunc_ptr_cast(&CFuncVehicle::Restore_) }, - //{ 0x01DCB970, "_ZN12CFuncVehicle10ObjectCapsEv", mfunc_ptr_cast(&CFuncVehicle::ObjectCaps_) }, // DEFAULT - { 0x01DCBFB0, "_ZN12CFuncVehicle8ClassifyEv", mfunc_ptr_cast(&CFuncVehicle::Classify_) }, - { 0x01DCBF20, "_ZN12CFuncVehicle13OverrideResetEv", mfunc_ptr_cast(&CFuncVehicle::OverrideReset_) }, - { 0x01DCBA30, "_ZN12CFuncVehicle10OnControlsEP9entvars_s", mfunc_ptr_cast(&CFuncVehicle::OnControls_) }, - { 0x01DC9A10, "_ZN12CFuncVehicle3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CFuncVehicle::Use_) }, - { 0x01DC9590, "_ZN12CFuncVehicle7BlockedEP11CBaseEntity", mfunc_ptr_cast(&CFuncVehicle::Blocked_) }, - //non-virtual func - { 0x01DCAD10, "_ZN12CFuncVehicle4NextEv", mfunc_ptr_cast(&CFuncVehicle::Next) }, - { 0x01DCBB60, "_ZN12CFuncVehicle4FindEv", mfunc_ptr_cast(&CFuncVehicle::Find) }, - { 0x01DCBD10, "_ZN12CFuncVehicle11NearestPathEv", mfunc_ptr_cast(&CFuncVehicle::NearestPath) }, - { 0x01DCB840, "_ZN12CFuncVehicle7DeadEndEv", mfunc_ptr_cast(&CFuncVehicle::DeadEnd) }, - { 0x01DC9550, "_ZN12CFuncVehicle9NextThinkEfi", mfunc_ptr_cast(&CFuncVehicle::NextThink) }, - { 0x01DCA6D0, "_ZN12CFuncVehicle18CollisionDetectionEv", mfunc_ptr_cast(&CFuncVehicle::CollisionDetection) }, - //{ 0x01DCAC50, "_ZN12CFuncVehicle16TerrainFollowingEv", mfunc_ptr_cast(&CFuncVehicle::TerrainFollowing) }, // NOXREF - { 0x01DCA2F0, "_ZN12CFuncVehicle12CheckTurningEv", mfunc_ptr_cast(&CFuncVehicle::CheckTurning) }, - //{ 0x0, "_ZN12CFuncVehicle8SetTrackEP10CPathTrack", mfunc_ptr_cast(&CFuncVehicle::SetTrack) }, // NOXREF - //{ 0x01DCB980, "_ZN12CFuncVehicle11SetControlsEP9entvars_s", mfunc_ptr_cast(&CFuncVehicle::SetControls) }, // NOXREF - //{ 0x01DCA110, "_ZN12CFuncVehicle9StopSoundEv", mfunc_ptr_cast(&CFuncVehicle::StopSound) }, // NOXREF - { 0x01DCA180, "_ZN12CFuncVehicle11UpdateSoundEv", mfunc_ptr_cast(&CFuncVehicle::UpdateSound) }, - //{ 0x01DCBF60, "_ZN12CFuncVehicle8InstanceEP7edict_s", mfunc_ptr_cast(&CFuncVehicle::Instance) }, // NOXREF - //{ 0x0, "", (size_t)&FixupAngles2 }, // NOXREF - -#ifdef _WIN32 - { 0x01DCB7B0, "", (size_t)&Fix2 }, -#endif // _WIN32 - - //linked objects - { 0x01DC9320, "func_vehicle", (size_t)&func_vehicle }, -//CFuncVehicleControls - //virtual func - { 0x01DCC5F0, "_ZN20CFuncVehicleControls5SpawnEv", mfunc_ptr_cast(&CFuncVehicleControls::Spawn_) }, - //{ 0x01DCC460, "_ZN20CFuncVehicleControls10ObjectCapsEv", mfunc_ptr_cast(&CFuncVehicleControls::ObjectCaps_) }, // DEFAULT - //non-virtual func - { 0x01DCC470, "_ZN20CFuncVehicleControls4FindEv", mfunc_ptr_cast(&CFuncVehicleControls::Find) }, - //linked objects - { 0x01DCC410, "func_vehiclecontrols", (size_t)&func_vehiclecontrols }, - -#endif // Vehicle_Region - -#ifndef Func_Tank_Region - -//CFuncTank - //virtual func - { 0x01D7DFB0, "_ZN9CFuncTank5SpawnEv", mfunc_ptr_cast(&CFuncTank::Spawn_) }, - { 0x01D7E170, "_ZN9CFuncTank8PrecacheEv", mfunc_ptr_cast(&CFuncTank::Precache_) }, - { 0x01D7E1E0, "_ZN9CFuncTank8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CFuncTank::KeyValue_) }, - { 0x01D7DEB0, "_ZN9CFuncTank4SaveER5CSave", mfunc_ptr_cast(&CFuncTank::Save_) }, - { 0x01D7DEE0, "_ZN9CFuncTank7RestoreER8CRestore", mfunc_ptr_cast(&CFuncTank::Restore_) }, - //{ 0x01D7FA70, "_ZN9CFuncTank10ObjectCapsEv", mfunc_ptr_cast(&CFuncTank::ObjectCaps_) }, // DEFAULT - //{ 0x01D7E620, "_ZN9CFuncTank10OnControlsEP9entvars_s", mfunc_ptr_cast(&CFuncTank::OnControls_) }, // DEFAULT - { 0x01D7EBD0, "_ZN9CFuncTank5ThinkEv", mfunc_ptr_cast(&CFuncTank::Think_) }, - { 0x01D7E9A0, "_ZN9CFuncTank3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CFuncTank::Use_) }, - { 0x01D7F560, "_ZN9CFuncTank4FireERK6VectorS2_P9entvars_s", mfunc_ptr_cast(&CFuncTank::Fire_) }, - //{ 0x01D7FA40, "_ZN9CFuncTank20UpdateTargetPositionEP11CBaseEntity", mfunc_ptr_cast(&CFuncTank::UpdateTargetPosition_) }, // DEFAULT - //non-virtual func - { 0x01D7ECD0, "_ZN9CFuncTank11TrackTargetEv", mfunc_ptr_cast(&CFuncTank::TrackTarget) }, - { 0x01D7F930, "_ZN9CFuncTank13StartRotSoundEv", mfunc_ptr_cast(&CFuncTank::StartRotSound) }, - //{ 0x01D7F990, "_ZN9CFuncTank12StopRotSoundEv", mfunc_ptr_cast(&CFuncTank::StopRotSound) }, // NOXREF - //{ 0x0, "_ZN9CFuncTank8IsActiveEv", mfunc_ptr_cast(&CFuncTank::IsActive) }, // NOXREF - //{ 0x0, "_ZN9CFuncTank12TankActivateEv", mfunc_ptr_cast(&CFuncTank::TankActivate) }, // NOXREF - //{ 0x0, "_ZN9CFuncTank14TankDeactivateEv", mfunc_ptr_cast(&CFuncTank::TankDeactivate) }, // NOXREF - //{ 0x0, "_ZN9CFuncTank7CanFireEv", mfunc_ptr_cast(&CFuncTank::CanFire) }, // NOXREF - //{ 0x01D7EB80, "_ZN9CFuncTank7InRangeEf", mfunc_ptr_cast(&CFuncTank::InRange) }, // NOXREF - //{ 0x01D7EB70, "_ZN9CFuncTank10FindTargetEP7edict_s", mfunc_ptr_cast(&CFuncTank::FindTarget) }, // NOXREF - //{ 0x01D7F7B0, "_ZN9CFuncTank9TankTraceERK6VectorS2_S2_R11TraceResult", mfunc_ptr_cast(&CFuncTank::TankTrace) }, // NOXREF - //{ 0x0, "_ZN9CFuncTank14BarrelPositionEv", mfunc_ptr_cast(&CFuncTank::BarrelPosition) }, // NOXREF - { 0x01D7F4B0, "_ZN9CFuncTank21AdjustAnglesForBarrelER6Vectorf", mfunc_ptr_cast(&CFuncTank::AdjustAnglesForBarrel) }, - { 0x01D7E680, "_ZN9CFuncTank12StartControlEP11CBasePlayer", mfunc_ptr_cast(&CFuncTank::StartControl) }, - //{ 0x01D7E750, "_ZN9CFuncTank11StopControlEv", mfunc_ptr_cast(&CFuncTank::StopControl) }, // NOXREF - { 0x01D7E7F0, "_ZN9CFuncTank19ControllerPostFrameEv", mfunc_ptr_cast(&CFuncTank::ControllerPostFrame) }, -//CFuncTankGun - //virtual func - { 0x01D7FA80, "_ZN12CFuncTankGun4FireERK6VectorS2_P9entvars_s", mfunc_ptr_cast(&CFuncTankGun::Fire_) }, -//CFuncTankLaser - //virtual func - { 0x01D7FD50, "_ZN14CFuncTankLaser8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CFuncTankLaser::KeyValue_) }, - { 0x01D7FBF0, "_ZN14CFuncTankLaser4SaveER5CSave", mfunc_ptr_cast(&CFuncTankLaser::Save_) }, - { 0x01D7FC40, "_ZN14CFuncTankLaser7RestoreER8CRestore", mfunc_ptr_cast(&CFuncTankLaser::Restore_) }, - { 0x01D7FC90, "_ZN14CFuncTankLaser8ActivateEv", mfunc_ptr_cast(&CFuncTankLaser::Activate_) }, - { 0x01D7FE40, "_ZN14CFuncTankLaser5ThinkEv", mfunc_ptr_cast(&CFuncTankLaser::Think_) }, - { 0x01D7FF60, "_ZN14CFuncTankLaser4FireERK6VectorS2_P9entvars_s", mfunc_ptr_cast(&CFuncTankLaser::Fire_) }, - //non-virtual func - //{ 0x01D7FDA0, "_ZN14CFuncTankLaser8GetLaserEv", mfunc_ptr_cast(&CFuncTankLaser::GetLaser) }, // NOXREF -//CFuncTankRocket - //virtual func - { 0x01D80180, "_ZN15CFuncTankRocket8PrecacheEv", mfunc_ptr_cast(&CFuncTankRocket::Precache_) }, - { 0x01D80200, "_ZN15CFuncTankRocket4FireERK6VectorS2_P9entvars_s", mfunc_ptr_cast(&CFuncTankRocket::Fire_) }, -//CFuncTankMortar - //virtual func - { 0x01D802E0, "_ZN15CFuncTankMortar8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CFuncTankMortar::KeyValue_) }, - { 0x01D80330, "_ZN15CFuncTankMortar4FireERK6VectorS2_P9entvars_s", mfunc_ptr_cast(&CFuncTankMortar::Fire_) }, -//CFuncTankControls - //virtual func - { 0x01D80590, "_ZN17CFuncTankControls5SpawnEv", mfunc_ptr_cast(&CFuncTankControls::Spawn_) }, - { 0x01D80450, "_ZN17CFuncTankControls4SaveER5CSave", mfunc_ptr_cast(&CFuncTankControls::Save_) }, - { 0x01D80480, "_ZN17CFuncTankControls7RestoreER8CRestore", mfunc_ptr_cast(&CFuncTankControls::Restore_) }, - //{ 0x01D804B0, "_ZN17CFuncTankControls10ObjectCapsEv", mfunc_ptr_cast(&CFuncTankControls::ObjectCaps_) }, // DEFAULT - { 0x01D804E0, "_ZN17CFuncTankControls5ThinkEv", mfunc_ptr_cast(&CFuncTankControls::Think_) }, - { 0x01D804C0, "_ZN17CFuncTankControls3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CFuncTankControls::Use_) }, -//linked objects - { 0x01D7F9F0, "func_tank", (size_t)&func_tank }, - { 0x01D7FBA0, "func_tanklaser", (size_t)&func_tanklaser }, - { 0x01D80130, "func_tankrocket", (size_t)&func_tankrocket }, - { 0x01D80290, "func_tankmortar", (size_t)&func_tankmortar }, - { 0x01D80400, "func_tankcontrols", (size_t)&func_tankcontrols }, - -#endif // Func_Tank_Region - -#ifndef Func_Break_Region - -//CBreakable - //virtual func - { 0x01D7C410, "_ZN10CBreakable5SpawnEv", mfunc_ptr_cast(&CBreakable::Spawn_) }, - { 0x01D7C7A0, "_ZN10CBreakable8PrecacheEv", mfunc_ptr_cast(&CBreakable::Precache_) }, - { 0x01D7C4F0, "_ZN10CBreakable7RestartEv", mfunc_ptr_cast(&CBreakable::Restart_) }, - { 0x01D7C180, "_ZN10CBreakable8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CBreakable::KeyValue_) }, - { 0x01D7C3B0, "_ZN10CBreakable4SaveER5CSave", mfunc_ptr_cast(&CBreakable::Save_) }, - { 0x01D7C3E0, "_ZN10CBreakable7RestoreER8CRestore", mfunc_ptr_cast(&CBreakable::Restore_) }, - //{ 0x01D7DEA0, "_ZN10CBreakable10ObjectCapsEv", mfunc_ptr_cast(&CBreakable::ObjectCaps_) }, // DEFAULT - { 0x01D7CDC0, "_ZN10CBreakable11TraceAttackEP9entvars_sf6VectorP11TraceResulti", mfunc_ptr_cast(&CBreakable::TraceAttack_) }, - { 0x01D7CEB0, "_ZN10CBreakable10TakeDamageEP9entvars_sS1_fi", mfunc_ptr_cast(&CBreakable::TakeDamage_) }, - { 0x01D7D6D0, "_ZN10CBreakable11DamageDecalEi", mfunc_ptr_cast(&CBreakable::DamageDecal_) }, - { 0x01D7CD40, "_ZN10CBreakable3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CBreakable::Use_) }, - //non-virtual func - { 0x01D7CB80, "_ZN10CBreakable10BreakTouchEP11CBaseEntity", mfunc_ptr_cast(&CBreakable::BreakTouch) }, - { 0x01D7C9E0, "_ZN10CBreakable11DamageSoundEv", mfunc_ptr_cast(&CBreakable::DamageSound) }, - //{ 0x01D7D6C0, "_ZN10CBreakable11IsBreakableEv", mfunc_ptr_cast(&CBreakable::IsBreakable) }, // NOXREF - //{ 0x0, "_ZN10CBreakable12SparkWhenHitEv", mfunc_ptr_cast(&CBreakable::SparkWhenHit) }, // NOXREF - { 0x01D7D0E0, "_ZN10CBreakable3DieEv", mfunc_ptr_cast(&CBreakable::Die) }, - //{ 0x0, "_ZN10CBreakable10ExplodableEv", mfunc_ptr_cast(&CBreakable::Explodable) }, // NOXREF - //{ 0x0, "_ZN10CBreakable18ExplosionMagnitudeEv", mfunc_ptr_cast(&CBreakable::ExplosionMagnitude) }, // NOXREF - //{ 0x0, "_ZN10CBreakable21ExplosionSetMagnitudeEi", mfunc_ptr_cast(&CBreakable::ExplosionSetMagnitude) }, // NOXREF - { 0x01D7C670, "_ZN10CBreakable21MaterialSoundPrecacheE9Materials", mfunc_ptr_cast(&CBreakable::MaterialSoundPrecache) }, - { 0x01D7C710, "_ZN10CBreakable19MaterialSoundRandomEP7edict_s9Materialsf", mfunc_ptr_cast(&CBreakable::MaterialSoundRandom) }, - //{ 0x01D7C5D0, "_ZN10CBreakable17MaterialSoundListE9MaterialsRi", mfunc_ptr_cast(&CBreakable::MaterialSoundList) }, // NOXREF -//CPushable - //virtual func - { 0x01D7D800, "_ZN9CPushable5SpawnEv", mfunc_ptr_cast(&CPushable::Spawn_) }, - { 0x01D7D920, "_ZN9CPushable8PrecacheEv", mfunc_ptr_cast(&CPushable::Precache_) }, - { 0x01D7D960, "_ZN9CPushable8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CPushable::KeyValue_) }, - { 0x01D7D700, "_ZN9CPushable4SaveER5CSave", mfunc_ptr_cast(&CPushable::Save_) }, - { 0x01D7D750, "_ZN9CPushable7RestoreER8CRestore", mfunc_ptr_cast(&CPushable::Restore_) }, - //{ 0x01D7D7F0, "_ZN9CPushable10ObjectCapsEv", mfunc_ptr_cast(&CPushable::ObjectCaps_) }, // DEFAULT - { 0x01D7DE70, "_ZN9CPushable10TakeDamageEP9entvars_sS1_fi", mfunc_ptr_cast(&CPushable::TakeDamage_) }, - { 0x01D7DC30, "_ZN9CPushable5TouchEP11CBaseEntity", mfunc_ptr_cast(&CPushable::Touch_) }, - { 0x01D7DB40, "_ZN9CPushable3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CPushable::Use_) }, - //non-virtual func - { 0x01D7DC70, "_ZN9CPushable4MoveEP11CBaseEntityi", mfunc_ptr_cast(&CPushable::Move) }, - //{ 0x0, "_ZN9CPushable9StopSoundEv", mfunc_ptr_cast(&CPushable::StopSound) }, - //{ 0x0, "_ZN9CPushable8MaxSpeedEv", mfunc_ptr_cast(&CPushable::MaxSpeed) }, // NOXREF -//linked objects - { 0x01D7C360, "func_breakable", (size_t)&func_breakable }, - { 0x01D7D7A0, "func_pushable", (size_t)&func_pushable }, - -#endif // Func_Break_Region - -#ifndef Door_Region - -//CBaseDoor - //virtual func - { 0x01D73D70, "_ZN9CBaseDoor5SpawnEv", mfunc_ptr_cast(&CBaseDoor::Spawn_) }, - { 0x01D73FD0, "_ZN9CBaseDoor8PrecacheEv", mfunc_ptr_cast(&CBaseDoor::Precache_) }, - { 0x01D73F50, "_ZN9CBaseDoor7RestartEv", mfunc_ptr_cast(&CBaseDoor::Restart_) }, - { 0x01D73AA0, "_ZN9CBaseDoor8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CBaseDoor::KeyValue_) }, - { 0x01D73820, "_ZN9CBaseDoor4SaveER5CSave", mfunc_ptr_cast(&CBaseDoor::Save_) }, - { 0x01D73850, "_ZN9CBaseDoor7RestoreER8CRestore", mfunc_ptr_cast(&CBaseDoor::Restore_) }, - //{ 0x01D73D10, "_ZN9CBaseDoor10ObjectCapsEv", mfunc_ptr_cast(&CBaseDoor::ObjectCaps_) }, // DEFAULT - { 0x01D73F90, "_ZN9CBaseDoor14SetToggleStateEi", mfunc_ptr_cast(&CBaseDoor::SetToggleState_) }, - { 0x01D74540, "_ZN9CBaseDoor3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CBaseDoor::Use_) }, - { 0x01D74CB0, "_ZN9CBaseDoor7BlockedEP11CBaseEntity", mfunc_ptr_cast(&CBaseDoor::Blocked_) }, - //non-virtual func - { 0x01D744B0, "_ZN9CBaseDoor9DoorTouchEP11CBaseEntity", mfunc_ptr_cast(&CBaseDoor::DoorTouch) }, - { 0x01D74580, "_ZN9CBaseDoor12DoorActivateEv", mfunc_ptr_cast(&CBaseDoor::DoorActivate) }, - { 0x01D74640, "_ZN9CBaseDoor8DoorGoUpEv", mfunc_ptr_cast(&CBaseDoor::DoorGoUp) }, - { 0x01D74AC0, "_ZN9CBaseDoor10DoorGoDownEv", mfunc_ptr_cast(&CBaseDoor::DoorGoDown) }, - { 0x01D74990, "_ZN9CBaseDoor10DoorHitTopEv", mfunc_ptr_cast(&CBaseDoor::DoorHitTop) }, - { 0x01D74BB0, "_ZN9CBaseDoor13DoorHitBottomEv", mfunc_ptr_cast(&CBaseDoor::DoorHitBottom) }, -//CRotDoor - //virtual func - { 0x01D75150, "_ZN8CRotDoor5SpawnEv", mfunc_ptr_cast(&CRotDoor::Spawn_) }, - { 0x01D75000, "_ZN8CRotDoor7RestartEv", mfunc_ptr_cast(&CRotDoor::Restart_) }, - { 0x01D75380, "_ZN8CRotDoor14SetToggleStateEi", mfunc_ptr_cast(&CRotDoor::SetToggleState_) }, -//CMomentaryDoor - //virtual func - { 0x01D754B0, "_ZN14CMomentaryDoor5SpawnEv", mfunc_ptr_cast(&CMomentaryDoor::Spawn_) }, - { 0x01D75650, "_ZN14CMomentaryDoor8PrecacheEv", mfunc_ptr_cast(&CMomentaryDoor::Precache_) }, - { 0x01D75780, "_ZN14CMomentaryDoor8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CMomentaryDoor::KeyValue_) }, - { 0x01D75450, "_ZN14CMomentaryDoor4SaveER5CSave", mfunc_ptr_cast(&CMomentaryDoor::Save_) }, - { 0x01D75480, "_ZN14CMomentaryDoor7RestoreER8CRestore", mfunc_ptr_cast(&CMomentaryDoor::Restore_) }, - //{ 0x01D75440, "_ZN14CMomentaryDoor10ObjectCapsEv", mfunc_ptr_cast(&CMomentaryDoor::ObjectCaps_) }, // DEFAULT - { 0x01D75820, "_ZN14CMomentaryDoor3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CMomentaryDoor::Use_) }, - //non-class func - { 0x01D73880, "_Z14PlayLockSoundsP9entvars_sP10locksoundsii", (size_t)&PlayLockSounds }, -//linked objects - { 0x01D73CC0, "func_door", (size_t)&func_door }, - { 0x01D73D20, "func_water", (size_t)&func_water }, - { 0x01D74FB0, "func_door_rotating", (size_t)&func_door_rotating }, - { 0x01D753F0, "momentary_door", (size_t)&momentary_door }, - -#endif // Door_Region - -#ifndef BModels_Region - -//CFuncWall - //virtual func - { 0x01D5CFE0, "_ZN9CFuncWall5SpawnEv", mfunc_ptr_cast(&CFuncWall::Spawn_) }, - //{ 0x01D5CFD0, "_ZN9CFuncWall10ObjectCapsEv", mfunc_ptr_cast(&CFuncWall::ObjectCaps_) }, // DEFAULT - { 0x01D5D060, "_ZN9CFuncWall3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CFuncWall::Use_) }, -//CFuncWallToggle - //virtual func - { 0x01D5D0F0, "_ZN15CFuncWallToggle5SpawnEv", mfunc_ptr_cast(&CFuncWallToggle::Spawn_) }, - { 0x01D5D230, "_ZN15CFuncWallToggle3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CFuncWallToggle::Use_) }, - //non-virtual func - //{ 0x01D5D1B0, "_ZN15CFuncWallToggle7TurnOffEv", mfunc_ptr_cast(&CFuncWallToggle::TurnOff) }, // NOXREF - //{ 0x01D5D1E0, "_ZN15CFuncWallToggle6TurnOnEv", mfunc_ptr_cast(&CFuncWallToggle::TurnOn) }, // NOXREF - //{ 0x01D5D210, "_ZN15CFuncWallToggle4IsOnEv", mfunc_ptr_cast(&CFuncWallToggle::IsOn) }, // NOXREF -//CFuncConveyor - //virtual func - { 0x01D5D320, "_ZN13CFuncConveyor5SpawnEv", mfunc_ptr_cast(&CFuncConveyor::Spawn_) }, - { 0x01D5D4F0, "_ZN13CFuncConveyor3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CFuncConveyor::Use_) }, - //non-virtual func - //{ 0x01D5D470, "_ZN13CFuncConveyor11UpdateSpeedEf", mfunc_ptr_cast(&CFuncConveyor::UpdateSpeed) }, // NOXREF -//CFuncIllusionary - //virtual func - { 0x01D5D640, "_ZN16CFuncIllusionary5SpawnEv", mfunc_ptr_cast(&CFuncIllusionary::Spawn_) }, - { 0x01D5D5E0, "_ZN16CFuncIllusionary8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CFuncIllusionary::KeyValue_) }, - //{ 0x01D5D5D0, "_ZN16CFuncIllusionary10ObjectCapsEv", mfunc_ptr_cast(&CFuncIllusionary::ObjectCaps_) }, // DEFAULT -//CFuncMonsterClip - //virtual func - { 0x01D5D700, "_ZN16CFuncMonsterClip5SpawnEv", mfunc_ptr_cast(&CFuncMonsterClip::Spawn_) }, - //{ 0x01D5D6F0, "_ZN16CFuncMonsterClip3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CFuncMonsterClip::Use_) }, // PURE -//CFuncRotating - //virtual func - { 0x01D5D9F0, "_ZN13CFuncRotating5SpawnEv", mfunc_ptr_cast(&CFuncRotating::Spawn_) }, - { 0x01D5DC20, "_ZN13CFuncRotating8PrecacheEv", mfunc_ptr_cast(&CFuncRotating::Precache_) }, - { 0x01D5D870, "_ZN13CFuncRotating8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CFuncRotating::KeyValue_) }, - { 0x01D5D7B0, "_ZN13CFuncRotating4SaveER5CSave", mfunc_ptr_cast(&CFuncRotating::Save_) }, - { 0x01D5D7E0, "_ZN13CFuncRotating7RestoreER8CRestore", mfunc_ptr_cast(&CFuncRotating::Restore_) }, - //{ 0x01D5D860, "_ZN13CFuncRotating10ObjectCapsEv", mfunc_ptr_cast(&CFuncRotating::ObjectCaps_) }, // DEFAULT - { 0x01D5E590, "_ZN13CFuncRotating7BlockedEP11CBaseEntity", mfunc_ptr_cast(&CFuncRotating::Blocked_) }, - //non-virtual func - { 0x01D5E050, "_ZN13CFuncRotating6SpinUpEv", mfunc_ptr_cast(&CFuncRotating::SpinUp) }, - { 0x01D5E210, "_ZN13CFuncRotating8SpinDownEv", mfunc_ptr_cast(&CFuncRotating::SpinDown) }, - { 0x01D5DDB0, "_ZN13CFuncRotating9HurtTouchEP11CBaseEntity", mfunc_ptr_cast(&CFuncRotating::HurtTouch) }, - { 0x01D5E410, "_ZN13CFuncRotating11RotatingUseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CFuncRotating::RotatingUse) }, - { 0x01D5E3F0, "_ZN13CFuncRotating6RotateEv", mfunc_ptr_cast(&CFuncRotating::Rotate) }, - { 0x01D5DF40, "_ZN13CFuncRotating12RampPitchVolEi", mfunc_ptr_cast(&CFuncRotating::RampPitchVol) }, -//CPendulum - //virtual func - { 0x01D5E700, "_ZN9CPendulum5SpawnEv", mfunc_ptr_cast(&CPendulum::Spawn_) }, - { 0x01D5E670, "_ZN9CPendulum8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CPendulum::KeyValue_) }, - { 0x01D5E610, "_ZN9CPendulum4SaveER5CSave", mfunc_ptr_cast(&CPendulum::Save_) }, - { 0x01D5E640, "_ZN9CPendulum7RestoreER8CRestore", mfunc_ptr_cast(&CPendulum::Restore_) }, - //{ 0x01D5E600, "_ZN9CPendulum10ObjectCapsEv", mfunc_ptr_cast(&CPendulum::ObjectCaps_) }, // DEFAULT - { 0x01D5EC10, "_ZN9CPendulum5TouchEP11CBaseEntity", mfunc_ptr_cast(&CPendulum::Touch_) }, - { 0x01D5EA10, "_ZN9CPendulum7BlockedEP11CBaseEntity", mfunc_ptr_cast(&CPendulum::Blocked_) }, - //non-virtual func - { 0x01D5EA20, "_ZN9CPendulum5SwingEv", mfunc_ptr_cast(&CPendulum::Swing) }, - { 0x01D5E8B0, "_ZN9CPendulum11PendulumUseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CPendulum::PendulumUse) }, - { 0x01D5E9C0, "_ZN9CPendulum4StopEv", mfunc_ptr_cast(&CPendulum::Stop) }, - { 0x01D5EDA0, "_ZN9CPendulum9RopeTouchEP11CBaseEntity", mfunc_ptr_cast(&CPendulum::RopeTouch) }, -//non-class func - { 0x01D5CF20, "_Z15VecBModelOriginP9entvars_s", (size_t)&VecBModelOrigin }, -//linked objects - { 0x01D5CF80, "func_wall", (size_t)&func_wall }, - { 0x01D5D0A0, "func_wall_toggle", (size_t)&func_wall_toggle }, - { 0x01D5D2D0, "func_conveyor", (size_t)&func_conveyor }, - { 0x01D5D580, "func_illusionary", (size_t)&func_illusionary }, - { 0x01D5D6A0, "func_monsterclip", (size_t)&func_monsterclip }, - { 0x01D5D810, "func_rotating", (size_t)&func_rotating }, - { 0x01D5E5B0, "func_pendulum", (size_t)&func_pendulum }, - -#endif // BModels_Region - -#ifndef Button_Region - -//CEnvGlobal - //virtual func - { 0x01D5EF80, "_ZN10CEnvGlobal5SpawnEv", mfunc_ptr_cast(&CEnvGlobal::Spawn_) }, - { 0x01D5EED0, "_ZN10CEnvGlobal8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CEnvGlobal::KeyValue_) }, - { 0x01D5EE20, "_ZN10CEnvGlobal4SaveER5CSave", mfunc_ptr_cast(&CEnvGlobal::Save_) }, - { 0x01D5EE50, "_ZN10CEnvGlobal7RestoreER8CRestore", mfunc_ptr_cast(&CEnvGlobal::Restore_) }, - { 0x01D5EFE0, "_ZN10CEnvGlobal3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CEnvGlobal::Use_) }, -//CMultiSource - //virtual func - { 0x01D5F1E0, "_ZN12CMultiSource5SpawnEv", mfunc_ptr_cast(&CMultiSource::Spawn_) }, - { 0x01D5F120, "_ZN12CMultiSource8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CMultiSource::KeyValue_) }, - { 0x01D5F230, "_ZN12CMultiSource3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CMultiSource::Use_) }, - //{ 0x01D60DF0, "_ZN12CMultiSource10ObjectCapsEv", mfunc_ptr_cast(&CMultiSource::ObjectCaps_) }, // DEFAULT - { 0x01D5F310, "_ZN12CMultiSource11IsTriggeredEP11CBaseEntity", mfunc_ptr_cast(&CMultiSource::IsTriggered_) }, - { 0x01D5F070, "_ZN12CMultiSource4SaveER5CSave", mfunc_ptr_cast(&CMultiSource::Save_) }, - { 0x01D5F0A0, "_ZN12CMultiSource7RestoreER8CRestore", mfunc_ptr_cast(&CMultiSource::Restore_) }, - //non-virtual func - { 0x01D5F370, "_ZN12CMultiSource8RegisterEv", mfunc_ptr_cast(&CMultiSource::Register) }, -//CBaseButton - //virtual func - { 0x01D5FB30, "_ZN11CBaseButton5SpawnEv", mfunc_ptr_cast(&CBaseButton::Spawn_) }, - { 0x01D5F510, "_ZN11CBaseButton8PrecacheEv", mfunc_ptr_cast(&CBaseButton::Precache_) }, - { 0x01D5F7D0, "_ZN11CBaseButton8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CBaseButton::KeyValue_) }, - { 0x01D5F4B0, "_ZN11CBaseButton4SaveER5CSave", mfunc_ptr_cast(&CBaseButton::Save_) }, - { 0x01D5F4E0, "_ZN11CBaseButton7RestoreER8CRestore", mfunc_ptr_cast(&CBaseButton::Restore_) }, - //{ 0x01D610F0, "_ZN11CBaseButton10ObjectCapsEv", mfunc_ptr_cast(&CBaseButton::ObjectCaps_) }, // DEFAULT - { 0x01D5F930, "_ZN11CBaseButton10TakeDamageEP9entvars_sS1_fi", mfunc_ptr_cast(&CBaseButton::TakeDamage_) }, - //non-virtual func - //{ 0x0, "_ZN11CBaseButton8RotSpawnEv", mfunc_ptr_cast(&CBaseButton::RotSpawn) }, // NOXREF - { 0x01D603A0, "_ZN11CBaseButton14ButtonActivateEv", mfunc_ptr_cast(&CBaseButton::ButtonActivate) }, - //{ 0x0, "_ZN11CBaseButton15SparkSoundCacheEv", mfunc_ptr_cast(&CBaseButton::SparkSoundCache) }, // NOXREF - //{ 0x0, "_ZN11CBaseButton10ButtonShotEv", mfunc_ptr_cast(&CBaseButton::ButtonShot) }, // NOXREF - { 0x01D601F0, "_ZN11CBaseButton11ButtonTouchEP11CBaseEntity", mfunc_ptr_cast(&CBaseButton::ButtonTouch) }, - { 0x01D60030, "_ZN11CBaseButton11ButtonSparkEv", mfunc_ptr_cast(&CBaseButton::ButtonSpark) }, - { 0x01D60490, "_ZN11CBaseButton14TriggerAndWaitEv", mfunc_ptr_cast(&CBaseButton::TriggerAndWait) }, - { 0x01D60530, "_ZN11CBaseButton12ButtonReturnEv", mfunc_ptr_cast(&CBaseButton::ButtonReturn) }, - { 0x01D605C0, "_ZN11CBaseButton14ButtonBackHomeEv", mfunc_ptr_cast(&CBaseButton::ButtonBackHome) }, - { 0x01D60080, "_ZN11CBaseButton9ButtonUseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CBaseButton::ButtonUse) }, - //{ 0x01D60190, "_ZN11CBaseButton21ButtonResponseToTouchEv", mfunc_ptr_cast(&CBaseButton::ButtonResponseToTouch) }, // NOXREF - //non-class func - { 0x01D5FDA0, "_Z11ButtonSoundi", (size_t)&ButtonSound }, - { 0x01D5FE90, "_Z7DoSparkP9entvars_sRK6Vector", (size_t)&DoSpark }, -//CRotButton - //virtual func - { 0x01D60730, "_ZN10CRotButton5SpawnEv", mfunc_ptr_cast(&CRotButton::Spawn_) }, -//CMomentaryRotButton - //virtual func - { 0x01D60A10, "_ZN19CMomentaryRotButton5SpawnEv", mfunc_ptr_cast(&CMomentaryRotButton::Spawn_) }, - { 0x01D60BF0, "_ZN19CMomentaryRotButton8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CMomentaryRotButton::KeyValue_) }, - { 0x01D60940, "_ZN19CMomentaryRotButton4SaveER5CSave", mfunc_ptr_cast(&CMomentaryRotButton::Save_) }, - { 0x01D60970, "_ZN19CMomentaryRotButton7RestoreER8CRestore", mfunc_ptr_cast(&CMomentaryRotButton::Restore_) }, - //{ 0x01D609F0, "_ZN19CMomentaryRotButton10ObjectCapsEv", mfunc_ptr_cast(&CMomentaryRotButton::ObjectCaps_) }, // DEFAULT - { 0x01D60CC0, "_ZN19CMomentaryRotButton3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CMomentaryRotButton::Use_) }, - //non-virtual func - { 0x01D61180, "_ZN19CMomentaryRotButton3OffEv", mfunc_ptr_cast(&CMomentaryRotButton::Off) }, - { 0x01D61200, "_ZN19CMomentaryRotButton6ReturnEv", mfunc_ptr_cast(&CMomentaryRotButton::Return) }, - { 0x01D60F60, "_ZN19CMomentaryRotButton10UpdateSelfEf", mfunc_ptr_cast(&CMomentaryRotButton::UpdateSelf) }, - //{ 0x01D613E0, "_ZN19CMomentaryRotButton16UpdateSelfReturnEf", mfunc_ptr_cast(&CMomentaryRotButton::UpdateSelfReturn) }, // NOXREF - //{ 0x01D60E00, "_ZN19CMomentaryRotButton16UpdateAllButtonsEfi", mfunc_ptr_cast(&CMomentaryRotButton::UpdateAllButtons) }, // NOXREF - //{ 0x01D60C70, "_ZN19CMomentaryRotButton9PlaySoundEv", mfunc_ptr_cast(&CMomentaryRotButton::PlaySound) }, // NOXREF - //{ 0x01D61110, "_ZN19CMomentaryRotButton12UpdateTargetEf", mfunc_ptr_cast(&CMomentaryRotButton::UpdateTarget) }, // NOXREF - //{ 0x0, "_ZN19CMomentaryRotButton8InstanceEP7edict_s", mfunc_ptr_cast(&CMomentaryRotButton::Instance) }, // NOXREF -//CEnvSpark - //virtual func - { 0x01D615A0, "_ZN9CEnvSpark5SpawnEv", mfunc_ptr_cast(&CEnvSpark::Spawn_) }, - { 0x01D61620, "_ZN9CEnvSpark8PrecacheEv", mfunc_ptr_cast(&CEnvSpark::Precache_) }, - { 0x01D61670, "_ZN9CEnvSpark8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CEnvSpark::KeyValue_) }, - { 0x01D614A0, "_ZN9CEnvSpark4SaveER5CSave", mfunc_ptr_cast(&CEnvSpark::Save_) }, - { 0x01D614D0, "_ZN9CEnvSpark7RestoreER8CRestore", mfunc_ptr_cast(&CEnvSpark::Restore_) }, - //non-virtual func - { 0x01D61730, "_ZN9CEnvSpark10SparkThinkEv", mfunc_ptr_cast(&CEnvSpark::SparkThink) }, - { 0x01D61770, "_ZN9CEnvSpark10SparkStartEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CEnvSpark::SparkStart) }, - { 0x01D617B0, "_ZN9CEnvSpark9SparkStopEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CEnvSpark::SparkStop) }, -//CButtonTarget - //virtual func - { 0x01D61820, "_ZN13CButtonTarget5SpawnEv", mfunc_ptr_cast(&CButtonTarget::Spawn_) }, - { 0x01D61910, "_ZN13CButtonTarget10ObjectCapsEv", mfunc_ptr_cast(&CButtonTarget::ObjectCaps_) }, - { 0x01D61930, "_ZN13CButtonTarget10TakeDamageEP9entvars_sS1_fi", mfunc_ptr_cast(&CButtonTarget::TakeDamage_) }, - { 0x01D61890, "_ZN13CButtonTarget3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CButtonTarget::Use_) }, -// linked objects - { 0x01D5EE80, "env_global", (size_t)&env_global }, - { 0x01D5F0D0, "multisource", (size_t)&multisource }, - { 0x01D5FAE0, "func_button", (size_t)&func_button }, - { 0x01D606E0, "func_rot_button", (size_t)&func_rot_button }, - { 0x01D609A0, "momentary_rot_button", (size_t)&momentary_rot_button }, - { 0x01D61500, "env_spark", (size_t)&env_spark }, - { 0x01D61550, "env_debris", (size_t)&env_debris }, - { 0x01D617D0, "button_target", (size_t)&button_target }, - -#endif // Button_Region - -#ifndef Explode_Region - -//CShower - //virtual func - { 0x01D7B960, "_ZN7CShower5SpawnEv", mfunc_ptr_cast(&CShower::Spawn_) }, - //{ 0x01D7B950, "_ZN7CShower10ObjectCapsEv", mfunc_ptr_cast(&CShower::ObjectCaps_) }, // DEFAULT - { 0x01D7BAD0, "_ZN7CShower5ThinkEv", mfunc_ptr_cast(&CShower::Think_) }, - { 0x01D7BB60, "_ZN7CShower5TouchEP11CBaseEntity", mfunc_ptr_cast(&CShower::Touch_) }, - //linked objects - { 0x01D7B900, "spark_shower", (size_t)&spark_shower }, -//CEnvExplosion - //virtual func - { 0x01D7BD10, "_ZN13CEnvExplosion5SpawnEv", mfunc_ptr_cast(&CEnvExplosion::Spawn_) }, - { 0x01D7BCC0, "_ZN13CEnvExplosion8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CEnvExplosion::KeyValue_) }, - { 0x01D7BC10, "_ZN13CEnvExplosion4SaveER5CSave", mfunc_ptr_cast(&CEnvExplosion::Save_) }, - { 0x01D7BC40, "_ZN13CEnvExplosion7RestoreER8CRestore", mfunc_ptr_cast(&CEnvExplosion::Restore_) }, - { 0x01D7BD70, "_ZN13CEnvExplosion3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CEnvExplosion::Use_) }, - //non-virtual func - { 0x01D7C040, "_ZN13CEnvExplosion5SmokeEv", mfunc_ptr_cast(&CEnvExplosion::Smoke) }, - { 0x01D7C0E0, "_Z15ExplosionCreateRK6VectorS1_P7edict_sii", (size_t)&ExplosionCreate }, - //linked objects - { 0x01D7BC70, "env_explosion", (size_t)&env_explosion }, - -#endif // Explode_Region - -#ifndef Mortar_Region - -//CFuncMortarField - //virtual func - { 0x01D8A610, "_ZN16CFuncMortarField5SpawnEv", mfunc_ptr_cast(&CFuncMortarField::Spawn_) }, - { 0x01D8A680, "_ZN16CFuncMortarField8PrecacheEv", mfunc_ptr_cast(&CFuncMortarField::Precache_) }, - { 0x01D8A500, "_ZN16CFuncMortarField8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CFuncMortarField::KeyValue_) }, - { 0x01D8A4A0, "_ZN16CFuncMortarField4SaveER5CSave", mfunc_ptr_cast(&CFuncMortarField::Save_) }, - { 0x01D8A4D0, "_ZN16CFuncMortarField7RestoreER8CRestore", mfunc_ptr_cast(&CFuncMortarField::Restore_) }, - //{ 0x01D8A490, "_ZN16CFuncMortarField10ObjectCapsEv", mfunc_ptr_cast(&CFuncMortarField::ObjectCaps_) }, // DEFAULT - //non-virtual func - { 0x01D8A6B0, "_ZN16CFuncMortarField8FieldUseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CFuncMortarField::FieldUse) }, - //linked objects - { 0x01D8A440, "func_mortar_field", (size_t)&func_mortar_field }, -//CMortar - //virtual func - { 0x01D8A990, "_ZN7CMortar5SpawnEv", mfunc_ptr_cast(&CMortar::Spawn_) }, - { 0x01D8A9D0, "_ZN7CMortar8PrecacheEv", mfunc_ptr_cast(&CMortar::Precache_) }, - //non-virtual func - { 0x01D8A9F0, "_ZN7CMortar13MortarExplodeEv", mfunc_ptr_cast(&CMortar::MortarExplode) }, - //linked objects - { 0x01D8A940, "monster_mortar", (size_t)&monster_mortar }, - -#endif // Mortar_Region - -#ifndef Healkit_Region - -//CHealthKit - //virtual func - { 0x01D867A0, "_ZN10CHealthKit5SpawnEv", mfunc_ptr_cast(&CHealthKit::Spawn_) }, - { 0x01D867D0, "_ZN10CHealthKit8PrecacheEv", mfunc_ptr_cast(&CHealthKit::Precache_) }, - { 0x01D867F0, "_ZN10CHealthKit7MyTouchEP11CBasePlayer", mfunc_ptr_cast(&CHealthKit::MyTouch_) }, - //linked objects - { 0x01D86750, "item_healthkit", (size_t)&item_healthkit }, -//CWallHealth - //virtual func - { 0x01D86A30, "_ZN11CWallHealth5SpawnEv", mfunc_ptr_cast(&CWallHealth::Spawn_) }, - { 0x01D86AC0, "_ZN11CWallHealth8PrecacheEv", mfunc_ptr_cast(&CWallHealth::Precache_) }, - { 0x01D86980, "_ZN11CWallHealth8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CWallHealth::KeyValue_) }, - { 0x01D868C0, "_ZN11CWallHealth4SaveER5CSave", mfunc_ptr_cast(&CWallHealth::Save_) }, - { 0x01D868F0, "_ZN11CWallHealth7RestoreER8CRestore", mfunc_ptr_cast(&CWallHealth::Restore_) }, - //{ 0x01D86970, "_ZN11CWallHealth10ObjectCapsEv", mfunc_ptr_cast(&CWallHealth::ObjectCaps_) }, // DEFAULT - { 0x01D86AF0, "_ZN11CWallHealth3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CWallHealth::Use_) }, - //non-virtual func - { 0x01D86D90, "_ZN11CWallHealth3OffEv", mfunc_ptr_cast(&CWallHealth::Off) }, - { 0x01D86D30, "_ZN11CWallHealth8RechargeEv", mfunc_ptr_cast(&CWallHealth::Recharge) }, - //linked objects - { 0x01D86920, "func_healthcharger", (size_t)&func_healthcharger }, - -#endif // Healkit_Region - -#ifndef Lights_Region - -//CLight - //virtual func - { 0x01D88790, "_ZN6CLight5SpawnEv", mfunc_ptr_cast(&CLight::Spawn_) }, - { 0x01D88830, "_ZN6CLight7RestartEv", mfunc_ptr_cast(&CLight::Restart_) }, - { 0x01D88670, "_ZN6CLight4SaveER5CSave", mfunc_ptr_cast(&CLight::Save_) }, - { 0x01D886A0, "_ZN6CLight7RestoreER8CRestore", mfunc_ptr_cast(&CLight::Restore_) }, - { 0x01D886D0, "_ZN6CLight8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CLight::KeyValue_) }, - { 0x01D888C0, "_ZN6CLight3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CLight::Use_) }, -//CEnvLight - //virtual func - { 0x01D88BB0, "_ZN9CEnvLight5SpawnEv", mfunc_ptr_cast(&CEnvLight::Spawn_) }, - { 0x01D88A20, "_ZN9CEnvLight8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CEnvLight::KeyValue_) }, - //linked objects - { 0x01D88620, "light", (size_t)&light }, - { 0x01D88980, "light_spot", (size_t)&light_spot }, - { 0x01D889D0, "light_environment", (size_t)&light_environment }, - -#endif // Lights_Region - -#ifndef MapRules_Region - -//CRuleEntity - //virtual func - //{ 0x01D88CC0, "_ZN11CRuleEntity5SpawnEv", mfunc_ptr_cast(&CRuleEntity::Spawn_) }, // NOXREF - { 0x01D88CF0, "_ZN11CRuleEntity8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CRuleEntity::KeyValue_) }, - { 0x01D88C60, "_ZN11CRuleEntity4SaveER5CSave", mfunc_ptr_cast(&CRuleEntity::Save_) }, - { 0x01D88C90, "_ZN11CRuleEntity7RestoreER8CRestore", mfunc_ptr_cast(&CRuleEntity::Restore_) }, - //non-virtual func - //{ 0x0, "_ZN11CRuleEntity9SetMasterEi", mfunc_ptr_cast(&CRuleEntity::SetMaster) }, // NOXREF - //{ 0x01D88D40, "_ZN11CRuleEntity19CanFireForActivatorEP11CBaseEntity", mfunc_ptr_cast(&CRuleEntity::CanFireForActivator) }, // NOXREF -//CRulePointEntity - //virtual func - { 0x01D88D70, "_ZN16CRulePointEntity5SpawnEv", mfunc_ptr_cast(&CRulePointEntity::Spawn_) }, -//CRuleBrushEntity - //virtual func - { 0x01D88DB0, "_ZN16CRuleBrushEntity5SpawnEv", mfunc_ptr_cast(&CRuleBrushEntity::Spawn_) }, -//CGameScore - //virtual func - { 0x01D88E50, "_ZN10CGameScore5SpawnEv", mfunc_ptr_cast(&CGameScore::Spawn_) }, - { 0x01D88E90, "_ZN10CGameScore8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CGameScore::KeyValue_) }, - { 0x01D88F20, "_ZN10CGameScore3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CGameScore::Use_) }, - //non-virtual func - //{ 0x0, "_ZN10CGameScore6PointsEv", mfunc_ptr_cast(&CGameScore::Points) }, // NOXREF - //{ 0x0, "_ZN10CGameScore18AllowNegativeScoreEv", mfunc_ptr_cast(&CGameScore::AllowNegativeScore) }, // NOXREF - //{ 0x0, "_ZN10CGameScore11AwardToTeamEv", mfunc_ptr_cast(&CGameScore::AwardToTeam) }, // NOXREF - //{ 0x0, "_ZN10CGameScore9SetPointsEi", mfunc_ptr_cast(&CGameScore::SetPoints) }, // NOXREF -//CGameEnd - { 0x01D88FE0, "_ZN8CGameEnd3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CGameEnd::Use_) }, -//CGameText - //virtual func - { 0x01D89100, "_ZN9CGameText8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CGameText::KeyValue_) }, - { 0x01D89060, "_ZN9CGameText4SaveER5CSave", mfunc_ptr_cast(&CGameText::Save_) }, - { 0x01D890B0, "_ZN9CGameText7RestoreER8CRestore", mfunc_ptr_cast(&CGameText::Restore_) }, - { 0x01D893C0, "_ZN9CGameText3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CGameText::Use_) }, - //non-virtual func - //{ 0x0, "_ZN9CGameText12MessageToAllEv", mfunc_ptr_cast(&CGameText::MessageToAll) }, // NOXREF - //{ 0x0, "_ZN9CGameText10MessageSetEPKc", mfunc_ptr_cast(&CGameText::MessageSet) }, // NOXREF - //{ 0x0, "_ZN9CGameText10MessageGetEv", mfunc_ptr_cast(&CGameText::MessageGet) }, // NOXREF -//CGameTeamMaster - //virtual func - { 0x01D894B0, "_ZN15CGameTeamMaster8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CGameTeamMaster::KeyValue_) }, - //{ 0x01D894A0, "_ZN15CGameTeamMaster10ObjectCapsEv", mfunc_ptr_cast(&CGameTeamMaster::ObjectCaps_) }, // DEFAULT - { 0x01D89690, "_ZN15CGameTeamMaster11IsTriggeredEP11CBaseEntity", mfunc_ptr_cast(&CGameTeamMaster::IsTriggered_) }, - { 0x01D896E0, "_ZN15CGameTeamMaster6TeamIDEv", mfunc_ptr_cast(&CGameTeamMaster::TeamID_) }, - { 0x01D895A0, "_ZN15CGameTeamMaster3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CGameTeamMaster::Use_) }, - //non-virtual func - //{ 0x0, "_ZN15CGameTeamMaster12RemoveOnFireEv", mfunc_ptr_cast(&CGameTeamMaster::RemoveOnFire) }, // NOXREF - //{ 0x0, "_ZN15CGameTeamMaster7AnyTeamEv", mfunc_ptr_cast(&CGameTeamMaster::AnyTeam) }, // NOXREF - //{ 0x01D89700, "_ZN15CGameTeamMaster9TeamMatchEP11CBaseEntity", mfunc_ptr_cast(&CGameTeamMaster::TeamMatch) }, // NOXREF -//CGameTeamSet - //virtual func - { 0x01D897A0, "_ZN12CGameTeamSet3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CGameTeamSet::Use_) }, - //non-virtual func - //{ 0x0, "_ZN12CGameTeamSet12RemoveOnFireEv", mfunc_ptr_cast(&CGameTeamSet::RemoveOnFire) }, // NOXREF - //{ 0x0, "_ZN12CGameTeamSet15ShouldClearTeamEv", mfunc_ptr_cast(&CGameTeamSet::ShouldClearTeam) }, // NOXREF -//CGamePlayerZone - //virtual func - { 0x01D898F0, "_ZN15CGamePlayerZone8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CGamePlayerZone::KeyValue_) }, - { 0x01D89850, "_ZN15CGamePlayerZone4SaveER5CSave", mfunc_ptr_cast(&CGamePlayerZone::Save_) }, - { 0x01D898A0, "_ZN15CGamePlayerZone7RestoreER8CRestore", mfunc_ptr_cast(&CGamePlayerZone::Restore_) }, - { 0x01D89A10, "_ZN15CGamePlayerZone3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CGamePlayerZone::Use_) }, -//CGamePlayerHurt - //virtual func - { 0x01D89BE0, "_ZN15CGamePlayerHurt3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CGamePlayerHurt::Use_) }, - //non-virtual func - //{ 0x0, "_ZN15CGamePlayerHurt12RemoveOnFireEv", mfunc_ptr_cast(&CGamePlayerHurt::RemoveOnFire) }, // NOXREF -//CGameCounter - //virtual func - { 0x01D89CD0, "_ZN12CGameCounter5SpawnEv", mfunc_ptr_cast(&CGameCounter::Spawn_) }, - { 0x01D89D30, "_ZN12CGameCounter3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CGameCounter::Use_) }, - //non-virtual func - //{ 0x0, "_ZN12CGameCounter12RemoveOnFireEv", mfunc_ptr_cast(&CGameCounter::RemoveOnFire) }, // NOXREF - //{ 0x0, "_ZN12CGameCounter11ResetOnFireEv", mfunc_ptr_cast(&CGameCounter::ResetOnFire) }, // NOXREF - //{ 0x0, "_ZN12CGameCounter7CountUpEv", mfunc_ptr_cast(&CGameCounter::CountUp) }, // NOXREF - //{ 0x0, "_ZN12CGameCounter9CountDownEv", mfunc_ptr_cast(&CGameCounter::CountDown) }, // NOXREF - //{ 0x0, "_ZN12CGameCounter10ResetCountEv", mfunc_ptr_cast(&CGameCounter::ResetCount) }, // NOXREF - //{ 0x0, "_ZN12CGameCounter10CountValueEv", mfunc_ptr_cast(&CGameCounter::CountValue) }, // NOXREF - //{ 0x0, "_ZN12CGameCounter10LimitValueEv", mfunc_ptr_cast(&CGameCounter::LimitValue) }, // NOXREF - //{ 0x0, "_ZN12CGameCounter8HitLimitEv", mfunc_ptr_cast(&CGameCounter::HitLimit) }, // NOXREF - //{ 0x0, "_ZN12CGameCounter13SetCountValueEi", mfunc_ptr_cast(&CGameCounter::SetCountValue) }, // NOXREF - //{ 0x0, "_ZN12CGameCounter15SetInitialValueEi", mfunc_ptr_cast(&CGameCounter::SetInitialValue) }, // NOXREF -//CGameCounterSet - //virtual func - { 0x01D89E70, "_ZN15CGameCounterSet3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CGameCounterSet::Use_) }, - //non-virtual func - //{ 0x0, "_ZN15CGameCounterSet12RemoveOnFireEv", mfunc_ptr_cast(&CGameCounterSet::RemoveOnFire) }, // NOXREF -//CGamePlayerEquip - //virtual func - { 0x01D89F10, "_ZN16CGamePlayerEquip8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CGamePlayerEquip::KeyValue_) }, - { 0x01D89FE0, "_ZN16CGamePlayerEquip5TouchEP11CBaseEntity", mfunc_ptr_cast(&CGamePlayerEquip::Touch_) }, - { 0x01D8A0D0, "_ZN16CGamePlayerEquip3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CGamePlayerEquip::Use_) }, - //non-virtual func - //{ 0x0, "_ZN16CGamePlayerEquip7UseOnlyEv", mfunc_ptr_cast(&CGamePlayerEquip::UseOnly) }, // NOXREF - //{ 0x01D8A070, "_ZN16CGamePlayerEquip11EquipPlayerEP11CBaseEntity", mfunc_ptr_cast(&CGamePlayerEquip::EquipPlayer) }, // NOXREF -//CGamePlayerTeam - //virtual func - { 0x01D8A1E0, "_ZN15CGamePlayerTeam3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CGamePlayerTeam::Use_) }, - //non-virtual func - //{ 0x0, "_ZN15CGamePlayerTeam12RemoveOnFireEv", mfunc_ptr_cast(&CGamePlayerTeam::RemoveOnFire) }, // NOXREF - //{ 0x0, "_ZN15CGamePlayerTeam16ShouldKillPlayerEv", mfunc_ptr_cast(&CGamePlayerTeam::ShouldKillPlayer) }, // NOXREF - //{ 0x0, "_ZN15CGamePlayerTeam15ShouldGibPlayerEv", mfunc_ptr_cast(&CGamePlayerTeam::ShouldGibPlayer) }, // NOXREF - //{ 0x01D8A180, "_ZN15CGamePlayerTeam14TargetTeamNameEPKc", mfunc_ptr_cast(&CGamePlayerTeam::TargetTeamName) }, // NOXREF - -#endif // MapRules_Region - -#ifndef HintMessage_Region - -//CHintMessage - //{ 0x0, "_ZNK12CHintMessage11GetDurationEv", mfunc_ptr_cast(&CHintMessage::GetDuration) }, // NOXREF - //{ 0x0, "_ZN12CHintMessage4SendER11CBaseEntity", mfunc_ptr_cast(&CHintMessage::Send) }, // NOXREF - -//CHintMessageQueue - { 0x01D86FC0, "_ZN17CHintMessageQueue5ResetEv", mfunc_ptr_cast(&CHintMessageQueue::Reset) }, - { 0x01D87050, "_ZN17CHintMessageQueue6UpdateER11CBaseEntity", mfunc_ptr_cast(&CHintMessageQueue::Update) }, - { 0x01D87120, "_ZN17CHintMessageQueue10AddMessageEPKcfbP10CUtlVectorIS1_E", mfunc_ptr_cast(&CHintMessageQueue::AddMessage) }, - //{ 0x0, "_ZN17CHintMessageQueue7IsEmptyEv", mfunc_ptr_cast(&CHintMessageQueue::IsEmpty) }, // NOXREF - -#endif // HintMessage_Region - -#ifndef Items_Region - -//CItem - //virtual func - { 0x01D87570, "_ZN5CItem5SpawnEv", mfunc_ptr_cast(&CItem::Spawn_) }, - { 0x01D876C0, "_ZN5CItem7RespawnEv", mfunc_ptr_cast(&CItem::Respawn_) }, - //{ 0x0, "_ZN5CItem7MyTouchEP11CBasePlayer", mfunc_ptr_cast(&CItem::MyTouch_) }, // NOXREF - //non-virtual func - { 0x01D87610, "_ZN5CItem9ItemTouchEP11CBaseEntity", mfunc_ptr_cast(&CItem::ItemTouch) }, - { 0x01D87730, "_ZN5CItem11MaterializeEv", mfunc_ptr_cast(&CItem::Materialize) }, -//CWorldItem - //virtual func - //{ 0x01D874A0, "_ZN10CWorldItem5SpawnEv", mfunc_ptr_cast(&CWorldItem::Spawn_) }, - //{ 0x01D87450, "_ZN10CWorldItem8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CWorldItem::KeyValue_) }, - //linked objects - //{ 0x01D87400, "world_items", (size_t)&world_items }, -//CItemSuit - //virtual func - //{ 0x01D877F0, "_ZN9CItemSuit5SpawnEv", mfunc_ptr_cast(&CItemSuit::Spawn_) }, - //{ 0x01D878B0, "_ZN9CItemSuit8PrecacheEv", mfunc_ptr_cast(&CItemSuit::Precache_) }, - //{ 0x01D878D0, "_ZN9CItemSuit7MyTouchEP11CBasePlayer", mfunc_ptr_cast(&CItemSuit::MyTouch_) }, - //linked objects - //{ 0x01D877A0, "item_suit", (size_t)&item_suit }, -//CItemBattery - //virtual func - { 0x01D87990, "_ZN12CItemBattery5SpawnEv", mfunc_ptr_cast(&CItemBattery::Spawn_) }, - { 0x01D87A50, "_ZN12CItemBattery8PrecacheEv", mfunc_ptr_cast(&CItemBattery::Precache_) }, - { 0x01D87A70, "_ZN12CItemBattery7MyTouchEP11CBasePlayer", mfunc_ptr_cast(&CItemBattery::MyTouch_) }, - //linked objects - { 0x01D87940, "item_battery", (size_t)&item_battery }, -//CItemAntidote - //virtual func - { 0x01D87C10, "_ZN13CItemAntidote5SpawnEv", mfunc_ptr_cast(&CItemAntidote::Spawn_) }, - { 0x01D87CD0, "_ZN13CItemAntidote8PrecacheEv", mfunc_ptr_cast(&CItemAntidote::Precache_) }, - { 0x01D87CE0, "_ZN13CItemAntidote7MyTouchEP11CBasePlayer", mfunc_ptr_cast(&CItemAntidote::MyTouch_) }, - //linked objects - { 0x01D87BC0, "item_antidote", (size_t)&item_antidote }, -//CItemSecurity - //virtual func - //{ 0x01D87D60, "_ZN13CItemSecurity5SpawnEv", mfunc_ptr_cast(&CItemSecurity::Spawn_) }, - //{ 0x01D87E20, "_ZN13CItemSecurity8PrecacheEv", mfunc_ptr_cast(&CItemSecurity::Precache_) }, - //{ 0x01D87E30, "_ZN13CItemSecurity7MyTouchEP11CBasePlayer", mfunc_ptr_cast(&CItemSecurity::MyTouch_) }, - //linked objects - //{ 0x01D87D10, "item_security", (size_t)&item_security }, -//CItemLongJump - //virtual func - { 0x01D87EA0, "_ZN13CItemLongJump5SpawnEv", mfunc_ptr_cast(&CItemLongJump::Spawn_) }, - { 0x01D87F60, "_ZN13CItemLongJump8PrecacheEv", mfunc_ptr_cast(&CItemLongJump::Precache_) }, - { 0x01D87F70, "_ZN13CItemLongJump7MyTouchEP11CBasePlayer", mfunc_ptr_cast(&CItemLongJump::MyTouch_) }, - //linked objects - { 0x01D87E50, "item_longjump", (size_t)&item_longjump }, -//CItemKevlar - //virtual func - { 0x01D88070, "_ZN11CItemKevlar5SpawnEv", mfunc_ptr_cast(&CItemKevlar::Spawn_) }, - { 0x01D88130, "_ZN11CItemKevlar8PrecacheEv", mfunc_ptr_cast(&CItemKevlar::Precache_) }, - { 0x01D88140, "_ZN11CItemKevlar7MyTouchEP11CBasePlayer", mfunc_ptr_cast(&CItemKevlar::MyTouch_) }, - //linked objects - { 0x01D88020, "item_kevlar", (size_t)&item_kevlar }, -//CItemAssaultSuit - //virtual func - { 0x01D88270, "_ZN16CItemAssaultSuit5SpawnEv", mfunc_ptr_cast(&CItemAssaultSuit::Spawn_) }, - { 0x01D88330, "_ZN16CItemAssaultSuit8PrecacheEv", mfunc_ptr_cast(&CItemAssaultSuit::Precache_) }, - { 0x01D88340, "_ZN16CItemAssaultSuit7MyTouchEP11CBasePlayer", mfunc_ptr_cast(&CItemAssaultSuit::MyTouch_) }, - //linked objects - { 0x01D88220, "item_assaultsuit", (size_t)&item_assaultsuit }, -//CItemThighPack - //virtual func - { 0x01D88460, "_ZN14CItemThighPack5SpawnEv", mfunc_ptr_cast(&CItemThighPack::Spawn_) }, - { 0x01D88520, "_ZN14CItemThighPack8PrecacheEv", mfunc_ptr_cast(&CItemThighPack::Precache_) }, - { 0x01D88530, "_ZN14CItemThighPack7MyTouchEP11CBasePlayer", mfunc_ptr_cast(&CItemThighPack::MyTouch_) }, - //linked objects - { 0x01D88410, "item_thighpack", (size_t)&item_thighpack }, - -#endif // Items_Region - -#ifndef Triggers_Region - -//CFrictionModifier - //virtual func - { 0x01DBD1A0, "_ZN17CFrictionModifier5SpawnEv", mfunc_ptr_cast(&CFrictionModifier::Spawn_) }, - { 0x01DBD220, "_ZN17CFrictionModifier8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CFrictionModifier::KeyValue_) }, - { 0x01DBD140, "_ZN17CFrictionModifier4SaveER5CSave", mfunc_ptr_cast(&CFrictionModifier::Save_) }, - { 0x01DBD170, "_ZN17CFrictionModifier7RestoreER8CRestore", mfunc_ptr_cast(&CFrictionModifier::Restore_) }, - //{ 0x01DBD130, "_ZN17CFrictionModifier10ObjectCapsEv", mfunc_ptr_cast(&CFrictionModifier::ObjectCaps_) }, // DEFAULT - //non-virtual func - { 0x01DBD1F0, "_ZN17CFrictionModifier14ChangeFrictionEP11CBaseEntity", mfunc_ptr_cast(&CFrictionModifier::ChangeFriction) }, -//CAutoTrigger - //virtual func - { 0x01DBD400, "_ZN12CAutoTrigger5SpawnEv", mfunc_ptr_cast(&CAutoTrigger::Spawn_) }, - { 0x01DBD410, "_ZN12CAutoTrigger8PrecacheEv", mfunc_ptr_cast(&CAutoTrigger::Precache_) }, - { 0x01DBD340, "_ZN12CAutoTrigger8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CAutoTrigger::KeyValue_) }, - //{ 0x01DBD2D0, "_ZN12CAutoTrigger10ObjectCapsEv", mfunc_ptr_cast(&CAutoTrigger::ObjectCaps_) }, // DEFAULT - { 0x01DBD2E0, "_ZN12CAutoTrigger4SaveER5CSave", mfunc_ptr_cast(&CAutoTrigger::Save_) }, - { 0x01DBD310, "_ZN12CAutoTrigger7RestoreER8CRestore", mfunc_ptr_cast(&CAutoTrigger::Restore_) }, - { 0x01DBD430, "_ZN12CAutoTrigger5ThinkEv", mfunc_ptr_cast(&CAutoTrigger::Think_) }, -//CTriggerRelay - //virtual func - { 0x01DBD5C0, "_ZN13CTriggerRelay5SpawnEv", mfunc_ptr_cast(&CTriggerRelay::Spawn_) }, - { 0x01DBD540, "_ZN13CTriggerRelay8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CTriggerRelay::KeyValue_) }, - { 0x01DBD4E0, "_ZN13CTriggerRelay4SaveER5CSave", mfunc_ptr_cast(&CTriggerRelay::Save_) }, - { 0x01DBD510, "_ZN13CTriggerRelay7RestoreER8CRestore", mfunc_ptr_cast(&CTriggerRelay::Restore_) }, - //{ 0x01DBD4D0, "_ZN13CTriggerRelay10ObjectCapsEv", mfunc_ptr_cast(&CTriggerRelay::ObjectCaps_) }, // DEFAULT - { 0x01DBD5D0, "_ZN13CTriggerRelay3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CTriggerRelay::Use_) }, -//CMultiManager - //virtual func - { 0x01DBD780, "_ZN13CMultiManager5SpawnEv", mfunc_ptr_cast(&CMultiManager::Spawn_) }, - { 0x01DBD7F0, "_ZN13CMultiManager7RestartEv", mfunc_ptr_cast(&CMultiManager::Restart_) }, - { 0x01DBD6C0, "_ZN13CMultiManager8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CMultiManager::KeyValue_) }, - { 0x01DBD660, "_ZN13CMultiManager4SaveER5CSave", mfunc_ptr_cast(&CMultiManager::Save_) }, - { 0x01DBD690, "_ZN13CMultiManager7RestoreER8CRestore", mfunc_ptr_cast(&CMultiManager::Restore_) }, - //{ 0x01DBD650, "_ZN13CMultiManager10ObjectCapsEv", mfunc_ptr_cast(&CMultiManager::ObjectCaps_) }, // DEFAULT - { 0x01DBD8A0, "_ZN13CMultiManager9HasTargetEj", mfunc_ptr_cast(&CMultiManager::HasTarget_) }, - //non-virtual func - { 0x01DBD930, "_ZN13CMultiManager12ManagerThinkEv", mfunc_ptr_cast(&CMultiManager::ManagerThink) }, - { 0x01DBDAD0, "_ZN13CMultiManager10ManagerUseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CMultiManager::ManagerUse) }, - //{ 0x01DBDA10, "_ZN13CMultiManager5CloneEv", mfunc_ptr_cast(&CMultiManager::Clone) }, // NOXREF -//CRenderFxManager - //virtual func - { 0x01DBDC40, "_ZN16CRenderFxManager5SpawnEv", mfunc_ptr_cast(&CRenderFxManager::Spawn_) }, - { 0x01DBDC50, "_ZN16CRenderFxManager3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CRenderFxManager::Use_) }, -//CBaseTrigger - //virtual func - { 0x01DBDE40, "_ZN12CBaseTrigger8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CBaseTrigger::KeyValue_) }, - //{ 0x01DBDD80, "_ZN12CBaseTrigger10ObjectCapsEv", mfunc_ptr_cast(&CBaseTrigger::ObjectCaps_) }, // DEFAULT - //non-virtual func - //{ 0x01DBDD90, "_ZN12CBaseTrigger11InitTriggerEv", mfunc_ptr_cast(&CBaseTrigger::InitTrigger) }, // NOXREF - { 0x01DC06D0, "_ZN12CBaseTrigger13TeleportTouchEP11CBaseEntity", mfunc_ptr_cast(&CBaseTrigger::TeleportTouch) }, - { 0x01DBF070, "_ZN12CBaseTrigger10MultiTouchEP11CBaseEntity", mfunc_ptr_cast(&CBaseTrigger::MultiTouch) }, - { 0x01DBEC40, "_ZN12CBaseTrigger9HurtTouchEP11CBaseEntity", mfunc_ptr_cast(&CBaseTrigger::HurtTouch) }, - //{ 0x0, "_ZN12CBaseTrigger12CDAudioTouchEP11CBaseEntity", mfunc_ptr_cast(&CBaseTrigger::CDAudioTouch) }, // NOXREF - { 0x01DBF0E0, "_ZN12CBaseTrigger20ActivateMultiTriggerEP11CBaseEntity", mfunc_ptr_cast(&CBaseTrigger::ActivateMultiTrigger) }, - { 0x01DBF290, "_ZN12CBaseTrigger13MultiWaitOverEv", mfunc_ptr_cast(&CBaseTrigger::MultiWaitOver) }, - { 0x01DBF2A0, "_ZN12CBaseTrigger10CounterUseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CBaseTrigger::CounterUse) }, - { 0x01DBEBE0, "_ZN12CBaseTrigger9ToggleUseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CBaseTrigger::ToggleUse) }, -//CTriggerHurt - //virtual func - { 0x01DBE810, "_ZN12CTriggerHurt5SpawnEv", mfunc_ptr_cast(&CTriggerHurt::Spawn_) }, - //non-virtual func - { 0x01DBE940, "_ZN12CTriggerHurt14RadiationThinkEv", mfunc_ptr_cast(&CTriggerHurt::RadiationThink) }, -//CTriggerMonsterJump - //virtual func - { 0x01DBDFA0, "_ZN19CTriggerMonsterJump5SpawnEv", mfunc_ptr_cast(&CTriggerMonsterJump::Spawn_) }, - { 0x01DBE0B0, "_ZN19CTriggerMonsterJump5ThinkEv", mfunc_ptr_cast(&CTriggerMonsterJump::Think_) }, - { 0x01DBE0E0, "_ZN19CTriggerMonsterJump5TouchEP11CBaseEntity", mfunc_ptr_cast(&CTriggerMonsterJump::Touch_) }, -//CTriggerCDAudio - //virtual func - { 0x01DBE270, "_ZN15CTriggerCDAudio5SpawnEv", mfunc_ptr_cast(&CTriggerCDAudio::Spawn_) }, - { 0x01DBE1C0, "_ZN15CTriggerCDAudio5TouchEP11CBaseEntity", mfunc_ptr_cast(&CTriggerCDAudio::Touch_) }, - { 0x01DBE320, "_ZN15CTriggerCDAudio3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CTriggerCDAudio::Use_) }, - //non-virtual func - //{ 0x01DBE430, "_ZN15CTriggerCDAudio9PlayTrackEv", mfunc_ptr_cast(&CTriggerCDAudio::PlayTrack) }, // NOXREF - //{ 0x01DBE3B0, "_Z11PlayCDTracki", (size_t)&PlayCDTrack }, // NOXREF -//CTargetCDAudio - //virtual func - { 0x01DBE560, "_ZN14CTargetCDAudio5SpawnEv", mfunc_ptr_cast(&CTargetCDAudio::Spawn_) }, - { 0x01DBE510, "_ZN14CTargetCDAudio8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CTargetCDAudio::KeyValue_) }, - { 0x01DBE640, "_ZN14CTargetCDAudio5ThinkEv", mfunc_ptr_cast(&CTargetCDAudio::Think_) }, - { 0x01DBE5A0, "_ZN14CTargetCDAudio3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CTargetCDAudio::Use_) }, - //non-virtual func - //{ 0x01DBE760, "_ZN14CTargetCDAudio4PlayEv", mfunc_ptr_cast(&CTargetCDAudio::Play) }, // NOXREF -//CTriggerMultiple - //virtual func - { 0x01DBEE90, "_ZN16CTriggerMultiple5SpawnEv", mfunc_ptr_cast(&CTriggerMultiple::Spawn_) }, -//CTriggerOnce - //virtual func - { 0x01DBEFB0, "_ZN12CTriggerOnce5SpawnEv", mfunc_ptr_cast(&CTriggerOnce::Spawn_) }, -//CTriggerCounter - //virtual func - { 0x01DBF410, "_ZN15CTriggerCounter5SpawnEv", mfunc_ptr_cast(&CTriggerCounter::Spawn_) }, -//CTriggerVolume - //virtual func - { 0x01DBF490, "_ZN14CTriggerVolume5SpawnEv", mfunc_ptr_cast(&CTriggerVolume::Spawn_) }, -//CFireAndDie - //virtual func - { 0x01DBF550, "_ZN11CFireAndDie5SpawnEv", mfunc_ptr_cast(&CFireAndDie::Spawn_) }, - { 0x01DBF5B0, "_ZN11CFireAndDie8PrecacheEv", mfunc_ptr_cast(&CFireAndDie::Precache_) }, - //{ 0x01DBF540, "_ZN11CFireAndDie10ObjectCapsEv", mfunc_ptr_cast(&CFireAndDie::ObjectCaps_) }, // DEFAULT - { 0x01DBF5D0, "_ZN11CFireAndDie5ThinkEv", mfunc_ptr_cast(&CFireAndDie::Think_) }, -//CChangeLevel - //virtual func - { 0x01DBF7E0, "_ZN12CChangeLevel5SpawnEv", mfunc_ptr_cast(&CChangeLevel::Spawn_) }, - { 0x01DBF6A0, "_ZN12CChangeLevel8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CChangeLevel::KeyValue_) }, - { 0x01DBF640, "_ZN12CChangeLevel4SaveER5CSave", mfunc_ptr_cast(&CChangeLevel::Save_) }, - { 0x01DBF670, "_ZN12CChangeLevel7RestoreER8CRestore", mfunc_ptr_cast(&CChangeLevel::Restore_) }, - //non-virtual func - { 0x01DBFD80, "_Z15BuildChangeListP9LEVELLISTi", (size_t)&BuildChangeList }, - //{ 0x01DC0150, "_Z9NextLevelv", (size_t)&NextLevel }, // NOXREF - { 0x01DBFA10, "_ZN12CChangeLevel14UseChangeLevelEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CChangeLevel::UseChangeLevel) }, - //{ 0x0, "_ZN12CChangeLevel18TriggerChangeLevelEv", mfunc_ptr_cast(&CChangeLevel::TriggerChangeLevel) }, // NOXREF - { 0x01DBF950, "_ZN12CChangeLevel18ExecuteChangeLevelEv", mfunc_ptr_cast(&CChangeLevel::ExecuteChangeLevel) }, - { 0x01DBFC60, "_ZN12CChangeLevel16TouchChangeLevelEP11CBaseEntity", mfunc_ptr_cast(&CChangeLevel::TouchChangeLevel) }, - { 0x01DBFA20, "_ZN12CChangeLevel14ChangeLevelNowEP11CBaseEntity", mfunc_ptr_cast(&CChangeLevel::ChangeLevelNow) }, - //{ 0x01DBF990, "_ZN12CChangeLevel12FindLandmarkEPKc", mfunc_ptr_cast(&CChangeLevel::FindLandmark) }, // NOXREF - { 0x01DBFE50, "_ZN12CChangeLevel10ChangeListEP9LEVELLISTi", mfunc_ptr_cast(&CChangeLevel::ChangeList) }, - { 0x01DBFCA0, "_ZN12CChangeLevel19AddTransitionToListEP9LEVELLISTiPKcS3_P7edict_s", mfunc_ptr_cast(&CChangeLevel::AddTransitionToList) }, - { 0x01DBFD90, "_ZN12CChangeLevel18InTransitionVolumeEP11CBaseEntityPc", mfunc_ptr_cast(&CChangeLevel::InTransitionVolume) }, -//CLadder - //virtual func - { 0x01DC0370, "_ZN7CLadder5SpawnEv", mfunc_ptr_cast(&CLadder::Spawn_) }, - { 0x01DC0300, "_ZN7CLadder8PrecacheEv", mfunc_ptr_cast(&CLadder::Precache_) }, - { 0x01DC02F0, "_ZN7CLadder8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CLadder::KeyValue_) }, -//CTriggerPush - //virtual func - { 0x01DC0420, "_ZN12CTriggerPush5SpawnEv", mfunc_ptr_cast(&CTriggerPush::Spawn_) }, - { 0x01DC0410, "_ZN12CTriggerPush8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CTriggerPush::KeyValue_) }, - { 0x01DC0560, "_ZN12CTriggerPush5TouchEP11CBaseEntity", mfunc_ptr_cast(&CTriggerPush::Touch_) }, -//CTriggerTeleport - //virtual func - { 0x01DC08B0, "_ZN16CTriggerTeleport5SpawnEv", mfunc_ptr_cast(&CTriggerTeleport::Spawn_) }, -//CBuyZone - //virtual func - { 0x01DC0A10, "_ZN8CBuyZone5SpawnEv", mfunc_ptr_cast(&CBuyZone::Spawn_) }, - //non-virtual func - { 0x01DC0B00, "_ZN8CBuyZone8BuyTouchEP11CBaseEntity", mfunc_ptr_cast(&CBuyZone::BuyTouch) }, -//CBombTarget - //virtual func - { 0x01DC0B90, "_ZN11CBombTarget5SpawnEv", mfunc_ptr_cast(&CBombTarget::Spawn_) }, - //non-virtual func - { 0x01DC0C50, "_ZN11CBombTarget15BombTargetTouchEP11CBaseEntity", mfunc_ptr_cast(&CBombTarget::BombTargetTouch) }, - { 0x01DC0CA0, "_ZN11CBombTarget13BombTargetUseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CBombTarget::BombTargetUse) }, -//CHostageRescue - //virtual func - { 0x01DC0D00, "_ZN14CHostageRescue5SpawnEv", mfunc_ptr_cast(&CHostageRescue::Spawn_) }, - //non-virtual func - { 0x01DC0DC0, "_ZN14CHostageRescue18HostageRescueTouchEP11CBaseEntity", mfunc_ptr_cast(&CHostageRescue::HostageRescueTouch) }, -//CEscapeZone - //virtual func - { 0x01DC0E70, "_ZN11CEscapeZone5SpawnEv", mfunc_ptr_cast(&CEscapeZone::Spawn_) }, - //non-virtual func - { 0x01DC0F30, "_ZN11CEscapeZone11EscapeTouchEP11CBaseEntity", mfunc_ptr_cast(&CEscapeZone::EscapeTouch) }, -//CVIP_SafetyZone - //virtual func - { 0x01DC10A0, "_ZN15CVIP_SafetyZone5SpawnEv", mfunc_ptr_cast(&CVIP_SafetyZone::Spawn_) }, - //non-virtual func - { 0x01DC1160, "_ZN15CVIP_SafetyZone15VIP_SafetyTouchEP11CBaseEntity", mfunc_ptr_cast(&CVIP_SafetyZone::VIP_SafetyTouch) }, -//CTriggerSave - //virtual func - { 0x01DC1240, "_ZN12CTriggerSave5SpawnEv", mfunc_ptr_cast(&CTriggerSave::Spawn_) }, - //non-virtual func - { 0x01DC1320, "_ZN12CTriggerSave9SaveTouchEP11CBaseEntity", mfunc_ptr_cast(&CTriggerSave::SaveTouch) }, -//CTriggerEndSection - //virtual func - { 0x01DC1410, "_ZN18CTriggerEndSection5SpawnEv", mfunc_ptr_cast(&CTriggerEndSection::Spawn_) }, - { 0x01DC1550, "_ZN18CTriggerEndSection8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CTriggerEndSection::KeyValue_) }, - //non-virtual func - { 0x01DC13C0, "_ZN18CTriggerEndSection15EndSectionTouchEP11CBaseEntity", mfunc_ptr_cast(&CTriggerEndSection::EndSectionTouch) }, - { 0x01DC1500, "_ZN18CTriggerEndSection13EndSectionUseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CTriggerEndSection::EndSectionUse) }, -//CTriggerGravity - //virtual func - { 0x01DC15F0, "_ZN15CTriggerGravity5SpawnEv", mfunc_ptr_cast(&CTriggerGravity::Spawn_) }, - //non-virtual func - { 0x01DC16B0, "_ZN15CTriggerGravity12GravityTouchEP11CBaseEntity", mfunc_ptr_cast(&CTriggerGravity::GravityTouch) }, -//CTriggerChangeTarget - //virtual func - { 0x01DC17F0, "_ZN20CTriggerChangeTarget5SpawnEv", mfunc_ptr_cast(&CTriggerChangeTarget::Spawn_) }, - { 0x01DC17A0, "_ZN20CTriggerChangeTarget8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CTriggerChangeTarget::KeyValue_) }, - { 0x01DC1740, "_ZN20CTriggerChangeTarget4SaveER5CSave", mfunc_ptr_cast(&CTriggerChangeTarget::Save_) }, - { 0x01DC1770, "_ZN20CTriggerChangeTarget7RestoreER8CRestore", mfunc_ptr_cast(&CTriggerChangeTarget::Restore_) }, - //{ 0x01DC1730, "_ZN20CTriggerChangeTarget10ObjectCapsEv", mfunc_ptr_cast(&CTriggerChangeTarget::ObjectCaps_) }, // DEFAULT - { 0x01DC1800, "_ZN20CTriggerChangeTarget3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CTriggerChangeTarget::Use_) }, -//CTriggerCamera - //virtual func - { 0x01DC1920, "_ZN14CTriggerCamera5SpawnEv", mfunc_ptr_cast(&CTriggerCamera::Spawn_) }, - { 0x01DC19A0, "_ZN14CTriggerCamera8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CTriggerCamera::KeyValue_) }, - { 0x01DC18C0, "_ZN14CTriggerCamera4SaveER5CSave", mfunc_ptr_cast(&CTriggerCamera::Save_) }, - { 0x01DC18F0, "_ZN14CTriggerCamera7RestoreER8CRestore", mfunc_ptr_cast(&CTriggerCamera::Restore_) }, - //{ 0x01DC18B0, "_ZN14CTriggerCamera10ObjectCapsEv", mfunc_ptr_cast(&CTriggerCamera::ObjectCaps_) }, // DEFAULT - { 0x01DC1A90, "_ZN14CTriggerCamera3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CTriggerCamera::Use_) }, - //non-virtual func - { 0x01DC1DC0, "_ZN14CTriggerCamera12FollowTargetEv", mfunc_ptr_cast(&CTriggerCamera::FollowTarget) }, - { 0x01DC20A0, "_ZN14CTriggerCamera4MoveEv", mfunc_ptr_cast(&CTriggerCamera::Move) }, -//CWeather - //virtual func - { 0x01DC2490, "_ZN8CWeather5SpawnEv", mfunc_ptr_cast(&CWeather::Spawn_) }, -//CClientFog - //virtual func - { 0x01DC25E0, "_ZN10CClientFog5SpawnEv", mfunc_ptr_cast(&CClientFog::Spawn_) }, - { 0x01DC2560, "_ZN10CClientFog8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CClientFog::KeyValue_) }, - -//linked objects - { 0x01DBD0E0, "func_friction", (size_t)&func_friction }, - { 0x01DBD280, "trigger_auto", (size_t)&trigger_auto }, - { 0x01DBD480, "trigger_relay", (size_t)&trigger_relay }, - { 0x01DBD600, "multi_manager", (size_t)&multi_manager }, - { 0x01DBDBF0, "env_render", (size_t)&env_render }, - { 0x01DBDD30, "trigger", (size_t)&trigger }, - { 0x01DBDF00, "trigger_hurt", (size_t)&trigger_hurt }, - { 0x01DBDF50, "trigger_monsterjump", (size_t)&trigger_monsterjump }, - { 0x01DBE170, "trigger_cdaudio", (size_t)&trigger_cdaudio }, - { 0x01DBE4C0, "target_cdaudio", (size_t)&target_cdaudio }, - { 0x01DBEE40, "trigger_multiple", (size_t)&trigger_multiple }, - { 0x01DBEF60, "trigger_once", (size_t)&trigger_once }, - { 0x01DBF3C0, "trigger_counter", (size_t)&trigger_counter }, - { 0x01DBF440, "trigger_transition", (size_t)&trigger_transition }, - { 0x01DBF4F0, "fireanddie", (size_t)&fireanddie }, - { 0x01DBF5F0, "trigger_changelevel", (size_t)&trigger_changelevel }, - { 0x01DC02A0, "func_ladder", (size_t)&func_ladder }, - { 0x01DC03C0, "trigger_push", (size_t)&trigger_push }, - { 0x01DC0860, "trigger_teleport", (size_t)&trigger_teleport }, - { 0x01DC0970, "info_teleport_destination", (size_t)&info_teleport_destination }, - { 0x01DC09C0, "func_buyzone", (size_t)&func_buyzone }, - { 0x01DC0B40, "func_bomb_target", (size_t)&func_bomb_target }, - { 0x01DC0CB0, "func_hostage_rescue", (size_t)&func_hostage_rescue }, - { 0x01DC0E20, "func_escapezone", (size_t)&func_escapezone }, - { 0x01DC1050, "func_vip_safetyzone", (size_t)&func_vip_safetyzone }, - { 0x01DC11F0, "trigger_autosave", (size_t)&trigger_autosave }, - { 0x01DC1370, "trigger_endsection", (size_t)&trigger_endsection }, - { 0x01DC15A0, "trigger_gravity", (size_t)&trigger_gravity }, - { 0x01DC16E0, "trigger_changetarget", (size_t)&trigger_changetarget }, - { 0x01DC1860, "trigger_camera", (size_t)&trigger_camera }, - { 0x01DC2350, "env_snow", (size_t)&env_snow }, - { 0x01DC23A0, "func_snow", (size_t)&func_snow }, - { 0x01DC23F0, "env_rain", (size_t)&env_rain }, - { 0x01DC2440, "func_rain", (size_t)&func_rain }, - { 0x01DC2610, "env_fog", (size_t)&env_fog }, - -#endif // Triggers_Region - -#ifndef SharedUtil_Region - -#ifdef _WIN32 - { 0x01D50CA0, "", (size_t)&CloneString }, -#endif // _WIN32 - - //{ 0x01D58EE0, "_Z14SharedWVarArgsPwz", (size_t)&SharedWVarArgs }, // NOXREF - { 0x01D58F30, "_Z13SharedVarArgsPcz", (size_t)&SharedVarArgs }, - { 0x01D58F80, "_Z9BufPrintfPcRiPKcz", (size_t)&BufPrintf }, - //{ 0x01D58FD0, "_Z10BufWPrintfPwRiPKwz", (size_t)&BufWPrintf }, // NOXREF - //{ 0x01D59010, "_Z12NumAsWStringi", (size_t)&NumAsWString }, // NOXREF - { 0x01D59060, "_Z11NumAsStringi", (size_t)&NumAsString }, - { 0x01D590B0, "_Z14SharedGetTokenv", (size_t)&SharedGetToken }, - //{ 0x01D590C0, "_Z18SharedSetQuoteCharc", (size_t)&SharedSetQuoteChar }, // NOXREF - { 0x01D590D0, "_Z11SharedParsePKc", (size_t)&SharedParse }, - //{ 0x01D591B0, "_Z18SharedTokenWaitingPKc", (size_t)&SharedTokenWaiting }, // NOXREF - -#endif // SharedUtil_Region - -#ifndef World_Region - - //virtual func - //{ 0x01DD1750, "_ZN7CCorpse10ObjectCapsEv", mfunc_ptr_cast(&CCorpse::ObjectCaps_) }, // DEFAULT - //non-virtual func - //{ 0x01DD1420, "_ZN6CDecal5SpawnEv", mfunc_ptr_cast(&CDecal::Spawn_) }, // DEFAULT - //{ 0x01DD15C0, "_ZN6CDecal11StaticDecalEv", mfunc_ptr_cast(&CDecal::StaticDecal) }, // DEFAULT - //{ 0x01DD1490, "_ZN6CDecal12TriggerDecalEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CDecal::TriggerDecal) }, // DEFAULT - //{ 0x01DD1690, "_ZN6CDecal8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CDecal::KeyValue_) }, // DEFAULT - //{ 0x01DD1760, "_Z13CopyToBodyQueP9entvars_s", (size_t)&CopyToBodyQue }, // PURE - //{ 0x01DD1770, "_Z12ClearBodyQuev", (size_t)&ClearBodyQue }, // NOXREF - //{ 0x01DD1780, "_ZN12CGlobalStateC2Ev", mfunc_ptr_cast(&CGlobalState__CGlobalState) }, - //{ 0x01DD1790, "_ZN12CGlobalState5ResetEv", mfunc_ptr_cast(&CGlobalState::Reset) }, // NOXREF - //{ 0x01DD17A0, "_ZN12CGlobalState4FindEj", mfunc_ptr_cast(&CGlobalState::Find) }, // PRIVATE - { 0x01DD1810, "_ZN12CGlobalState11DumpGlobalsEv", mfunc_ptr_cast(&CGlobalState::DumpGlobals) }, - { 0x01DD1860, "_ZN12CGlobalState9EntityAddEjj12GLOBALESTATE", mfunc_ptr_cast(&CGlobalState::EntityAdd) }, - { 0x01DD18D0, "_ZN12CGlobalState14EntitySetStateEj12GLOBALESTATE", mfunc_ptr_cast(&CGlobalState::EntitySetState) }, - { 0x01DD1950, "_ZN12CGlobalState15EntityFromTableEj", mfunc_ptr_cast(&CGlobalState::EntityFromTable) }, - { 0x01DD19C0, "_ZN12CGlobalState14EntityGetStateEj", mfunc_ptr_cast(&CGlobalState::EntityGetState) }, - //{ 0x01DD1A40, "_ZN12CGlobalState4SaveER5CSave", mfunc_ptr_cast(&CGlobalState::Save) }, // NOXREF - //{ 0x01DD1AB0, "_ZN12CGlobalState7RestoreER8CRestore", mfunc_ptr_cast(&CGlobalState::Restore) }, // NOXREF - { 0x01DD1BD0, "_ZN12CGlobalState12EntityUpdateEjj", mfunc_ptr_cast(&CGlobalState::EntityUpdate) }, - //{ 0x01DD1C50, "_ZN12CGlobalState11ClearStatesEv", mfunc_ptr_cast(&CGlobalState::ClearStates) }, // NOXREF - { 0x01DD1C80, "_Z15SaveGlobalStateP13saverestore_s", (size_t)&SaveGlobalState }, - { 0x01DD1D00, "_Z18RestoreGlobalStateP13saverestore_s", (size_t)&RestoreGlobalState }, - { 0x01DD1E50, "_Z16ResetGlobalStatev", (size_t)&ResetGlobalState }, -//linked objects - { 0x01DD13D0, "infodecal", (size_t)&infodecal }, - { 0x01DD1700, "bodyque", (size_t)&bodyque }, - { 0x01DD1E90, "worldspawn", (size_t)&worldspawn }, - -#endif // World_Region - -#ifndef Graph_Region - - //{ 0x01D8AB70, "_ZN6CGraph9InitGraphEv", mfunc_ptr_cast(&CGraph::InitGraph) }, // pure - //{ 0x01D8AB90, "_ZN6CGraph10AllocNodesEv", mfunc_ptr_cast(&CGraph::AllocNodes) }, // pure - //{ 0x01D8ABA0, "_ZN6CGraph12CheckNODFileEPc", mfunc_ptr_cast(&CGraph::CheckNODFile) }, // pure - //{ 0x01D8AB80, "_ZN6CGraph10FLoadGraphEPc", mfunc_ptr_cast(&CGraph::FLoadGraph) }, // pure - //{ 0x01D8ABB0, "_ZN6CGraph17FSetGraphPointersEv", mfunc_ptr_cast(&CGraph::FSetGraphPointers) }, // pure - //{ 0x01D8ABC0, "_ZN6CGraph19ShowNodeConnectionsEi", mfunc_ptr_cast(&CGraph::ShowNodeConnections) }, // pure - //{ 0x0, "_ZN6CGraph15FindNearestNodeERK6VectorP11CBaseEntity", mfunc_ptr_cast(&CGraph::FindNearestNode) }, // pure - //{ 0x01D8ABD0, "_ZN6CGraph15FindNearestNodeERK6Vectori", mfunc_ptr_cast(&CGraph::FindNearestNode) }, // pure - -#endif // Graph_Region - -#ifndef SoundEnt_Region - -//CSound - //non-virtual func - //{ 0x01DBA520, "_ZN6CSound5ClearEv", mfunc_ptr_cast(&CSound::Clear) }, // NOXREF - { 0x01DBA560, "_ZN6CSound5ResetEv", mfunc_ptr_cast(&CSound::Reset) }, - //{ 0x01DBA590, "_ZN6CSound8FIsSoundEv", mfunc_ptr_cast(&CSound::FIsSound) }, // NOXREF - //{ 0x01DBA5A0, "_ZN6CSound8FIsScentEv", mfunc_ptr_cast(&CSound::FIsScent) }, // NOXREF - //linked objects - { 0x01DBA4D0, "soundent", (size_t)&soundent }, -//CSoundEnt - //virtual func - { 0x01DBA5B0, "_ZN9CSoundEnt5SpawnEv", mfunc_ptr_cast(&CSoundEnt::Spawn_) }, - { 0x01DBA760, "_ZN9CSoundEnt8PrecacheEv", mfunc_ptr_cast(&CSoundEnt::Precache_) }, - //{ 0x01DBAB10, "_ZN9CSoundEnt10ObjectCapsEv", mfunc_ptr_cast(&CSoundEnt::ObjectCaps_) }, // DEFAULT - { 0x01DBA5E0, "_ZN9CSoundEnt5ThinkEv", mfunc_ptr_cast(&CSoundEnt::Think_) }, - //non-virtual func - { 0x01DBA8F0, "_ZN9CSoundEnt10InitializeEv", mfunc_ptr_cast(&CSoundEnt::Initialize) }, - { 0x01DBA820, "_ZN9CSoundEnt11InsertSoundEiRK6Vectorif", mfunc_ptr_cast(&CSoundEnt::InsertSound) }, - //{ 0x01DBA770, "_ZN9CSoundEnt9FreeSoundEii", mfunc_ptr_cast(&CSoundEnt::FreeSound) }, // NOXREF - //{ 0x01DBAA70, "_ZN9CSoundEnt10ActiveListEv", mfunc_ptr_cast(&CSoundEnt::ActiveList) }, // NOXREF - //{ 0x01DBAA90, "_ZN9CSoundEnt8FreeListEv", mfunc_ptr_cast(&CSoundEnt::FreeList) }, // NOXREF - { 0x01DBAAB0, "_ZN9CSoundEnt20SoundPointerForIndexEi", mfunc_ptr_cast(&CSoundEnt::SoundPointerForIndex) }, - { 0x01DBAB00, "_ZN9CSoundEnt16ClientSoundIndexEP7edict_s", mfunc_ptr_cast(&CSoundEnt::ClientSoundIndex) }, - //{ 0x0, "_ZN9CSoundEnt7IsEmptyEv", mfunc_ptr_cast(&CSoundEnt::IsEmpty) }, // NOXREF - //{ 0x01DBAA20, "_ZN9CSoundEnt13ISoundsInListEi", mfunc_ptr_cast(&CSoundEnt::ISoundsInList) }, // NOXREF - //{ 0x01DBA7D0, "_ZN9CSoundEnt11IAllocSoundEv", mfunc_ptr_cast(&CSoundEnt::IAllocSound) }, // NOXREF - -#endif // SoundEnt_Region - -#ifndef Sound_Region - -//CAmbientGeneric - //virtual func - { 0x01DB6CF0, "_ZN15CAmbientGeneric5SpawnEv", mfunc_ptr_cast(&CAmbientGeneric::Spawn_) }, - { 0x01DB6F90, "_ZN15CAmbientGeneric8PrecacheEv", mfunc_ptr_cast(&CAmbientGeneric::Precache_) }, - { 0x01DB6E00, "_ZN15CAmbientGeneric7RestartEv", mfunc_ptr_cast(&CAmbientGeneric::Restart_) }, - { 0x01DB7900, "_ZN15CAmbientGeneric8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CAmbientGeneric::KeyValue_) }, - { 0x01DB6C90, "_ZN15CAmbientGeneric4SaveER5CSave", mfunc_ptr_cast(&CAmbientGeneric::Save_) }, - { 0x01DB6CC0, "_ZN15CAmbientGeneric7RestoreER8CRestore", mfunc_ptr_cast(&CAmbientGeneric::Restore_) }, - //{ 0x01DB6C80, "_ZN15CAmbientGeneric10ObjectCapsEv", mfunc_ptr_cast(&CAmbientGeneric::ObjectCaps_) }, // DEFAULT - //non-virtual func - { 0x01DB7060, "_ZN15CAmbientGeneric9RampThinkEv", mfunc_ptr_cast(&CAmbientGeneric::RampThink) }, - { 0x01DB7440, "_ZN15CAmbientGeneric19InitModulationParmsEv", mfunc_ptr_cast(&CAmbientGeneric::InitModulationParms) }, - { 0x01DB76A0, "_ZN15CAmbientGeneric9ToggleUseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CAmbientGeneric::ToggleUse) }, -//CEnvSound - //virtual func - { 0x01DB8270, "_ZN9CEnvSound5SpawnEv", mfunc_ptr_cast(&CEnvSound::Spawn_) }, - { 0x01DB7EC0, "_ZN9CEnvSound8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CEnvSound::KeyValue_) }, - { 0x01DB7E60, "_ZN9CEnvSound4SaveER5CSave", mfunc_ptr_cast(&CEnvSound::Save_) }, - { 0x01DB7E90, "_ZN9CEnvSound7RestoreER8CRestore", mfunc_ptr_cast(&CEnvSound::Restore_) }, - { 0x01DB8090, "_ZN9CEnvSound5ThinkEv", mfunc_ptr_cast(&CEnvSound::Think_) }, -//CSpeaker - //virtual func - { 0x01DB9FD0, "_ZN8CSpeaker5SpawnEv", mfunc_ptr_cast(&CSpeaker::Spawn_) }, - { 0x01DBA090, "_ZN8CSpeaker8PrecacheEv", mfunc_ptr_cast(&CSpeaker::Precache_) }, - { 0x01DBA480, "_ZN8CSpeaker8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CSpeaker::KeyValue_) }, - { 0x01DB9F70, "_ZN8CSpeaker4SaveER5CSave", mfunc_ptr_cast(&CSpeaker::Save_) }, - { 0x01DB9FA0, "_ZN8CSpeaker7RestoreER8CRestore", mfunc_ptr_cast(&CSpeaker::Restore_) }, - //{ 0x01DB9F60, "_ZN8CSpeaker10ObjectCapsEv", mfunc_ptr_cast(&CSpeaker::ObjectCaps_) }, // DEFAULT - //non-virtual func - { 0x01DBA3F0, "_ZN8CSpeaker9ToggleUseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CSpeaker::ToggleUse) }, - { 0x01DBA0D0, "_ZN8CSpeaker12SpeakerThinkEv", mfunc_ptr_cast(&CSpeaker::SpeakerThink) }, - //non-class func - { 0x01DB7F30, "_Z16FEnvSoundInRangeP9entvars_sS0_Pf", (size_t)&FEnvSoundInRange }, - //{ 0x01DB82A0, "_Z18USENTENCEG_InitLRUPhi", (size_t)&USENTENCEG_InitLRU }, // NOXREF - { 0x01DB8310, "_Z25USENTENCEG_PickSequentialiPcii", (size_t)&USENTENCEG_PickSequential }, - { 0x01DB8420, "_Z15USENTENCEG_PickiPc", (size_t)&USENTENCEG_Pick }, - //{ 0x01DB85C0, "_Z18SENTENCEG_GetIndexPKc", (size_t)&SENTENCEG_GetIndex }, // NOXREF - //{ 0x01DB8640, "_Z18SENTENCEG_PlayRndIP7edict_siffii", (size_t)&SENTENCEG_PlayRndI }, // NOXREF - //{ 0x01DB87B0, "_Z19SENTENCEG_PlayRndSzP7edict_sPKcffii", (size_t)&SENTENCEG_PlayRndSz }, // NOXREF - { 0x01DB89A0, "_Z26SENTENCEG_PlaySequentialSzP7edict_sPKcffiiii", (size_t)&SENTENCEG_PlaySequentialSz }, - //{ 0x01DB8BA0, "_Z14SENTENCEG_StopP7edict_sii", (size_t)&SENTENCEG_Stop }, // NOXREF - { 0x01DB8D30, "_Z14SENTENCEG_Initv", (size_t)&SENTENCEG_Init }, - { 0x01DB9050, "_Z16SENTENCEG_LookupPKcPc", (size_t)&SENTENCEG_Lookup }, - { 0x01DB9100, "_Z14EMIT_SOUND_DYNP7edict_siPKcffii", (size_t)&EMIT_SOUND_DYN }, - { 0x01DB9210, "_Z15EMIT_SOUND_SUITP7edict_sPKc", (size_t)&EMIT_SOUND_SUIT }, - { 0x01DB9380, "_Z17EMIT_GROUPID_SUITP7edict_si", (size_t)&EMIT_GROUPID_SUIT }, - //{ 0x01DB9510, "_Z19EMIT_GROUPNAME_SUITP7edict_sPKc", (size_t)&EMIT_GROUPNAME_SUIT }, // NOXREF - { 0x01DB9720, "_ZL8memfgetsPhiRiPci_constprop_21", (size_t)&memfgets }, - { 0x01DB97C0, "_Z16TEXTURETYPE_Initv", (size_t)&TEXTURETYPE_Init }, - { 0x01DB99A0, "_Z16TEXTURETYPE_FindPc", (size_t)&TEXTURETYPE_Find }, - { 0x01DB99F0, "_Z21TEXTURETYPE_PlaySoundP11TraceResult6VectorS1_i", (size_t)&TEXTURETYPE_PlaySound }, - - //linked objects - { 0x01DB6C30, "ambient_generic", (size_t)&ambient_generic }, - { 0x01DB7E10, "env_sound", (size_t)&env_sound }, - { 0x01DB9F10, "speaker", (size_t)&speaker }, - -#endif // Sound_Region - -#ifndef Util_Region - -#ifdef _WIN32 - //{ 0x01D67920, "", mfunc_ptr_cast(&VARS) }, - //{ 0x01D78600, "", (size_t)&MAKE_STRING_CLASS }, -#endif // _WIN32 - - //{ 0x01DC2670, "_Z8U_Randomv", (size_t)&U_Random }, // NOXREF - //{ 0x01DC26B0, "_Z7U_Srandj", (size_t)&U_Srand }, // NOXREF - { 0x01DC26D0, "_Z21UTIL_SharedRandomLongjii", (size_t)&UTIL_SharedRandomLong }, - { 0x01DC2740, "_Z22UTIL_SharedRandomFloatjff", (size_t)&UTIL_SharedRandomFloat }, - //{ 0x01DC2820, "_Z21UTIL_ParametricRocketP9entvars_s6VectorS1_P7edict_s", (size_t)&UTIL_ParametricRocket }, // NOXREF - { 0x01DC2980, "_Z18UTIL_SetGroupTraceii", (size_t)&UTIL_SetGroupTrace }, - { 0x01DC29B0, "_Z20UTIL_UnsetGroupTracev", (size_t)&UTIL_UnsetGroupTrace }, - //{ 0x01DC29D0, "_ZN15UTIL_GroupTraceC2Eii", mfunc_ptr_cast(&UTIL_GroupTrace::UTIL_GroupTrace) }, // NOXREF - //{ 0x01DC2A10, "_ZN15UTIL_GroupTraceD2Ev", mfunc_ptr_cast(&UTIL_GroupTrace::~UTIL_GroupTrace) }, // NOXREF - //{ 0x01DC2A30, "_Z22UTIL_GetNextBestWeaponP11CBasePlayerP15CBasePlayerItem", (size_t)&UTIL_GetNextBestWeapon }, // NOXREF - //{ 0x01DC2A50, "_Z13UTIL_AngleModf", (size_t)&UTIL_AngleMod }, // NOXREF - //{ 0x01DC2AD0, "_Z14UTIL_AngleDiffff", (size_t)&UTIL_AngleDiff }, // NOXREF - { 0x01DC2B20, "_Z16UTIL_VecToAnglesRK6Vector", (size_t)&UTIL_VecToAngles }, - //{ 0x01DC2B50, "_Z17UTIL_MoveToOriginP7edict_sRK6Vectorfi", (size_t)&UTIL_MoveToOrigin }, // NOXREF - { 0x01DC2B90, "_Z18UTIL_EntitiesInBoxPP11CBaseEntityiRK6VectorS4_i", (size_t)&UTIL_EntitiesInBox }, - //{ 0x01DC2C90, "_Z21UTIL_MonstersInSpherePP11CBaseEntityiRK6Vectorf", (size_t)&UTIL_MonstersInSphere }, // NOXREF - { 0x01DC2D90, "_Z23UTIL_FindEntityInSphereP11CBaseEntityRK6Vectorf", (size_t)&UTIL_FindEntityInSphere }, - { 0x01DC2DE0, "_Z27UTIL_FindEntityByString_OldP11CBaseEntityPKcS2_", (size_t)&UTIL_FindEntityByString_Old }, - { 0x01DC2E30, "_Z23UTIL_FindEntityByStringP11CBaseEntityPKcS2_", (size_t)&UTIL_FindEntityByString }, - { 0x01DC2FB0, "_Z26UTIL_FindEntityByClassnameP11CBaseEntityPKc", (size_t)&UTIL_FindEntityByClassname }, - { 0x01DC2FD0, "_Z27UTIL_FindEntityByTargetnameP11CBaseEntityPKc", (size_t)&UTIL_FindEntityByTargetname }, - //{ 0x01DC2FF0, "_Z22UTIL_FindEntityGenericPKcR6Vectorf", (size_t)&UTIL_FindEntityGeneric }, // NOXREF - //{ 0x01DC30A0, "_Z18UTIL_PlayerByIndexi", (size_t)&UTIL_PlayerByIndex }, - { 0x01DC30E0, "_Z16UTIL_MakeVectorsRK6Vector", (size_t)&UTIL_MakeVectors }, - { 0x01DC30F0, "_Z19UTIL_MakeAimVectorsRK6Vector", (size_t)&UTIL_MakeAimVectors }, - { 0x01DC3120, "_Z19UTIL_MakeInvVectorsRK6VectorP12globalvars_t", (size_t)&UTIL_MakeInvVectors }, - { 0x01DC31A0, "_Z21UTIL_EmitAmbientSoundP7edict_sRK6VectorPKcffii", (size_t)&UTIL_EmitAmbientSound }, - { 0x01DC3240, "_Z16UTIL_ScreenShakeRK6Vectorffff", (size_t)&UTIL_ScreenShake }, - //{ 0x01DC33F0, "_Z19UTIL_ScreenShakeAllRK6Vectorfff", (size_t)&UTIL_ScreenShakeAll }, // NOXREF - //{ 0x01DC3410, "_Z20UTIL_ScreenFadeBuildR10ScreenFadeRK6Vectorffii", (size_t)&UTIL_ScreenFadeBuild }, // NOXREF - //{ 0x01DC34A0, "_Z20UTIL_ScreenFadeWriteRK10ScreenFadeP11CBaseEntity", (size_t)&UTIL_ScreenFadeWrite }, // NOXREF - { 0x01DC3540, "_Z18UTIL_ScreenFadeAllRK6Vectorffii", (size_t)&UTIL_ScreenFadeAll }, - { 0x01DC36E0, "_Z15UTIL_ScreenFadeP11CBaseEntityRK6Vectorffii", (size_t)&UTIL_ScreenFade }, - { 0x01DC3810, "_Z15UTIL_HudMessageP11CBaseEntityRK14hudtextparms_sPKc", (size_t)&UTIL_HudMessage }, - { 0x01DC3A80, "_Z18UTIL_HudMessageAllRK14hudtextparms_sPKc", (size_t)&UTIL_HudMessageAll }, - { 0x01DC3AF0, "_Z19UTIL_ClientPrintAlliPKcS0_S0_S0_S0_", (size_t)&UTIL_ClientPrintAll }, - { 0x01DC3B70, "_Z11ClientPrintP9entvars_siPKcS2_S2_S2_S2_", (size_t)&ClientPrint }, - //{ 0x01DC3C00, "_Z12UTIL_SayTextPKcP11CBaseEntity", (size_t)&UTIL_SayText }, // NOXREF // NOXREF - { 0x01DC3C60, "_Z15UTIL_SayTextAllPKcP11CBaseEntity", (size_t)&UTIL_SayTextAll }, - { 0x01DC3CB0, "_Z10UTIL_dtos1i", (size_t)&UTIL_dtos1 }, - { 0x01DC3CD0, "_Z10UTIL_dtos2i", (size_t)&UTIL_dtos2 }, - //{ 0x01DC3CF0, "_Z10UTIL_dtos3i", (size_t)&UTIL_dtos3 }, // NOXREF // NOXREF - //{ 0x01DC3D10, "_Z10UTIL_dtos4i", (size_t)&UTIL_dtos4 }, // NOXREF - { 0x01DC3D30, "_Z20UTIL_ShowMessageArgsPKcP11CBaseEntityP10CUtlVectorIPcEb", (size_t)&UTIL_ShowMessageArgs }, - { 0x01DC3E20, "_Z16UTIL_ShowMessagePKcP11CBaseEntityb", (size_t)&UTIL_ShowMessage }, - { 0x01DC3E80, "_Z19UTIL_ShowMessageAllPKcb", (size_t)&UTIL_ShowMessageAll }, - { 0x01DC3F30, "_Z14UTIL_TraceLineRK6VectorS1_15IGNORE_MONSTERS12IGNORE_GLASSP7edict_sP11TraceResult", mfunc_ptr_cast(&UTIL_TraceLine) }, - { 0x01DC3F70, "_Z14UTIL_TraceLineRK6VectorS1_15IGNORE_MONSTERSP7edict_sP11TraceResult", mfunc_ptr_cast(&UTIL_TraceLine) }, - { 0x01DC3F90, "_Z14UTIL_TraceHullRK6VectorS1_15IGNORE_MONSTERSiP7edict_sP11TraceResult", (size_t)&UTIL_TraceHull }, - { 0x01DC3FB0, "_Z15UTIL_TraceModelRK6VectorS1_iP7edict_sP11TraceResult", (size_t)&UTIL_TraceModel }, - //{ 0x01DC3FC0, "_Z19UTIL_GetGlobalTracev", (size_t)&UTIL_GetGlobalTrace }, // NOXREF - { 0x01DC4090, "_Z12UTIL_SetSizeP9entvars_sRK6VectorS3_", (size_t)&UTIL_SetSize }, - { 0x01DC40B0, "_Z13UTIL_VecToYawRK6Vector", (size_t)&UTIL_VecToYaw }, - { 0x01DC40C0, "_Z14UTIL_SetOriginP9entvars_sRK6Vector", (size_t)&UTIL_SetOrigin }, - //{ 0x01DC40E0, "_Z19UTIL_ParticleEffectRK6VectorS1_jj", (size_t)&UTIL_ParticleEffect }, // NOXREF - { 0x01DC4130, "_Z13UTIL_Approachfff", (size_t)&UTIL_Approach }, - { 0x01DC4170, "_Z18UTIL_ApproachAnglefff", (size_t)&UTIL_ApproachAngle }, - { 0x01DC42F0, "_Z18UTIL_AngleDistanceff", (size_t)&UTIL_AngleDistance }, - { 0x01DC4330, "_Z19UTIL_SplineFractionff", (size_t)&UTIL_SplineFraction }, - { 0x01DC4350, "_Z12UTIL_VarArgsPcz", (size_t)&UTIL_VarArgs }, - //{ 0x01DC4370, "_Z17UTIL_GetAimVectorP7edict_sf", (size_t)&UTIL_GetAimVector }, // NOXREF - { 0x01DC43B0, "_Z22UTIL_IsMasterTriggeredjP11CBaseEntity", (size_t)&UTIL_IsMasterTriggered }, - //{ 0x01DC4430, "_Z20UTIL_ShouldShowBloodi", (size_t)&UTIL_ShouldShowBlood }, // NOXREF - { 0x01DC4490, "_Z18UTIL_PointContentsRK6Vector", (size_t)&UTIL_PointContents }, - { 0x01DC44A0, "_Z16UTIL_BloodStreamRK6VectorS1_ii", (size_t)&UTIL_BloodStream }, - { 0x01DC4590, "_Z15UTIL_BloodDripsRK6VectorS1_ii", (size_t)&UTIL_BloodDrips }, - { 0x01DC46D0, "_Z22UTIL_RandomBloodVectorv", (size_t)&UTIL_RandomBloodVector }, - { 0x01DC4720, "_Z20UTIL_BloodDecalTraceP11TraceResulti", (size_t)&UTIL_BloodDecalTrace }, - { 0x01DC47A0, "_Z15UTIL_DecalTraceP11TraceResulti", (size_t)&UTIL_DecalTrace }, - { 0x01DC48A0, "_Z21UTIL_PlayerDecalTraceP11TraceResultiii", (size_t)&UTIL_PlayerDecalTrace }, - //{ 0x01DC4940, "_Z22UTIL_GunshotDecalTraceP11TraceResultibP9entvars_s", (size_t)&UTIL_GunshotDecalTrace }, // NOXREF - { 0x01DC4A40, "_Z11UTIL_SparksRK6Vector", (size_t)&UTIL_Sparks }, - { 0x01DC4A90, "_Z13UTIL_RicochetRK6Vectorf", (size_t)&UTIL_Ricochet }, - { 0x01DC4AF0, "_Z15UTIL_TeamsMatchPKcS0_", (size_t)&UTIL_TeamsMatch }, - { 0x01DC4B30, "_Z19UTIL_StringToVectorPfPKc", (size_t)&UTIL_StringToVector }, - { 0x01DC4BB0, "_Z21UTIL_StringToIntArrayPiiPKc", (size_t)&UTIL_StringToIntArray }, - //{ 0x01DC4C40, "_Z21UTIL_ClampVectorToBoxRK6VectorS1_", (size_t)&UTIL_ClampVectorToBox }, // NOXREF - //{ 0x01DC4D80, "_Z15UTIL_WaterLevelRK6Vectorff", (size_t)&UTIL_WaterLevel }, // NOXREF - { 0x01DC4E50, "_Z12UTIL_Bubbles6VectorS_i", (size_t)&UTIL_Bubbles }, - { 0x01DC5010, "_Z16UTIL_BubbleTrail6VectorS_i", (size_t)&UTIL_BubbleTrail }, - { 0x01DC5290, "_Z11UTIL_RemoveP11CBaseEntity", (size_t)&UTIL_Remove }, - //{ 0x01DC52D0, "_Z18UTIL_IsValidEntityP7edict_s", (size_t)&UTIL_IsValidEntity }, // NOXREF - { 0x01DC5300, "_Z18UTIL_PrecacheOtherPKc", (size_t)&UTIL_PrecacheOther }, - { 0x01DC5380, "_Z14UTIL_LogPrintfPcz", (size_t)&UTIL_LogPrintf }, - //{ 0x01DC53B0, "_Z14UTIL_DotPointsRK6VectorS1_S1_", (size_t)&UTIL_DotPoints }, // NOXREF - { 0x01DC5430, "_Z15UTIL_StripTokenPKcPc", (size_t)&UTIL_StripToken }, - //{ 0x01DC5470, "_ZN18CSaveRestoreBufferC2Ev", mfunc_ptr_cast(&CSaveRestoreBuffer::CSaveRestoreBuffer) }, // NOXREF - //{ 0x01DC5480, "_ZN18CSaveRestoreBufferC2EP13saverestore_s", mfunc_ptr_cast(&CSaveRestoreBuffer::CSaveRestoreBuffer) }, // NOXREF - //{ 0x01DC5490, "_ZN18CSaveRestoreBufferD2Ev", mfunc_ptr_cast(&CSaveRestoreBuffer::~CSaveRestoreBuffer) }, // NOXREF - { 0x01DC54A0, "_ZN18CSaveRestoreBuffer11EntityIndexEP11CBaseEntity", mfunc_ptr_cast(&CSaveRestoreBuffer::EntityIndex) }, - //{ 0x01DC54F0, "_ZN18CSaveRestoreBuffer11EntityIndexEP7edict_s", mfunc_ptr_cast(&CSaveRestoreBuffer::EntityIndex) }, // NOXREF - //{ 0x01DC5540, "_ZN18CSaveRestoreBuffer11EntityIndexEi", mfunc_ptr_cast(&CSaveRestoreBuffer::EntityIndex) }, // NOXREF - { 0x01DC5590, "_ZN18CSaveRestoreBuffer11EntityIndexEP9entvars_s", mfunc_ptr_cast(&CSaveRestoreBuffer::EntityIndex) }, - //{ 0x01DC55D0, "_ZN18CSaveRestoreBuffer15EntityFromIndexEi", mfunc_ptr_cast(&CSaveRestoreBuffer::EntityFromIndex) }, // NOXREF - { 0x01DC5610, "_ZN18CSaveRestoreBuffer14EntityFlagsSetEii", mfunc_ptr_cast(&CSaveRestoreBuffer::EntityFlagsSet) }, - //{ 0x01DC5660, "_ZN18CSaveRestoreBuffer12BufferRewindEi", mfunc_ptr_cast(&CSaveRestoreBuffer::BufferRewind) }, // NOXREF - //{ 0x01DC5690, "_ZN18CSaveRestoreBuffer10HashStringEPKc", mfunc_ptr_cast(&CSaveRestoreBuffer::HashString) }, // NOXREF - { 0x01DC56B0, "_ZN18CSaveRestoreBuffer9TokenHashEPKc", mfunc_ptr_cast(&CSaveRestoreBuffer::TokenHash) }, - //{ 0x01DC57C0, "_ZN5CSave9WriteDataEPKciS1_", mfunc_ptr_cast(&CSave::WriteData) }, // NOXREF - //{ 0x01DC58F0, "_ZN5CSave10WriteShortEPKcPKsi", mfunc_ptr_cast(&CSave::WriteShort) }, // NOXREF - //{ 0x01DC5A30, "_ZN5CSave8WriteIntEPKcPKii", mfunc_ptr_cast(&CSave::WriteInt) }, // NOXREF - //{ 0x01DC5B70, "_ZN5CSave10WriteFloatEPKcPKfi", mfunc_ptr_cast(&CSave::WriteFloat) }, // NOXREF - //{ 0x01DC5CB0, "_ZN5CSave9WriteTimeEPKcPKfi", mfunc_ptr_cast(&CSave::WriteTime) }, // NOXREF - //{ 0x01DC5DF0, "_ZN5CSave11WriteStringEPKcS1_", mfunc_ptr_cast(&CSave::WriteString) }, // NOXREF - //{ 0x01DC5F30, "_ZN5CSave11WriteStringEPKcPKii", mfunc_ptr_cast(&CSave::WriteString) }, // NOXREF - //{ 0x01DC60C0, "_ZN5CSave11WriteVectorEPKcRK6Vector", mfunc_ptr_cast(&CSave::WriteVector) }, // NOXREF - //{ 0x01DC61E0, "_ZN5CSave11WriteVectorEPKcPKfi", mfunc_ptr_cast(&CSave::WriteVector) }, // NOXREF - //{ 0x01DC6310, "_ZN5CSave19WritePositionVectorEPKcRK6Vector", mfunc_ptr_cast(&CSave::WritePositionVector) }, // NOXREF - //{ 0x01DC64F0, "_ZN5CSave19WritePositionVectorEPKcPKfi", mfunc_ptr_cast(&CSave::WritePositionVector) }, // NOXREF - //{ 0x01DC6670, "_ZN5CSave13WriteFunctionEPKcPPvi", mfunc_ptr_cast(&CSave::WriteFunction) }, // NOXREF - { 0x01DC67E0, "_Z15EntvarsKeyvalueP9entvars_sP14KeyValueData_s", (size_t)&EntvarsKeyvalue }, - { 0x01DC6990, "_ZN5CSave12WriteEntVarsEPKcP9entvars_s", mfunc_ptr_cast(&CSave::WriteEntVars) }, - { 0x01DC69B0, "_ZN5CSave11WriteFieldsEPKcPvP15TYPEDESCRIPTIONi", mfunc_ptr_cast(&CSave::WriteFields) }, - //{ 0x01DC6E60, "_ZN5CSave12BufferStringEPci", mfunc_ptr_cast(&CSave::BufferString) }, // NOXREF - //{ 0x01DC6F20, "_ZN5CSave9DataEmptyEPKci", mfunc_ptr_cast(&CSave::DataEmpty) }, // NOXREF - { 0x01DC6F50, "_ZN5CSave11BufferFieldEPKciS1_", mfunc_ptr_cast(&CSave::BufferField) }, - { 0x01DC7080, "_ZN5CSave12BufferHeaderEPKci", mfunc_ptr_cast(&CSave::BufferHeader) }, - { 0x01DC7150, "_ZN5CSave10BufferDataEPKci", mfunc_ptr_cast(&CSave::BufferData) }, - { 0x01DC71C0, "_ZN8CRestore9ReadFieldEPvP15TYPEDESCRIPTIONiiiPcS0_", mfunc_ptr_cast(&CRestore::ReadField) }, - { 0x01DC7610, "_ZN8CRestore11ReadEntVarsEPKcP9entvars_s", mfunc_ptr_cast(&CRestore::ReadEntVars) }, - { 0x01DC7630, "_ZN8CRestore10ReadFieldsEPKcPvP15TYPEDESCRIPTIONi", mfunc_ptr_cast(&CRestore::ReadFields) }, - { 0x01DC78D0, "_ZN8CRestore10ReadFieldsEPKcPvP15TYPEDESCRIPTIONi", mfunc_ptr_cast(&CRestore::Empty) }, - //{ 0x01DC78F0, "_ZN8CRestore16BufferReadHeaderEP6HEADER", mfunc_ptr_cast(&CRestore::BufferReadHeader) }, // NOXREF - //{ 0x01DC7A20, "_ZN8CRestore9ReadShortEv", mfunc_ptr_cast(&CRestore::ReadShort) }, // NOXREF - //{ 0x01DC7A90, "_ZN8CRestore7ReadIntEv", mfunc_ptr_cast(&CRestore::ReadInt) }, // NOXREF - //{ 0x01DC7AF0, "_ZN8CRestore12ReadNamedIntEPKc", mfunc_ptr_cast(&CRestore::ReadNamedInt) }, // NOXREF - //{ 0x01DC7C10, "_ZN8CRestore15ReadNamedStringEPKc", mfunc_ptr_cast(&CRestore::ReadNamedString) }, // NOXREF - //{ 0x01DC7D30, "_ZN8CRestore13BufferPointerEv", mfunc_ptr_cast(&CRestore::BufferPointer) }, // NOXREF - //{ 0x01DC7D40, "_ZN8CRestore15BufferReadBytesEPci", mfunc_ptr_cast(&CRestore::BufferReadBytes) }, // PRIVATE - //{ 0x01DC7DC0, "_ZN8CRestore15BufferSkipBytesEi", mfunc_ptr_cast(&CRestore::BufferSkipBytes) }, // NOXREF - //{ 0x01DC7E20, "_ZN8CRestore17BufferSkipZStringEv", mfunc_ptr_cast(&CRestore::BufferSkipZString) }, // NOXREF - //{ 0x01DC7EA0, "_ZN8CRestore18BufferCheckZStringEPKc", mfunc_ptr_cast(&CRestore::BufferCheckZString) }, // NOXREF - { 0x01DC7EF0, "_Z15UTIL_TextureHitP11TraceResult6VectorS1_", (size_t)&UTIL_TextureHit }, - //{ 0x01DC8000, "GetPlayerTeam", (size_t)&GetPlayerTeam }, // NOXREF - { 0x01DC8040, "_Z11UTIL_IsGamePKc", (size_t)&UTIL_IsGame }, - { 0x01DC8090, "_Z21UTIL_GetPlayerGaitYawi", (size_t)&UTIL_GetPlayerGaitYaw }, - { 0x01D630B0, "_ZN7EHANDLE3GetEv", mfunc_ptr_cast(&EHANDLE::Get) }, - //{ 0x01D630D0, "_ZN7EHANDLE3SetEP7edict_s", mfunc_ptr_cast(&EHANDLE::Set) }, // NOXREF - //{ 0x01D630F0, "_ZN7EHANDLEcvP11CBaseEntityEv", mfunc_ptr_cast(&EHANDLE::operator CBaseEntity*) }, // don't take the address - //{ 0x01D63110, "_ZN7EHANDLEaSEP11CBaseEntity", mfunc_ptr_cast(&EHANDLE::CBaseEntity *operator=) }, // don't take the address - //{ 0x01D63140, "_ZN7EHANDLEcviEv", mfunc_ptr_cast(&EHANDLE::operator int) }, // don't take the address - //{ 0x01D63170, "_ZN7EHANDLEptEv", mfunc_ptr_cast(&EHANDLE::CBaseEntity *operator->) }, // don't take the address - -#endif // Util_Region - -#ifndef WeaponType_Region - - { 0x01D01000, "_Z15AliasToWeaponIDPKc", (size_t)&AliasToWeaponID }, - { 0x01D01050, "_Z18BuyAliasToWeaponIDPKcR12WeaponIdType", (size_t)&BuyAliasToWeaponID }, - { 0x01D010C0, "_Z15WeaponIDToAliasi", (size_t)&WeaponIDToAlias }, - { 0x01D010F0, "_Z18AliasToWeaponClassPKc", (size_t)&AliasToWeaponClass }, - { 0x01D01140, "_Z21WeaponIDToWeaponClassi", (size_t)&WeaponIDToWeaponClass }, - { 0x01D011C0, "_Z15IsPrimaryWeaponi", (size_t)&IsPrimaryWeapon }, - //{ 0x01D01250, "_Z17IsSecondaryWeaponi", (size_t)&IsSecondaryWeapon }, // NOXREF - { 0x01D012A0, "_Z13GetWeaponInfoi", mfunc_ptr_cast(&GetWeaponInfo) }, - { 0x01D012E0, "_Z21CanBuyWeaponByMaptypei12WeaponIdTypeb", (size_t)&CanBuyWeaponByMaptype }, - -#endif // WeaponType_Region - -#ifndef GameRules_Region - - { 0x01D80C90, "_Z16InstallGameRulesv", (size_t)&InstallGameRules }, // HOOK: FIX ME - { 0x01D80C00, "_ZN10CGameRules16RefreshSkillDataEv", mfunc_ptr_cast(&CGameRules::RefreshSkillData_) }, - //{ 0x01D8EBB0, "_ZN10CGameRules10IsTeamplayEv", mfunc_ptr_cast(&CGameRules::IsTeamplay_) }, // DEFAULT - //{ 0x01D8EBC0, "_ZN10CGameRules18GetGameDescriptionEv", mfunc_ptr_cast(&CGameRules::GetGameDescription_) }, // DEFAULT - //{ 0x01D8EBD0, "_ZN10CGameRules14UpdateGameModeEP11CBasePlayer", mfunc_ptr_cast(&CGameRules::UpdateGameMode_) }, // PURE - //{ 0x01D8EBE0, "_ZN10CGameRules20FPlayerCanTakeDamageEP11CBasePlayerP11CBaseEntity", mfunc_ptr_cast(&CGameRules::FPlayerCanTakeDamage_) }, // DEFAULT - //{ 0x01D8EBF0, "_ZN10CGameRules13ShouldAutoAimEP11CBasePlayerP7edict_s", mfunc_ptr_cast(&CGameRules::ShouldAutoAim_) }, // DEFAULT - { 0x01D80A60, "_ZN10CGameRules18GetPlayerSpawnSpotEP11CBasePlayer", mfunc_ptr_cast(&CGameRules::GetPlayerSpawnSpot_) }, - //{ 0x01D8EC00, "_ZN10CGameRules24AllowAutoTargetCrosshairEv", mfunc_ptr_cast(&CGameRules::AllowAutoTargetCrosshair_) }, // DEFAULT - //{ 0x01D8EC10, "_ZN10CGameRules25ClientCommand_DeadOrAliveEP11CBasePlayerPKc", mfunc_ptr_cast(&CGameRules::ClientCommand_DeadOrAlive_) }, // DEFAULT - //{ 0x01D8EC60, "_ZN10CGameRules13ClientCommandEP11CBasePlayerPKc", mfunc_ptr_cast(&CGameRules::ClientCommand_) }, // DEFAULT - //{ 0x01D8EC70, "_ZN10CGameRules21ClientUserInfoChangedEP11CBasePlayerPc", mfunc_ptr_cast(&CGameRules::ClientUserInfoChanged_) }, // PURE - { 0x01D80B60, "_ZN10CGameRules17CanHavePlayerItemEP11CBasePlayerP15CBasePlayerItem", mfunc_ptr_cast(&CGameRules::CanHavePlayerItem_) }, - { 0x01D80A20, "_ZN10CGameRules11CanHaveAmmoEP11CBasePlayerPKci", mfunc_ptr_cast(&CGameRules::CanHaveAmmo_) }, - //{ 0x01D8EC80, "_ZN10CGameRules24FlHEVChargerRechargeTimeEv", mfunc_ptr_cast(&CGameRules::FlHEVChargerRechargeTime_) }, // DEFAULT - //{ 0x01D8EC90, "_ZN10CGameRules12GetTeamIndexEPKc", mfunc_ptr_cast(&CGameRules::GetTeamIndex_) }, // DEFAULT - //{ 0x01D8ED40, "_ZN10CGameRules18GetIndexedTeamNameEi", mfunc_ptr_cast(&CGameRules::GetIndexedTeamName_) }, // DEFAULT - //{ 0x01D8ED50, "_ZN10CGameRules11IsValidTeamEPKc", mfunc_ptr_cast(&CGameRules::IsValidTeam_) }, // DEFAULT - //{ 0x01D8ED60, "_ZN10CGameRules16ChangePlayerTeamEP11CBasePlayerPKcii", mfunc_ptr_cast(&CGameRules::ChangePlayerTeam_) }, // PURE - //{ 0x01D8ED70, "_ZN10CGameRules20SetDefaultPlayerTeamEP11CBasePlayer", mfunc_ptr_cast(&CGameRules::SetDefaultPlayerTeam_) }, // DEFAULT - //{ 0x01D8ED80, "_ZN10CGameRules17PlayTextureSoundsEv", mfunc_ptr_cast(&CGameRules::PlayTextureSounds_) }, // DEFAULT - //{ 0x01D8ED90, "_ZN10CGameRules18EndMultiplayerGameEv", mfunc_ptr_cast(&CGameRules::EndMultiplayerGame_) }, // PURE - //{ 0x01D8EDA0, "_ZN10CGameRules14IsFreezePeriodEv", mfunc_ptr_cast(&CGameRules::IsFreezePeriod_) }, // DEFAULT - //{ 0x01D8EDB0, "_ZN10CGameRules16ServerDeactivateEv", mfunc_ptr_cast(&CGameRules::ServerDeactivate_) }, // PURE - //{ 0x01D8EDC0, "_ZN10CGameRules18CheckMapConditionsEv", mfunc_ptr_cast(&CGameRules::CheckMapConditions_) }, // PURE - -#endif // GameRules_Region - -#ifndef Singleplay_GameRules_Region - - //{ 0x01DB6730, "", mfunc_ptr_cast(&CHalfLifeRules::CHalfLifeRules) }, - { 0x01DB6750, "_ZN14CHalfLifeRules5ThinkEv", mfunc_ptr_cast(&CHalfLifeRules::Think_) }, // PURE - //{ 0x01DB6AF0, "_ZN14CHalfLifeRules16IsAllowedToSpawnEP11CBaseEntity", mfunc_ptr_cast(&CHalfLifeRules::IsAllowedToSpawn_) }, - //{ 0x01DB6BB0, "_ZN14CHalfLifeRules16FAllowFlashlightEv", mfunc_ptr_cast(&CHalfLifeRules::FAllowFlashlight_) }, // DEFAULT - { 0x01DB6790, "_ZN14CHalfLifeRules19FShouldSwitchWeaponEP11CBasePlayerP15CBasePlayerItem", mfunc_ptr_cast(&CHalfLifeRules::FShouldSwitchWeapon_) }, - { 0x01DB67C0, "_ZN14CHalfLifeRules17GetNextBestWeaponEP11CBasePlayerP15CBasePlayerItem", mfunc_ptr_cast(&CHalfLifeRules::GetNextBestWeapon_) }, - { 0x01DB6760, "_ZN14CHalfLifeRules13IsMultiplayerEv", mfunc_ptr_cast(&CHalfLifeRules::IsMultiplayer_) }, - { 0x01DB6770, "_ZN14CHalfLifeRules12IsDeathmatchEv", mfunc_ptr_cast(&CHalfLifeRules::IsDeathmatch_) }, - { 0x01DB6780, "_ZN14CHalfLifeRules6IsCoOpEv", mfunc_ptr_cast(&CHalfLifeRules::IsCoOp_) }, - { 0x01DB67D0, "_ZN14CHalfLifeRules15ClientConnectedEP7edict_sPKcS3_Pc", mfunc_ptr_cast(&CHalfLifeRules::ClientConnected_) }, - { 0x01DB67E0, "_ZN14CHalfLifeRules7InitHUDEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeRules::InitHUD_) }, // PURE - { 0x01DB67F0, "_ZN14CHalfLifeRules18ClientDisconnectedEP7edict_s", mfunc_ptr_cast(&CHalfLifeRules::ClientDisconnected_) }, // PURE - { 0x01DB6800, "_ZN14CHalfLifeRules18FlPlayerFallDamageEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeRules::FlPlayerFallDamage_) }, - { 0x01DB6820, "_ZN14CHalfLifeRules11PlayerSpawnEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeRules::PlayerSpawn_) }, - { 0x01DB68A0, "_ZN14CHalfLifeRules11PlayerThinkEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeRules::PlayerThink_) }, // PURE - { 0x01DB68B0, "_ZN14CHalfLifeRules17FPlayerCanRespawnEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeRules::FPlayerCanRespawn_) }, - { 0x01DB68C0, "_ZN14CHalfLifeRules17FlPlayerSpawnTimeEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeRules::FlPlayerSpawnTime_) }, - { 0x01DB6960, "_ZN14CHalfLifeRules18GetPlayerSpawnSpotEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeRules::GetPlayerSpawnSpot_) }, - { 0x01DB6890, "_ZN14CHalfLifeRules24AllowAutoTargetCrosshairEv", mfunc_ptr_cast(&CHalfLifeRules::AllowAutoTargetCrosshair_) }, - { 0x01DB68D0, "_ZN14CHalfLifeRules14IPointsForKillEP11CBasePlayerS1_", mfunc_ptr_cast(&CHalfLifeRules::IPointsForKill_) }, - { 0x01DB68E0, "_ZN14CHalfLifeRules12PlayerKilledEP11CBasePlayerP9entvars_sS3_", mfunc_ptr_cast(&CHalfLifeRules::PlayerKilled_) }, // PURE - { 0x01DB68F0, "_ZN14CHalfLifeRules11DeathNoticeEP11CBasePlayerP9entvars_sS3_", mfunc_ptr_cast(&CHalfLifeRules::DeathNotice_) }, // PURE - { 0x01DB6900, "_ZN14CHalfLifeRules15PlayerGotWeaponEP11CBasePlayerP15CBasePlayerItem", mfunc_ptr_cast(&CHalfLifeRules::PlayerGotWeapon_) }, // PURE - { 0x01DB6A70, "_ZN14CHalfLifeRules19WeaponShouldRespawnEP15CBasePlayerItem", mfunc_ptr_cast(&CHalfLifeRules::WeaponShouldRespawn_) }, - { 0x01DB6910, "_ZN14CHalfLifeRules19FlWeaponRespawnTimeEP15CBasePlayerItem", mfunc_ptr_cast(&CHalfLifeRules::FlWeaponRespawnTime_) }, - { 0x01DB6920, "_ZN14CHalfLifeRules18FlWeaponTryRespawnEP15CBasePlayerItem", mfunc_ptr_cast(&CHalfLifeRules::FlWeaponTryRespawn_) }, - { 0x01DB6930, "_ZN14CHalfLifeRules20VecWeaponRespawnSpotEP15CBasePlayerItem", mfunc_ptr_cast(&CHalfLifeRules::VecWeaponRespawnSpot_) }, - { 0x01DB6A80, "_ZN14CHalfLifeRules11CanHaveItemEP11CBasePlayerP5CItem", mfunc_ptr_cast(&CHalfLifeRules::CanHaveItem_) }, - { 0x01DB6A90, "_ZN14CHalfLifeRules13PlayerGotItemEP11CBasePlayerP5CItem", mfunc_ptr_cast(&CHalfLifeRules::PlayerGotItem_) }, // PURE - { 0x01DB6AA0, "_ZN14CHalfLifeRules17ItemShouldRespawnEP5CItem", mfunc_ptr_cast(&CHalfLifeRules::ItemShouldRespawn_) }, - { 0x01DB6AB0, "_ZN14CHalfLifeRules17FlItemRespawnTimeEP5CItem", mfunc_ptr_cast(&CHalfLifeRules::FlItemRespawnTime_) }, - { 0x01DB6AC0, "_ZN14CHalfLifeRules18VecItemRespawnSpotEP5CItem", mfunc_ptr_cast(&CHalfLifeRules::VecItemRespawnSpot_) }, - { 0x01DB6B00, "_ZN14CHalfLifeRules13PlayerGotAmmoEP11CBasePlayerPci", mfunc_ptr_cast(&CHalfLifeRules::PlayerGotAmmo_) }, // PURE - { 0x01DB6B10, "_ZN14CHalfLifeRules17AmmoShouldRespawnEP15CBasePlayerAmmo", mfunc_ptr_cast(&CHalfLifeRules::AmmoShouldRespawn_) }, - { 0x01DB6B20, "_ZN14CHalfLifeRules17FlAmmoRespawnTimeEP15CBasePlayerAmmo", mfunc_ptr_cast(&CHalfLifeRules::FlAmmoRespawnTime_) }, - { 0x01DB6B30, "_ZN14CHalfLifeRules18VecAmmoRespawnSpotEP15CBasePlayerAmmo", mfunc_ptr_cast(&CHalfLifeRules::VecAmmoRespawnSpot_) }, - { 0x01DB6B60, "_ZN14CHalfLifeRules27FlHealthChargerRechargeTimeEv", mfunc_ptr_cast(&CHalfLifeRules::FlHealthChargerRechargeTime_) }, - { 0x01DB6B70, "_ZN14CHalfLifeRules17DeadPlayerWeaponsEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeRules::DeadPlayerWeapons_) }, - { 0x01DB6B80, "_ZN14CHalfLifeRules14DeadPlayerAmmoEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeRules::DeadPlayerAmmo_) }, - //{ 0x01DB6BC0, "_ZN14CHalfLifeRules9GetTeamIDEP11CBaseEntity", mfunc_ptr_cast(&CHalfLifeRules::GetTeamID_) }, // DEFAULT - { 0x01DB6B90, "_ZN14CHalfLifeRules18PlayerRelationshipEP11CBasePlayerP11CBaseEntity", mfunc_ptr_cast(&CHalfLifeRules::PlayerRelationship_) }, - { 0x01DB6BA0, "_ZN14CHalfLifeRules14FAllowMonstersEv", mfunc_ptr_cast(&CHalfLifeRules::FAllowMonsters_) }, - -#endif // Singleplay_GameRules_Region - -#ifndef Multiplay_GameRules_Region - -//CHalfLifeMultiplay - //virtual func - //{ 0x01D8B8A0, "_ZN18CHalfLifeMultiplayC2Ev", mfunc_ptr_cast(&CHalfLifeMultiplay::CHalfLifeMultiplay) }, // constuctor - { 0x01D8BF00, "_ZN18CHalfLifeMultiplay16RefreshSkillDataEv", mfunc_ptr_cast(&CHalfLifeMultiplay::RefreshSkillData_) }, - { 0x01D8F420, "_ZN18CHalfLifeMultiplay5ThinkEv", mfunc_ptr_cast(&CHalfLifeMultiplay::Think_) }, - { 0x01D921D0, "_ZN18CHalfLifeMultiplay16IsAllowedToSpawnEP11CBaseEntity", mfunc_ptr_cast(&CHalfLifeMultiplay::IsAllowedToSpawn_) }, - { 0x01D92410, "_ZN18CHalfLifeMultiplay16FAllowFlashlightEv", mfunc_ptr_cast(&CHalfLifeMultiplay::FAllowFlashlight_) }, - { 0x01D909E0, "_ZN18CHalfLifeMultiplay19FShouldSwitchWeaponEP11CBasePlayerP15CBasePlayerItem", mfunc_ptr_cast(&CHalfLifeMultiplay::FShouldSwitchWeapon_) }, - { 0x01D90A70, "_ZN18CHalfLifeMultiplay17GetNextBestWeaponEP11CBasePlayerP15CBasePlayerItem", mfunc_ptr_cast(&CHalfLifeMultiplay::GetNextBestWeapon_) }, - { 0x01D909B0, "_ZN18CHalfLifeMultiplay13IsMultiplayerEv", mfunc_ptr_cast(&CHalfLifeMultiplay::IsMultiplayer_) }, - { 0x01D909C0, "_ZN18CHalfLifeMultiplay12IsDeathmatchEv", mfunc_ptr_cast(&CHalfLifeMultiplay::IsDeathmatch_) }, - { 0x01D909D0, "_ZN18CHalfLifeMultiplay6IsCoOpEv", mfunc_ptr_cast(&CHalfLifeMultiplay::IsCoOp_) }, - { 0x01D90B60, "_ZN18CHalfLifeMultiplay15ClientConnectedEP7edict_sPKcS3_Pc", mfunc_ptr_cast(&CHalfLifeMultiplay::ClientConnected_) }, - { 0x01D90BC0, "_ZN18CHalfLifeMultiplay7InitHUDEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeMultiplay::InitHUD_) }, - { 0x01D910E0, "_ZN18CHalfLifeMultiplay18ClientDisconnectedEP7edict_s", mfunc_ptr_cast(&CHalfLifeMultiplay::ClientDisconnected_) }, - { 0x01D90B80, "_ZN18CHalfLifeMultiplay14UpdateGameModeEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeMultiplay::UpdateGameMode_) }, - { 0x01D91360, "_ZN18CHalfLifeMultiplay18FlPlayerFallDamageEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeMultiplay::FlPlayerFallDamage_) }, - { 0x01D91390, "_ZN18CHalfLifeMultiplay20FPlayerCanTakeDamageEP11CBasePlayerP11CBaseEntity", mfunc_ptr_cast(&CHalfLifeMultiplay::FPlayerCanTakeDamage_) }, - { 0x01D91560, "_ZN18CHalfLifeMultiplay11PlayerSpawnEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeMultiplay::PlayerSpawn_) }, - { 0x01D913E0, "_ZN18CHalfLifeMultiplay11PlayerThinkEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeMultiplay::PlayerThink_) }, - { 0x01D915F0, "_ZN18CHalfLifeMultiplay17FPlayerCanRespawnEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeMultiplay::FPlayerCanRespawn_) }, - { 0x01D916C0, "_ZN18CHalfLifeMultiplay17FlPlayerSpawnTimeEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeMultiplay::FlPlayerSpawnTime_) }, - { 0x01D92280, "_ZN18CHalfLifeMultiplay18GetPlayerSpawnSpotEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeMultiplay::GetPlayerSpawnSpot_) }, - { 0x01D916D0, "_ZN18CHalfLifeMultiplay24AllowAutoTargetCrosshairEv", mfunc_ptr_cast(&CHalfLifeMultiplay::AllowAutoTargetCrosshair_) }, - { 0x01D90B30, "_ZN18CHalfLifeMultiplay25ClientCommand_DeadOrAliveEP11CBasePlayerPKc", mfunc_ptr_cast(&CHalfLifeMultiplay::ClientCommand_DeadOrAlive_) }, - { 0x01D90B50, "_ZN18CHalfLifeMultiplay13ClientCommandEP11CBasePlayerPKc", mfunc_ptr_cast(&CHalfLifeMultiplay::ClientCommand_) }, - { 0x01D93660, "_ZN18CHalfLifeMultiplay21ClientUserInfoChangedEP11CBasePlayerPc", mfunc_ptr_cast(&CHalfLifeMultiplay::ClientUserInfoChanged_) }, - { 0x01D916E0, "_ZN18CHalfLifeMultiplay14IPointsForKillEP11CBasePlayerS1_", mfunc_ptr_cast(&CHalfLifeMultiplay::IPointsForKill_) }, - { 0x01D916F0, "_ZN18CHalfLifeMultiplay12PlayerKilledEP11CBasePlayerP9entvars_sS3_", mfunc_ptr_cast(&CHalfLifeMultiplay::PlayerKilled_) }, - { 0x01D91BE0, "_ZN18CHalfLifeMultiplay11DeathNoticeEP11CBasePlayerP9entvars_sS3_", mfunc_ptr_cast(&CHalfLifeMultiplay::DeathNotice_) }, - { 0x01D92130, "_ZN18CHalfLifeMultiplay17CanHavePlayerItemEP11CBasePlayerP15CBasePlayerItem", mfunc_ptr_cast(&CHalfLifeMultiplay::CanHavePlayerItem_) }, - //{ 0x01D92060, "_ZN18CHalfLifeMultiplay15PlayerGotWeaponEP11CBasePlayerP15CBasePlayerItem", mfunc_ptr_cast(&CHalfLifeMultiplay::PlayerGotWeapon_) }, // PURE - { 0x01D92110, "_ZN18CHalfLifeMultiplay19WeaponShouldRespawnEP15CBasePlayerItem", mfunc_ptr_cast(&CHalfLifeMultiplay::WeaponShouldRespawn_) }, - { 0x01D92070, "_ZN18CHalfLifeMultiplay19FlWeaponRespawnTimeEP15CBasePlayerItem", mfunc_ptr_cast(&CHalfLifeMultiplay::FlWeaponRespawnTime_) }, - { 0x01D92080, "_ZN18CHalfLifeMultiplay18FlWeaponTryRespawnEP15CBasePlayerItem", mfunc_ptr_cast(&CHalfLifeMultiplay::FlWeaponTryRespawn_) }, - { 0x01D920E0, "_ZN18CHalfLifeMultiplay20VecWeaponRespawnSpotEP15CBasePlayerItem", mfunc_ptr_cast(&CHalfLifeMultiplay::VecWeaponRespawnSpot_) }, - { 0x01D92140, "_ZN18CHalfLifeMultiplay11CanHaveItemEP11CBasePlayerP5CItem", mfunc_ptr_cast(&CHalfLifeMultiplay::CanHaveItem_) }, - { 0x01D92150, "_ZN18CHalfLifeMultiplay13PlayerGotItemEP11CBasePlayerP5CItem", mfunc_ptr_cast(&CHalfLifeMultiplay::PlayerGotItem_) }, // PURE - { 0x01D92160, "_ZN18CHalfLifeMultiplay17ItemShouldRespawnEP5CItem", mfunc_ptr_cast(&CHalfLifeMultiplay::ItemShouldRespawn_) }, - { 0x01D92180, "_ZN18CHalfLifeMultiplay17FlItemRespawnTimeEP5CItem", mfunc_ptr_cast(&CHalfLifeMultiplay::FlItemRespawnTime_) }, - { 0x01D92190, "_ZN18CHalfLifeMultiplay18VecItemRespawnSpotEP5CItem", mfunc_ptr_cast(&CHalfLifeMultiplay::VecItemRespawnSpot_) }, - { 0x01D921C0, "_ZN18CHalfLifeMultiplay13PlayerGotAmmoEP11CBasePlayerPci", mfunc_ptr_cast(&CHalfLifeMultiplay::PlayerGotAmmo_) }, - { 0x01D921E0, "_ZN18CHalfLifeMultiplay17AmmoShouldRespawnEP15CBasePlayerAmmo", mfunc_ptr_cast(&CHalfLifeMultiplay::AmmoShouldRespawn_) }, - { 0x01D92200, "_ZN18CHalfLifeMultiplay17FlAmmoRespawnTimeEP15CBasePlayerAmmo", mfunc_ptr_cast(&CHalfLifeMultiplay::FlAmmoRespawnTime_) }, - { 0x01D92210, "_ZN18CHalfLifeMultiplay18VecAmmoRespawnSpotEP15CBasePlayerAmmo", mfunc_ptr_cast(&CHalfLifeMultiplay::VecAmmoRespawnSpot_) }, - { 0x01D92240, "_ZN18CHalfLifeMultiplay27FlHealthChargerRechargeTimeEv", mfunc_ptr_cast(&CHalfLifeMultiplay::FlHealthChargerRechargeTime_) }, - { 0x01D92250, "_ZN18CHalfLifeMultiplay24FlHEVChargerRechargeTimeEv", mfunc_ptr_cast(&CHalfLifeMultiplay::FlHEVChargerRechargeTime_) }, - { 0x01D92260, "_ZN18CHalfLifeMultiplay17DeadPlayerWeaponsEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeMultiplay::DeadPlayerWeapons_) }, - { 0x01D92270, "_ZN18CHalfLifeMultiplay14DeadPlayerAmmoEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeMultiplay::DeadPlayerAmmo_) }, - //{ 0x01D8EDD0, "_ZN18CHalfLifeMultiplay9GetTeamIDEP11CBaseEntity", mfunc_ptr_cast(&CHalfLifeMultiplay::GetTeamID_) }, // DEFAULT - { 0x01D922D0, "_ZN18CHalfLifeMultiplay18PlayerRelationshipEP11CBasePlayerP11CBaseEntity", mfunc_ptr_cast(&CHalfLifeMultiplay::PlayerRelationship_) }, - //{ 0x01D8EDE0, "_ZN18CHalfLifeMultiplay17PlayTextureSoundsEv", mfunc_ptr_cast(&CHalfLifeMultiplay::PlayTextureSounds_) }, // DEFAULT - { 0x01D92450, "_ZN18CHalfLifeMultiplay14FAllowMonstersEv", mfunc_ptr_cast(&CHalfLifeMultiplay::FAllowMonsters_) }, - //{ 0x01D8EE20, "_ZN18CHalfLifeMultiplay18EndMultiplayerGameEv", mfunc_ptr_cast(&CHalfLifeMultiplay::EndMultiplayerGame_) }, // DEFAULT - { 0x01D8B4B0, "_ZN18CHalfLifeMultiplay16ServerDeactivateEv", mfunc_ptr_cast(&CHalfLifeMultiplay::ServerDeactivate_) }, - { 0x01D8DFD0, "_ZN18CHalfLifeMultiplay18CheckMapConditionsEv", mfunc_ptr_cast(&CHalfLifeMultiplay::CheckMapConditions_) }, - { 0x01D8C050, "_ZN18CHalfLifeMultiplay10CleanUpMapEv", mfunc_ptr_cast(&CHalfLifeMultiplay::CleanUpMap_) }, - { 0x01D8E0A0, "_ZN18CHalfLifeMultiplay12RestartRoundEv", mfunc_ptr_cast(&CHalfLifeMultiplay::RestartRound_) }, - { 0x01D8CAF0, "_ZN18CHalfLifeMultiplay18CheckWinConditionsEv", mfunc_ptr_cast(&CHalfLifeMultiplay::CheckWinConditions_) }, - { 0x01D8BF60, "_ZN18CHalfLifeMultiplay10RemoveGunsEv", mfunc_ptr_cast(&CHalfLifeMultiplay::RemoveGuns_) }, - { 0x01D8C340, "_ZN18CHalfLifeMultiplay6GiveC4Ev", mfunc_ptr_cast(&CHalfLifeMultiplay::GiveC4_) }, - { 0x01D93270, "_ZN18CHalfLifeMultiplay11ChangeLevelEv", mfunc_ptr_cast(&CHalfLifeMultiplay::ChangeLevel_) }, - { 0x01D92480, "_ZN18CHalfLifeMultiplay16GoToIntermissionEv", mfunc_ptr_cast(&CHalfLifeMultiplay::GoToIntermission_) }, - //non-virtual func - { 0x01D8B4A0, "_ZN18CHalfLifeMultiplay8IsCareerEv", mfunc_ptr_cast(&CHalfLifeMultiplay::IsCareer) }, - { 0x01D8C800, "_ZN18CHalfLifeMultiplay23QueueCareerRoundEndMenuEfi", mfunc_ptr_cast(&CHalfLifeMultiplay::QueueCareerRoundEndMenu) }, - //{ 0x01D8B470, "_ZN18CHalfLifeMultiplay19SetCareerMatchLimitEii", mfunc_ptr_cast(&CHalfLifeMultiplay::SetCareerMatchLimit) }, // NOXREF - //{ 0x01D8B310, "_ZN18CHalfLifeMultiplay15IsInCareerRoundEv", mfunc_ptr_cast(&CHalfLifeMultiplay::IsInCareerRound) }, // NOXREF - //{ 0x01D908F0, "_ZN18CHalfLifeMultiplay13CareerRestartEv", mfunc_ptr_cast(&CHalfLifeMultiplay::CareerRestart) }, // NOXREF - //{ 0x0, "_ZN18CHalfLifeMultiplay16PlayerJoinedTeamEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeMultiplay::PlayerJoinedTeam) }, // NOXREF - { 0x01D8EC20, "_ZN18CHalfLifeMultiplay8TeamFullEi", mfunc_ptr_cast(&CHalfLifeMultiplay::TeamFull) }, - { 0x01D8ECA0, "_ZN18CHalfLifeMultiplay11TeamStackedEii", mfunc_ptr_cast(&CHalfLifeMultiplay::TeamStacked) }, - { 0x01D8EE30, "_ZN18CHalfLifeMultiplay15IsVIPQueueEmptyEv", mfunc_ptr_cast(&CHalfLifeMultiplay::IsVIPQueueEmpty) }, - { 0x01D8EEA0, "_ZN18CHalfLifeMultiplay13AddToVIPQueueEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeMultiplay::AddToVIPQueue) }, - { 0x01D8F0D0, "_ZN18CHalfLifeMultiplay11PickNextVIPEv", mfunc_ptr_cast(&CHalfLifeMultiplay::PickNextVIP) }, - //{ 0x01D90790, "_ZN18CHalfLifeMultiplay19HasRoundTimeExpiredEv", mfunc_ptr_cast(&CHalfLifeMultiplay::HasRoundTimeExpired) }, // NOXREF - //{ 0x01D90820, "_ZN18CHalfLifeMultiplay13IsBombPlantedEv", mfunc_ptr_cast(&CHalfLifeMultiplay::IsBombPlanted) }, // NOXREF - //{ 0x01D90860, "_ZN18CHalfLifeMultiplay51MarkLivingPlayersOnTeamAsNotReceivingMoneyNextRoundEi", mfunc_ptr_cast(&CHalfLifeMultiplay::MarkLivingPlayersOnTeamAsNotReceivingMoneyNextRound) }, // NOXREF - { 0x01D8EDF0, "_ZN18CHalfLifeMultiplay13StackVIPQueueEv", mfunc_ptr_cast(&CHalfLifeMultiplay::StackVIPQueue) }, - { 0x01D8EFA0, "_ZN18CHalfLifeMultiplay15ResetCurrentVIPEv", mfunc_ptr_cast(&CHalfLifeMultiplay::ResetCurrentVIP) }, - { 0x01D8DDB0, "_ZN18CHalfLifeMultiplay12BalanceTeamsEv", mfunc_ptr_cast(&CHalfLifeMultiplay::BalanceTeams) }, - //{ 0x01D8DC40, "_ZN18CHalfLifeMultiplay14SwapAllPlayersEv", mfunc_ptr_cast(&CHalfLifeMultiplay::SwapAllPlayers) }, // NOXREF - //{ 0x01D8BFE0, "_ZN18CHalfLifeMultiplay16UpdateTeamScoresEv", mfunc_ptr_cast(&CHalfLifeMultiplay::UpdateTeamScores) }, // NOXREF - { 0x01D92DB0, "_ZN18CHalfLifeMultiplay11DisplayMapsEP11CBasePlayeri", mfunc_ptr_cast(&CHalfLifeMultiplay::DisplayMaps) }, - //{ 0x01D92BF0, "_ZN18CHalfLifeMultiplay16ResetAllMapVotesEv", mfunc_ptr_cast(&CHalfLifeMultiplay::ResetAllMapVotes) }, // NOXREF - { 0x01D93080, "_ZN18CHalfLifeMultiplay14ProcessMapVoteEP11CBasePlayeri", mfunc_ptr_cast(&CHalfLifeMultiplay::ProcessMapVote) }, - { 0x01D8EAC0, "_ZN18CHalfLifeMultiplay14IsThereABomberEv", mfunc_ptr_cast(&CHalfLifeMultiplay::IsThereABomber) }, - { 0x01D8EB50, "_ZN18CHalfLifeMultiplay12IsThereABombEv", mfunc_ptr_cast(&CHalfLifeMultiplay::IsThereABomb) }, - //{ 0x0, "_ZN18CHalfLifeMultiplay14IsMatchStartedEv", mfunc_ptr_cast(&CHalfLifeMultiplay::IsMatchStarted) }, // NOXREF - { 0x01D93530, "_ZN18CHalfLifeMultiplay16SendMOTDToClientEP7edict_s", mfunc_ptr_cast(&CHalfLifeMultiplay::SendMOTDToClient) }, - //non class func - //{ 0x0, "", (size_t)&IsBotSpeaking }, // NOXREF - { 0x01D8B010, "_Z13SV_Continue_fv", (size_t)&SV_Continue_f }, - { 0x01D8B0C0, "_Z17SV_Tutor_Toggle_fv", (size_t)&SV_Tutor_Toggle_f }, - { 0x01D8B110, "_Z19SV_Career_Restart_fv", (size_t)&SV_Career_Restart_f }, - { 0x01D8B1F0, "_Z20SV_Career_EndRound_fv", (size_t)&SV_Career_EndRound_f }, - { 0x01D8B350, "_Z18SV_CareerAddTask_fv", (size_t)&SV_CareerAddTask_f }, - { 0x01D8B400, "_Z21SV_CareerMatchLimit_fv", (size_t)&SV_CareerMatchLimit_f }, - { 0x01D8B6E0, "_Z9BroadcastPKc", (size_t)&Broadcast }, - { 0x01D8B780, "_Z7GetTeami", (size_t)&GetTeam }, - //{ 0x01D8B7B0, "_Z15EndRoundMessagePKci", (size_t)&EndRoundMessage }, - //{ 0x01D8BD80, "_ZL18ReadMultiplayCvarsP18CHalfLifeMultiplay", (size_t)&ReadMultiplayCvars }, - //{ 0x01D92670, "_Z15DestroyMapCycleP10mapcycle_s", (size_t)&DestroyMapCycle }, // NOXREF - { 0x01D926B0, "_Z15MP_COM_GetTokenv", (size_t)&MP_COM_GetToken }, - { 0x01D926C0, "_Z12MP_COM_ParsePc", (size_t)&MP_COM_Parse }, - //{ 0x01D927A0, "_Z19MP_COM_TokenWaitingPc", (size_t)&MP_COM_TokenWaiting }, // NOXREF - { 0x01D927F0, "_Z18ReloadMapCycleFilePcP10mapcycle_s", (size_t)&ReloadMapCycleFile }, - //{ 0x01D92AB0, "_Z12CountPlayersv", (size_t)&CountPlayers }, // NOXREF - { 0x01D92AF0, "_Z20ExtractCommandStringPcS_", (size_t)&ExtractCommandString }, - { 0x01D92D10, "_Z11GetMapCountv", (size_t)&GetMapCount }, -//CCStrikeGameMgrHelper - //virtual func - { 0x01D8B630, "_ZN21CCStrikeGameMgrHelper19CanPlayerHearPlayerEP11CBasePlayerS1_", mfunc_ptr_cast(&CCStrikeGameMgrHelper::CanPlayerHearPlayer_) }, -//CMapInfo - //virtual func - { 0x01D8B5E0, "_ZN21CCStrikeGameMgrHelper19CanPlayerHearPlayerEP11CBasePlayerS1_", mfunc_ptr_cast(&CMapInfo::Spawn_) }, - { 0x01D8B540, "_ZN21CCStrikeGameMgrHelper19CanPlayerHearPlayerEP11CBasePlayerS1_", mfunc_ptr_cast(&CMapInfo::KeyValue_) }, -// linked objects - { 0x01D8B4F0, "info_map_parameters", (size_t)&info_map_parameters }, - -#endif // Multiplay_GameRules_Region - -#ifndef Training_Gamerules_Region - -//CHalfLifeTraining - //virtual func - //{ 0x01DBBE50, "_ZN17CHalfLifeTrainingC2Ev", mfunc_ptr_cast(&CHalfLifeTraining::CHalfLifeTraining) } - //{ 0x01DBBE70, "_ZN17CHalfLifeTraining13IsMultiplayerEv", mfunc_ptr_cast(&CHalfLifeTraining::IsMultiplayer_) }, // DEFAULT - { 0x01DBBE90, "_ZN17CHalfLifeTraining12IsDeathmatchEv", mfunc_ptr_cast(&CHalfLifeTraining::IsDeathmatch_) }, - { 0x01DBBEA0, "_ZN17CHalfLifeTraining7InitHUDEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeTraining::InitHUD_) }, // PURE - { 0x01DBC3E0, "_ZN17CHalfLifeTraining11PlayerSpawnEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeTraining::PlayerSpawn_) }, - { 0x01DBC010, "_ZN17CHalfLifeTraining11PlayerThinkEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeTraining::PlayerThink_) }, - { 0x01DBC4C0, "_ZN17CHalfLifeTraining17FPlayerCanRespawnEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeTraining::FPlayerCanRespawn_) }, - { 0x01DBBEE0, "_ZN17CHalfLifeTraining18GetPlayerSpawnSpotEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeTraining::GetPlayerSpawnSpot_) }, - { 0x01DBC4E0, "_ZN17CHalfLifeTraining12PlayerKilledEP11CBasePlayerP9entvars_sS3_", mfunc_ptr_cast(&CHalfLifeTraining::PlayerKilled_) }, - { 0x01DBC4B0, "_ZN17CHalfLifeTraining17ItemShouldRespawnEP5CItem", mfunc_ptr_cast(&CHalfLifeTraining::ItemShouldRespawn_) }, - //{ 0x01DBBE80, "_ZN17CHalfLifeTraining18CheckMapConditionsEv", mfunc_ptr_cast(&CHalfLifeTraining::CheckMapConditions_) }, // PURE - { 0x01DBC510, "_ZN17CHalfLifeTraining18CheckWinConditionsEv", mfunc_ptr_cast(&CHalfLifeTraining::CheckWinConditions_) }, - //non-virtual func - { 0x01DBBEB0, "_ZN17CHalfLifeTraining11HostageDiedEv", mfunc_ptr_cast(&CHalfLifeTraining::HostageDied) }, - { 0x01DBC4D0, "_ZN17CHalfLifeTraining12PlayerCanBuyEP11CBasePlayer", mfunc_ptr_cast(&CHalfLifeTraining::PlayerCanBuy) }, -//CBaseGrenCatch - //virtual func - { 0x01DBC8B0, "_ZN14CBaseGrenCatch5SpawnEv", mfunc_ptr_cast(&CBaseGrenCatch::Spawn_) }, - { 0x01DBCC00, "_ZN14CBaseGrenCatch8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CBaseGrenCatch::KeyValue_) }, - { 0x01DBC7F0, "_ZN14CBaseGrenCatch4SaveER5CSave", mfunc_ptr_cast(&CBaseGrenCatch::Save_) }, - { 0x01DBC820, "_ZN14CBaseGrenCatch7RestoreER8CRestore", mfunc_ptr_cast(&CBaseGrenCatch::Restore_) }, - //{ 0x01DBC8A0, "_ZN14CBaseGrenCatch10ObjectCapsEv", mfunc_ptr_cast(&CBaseGrenCatch::ObjectCaps_) }, // DEFAULT - { 0x01DBC970, "_ZN14CBaseGrenCatch5ThinkEv", mfunc_ptr_cast(&CBaseGrenCatch::Think_) }, - { 0x01DBC930, "_ZN14CBaseGrenCatch5TouchEP11CBaseEntity", mfunc_ptr_cast(&CBaseGrenCatch::Touch_) }, -//CFuncWeaponCheck - //virtual func - { 0x01DBCCE0, "_ZN16CFuncWeaponCheck5SpawnEv", mfunc_ptr_cast(&CFuncWeaponCheck::Spawn_) }, - { 0x01DBCF70, "_ZN16CFuncWeaponCheck8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CFuncWeaponCheck::KeyValue_) }, - { 0x01DBCD50, "_ZN16CFuncWeaponCheck4SaveER5CSave", mfunc_ptr_cast(&CFuncWeaponCheck::Save_) }, - { 0x01DBCD80, "_ZN16CFuncWeaponCheck7RestoreER8CRestore", mfunc_ptr_cast(&CFuncWeaponCheck::Restore_) }, - { 0x01DBCE00, "_ZN16CFuncWeaponCheck5TouchEP11CBaseEntity", mfunc_ptr_cast(&CFuncWeaponCheck::Touch_) }, -// linked objects - { 0x01DBC850, "func_grencatch", (size_t)&func_grencatch }, - { 0x01DBCDB0, "func_weaponcheck", (size_t)&func_weaponcheck }, - -#endif // Training_Gamerules_Region - -#ifndef CareerTasks_Region - -//CCareerTask - //{ 0x01DDCBD0, "_ZN11CCareerTaskC2EPKc13GameEventTypeS1_ibbib", mfunc_ptr_cast(&CCareerTask::CCareerTask) }, - //virtual func - { 0x01DDD150, "_ZN11CCareerTask7OnEventE13GameEventTypeP11CBasePlayerS2_", mfunc_ptr_cast(&CCareerTask::OnEvent_) }, - { 0x01DDCCD0, "_ZN11CCareerTask5ResetEv", mfunc_ptr_cast(&CCareerTask::Reset_) }, - //{ 0x01DDDDE0, "_ZNK11CCareerTask26IsTaskCompletableThisRoundEv", mfunc_ptr_cast(&CCareerTask::IsTaskCompletableThisRound_) }, // DEFAULT - //non-virtual func - { 0x01DDCB80, "_ZN11CCareerTask7NewTaskEPKc13GameEventTypeS1_ibbib", mfunc_ptr_cast(&CCareerTask::NewTask) }, - { 0x01DDCDB0, "_ZN11CCareerTask12OnWeaponKillEiibbP11CBasePlayerS1_", mfunc_ptr_cast(&CCareerTask::OnWeaponKill) }, - { 0x01DDD000, "_ZN11CCareerTask14OnWeaponInjuryEiibP11CBasePlayer", mfunc_ptr_cast(&CCareerTask::OnWeaponInjury) }, - //{ 0x0, "_ZN11CCareerTask10IsCompleteEv", mfunc_ptr_cast(&CCareerTask::IsComplete) }, - //{ 0x0, "_ZN11CCareerTask11GetTaskNameEv", mfunc_ptr_cast(&CCareerTask::GetTaskName) }, - //{ 0x0, "_ZN11CCareerTask11GetWeaponIdEv", mfunc_ptr_cast(&CCareerTask::GetWeaponId) }, - //{ 0x0, "_ZN11CCareerTask16GetWeaponClassIdEv", mfunc_ptr_cast(&CCareerTask::GetWeaponClassId) }, - //{ 0x0, "_ZNK11CCareerTask10IsValidForEP11CBasePlayer ", mfunc_ptr_cast(&CCareerTask::IsValidFor) }, - //{ 0x01DDCD50, "_ZN11CCareerTask23SendPartialNotificationEv", mfunc_ptr_cast(&CCareerTask::SendPartialNotification) }, // NOXREF -//CCareerTaskManager - //{ 0x01DDD7C0, "_ZN18CCareerTaskManagerC2Ev", mfunc_ptr_cast(&CCareerTaskManager::CCareerTaskManager) }, - //{ 0x01DDD750, "_ZN18CCareerTaskManager6CreateEv", mfunc_ptr_cast(&CCareerTaskManager::Create) }, - { 0x01DDD800, "_ZN18CCareerTaskManager5ResetEb", mfunc_ptr_cast(&CCareerTaskManager::Reset) }, - { 0x01DDD8D0, "_ZN18CCareerTaskManager7AddTaskEPKcS1_ibbb", mfunc_ptr_cast(&CCareerTaskManager::AddTask) }, - { 0x01DDDA00, "_ZN18CCareerTaskManager11HandleEventE13GameEventTypeP11CBasePlayerS2_", mfunc_ptr_cast(&CCareerTaskManager::HandleEvent) }, - { 0x01DDDAB0, "_ZN18CCareerTaskManager15HandleEnemyKillEbPKcbbP11CBasePlayerS3_", mfunc_ptr_cast(&CCareerTaskManager::HandleEnemyKill) }, - //{ 0x01DDDA60, "_ZN18CCareerTaskManager16HandleWeaponKillEiibbP11CBasePlayerS1_", mfunc_ptr_cast(&CCareerTaskManager::HandleWeaponKill) }, // NOXREF - { 0x01DDDC30, "_ZN18CCareerTaskManager11HandleDeathEiP11CBasePlayer", mfunc_ptr_cast(&CCareerTaskManager::HandleDeath) }, - //{ 0x01DDDB80, "_ZN18CCareerTaskManager18HandleWeaponInjuryEiibP11CBasePlayer", mfunc_ptr_cast(&CCareerTaskManager::HandleWeaponInjury) }, // NOXREF - { 0x01DDDBC0, "_ZN18CCareerTaskManager17HandleEnemyInjuryEPKcbP11CBasePlayer", mfunc_ptr_cast(&CCareerTaskManager::HandleEnemyInjury) }, - { 0x01DDDCD0, "_ZN18CCareerTaskManager19AreAllTasksCompleteEv", mfunc_ptr_cast(&CCareerTaskManager::AreAllTasksComplete) }, - { 0x01DDDD00, "_ZN18CCareerTaskManager20GetNumRemainingTasksEv", mfunc_ptr_cast(&CCareerTaskManager::GetNumRemainingTasks) }, - { 0x01DDDD30, "_ZN18CCareerTaskManager19GetRoundElapsedTimeEv", mfunc_ptr_cast(&CCareerTaskManager::GetRoundElapsedTime) }, - //{ 0x0, "_ZN18CCareerTaskManager11GetTaskTimeEv", mfunc_ptr_cast(&CCareerTaskManager::GetTaskTime) }, - //{ 0x01DDD8B0, "_ZN18CCareerTaskManager19SetFinishedTaskTimeEi", mfunc_ptr_cast(&CCareerTaskManager::SetFinishedTaskTime) }, // NOXREF - //{ 0x0, "_ZN18CCareerTaskManager19GetFinishedTaskTimeEv", mfunc_ptr_cast(&CCareerTaskManager::GetFinishedTaskTime) }, - //{ 0x0, "_ZN18CCareerTaskManager20GetFinishedTaskRoundEv", mfunc_ptr_cast(&CCareerTaskManager::GetFinishedTaskRound) }, - //{ 0x0, "_ZN18CCareerTaskManager8GetTasksEv", mfunc_ptr_cast(&CCareerTaskManager::GetTasks) }, - { 0x01DDDD40, "_ZN18CCareerTaskManager20LatchRoundEndMessageEv", mfunc_ptr_cast(&CCareerTaskManager::LatchRoundEndMessage) }, - { 0x01DDDD50, "_ZN18CCareerTaskManager22UnlatchRoundEndMessageEv", mfunc_ptr_cast(&CCareerTaskManager::UnlatchRoundEndMessage) }, -//CPreventDefuseTask - //virtual func - //{ 0x01DDCA60, "_ZN18CPreventDefuseTaskC2EPKc13GameEventTypeS1_ibbib", mfunc_ptr_cast(&CPreventDefuseTask::CPreventDefuseTask) }, - { 0x01DDCB30, "_ZN18CPreventDefuseTask7OnEventE13GameEventTypeP11CBasePlayerS2_", mfunc_ptr_cast(&CPreventDefuseTask::OnEvent_) }, - { 0x01DDCAB0, "_ZN18CPreventDefuseTask5ResetEv", mfunc_ptr_cast(&CPreventDefuseTask::Reset_) }, - //{ 0x01DDDDF0, "_ZNK18CPreventDefuseTask26IsTaskCompletableThisRoundEv", mfunc_ptr_cast(&CPreventDefuseTask::IsTaskCompletableThisRound_) }, // DEFAULT - //non-virtual func - //{ 0x01DDCA00, "_ZN18CPreventDefuseTask7NewTaskEPKc13GameEventTypeS1_ibbib", mfunc_ptr_cast(&CPreventDefuseTask::NewTask) }, - -#endif // CareerTasks_Region - -#ifndef Weapons_Region - -//Weapons base - //{ 0x01DCCD60, "_Z12MaxAmmoCarryi", (size_t)&MaxAmmoCarry }, // NOXREF - { 0x01DCCE60, "_Z16ClearMultiDamagev", (size_t)&ClearMultiDamage }, - { 0x01DCCE80, "_Z16ApplyMultiDamageP9entvars_sS0_", (size_t)&ApplyMultiDamage }, - { 0x01DCCEB0, "_Z14AddMultiDamageP9entvars_sP11CBaseEntityfi", (size_t)&AddMultiDamage }, - { 0x01DCCF20, "_Z10SpawnBlood6Vectorif", (size_t)&SpawnBlood }, - //{ 0x01DCCF50, "_Z11DamageDecalP11CBaseEntityi", (size_t)&DamageDecal }, // NOXREF - //{ 0x01DCCF80, "_Z12DecalGunshotP11TraceResultibP9entvars_sb", (size_t)&DecalGunshot }, // NOXREF - { 0x01DCCF90, "_Z10EjectBrassRK6VectorS1_S1_fiii", (size_t)&EjectBrass }, - //{ 0x01DCD080, "_Z11EjectBrass2RK6VectorS1_fiiP9entvars_s", (size_t)&EjectBrass2 }, // NOXREF - //{ 0x01DCD120, "_Z25AddAmmoNameToAmmoRegistryPKc", (size_t)&AddAmmoNameToAmmoRegistry }, // NOXREF - { 0x01DCD180, "_Z24UTIL_PrecacheOtherWeaponPKc", (size_t)&UTIL_PrecacheOtherWeapon }, - //{ 0x01DCD310, "_Z25UTIL_PrecacheOtherWeapon2PKc", (size_t)&UTIL_PrecacheOtherWeapon2 }, // NOXREF - { 0x01DCD4A0, "_Z10W_Precachev", (size_t)&W_Precache }, - //{ 0x01DCE600, "_Z9CanAttackffi", (size_t)&CanAttack }, // NOXREF -//CBasePlayerItem - //virtual func - //{ 0x01DCD860, "_ZN15CBasePlayerItem4SaveER5CSave", mfunc_ptr_cast(&CBasePlayerItem::Save_) }, // NOXREF - //{ 0x01DCD890, "_ZN15CBasePlayerItem7RestoreER8CRestore", mfunc_ptr_cast(&CBasePlayerItem::Restore_) }, // NOXREF - { 0x01DCD960, "_ZN15CBasePlayerItem21SetObjectCollisionBoxEv", mfunc_ptr_cast(&CBasePlayerItem::SetObjectCollisionBox_) }, - { 0x01DCDC80, "_ZN15CBasePlayerItem7RespawnEv", mfunc_ptr_cast(&CBasePlayerItem::Respawn_) }, - //{ 0x01DCEC60, "_ZN15CBasePlayerItem11AddToPlayerEP11CBasePlayer", mfunc_ptr_cast(&CBasePlayerItem::AddToPlayer_) }, // NOXREF - //{ 0x0, "_ZN15CBasePlayerItem12AddDuplicateEPS_", mfunc_ptr_cast(&CBasePlayerItem::AddDuplicate_) }, // NOXREF - //{ 0x0, "_ZN15CBasePlayerItem11GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CBasePlayerItem::GetItemInfo_) }, - //{ 0x0, "_ZN15CBasePlayerItem9CanDeployEv", mfunc_ptr_cast(&CBasePlayerItem::CanDeploy_) }, - //{ 0x01D01FF0, "_ZN15CBasePlayerItem7CanDropEv", mfunc_ptr_cast(&CBasePlayerItem::CanDrop_) }, - //{ 0x0, "_ZN15CBasePlayerItem6DeployEv", mfunc_ptr_cast(&CBasePlayerItem::Deploy) }, - //{ 0x0, "_ZN15CBasePlayerItem8IsWeaponEv", mfunc_ptr_cast(&CBasePlayerItem::IsWeapon) }, - //{ 0x01D02000, "_ZN15CBasePlayerItem10CanHolsterEv", mfunc_ptr_cast(&CBasePlayerItem::CanHolster) }, - //{ 0x01DCED10, "_ZN15CBasePlayerItem7HolsterEi", mfunc_ptr_cast(&CBasePlayerItem::Holster) }, // NOXREF - //{ 0x0, "_ZN15CBasePlayerItem14UpdateItemInfoEv", mfunc_ptr_cast(&CBasePlayerItem::UpdateItemInfo) }, // NOXREF - //{ 0x01D02010, "_ZN15CBasePlayerItem12ItemPreFrameEv", mfunc_ptr_cast(&CBasePlayerItem::ItemPreFrame) }, // NOXREF PURE - //{ 0x0, "_ZN15CBasePlayerItem13ItemPostFrameEv", mfunc_ptr_cast(&CBasePlayerItem::ItemPostFrame) }, - { 0x01DCECB0, "_ZN15CBasePlayerItem4DropEv", mfunc_ptr_cast(&CBasePlayerItem::Drop_) }, - { 0x01DCECE0, "_ZN15CBasePlayerItem4KillEv", mfunc_ptr_cast(&CBasePlayerItem::Kill_) }, - { 0x01DCED40, "_ZN15CBasePlayerItem14AttachToPlayerEP11CBasePlayer", mfunc_ptr_cast(&CBasePlayerItem::AttachToPlayer_) }, - //{ 0x0, "_ZN15CBasePlayerItem16PrimaryAmmoIndexEv", mfunc_ptr_cast(&CBasePlayerItem::PrimaryAmmoIndex) }, - //{ 0x0, "_ZN15CBasePlayerItem18SecondaryAmmoIndexEv", mfunc_ptr_cast(&CBasePlayerItem::SecondaryAmmoIndex) }, - //{ 0x0, "_ZN15CBasePlayerItem16UpdateClientDataEP11CBasePlayer", mfunc_ptr_cast(&CBasePlayerItem::UpdateClientData) }, - //{ 0x0, "_ZN15CBasePlayerItem12GetWeaponPtrEv", mfunc_ptr_cast(&CBasePlayerItem::GetWeaponPtr) }, - //{ 0x01D861A0, "_ZN15CBasePlayerItem11GetMaxSpeedEv", mfunc_ptr_cast(&CBasePlayerItem::GetMaxSpeed) }, - //{ 0x0, "_ZN15CBasePlayerItem9iItemSlotEv", mfunc_ptr_cast(&CBasePlayerItem::iItemSlot) }, - //non-virtual func - { 0x01DCEC40, "_ZN15CBasePlayerItem11DestroyItemEv", mfunc_ptr_cast(&CBasePlayerItem::DestroyItem) }, - { 0x01DCDD50, "_ZN15CBasePlayerItem12DefaultTouchEP11CBaseEntity", mfunc_ptr_cast(&CBasePlayerItem::DefaultTouch) }, - { 0x01DCDAA0, "_ZN15CBasePlayerItem9FallThinkEv", mfunc_ptr_cast(&CBasePlayerItem::FallThink) }, - { 0x01DCDB30, "_ZN15CBasePlayerItem11MaterializeEv", mfunc_ptr_cast(&CBasePlayerItem::Materialize) }, - { 0x01DCDC10, "_ZN15CBasePlayerItem20AttemptToMaterializeEv", mfunc_ptr_cast(&CBasePlayerItem::AttemptToMaterialize) }, - { 0x01DCDA00, "_ZN15CBasePlayerItem8FallInitEv", mfunc_ptr_cast(&CBasePlayerItem::FallInit) }, - { 0x01DCDC50, "_ZN15CBasePlayerItem12CheckRespawnEv", mfunc_ptr_cast(&CBasePlayerItem::CheckRespawn) }, - //{ 0x0, "_ZN15CBasePlayerItem8pszAmmo1Ev", mfunc_ptr_cast(&CBasePlayerItem::pszAmmo1) }, - //{ 0x0, "_ZN15CBasePlayerItem9iMaxAmmo1Ev", mfunc_ptr_cast(&CBasePlayerItem::iMaxAmmo1) }, - //{ 0x0, "_ZN15CBasePlayerItem8pszAmmo2Ev", mfunc_ptr_cast(&CBasePlayerItem::pszAmmo2) }, - //{ 0x0, "_ZN15CBasePlayerItem9iMaxAmmo2Ev", mfunc_ptr_cast(&CBasePlayerItem::iMaxAmmo2) }, - //{ 0x0, "_ZN15CBasePlayerItem7pszNameEv", mfunc_ptr_cast(&CBasePlayerItem::pszName) }, - //{ 0x0, "_ZN15CBasePlayerItem8iMaxClipEv", mfunc_ptr_cast(&CBasePlayerItem::iMaxClip) }, - //{ 0x0, "_ZN15CBasePlayerItem7iWeightEv", mfunc_ptr_cast(&CBasePlayerItem::iWeight) }, - //{ 0x0, "_ZN15CBasePlayerItem6iFlagsEv", mfunc_ptr_cast(&CBasePlayerItem::iFlags) }, -//CBasePlayerWeapon - //virtual func - { 0x01DCD8C0, "_ZN17CBasePlayerWeapon4SaveER5CSave", mfunc_ptr_cast(&CBasePlayerWeapon::Save_) }, - { 0x01DCD910, "_ZN17CBasePlayerWeapon7RestoreER8CRestore", mfunc_ptr_cast(&CBasePlayerWeapon::Restore_) }, - { 0x01DCEDE0, "_ZN17CBasePlayerWeapon11AddToPlayerEP11CBasePlayer", mfunc_ptr_cast(&CBasePlayerWeapon::AddToPlayer_) }, - { 0x01DCEDC0, "_ZN17CBasePlayerWeapon12AddDuplicateEP15CBasePlayerItem", mfunc_ptr_cast(&CBasePlayerWeapon::AddDuplicate_) }, - { 0x01DCF1A0, "_ZN17CBasePlayerWeapon9CanDeployEv", mfunc_ptr_cast(&CBasePlayerWeapon::CanDeploy_) }, - //{ 0x01D02050, "_ZN17CBasePlayerWeapon8IsWeaponEv", mfunc_ptr_cast(&CBasePlayerWeapon::IsWeapon_) }, // DEFAULT - { 0x01DCF570, "_ZN17CBasePlayerWeapon7HolsterEi", mfunc_ptr_cast(&CBasePlayerWeapon::Holster_) }, - //{ 0x01D02030, "_ZN17CBasePlayerWeapon14UpdateItemInfoEv", mfunc_ptr_cast(&CBasePlayerWeapon::UpdateItemInfo_) }, // NOXREF PURE - { 0x01DCE6A0, "_ZN17CBasePlayerWeapon13ItemPostFrameEv", mfunc_ptr_cast(&CBasePlayerWeapon::ItemPostFrame_) }, - { 0x01DCF550, "_ZN17CBasePlayerWeapon16PrimaryAmmoIndexEv", mfunc_ptr_cast(&CBasePlayerWeapon::PrimaryAmmoIndex_) }, - { 0x01DCF560, "_ZN17CBasePlayerWeapon18SecondaryAmmoIndexEv", mfunc_ptr_cast(&CBasePlayerWeapon::SecondaryAmmoIndex_) }, - { 0x01DCEEB0, "_ZN17CBasePlayerWeapon16UpdateClientDataEP11CBasePlayer", mfunc_ptr_cast(&CBasePlayerWeapon::UpdateClientData_) }, - //{ 0x01D02060, "_ZN17CBasePlayerWeapon12GetWeaponPtrEv", mfunc_ptr_cast(&CBasePlayerWeapon::GetWeaponPtr_) }, - { 0x01DCF7E0, "_ZN17CBasePlayerWeapon11ExtractAmmoEPS_", mfunc_ptr_cast(&CBasePlayerWeapon::ExtractAmmo_) }, - { 0x01DCF8A0, "_ZN17CBasePlayerWeapon15ExtractClipAmmoEPS_", mfunc_ptr_cast(&CBasePlayerWeapon::ExtractClipAmmo_) }, - //{ 0x01D02020, "_ZN17CBasePlayerWeapon9AddWeaponEv", mfunc_ptr_cast(&CBasePlayerWeapon::AddWeapon_) }, - { 0x01DCF4C0, "_ZN17CBasePlayerWeapon14PlayEmptySoundEv", mfunc_ptr_cast(&CBasePlayerWeapon::PlayEmptySound_) }, - { 0x01DCF540, "_ZN17CBasePlayerWeapon15ResetEmptySoundEv", mfunc_ptr_cast(&CBasePlayerWeapon::ResetEmptySound_) }, - { 0x01DCEFB0, "_ZN17CBasePlayerWeapon14SendWeaponAnimEii", mfunc_ptr_cast(&CBasePlayerWeapon::SendWeaponAnim_) }, - { 0x01DCF150, "_ZN17CBasePlayerWeapon9IsUseableEv", mfunc_ptr_cast(&CBasePlayerWeapon::IsUseable_) }, - //{ 0x0, "_ZN17CBasePlayerWeapon13PrimaryAttackEv", mfunc_ptr_cast(&CBasePlayerWeapon::PrimaryAttack_) }, - //{ 0x01D03A50, "_ZN17CBasePlayerWeapon15SecondaryAttackEv", mfunc_ptr_cast(&CBasePlayerWeapon::SecondaryAttack_) }, // PURE - //{ 0x01D03A60, "_ZN17CBasePlayerWeapon6ReloadEv", mfunc_ptr_cast(&CBasePlayerWeapon::Reload_) }, // PURE - //{ 0x01D861B0, "_ZN17CBasePlayerWeapon10WeaponIdleEv", mfunc_ptr_cast(&CBasePlayerWeapon::WeaponIdle_) }, // PURE - { 0x01DCF8F0, "_ZN17CBasePlayerWeapon12RetireWeaponEv", mfunc_ptr_cast(&CBasePlayerWeapon::RetireWeapon_) }, - //{ 0x01D02040, "_ZN17CBasePlayerWeapon16ShouldWeaponIdleEv", mfunc_ptr_cast(&CBasePlayerWeapon::ShouldWeaponIdle_) }, - //{ 0x01D861C0, "_ZN17CBasePlayerWeapon12UseDecrementEv", mfunc_ptr_cast(&CBasePlayerWeapon::UseDecrement_) }, - //non-virtual func - { 0x01DCF030, "_ZN17CBasePlayerWeapon14AddPrimaryAmmoEiPcii", mfunc_ptr_cast(&CBasePlayerWeapon::AddPrimaryAmmo) }, - //{ 0x01DCF0F0, "_ZN17CBasePlayerWeapon16AddSecondaryAmmoEiPci", mfunc_ptr_cast(&CBasePlayerWeapon::AddSecondaryAmmo) }, // NOXREF - { 0x01DCF1B0, "_ZN17CBasePlayerWeapon13DefaultDeployEPcS0_iS0_i", mfunc_ptr_cast(&CBasePlayerWeapon::DefaultDeploy) }, - { 0x01DCF430, "_ZN17CBasePlayerWeapon13DefaultReloadEiif", mfunc_ptr_cast(&CBasePlayerWeapon::DefaultReload) }, - { 0x01DCE380, "_ZN17CBasePlayerWeapon13FireRemainingERiRfi", mfunc_ptr_cast(&CBasePlayerWeapon::FireRemaining) }, - //{ 0x01DCE260, "_ZN17CBasePlayerWeapon8KickBackEffffffi", mfunc_ptr_cast(&CBasePlayerWeapon::KickBack) }, - { 0x01DCDEA0, "_ZN17CBasePlayerWeapon14EjectBrassLateEv", mfunc_ptr_cast(&CBasePlayerWeapon::EjectBrassLate) }, - //{ 0x0, "_ZN17CBasePlayerWeapon8MakeBeamEv", mfunc_ptr_cast(&CBasePlayerWeapon::MakeBeam) }, - //{ 0x0, "_ZN17CBasePlayerWeapon10BeamUpdateEv", mfunc_ptr_cast(&CBasePlayerWeapon::BeamUpdate) }, - { 0x01DCF2D0, "_ZN17CBasePlayerWeapon11ReloadSoundEv", mfunc_ptr_cast(&CBasePlayerWeapon::ReloadSound) }, - { 0x01DCF930, "_ZN17CBasePlayerWeapon18GetNextAttackDelayEf", mfunc_ptr_cast(&CBasePlayerWeapon::GetNextAttackDelay) }, - //{ 0x01DCE630, "_ZN17CBasePlayerWeapon18HasSecondaryAttackEv", mfunc_ptr_cast(&CBasePlayerWeapon::HasSecondaryAttack) }, // NOXREF - { 0x01D32670, "_ZN17CBasePlayerWeapon8IsPistolEv", mfunc_ptr_cast(&CBasePlayerWeapon::IsPistol) }, - { 0x01DCDE10, "_ZN17CBasePlayerWeapon19SetPlayerShieldAnimEv", mfunc_ptr_cast(&CBasePlayerWeapon::SetPlayerShieldAnim) }, - { 0x01DCDE60, "_ZN17CBasePlayerWeapon21ResetPlayerShieldAnimEv", mfunc_ptr_cast(&CBasePlayerWeapon::ResetPlayerShieldAnim) }, - { 0x01DCE140, "_ZN17CBasePlayerWeapon19ShieldSecondaryFireEii", mfunc_ptr_cast(&CBasePlayerWeapon::ShieldSecondaryFire) }, -//CBasePlayerAmmo - //virtual func - { 0x01DCF5A0, "_ZN15CBasePlayerAmmo5SpawnEv", mfunc_ptr_cast(&CBasePlayerAmmo::Spawn_) }, - //{ 0x0, "_ZN15CBasePlayerAmmo7AddAmmoEP11CBaseEntity", mfunc_ptr_cast(&CBasePlayerAmmo::AddAmmo_) }, - { 0x01DCF650, "_ZN15CBasePlayerAmmo7RespawnEv", mfunc_ptr_cast(&CBasePlayerAmmo::Respawn_) }, - //non-virtual func -//CBasePlayerAmmo - { 0x01DCF6C0, "_ZN15CBasePlayerAmmo11MaterializeEv", mfunc_ptr_cast(&CBasePlayerAmmo::Materialize) }, - { 0x01DCF730, "_ZN15CBasePlayerAmmo12DefaultTouchEP11CBaseEntity", mfunc_ptr_cast(&CBasePlayerAmmo::DefaultTouch) }, -//C9MMAmmo - { 0x01D59550, "_ZN8C9MMAmmo5SpawnEv", mfunc_ptr_cast(&C9MMAmmo::Spawn_) }, - { 0x01D59580, "_ZN8C9MMAmmo8PrecacheEv", mfunc_ptr_cast(&C9MMAmmo::Precache_) }, - { 0x01D595A0, "_ZN8C9MMAmmo7AddAmmoEP11CBaseEntity", mfunc_ptr_cast(&C9MMAmmo::AddAmmo_) }, - //non-virtual func - { 0x01D59500, "ammo_9mm", (size_t)&ammo_9mm }, -//CBuckShotAmmo - { 0x01D59640, "_ZN13CBuckShotAmmo5SpawnEv", mfunc_ptr_cast(&CBuckShotAmmo::Spawn_) }, - { 0x01D59670, "_ZN13CBuckShotAmmo8PrecacheEv", mfunc_ptr_cast(&CBuckShotAmmo::Precache_) }, - { 0x01D59690, "_ZN13CBuckShotAmmo7AddAmmoEP11CBaseEntity", mfunc_ptr_cast(&CBuckShotAmmo::AddAmmo_) }, - //non-virtual func - { 0x01D595F0, "ammo_buckshot", (size_t)&ammo_buckshot }, -//C556NatoAmmo - { 0x01D59730, "_ZN12C556NatoAmmo5SpawnEv", mfunc_ptr_cast(&C556NatoAmmo::Spawn_) }, - { 0x01D59760, "_ZN12C556NatoAmmo8PrecacheEv", mfunc_ptr_cast(&C556NatoAmmo::Precache_) }, - { 0x01D59780, "_ZN12C556NatoAmmo7AddAmmoEP11CBaseEntity", mfunc_ptr_cast(&C556NatoAmmo::AddAmmo_) }, - //non-virtual func - { 0x01D596E0, "ammo_556nato", (size_t)&ammo_556nato }, -//C556NatoBoxAmmo - { 0x01D59820, "_ZN15C556NatoBoxAmmo5SpawnEv", mfunc_ptr_cast(&C556NatoBoxAmmo::Spawn_) }, - { 0x01D59850, "_ZN15C556NatoBoxAmmo8PrecacheEv", mfunc_ptr_cast(&C556NatoBoxAmmo::Precache_) }, - { 0x01D59870, "_ZN15C556NatoBoxAmmo7AddAmmoEP11CBaseEntity", mfunc_ptr_cast(&C556NatoBoxAmmo::AddAmmo_) }, - //non-virtual func - { 0x01D597D0, "ammo_556natobox", (size_t)&ammo_556natobox }, -//C762NatoAmmo - { 0x01D59920, "_ZN12C762NatoAmmo5SpawnEv", mfunc_ptr_cast(&C762NatoAmmo::Spawn_) }, - { 0x01D59950, "_ZN12C762NatoAmmo8PrecacheEv", mfunc_ptr_cast(&C762NatoAmmo::Precache_) }, - { 0x01D59970, "_ZN12C762NatoAmmo7AddAmmoEP11CBaseEntity", mfunc_ptr_cast(&C762NatoAmmo::AddAmmo_) }, - //non-virtual func - { 0x01D598D0, "ammo_762nato", (size_t)&ammo_762nato }, -//C45ACPAmmo - { 0x01D59A10, "_ZN10C45ACPAmmo5SpawnEv", mfunc_ptr_cast(&C45ACPAmmo::Spawn_) }, - { 0x01D59A40, "_ZN10C45ACPAmmo8PrecacheEv", mfunc_ptr_cast(&C45ACPAmmo::Precache_) }, - { 0x01D59A60, "_ZN10C45ACPAmmo7AddAmmoEP11CBaseEntity", mfunc_ptr_cast(&C45ACPAmmo::AddAmmo_) }, - //non-virtual func - { 0x01D599C0, "ammo_45acp", (size_t)&ammo_45acp }, -//C50AEAmmo - { 0x01D59B00, "_ZN9C50AEAmmo5SpawnEv", mfunc_ptr_cast(&C50AEAmmo::Spawn_) }, - { 0x01D59B30, "_ZN9C50AEAmmo8PrecacheEv", mfunc_ptr_cast(&C50AEAmmo::Precache_) }, - { 0x01D59B50, "_ZN9C50AEAmmo7AddAmmoEP11CBaseEntity", mfunc_ptr_cast(&C50AEAmmo::AddAmmo_) }, - //non-virtual func - { 0x01D59AB0, "ammo_50ae", (size_t)&ammo_50ae }, -//C338MagnumAmmo - { 0x01D59BF0, "_ZN14C338MagnumAmmo5SpawnEv", mfunc_ptr_cast(&C338MagnumAmmo::Spawn_) }, - { 0x01D59C20, "_ZN14C338MagnumAmmo8PrecacheEv", mfunc_ptr_cast(&C338MagnumAmmo::Precache_) }, - { 0x01D59C40, "_ZN14C338MagnumAmmo7AddAmmoEP11CBaseEntity", mfunc_ptr_cast(&C338MagnumAmmo::AddAmmo_) }, - //non-virtual func - { 0x01D59BA0, "ammo_338magnum", (size_t)&ammo_338magnum }, -//C57MMAmmo - { 0x01D59CE0, "_ZN9C57MMAmmo5SpawnEv", mfunc_ptr_cast(&C57MMAmmo::Spawn_) }, - { 0x01D59D10, "_ZN9C57MMAmmo8PrecacheEv", mfunc_ptr_cast(&C57MMAmmo::Precache_) }, - { 0x01D59D30, "_ZN9C57MMAmmo7AddAmmoEP11CBaseEntity", mfunc_ptr_cast(&C57MMAmmo::AddAmmo_) }, - //non-virtual func - { 0x01D59C90, "ammo_57mm", (size_t)&ammo_57mm }, -//C357SIGAmmo - { 0x01D59DD0, "_ZN11C357SIGAmmo5SpawnEv", mfunc_ptr_cast(&C357SIGAmmo::Spawn_) }, - { 0x01D59E00, "_ZN11C357SIGAmmo8PrecacheEv", mfunc_ptr_cast(&C357SIGAmmo::Precache_) }, - { 0x01D59E20, "_ZN11C357SIGAmmo7AddAmmoEP11CBaseEntity", mfunc_ptr_cast(&C357SIGAmmo::AddAmmo_) }, - //non-virtual func - { 0x01D59D80, "ammo_357sig", (size_t)&ammo_357sig }, -//CWeaponBox - //virtual func - { 0x01DCFD80, "_ZN10CWeaponBox5SpawnEv", mfunc_ptr_cast(&CWeaponBox::Spawn_) }, - { 0x01DCFA40, "_ZN10CWeaponBox8PrecacheEv", mfunc_ptr_cast(&CWeaponBox::Precache_) }, - { 0x01DCFA50, "_ZN10CWeaponBox8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CWeaponBox::KeyValue_) }, - { 0x01DCF9E0, "_ZN10CWeaponBox4SaveER5CSave", mfunc_ptr_cast(&CWeaponBox::Save_) }, - { 0x01DCFA10, "_ZN10CWeaponBox7RestoreER8CRestore", mfunc_ptr_cast(&CWeaponBox::Restore_) }, - { 0x01DD0970, "_ZN10CWeaponBox21SetObjectCollisionBoxEv", mfunc_ptr_cast(&CWeaponBox::SetObjectCollisionBox_) }, - { 0x01DCFE30, "_ZN10CWeaponBox5TouchEP11CBaseEntity", mfunc_ptr_cast(&CWeaponBox::Touch_) }, - //non-virtual func - { 0x01DCF990, "weaponbox", (size_t)&weaponbox }, - //{ 0x01DD0930, "_ZN10CWeaponBox7IsEmptyEv", mfunc_ptr_cast(&CWeaponBox::IsEmpty) }, // NOXREF - { 0x01DD07C0, "_ZN10CWeaponBox8GiveAmmoEiPciPi", mfunc_ptr_cast(&CWeaponBox::GiveAmmo) }, - { 0x01DCFDE0, "_ZN10CWeaponBox4KillEv", mfunc_ptr_cast(&CWeaponBox::Kill) }, - { 0x01DCFBF0, "_ZN10CWeaponBox9BombThinkEv", mfunc_ptr_cast(&CWeaponBox::BombThink) }, //export func - //{ 0x01DD08A0, "_ZN10CWeaponBox9HasWeaponEP15CBasePlayerItem", mfunc_ptr_cast(&CWeaponBox::HasWeapon) }, // NOXREF - { 0x01DD0500, "_ZN10CWeaponBox10PackWeaponEP15CBasePlayerItem", mfunc_ptr_cast(&CWeaponBox::PackWeapon) }, - { 0x01DD0670, "_ZN10CWeaponBox8PackAmmoEii", mfunc_ptr_cast(&CWeaponBox::PackAmmo) }, -//CUSP - //virtual func - { 0x01D0F8B0, "_ZN4CUSP5SpawnEv", mfunc_ptr_cast(&CUSP::Spawn_) }, - { 0x01D0F910, "_ZN4CUSP8PrecacheEv", mfunc_ptr_cast(&CUSP::Precache_) }, - { 0x01D0F9D0, "_ZN4CUSP11GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CUSP::GetItemInfo_) }, - { 0x01D0FA40, "_ZN4CUSP6DeployEv", mfunc_ptr_cast(&CUSP::Deploy_) }, - //{ 0x01D101A0, "_ZN4CUSP11GetMaxSpeedEv", mfunc_ptr_cast(&CUSP::GetMaxSpeed_) }, // DEFAULT - //{ 0x01D10190, "_ZN4CUSP9iItemSlotEv", mfunc_ptr_cast(&CUSP::iItemSlot_) }, // DEFAULT - { 0x01D0FB20, "_ZN4CUSP15SecondaryAttackEv", mfunc_ptr_cast(&CUSP::SecondaryAttack_) }, - { 0x01D0FBE0, "_ZN4CUSP13PrimaryAttackEv", mfunc_ptr_cast(&CUSP::PrimaryAttack_) }, - { 0x01D10060, "_ZN4CUSP6ReloadEv", mfunc_ptr_cast(&CUSP::Reload_) }, - { 0x01D100C0, "_ZN4CUSP10WeaponIdleEv", mfunc_ptr_cast(&CUSP::WeaponIdle_) }, - //{ 0x01D101B0, "_ZN4CUSP12UseDecrementEv", mfunc_ptr_cast(&CUSP::UseDecrement_) }, // DEFAULT - //{ 0x01D101C0, "_ZN4CUSP8IsPistolEv", mfunc_ptr_cast(&CUSP::IsPistol_) }, // DEFAULT - //non-virtual func - { 0x01D0F860, "weapon_usp", (size_t)&weapon_usp }, - { 0x01D0FD50, "_ZN4CUSP7USPFireEffi", mfunc_ptr_cast(&CUSP::USPFire) }, - //{ 0x0, "_ZN4CUSP8MakeBeamEv", mfunc_ptr_cast(&CUSP::MakeBeam) }, // NOXREF - //{ 0x0, "_ZN4CUSP10BeamUpdateEv", mfunc_ptr_cast(&CUSP::BeamUpdate) }, // NOXREF -//CMP5N - //virtual func - { 0x01D0B750, "_ZN5CMP5N5SpawnEv", mfunc_ptr_cast(&CMP5N::Spawn_) }, - { 0x01D0B7A0, "_ZN5CMP5N8PrecacheEv", mfunc_ptr_cast(&CMP5N::Precache_) }, - { 0x01D0B820, "_ZN5CMP5N11GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CMP5N::GetItemInfo_) }, - { 0x01D0B890, "_ZN5CMP5N6DeployEv", mfunc_ptr_cast(&CMP5N::Deploy_) }, - //{ 0x01D0BD50, "_ZN5CMP5N11GetMaxSpeedEv", mfunc_ptr_cast(&CMP5N::GetMaxSpeed_) }, // DEFAULT - //{ 0x01D0BD40, "_ZN5CMP5N9iItemSlotEv", mfunc_ptr_cast(&CMP5N::iItemSlot_) }, // DEFAULT - { 0x01D0B8E0, "_ZN5CMP5N13PrimaryAttackEv", mfunc_ptr_cast(&CMP5N::PrimaryAttack_) }, - { 0x01D0BC80, "_ZN5CMP5N6ReloadEv", mfunc_ptr_cast(&CMP5N::Reload_) }, - { 0x01D0BCD0, "_ZN5CMP5N10WeaponIdleEv", mfunc_ptr_cast(&CMP5N::WeaponIdle_) }, - //{ 0x01D0BD60, "_ZN5CMP5N12UseDecrementEv", mfunc_ptr_cast(&CMP5N::UseDecrement_) }, // DEFAULT - //non-virtual func - { 0x01D0B700, "weapon_mp5navy", (size_t)&weapon_mp5navy }, - { 0x01D0B920, "_ZN5CMP5N8MP5NFireEffi", mfunc_ptr_cast(&CMP5N::MP5NFire) }, -//CSG552 - //virtual func - { 0x01D0DAA0, "_ZN6CSG5525SpawnEv", mfunc_ptr_cast(&CSG552::Spawn_) }, - { 0x01D0DAF0, "_ZN6CSG5528PrecacheEv", mfunc_ptr_cast(&CSG552::Precache_) }, - { 0x01D0DB70, "_ZN6CSG55211GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CSG552::GetItemInfo_) }, - { 0x01D0DBE0, "_ZN6CSG5526DeployEv", mfunc_ptr_cast(&CSG552::Deploy_) }, - { 0x01D0E1C0, "_ZN6CSG55211GetMaxSpeedEv", mfunc_ptr_cast(&CSG552::GetMaxSpeed_) }, - //{ 0x01D0E1E0, "_ZN6CSG5529iItemSlotEv", mfunc_ptr_cast(&CSG552::iItemSlot_) }, // DEFAULT - { 0x01D0DC30, "_ZN6CSG55215SecondaryAttackEv", mfunc_ptr_cast(&CSG552::SecondaryAttack_) }, - { 0x01D0DCA0, "_ZN6CSG55213PrimaryAttackEv", mfunc_ptr_cast(&CSG552::PrimaryAttack_) }, - { 0x01D0E0D0, "_ZN6CSG5526ReloadEv", mfunc_ptr_cast(&CSG552::Reload_) }, - { 0x01D0E150, "_ZN6CSG55210WeaponIdleEv", mfunc_ptr_cast(&CSG552::WeaponIdle_) }, - //{ 0x01D0E1F0, "_ZN6CSG55212UseDecrementEv", mfunc_ptr_cast(&CSG552::UseDecrement_) }, // DEFAULT - //non-virtual func - { 0x01D0DA50, "weapon_sg552", (size_t)&weapon_sg552 }, - { 0x01D0DD50, "_ZN6CSG5529SG552FireEffi", mfunc_ptr_cast(&CSG552::SG552Fire) }, -//CAK47 - //virtual func - { 0x01D014F0, "_ZN5CAK475SpawnEv", mfunc_ptr_cast(&CAK47::Spawn_) }, - { 0x01D01540, "_ZN5CAK478PrecacheEv", mfunc_ptr_cast(&CAK47::Precache_) }, - { 0x01D015C0, "_ZN5CAK4711GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CAK47::GetItemInfo_) }, - { 0x01D01630, "_ZN5CAK476DeployEv", mfunc_ptr_cast(&CAK47::Deploy_) }, - //{ 0x01D02080, "_ZN5CAK4711GetMaxSpeedEv", mfunc_ptr_cast(&CAK47::GetMaxSpeed_) }, // DEFAULT - //{ 0x01D02070, "_ZN5CAK479iItemSlotEv", mfunc_ptr_cast(&CAK47::iItemSlot_) }, // DEFAULT - { 0x01D01680, "_ZN5CAK4715SecondaryAttackEv", mfunc_ptr_cast(&CAK47::SecondaryAttack_) }, - { 0x01D01690, "_ZN5CAK4713PrimaryAttackEv", mfunc_ptr_cast(&CAK47::PrimaryAttack_) }, - { 0x01D01AB0, "_ZN5CAK476ReloadEv", mfunc_ptr_cast(&CAK47::Reload_) }, - { 0x01D01B00, "_ZN5CAK4710WeaponIdleEv", mfunc_ptr_cast(&CAK47::WeaponIdle_) }, - //{ 0x01D02090, "_ZN5CAK4712UseDecrementEv", mfunc_ptr_cast(&CAK47::UseDecrement_) }, // DEFAULT - //non-virtual func - { 0x01D014A0, "weapon_ak47", (size_t)&weapon_ak47 }, - { 0x01D01730, "_ZN5CAK478AK47FireEffi", mfunc_ptr_cast(&CAK47::AK47Fire) }, -//CAUG - //virtual func - { 0x01D020F0, "_ZN4CAUG5SpawnEv", mfunc_ptr_cast(&CAUG::Spawn_) }, - { 0x01D02140, "_ZN4CAUG8PrecacheEv", mfunc_ptr_cast(&CAUG::Precache_) }, - { 0x01D021D0, "_ZN4CAUG11GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CAUG::GetItemInfo_) }, - { 0x01D02240, "_ZN4CAUG6DeployEv", mfunc_ptr_cast(&CAUG::Deploy_) }, - //{ 0x01D02820, "_ZN4CAUG11GetMaxSpeedEv", mfunc_ptr_cast(&CAUG::GetMaxSpeed_) }, // DEFAULT - //{ 0x01D02810, "_ZN4CAUG9iItemSlotEv", mfunc_ptr_cast(&CAUG::iItemSlot_) }, // DEFAULT - { 0x01D02290, "_ZN4CAUG15SecondaryAttackEv", mfunc_ptr_cast(&CAUG::SecondaryAttack_) }, - { 0x01D02300, "_ZN4CAUG13PrimaryAttackEv", mfunc_ptr_cast(&CAUG::PrimaryAttack_) }, - { 0x01D02730, "_ZN4CAUG6ReloadEv", mfunc_ptr_cast(&CAUG::Reload_) }, - { 0x01D027A0, "_ZN4CAUG10WeaponIdleEv", mfunc_ptr_cast(&CAUG::WeaponIdle_) }, - //{ 0x01D02830, "_ZN4CAUG12UseDecrementEv", mfunc_ptr_cast(&CAUG::UseDecrement_) }, // DEFAULT - //non-virtual func - { 0x01D020A0, "weapon_aug", (size_t)&weapon_aug }, - { 0x01D023B0, "_ZN4CAUG7AUGFireEffi", mfunc_ptr_cast(&CAUG::AUGFire) }, -//CAWP - //virtual func - { 0x01D02890, "_ZN4CAWP5SpawnEv", mfunc_ptr_cast(&CAWP::Spawn_) }, - { 0x01D028D0, "_ZN4CAWP8PrecacheEv", mfunc_ptr_cast(&CAWP::Precache_) }, - { 0x01D02980, "_ZN4CAWP11GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CAWP::GetItemInfo_) }, - { 0x01D029F0, "_ZN4CAWP6DeployEv", mfunc_ptr_cast(&CAWP::Deploy_) }, - { 0x01D02FA0, "_ZN4CAWP11GetMaxSpeedEv", mfunc_ptr_cast(&CAWP::GetMaxSpeed_) }, - //{ 0x01D02FC0, "_ZN4CAWP9iItemSlotEv", mfunc_ptr_cast(&CAWP::iItemSlot_) }, // DEFAULT - { 0x01D02A60, "_ZN4CAWP15SecondaryAttackEv", mfunc_ptr_cast(&CAWP::SecondaryAttack_) }, - { 0x01D02B40, "_ZN4CAWP13PrimaryAttackEv", mfunc_ptr_cast(&CAWP::PrimaryAttack_) }, - { 0x01D02EA0, "_ZN4CAWP6ReloadEv", mfunc_ptr_cast(&CAWP::Reload_) }, - { 0x01D02F20, "_ZN4CAWP10WeaponIdleEv", mfunc_ptr_cast(&CAWP::WeaponIdle_) }, - //{ 0x01D02FD0, "_ZN4CAWP12UseDecrementEv", mfunc_ptr_cast(&CAWP::UseDecrement_) }, // DEFAULT - //non-virtual func - { 0x01D02840, "weapon_awp", (size_t)&weapon_awp }, - { 0x01D02BF0, "_ZN4CAWP7AWPFireEffi", mfunc_ptr_cast(&CAWP::AWPFire) }, -//CC4 - //virtual func - { 0x01D03030, "_ZN3CC45SpawnEv", mfunc_ptr_cast(&CC4::Spawn_) }, - { 0x01D030F0, "_ZN3CC48PrecacheEv", mfunc_ptr_cast(&CC4::Precache_) }, - { 0x01D03840, "_ZN3CC48KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CC4::KeyValue_) }, - { 0x01D03900, "_ZN3CC43UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CC4::Use_) }, - { 0x01D03120, "_ZN3CC411GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CC4::GetItemInfo_) }, - { 0x01D03190, "_ZN3CC46DeployEv", mfunc_ptr_cast(&CC4::Deploy_) }, - { 0x01D03200, "_ZN3CC47HolsterEi", mfunc_ptr_cast(&CC4::Holster_) }, - { 0x01D03A80, "_ZN3CC411GetMaxSpeedEv", mfunc_ptr_cast(&CC4::GetMaxSpeed_) }, - //{ 0x01D03A70, "_ZN3CC49iItemSlotEv", mfunc_ptr_cast(&CC4::iItemSlot_) }, // DEFAULT - { 0x01D03280, "_ZN3CC413PrimaryAttackEv", mfunc_ptr_cast(&CC4::PrimaryAttack_) }, - { 0x01D03750, "_ZN3CC410WeaponIdleEv", mfunc_ptr_cast(&CC4::WeaponIdle_) }, - //{ 0x01D03A90, "_ZN3CC412UseDecrementEv", mfunc_ptr_cast(&CC4::UseDecrement_) }, // DEFAULT - //non-virtual func - { 0x01D02FE0, "weapon_c4", (size_t)&weapon_c4 }, -//CDEAGLE - //virtual func - { 0x01D03AF0, "_ZN7CDEAGLE5SpawnEv", mfunc_ptr_cast(&CDEAGLE::Spawn_) }, - { 0x01D03B50, "_ZN7CDEAGLE8PrecacheEv", mfunc_ptr_cast(&CDEAGLE::Precache_) }, - { 0x01D03BE0, "_ZN7CDEAGLE11GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CDEAGLE::GetItemInfo_) }, - { 0x01D03C50, "_ZN7CDEAGLE6DeployEv", mfunc_ptr_cast(&CDEAGLE::Deploy_) }, - //{ 0x01D04180, "_ZN7CDEAGLE11GetMaxSpeedEv", mfunc_ptr_cast(&CDEAGLE::GetMaxSpeed_) }, // DEFAULT - //{ 0x01D04170, "_ZN7CDEAGLE9iItemSlotEv", mfunc_ptr_cast(&CDEAGLE::iItemSlot_) }, // DEFAULT - { 0x01D03DB0, "_ZN7CDEAGLE15SecondaryAttackEv", mfunc_ptr_cast(&CDEAGLE::SecondaryAttack_) }, - { 0x01D03CF0, "_ZN7CDEAGLE13PrimaryAttackEv", mfunc_ptr_cast(&CDEAGLE::PrimaryAttack_) }, - { 0x01D040B0, "_ZN7CDEAGLE6ReloadEv", mfunc_ptr_cast(&CDEAGLE::Reload_) }, - { 0x01D040F0, "_ZN7CDEAGLE10WeaponIdleEv", mfunc_ptr_cast(&CDEAGLE::WeaponIdle_) }, - //{ 0x01D04190, "_ZN7CDEAGLE12UseDecrementEv", mfunc_ptr_cast(&CDEAGLE::UseDecrement_) }, // DEFAULT - //{ 0x01D041A0, "_ZN7CDEAGLE8IsPistolEv", mfunc_ptr_cast(&CDEAGLE::IsPistol_) }, // DEFAULT - //non-virtual func - { 0x01D03AA0, "weapon_deagle", (size_t)&weapon_deagle }, - { 0x01D03DC0, "_ZN7CDEAGLE10DEAGLEFireEffi", mfunc_ptr_cast(&CDEAGLE::DEAGLEFire) }, -//CFlashbang - //virtual func - { 0x01D059D0, "_ZN10CFlashbang5SpawnEv", mfunc_ptr_cast(&CFlashbang::Spawn_) }, - { 0x01D05A40, "_ZN10CFlashbang8PrecacheEv", mfunc_ptr_cast(&CFlashbang::Precache_) }, - { 0x01D05A80, "_ZN10CFlashbang11GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CFlashbang::GetItemInfo_) }, - { 0x01D06260, "_ZN10CFlashbang9CanDeployEv", mfunc_ptr_cast(&CFlashbang::CanDeploy_) }, - //{ 0x01D062A0, "_ZN10CFlashbang7CanDropEv", mfunc_ptr_cast(&CFlashbang::CanDrop_) }, // DEFUALT - { 0x01D05AF0, "_ZN10CFlashbang6DeployEv", mfunc_ptr_cast(&CFlashbang::Deploy_) }, - { 0x01D05B90, "_ZN10CFlashbang7HolsterEi", mfunc_ptr_cast(&CFlashbang::Holster_) }, - //{ 0x01D06290, "_ZN10CFlashbang11GetMaxSpeedEv", mfunc_ptr_cast(&CFlashbang::GetMaxSpeed_) }, // DEFUALT - //{ 0x01D06280, "_ZN10CFlashbang9iItemSlotEv", mfunc_ptr_cast(&CFlashbang::iItemSlot_) }, // DEFUALT - { 0x01D05DA0, "_ZN10CFlashbang15SecondaryAttackEv", mfunc_ptr_cast(&CFlashbang::SecondaryAttack_) }, - { 0x01D05BF0, "_ZN10CFlashbang13PrimaryAttackEv", mfunc_ptr_cast(&CFlashbang::PrimaryAttack_) }, - { 0x01D05E40, "_ZN10CFlashbang10WeaponIdleEv", mfunc_ptr_cast(&CFlashbang::WeaponIdle_) }, - //{ 0x01D062B0, "_ZN10CFlashbang12UseDecrementEv", mfunc_ptr_cast(&CFlashbang::UseDecrement_) }, // DEFUALT - //{ 0x01D062C0, "_ZN10CFlashbang8IsPistolEv", mfunc_ptr_cast(&CFlashbang::IsPistol_) }, // DEFUALT - //non-virtual func - { 0x01D05980, "weapon_flashbang", (size_t)&weapon_flashbang }, - { 0x01D05C60, "_ZN10CFlashbang19ShieldSecondaryFireEii", mfunc_ptr_cast(&CFlashbang::ShieldSecondaryFire) }, - //{ 0x01D05DB0, "_ZN10CFlashbang19SetPlayerShieldAnimEv", mfunc_ptr_cast(&CFlashbang::SetPlayerShieldAnim) }, // NOXREF - //{ 0x01D05E00, "_ZN10CFlashbang21ResetPlayerShieldAnimEv", mfunc_ptr_cast(&CFlashbang::ResetPlayerShieldAnim) }, // NOXREF -//CG3SG1 - //virtual func - { 0x01D06320, "_ZN6CG3SG15SpawnEv", mfunc_ptr_cast(&CG3SG1::Spawn_) }, - { 0x01D06370, "_ZN6CG3SG18PrecacheEv", mfunc_ptr_cast(&CG3SG1::Precache_) }, - { 0x01D063F0, "_ZN6CG3SG111GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CG3SG1::GetItemInfo_) }, - { 0x01D06460, "_ZN6CG3SG16DeployEv", mfunc_ptr_cast(&CG3SG1::Deploy_) }, - { 0x01D06A30, "_ZN6CG3SG111GetMaxSpeedEv", mfunc_ptr_cast(&CG3SG1::GetMaxSpeed_) }, - //{ 0x01D06A50, "_ZN6CG3SG19iItemSlotEv", mfunc_ptr_cast(&CG3SG1::iItemSlot_) }, // DEFAULT - { 0x01D064A0, "_ZN6CG3SG115SecondaryAttackEv", mfunc_ptr_cast(&CG3SG1::SecondaryAttack_) }, - { 0x01D06580, "_ZN6CG3SG113PrimaryAttackEv", mfunc_ptr_cast(&CG3SG1::PrimaryAttack_) }, - { 0x01D06930, "_ZN6CG3SG16ReloadEv", mfunc_ptr_cast(&CG3SG1::Reload_) }, - { 0x01D069B0, "_ZN6CG3SG110WeaponIdleEv", mfunc_ptr_cast(&CG3SG1::WeaponIdle_) }, - //{ 0x01D06A60, "_ZN6CG3SG112UseDecrementEv", mfunc_ptr_cast(&CG3SG1::UseDecrement_) }, // DEFAULT - //non-virtual func - { 0x01D062D0, "weapon_g3sg1", (size_t)&weapon_g3sg1 }, - { 0x01D06600, "_ZN6CG3SG19G3SG1FireEffi", mfunc_ptr_cast(&CG3SG1::G3SG1Fire) }, -//CGLOCK18 - //virtual func - { 0x01D071E0, "_ZN8CGLOCK185SpawnEv", mfunc_ptr_cast(&CGLOCK18::Spawn_) }, - { 0x01D07250, "_ZN8CGLOCK188PrecacheEv", mfunc_ptr_cast(&CGLOCK18::Precache_) }, - { 0x01D07310, "_ZN8CGLOCK1811GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CGLOCK18::GetItemInfo_) }, - { 0x01D07380, "_ZN8CGLOCK186DeployEv", mfunc_ptr_cast(&CGLOCK18::Deploy_) }, - //{ 0x01D07B10, "_ZN8CGLOCK1811GetMaxSpeedEv", mfunc_ptr_cast(&CGLOCK18::GetMaxSpeed_) }, // DEFAULT - //{ 0x01D07B00, "_ZN8CGLOCK189iItemSlotEv", mfunc_ptr_cast(&CGLOCK18::iItemSlot_) }, // DEFAULT - { 0x01D07480, "_ZN8CGLOCK1815SecondaryAttackEv", mfunc_ptr_cast(&CGLOCK18::SecondaryAttack_) }, - { 0x01D07510, "_ZN8CGLOCK1813PrimaryAttackEv", mfunc_ptr_cast(&CGLOCK18::PrimaryAttack_) }, - { 0x01D07980, "_ZN8CGLOCK186ReloadEv", mfunc_ptr_cast(&CGLOCK18::Reload_) }, - { 0x01D079F0, "_ZN8CGLOCK1810WeaponIdleEv", mfunc_ptr_cast(&CGLOCK18::WeaponIdle_) }, - //{ 0x01D07B20, "_ZN8CGLOCK1812UseDecrementEv", mfunc_ptr_cast(&CGLOCK18::UseDecrement_) }, // DEFAULT - //{ 0x01D07B30, "_ZN8CGLOCK188IsPistolEv", mfunc_ptr_cast(&CGLOCK18::IsPistol_) }, // DEFAULT - //non-virtual func - { 0x01D07190, "weapon_glock18", (size_t)&weapon_glock18 }, - { 0x01D07670, "_ZN8CGLOCK1811GLOCK18FireEffi", mfunc_ptr_cast(&CGLOCK18::GLOCK18Fire) }, -//CHEGrenade - //virtual func - { 0x01D07B90, "_ZN10CHEGrenade5SpawnEv", mfunc_ptr_cast(&CHEGrenade::Spawn_) }, - { 0x01D07C00, "_ZN10CHEGrenade8PrecacheEv", mfunc_ptr_cast(&CHEGrenade::Precache_) }, - { 0x01D07C60, "_ZN10CHEGrenade11GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CHEGrenade::GetItemInfo_) }, - { 0x01D08450, "_ZN10CHEGrenade9CanDeployEv", mfunc_ptr_cast(&CHEGrenade::CanDeploy_) }, - //{ 0x01D08490, "_ZN10CHEGrenade7CanDropEv", mfunc_ptr_cast(&CHEGrenade::CanDrop_) }, // DEFAULT - { 0x01D07CD0, "_ZN10CHEGrenade6DeployEv", mfunc_ptr_cast(&CHEGrenade::Deploy_) }, - { 0x01D07D70, "_ZN10CHEGrenade7HolsterEi", mfunc_ptr_cast(&CHEGrenade::Holster_) }, - //{ 0x01D08480, "_ZN10CHEGrenade11GetMaxSpeedEv", mfunc_ptr_cast(&CHEGrenade::GetMaxSpeed_) }, // DEFAULT - //{ 0x01D08470, "_ZN10CHEGrenade9iItemSlotEv", mfunc_ptr_cast(&CHEGrenade::iItemSlot_) }, // DEFAULT - { 0x01D07F80, "_ZN10CHEGrenade15SecondaryAttackEv", mfunc_ptr_cast(&CHEGrenade::SecondaryAttack_) }, - { 0x01D07DD0, "_ZN10CHEGrenade13PrimaryAttackEv", mfunc_ptr_cast(&CHEGrenade::PrimaryAttack_) }, - { 0x01D08020, "_ZN10CHEGrenade10WeaponIdleEv", mfunc_ptr_cast(&CHEGrenade::WeaponIdle_) }, - //{ 0x01D084A0, "_ZN10CHEGrenade12UseDecrementEv", mfunc_ptr_cast(&CHEGrenade::UseDecrement_) }, // DEFAULT - //non-virtual func - { 0x01D07B40, "weapon_hegrenade", (size_t)&weapon_hegrenade }, - { 0x01D07E40, "_ZN10CHEGrenade19ShieldSecondaryFireEii", mfunc_ptr_cast(&CHEGrenade::ShieldSecondaryFire) }, - //{ 0x01D07F90, "_ZN10CHEGrenade19SetPlayerShieldAnimEv", mfunc_ptr_cast(&CHEGrenade::SetPlayerShieldAnim) }, // NOXREF - //{ 0x01D07FE0, "_ZN10CHEGrenade21ResetPlayerShieldAnimEv", mfunc_ptr_cast(&CHEGrenade::ResetPlayerShieldAnim) }, // NOXREF -//CKnife - //virtual func - { 0x01D08500, "_ZN6CKnife5SpawnEv", mfunc_ptr_cast(&CKnife::Spawn_) }, - { 0x01D08550, "_ZN6CKnife8PrecacheEv", mfunc_ptr_cast(&CKnife::Precache_) }, - { 0x01D085F0, "_ZN6CKnife11GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CKnife::GetItemInfo_) }, - //{ 0x01D09910, "_ZN6CKnife7CanDropEv", mfunc_ptr_cast(&CKnife::CanDrop_) }, // DEFAULT - { 0x01D08640, "_ZN6CKnife6DeployEv", mfunc_ptr_cast(&CKnife::Deploy_) }, - { 0x01D08710, "_ZN6CKnife7HolsterEi", mfunc_ptr_cast(&CKnife::Holster_) }, - //{ 0x01D09900, "_ZN6CKnife11GetMaxSpeedEv", mfunc_ptr_cast(&CKnife::GetMaxSpeed_) }, // DEFAULT - //{ 0x01D098F0, "_ZN6CKnife9iItemSlotEv", mfunc_ptr_cast(&CKnife::iItemSlot_) }, // DEFAULT - { 0x01D08B50, "_ZN6CKnife15SecondaryAttackEv", mfunc_ptr_cast(&CKnife::SecondaryAttack_) }, - { 0x01D08980, "_ZN6CKnife13PrimaryAttackEv", mfunc_ptr_cast(&CKnife::PrimaryAttack_) }, - //{ 0x01D09920, "_ZN6CKnife12UseDecrementEv", mfunc_ptr_cast(&CKnife::UseDecrement_) }, // DEFAULT - { 0x01D08BB0, "_ZN6CKnife10WeaponIdleEv", mfunc_ptr_cast(&CKnife::WeaponIdle_) }, - //non-virtual func - { 0x01D084B0, "weapon_knife", (size_t)&weapon_knife }, - { 0x01D08780, "FindHullIntersection", (size_t)&FindHullIntersection }, - { 0x01D08BA0, "_ZN6CKnife10SwingAgainEv", mfunc_ptr_cast(&CKnife::SwingAgain) }, - { 0x01D08B80, "_ZN6CKnife5SmackEv", mfunc_ptr_cast(&CKnife::Smack) }, - //{ 0x01D08730, "_ZN6CKnife15WeaponAnimationEi", mfunc_ptr_cast(&CKnife::WeaponAnimation) }, // NOXREF - { 0x01D09390, "_ZN6CKnife4StabEi", mfunc_ptr_cast(&CKnife::Stab) }, - { 0x01D08C30, "_ZN6CKnife5SwingEi", mfunc_ptr_cast(&CKnife::Swing) }, - { 0x01D08A20, "_ZN6CKnife19ShieldSecondaryFireEii", mfunc_ptr_cast(&CKnife::ShieldSecondaryFire) }, - //{ 0x01D08990, "_ZN6CKnife19SetPlayerShieldAnimEv", mfunc_ptr_cast(&CKnife::SetPlayerShieldAnim) }, // NOXREF - //{ 0x01D089E0, "_ZN6CKnife21ResetPlayerShieldAnimEv", mfunc_ptr_cast(&CKnife::ResetPlayerShieldAnim) }, // NOXREF -//CM249 - //virtual func - { 0x01D09980, "_ZN5CM2495SpawnEv", mfunc_ptr_cast(&CM249::Spawn_) }, - { 0x01D099D0, "_ZN5CM2498PrecacheEv", mfunc_ptr_cast(&CM249::Precache_) }, - { 0x01D09A60, "_ZN5CM24911GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CM249::GetItemInfo_) }, - { 0x01D09AD0, "_ZN5CM2496DeployEv", mfunc_ptr_cast(&CM249::Deploy_) }, - //{ 0x01D0A010, "_ZN5CM24911GetMaxSpeedEv", mfunc_ptr_cast(&CM249::GetMaxSpeed_) }, // DEFAULT - //{ 0x01D0A000, "_ZN5CM2499iItemSlotEv", mfunc_ptr_cast(&CM249::iItemSlot_) }, // DEFAULT - { 0x01D09B20, "_ZN5CM24913PrimaryAttackEv", mfunc_ptr_cast(&CM249::PrimaryAttack_) }, - { 0x01D09F40, "_ZN5CM2496ReloadEv", mfunc_ptr_cast(&CM249::Reload_) }, - { 0x01D09F90, "_ZN5CM24910WeaponIdleEv", mfunc_ptr_cast(&CM249::WeaponIdle_) }, - //{ 0x01D0A020, "_ZN5CM24912UseDecrementEv", mfunc_ptr_cast(&CM249::UseDecrement_) }, // DEFAULT - //non-virtual func - { 0x01D09930, "weapon_m249", (size_t)&weapon_m249 }, - { 0x01D09BC0, "_ZN5CM2498M249FireEffi", mfunc_ptr_cast(&CM249::M249Fire) }, -//CM3 - //virtual func - { 0x01D0A080, "_ZN3CM35SpawnEv", mfunc_ptr_cast(&CM3::Spawn_) }, - { 0x01D0A0C0, "_ZN3CM38PrecacheEv", mfunc_ptr_cast(&CM3::Precache_) }, - { 0x01D0A140, "_ZN3CM311GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CM3::GetItemInfo_) }, - { 0x01D0A1B0, "_ZN3CM36DeployEv", mfunc_ptr_cast(&CM3::Deploy_) }, - //{ 0x01D0A740, "_ZN3CM311GetMaxSpeedEv", mfunc_ptr_cast(&CM3::GetMaxSpeed_) }, // DEFAULT - //{ 0x01D0A730, "_ZN3CM39iItemSlotEv", mfunc_ptr_cast(&CM3::iItemSlot_) }, // DEFAULT - { 0x01D0A1E0, "_ZN3CM313PrimaryAttackEv", mfunc_ptr_cast(&CM3::PrimaryAttack_) }, - { 0x01D0A4A0, "_ZN3CM36ReloadEv", mfunc_ptr_cast(&CM3::Reload_) }, - { 0x01D0A5D0, "_ZN3CM310WeaponIdleEv", mfunc_ptr_cast(&CM3::WeaponIdle_) }, - //{ 0x01D0A750, "_ZN3CM312UseDecrementEv", mfunc_ptr_cast(&CM3::UseDecrement_) }, // DEFAULT - //non-virtual func - { 0x01D0A030, "weapon_m3", (size_t)&weapon_m3 }, -//CM4A1 - //virtual func - { 0x01D0A7B0, "_ZN5CM4A15SpawnEv", mfunc_ptr_cast(&CM4A1::Spawn_) }, - { 0x01D0A810, "_ZN5CM4A18PrecacheEv", mfunc_ptr_cast(&CM4A1::Precache_) }, - { 0x01D0A8C0, "_ZN5CM4A111GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CM4A1::GetItemInfo_) }, - { 0x01D0A930, "_ZN5CM4A16DeployEv", mfunc_ptr_cast(&CM4A1::Deploy_) }, - { 0x01D0B050, "_ZN5CM4A111GetMaxSpeedEv", mfunc_ptr_cast(&CM4A1::GetMaxSpeed_) }, - //{ 0x01D0B060, "_ZN5CM4A19iItemSlotEv", mfunc_ptr_cast(&CM4A1::iItemSlot_) }, // DEFAULT - { 0x01D0A9C0, "_ZN5CM4A115SecondaryAttackEv", mfunc_ptr_cast(&CM4A1::SecondaryAttack_) }, - { 0x01D0AA70, "_ZN5CM4A113PrimaryAttackEv", mfunc_ptr_cast(&CM4A1::PrimaryAttack_) }, - { 0x01D0AF60, "_ZN5CM4A16ReloadEv", mfunc_ptr_cast(&CM4A1::Reload_) }, - { 0x01D0AFC0, "_ZN5CM4A110WeaponIdleEv", mfunc_ptr_cast(&CM4A1::WeaponIdle_) }, - //{ 0x01D0B070, "_ZN5CM4A112UseDecrementEv", mfunc_ptr_cast(&CM4A1::UseDecrement_) }, // DEFAULT - //non-virtual func - { 0x01D0A760, "weapon_m4a1", (size_t)&weapon_m4a1 }, - { 0x01D0AB80, "_ZN5CM4A18M4A1FireEffi", mfunc_ptr_cast(&CM4A1::M4A1Fire) }, -//CMAC10 - //virtual func - { 0x01D0B0D0, "_ZN6CMAC105SpawnEv", mfunc_ptr_cast(&CMAC10::Spawn_) }, - { 0x01D0B120, "_ZN6CMAC108PrecacheEv", mfunc_ptr_cast(&CMAC10::Precache_) }, - { 0x01D0B190, "_ZN6CMAC1011GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CMAC10::GetItemInfo_) }, - { 0x01D0B200, "_ZN6CMAC106DeployEv", mfunc_ptr_cast(&CMAC10::Deploy_) }, - //{ 0x01D0B6E0, "_ZN6CMAC1011GetMaxSpeedEv", mfunc_ptr_cast(&CMAC10::GetMaxSpeed_) }, // DEFAULT - //{ 0x01D0B6D0, "_ZN6CMAC109iItemSlotEv", mfunc_ptr_cast(&CMAC10::iItemSlot_) }, // DEFAULT - { 0x01D0B250, "_ZN6CMAC1013PrimaryAttackEv", mfunc_ptr_cast(&CMAC10::PrimaryAttack_) }, - { 0x01D0B610, "_ZN6CMAC106ReloadEv", mfunc_ptr_cast(&CMAC10::Reload_) }, - { 0x01D0B660, "_ZN6CMAC1010WeaponIdleEv", mfunc_ptr_cast(&CMAC10::WeaponIdle_) }, - //{ 0x01D0B6F0, "_ZN6CMAC1012UseDecrementEv", mfunc_ptr_cast(&CMAC10::UseDecrement_) }, // DEFAULT - //non-virtual func - { 0x01D0B080, "weapon_mac10", (size_t)&weapon_mac10 }, - { 0x01D0B290, "_ZN6CMAC109MAC10FireEffi", mfunc_ptr_cast(&CMAC10::MAC10Fire) }, -//CP228 - //virtual func - { 0x01D0BDC0, "_ZN5CP2285SpawnEv", mfunc_ptr_cast(&CP228::Spawn_) }, - { 0x01D0BE20, "_ZN5CP2288PrecacheEv", mfunc_ptr_cast(&CP228::Precache_) }, - { 0x01D0BEB0, "_ZN5CP22811GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CP228::GetItemInfo_) }, - { 0x01D0BF20, "_ZN5CP2286DeployEv", mfunc_ptr_cast(&CP228::Deploy_) }, - //{ 0x01D0C4A0, "_ZN5CP22811GetMaxSpeedEv", mfunc_ptr_cast(&CP228::GetMaxSpeed_) }, // DEFAULT - //{ 0x01D0C490, "_ZN5CP2289iItemSlotEv", mfunc_ptr_cast(&CP228::iItemSlot_) }, // DEFAULT - { 0x01D0C080, "_ZN5CP22815SecondaryAttackEv", mfunc_ptr_cast(&CP228::SecondaryAttack_) }, - { 0x01D0BFC0, "_ZN5CP22813PrimaryAttackEv", mfunc_ptr_cast(&CP228::PrimaryAttack_) }, - { 0x01D0C380, "_ZN5CP2286ReloadEv", mfunc_ptr_cast(&CP228::Reload_) }, - { 0x01D0C3D0, "_ZN5CP22810WeaponIdleEv", mfunc_ptr_cast(&CP228::WeaponIdle_) }, - //{ 0x01D0C4B0, "_ZN5CP22812UseDecrementEv", mfunc_ptr_cast(&CP228::UseDecrement_) }, // DEFAULT - //{ 0x01D0C4C0, "_ZN5CP2288IsPistolEv", mfunc_ptr_cast(&CP228::IsPistol_) }, // DEFAULT - //non-virtual func - { 0x01D0BD70, "weapon_p228", (size_t)&weapon_p228 }, - { 0x01D0C090, "_ZN5CP2288P228FireEffi", mfunc_ptr_cast(&CP228::P228Fire) }, - //{ 0x0, "_ZN5CP2288MakeBeamEv", mfunc_ptr_cast(&CP228::MakeBeam) }, // NOXREF - //{ 0x0, "_ZN5CP22810BeamUpdateEv", mfunc_ptr_cast(&CP228::BeamUpdate) }, // NOXREF -//CP90 - //virtual func - { 0x01D0C520, "_ZN4CP905SpawnEv", mfunc_ptr_cast(&CP90::Spawn_) }, - { 0x01D0C580, "_ZN4CP908PrecacheEv", mfunc_ptr_cast(&CP90::Precache_) }, - { 0x01D0C600, "_ZN4CP9011GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CP90::GetItemInfo_) }, - { 0x01D0C670, "_ZN4CP906DeployEv", mfunc_ptr_cast(&CP90::Deploy_) }, - { 0x01D0CB90, "_ZN4CP9011GetMaxSpeedEv", mfunc_ptr_cast(&CP90::GetMaxSpeed_) }, - //{ 0x01D0CB80, "_ZN4CP909iItemSlotEv", mfunc_ptr_cast(&CP90::iItemSlot_) }, // DEFAULT - { 0x01D0C6C0, "_ZN4CP9013PrimaryAttackEv", mfunc_ptr_cast(&CP90::PrimaryAttack_) }, - { 0x01D0CAC0, "_ZN4CP906ReloadEv", mfunc_ptr_cast(&CP90::Reload_) }, - { 0x01D0CB10, "_ZN4CP9010WeaponIdleEv", mfunc_ptr_cast(&CP90::WeaponIdle_) }, - //{ 0x01D0CBA0, "_ZN4CP9012UseDecrementEv", mfunc_ptr_cast(&CP90::UseDecrement_) }, // DEFAULT - //non-virtual func - { 0x01D0C4D0, "weapon_p90", (size_t)&weapon_p90 }, - { 0x01D0C750, "_ZN4CP907P90FireEffi", mfunc_ptr_cast(&CP90::P90Fire) }, -//CSCOUT - //virtual func - { 0x01D0CC00, "_ZN6CSCOUT5SpawnEv", mfunc_ptr_cast(&CSCOUT::Spawn_) }, - { 0x01D0CC40, "_ZN6CSCOUT8PrecacheEv", mfunc_ptr_cast(&CSCOUT::Precache_) }, - { 0x01D0CCC0, "_ZN6CSCOUT11GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CSCOUT::GetItemInfo_) }, - { 0x01D0CD30, "_ZN6CSCOUT6DeployEv", mfunc_ptr_cast(&CSCOUT::Deploy_) }, - { 0x01D0D280, "_ZN6CSCOUT11GetMaxSpeedEv", mfunc_ptr_cast(&CSCOUT::GetMaxSpeed_) }, - //{ 0x01D0D2A0, "_ZN6CSCOUT9iItemSlotEv", mfunc_ptr_cast(&CSCOUT::iItemSlot_) }, // DEFAULT - { 0x01D0CDA0, "_ZN6CSCOUT15SecondaryAttackEv", mfunc_ptr_cast(&CSCOUT::SecondaryAttack_) }, - { 0x01D0CE80, "_ZN6CSCOUT13PrimaryAttackEv", mfunc_ptr_cast(&CSCOUT::PrimaryAttack_) }, - { 0x01D0D1A0, "_ZN6CSCOUT6ReloadEv", mfunc_ptr_cast(&CSCOUT::Reload_) }, - { 0x01D0D200, "_ZN6CSCOUT10WeaponIdleEv", mfunc_ptr_cast(&CSCOUT::WeaponIdle_) }, - //{ 0x01D0D2B0, "_ZN6CSCOUT12UseDecrementEv", mfunc_ptr_cast(&CSCOUT::UseDecrement_) }, // DEFAULT - //non-virtual func - { 0x01D0CBB0, "weapon_scout", (size_t)&weapon_scout }, - { 0x01D0CEF0, "_ZN6CSCOUT9SCOUTFireEffi", mfunc_ptr_cast(&CSCOUT::SCOUTFire) }, -//CSmokeGrenade - //virtual func - { 0x01D0E250, "_ZN13CSmokeGrenade5SpawnEv", mfunc_ptr_cast(&CSmokeGrenade::Spawn_) }, - { 0x01D0E2C0, "_ZN13CSmokeGrenade8PrecacheEv", mfunc_ptr_cast(&CSmokeGrenade::Precache_) }, - { 0x01D0E310, "_ZN13CSmokeGrenade11GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CSmokeGrenade::GetItemInfo_) }, - //{ 0x01D0EB80, "_ZN13CSmokeGrenade7CanDropEv", mfunc_ptr_cast(&CSmokeGrenade::CanDrop_) }, // DEFAULT - { 0x01D0E380, "_ZN13CSmokeGrenade6DeployEv", mfunc_ptr_cast(&CSmokeGrenade::Deploy_) }, - { 0x01D0E420, "_ZN13CSmokeGrenade7HolsterEi", mfunc_ptr_cast(&CSmokeGrenade::Holster_) }, - //{ 0x01D0EB70, "_ZN13CSmokeGrenade11GetMaxSpeedEv", mfunc_ptr_cast(&CSmokeGrenade::GetMaxSpeed_) }, // DEFAULT - //{ 0x01D0EB60, "_ZN13CSmokeGrenade9iItemSlotEv", mfunc_ptr_cast(&CSmokeGrenade::iItemSlot_) }, // DEFAULT - { 0x01D0E630, "_ZN13CSmokeGrenade15SecondaryAttackEv", mfunc_ptr_cast(&CSmokeGrenade::SecondaryAttack_) }, - { 0x01D0E480, "_ZN13CSmokeGrenade13PrimaryAttackEv", mfunc_ptr_cast(&CSmokeGrenade::PrimaryAttack_) }, - { 0x01D0E6D0, "_ZN13CSmokeGrenade10WeaponIdleEv", mfunc_ptr_cast(&CSmokeGrenade::WeaponIdle_) }, - //{ 0x01D0EB90, "_ZN13CSmokeGrenade12UseDecrementEv", mfunc_ptr_cast(&CSmokeGrenade::UseDecrement_) }, // DEFAULT - { 0x01D0EB40, "_ZN13CSmokeGrenade9CanDeployEv", mfunc_ptr_cast(&CSmokeGrenade::CanDeploy_) }, - //non-virtual func - { 0x01D0E200, "weapon_smokegrenade", (size_t)&weapon_smokegrenade }, - { 0x01D0E4F0, "_ZN13CSmokeGrenade19ShieldSecondaryFireEii", mfunc_ptr_cast(&CSmokeGrenade::ShieldSecondaryFire) }, - //{ 0x01D0E640, "_ZN13CSmokeGrenade19SetPlayerShieldAnimEv", mfunc_ptr_cast(&CSmokeGrenade::SetPlayerShieldAnim) }, // NOXREF - //{ 0x01D0E690, "_ZN13CSmokeGrenade21ResetPlayerShieldAnimEv", mfunc_ptr_cast(&CSmokeGrenade::ResetPlayerShieldAnim) }, // NOXREF -//CTMP - //virtual func - { 0x01D0EBF0, "_ZN4CTMP5SpawnEv", mfunc_ptr_cast(&CTMP::Spawn_) }, - { 0x01D0EC50, "_ZN4CTMP8PrecacheEv", mfunc_ptr_cast(&CTMP::Precache_) }, - { 0x01D0ECB0, "_ZN4CTMP11GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CTMP::GetItemInfo_) }, - { 0x01D0ED20, "_ZN4CTMP6DeployEv", mfunc_ptr_cast(&CTMP::Deploy_) }, - //{ 0x01D0F1D0, "_ZN4CTMP11GetMaxSpeedEv", mfunc_ptr_cast(&CTMP::GetMaxSpeed_) }, // DEFAULT - //{ 0x01D0F1C0, "_ZN4CTMP9iItemSlotEv", mfunc_ptr_cast(&CTMP::iItemSlot_) }, // DEFAULT - { 0x01D0ED70, "_ZN4CTMP13PrimaryAttackEv", mfunc_ptr_cast(&CTMP::PrimaryAttack_) }, - { 0x01D0F100, "_ZN4CTMP6ReloadEv", mfunc_ptr_cast(&CTMP::Reload_) }, - { 0x01D0F150, "_ZN4CTMP10WeaponIdleEv", mfunc_ptr_cast(&CTMP::WeaponIdle_) }, - //{ 0x01D0F1E0, "_ZN4CTMP12UseDecrementEv", mfunc_ptr_cast(&CTMP::UseDecrement_) }, // DEFAULT - //non-virtual func - { 0x01D0EBA0, "weapon_tmp", (size_t)&weapon_tmp }, - { 0x01D0EDB0, "_ZN4CTMP7TMPFireEffi", mfunc_ptr_cast(&CTMP::TMPFire) }, -//CXM1014 - //virtual func - { 0x01D10220, "_ZN7CXM10145SpawnEv", mfunc_ptr_cast(&CXM1014::Spawn_) }, - { 0x01D10260, "_ZN7CXM10148PrecacheEv", mfunc_ptr_cast(&CXM1014::Precache_) }, - { 0x01D102D0, "_ZN7CXM101411GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CXM1014::GetItemInfo_) }, - { 0x01D10340, "_ZN7CXM10146DeployEv", mfunc_ptr_cast(&CXM1014::Deploy_) }, - //{ 0x01D10940, "_ZN7CXM101411GetMaxSpeedEv", mfunc_ptr_cast(&CXM1014::GetMaxSpeed_) }, // DEFAULT - //{ 0x01D10930, "_ZN7CXM10149iItemSlotEv", mfunc_ptr_cast(&CXM1014::iItemSlot_) }, // DEFAULT - { 0x01D10370, "_ZN7CXM101413PrimaryAttackEv", mfunc_ptr_cast(&CXM1014::PrimaryAttack_) }, - { 0x01D10640, "_ZN7CXM10146ReloadEv", mfunc_ptr_cast(&CXM1014::Reload_) }, - { 0x01D107F0, "_ZN7CXM101410WeaponIdleEv", mfunc_ptr_cast(&CXM1014::WeaponIdle_) }, - //{ 0x01D10950, "_ZN7CXM101412UseDecrementEv", mfunc_ptr_cast(&CXM1014::UseDecrement_) }, // DEFAULT - //non-virtual func - { 0x01D101D0, "weapon_xm1014", (size_t)&weapon_xm1014 }, -//CELITE - //virtual func - { 0x01D04200, "_ZN6CELITE5SpawnEv", mfunc_ptr_cast(&CELITE::Spawn_) }, - { 0x01D04250, "_ZN6CELITE8PrecacheEv", mfunc_ptr_cast(&CELITE::Precache_) }, - { 0x01D04300, "_ZN6CELITE11GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CELITE::GetItemInfo_) }, - { 0x01D04370, "_ZN6CELITE6DeployEv", mfunc_ptr_cast(&CELITE::Deploy_) }, - //{ 0x01D049D0, "_ZN6CELITE11GetMaxSpeedEv", mfunc_ptr_cast(&CELITE::GetMaxSpeed_) }, // DEFAULT - //{ 0x01D049C0, "_ZN6CELITE9iItemSlotEv", mfunc_ptr_cast(&CELITE::iItemSlot_) }, // DEFAULT - { 0x01D043D0, "_ZN6CELITE13PrimaryAttackEv", mfunc_ptr_cast(&CELITE::PrimaryAttack_) }, - { 0x01D04900, "_ZN6CELITE6ReloadEv", mfunc_ptr_cast(&CELITE::Reload_) }, - { 0x01D04940, "_ZN6CELITE10WeaponIdleEv", mfunc_ptr_cast(&CELITE::WeaponIdle_) }, - //{ 0x01D049E0, "_ZN6CELITE12UseDecrementEv", mfunc_ptr_cast(&CELITE::UseDecrement_) }, // DEFAULT - //{ 0x01D049F0, "_ZN6CELITE8IsPistolEv", mfunc_ptr_cast(&CELITE::IsPistol_) }, // DEFAULT - //non-virtual func - { 0x01D041B0, "weapon_elite", (size_t)&weapon_elite }, - { 0x01D04490, "_ZN6CELITE9ELITEFireEffi", mfunc_ptr_cast(&CELITE::ELITEFire) }, -//CFiveSeven - //virtual func - { 0x01D05280, "_ZN10CFiveSeven5SpawnEv", mfunc_ptr_cast(&CFiveSeven::Spawn_) }, - { 0x01D052E0, "_ZN10CFiveSeven8PrecacheEv", mfunc_ptr_cast(&CFiveSeven::Precache_) }, - { 0x01D05370, "_ZN10CFiveSeven11GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CFiveSeven::GetItemInfo_) }, - { 0x01D053E0, "_ZN10CFiveSeven6DeployEv", mfunc_ptr_cast(&CFiveSeven::Deploy_) }, - //{ 0x01D05950, "_ZN10CFiveSeven11GetMaxSpeedEv", mfunc_ptr_cast(&CFiveSeven::GetMaxSpeed_) }, // DEFAULT - //{ 0x01D05940, "_ZN10CFiveSeven9iItemSlotEv", mfunc_ptr_cast(&CFiveSeven::iItemSlot_) }, // DEFAULT - { 0x01D05540, "_ZN10CFiveSeven15SecondaryAttackEv", mfunc_ptr_cast(&CFiveSeven::SecondaryAttack_) }, - { 0x01D05480, "_ZN10CFiveSeven13PrimaryAttackEv", mfunc_ptr_cast(&CFiveSeven::PrimaryAttack_) }, - { 0x01D05840, "_ZN10CFiveSeven6ReloadEv", mfunc_ptr_cast(&CFiveSeven::Reload_) }, - { 0x01D05880, "_ZN10CFiveSeven10WeaponIdleEv", mfunc_ptr_cast(&CFiveSeven::WeaponIdle_) }, - //{ 0x01D05960, "_ZN10CFiveSeven12UseDecrementEv", mfunc_ptr_cast(&CFiveSeven::UseDecrement_) }, // DEFAULT - //{ 0x01D05970, "_ZN10CFiveSeven8IsPistolEv", mfunc_ptr_cast(&CFiveSeven::IsPistol_) }, // DEFAULT - //non-virtual func - { 0x01D05230, "weapon_fiveseven", (size_t)&weapon_fiveseven }, - { 0x01D05550, "_ZN10CFiveSeven13FiveSevenFireEffi", mfunc_ptr_cast(&CFiveSeven::FiveSevenFire) }, - //{ 0x0, "_ZN10CFiveSeven8MakeBeamEv", mfunc_ptr_cast(&CFiveSeven::MakeBeam) }, // NOXREF - //{ 0x0, "_ZN10CFiveSeven10BeamUpdateEv", mfunc_ptr_cast(&CFiveSeven::BeamUpdate) }, // NOXREF -//CUMP45 - //virtual func - { 0x01D0F240, "_ZN6CUMP455SpawnEv", mfunc_ptr_cast(&CUMP45::Spawn_) }, - { 0x01D0F290, "_ZN6CUMP458PrecacheEv", mfunc_ptr_cast(&CUMP45::Precache_) }, - { 0x01D0F300, "_ZN6CUMP4511GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CUMP45::GetItemInfo_) }, - { 0x01D0F370, "_ZN6CUMP456DeployEv", mfunc_ptr_cast(&CUMP45::Deploy_) }, - //{ 0x01D0F840, "_ZN6CUMP4511GetMaxSpeedEv", mfunc_ptr_cast(&CUMP45::GetMaxSpeed_) }, // DEFAULT - //{ 0x01D0F830, "_ZN6CUMP459iItemSlotEv", mfunc_ptr_cast(&CUMP45::iItemSlot_) }, // DEFAULT - { 0x01D0F3C0, "_ZN6CUMP4513PrimaryAttackEv", mfunc_ptr_cast(&CUMP45::PrimaryAttack_) }, - { 0x01D0F770, "_ZN6CUMP456ReloadEv", mfunc_ptr_cast(&CUMP45::Reload_) }, - { 0x01D0F7C0, "_ZN6CUMP4510WeaponIdleEv", mfunc_ptr_cast(&CUMP45::WeaponIdle_) }, - //{ 0x01D0F850, "_ZN6CUMP4512UseDecrementEv", mfunc_ptr_cast(&CUMP45::UseDecrement_) }, // DEFAULT - //non-virtual func - { 0x01D0F1F0, "weapon_ump45", (size_t)&weapon_ump45 }, - { 0x01D0F400, "_ZN6CUMP459UMP45FireEffi", mfunc_ptr_cast(&CUMP45::UMP45Fire) }, -//CSG550 - //virtual func - { 0x01D0D310, "_ZN6CSG5505SpawnEv", mfunc_ptr_cast(&CSG550::Spawn_) }, - { 0x01D0D360, "_ZN6CSG5508PrecacheEv", mfunc_ptr_cast(&CSG550::Precache_) }, - { 0x01D0D3E0, "_ZN6CSG55011GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CSG550::GetItemInfo_) }, - { 0x01D0D450, "_ZN6CSG5506DeployEv", mfunc_ptr_cast(&CSG550::Deploy_) }, - { 0x01D0DA10, "_ZN6CSG55011GetMaxSpeedEv", mfunc_ptr_cast(&CSG550::GetMaxSpeed_) }, - //{ 0x01D0DA30, "_ZN6CSG5509iItemSlotEv", mfunc_ptr_cast(&CSG550::iItemSlot_) }, // DEFAULT - { 0x01D0D480, "_ZN6CSG55015SecondaryAttackEv", mfunc_ptr_cast(&CSG550::SecondaryAttack_) }, - { 0x01D0D560, "_ZN6CSG55013PrimaryAttackEv", mfunc_ptr_cast(&CSG550::PrimaryAttack_) }, - { 0x01D0D920, "_ZN6CSG5506ReloadEv", mfunc_ptr_cast(&CSG550::Reload_) }, - { 0x01D0D990, "_ZN6CSG55010WeaponIdleEv", mfunc_ptr_cast(&CSG550::WeaponIdle_) }, - //{ 0x01D0DA40, "_ZN6CSG55012UseDecrementEv", mfunc_ptr_cast(&CSG550::UseDecrement_) }, // DEFAULT - //non-virtual func - { 0x01D0D2C0, "weapon_sg550", (size_t)&weapon_sg550 }, - { 0x01D0D610, "_ZN6CSG5509SG550FireEffi", mfunc_ptr_cast(&CSG550::SG550Fire) }, -//CGalil - //virtual func - { 0x01D06AC0, "_ZN6CGalil5SpawnEv", mfunc_ptr_cast(&CGalil::Spawn_) }, - { 0x01D06B00, "_ZN6CGalil8PrecacheEv", mfunc_ptr_cast(&CGalil::Precache_) }, - { 0x01D06B80, "_ZN6CGalil11GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CGalil::GetItemInfo_) }, - { 0x01D06BF0, "_ZN6CGalil6DeployEv", mfunc_ptr_cast(&CGalil::Deploy_) }, - //{ 0x01D07170, "_ZN6CGalil11GetMaxSpeedEv", mfunc_ptr_cast(&CGalil::GetMaxSpeed_) }, // DEFAULT - //{ 0x01D07160, "_ZN6CGalil9iItemSlotEv", mfunc_ptr_cast(&CGalil::iItemSlot_) }, // DEFAULT - { 0x01D06C40, "_ZN6CGalil15SecondaryAttackEv", mfunc_ptr_cast(&CGalil::SecondaryAttack_) }, - { 0x01D06C50, "_ZN6CGalil13PrimaryAttackEv", mfunc_ptr_cast(&CGalil::PrimaryAttack_) }, - { 0x01D070A0, "_ZN6CGalil6ReloadEv", mfunc_ptr_cast(&CGalil::Reload_) }, - { 0x01D070F0, "_ZN6CGalil10WeaponIdleEv", mfunc_ptr_cast(&CGalil::WeaponIdle_) }, - //{ 0x01D07180, "_ZN6CGalil12UseDecrementEv", mfunc_ptr_cast(&CGalil::UseDecrement_) }, // DEFAULT - //non-virtual func - { 0x01D06A70, "weapon_galil", (size_t)&weapon_galil }, - { 0x01D06D20, "_ZN6CGalil9GalilFireEffi", mfunc_ptr_cast(&CGalil::GalilFire) }, -//CFamas - //virtual func - { 0x01D04A50, "_ZN6CFamas5SpawnEv", mfunc_ptr_cast(&CFamas::Spawn_) }, - { 0x01D04AA0, "_ZN6CFamas8PrecacheEv", mfunc_ptr_cast(&CFamas::Precache_) }, - { 0x01D04B40, "_ZN6CFamas11GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CFamas::GetItemInfo_) }, - { 0x01D04BB0, "_ZN6CFamas6DeployEv", mfunc_ptr_cast(&CFamas::Deploy_) }, - //{ 0x01D05210, "_ZN6CFamas11GetMaxSpeedEv", mfunc_ptr_cast(&CFamas::GetMaxSpeed_) }, // DEFAULT - //{ 0x01D05200, "_ZN6CFamas9iItemSlotEv", mfunc_ptr_cast(&CFamas::iItemSlot_) }, // DEFAULT - { 0x01D04C10, "_ZN6CFamas15SecondaryAttackEv", mfunc_ptr_cast(&CFamas::SecondaryAttack_) }, - { 0x01D04C90, "_ZN6CFamas13PrimaryAttackEv", mfunc_ptr_cast(&CFamas::PrimaryAttack_) }, - { 0x01D05120, "_ZN6CFamas6ReloadEv", mfunc_ptr_cast(&CFamas::Reload_) }, - { 0x01D05190, "_ZN6CFamas10WeaponIdleEv", mfunc_ptr_cast(&CFamas::WeaponIdle_) }, - //{ 0x01D05220, "_ZN6CFamas12UseDecrementEv", mfunc_ptr_cast(&CFamas::UseDecrement_) }, // DEFAULT - //non-virtual func - { 0x01D04A00, "weapon_famas", (size_t)&weapon_famas }, - { 0x01D04D70, "_ZN6CFamas9FamasFireEffii", mfunc_ptr_cast(&CFamas::FamasFire) }, -//CArmoury - //virtual func - { 0x01DD0E50, "_ZN8CArmoury5SpawnEv", mfunc_ptr_cast(&CArmoury::Spawn_) }, - { 0x01DD1230, "_ZN8CArmoury8PrecacheEv", mfunc_ptr_cast(&CArmoury::Precache_) }, - { 0x01DD10A0, "_ZN8CArmoury7RestartEv", mfunc_ptr_cast(&CArmoury::Restart_) }, - { 0x01DD0D80, "_ZN8CArmoury8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CArmoury::KeyValue_) }, - //non-virtual func - { 0x01DD0E00, "armoury_entity", (size_t)&armoury_entity }, - { 0x01DD0A10, "_ZN8CArmoury12ArmouryTouchEP11CBaseEntity", mfunc_ptr_cast(&CArmoury::ArmouryTouch) }, - -#endif // Weapons_Region - -#ifndef GGrenade_Region - - //virtual func - { 0x01D831C0, "_ZN8CGrenade5SpawnEv", mfunc_ptr_cast(&CGrenade::Spawn_) }, - { 0x01D84820, "_ZN8CGrenade4SaveER5CSave", mfunc_ptr_cast(&CGrenade::Save_) }, - { 0x01D84850, "_ZN8CGrenade7RestoreER8CRestore", mfunc_ptr_cast(&CGrenade::Restore_) }, - //{ 0x01D594F0, "_ZN8CGrenade10ObjectCapsEv", mfunc_ptr_cast(&CGrenade::ObjectCaps_) }, // DEFAULT - { 0x01D82320, "_ZN8CGrenade6KilledEP9entvars_si", mfunc_ptr_cast(&CGrenade::Killed_) }, - //{ 0x01D83560, "_ZN8CGrenade10BloodColorEv", mfunc_ptr_cast(&CGrenade::BloodColor_) }, // DEFAULT - { 0x01D83720, "_ZN8CGrenade3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CGrenade::Use_) }, - { 0x01D82E00, "_ZN8CGrenade11BounceSoundEv", mfunc_ptr_cast(&CGrenade::BounceSound_) }, - //non-virtual func - //{ 0x0, "", (size_t)&AnnounceFlashInterval }, // NOXREF - { 0x01D83570, "_ZN8CGrenade10ShootTimedEP9entvars_s6VectorS2_f", mfunc_ptr_cast(&CGrenade::ShootTimed) }, - { 0x01D833D0, "_ZN8CGrenade11ShootTimed2EP9entvars_s6VectorS2_fit", mfunc_ptr_cast(&CGrenade::ShootTimed2) }, - //{ 0x01D832C0, "_ZN8CGrenade12ShootContactEP9entvars_s6VectorS2_", mfunc_ptr_cast(&CGrenade::ShootContact) }, // NOXREF - { 0x01D83C90, "_ZN8CGrenade17ShootSmokeGrenadeEP9entvars_s6VectorS2_ft", mfunc_ptr_cast(&CGrenade::ShootSmokeGrenade) }, - { 0x01D839C0, "_ZN8CGrenade18ShootSatchelChargeEP9entvars_s6VectorS2_", mfunc_ptr_cast(&CGrenade::ShootSatchelCharge) }, - //{ 0x01D84760, "_ZN8CGrenade17UseSatchelChargesEP9entvars_sNS_11SATCHELCODEE", mfunc_ptr_cast(&CGrenade::UseSatchelCharges) }, // NOXREF - { 0x01D80D40, "_ZN8CGrenade7ExplodeE6VectorS0_", mfunc_ptr_cast(&CGrenade::Explode) }, - { 0x01D80DA0, "_ZN8CGrenade7ExplodeEP11TraceResulti", mfunc_ptr_cast(&CGrenade::Explode) }, - { 0x01D81010, "_ZN8CGrenade8Explode2EP11TraceResulti", mfunc_ptr_cast(&CGrenade::Explode2) }, - { 0x01D81620, "_ZN8CGrenade8Explode3EP11TraceResulti", mfunc_ptr_cast(&CGrenade::Explode3) }, - //{ 0x01D819B0, "_ZN8CGrenade10SG_ExplodeEP11TraceResulti", mfunc_ptr_cast(&CGrenade::SG_Explode) }, // NOXREF - { 0x01D82050, "_ZN8CGrenade5SmokeEv", mfunc_ptr_cast(&CGrenade::Smoke) }, - { 0x01D81F50, "_ZN8CGrenade6Smoke2Ev", mfunc_ptr_cast(&CGrenade::Smoke2) }, - { 0x01D81DF0, "_ZN8CGrenade8Smoke3_AEv", mfunc_ptr_cast(&CGrenade::Smoke3_A) }, - { 0x01D81C90, "_ZN8CGrenade8Smoke3_BEv", mfunc_ptr_cast(&CGrenade::Smoke3_B) }, - { 0x01D81B70, "_ZN8CGrenade8Smoke3_CEv", mfunc_ptr_cast(&CGrenade::Smoke3_C) }, - { 0x01D82150, "_ZN8CGrenade8SG_SmokeEv", mfunc_ptr_cast(&CGrenade::SG_Smoke) }, - { 0x01D82B10, "_ZN8CGrenade11BounceTouchEP11CBaseEntity", mfunc_ptr_cast(&CGrenade::BounceTouch) }, - { 0x01D82D80, "_ZN8CGrenade10SlideTouchEP11CBaseEntity", mfunc_ptr_cast(&CGrenade::SlideTouch) }, - { 0x01D83E60, "_ZN8CGrenade7C4ThinkEv", mfunc_ptr_cast(&CGrenade::C4Think) }, - { 0x01D84750, "_ZN8CGrenade7C4TouchEP11CBaseEntity", mfunc_ptr_cast(&CGrenade::C4Touch) }, - { 0x01D82820, "_ZN8CGrenade12ExplodeTouchEP11CBaseEntity", mfunc_ptr_cast(&CGrenade::ExplodeTouch) }, - { 0x01D82A00, "_ZN8CGrenade16DangerSoundThinkEv", mfunc_ptr_cast(&CGrenade::DangerSoundThink) }, - { 0x01D823D0, "_ZN8CGrenade11PreDetonateEv", mfunc_ptr_cast(&CGrenade::PreDetonate) }, - { 0x01D82410, "_ZN8CGrenade8DetonateEv", mfunc_ptr_cast(&CGrenade::Detonate) }, - { 0x01D824A0, "_ZN8CGrenade11SG_DetonateEv", mfunc_ptr_cast(&CGrenade::SG_Detonate) }, - { 0x01D82700, "_ZN8CGrenade9Detonate2Ev", mfunc_ptr_cast(&CGrenade::Detonate2) }, - { 0x01D82790, "_ZN8CGrenade9Detonate3Ev", mfunc_ptr_cast(&CGrenade::Detonate3) }, - { 0x01D823B0, "_ZN8CGrenade11DetonateUseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CGrenade::DetonateUse) }, - { 0x01D82EE0, "_ZN8CGrenade11TumbleThinkEv", mfunc_ptr_cast(&CGrenade::TumbleThink) }, - { 0x01D83030, "_ZN8CGrenade14SG_TumbleThinkEv", mfunc_ptr_cast(&CGrenade::SG_TumbleThink) }, - //linked objects - { 0x01D80CF0, "grenade", (size_t)&grenade }, - -#endif // GGrenade_Region - -#ifndef Animation_Region - - { 0x01D5A650, "_Z11ExtractBboxPviPfS0_", (size_t)&ExtractBbox }, - { 0x01D5A6B0, "_Z14LookupActivityPvP9entvars_si", (size_t)&LookupActivity }, - { 0x01D5A780, "_Z22LookupActivityHeaviestPvP9entvars_si", (size_t)&LookupActivityHeaviest }, - //{ 0x01D5A7D0, "_Z14GetEyePositionPvPf", (size_t)&GetEyePosition }, // NOXREF - { 0x01D5A810, "_Z14LookupSequencePvPKc", (size_t)&LookupSequence }, - //{ 0x01D5A870, "_Z12IsSoundEventi", (size_t)&IsSoundEvent }, // NOXREF - //{ 0x01D5A890, "_Z16SequencePrecachePvPKc", (size_t)&SequencePrecache }, // NOXREF - { 0x01D5A9A0, "_Z15GetSequenceInfoPvP9entvars_sPfS2_", (size_t)&GetSequenceInfo }, - { 0x01D5AA60, "_Z16GetSequenceFlagsPvP9entvars_s", (size_t)&GetSequenceFlags }, - { 0x01D5AAA0, "_Z17GetAnimationEventPvP9entvars_sP14MonsterEvent_tffi", (size_t)&GetAnimationEvent }, - { 0x01D5ABF0, "_Z13SetControllerPvP9entvars_sif", (size_t)&SetController }, - { 0x01D5AD60, "_Z11SetBlendingPvP9entvars_sif", (size_t)&SetBlending }, - { 0x01D5AEB0, "_Z14FindTransitionPviiPi", (size_t)&FindTransition }, - { 0x01D5AFC0, "_Z12SetBodygroupPvP9entvars_sii", (size_t)&SetBodygroup }, - { 0x01D5B020, "_Z12GetBodygroupPvP9entvars_si", (size_t)&GetBodygroup }, - { 0x01D5B080, "Server_GetBlendingInterface", (size_t)&Server_GetBlendingInterface }, - { 0x01D5B0E0, "_Z15AngleQuaternionPfS_", (size_t)&AngleQuaternion }, - { 0x01D5B190, "_Z15QuaternionSlerpPfS_fS_", (size_t)&QuaternionSlerp }, - { 0x01D5B430, "_Z13StudioGetAnimP7model_sP16mstudioseqdesc_t", (size_t)&StudioGetAnim }, - //{ 0x01D5B4C0, "_Z15LookupAnimationP11studiohdr_tP7model_sP16mstudioseqdesc_ti", (size_t)&LookupAnimation }, // NOXREF - { 0x01D5B500, "_Z17StudioCalcBoneAdjfPfPKhS1_h", (size_t)&StudioCalcBoneAdj }, - { 0x01D5B720, "_Z23StudioCalcBoneQuaterionifP13mstudiobone_tP13mstudioanim_tPfS3_", (size_t)&StudioCalcBoneQuaterion }, - { 0x01D5B8E0, "_Z22StudioCalcBonePositionifP13mstudiobone_tP13mstudioanim_tPfS3_", (size_t)&StudioCalcBonePosition }, - { 0x01D5BA20, "_Z16StudioSlerpBonesPA4_fPA3_fS0_S2_f", (size_t)&StudioSlerpBones }, - //{ 0x01D5BB50, "_Z19StudioCalcRotationsP13mstudiobone_tPiiPfPA3_fPA4_fP16mstudioseqdesc_tP13mstudioanim_tff", (size_t)&StudioCalcRotations }, // NOXREF - { 0x01D5BBE0, "_Z16ConcatTransformsPA4_fS0_S0_", (size_t)&ConcatTransforms }, - -#if 1 - // NOTE: both functions must be involved in the hooks or also both disable their. - { 0x01D5B350, "_Z16QuaternionMatrixPfPA4_f", (size_t)&QuaternionMatrix }, - { 0x01D5BD20, "_Z19SV_StudioSetupBonesP7model_sfiPKfS2_PKhS4_iPK7edict_s", (size_t)&SV_StudioSetupBones }, -#endif - -#endif // Animation_Region - -#ifndef MemoryPool_Region - - //{ 0x01D8A2D0, "_ZN11CMemoryPoolC2Eii", mfunc_ptr_cast(&CMemoryPool::CMemoryPool) }, // NOXREF - { 0x01D8A330, "_ZN11CMemoryPool10AddNewBlobEv", mfunc_ptr_cast(&CMemoryPool::AddNewBlob) }, - { 0x01D8A3D0, "_ZN11CMemoryPool5AllocEj", mfunc_ptr_cast(&CMemoryPool::Alloc) }, - { 0x01D8A420, "_ZN11CMemoryPool4FreeEPv", mfunc_ptr_cast(&CMemoryPool::Free) }, - -#endif // MemoryPool_Region - -#ifndef Unicode_StrTools_Region - - //{ 0x0, "_Z16Q_IsValidUChar32w", (size_t)&Q_IsValidUChar32 }, - -#ifdef _WIN32 - { 0x01DDE010, "", (size_t)&Q_UTF32ToUChar32 }, -#endif // _WIN32 - - //{ 0x0, "", (size_t)&Q_UChar32ToUTF32Len }, - //{ 0x0, "", (size_t)&Q_UChar32ToUTF32 }, - //{ 0x01DDDEE0, "", (size_t)&Q_UChar32ToUTF8Len }, // NOXREF - //{ 0x0, "_Z19Q_UChar32ToUTF16Lenw", (size_t)&Q_UChar32ToUTF16Len }, // NOXREF - //{ 0x0, "_Z16Q_UChar32ToUTF16wPt", (size_t)&Q_UChar32ToUTF16 }, // NOXREF - //{ 0x01DDDF70, "_Z15Q_UChar32ToUTF8wPc", (size_t)&Q_UChar32ToUTF8 }, // NOXREF - //{ 0x0, "_Z16Q_UTF16ToUChar32PKtRwRb", (size_t)&Q_UTF16ToUChar32 }, // NOXREF - //{ 0x0, "_Z13Q_UTF8ToUTF16PKcPti25EStringConvertErrorPolicy", (size_t)&Q_UTF8ToUTF16 }, // NOXREF - //{ 0x01DDFA30, "_Z13Q_UTF8ToUTF32PKcPwi25EStringConvertErrorPolicy", (size_t)&Q_UTF8ToUTF32 }, - //{ 0x0, "_Z13Q_UTF16ToUTF8PKtPci25EStringConvertErrorPolicy", (size_t)&Q_UTF16ToUTF8 }, // NOXREF - //{ 0x0, "_Z14Q_UTF16ToUTF32PKtPwi25EStringConvertErrorPolicy", (size_t)&Q_UTF16ToUTF32 }, // NOXREF - //{ 0x0, "_Z13Q_UTF32ToUTF8PKwPci25EStringConvertErrorPolicy", (size_t)&Q_UTF32ToUTF8 }, // NOXREF - //{ 0x01DDEB00, "_Z14Q_UTF32ToUTF16PKwPti25EStringConvertErrorPolicy", (size_t)&Q_UTF32ToUTF16 }, // NOXREF - //{ 0x01DDECA0, "_Z15Q_UTF8ToUChar32PKcRwRb", (size_t)&Q_UTF8ToUChar32 }, - { 0x01DDEE00, "Q_UnicodeValidate", (size_t)&Q_UnicodeValidate }, - //{ 0x01DDEE50, "Q_UnicodeLength", (size_t)&Q_UnicodeLength }, // NOXREF - //{ 0x01DDEE80, "Q_UnicodeAdvance", (size_t)&Q_UnicodeAdvance }, - //{ 0x01DDEEC0, "_Z14Q_IsMeanSpaceWw", (size_t)&Q_IsMeanSpaceW }, // NOXREF - //{ 0x01DDF150, "_Z15Q_IsDeprecatedWw", (size_t)&Q_IsDeprecatedW }, // NOXREF - //{ 0x0, "", (size_t)&StripWhitespaceWorker }, // NOXREF - //{ 0x0, "", (size_t)&StripUnprintableWorker }, // NOXREF - { 0x01DDF1D0, "Q_StripUnprintableAndSpace", (size_t)&Q_StripUnprintableAndSpace }, - //{ 0x01DDF8A0, "V_UTF8ToUChar32", (size_t)&V_UTF8ToUChar32 }, // NOXREF - //{ 0x01DDF8D0, "Q_UnicodeRepair", (size_t)&Q_UnicodeRepair }, // NOXREF - -#endif // Unicode_StrTools_Region - -#ifndef CUtlSymbol_Region - - //{ 0x01DC81F0, "_ZN10CUtlSymbolC2EPKc", mfunc_ptr_cast(&CUtlSymbol::CUtlSymbol) }, - //{ 0x01DC80D0, "_ZN10CUtlSymbol10InitializeEv", mfunc_ptr_cast(&CUtlSymbol::Initialize) }, - //{ 0x01DC8160, "_ZN10CUtlSymbol9CurrTableEv", mfunc_ptr_cast(&CUtlSymbol::CurrTable) }, - //{ 0x01DC82A0, "_ZNK10CUtlSymbol6StringEv", mfunc_ptr_cast(&CUtlSymbol::String) }, - //{ 0x01DC82E0, "_ZNK10CUtlSymboleqEPKc", mfunc_ptr_cast(&CUtlSymbol::operator==) }, - //{ 0x01DC8390, "_ZN15CUtlSymbolTable7SymLessERKjS1_", mfunc_ptr_cast(&CUtlSymbolTable::SymLess) }, - //{ 0x01DC8410, "_ZN15CUtlSymbolTable8SymLessiERKjS1_", mfunc_ptr_cast(&CUtlSymbolTable::SymLessi) }, - //{ 0x01DC8460, "_ZN15CUtlSymbolTableC2Eiib", mfunc_ptr_cast(&CUtlSymbolTable::CUtlSymbolTable) }, // NOXREF - //{ 0x01DC84D0, "_ZN15CUtlSymbolTableD2Ev", mfunc_ptr_cast(&CUtlSymbolTable::~CUtlSymbolTable) }, // NOXREF - //{ 0x01DC8540, "_ZN15CUtlSymbolTable4FindEPKc", mfunc_ptr_cast(&CUtlSymbolTable::Find) }, // NOXREF - //{ 0x01DC87D0, "_ZNK15CUtlSymbolTable6StringE10CUtlSymbol", mfunc_ptr_cast(&CUtlSymbolTable::String) }, - //{ 0x01DC8800, "_ZN15CUtlSymbolTable9RemoveAllEv", mfunc_ptr_cast(&CUtlSymbolTable::RemoveAll) }, - //{ 0x01DC8680, "_ZN15CUtlSymbolTable9AddStringEPKc", mfunc_ptr_cast(&CUtlSymbolTable::AddString) }, - -#endif // CUtlSymbol_Region - -#ifndef Debug_Region - - //{ 0x0, "", (size_t)&IsDeveloper }, // NOXREF - //{ 0x01D732D0, "_Z12UTIL_DPrintf15DebugOutputTypePcz", mfunc_ptr_cast(&UTIL_DPrintf) }, // NOXREF - { 0x01D73320, "_Z12UTIL_DPrintfPcz", mfunc_ptr_cast(&UTIL_DPrintf) }, - //{ 0x01D73360, "_Z20UTIL_SetDprintfFlagsPKc", (size_t)&PrintDebugFlags }, // NOXREF - //{ 0x0, "_ZL12SetDebugFlagPKcb", (size_t)&SetDebugFlag }, // NOXREF - //{ 0x0, "_Z14PrintDebugFlagPKc", (size_t)&PrintDebugFlag }, // NOXREF - { 0x01D73410, "_Z20UTIL_SetDprintfFlagsPKc", (size_t)&UTIL_SetDprintfFlags }, - //{ 0x01D73690, "_Z15UTIL_BotDPrintfPcz", (size_t)&UTIL_BotDPrintf }, // NOXREF - { 0x01D736E0, "_Z18UTIL_CareerDPrintfPcz", (size_t)&UTIL_CareerDPrintf }, - //{ 0x01D73730, "_Z17UTIL_TutorDPrintfPcz", (size_t)&UTIL_TutorDPrintf }, // NOXREF - //{ 0x01D73780, "_Z17UTIL_StatsDPrintfPcz", (size_t)&UTIL_StatsDPrintf }, // NOXREF - //{ 0x01D737D0, "_Z19UTIL_HostageDPrintfPcz", (size_t)&UTIL_HostageDPrintf }, // NOXREF - -#endif // Debug_Region - -#ifndef CS_Bot_Region -//Bot Manager - //virtual func - { 0x01D341B0, "_ZN11CBotManager12RestartRoundEv", mfunc_ptr_cast(&CBotManager::RestartRound_) }, - { 0x01D34210, "_ZN11CBotManager10StartFrameEv", mfunc_ptr_cast(&CBotManager::StartFrame_) }, - { 0x01D34540, "_ZN11CBotManager7OnEventE13GameEventTypeP11CBaseEntityS2_", mfunc_ptr_cast(&CBotManager::OnEvent_) }, - //non-virtual func - //{ 0x01D34170, "", mfunc_ptr_cast(&CBotManager::CBotManager) }, - { 0x01D34510, "_ZNK11CBotManager17GetNavMapFilenameEv", mfunc_ptr_cast(&CBotManager::GetNavMapFilename) }, - { 0x01D34650, "_ZN11CBotManager10AddGrenadeEiP8CGrenade", mfunc_ptr_cast(&CBotManager::AddGrenade) }, - { 0x01D346C0, "_ZN11CBotManager13RemoveGrenadeEP8CGrenade", mfunc_ptr_cast(&CBotManager::RemoveGrenade) }, - //{ 0x01D346F0, "_ZN11CBotManager22ValidateActiveGrenadesEv", mfunc_ptr_cast(&CBotManager::ValidateActiveGrenades) }, // NOXREF - //{ 0x01D34740, "_ZN11CBotManager18DestroyAllGrenadesEv", mfunc_ptr_cast(&CBotManager::DestroyAllGrenades) }, // NOXREF - { 0x01D347A0, "_ZN11CBotManager18IsInsideSmokeCloudEPK6Vector", mfunc_ptr_cast(&CBotManager::IsInsideSmokeCloud) }, - { 0x01D34850, "_ZN11CBotManager20IsLineBlockedBySmokeEPK6VectorS2_", mfunc_ptr_cast(&CBotManager::IsLineBlockedBySmoke) }, - //non-class func - { 0x01D34120, "_Z15NameToGameEventPKc", (size_t)&NameToGameEvent }, -//CCSBotManager - //virtual func - //{ 0x01D22D60, "", mfunc_ptr_cast(&CCSBotManager::CCSBotManager) }, - { 0x01D23770, "_ZN13CCSBotManager16ClientDisconnectEP11CBasePlayer", mfunc_ptr_cast(&CCSBotManager::ClientDisconnect_) }, - { 0x01D24880, "_ZN13CCSBotManager13ClientCommandEP11CBasePlayerPKc", mfunc_ptr_cast(&CCSBotManager::ClientCommand_) }, - { 0x01D234D0, "_ZN13CCSBotManager14ServerActivateEv", mfunc_ptr_cast(&CCSBotManager::ServerActivate_) }, - { 0x01D23760, "_ZN13CCSBotManager16ServerDeactivateEv", mfunc_ptr_cast(&CCSBotManager::ServerDeactivate_) }, - { 0x01D23900, "_ZN13CCSBotManager13ServerCommandEPKc", mfunc_ptr_cast(&CCSBotManager::ServerCommand_) }, - { 0x01D23520, "_ZN13CCSBotManager16AddServerCommandEPKc", mfunc_ptr_cast(&CCSBotManager::AddServerCommand_) }, - { 0x01D23540, "_ZN13CCSBotManager17AddServerCommandsEv", mfunc_ptr_cast(&CCSBotManager::AddServerCommands_) }, - { 0x01D22F40, "_ZN13CCSBotManager12RestartRoundEv", mfunc_ptr_cast(&CCSBotManager::RestartRound_) }, - { 0x01D23200, "_ZN13CCSBotManager10StartFrameEv", mfunc_ptr_cast(&CCSBotManager::StartFrame_) }, - { 0x01D25780, "_ZN13CCSBotManager7OnEventE13GameEventTypeP11CBaseEntityS2_", mfunc_ptr_cast(&CCSBotManager::OnEvent_) }, - { 0x01D25970, "_ZNK13CCSBotManager17GetPlayerPriorityEP11CBasePlayer", mfunc_ptr_cast(&CCSBotManager::GetPlayerPriority_) }, - { 0x01D25920, "_ZNK13CCSBotManager17IsImportantPlayerEP11CBasePlayer", mfunc_ptr_cast(&CCSBotManager::IsImportantPlayer_) }, - //non-virtual func - { 0x01D24D90, "_ZN13CCSBotManager15ValidateMapDataEv", mfunc_ptr_cast(&CCSBotManager::ValidateMapData) }, - //{ 0x0, "_ZNK13CCSBotManager13IsLearningMapEv", mfunc_ptr_cast(&CCSBotManager::IsLearningMap) }, - //{ 0x0, "_ZN13CCSBotManager18SetLearningMapFlagEv", mfunc_ptr_cast(&CCSBotManager::SetLearningMapFlag) }, - //{ 0x0, "_ZNK13CCSBotManager19IsAnalysisRequestedEv", mfunc_ptr_cast(&CCSBotManager::IsAnalysisRequested) }, - //{ 0x0, "_ZN13CCSBotManager15RequestAnalysisEv", mfunc_ptr_cast(&CCSBotManager::RequestAnalysis) }, - //{ 0x0, "_ZN13CCSBotManager18AckAnalysisRequestEv", mfunc_ptr_cast(&CCSBotManager::AckAnalysisRequest) }, - //{ 0x0, "_ZN13CCSBotManager18GetDifficultyLevelEv", mfunc_ptr_cast(&CCSBotManager::BotDifficultyType GetDifficultyLevel) }, - //{ 0x0, "_ZNK13CCSBotManager11GetScenarioEv", mfunc_ptr_cast(&CCSBotManager::GameScenarioType GetScenario) }, - //{ 0x0, "_ZNK13CCSBotManager7GetZoneEi", mfunc_ptr_cast(&CCSBotManager::GetZone) }, // NOXREF - { 0x01D25530, "_ZNK13CCSBotManager7GetZoneEPK6Vector", mfunc_ptr_cast(&CCSBotManager::GetZone) }, - { 0x01D255C0, "_ZNK13CCSBotManager14GetClosestZoneEPK6Vector", mfunc_ptr_cast(&CCSBotManager::GetClosestZone) }, - //{ 0x0, "_ZNK13CCSBotManager14GetClosestZoneEPK11CBaseEntity", mfunc_ptr_cast(&CCSBotManager::GetClosestZone) }, - //{ 0x0, "_ZNK13CCSBotManager12GetZoneCountEv", mfunc_ptr_cast(&CCSBotManager::GetZoneCount) }, - { 0x01D25630, "_ZNK13CCSBotManager23GetRandomPositionInZoneEPKNS_4ZoneE", mfunc_ptr_cast(&CCSBotManager::GetRandomPositionInZone) }, - { 0x01D25750, "_ZNK13CCSBotManager19GetRandomAreaInZoneEPKNS_4ZoneE", mfunc_ptr_cast(&CCSBotManager::GetRandomAreaInZone) }, - //{ 0x0, "_ZNK13CCSBotManager13GetRandomZoneEv", mfunc_ptr_cast(&CCSBotManager::GetRandomZone) }, - //{ 0x0, "_ZNK13CCSBotManager13IsBombPlantedEv", mfunc_ptr_cast(&CCSBotManager::IsBombPlanted) }, - //{ 0x0, "_ZNK13CCSBotManager21GetBombPlantTimestampEv", mfunc_ptr_cast(&CCSBotManager::GetBombPlantTimestamp) }, - //{ 0x0, "_ZNK13CCSBotManager17IsTimeToPlantBombEv", mfunc_ptr_cast(&CCSBotManager::IsTimeToPlantBomb) }, - //{ 0x0, "_ZNK13CCSBotManager14GetBombDefuserEv", mfunc_ptr_cast(&CCSBotManager::GetBombDefuser) }, - { 0x01D258B0, "_ZNK13CCSBotManager15GetBombTimeLeftEv", mfunc_ptr_cast(&CCSBotManager::GetBombTimeLeft) }, - //{ 0x0, "_ZN13CCSBotManager12GetLooseBombEv", mfunc_ptr_cast(&CCSBotManager::GetLooseBomb) }, - //{ 0x0, "_ZNK13CCSBotManager16GetLooseBombAreaEv", mfunc_ptr_cast(&CCSBotManager::GetLooseBombArea) }, - { 0x01D258D0, "_ZN13CCSBotManager12SetLooseBombEP11CBaseEntity", mfunc_ptr_cast(&CCSBotManager::SetLooseBomb) }, - { 0x01D25A10, "_ZNK13CCSBotManager24GetRadioMessageTimestampE13GameEventTypei", mfunc_ptr_cast(&CCSBotManager::GetRadioMessageTimestamp) }, - { 0x01D25A40, "_ZNK13CCSBotManager23GetRadioMessageIntervalE13GameEventTypei", mfunc_ptr_cast(&CCSBotManager::GetRadioMessageInterval) }, - { 0x01D25A70, "_ZN13CCSBotManager24SetRadioMessageTimestampE13GameEventTypei", mfunc_ptr_cast(&CCSBotManager::SetRadioMessageTimestamp) }, - //{ 0x01D25AA0, "_ZN13CCSBotManager27ResetRadioMessageTimestampsEv", mfunc_ptr_cast(&CCSBotManager::ResetRadioMessageTimestamps) }, // NOXREF - //{ 0x0, "_ZNK13CCSBotManager25GetLastSeenEnemyTimestampEv", mfunc_ptr_cast(&CCSBotManager::GetLastSeenEnemyTimestamp) }, - //{ 0x0, "_ZN13CCSBotManager25SetLastSeenEnemyTimestampEv", mfunc_ptr_cast(&CCSBotManager::SetLastSeenEnemyTimestamp) }, - //{ 0x0, "_ZNK13CCSBotManager17GetRoundStartTimeEv", mfunc_ptr_cast(&CCSBotManager::GetRoundStartTime) }, - //{ 0x0, "_ZNK13CCSBotManager19GetElapsedRoundTimeEv", mfunc_ptr_cast(&CCSBotManager::GetElapsedRoundTime) }, - //{ 0x0, "_ZNK13CCSBotManager11AllowRoguesEv", mfunc_ptr_cast(&CCSBotManager::AllowRogues) }, - //{ 0x0, "_ZNK13CCSBotManager12AllowPistolsEv", mfunc_ptr_cast(&CCSBotManager::AllowPistols) }, - //{ 0x0, "_ZNK13CCSBotManager13AllowShotgunsEv", mfunc_ptr_cast(&CCSBotManager::AllowShotguns) }, - //{ 0x0, "_ZNK13CCSBotManager19AllowSubMachineGunsEv", mfunc_ptr_cast(&CCSBotManager::AllowSubMachineGuns) }, - //{ 0x0, "_ZNK13CCSBotManager11AllowRiflesEv", mfunc_ptr_cast(&CCSBotManager::AllowRifles) }, - //{ 0x0, "_ZNK13CCSBotManager16AllowMachineGunsEv", mfunc_ptr_cast(&CCSBotManager::AllowMachineGuns) }, - //{ 0x0, "_ZNK13CCSBotManager13AllowGrenadesEv", mfunc_ptr_cast(&CCSBotManager::AllowGrenades) }, - //{ 0x0, "_ZNK13CCSBotManager12AllowSnipersEv", mfunc_ptr_cast(&CCSBotManager::AllowSnipers) }, - //{ 0x0, "_ZNK13CCSBotManager19AllowTacticalShieldEv", mfunc_ptr_cast(&CCSBotManager::AllowTacticalShield) }, - //{ 0x0, "_ZNK13CCSBotManager23AllowFriendlyFireDamageEv", mfunc_ptr_cast(&CCSBotManager::AllowFriendlyFireDamage) }, - { 0x01D232D0, "_ZN13CCSBotManager15IsWeaponUseableEP15CBasePlayerItem", mfunc_ptr_cast(&CCSBotManager::IsWeaponUseable) }, - //{ 0x0, "_ZNK13CCSBotManager16IsDefenseRushingEv", mfunc_ptr_cast(&CCSBotManager::IsDefenseRushing) }, - //{ 0x01D23410, "_ZNK13CCSBotManager11IsOnDefenseEPK11CBasePlayer", mfunc_ptr_cast(&CCSBotManager::IsOnDefense) }, // NOXREF - { 0x01D23460, "_ZNK13CCSBotManager11IsOnOffenseEPK11CBasePlayer", mfunc_ptr_cast(&CCSBotManager::IsOnOffense) }, - //{ 0x0, "_ZNK13CCSBotManager11IsRoundOverEv", mfunc_ptr_cast(&CCSBotManager::IsRoundOver) }, - //{ 0x0, "_ZNK13CCSBotManager11GetNavPlaceEv", mfunc_ptr_cast(&CCSBotManager::GetNavPlace) }, - //{ 0x0, "_ZN13CCSBotManager11SetNavPlaceEj", mfunc_ptr_cast(&CCSBotManager::SetNavPlace) }, - //{ 0x01D24D10, "_ZN13CCSBotManager15MonitorBotCVarsEv", mfunc_ptr_cast(&CCSBotManager::MonitorBotCVars) }, // NOXREF - { 0x01D24AE0, "_ZN13CCSBotManager16MaintainBotQuotaEv", mfunc_ptr_cast(&CCSBotManager::MaintainBotQuota) }, - //{ 0x0, "_ZN13CCSBotManager16GetRandomBotNameENS_9SkillTypeE", mfunc_ptr_cast(&CCSBotManager::GetRandomBotName) }, - { 0x01D25270, "_ZN13CCSBotManager6AddBotEPK10BotProfile18BotProfileTeamType", mfunc_ptr_cast(&CCSBotManager::AddBot) }, - { 0x01D248B0, "_ZN13CCSBotManager13BotAddCommandE18BotProfileTeamTypeb", mfunc_ptr_cast(&CCSBotManager::BotAddCommand) }, - //{ 0x01D238A0, "_Z16PrintAllEntitiesv", (size_t)&PrintAllEntities }, // NOXREF - { 0x01D23020, "_Z12UTIL_DrawBoxP6Extentiiii", (size_t)&UTIL_DrawBox }, -//CCSBot - //{ 0x01D208C0, "_ZN6CCSBotC2Ev", mfunc_ptr_cast(&CCSBot::CCSBot) }, - //virtual func - { 0x01D173D0, "_ZN6CCSBot10TakeDamageEP9entvars_sS1_fi", mfunc_ptr_cast(&CCSBot::TakeDamage_) }, - { 0x01D175A0, "_ZN6CCSBot6KilledEP9entvars_si", mfunc_ptr_cast(&CCSBot::Killed_) }, - { 0x01D20EC0, "_ZN6CCSBot12RoundRespawnEv", mfunc_ptr_cast(&CCSBot::RoundRespawn_) }, - { 0x01D30A80, "_ZN6CCSBot5BlindEfffi", mfunc_ptr_cast(&CCSBot::Blind_) }, - { 0x01D32370, "_ZN6CCSBot16OnTouchingWeaponEP10CWeaponBox", mfunc_ptr_cast(&CCSBot::OnTouchingWeapon_) }, - { 0x01D20A60, "_ZN6CCSBot10InitializeEPK10BotProfile", mfunc_ptr_cast(&CCSBot::Initialize_) }, - { 0x01D20E40, "_ZN6CCSBot8SpawnBotEv", mfunc_ptr_cast(&CCSBot::SpawnBot_) }, - { 0x01D2D370, "_ZN6CCSBot6UpkeepEv", mfunc_ptr_cast(&CCSBot::Upkeep_) }, - //@{ 0x01D2D9B0, "_ZN6CCSBot6UpdateEv", mfunc_ptr_cast(&CCSBot::Update_) }, // using refs HOOK: FIX ME - { 0x01D17370, "_ZN6CCSBot4WalkEv", mfunc_ptr_cast(&CCSBot::Walk_) }, - { 0x01D173A0, "_ZN6CCSBot4JumpEb", mfunc_ptr_cast(&CCSBot::Jump_) }, - { 0x01D1F990, "_ZN6CCSBot7OnEventE13GameEventTypeP11CBaseEntityS2_", mfunc_ptr_cast(&CCSBot::OnEvent_) }, - { 0x01D2F490, "_ZNK6CCSBot9IsVisibleEPK6Vectorb", mfunc_ptr_cast(&CCSBot::IsVisible_) }, - { 0x01D2F5C0, "_ZNK6CCSBot9IsVisibleEP11CBasePlayerbPh", mfunc_ptr_cast(&CCSBot::IsVisible_) }, - { 0x01D21390, "_ZNK6CCSBot18IsEnemyPartVisibleEN4CBot15VisiblePartTypeE", mfunc_ptr_cast(&CCSBot::IsEnemyPartVisible_) }, - //non-virtual func - { 0x01D20EE0, "_ZN6CCSBot10DisconnectEv", mfunc_ptr_cast(&CCSBot::Disconnect) }, - //{ 0x0, "_ZNK6CCSBot14GetCombatRangeEv", mfunc_ptr_cast(&CCSBot::GetCombatRange) }, - { 0x01D184D0, "_ZNK6CCSBot7IsRogueEv", mfunc_ptr_cast(&CCSBot::IsRogue) }, - //{ 0x0, "_ZN6CCSBot8SetRogueEb", mfunc_ptr_cast(&CCSBot::SetRogue) }, - { 0x01D185C0, "_ZNK6CCSBot10IsHurryingEv", mfunc_ptr_cast(&CCSBot::IsHurrying) }, - //{ 0x0, "_ZN6CCSBot5HurryEf", mfunc_ptr_cast(&CCSBot::Hurry) }, - { 0x01D18620, "_ZNK6CCSBot6IsSafeEv", mfunc_ptr_cast(&CCSBot::IsSafe) }, - { 0x01D18650, "_ZNK6CCSBot14IsWellPastSafeEv", mfunc_ptr_cast(&CCSBot::IsWellPastSafe) }, - { 0x01D18680, "_ZNK6CCSBot15IsEndOfSafeTimeEv", mfunc_ptr_cast(&CCSBot::IsEndOfSafeTime) }, - { 0x01D186C0, "_ZNK6CCSBot20GetSafeTimeRemainingEv", mfunc_ptr_cast(&CCSBot::GetSafeTimeRemaining) }, - //{ 0x0, "_ZNK6CCSBot11GetSafeTimeEv", mfunc_ptr_cast(&CCSBot::GetSafeTime) }, - //{ 0x0, "_ZNK6CCSBot11IsUnhealthyEv", mfunc_ptr_cast(&CCSBot::IsUnhealthy) }, // NOXREF - { 0x01D2BE50, "_ZN6CCSBot4IdleEv", mfunc_ptr_cast(&CCSBot::Idle) }, - { 0x01D2C360, "_ZN6CCSBot4HideEP8CNavAreaffb", mfunc_ptr_cast(&CCSBot::Hide) }, - { 0x01D2C620, "_ZN6CCSBot4HideEPK6Vectorfb", mfunc_ptr_cast(&CCSBot::Hide) }, - { 0x01D2C830, "_ZN6CCSBot9TryToHideEP8CNavAreaffbb", mfunc_ptr_cast(&CCSBot::TryToHide) }, - { 0x01D2CA10, "_ZN6CCSBot12TryToRetreatEv", mfunc_ptr_cast(&CCSBot::TryToRetreat) }, - { 0x01D2CEA0, "_ZNK6CCSBot8IsHidingEv", mfunc_ptr_cast(&CCSBot::IsHiding) }, - { 0x01D2CEC0, "_ZNK6CCSBot14IsAtHidingSpotEv", mfunc_ptr_cast(&CCSBot::IsAtHidingSpot) }, - { 0x01D2CA90, "_ZN6CCSBot4HuntEv", mfunc_ptr_cast(&CCSBot::Hunt) }, - { 0x01D2CEE0, "_ZNK6CCSBot9IsHuntingEv", mfunc_ptr_cast(&CCSBot::IsHunting) }, - { 0x01D2CB60, "_ZN6CCSBot6AttackEP11CBasePlayer", mfunc_ptr_cast(&CCSBot::Attack) }, - { 0x01D30B70, "_ZN6CCSBot17FireWeaponAtEnemyEv", mfunc_ptr_cast(&CCSBot::FireWeaponAtEnemy) }, - { 0x01D2CD80, "_ZN6CCSBot13StopAttackingEv", mfunc_ptr_cast(&CCSBot::StopAttacking) }, - { 0x01D2CE50, "_ZNK6CCSBot11IsAttackingEv", mfunc_ptr_cast(&CCSBot::IsAttacking) }, - { 0x01D2CF40, "_ZN6CCSBot6MoveToEPK6Vector9RouteType", mfunc_ptr_cast(&CCSBot::MoveTo) }, - //{ 0x01D2CF00, "_ZNK6CCSBot10IsMovingToEv", mfunc_ptr_cast(&CCSBot::IsMovingTo) }, // NOXREF - { 0x01D2D030, "_ZN6CCSBot9PlantBombEv", mfunc_ptr_cast(&CCSBot::PlantBomb) }, - { 0x01D2D100, "_ZN6CCSBot9FetchBombEv", mfunc_ptr_cast(&CCSBot::FetchBomb) }, - { 0x01D17EA0, "_ZNK6CCSBot15NoticeLooseBombEv", mfunc_ptr_cast(&CCSBot::NoticeLooseBomb) }, - { 0x01D17EC0, "_ZNK6CCSBot15CanSeeLooseBombEv", mfunc_ptr_cast(&CCSBot::CanSeeLooseBomb) }, - //{ 0x0, "_ZNK6CCSBot14IsCarryingBombEv", mfunc_ptr_cast(&CCSBot::IsCarryingBomb) }, - { 0x01D2D1D0, "_ZN6CCSBot10DefuseBombEv", mfunc_ptr_cast(&CCSBot::DefuseBomb) }, - { 0x01D2CE80, "_ZNK6CCSBot14IsDefusingBombEv", mfunc_ptr_cast(&CCSBot::IsDefusingBomb) }, - { 0x01D17F00, "_ZNK6CCSBot17CanSeePlantedBombEv", mfunc_ptr_cast(&CCSBot::CanSeePlantedBomb) }, - { 0x01D2BF10, "_ZN6CCSBot14EscapeFromBombEv", mfunc_ptr_cast(&CCSBot::EscapeFromBomb) }, - { 0x01D2CE60, "_ZNK6CCSBot18IsEscapingFromBombEv", mfunc_ptr_cast(&CCSBot::IsEscapingFromBomb) }, - //{ 0x01D2C260, "_ZN6CCSBot14RescueHostagesEv", mfunc_ptr_cast(&CCSBot::RescueHostages) }, // NOXREF - { 0x01D2C280, "_ZN6CCSBot9UseEntityEP11CBaseEntity", mfunc_ptr_cast(&CCSBot::UseEntity) }, - { 0x01D2CF20, "_ZNK6CCSBot8IsBuyingEv", mfunc_ptr_cast(&CCSBot::IsBuying) }, - { 0x01D17B80, "_ZN6CCSBot5PanicEP11CBasePlayer", mfunc_ptr_cast(&CCSBot::Panic) }, - { 0x01D2BFF0, "_ZN6CCSBot6FollowEP11CBasePlayer", mfunc_ptr_cast(&CCSBot::Follow) }, - { 0x01D2C130, "_ZN6CCSBot17ContinueFollowingEv", mfunc_ptr_cast(&CCSBot::ContinueFollowing) }, - { 0x01D2C230, "_ZN6CCSBot13StopFollowingEv", mfunc_ptr_cast(&CCSBot::StopFollowing) }, - //{ 0x0, "_ZNK6CCSBot11IsFollowingEv", mfunc_ptr_cast(&CCSBot::IsFollowing) }, - //{ 0x0, "_ZN6CCSBot15GetFollowLeaderEv", mfunc_ptr_cast(&CCSBot::GetFollowLeader) }, - //{ 0x0, "_ZNK6CCSBot17GetFollowDurationEv", mfunc_ptr_cast(&CCSBot::GetFollowDuration) }, - //{ 0x0, "_ZNK6CCSBot13CanAutoFollowEv", mfunc_ptr_cast(&CCSBot::CanAutoFollow) }, - //{ 0x0, "_ZNK6CCSBot11IsNotMovingEv", mfunc_ptr_cast(&CCSBot::IsNotMoving) }, - //{ 0x0, "_ZN6CCSBot10AimAtEnemyEv", mfunc_ptr_cast(&CCSBot::AimAtEnemy) }, - //{ 0x0, "_ZN6CCSBot10StopAimingEv", mfunc_ptr_cast(&CCSBot::StopAiming) }, - //{ 0x0, "_ZNK6CCSBot15IsAimingAtEnemyEv", mfunc_ptr_cast(&CCSBot::IsAimingAtEnemy) }, - //{ 0x0, "_ZNK6CCSBot11IsSurprisedEv", mfunc_ptr_cast(&CCSBot::IsSurprised) }, - //{ 0x0, "_ZNK6CCSBot16GetSurpriseDelayEv", mfunc_ptr_cast(&CCSBot::GetSurpriseDelay) }, - //{ 0x0, "_ZN6CCSBot18ClearSurpriseDelayEv", mfunc_ptr_cast(&CCSBot::ClearSurpriseDelay) }, - //{ 0x0, "_ZNK6CCSBot17GetStateTimestampEv", mfunc_ptr_cast(&CCSBot::GetStateTimestamp) }, - { 0x01D17E70, "_ZNK6CCSBot15IsDoingScenarioEv", mfunc_ptr_cast(&CCSBot::IsDoingScenario) }, - //{ 0x0, "_ZNK6CCSBot12GetGameStateEv", mfunc_ptr_cast(&CCSBot::GetGameState) }, - //{ 0x0, "_ZN6CCSBot12GetGameStateEv", mfunc_ptr_cast(&CCSBot::GetGameState) }, - //{ 0x0, "_ZN6CCSBot12IsAtBombsiteEv", mfunc_ptr_cast(&CCSBot::IsAtBombsite) }, - { 0x01D18740, "_ZN6CCSBot15GuardRandomZoneEf", mfunc_ptr_cast(&CCSBot::GuardRandomZone) }, - { 0x01D17900, "_ZNK6CCSBot6IsBusyEv", mfunc_ptr_cast(&CCSBot::IsBusy) }, - //{ 0x0, "_ZN6CCSBot7SetTaskENS_8TaskTypeEP11CBaseEntity", mfunc_ptr_cast(&CCSBot::SetTask) }, - //{ 0x0, "_ZNK6CCSBot7GetTaskEv", mfunc_ptr_cast(&CCSBot::GetTask) }, - //{ 0x0, "_ZN6CCSBot13GetTaskEntityEv", mfunc_ptr_cast(&CCSBot::GetTaskEntity) }, - { 0x01D18420, "_ZN6CCSBot14SetDispositionENS_15DispositionTypeE", mfunc_ptr_cast(&CCSBot::SetDisposition) }, - { 0x01D18440, "_ZNK6CCSBot14GetDispositionEv", mfunc_ptr_cast(&CCSBot::GetDisposition) }, - { 0x01D18470, "_ZN6CCSBot13IgnoreEnemiesEf", mfunc_ptr_cast(&CCSBot::IgnoreEnemies) }, - //{ 0x0, "_ZNK6CCSBot9GetMoraleEv", mfunc_ptr_cast(&CCSBot::GetMorale) }, - { 0x01D18490, "_ZN6CCSBot14IncreaseMoraleEv", mfunc_ptr_cast(&CCSBot::IncreaseMorale) }, - { 0x01D184B0, "_ZN6CCSBot14DecreaseMoraleEv", mfunc_ptr_cast(&CCSBot::DecreaseMorale) }, - //{ 0x0, "_ZNK6CCSBot12IsNoiseHeardEv", mfunc_ptr_cast(&CCSBot::IsNoiseHeard) }, - { 0x01D22510, "_ZN6CCSBot22ShouldInvestigateNoiseEPf", mfunc_ptr_cast(&CCSBot::ShouldInvestigateNoise) }, - { 0x01D2D2A0, "_ZN6CCSBot16InvestigateNoiseEv", mfunc_ptr_cast(&CCSBot::InvestigateNoise) }, - //{ 0x0, "_ZNK6CCSBot16GetNoisePositionEv", mfunc_ptr_cast(&CCSBot::GetNoisePosition) }, // NOXREF - //{ 0x0, "_ZNK6CCSBot12GetNoiseAreaEv", mfunc_ptr_cast(&CCSBot::GetNoiseArea) }, - //{ 0x0, "_ZN6CCSBot11ForgetNoiseEv", mfunc_ptr_cast(&CCSBot::ForgetNoise) }, - //{ 0x01D229C0, "_ZNK6CCSBot19CanSeeNoisePositionEv", mfunc_ptr_cast(&CCSBot::CanSeeNoisePosition) }, // NOXREF - //{ 0x0, "_ZNK6CCSBot13GetNoiseRangeEv", mfunc_ptr_cast(&CCSBot::GetNoiseRange) }, // NOXREF - { 0x01D227C0, "_ZNK6CCSBot25CanHearNearbyEnemyGunfireEf", mfunc_ptr_cast(&CCSBot::CanHearNearbyEnemyGunfire) }, - //{ 0x0, "_ZNK6CCSBot16GetNoisePriorityEv", mfunc_ptr_cast(&CCSBot::GetNoisePriority) }, - { 0x01D2BC80, "_ZN6CCSBot16SendRadioMessageE13GameEventType", mfunc_ptr_cast(&CCSBot::SendRadioMessage) }, - //{ 0x0, "_ZN6CCSBot10GetChatterEv", mfunc_ptr_cast(&CCSBot::GetChatter) }, - { 0x01D2BA70, "_ZN6CCSBot20RespondToHelpRequestEP11CBasePlayerjf", mfunc_ptr_cast(&CCSBot::RespondToHelpRequest) }, - { 0x01D2B970, "_ZN6CCSBot18StartVoiceFeedbackEf", mfunc_ptr_cast(&CCSBot::StartVoiceFeedback) }, - //{ 0x0, "_ZNK6CCSBot12IsUsingVoiceEv", mfunc_ptr_cast(&CCSBot::IsUsingVoice) }, - { 0x01D179D0, "_ZN6CCSBot8SetEnemyEP11CBasePlayer", mfunc_ptr_cast(&CCSBot::SetEnemy) }, - //{ 0x0, "_ZN6CCSBot8GetEnemyEv", mfunc_ptr_cast(&CCSBot::GetEnemy) }, - //{ 0x0, "_ZNK6CCSBot19GetNearbyEnemyCountEv", mfunc_ptr_cast(&CCSBot::GetNearbyEnemyCount) }, - //{ 0x0, "_ZNK6CCSBot13GetEnemyPlaceEv", mfunc_ptr_cast(&CCSBot::GetEnemyPlace) }, - //{ 0x0, "_ZNK6CCSBot12CanSeeBomberEv", mfunc_ptr_cast(&CCSBot::CanSeeBomber) }, - //{ 0x0, "_ZN6CCSBot9GetBomberEv", mfunc_ptr_cast(&CCSBot::GetBomber) }, - //{ 0x0, "_ZNK6CCSBot20GetNearbyFriendCountEv", mfunc_ptr_cast(&CCSBot::GetNearbyFriendCount) }, - //{ 0x0, "_ZNK6CCSBot23GetClosestVisibleFriendEv", mfunc_ptr_cast(&CCSBot::GetClosestVisibleFriend) }, - //{ 0x0, "_ZNK6CCSBot28GetClosestVisibleHumanFriendEv", mfunc_ptr_cast(&CCSBot::GetClosestVisibleHumanFriend) }, - { 0x01D181A0, "_ZNK6CCSBot13IsOutnumberedEv", mfunc_ptr_cast(&CCSBot::IsOutnumbered) }, - { 0x01D181F0, "_ZNK6CCSBot16OutnumberedCountEv", mfunc_ptr_cast(&CCSBot::OutnumberedCount) }, - { 0x01D18290, "_ZNK6CCSBot17GetImportantEnemyEb", mfunc_ptr_cast(&CCSBot::GetImportantEnemy) }, - { 0x01D30830, "_ZN6CCSBot19UpdateReactionQueueEv", mfunc_ptr_cast(&CCSBot::UpdateReactionQueue) }, - { 0x01D30980, "_ZN6CCSBot18GetRecognizedEnemyEv", mfunc_ptr_cast(&CCSBot::GetRecognizedEnemy) }, - { 0x01D309B0, "_ZN6CCSBot26IsRecognizedEnemyReloadingEv", mfunc_ptr_cast(&CCSBot::IsRecognizedEnemyReloading) }, - { 0x01D309E0, "_ZN6CCSBot34IsRecognizedEnemyProtectedByShieldEv", mfunc_ptr_cast(&CCSBot::IsRecognizedEnemyProtectedByShield) }, - //{ 0x01D30A10, "_ZN6CCSBot32GetRangeToNearestRecognizedEnemyEv", mfunc_ptr_cast(&CCSBot::GetRangeToNearestRecognizedEnemy) }, // NOXREF - { 0x01D17F40, "_ZNK6CCSBot11GetAttackerEv", mfunc_ptr_cast(&CCSBot::GetAttacker) }, - //{ 0x0, "_ZNK6CCSBot20GetTimeSinceAttackedEv", mfunc_ptr_cast(&CCSBot::GetTimeSinceAttacked) }, - //{ 0x0, "_ZNK6CCSBot25GetFirstSawEnemyTimestampEv", mfunc_ptr_cast(&CCSBot::GetFirstSawEnemyTimestamp) }, // NOXREF - //{ 0x0, "_ZNK6CCSBot24GetLastSawEnemyTimestampEv", mfunc_ptr_cast(&CCSBot::GetLastSawEnemyTimestamp) }, - //{ 0x0, "_ZNK6CCSBot24GetTimeSinceLastSawEnemyEv", mfunc_ptr_cast(&CCSBot::GetTimeSinceLastSawEnemy) }, - //{ 0x0, "_ZNK6CCSBot32GetTimeSinceAcquiredCurrentEnemyEv", mfunc_ptr_cast(&CCSBot::GetTimeSinceAcquiredCurrentEnemy) }, - { 0x01D18710, "_ZNK6CCSBot26HasNotSeenEnemyForLongTimeEv", mfunc_ptr_cast(&CCSBot::HasNotSeenEnemyForLongTime) }, - //{ 0x0, "_ZNK6CCSBot25GetLastKnownEnemyPositionEv", mfunc_ptr_cast(&CCSBot::GetLastKnownEnemyPosition) }, - //{ 0x0, "_ZNK6CCSBot14IsEnemyVisibleEv", mfunc_ptr_cast(&CCSBot::IsEnemyVisible) }, - //{ 0x0, "_ZNK6CCSBot22GetEnemyDeathTimestampEv", mfunc_ptr_cast(&CCSBot::GetEnemyDeathTimestamp) }, - { 0x01D32440, "_ZN6CCSBot20IsFriendInLineOfFireEv", mfunc_ptr_cast(&CCSBot::IsFriendInLineOfFire) }, - //{ 0x0, "_ZNK6CCSBot19IsAwareOfEnemyDeathEv", mfunc_ptr_cast(&CCSBot::IsAwareOfEnemyDeath) }, - //{ 0x0, "_ZNK6CCSBot15GetLastVictimIDEv", mfunc_ptr_cast(&CCSBot::GetLastVictimID) }, - //{ 0x0, "_ZNK6CCSBot7HasPathEv", mfunc_ptr_cast(&CCSBot::HasPath) }, - //{ 0x0, "_ZN6CCSBot11DestroyPathEv", mfunc_ptr_cast(&CCSBot::DestroyPath) }, - //{ 0x0, "_ZNK6CCSBot8GetFeetZEv", mfunc_ptr_cast(&CCSBot::GetFeetZ) }, - { 0x01D29C80, "_ZN6CCSBot18UpdatePathMovementEb", mfunc_ptr_cast(&CCSBot::UpdatePathMovement) }, - //{ 0x0, "_ZN6CCSBot11AStarSearchEP8CNavAreaS1_", mfunc_ptr_cast(&CCSBot::AStarSearch) }, // NOXREF - { 0x01D2A7D0, "_ZN6CCSBot11ComputePathEP8CNavAreaPK6Vector9RouteType", mfunc_ptr_cast(&CCSBot::ComputePath) }, - { 0x01D17A10, "_ZN6CCSBot13StayOnNavMeshEv", mfunc_ptr_cast(&CCSBot::StayOnNavMesh) }, - //{ 0x0, "_ZNK6CCSBot16GetLastKnownAreaEv", mfunc_ptr_cast(&CCSBot::GetLastKnownArea) }, - //{ 0x0, "_ZNK6CCSBot15GetPathEndpointEv", mfunc_ptr_cast(&CCSBot::GetPathEndpoint) }, - { 0x01D2ADE0, "_ZNK6CCSBot24GetPathDistanceRemainingEv", mfunc_ptr_cast(&CCSBot::GetPathDistanceRemaining) }, - { 0x01D25BC0, "_ZN6CCSBot17ResetStuckMonitorEv", mfunc_ptr_cast(&CCSBot::ResetStuckMonitor) }, - //{ 0x0, "_ZNK6CCSBot13IsAreaVisibleEPK8CNavArea", mfunc_ptr_cast(&CCSBot::IsAreaVisible) }, // NOXREF - //{ 0x0, "_ZNK6CCSBot15GetPathPositionEi", mfunc_ptr_cast(&CCSBot::GetPathPosition) }, // NOXREF - { 0x01D25FE0, "_ZN6CCSBot30GetSimpleGroundHeightWithFloorEPK6VectorPfPS0_", mfunc_ptr_cast(&CCSBot::GetSimpleGroundHeightWithFloor) }, - { 0x01D26060, "_ZNK6CCSBot8GetPlaceEv", mfunc_ptr_cast(&CCSBot::GetPlace) }, - //{ 0x0, "_ZNK6CCSBot13IsUsingLadderEv", mfunc_ptr_cast(&CCSBot::IsUsingLadder) }, - { 0x01D17F70, "_ZN6CCSBot12GetOffLadderEv", mfunc_ptr_cast(&CCSBot::GetOffLadder) }, - //{ 0x0, "_ZN6CCSBot13SetGoalEntityEP11CBaseEntity", mfunc_ptr_cast(&CCSBot::SetGoalEntity) }, - //{ 0x0, "_ZN6CCSBot13GetGoalEntityEv", mfunc_ptr_cast(&CCSBot::GetGoalEntity) }, - { 0x01D291D0, "_ZNK6CCSBot10IsNearJumpEv", mfunc_ptr_cast(&CCSBot::IsNearJump) }, - { 0x01D29230, "_ZNK6CCSBot24GetApproximateFallDamageEf", mfunc_ptr_cast(&CCSBot::GetApproximateFallDamage) }, - //{ 0x0, "_ZN6CCSBot8ForceRunEf", mfunc_ptr_cast(&CCSBot::ForceRun) }, - { 0x01D26720, "_ZN6CCSBot6WiggleEv", mfunc_ptr_cast(&CCSBot::Wiggle) }, - { 0x01D29260, "_ZNK6CCSBot16IsFriendInTheWayEPK6Vector", mfunc_ptr_cast(&CCSBot::IsFriendInTheWay) }, - { 0x01D29500, "_ZN6CCSBot22FeelerReflexAdjustmentEP6Vector", mfunc_ptr_cast(&CCSBot::FeelerReflexAdjustment) }, - //{ 0x0, "_ZN6CCSBot13SetLookAnglesEff", mfunc_ptr_cast(&CCSBot::SetLookAngles) }, - //2@@{ 0x01D2EDD0, "_ZN6CCSBot16UpdateLookAnglesEv", mfunc_ptr_cast(&CCSBot::UpdateLookAngles) }, // Using REFS FIXME - { 0x01D2F9C0, "_ZN6CCSBot16UpdateLookAroundEb", mfunc_ptr_cast(&CCSBot::UpdateLookAround) }, - { 0x01D2F910, "_ZN6CCSBot17InhibitLookAroundEf", mfunc_ptr_cast(&CCSBot::InhibitLookAround) }, - //{ 0x0, "_ZN6CCSBot15SetForwardAngleEf", mfunc_ptr_cast(&CCSBot::SetForwardAngle) }, // NOXREF - //{ 0x0, "_ZN6CCSBot17SetLookAheadAngleEf", mfunc_ptr_cast(&CCSBot::SetLookAheadAngle) }, // NOXREF - { 0x01D2F7F0, "_ZN6CCSBot9SetLookAtEPKcPK6Vector12PriorityTypefbf", mfunc_ptr_cast(&CCSBot::SetLookAt) }, - //{ 0x0, "_ZN6CCSBot11ClearLookAtEv", mfunc_ptr_cast(&CCSBot::ClearLookAt) }, - //{ 0x0, "_ZNK6CCSBot15IsLookingAtSpotE12PriorityType", mfunc_ptr_cast(&CCSBot::IsLookingAtSpot) }, - //{ 0x0, "_ZNK6CCSBot12IsViewMovingEf", mfunc_ptr_cast(&CCSBot::IsViewMoving) }, - //{ 0x0, "_ZNK6CCSBot14GetEyePositionEv", mfunc_ptr_cast(&CCSBot::GetEyePosition) }, - { 0x01D32560, "_ZN6CCSBot23ComputeWeaponSightRangeEv", mfunc_ptr_cast(&CCSBot::ComputeWeaponSightRange) }, - { 0x01D26890, "_ZN6CCSBot21ComputeApproachPointsEv", mfunc_ptr_cast(&CCSBot::ComputeApproachPoints) }, - //{ 0x0, "_ZN6CCSBot20UpdateApproachPointsEv", mfunc_ptr_cast(&CCSBot::UpdateApproachPoints) }, - //{ 0x0, "_ZN6CCSBot19ClearApproachPointsEv", mfunc_ptr_cast(&CCSBot::ClearApproachPoints) }, - { 0x01D269D0, "_ZN6CCSBot18DrawApproachPointsEv", mfunc_ptr_cast(&CCSBot::DrawApproachPoints) }, - { 0x01D17FA0, "_ZNK6CCSBot27GetHidingSpotCheckTimestampEP10HidingSpot", mfunc_ptr_cast(&CCSBot::GetHidingSpotCheckTimestamp) }, - { 0x01D17FF0, "_ZN6CCSBot27SetHidingSpotCheckTimestampEP10HidingSpot", mfunc_ptr_cast(&CCSBot::SetHidingSpotCheckTimestamp) }, - { 0x01D315F0, "_ZN6CCSBot15EquipBestWeaponEb", mfunc_ptr_cast(&CCSBot::EquipBestWeapon) }, - { 0x01D31810, "_ZN6CCSBot11EquipPistolEv", mfunc_ptr_cast(&CCSBot::EquipPistol) }, - { 0x01D318E0, "_ZN6CCSBot10EquipKnifeEv", mfunc_ptr_cast(&CCSBot::EquipKnife) }, - { 0x01D31930, "_ZN6CCSBot12EquipGrenadeEb", mfunc_ptr_cast(&CCSBot::EquipGrenade) }, - { 0x01D31A00, "_ZNK6CCSBot12IsUsingKnifeEv", mfunc_ptr_cast(&CCSBot::IsUsingKnife) }, - { 0x01D31A20, "_ZNK6CCSBot13IsUsingPistolEv", mfunc_ptr_cast(&CCSBot::IsUsingPistol) }, - { 0x01D31A60, "_ZNK6CCSBot14IsUsingGrenadeEv", mfunc_ptr_cast(&CCSBot::IsUsingGrenade) }, - { 0x01D313F0, "_ZNK6CCSBot18IsUsingSniperRifleEv", mfunc_ptr_cast(&CCSBot::IsUsingSniperRifle) }, - { 0x01D313A0, "_ZNK6CCSBot10IsUsingAWPEv", mfunc_ptr_cast(&CCSBot::IsUsingAWP) }, - { 0x01D31440, "_ZNK6CCSBot8IsSniperEv", mfunc_ptr_cast(&CCSBot::IsSniper) }, - { 0x01D314B0, "_ZNK6CCSBot9IsSnipingEv", mfunc_ptr_cast(&CCSBot::IsSniping) }, - { 0x01D314D0, "_ZNK6CCSBot14IsUsingShotgunEv", mfunc_ptr_cast(&CCSBot::IsUsingShotgun) }, - { 0x01D31500, "_ZNK6CCSBot17IsUsingMachinegunEv", mfunc_ptr_cast(&CCSBot::IsUsingMachinegun) }, - { 0x01D31AB0, "_ZN6CCSBot12ThrowGrenadeEPK6Vector", mfunc_ptr_cast(&CCSBot::ThrowGrenade) }, - //{ 0x0, "_ZNK6CCSBot17IsThrowingGrenadeEv", mfunc_ptr_cast(&CCSBot::IsThrowingGrenade) }, - { 0x01D31920, "_ZNK6CCSBot10HasGrenadeEv", mfunc_ptr_cast(&CCSBot::HasGrenade) }, - //{ 0x01D313C0, "_ZNK6CCSBot28DoesActiveWeaponHaveSilencerEv", mfunc_ptr_cast(&CCSBot::DoesActiveWeaponHaveSilencer) }, // NOXREF - { 0x01D31A90, "_ZNK6CCSBot16IsUsingHEGrenadeEv", mfunc_ptr_cast(&CCSBot::IsUsingHEGrenade) }, - //{ 0x0, "_ZN6CCSBot14StartRapidFireEv", mfunc_ptr_cast(&CCSBot::StartRapidFire) }, - //{ 0x0, "_ZN6CCSBot13StopRapidFireEv", mfunc_ptr_cast(&CCSBot::StopRapidFire) }, - //{ 0x0, "_ZNK6CCSBot13IsRapidFiringEv", mfunc_ptr_cast(&CCSBot::IsRapidFiring) }, - //{ 0x0, "_ZNK6CCSBot12GetZoomLevelEv", mfunc_ptr_cast(&CCSBot::GetZoomLevel) }, - { 0x01D31280, "_ZN6CCSBot10AdjustZoomEf", mfunc_ptr_cast(&CCSBot::AdjustZoom) }, - { 0x01D31520, "_ZNK6CCSBot20IsPrimaryWeaponEmptyEv", mfunc_ptr_cast(&CCSBot::IsPrimaryWeaponEmpty) }, - //{ 0x01D31550, "_ZNK6CCSBot13IsPistolEmptyEv", mfunc_ptr_cast(&CCSBot::IsPistolEmpty) }, // NOXREF - //{ 0x0, "_ZNK6CCSBot21GetHostageEscortCountEv", mfunc_ptr_cast(&CCSBot::GetHostageEscortCount) }, // NOXREF - //{ 0x0, "_ZN6CCSBot26IncreaseHostageEscortCountEv", mfunc_ptr_cast(&CCSBot::IncreaseHostageEscortCount) }, // NOXREF - { 0x01D18B10, "_ZNK6CCSBot33GetRangeToFarthestEscortedHostageEv", mfunc_ptr_cast(&CCSBot::GetRangeToFarthestEscortedHostage) }, - //{ 0x0, "_ZN6CCSBot27ResetWaitForHostagePatienceEv", mfunc_ptr_cast(&CCSBot::ResetWaitForHostagePatience) }, - { 0x01D20AE0, "_ZN6CCSBot11ResetValuesEv", mfunc_ptr_cast(&CCSBot::ResetValues) }, - //{ 0x01D17950, "_ZN6CCSBot13BotDeathThinkEv", mfunc_ptr_cast(&CCSBot::BotDeathThink) }, // PURE - //{ 0x01D17960, "_ZN6CCSBot16FindNearbyPlayerEv", mfunc_ptr_cast(&CCSBot::FindNearbyPlayer) }, // NOXREF - { 0x01D186E0, "_ZN6CCSBot14AdjustSafeTimeEv", mfunc_ptr_cast(&CCSBot::AdjustSafeTime) }, - { 0x01D2BD80, "_ZN6CCSBot8SetStateEP8BotState", mfunc_ptr_cast(&CCSBot::SetState) }, - { 0x01D26080, "_ZN6CCSBot19MoveTowardsPositionEPK6Vector", mfunc_ptr_cast(&CCSBot::MoveTowardsPosition) }, - //{ 0x01D26510, "_ZN6CCSBot20MoveAwayFromPositionEPK6Vector", mfunc_ptr_cast(&CCSBot::MoveAwayFromPosition) }, // NOXREF - { 0x01D26650, "_ZN6CCSBot22StrafeAwayFromPositionEPK6Vector", mfunc_ptr_cast(&CCSBot::StrafeAwayFromPosition) }, - { 0x01D25C50, "_ZN6CCSBot10StuckCheckEv", mfunc_ptr_cast(&CCSBot::StuckCheck) }, - { 0x01D2A6F0, "_ZN6CCSBot16BuildTrivialPathEPK6Vector", mfunc_ptr_cast(&CCSBot::BuildTrivialPath) }, - { 0x01D26BA0, "_ZN6CCSBot20ComputePathPositionsEv", mfunc_ptr_cast(&CCSBot::ComputePathPositions) }, - { 0x01D27040, "_ZN6CCSBot19SetupLadderMovementEv", mfunc_ptr_cast(&CCSBot::SetupLadderMovement) }, - { 0x01D29130, "_ZN6CCSBot12SetPathIndexEi", mfunc_ptr_cast(&CCSBot::SetPathIndex) }, - { 0x01D2AE70, "_ZN6CCSBot8DrawPathEv", mfunc_ptr_cast(&CCSBot::DrawPath) }, - { 0x01D282C0, "_ZNK6CCSBot21FindOurPositionOnPathEP6Vectorb", mfunc_ptr_cast(&CCSBot::FindOurPositionOnPath) }, - { 0x01D28620, "_ZN6CCSBot13FindPathPointEfP6VectorPi", mfunc_ptr_cast(&CCSBot::FindPathPoint) }, - //{ 0x01D280B0, "_ZNK6CCSBot22FindClosestPointOnPathEPK6VectoriiPS0_", mfunc_ptr_cast(&CCSBot::FindClosestPointOnPath) }, // NOXREF - { 0x01D28610, "_ZNK6CCSBot26IsStraightLinePathWalkableEPK6Vector", mfunc_ptr_cast(&CCSBot::IsStraightLinePathWalkable) }, - { 0x01D25EE0, "_ZN6CCSBot17DiscontinuityJumpEfbb", mfunc_ptr_cast(&CCSBot::DiscontinuityJump) }, - { 0x01D27560, "_ZN6CCSBot20UpdateLadderMovementEv", mfunc_ptr_cast(&CCSBot::UpdateLadderMovement) }, - { 0x01D27450, "_ZN6CCSBot21ComputeLadderEndpointEb", mfunc_ptr_cast(&CCSBot::ComputeLadderEndpoint) }, - { 0x01D180B0, "_ZN6CCSBot24UpdateHostageEscortCountEv", mfunc_ptr_cast(&CCSBot::UpdateHostageEscortCount) }, - { 0x01D22A70, "_ZN6CCSBot17UpdateLookAtNoiseEv", mfunc_ptr_cast(&CCSBot::UpdateLookAtNoise) }, - { 0x01D2F760, "_ZN6CCSBot12UpdateLookAtEv", mfunc_ptr_cast(&CCSBot::UpdateLookAt) }, - { 0x01D2F930, "_ZN6CCSBot22UpdatePeripheralVisionEv", mfunc_ptr_cast(&CCSBot::UpdatePeripheralVision) }, - { 0x01D2FF40, "_ZNK6CCSBot15BendLineOfSightEPK6VectorS2_PS0_", mfunc_ptr_cast(&CCSBot::BendLineOfSight) }, - //{ 0x01D26A50, "_ZN6CCSBot28FindApproachPointNearestPathEP6Vector", mfunc_ptr_cast(&CCSBot::FindApproachPointNearestPath) }, // NOXREF - { 0x01D31B30, "_ZN6CCSBot25FindGrenadeTossPathTargetEP6Vector", mfunc_ptr_cast(&CCSBot::FindGrenadeTossPathTarget) }, - { 0x01D31030, "_ZN6CCSBot12SetAimOffsetEf", mfunc_ptr_cast(&CCSBot::SetAimOffset) }, - { 0x01D311E0, "_ZN6CCSBot15UpdateAimOffsetEv", mfunc_ptr_cast(&CCSBot::UpdateAimOffset) }, - { 0x01D31580, "_ZN6CCSBot7DoEquipEP17CBasePlayerWeapon", mfunc_ptr_cast(&CCSBot::DoEquip) }, - { 0x01D31FC0, "_ZN6CCSBot11ReloadCheckEv", mfunc_ptr_cast(&CCSBot::ReloadCheck) }, - { 0x01D32290, "_ZN6CCSBot13SilencerCheckEv", mfunc_ptr_cast(&CCSBot::SilencerCheck) }, - { 0x01D302D0, "_ZN6CCSBot23FindMostDangerousThreatEv", mfunc_ptr_cast(&CCSBot::FindMostDangerousThreat) }, - { 0x01D2B5B0, "_ZN6CCSBot22RespondToRadioCommandsEv", mfunc_ptr_cast(&CCSBot::RespondToRadioCommands) }, - //{ 0x01D2B570, "_ZNK6CCSBot14IsRadioCommandE13GameEventType", mfunc_ptr_cast(&CCSBot::IsRadioCommand) }, // NOXREF - { 0x01D2BA00, "_ZN6CCSBot16EndVoiceFeedbackEb", mfunc_ptr_cast(&CCSBot::EndVoiceFeedback) }, - { 0x01D213C0, "_ZN6CCSBot7AddNodeEPK6VectorS2_10NavDirTypeP8CNavNode", mfunc_ptr_cast(&CCSBot::AddNode) }, - { 0x01D21610, "_ZN6CCSBot17StartLearnProcessEv", mfunc_ptr_cast(&CCSBot::StartLearnProcess) }, - { 0x01D21EF0, "_ZN6CCSBot18UpdateLearnProcessEv", mfunc_ptr_cast(&CCSBot::UpdateLearnProcess) }, - { 0x01D21770, "_ZN6CCSBot9LearnStepEv", mfunc_ptr_cast(&CCSBot::LearnStep) }, - { 0x01D21FE0, "_ZN6CCSBot24StartAnalyzeAlphaProcessEv", mfunc_ptr_cast(&CCSBot::StartAnalyzeAlphaProcess) }, - { 0x01D22080, "_ZN6CCSBot25UpdateAnalyzeAlphaProcessEv", mfunc_ptr_cast(&CCSBot::UpdateAnalyzeAlphaProcess) }, - //{ 0x0, "_ZN6CCSBot16AnalyzeAlphaStepEv", mfunc_ptr_cast(&CCSBot::AnalyzeAlphaStep) }, - //{ 0x01D221D0, "_ZN6CCSBot23StartAnalyzeBetaProcessEv", mfunc_ptr_cast(&CCSBot::StartAnalyzeBetaProcess) }, // NOXREF - { 0x01D22200, "_ZN6CCSBot24UpdateAnalyzeBetaProcessEv", mfunc_ptr_cast(&CCSBot::UpdateAnalyzeBetaProcess) }, - //{ 0x0, "_ZN6CCSBot15AnalyzeBetaStepEv", mfunc_ptr_cast(&CCSBot::AnalyzeBetaStep) }, - //{ 0x01D22330, "_ZN6CCSBot16StartSaveProcessEv", mfunc_ptr_cast(&CCSBot::StartSaveProcess) }, // NOXREF - { 0x01D22340, "_ZN6CCSBot17UpdateSaveProcessEv", mfunc_ptr_cast(&CCSBot::UpdateSaveProcess) }, - { 0x01D22450, "_ZN6CCSBot18StartNormalProcessEv", mfunc_ptr_cast(&CCSBot::StartNormalProcess) }, - { 0x01D17620, "_ZN6CCSBot8BotTouchEP11CBaseEntity", mfunc_ptr_cast(&CCSBot::BotTouch) }, -//CSGameState - //{ 0x01D326A0, "_ZN11CSGameStateC2EP6CCSBot", mfunc_ptr_cast(&CSGameState::CSGameState) }, - { 0x01D32730, "_ZN11CSGameState5ResetEv", mfunc_ptr_cast(&CSGameState::Reset) }, - { 0x01D327C0, "_ZN11CSGameState7OnEventE13GameEventTypeP11CBaseEntityS2_", mfunc_ptr_cast(&CSGameState::OnEvent) }, - { 0x01D328D0, "_ZNK11CSGameState11IsRoundOverEv", mfunc_ptr_cast(&CSGameState::IsRoundOver) }, - //{ 0x0, "_ZNK11CSGameState12IsBombMovingEv", mfunc_ptr_cast(&CSGameState::IsBombMoving) }, // NOXREF - //{ 0x0, "_ZNK11CSGameState11IsBombLooseEv", mfunc_ptr_cast(&CSGameState::IsBombLoose) }, // NOXREF - //{ 0x0, "_ZNK11CSGameState13IsBombPlantedEv", mfunc_ptr_cast(&CSGameState::IsBombPlanted) }, // NOXREF - //{ 0x0, "_ZNK11CSGameState13IsBombDefusedEv", mfunc_ptr_cast(&CSGameState::IsBombDefused) }, // NOXREF - //{ 0x0, "_ZNK11CSGameState14IsBombExplodedEv", mfunc_ptr_cast(&CSGameState::IsBombExploded) }, // NOXREF - { 0x01D32900, "_ZN11CSGameState15UpdateLooseBombEPK6Vector", mfunc_ptr_cast(&CSGameState::UpdateLooseBomb) }, // NOXREF - //{ 0x01D32940, "_ZNK11CSGameState25TimeSinceLastSawLooseBombEv", mfunc_ptr_cast(&CSGameState::TimeSinceLastSawLooseBomb) }, // NOXREF - { 0x01D32970, "_ZNK11CSGameState24IsLooseBombLocationKnownEv", mfunc_ptr_cast(&CSGameState::IsLooseBombLocationKnown) }, - { 0x01D329A0, "_ZN11CSGameState12UpdateBomberEPK6Vector", mfunc_ptr_cast(&CSGameState::UpdateBomber) }, - //{ 0x01D329E0, "_ZNK11CSGameState22TimeSinceLastSawBomberEv", mfunc_ptr_cast(&CSGameState::TimeSinceLastSawBomber) }, // NOXREF - { 0x01D32B20, "_ZN11CSGameState17UpdatePlantedBombEPK6Vector", mfunc_ptr_cast(&CSGameState::UpdatePlantedBomb) }, - { 0x01D32A10, "_ZNK11CSGameState26IsPlantedBombLocationKnownEv", mfunc_ptr_cast(&CSGameState::IsPlantedBombLocationKnown) }, - { 0x01D32B80, "_ZN11CSGameState21MarkBombsiteAsPlantedEi", mfunc_ptr_cast(&CSGameState::MarkBombsiteAsPlanted) }, - { 0x01D32A20, "_ZNK11CSGameState18GetPlantedBombsiteEv", mfunc_ptr_cast(&CSGameState::GetPlantedBombsite) }, - { 0x01D32A30, "_ZNK11CSGameState19IsAtPlantedBombsiteEv", mfunc_ptr_cast(&CSGameState::IsAtPlantedBombsite) }, - { 0x01D32A70, "_ZN11CSGameState23GetNextBombsiteToSearchEv", mfunc_ptr_cast(&CSGameState::GetNextBombsiteToSearch) }, - { 0x01D32BC0, "_ZNK11CSGameState15IsBombsiteClearEi", mfunc_ptr_cast(&CSGameState::IsBombsiteClear) }, - { 0x01D32BA0, "_ZN11CSGameState13ClearBombsiteEi", mfunc_ptr_cast(&CSGameState::ClearBombsite) }, - { 0x01D32AC0, "_ZNK11CSGameState15GetBombPositionEv", mfunc_ptr_cast(&CSGameState::GetBombPosition) }, - { 0x01D32CC0, "_ZNK11CSGameState21GetNearestFreeHostageEP6Vector", mfunc_ptr_cast(&CSGameState::GetNearestFreeHostage) }, - { 0x01D32EB0, "_ZNK11CSGameState28GetRandomFreeHostagePositionEv", mfunc_ptr_cast(&CSGameState::GetRandomFreeHostagePosition) }, - { 0x01D33370, "_ZNK11CSGameState26AreAllHostagesBeingRescuedEv", mfunc_ptr_cast(&CSGameState::AreAllHostagesBeingRescued) }, - { 0x01D33440, "_ZNK11CSGameState18AreAllHostagesGoneEv", mfunc_ptr_cast(&CSGameState::AreAllHostagesGone) }, - //{ 0x01D334A0, "_ZN11CSGameState15AllHostagesGoneEv", mfunc_ptr_cast(&CSGameState::AllHostagesGone) }, // NOXREF - //{ 0x0, "_ZNK11CSGameState25HaveSomeHostagesBeenTakenEv", mfunc_ptr_cast(&CSGameState::HaveSomeHostagesBeenTaken) }, // NOXREF - //{ 0x0, "_ZN11CSGameState15HostageWasTakenEv", mfunc_ptr_cast(&CSGameState::HostageWasTaken) }, // NOXREF - { 0x01D33210, "_ZNK11CSGameState28GetNearestVisibleFreeHostageEv", mfunc_ptr_cast(&CSGameState::GetNearestVisibleFreeHostage) }, - { 0x01D32FA0, "_ZN11CSGameState24ValidateHostagePositionsEv", mfunc_ptr_cast(&CSGameState::ValidateHostagePositions) }, - //{ 0x01D328E0, "_ZN11CSGameState12SetBombStateENS_9BombStateE", mfunc_ptr_cast(&CSGameState::SetBombState) }, // NOXREF - //{ 0x0, "_ZNK11CSGameState12GetBombStateEv", mfunc_ptr_cast(&CSGameState::GetBombState) }, // NOXREF - //{ 0x0, "_ZNK11CSGameState17GetNearestHostageEv", mfunc_ptr_cast(&CSGameState::GetNearestHostage) }, // NOXREF - { 0x01D32BE0, "_ZN11CSGameState21InitializeHostageInfoEv", mfunc_ptr_cast(&CSGameState::InitializeHostageInfo) }, - { 0x01D15EA0, "_Z16NavAreaBuildPathI8PathCostEbP8CNavAreaS2_PK6VectorRT_PS2_", (size_t)&NavAreaBuildPath__PathCost__wrapper }, -#ifdef _WIN32 - { 0x01D15A30, "", (size_t)&NavAreaTravelDistance__PathCost__wrapper }, -#endif // _WIN32 - { 0x01D2B2E0, "_ZN8PathCostclEP8CNavAreaS1_PK10CNavLadder", mfunc_ptr_cast(&PathCost::operator()) }, - { 0x01D172A0, "_Z17GetBotFollowCountP11CBasePlayer", (size_t)&GetBotFollowCount }, - { 0x01D187B0, "_Z21FindNearbyRetreatSpotP6CCSBotf", mfunc_ptr_cast(&FindNearbyRetreatSpot) }, - //{ 0x0, "", (size_t)&drawProgressMeter }, // NOXREF - //{ 0x0, "", (size_t)&startProgressMeter }, // NOXREF - //{ 0x0, "", (size_t)&hideProgressMeter }, // NOXREF - -#endif // CS_Bot_Region - -#ifndef CS_BotState_Region - -//BotState - //virtual func - //{ 0x0, "_ZN8BotState7OnEnterEP6CCSBot", mfunc_ptr_cast(&BotState::OnEnter_) }, // PURE - //{ 0x0, "_ZN8BotState8OnUpdateEP6CCSBot", mfunc_ptr_cast(&BotState::OnUpdate_) }, // PURE - //{ 0x01D212B0, "_ZN8BotState6OnExitEP6CCSBot", mfunc_ptr_cast(&BotState::OnExit_) }, // PURE - //{ 0x0, "_ZNK8BotState7GetNameEv", mfunc_ptr_cast(&BotState::GetName) }, // NOXREF -//IdleState - //virtual func - { 0x01D142A0, "_ZN9IdleState7OnEnterEP6CCSBot", mfunc_ptr_cast(&IdleState::OnEnter_) }, - { 0x01D14320, "_ZN9IdleState8OnUpdateEP6CCSBot", mfunc_ptr_cast(&IdleState::OnUpdate_) }, - //{ 0x01D212C0, "_ZNK9IdleState7GetNameEv", mfunc_ptr_cast(&IdleState::GetName_) }, // DEFAULT -//HuntState - //virtual func - { 0x01D13E20, "_ZN9HuntState7OnEnterEP6CCSBot", mfunc_ptr_cast(&HuntState::OnEnter_) }, - { 0x01D13EA0, "_ZN9HuntState8OnUpdateEP6CCSBot", mfunc_ptr_cast(&HuntState::OnUpdate_) }, - //{ 0x01D14290, "_ZN9HuntState6OnExitEP6CCSBot", mfunc_ptr_cast(&HuntState::OnExit_) }, // PURE - //{ 0x01D212D0, "_ZNK9HuntState7GetNameEv", mfunc_ptr_cast(&HuntState::GetName_) }, // DEFAULT - //non-virtual func - //{ 0x0, "_ZN9HuntState13ClearHuntAreaEv", mfunc_ptr_cast(&HuntState::ClearHuntArea) }, // NOXREF -//AttackState - //virtual func - { 0x01D10960, "_ZN11AttackState7OnEnterEP6CCSBot", mfunc_ptr_cast(&AttackState::OnEnter_) }, - { 0x01D10CF0, "_ZN11AttackState8OnUpdateEP6CCSBot", mfunc_ptr_cast(&AttackState::OnUpdate_) }, - { 0x01D11860, "_ZN11AttackState6OnExitEP6CCSBot", mfunc_ptr_cast(&AttackState::OnExit_) }, - //{ 0x01D212E0, "_ZNK11AttackState7GetNameEv", mfunc_ptr_cast(&AttackState::GetName_) }, // DEFAULT - //non-virtual func - //{ 0x0, "_ZN11AttackState16SetCrouchAndHoldEb", mfunc_ptr_cast(&AttackState::SetCrouchAndHold) }, // NOXREF - //{ 0x01D10CC0, "_ZN11AttackState13StopAttackingEP6CCSBot", mfunc_ptr_cast(&AttackState::StopAttacking) }, // NOXREF -//InvestigateNoiseState - //virtual func - { 0x01D165C0, "_ZN21InvestigateNoiseState7OnEnterEP6CCSBot", mfunc_ptr_cast(&InvestigateNoiseState::OnEnter_) }, - { 0x01D166B0, "_ZN21InvestigateNoiseState8OnUpdateEP6CCSBot", mfunc_ptr_cast(&InvestigateNoiseState::OnUpdate_) }, - { 0x01D16920, "_ZN21InvestigateNoiseState6OnExitEP6CCSBot", mfunc_ptr_cast(&InvestigateNoiseState::OnExit_) }, - //{ 0x01D212F0, "_ZNK21InvestigateNoiseState7GetNameEv", mfunc_ptr_cast(&InvestigateNoiseState::GetName_) }, // DEFAULT - //non-virtual func - //{ 0x01D164D0, "_ZN21InvestigateNoiseState18AttendCurrentNoiseEP6CCSBot", mfunc_ptr_cast(&InvestigateNoiseState::AttendCurrentNoise) }, // NOXREF -//BuyState - //virtual func - { 0x01D11910, "_ZN8BuyState7OnEnterEP6CCSBot", mfunc_ptr_cast(&BuyState::OnEnter_) }, - { 0x01D11B60, "_ZN8BuyState8OnUpdateEP6CCSBot", mfunc_ptr_cast(&BuyState::OnUpdate_) }, - { 0x01D121E0, "_ZN8BuyState6OnExitEP6CCSBot", mfunc_ptr_cast(&BuyState::OnExit_) }, - //{ 0x01D21300, "_ZNK8BuyState7GetNameEv", mfunc_ptr_cast(&BuyState::GetName_) }, // DEFAULT -//MoveToState - //virtual func - { 0x01D16930, "_ZN11MoveToState7OnEnterEP6CCSBot", mfunc_ptr_cast(&MoveToState::OnEnter_) }, - { 0x01D169C0, "_ZN11MoveToState8OnUpdateEP6CCSBot", mfunc_ptr_cast(&MoveToState::OnUpdate_) }, - { 0x01D16FE0, "_ZN11MoveToState6OnExitEP6CCSBot", mfunc_ptr_cast(&MoveToState::OnExit_) }, - //{ 0x01D21310, "_ZNK11MoveToState7GetNameEv", mfunc_ptr_cast(&MoveToState::GetName_) }, // DEFAULT - //non-virtual func - //{ 0x0, "_ZN11MoveToState15SetGoalPositionEPK6Vector", mfunc_ptr_cast(&MoveToState::SetGoalPosition) }, // NOXREF - //{ 0x0, "_ZN11MoveToState12SetRouteTypeE9RouteType", mfunc_ptr_cast(&MoveToState::SetRouteType) }, // NOXREF -//FetchBombState - //virtual func - { 0x01D125A0, "_ZN14FetchBombState7OnEnterEP6CCSBot", mfunc_ptr_cast(&FetchBombState::OnEnter_) }, - { 0x01D125C0, "_ZN14FetchBombState8OnUpdateEP6CCSBot", mfunc_ptr_cast(&FetchBombState::OnUpdate_) }, - //{ 0x01D21320, "_ZNK14FetchBombState7GetNameEv", mfunc_ptr_cast(&FetchBombState::GetName_) }, // DEFAULT -//PlantBombState - //virtual func - { 0x01D17000, "_ZN14PlantBombState7OnEnterEP6CCSBot", mfunc_ptr_cast(&PlantBombState::OnEnter_) }, - { 0x01D170B0, "_ZN14PlantBombState8OnUpdateEP6CCSBot", mfunc_ptr_cast(&PlantBombState::OnUpdate_) }, - { 0x01D17160, "_ZN14PlantBombState6OnExitEP6CCSBot", mfunc_ptr_cast(&PlantBombState::OnExit_) }, - //{ 0x01D21330, "_ZNK14PlantBombState7GetNameEv", mfunc_ptr_cast(&PlantBombState::GetName_) }, // DEFAULT -//DefuseBombState - //virtual func - { 0x01D12200, "_ZN15DefuseBombState7OnEnterEP6CCSBot", mfunc_ptr_cast(&DefuseBombState::OnEnter_) }, - { 0x01D12270, "_ZN15DefuseBombState8OnUpdateEP6CCSBot", mfunc_ptr_cast(&DefuseBombState::OnUpdate_) }, - { 0x01D12340, "_ZN15DefuseBombState6OnExitEP6CCSBot", mfunc_ptr_cast(&DefuseBombState::OnExit_) }, - //{ 0x01D21340, "_ZNK15DefuseBombState7GetNameEv", mfunc_ptr_cast(&DefuseBombState::GetName_) }, // DEFAULT -//HideState - //virtual func - { 0x01D13250, "_ZN9HideState7OnEnterEP6CCSBot", mfunc_ptr_cast(&HideState::OnEnter_) }, - { 0x01D13300, "_ZN9HideState8OnUpdateEP6CCSBot", mfunc_ptr_cast(&HideState::OnUpdate_) }, - { 0x01D13D90, "_ZN9HideState6OnExitEP6CCSBot", mfunc_ptr_cast(&HideState::OnExit_) }, - //{ 0x01D21350, "_ZNK9HideState7GetNameEv", mfunc_ptr_cast(&HideState::GetName_) }, // DEFAULT - //non-virtual func - //{ 0x0, "_ZN9HideState13SetHidingSpotEPK6Vector", mfunc_ptr_cast(&HideState::SetHidingSpot) }, // NOXREF - //{ 0x0, "_ZNK9HideState13GetHidingSpotEv", mfunc_ptr_cast(&HideState::GetHidingSpot) }, // NOXREF - //{ 0x0, "_ZN9HideState13SetSearchAreaEP8CNavArea", mfunc_ptr_cast(&HideState::SetSearchArea) }, // NOXREF - //{ 0x0, "_ZN9HideState14SetSearchRangeEf", mfunc_ptr_cast(&HideState::SetSearchRange) }, // NOXREF - //{ 0x0, "_ZN9HideState11SetDurationEf", mfunc_ptr_cast(&HideState::SetDuration) }, // NOXREF - //{ 0x0, "_ZN9HideState15SetHoldPositionEb", mfunc_ptr_cast(&HideState::SetHoldPosition) }, // NOXREF - //{ 0x0, "_ZNK9HideState8IsAtSpotEv", mfunc_ptr_cast(&HideState::IsAtSpot) }, // NOXREF -//EscapeFromBombState - //virtual func - { 0x01D12390, "_ZN19EscapeFromBombState7OnEnterEP6CCSBot", mfunc_ptr_cast(&EscapeFromBombState::OnEnter_) }, - { 0x01D123D0, "_ZN19EscapeFromBombState8OnUpdateEP6CCSBot", mfunc_ptr_cast(&EscapeFromBombState::OnUpdate_) }, - { 0x01D12560, "_ZN19EscapeFromBombState6OnExitEP6CCSBot", mfunc_ptr_cast(&EscapeFromBombState::OnExit_) }, - //{ 0x01D21360, "_ZNK19EscapeFromBombState7GetNameEv", mfunc_ptr_cast(&EscapeFromBombState::GetName_) }, // DEFAULT -//FollowState - //virtual func - { 0x01D12660, "_ZN11FollowState7OnEnterEP6CCSBot", mfunc_ptr_cast(&FollowState::OnEnter_) }, - { 0x01D127A0, "_ZN11FollowState8OnUpdateEP6CCSBot", mfunc_ptr_cast(&FollowState::OnUpdate_) }, - //{ 0x01D130C0, "_ZN11FollowState6OnExitEP6CCSBot", mfunc_ptr_cast(&FollowState::OnExit_) }, // PURE - //{ 0x01D21370, "_ZNK11FollowState7GetNameEv", mfunc_ptr_cast(&FollowState::GetName_) }, // DEFAULT - //non-virtual func - //{ 0x0, "_ZN11FollowState9SetLeaderEP11CBasePlayer", mfunc_ptr_cast(&FollowState::SetLeader) }, // NOXREF - { 0x01D126E0, "_ZN11FollowState24ComputeLeaderMotionStateEf", mfunc_ptr_cast(&FollowState::ComputeLeaderMotionState) }, -//UseEntityState - //virtual func - { 0x01D171A0, "_ZN14UseEntityState7OnEnterEP6CCSBot", mfunc_ptr_cast(&UseEntityState::OnEnter_) }, - { 0x01D171B0, "_ZN14UseEntityState8OnUpdateEP6CCSBot", mfunc_ptr_cast(&UseEntityState::OnUpdate_) }, - { 0x01D17280, "_ZN14UseEntityState6OnExitEP6CCSBot", mfunc_ptr_cast(&UseEntityState::OnExit_) }, - //{ 0x01D21380, "_ZNK14UseEntityState7GetNameEv", mfunc_ptr_cast(&UseEntityState::GetName_) }, // DEFAULT - //non-virtual func - //{ 0x0, "_ZN14UseEntityState9SetEntityEP11CBaseEntity", mfunc_ptr_cast(&UseEntityState::SetEntity) }, // NOXREF - -#ifdef _WIN32 - { 0x01D12F90, "_ZN21FollowTargetCollectorclEP8CNavArea", mfunc_ptr_cast(&FollowTargetCollector::operator()) }, -#endif // _WIN32 - -#endif // CS_BotState_Region - -#ifndef Bot_Region - -//ActiveGrenade - //virtual func - //{ 0x0, "_ZN13ActiveGrenadeC2EiP8CGrenade", mfunc_ptr_cast(&ActiveGrenade::ActiveGrenade) }, - { 0x01D34080, "_ZN13ActiveGrenade12OnEntityGoneEv", mfunc_ptr_cast(&ActiveGrenade::OnEntityGone) }, - { 0x01D340A0, "_ZNK13ActiveGrenade7IsValidEv", mfunc_ptr_cast(&ActiveGrenade::IsValid) }, - //{ 0x0, "_ZNK13ActiveGrenade8IsEntityEP8CGrenade", mfunc_ptr_cast(&ActiveGrenade::IsEntity) }, // NOXREF - //{ 0x0, "_ZNK13ActiveGrenade5GetIDEv", mfunc_ptr_cast(&ActiveGrenade::GetID) }, // NOXREF - //{ 0x0, "_ZNK13ActiveGrenade21GetDetonationPositionEv", mfunc_ptr_cast(&ActiveGrenade::GetDetonationPosition) }, // NOXREF - //{ 0x01D340C0, "_ZNK13ActiveGrenade11GetPositionEv", mfunc_ptr_cast(&ActiveGrenade::GetPosition) }, // NOXREF -//CBot - //{ 0x01D334D0, "", mfunc_ptr_cast(&CBot::CBot) }, - //virtual func - { 0x01D33550, "_ZN4CBot5SpawnEv", mfunc_ptr_cast(&CBot::Spawn_) }, - //{ 0x01D340D0, "_ZN4CBot10TakeDamageEP9entvars_sS1_fi", mfunc_ptr_cast(&CBot::TakeDamage) }, // DEFAULT - //{ 0x01D340E0, "_ZN4CBot6KilledEP9entvars_si", mfunc_ptr_cast(&CBot::Killed) }, // DEFAULT - //{ 0x01D210C0, "_ZN4CBot5ThinkEv", mfunc_ptr_cast(&CBot::Think) }, // PURE - //{ 0x01D210B0, "_ZN4CBot5IsBotEv", mfunc_ptr_cast(&CBot::IsBot) }, // DEFAULT - { 0x01D33600, "_ZN4CBot16GetAutoaimVectorEf", mfunc_ptr_cast(&CBot::GetAutoaimVector_) }, - //{ 0x0, "_ZN4CBot16OnTouchingWeaponEP10CWeaponBox", mfunc_ptr_cast(&CBot::OnTouchingWeapon) }, - { 0x01D33540, "_ZN4CBot10InitializeEPK10BotProfile", mfunc_ptr_cast(&CBot::Initialize_) }, - //{ 0x0, "_ZN4CBot8SpawnBotEv", mfunc_ptr_cast(&CBot::SpawnBot) }, - //{ 0x0, "_ZN4CBot6UpkeepEv", mfunc_ptr_cast(&CBot::Upkeep) }, - //{ 0x0, "_ZN4CBot6UpdateEv", mfunc_ptr_cast(&CBot::Update) }, - //{ 0x01D21110, "_ZN4CBot3RunEv", mfunc_ptr_cast(&CBot::Run) }, // DEFAULT - //{ 0x01D34110, "_ZN4CBot4WalkEv", mfunc_ptr_cast(&CBot::Walk) }, // DEFAULT - { 0x01D33940, "_ZN4CBot6CrouchEv", mfunc_ptr_cast(&CBot::Crouch_) }, - { 0x01D33950, "_ZN4CBot7StandUpEv", mfunc_ptr_cast(&CBot::StandUp_) }, - { 0x01D336F0, "_ZN4CBot11MoveForwardEv", mfunc_ptr_cast(&CBot::MoveForward_) }, - { 0x01D33740, "_ZN4CBot12MoveBackwardEv", mfunc_ptr_cast(&CBot::MoveBackward_) }, - { 0x01D33790, "_ZN4CBot10StrafeLeftEv", mfunc_ptr_cast(&CBot::StrafeLeft_) }, - { 0x01D337E0, "_ZN4CBot11StrafeRightEv", mfunc_ptr_cast(&CBot::StrafeRight_) }, - { 0x01D33830, "_ZN4CBot4JumpEb", mfunc_ptr_cast(&CBot::Jump_) }, - { 0x01D338D0, "_ZN4CBot13ClearMovementEv", mfunc_ptr_cast(&CBot::ClearMovement_) }, - { 0x01D33960, "_ZN4CBot14UseEnvironmentEv", mfunc_ptr_cast(&CBot::UseEnvironment_) }, - { 0x01D33970, "_ZN4CBot13PrimaryAttackEv", mfunc_ptr_cast(&CBot::PrimaryAttack_) }, - { 0x01D33980, "_ZN4CBot18ClearPrimaryAttackEv", mfunc_ptr_cast(&CBot::ClearPrimaryAttack_) }, - { 0x01D33990, "_ZN4CBot19TogglePrimaryAttackEv", mfunc_ptr_cast(&CBot::TogglePrimaryAttack_) }, - { 0x01D339C0, "_ZN4CBot15SecondaryAttackEv", mfunc_ptr_cast(&CBot::SecondaryAttack_) }, - { 0x01D339D0, "_ZN4CBot6ReloadEv", mfunc_ptr_cast(&CBot::Reload_) }, - //{ 0x01D34100, "_ZN4CBot7OnEventE13GameEventTypeP11CBaseEntityS2_", mfunc_ptr_cast(&CBot::OnEvent) }, // PURE - //{ 0x0, "_ZNK4CBot9IsVisibleEPK6Vectorb", mfunc_ptr_cast(&CBot::IsVisible) }, - //{ 0x0, "_ZNK4CBot9IsVisibleEP11CBasePlayerbPh", mfunc_ptr_cast(&CBot::IsVisible) }, - //{ 0x0, "_ZNK4CBot18IsEnemyPartVisibleENS_15VisiblePartTypeE", mfunc_ptr_cast(&CBot::IsEnemyPartVisible) }, // NOXREF PURE - { 0x01D21120, "_ZNK4CBot16IsPlayerFacingMeEP11CBasePlayer", mfunc_ptr_cast(&CBot::IsPlayerFacingMe_) }, - { 0x01D211B0, "_ZNK4CBot19IsPlayerLookingAtMeEP11CBasePlayer", mfunc_ptr_cast(&CBot::IsPlayerLookingAtMe_) }, - { 0x01D33AA0, "_ZN4CBot14ExecuteCommandEv", mfunc_ptr_cast(&CBot::ExecuteCommand_) }, - { 0x01D210D0, "_ZN4CBot8SetModelEPKc", mfunc_ptr_cast(&CBot::SetModel_) }, - //non-virtual func - //{ 0x0, "_ZNK4CBot5GetIDEv", mfunc_ptr_cast(&CBot::GetID) }, - //{ 0x0, "_ZNK4CBot9IsRunningEv", mfunc_ptr_cast(&CBot::IsRunning) }, - //{ 0x0, "_ZNK4CBot11IsCrouchingEv", mfunc_ptr_cast(&CBot::IsCrouching) }, - //{ 0x0, "_ZN4CBot18PushPostureContextEv", mfunc_ptr_cast(&CBot::PushPostureContext) }, - //{ 0x0, "_ZN4CBot17PopPostureContextEv", mfunc_ptr_cast(&CBot::PopPostureContext) }, - { 0x01D338F0, "_ZN4CBot9IsJumpingEv", mfunc_ptr_cast(&CBot::IsJumping) }, - //{ 0x0, "_ZNK4CBot16GetJumpTimestampEv", mfunc_ptr_cast(&CBot::GetJumpTimestamp) }, - { 0x01D339E0, "_ZNK4CBot24GetActiveWeaponAmmoRatioEv", mfunc_ptr_cast(&CBot::GetActiveWeaponAmmoRatio) }, - { 0x01D33A30, "_ZNK4CBot23IsActiveWeaponClipEmptyEv", mfunc_ptr_cast(&CBot::IsActiveWeaponClipEmpty) }, - { 0x01D33A50, "_ZNK4CBot23IsActiveWeaponOutOfAmmoEv", mfunc_ptr_cast(&CBot::IsActiveWeaponOutOfAmmo) }, - //{ 0x0, "_ZNK4CBot23IsActiveWeaponReloadingEv", mfunc_ptr_cast(&CBot::IsActiveWeaponReloading) }, - //{ 0x0, "_ZNK4CBot24IsActiveWeaponRecoilHighEv", mfunc_ptr_cast(&CBot::IsActiveWeaponRecoilHigh) }, - //{ 0x0, "_ZNK4CBot15GetActiveWeaponEv", mfunc_ptr_cast(&CBot::GetActiveWeapon) }, - { 0x01D33A80, "_ZNK4CBot12IsUsingScopeEv", mfunc_ptr_cast(&CBot::IsUsingScope) }, - { 0x01D33BF0, "_ZNK4CBot7IsEnemyEP11CBaseEntity", mfunc_ptr_cast(&CBot::IsEnemy) }, - { 0x01D33C40, "_ZNK4CBot19GetEnemiesRemainingEv", mfunc_ptr_cast(&CBot::GetEnemiesRemaining) }, - { 0x01D33D20, "_ZNK4CBot19GetFriendsRemainingEv", mfunc_ptr_cast(&CBot::GetFriendsRemaining) }, - { 0x01D33E30, "_ZNK4CBot23IsLocalPlayerWatchingMeEv", mfunc_ptr_cast(&CBot::IsLocalPlayerWatchingMe) }, - //{ 0x01D33E90, "_ZNK4CBot5PrintEPcz", mfunc_ptr_cast(&CBot::Print) }, // NOXREF - { 0x01D33F00, "_ZNK4CBot14PrintIfWatchedEPcz", mfunc_ptr_cast(&CBot::PrintIfWatched) }, - { 0x01D33660, "_ZN4CBot8BotThinkEv", mfunc_ptr_cast(&CBot::BotThink) }, - //{ 0x0, "_ZNK4CBot11IsNetClientEv", mfunc_ptr_cast(&CBot::IsNetClient) }, - //{ 0x0, "_ZNK4CBot4SaveER5CSave", mfunc_ptr_cast(&CBot::Save) }, - //{ 0x0, "_ZNK4CBot7RestoreER8CRestore", mfunc_ptr_cast(&CBot::Restore) }, - //{ 0x0, "_ZNK4CBot10GetProfileEv", mfunc_ptr_cast(&CBot::GetProfile) }, - { 0x01D33BA0, "_ZN4CBot13ClientCommandEPKcS1_S1_S1_", mfunc_ptr_cast(&CBot::ClientCommand) }, - //{ 0x01D33B50, "_ZN4CBot12ResetCommandEv", mfunc_ptr_cast(&CBot::ResetCommand) }, // NOXREF - //{ 0x01D33B70, "_ZNK4CBot13ThrottledMsecEv", mfunc_ptr_cast(&CBot::ThrottledMsec) }, // NOXREF - //{ 0x0, "_ZN4CBot12GetMoveSpeedEv", mfunc_ptr_cast(&CBot::GetMoveSpeed) }, -//BotMeme - { 0x01D18C90, "_ZNK7BotMeme8TransmitEP6CCSBot", mfunc_ptr_cast(&BotMeme::Transmit) }, - //{ 0x0, "_ZNK7BotMeme9InterpretEP6CCSBotS1_", mfunc_ptr_cast(&BotMeme::Interpret) }, // NOXREF -//BotAllHostagesGoneMeme - { 0x01D19470, "_ZNK22BotAllHostagesGoneMeme9InterpretEP6CCSBotS1_", mfunc_ptr_cast(&BotAllHostagesGoneMeme::Interpret_) }, // NOXREF -//BotHostageBeingTakenMeme - { 0x01D19570, "_ZNK24BotHostageBeingTakenMeme9InterpretEP6CCSBotS1_", mfunc_ptr_cast(&BotHostageBeingTakenMeme::Interpret_) }, -//BotHelpMeme - { 0x01D18D90, "_ZNK11BotHelpMeme9InterpretEP6CCSBotS1_", mfunc_ptr_cast(&BotHelpMeme::Interpret_) }, -//BotBombsiteStatusMeme - { 0x01D18DB0, "_ZNK21BotBombsiteStatusMeme9InterpretEP6CCSBotS1_", mfunc_ptr_cast(&BotBombsiteStatusMeme::Interpret_) }, -//BotBombStatusMeme - { 0x01D18EE0, "_ZNK17BotBombStatusMeme9InterpretEP6CCSBotS1_", mfunc_ptr_cast(&BotBombStatusMeme::Interpret_) }, -//BotFollowMeme - { 0x01D19080, "_ZNK13BotFollowMeme9InterpretEP6CCSBotS1_", mfunc_ptr_cast(&BotFollowMeme::Interpret_) }, -//BotDefendHereMeme - { 0x01D19280, "_ZNK17BotDefendHereMeme9InterpretEP6CCSBotS1_", mfunc_ptr_cast(&BotDefendHereMeme::Interpret_) }, -//BotWhereBombMeme - { 0x01D19420, "_ZNK16BotWhereBombMeme9InterpretEP6CCSBotS1_", mfunc_ptr_cast(&BotWhereBombMeme::Interpret_) }, -//BotRequestReportMeme - { 0x01D19450, "_ZNK20BotRequestReportMeme9InterpretEP6CCSBotS1_", mfunc_ptr_cast(&BotRequestReportMeme::Interpret_) }, -//BotSpeakable - //{ 0x01D19680, "", mfunc_ptr_cast(&BotSpeakable::BotSpeakable) }, // NOXREF - //{ 0x01D19690, "", mfunc_ptr_cast(&BotSpeakable::~BotSpeakable) }, // NOXREF -//BotPhrase - //{ 0x01D196B0, "", mfunc_ptr_cast(&BotPhrase::BotPhrase) }, // NOXREF - //{ 0x01D198E0, "", mfunc_ptr_cast(&BotPhrase::~BotPhrase) }, // NOXREF - { 0x01D199C0, "_ZN9BotPhrase13InitVoiceBankEi", mfunc_ptr_cast(&BotPhrase::InitVoiceBank) }, - { 0x01D19BB0, "_ZNK9BotPhrase12GetSpeakableEiPf", mfunc_ptr_cast(&BotPhrase::GetSpeakable) }, - //{ 0x0, "_ZNK9BotPhrase13ClearCriteriaEv", mfunc_ptr_cast(&BotPhrase::ClearCriteria) }, - //{ 0x0, "_ZNK9BotPhrase16SetPlaceCriteriaEj", mfunc_ptr_cast(&BotPhrase::SetPlaceCriteria) }, - //{ 0x0, "_ZNK9BotPhrase16SetCountCriteriaEj", mfunc_ptr_cast(&BotPhrase::SetCountCriteria) }, - //{ 0x0, "_ZNK9BotPhrase7GetNameEv", mfunc_ptr_cast(&BotPhrase::GetName) }, - //{ 0x0, "_ZNK9BotPhrase5GetIDEv", mfunc_ptr_cast(&BotPhrase::GetID) }, - //{ 0x0, "_ZNK9BotPhrase18GetRadioEquivalentEv", mfunc_ptr_cast(&BotPhrase::GetRadioEquivalent) }, - //{ 0x0, "_ZNK9BotPhrase11IsImportantEv", mfunc_ptr_cast(&BotPhrase::IsImportant) }, - //{ 0x0, "_ZNK9BotPhrase7IsPlaceEv", mfunc_ptr_cast(&BotPhrase::IsPlace) }, - //{ 0x01D19C70, "_ZN9BotPhrase9RandomizeEv", mfunc_ptr_cast(&BotPhrase::Randomize) }, // NOXREF -//BotPhraseManager - //{ 0x01D19D20, "", mfunc_ptr_cast(&BotPhraseManager::BotPhraseManager) }, - //{ 0x01D1A720, "", mfunc_ptr_cast(&BotPhraseManager::~BotPhraseManager) }, - { 0x01D19ED0, "_ZN16BotPhraseManager10InitializeEPKci", mfunc_ptr_cast(&BotPhraseManager::Initialize) }, - { 0x01D19DA0, "_ZN16BotPhraseManager14OnRoundRestartEv", mfunc_ptr_cast(&BotPhraseManager::OnRoundRestart) }, - //{ 0x01D19D90, "_ZN16BotPhraseManager11OnMapChangeEv", mfunc_ptr_cast(&BotPhraseManager::OnMapChange) }, // NOXREF - { 0x01D1A830, "_ZNK16BotPhraseManager8NameToIDEPKc", mfunc_ptr_cast(&BotPhraseManager::NameToID) }, - { 0x01D1A8A0, "_ZNK16BotPhraseManager8IDToNameEj", mfunc_ptr_cast(&BotPhraseManager::IDToName) }, - { 0x01D1A8F0, "_ZNK16BotPhraseManager9GetPhraseEPKc", mfunc_ptr_cast(&BotPhraseManager::GetPhrase) }, - //{ 0x01D1A940, "_ZNK16BotPhraseManager8GetPlaceEPKc", mfunc_ptr_cast(&BotPhraseManager::GetPlace) }, // NOXREF - { 0x01D1A990, "_ZNK16BotPhraseManager8GetPlaceEj", mfunc_ptr_cast(&BotPhraseManager::GetPlace) }, - //{ 0x0, "_ZNK16BotPhraseManager12GetPlaceListEv", mfunc_ptr_cast(&BotPhraseManager::GetPlaceList) }, - //{ 0x0, "_ZNK16BotPhraseManager25GetPlaceStatementIntervalEj", mfunc_ptr_cast(&BotPhraseManager::GetPlaceStatementInterval) }, - //{ 0x0, "_ZN16BotPhraseManager27ResetPlaceStatementIntervalEj", mfunc_ptr_cast(&BotPhraseManager::ResetPlaceStatementInterval) }, -#ifdef _WIN32 - { 0x01D1F830, "_ZNK16BotPhraseManager14FindPlaceIndexEj", mfunc_ptr_cast(&BotPhraseManager::FindPlaceIndex) }, -#endif // _WIN32 - -//BotStatement - //{ 0x01D1A9C0, "", mfunc_ptr_cast(&BotStatement::BotStatement) }, // NOXREF - //{ 0x01D1AA20, "", mfunc_ptr_cast(&BotStatement::~BotStatement) }, // NOXREF - //{ 0x0, "_ZNK12BotStatement10GetChatterEv", mfunc_ptr_cast(&BotStatement::GetChatter) }, // NOXREF - //{ 0x01D1AA30, "_ZNK12BotStatement8GetOwnerEv", mfunc_ptr_cast(&BotStatement::GetOwner) }, // NOXREF - //{ 0x01D1AA40, "_ZN12BotStatement10AttachMemeEP7BotMeme", mfunc_ptr_cast(&BotStatement::AttachMeme) }, // NOXREF - { 0x01D1AA50, "_ZN12BotStatement12AddConditionENS_13ConditionTypeE", mfunc_ptr_cast(&BotStatement::AddCondition) }, - //{ 0x01D1AA70, "_ZNK12BotStatement11IsImportantEv", mfunc_ptr_cast(&BotStatement::IsImportant) }, // NOXREF - //{ 0x01D1AAB0, "_ZNK12BotStatement7IsValidEv", mfunc_ptr_cast(&BotStatement::IsValid) }, // NOXREF - { 0x01D1AB00, "_ZNK12BotStatement11IsRedundantEPKS_", mfunc_ptr_cast(&BotStatement::IsRedundant) }, - //{ 0x0, "_ZNK12BotStatement7GetTypeEv", mfunc_ptr_cast(&BotStatement::GetType) }, // NOXREF - //{ 0x0, "_ZNK12BotStatement10HasSubjectEv", mfunc_ptr_cast(&BotStatement::HasSubject) }, // NOXREF - //{ 0x0, "_ZN12BotStatement10SetSubjectEi", mfunc_ptr_cast(&BotStatement::SetSubject) }, // NOXREF - //{ 0x0, "_ZNK12BotStatement10GetSubjectEv", mfunc_ptr_cast(&BotStatement::GetSubject) }, // NOXREF - //{ 0x01D1AC90, "_ZNK12BotStatement10IsObsoleteEv", mfunc_ptr_cast(&BotStatement::IsObsolete) }, // NOXREF - { 0x01D1ACD0, "_ZN12BotStatement7ConvertEPKS_", mfunc_ptr_cast(&BotStatement::Convert) }, - { 0x01D1ADC0, "_ZN12BotStatement12AppendPhraseEPK9BotPhrase", mfunc_ptr_cast(&BotStatement::AppendPhrase) }, - //{ 0x01D1ADF0, "_ZN12BotStatement12AppendPhraseENS_11ContextTypeE", mfunc_ptr_cast(&BotStatement::AppendPhrase) }, // NOXREF - { 0x01D1AE20, "_ZN12BotStatement6UpdateEv", mfunc_ptr_cast(&BotStatement::Update) }, - { 0x01D1B2A0, "_ZNK12BotStatement8GetPlaceEv", mfunc_ptr_cast(&BotStatement::GetPlace) }, // NOXREF - //{ 0x01D1B2E0, "_ZNK12BotStatement8HasCountEv", mfunc_ptr_cast(&BotStatement::HasCount) }, // NOXREF - //{ 0x0, "_ZNK12BotStatement8HasPlaceEv", mfunc_ptr_cast(&BotStatement::HasPlace) }, // NOXREF - //{ 0x0, "_ZN12BotStatement8SetPlaceEj", mfunc_ptr_cast(&BotStatement::SetPlace) }, // NOXREF - //{ 0x0, "_ZN12BotStatement12SetStartTimeEf ", mfunc_ptr_cast(&BotStatement::SetStartTime) }, // NOXREF - //{ 0x0, "_ZNK12BotStatement12GetStartTimeEv", mfunc_ptr_cast(&BotStatement::GetStartTime) }, // NOXREF - //{ 0x0, "_ZNK12BotStatement10IsSpeakingEv", mfunc_ptr_cast(&BotStatement::IsSpeaking) }, // NOXREF - //{ 0x0, "_ZNK12BotStatement12GetTimestampEv", mfunc_ptr_cast(&BotStatement::GetTimestamp) }, // NOXREF -//BotChatterInterface - //{ 0x01D1B340, "_ZN19BotChatterInterfaceC2EP6CCSBot", mfunc_ptr_cast(&BotChatterInterface::BotChatterInterface) }, - //{ 0x01D1B3C0, "", mfunc_ptr_cast(&BotChatterInterface::~BotChatterInterface) }, - { 0x01D1B3F0, "_ZN19BotChatterInterface5ResetEv", mfunc_ptr_cast(&BotChatterInterface::Reset) }, - { 0x01D1B8E0, "_ZN19BotChatterInterface6UpdateEv", mfunc_ptr_cast(&BotChatterInterface::Update) }, - //{ 0x01D1B7D0, "_ZN19BotChatterInterface7OnEventE13GameEventTypeP11CBaseEntityS2_", mfunc_ptr_cast(&BotChatterInterface::OnEvent) }, // PURE - { 0x01D1B7E0, "_ZN19BotChatterInterface7OnDeathEv", mfunc_ptr_cast(&BotChatterInterface::OnDeath) }, - //{ 0x0, "_ZNK19BotChatterInterface12GetVerbosityEv", mfunc_ptr_cast(&BotChatterInterface::VerbosityType GetVerbosity) }, - //{ 0x0, "_ZNK19BotChatterInterface8GetOwnerEv", mfunc_ptr_cast(&BotChatterInterface::GetOwner) }, - //{ 0x0, "_ZNK19BotChatterInterface9IsTalkingEv", mfunc_ptr_cast(&BotChatterInterface::IsTalking) }, - //{ 0x01D1BDC0, "_ZN19BotChatterInterface23GetRadioSilenceDurationEv", mfunc_ptr_cast(&BotChatterInterface::GetRadioSilenceDuration) }, // NOXREF - { 0x01D1BE00, "_ZN19BotChatterInterface25ResetRadioSilenceDurationEv", mfunc_ptr_cast(&BotChatterInterface::ResetRadioSilenceDuration) }, - { 0x01D1B490, "_ZN19BotChatterInterface12AddStatementEP12BotStatementb", mfunc_ptr_cast(&BotChatterInterface::AddStatement) }, - { 0x01D1B5E0, "_ZN19BotChatterInterface15RemoveStatementEP12BotStatement", mfunc_ptr_cast(&BotChatterInterface::RemoveStatement) }, - { 0x01D1BC00, "_ZN19BotChatterInterface18GetActiveStatementEv", mfunc_ptr_cast(&BotChatterInterface::GetActiveStatement) }, - //{ 0x0, "_ZNK19BotChatterInterface12GetStatementEv", mfunc_ptr_cast(&BotChatterInterface::GetStatement) }, - //{ 0x0, "_ZNK19BotChatterInterface8GetPitchEv", mfunc_ptr_cast(&BotChatterInterface::GetPitch) }, - { 0x01D1F890, "_ZN19BotChatterInterface3SayEPKcff", mfunc_ptr_cast(&BotChatterInterface::Say) }, - { 0x01D1E100, "_ZN19BotChatterInterface12AnnouncePlanEPKcj", mfunc_ptr_cast(&BotChatterInterface::AnnouncePlan) }, - { 0x01D1CDE0, "_ZN19BotChatterInterface11AffirmativeEv", mfunc_ptr_cast(&BotChatterInterface::Affirmative) }, - { 0x01D1CED0, "_ZN19BotChatterInterface8NegativeEv", mfunc_ptr_cast(&BotChatterInterface::Negative) }, - //{ 0x01D1BE20, "_ZN19BotChatterInterface12EnemySpottedEv", mfunc_ptr_cast(&BotChatterInterface::EnemySpotted) }, // NOXREF - { 0x01D1CBE0, "_ZN19BotChatterInterface13KilledMyEnemyEi", mfunc_ptr_cast(&BotChatterInterface::KilledMyEnemy) }, - { 0x01D1CCF0, "_ZN19BotChatterInterface16EnemiesRemainingEv", mfunc_ptr_cast(&BotChatterInterface::EnemiesRemaining) }, - //{ 0x01D1BF30, "_ZN19BotChatterInterface5ClearEj", mfunc_ptr_cast(&BotChatterInterface::Clear) }, // NOXREF - //{ 0x01D1C050, "_ZN19BotChatterInterface8ReportInEv", mfunc_ptr_cast(&BotChatterInterface::ReportIn) }, // NOXREF - { 0x01D1C170, "_ZN19BotChatterInterface11ReportingInEv", mfunc_ptr_cast(&BotChatterInterface::ReportingIn) }, - { 0x01D1C6D0, "_ZN19BotChatterInterface10NeedBackupEv", mfunc_ptr_cast(&BotChatterInterface::NeedBackup) }, - { 0x01D1C910, "_ZN19BotChatterInterface10PinnedDownEv", mfunc_ptr_cast(&BotChatterInterface::PinnedDown) }, - { 0x01D1DD00, "_ZN19BotChatterInterface6ScaredEv", mfunc_ptr_cast(&BotChatterInterface::Scared) }, - { 0x01D1CA90, "_ZN19BotChatterInterface10HeardNoiseEPK6Vector", mfunc_ptr_cast(&BotChatterInterface::HeardNoise) }, - { 0x01D1D240, "_ZN19BotChatterInterface19TheyPickedUpTheBombEv", mfunc_ptr_cast(&BotChatterInterface::TheyPickedUpTheBomb) }, - { 0x01D1CFC0, "_ZN19BotChatterInterface19GoingToPlantTheBombEj", mfunc_ptr_cast(&BotChatterInterface::GoingToPlantTheBomb) }, - { 0x01D1DA40, "_ZN19BotChatterInterface13BombsiteClearEi", mfunc_ptr_cast(&BotChatterInterface::BombsiteClear) }, - { 0x01D1DBB0, "_ZN19BotChatterInterface16FoundPlantedBombEi", mfunc_ptr_cast(&BotChatterInterface::FoundPlantedBomb) }, - { 0x01D1D100, "_ZN19BotChatterInterface15PlantingTheBombEj", mfunc_ptr_cast(&BotChatterInterface::PlantingTheBomb) }, - { 0x01D1D3A0, "_ZN19BotChatterInterface13SpottedBomberEP11CBasePlayer", mfunc_ptr_cast(&BotChatterInterface::SpottedBomber) }, - { 0x01D1D580, "_ZN19BotChatterInterface16SpottedLooseBombEP11CBaseEntity", mfunc_ptr_cast(&BotChatterInterface::SpottedLooseBomb) }, - //{ 0x01D1D770, "_ZN19BotChatterInterface17GuardingLooseBombEP11CBaseEntity", mfunc_ptr_cast(&BotChatterInterface::GuardingLooseBomb) }, // NOXREF - { 0x01D1D920, "_ZN19BotChatterInterface19RequestBombLocationEv", mfunc_ptr_cast(&BotChatterInterface::RequestBombLocation) }, - { 0x01D1E230, "_ZN19BotChatterInterface16GuardingHostagesEjb", mfunc_ptr_cast(&BotChatterInterface::GuardingHostages) }, - { 0x01D1E470, "_ZN19BotChatterInterface25GuardingHostageEscapeZoneEb", mfunc_ptr_cast(&BotChatterInterface::GuardingHostageEscapeZone) }, - { 0x01D1E6B0, "_ZN19BotChatterInterface18HostagesBeingTakenEv", mfunc_ptr_cast(&BotChatterInterface::HostagesBeingTaken) }, - { 0x01D1E7C0, "_ZN19BotChatterInterface13HostagesTakenEv", mfunc_ptr_cast(&BotChatterInterface::HostagesTaken) }, - //{ 0x01D1E8C0, "_ZN19BotChatterInterface17TalkingToHostagesEv", mfunc_ptr_cast(&BotChatterInterface::TalkingToHostages) }, // NOXREF - { 0x01D1E8D0, "_ZN19BotChatterInterface17EscortingHostagesEv", mfunc_ptr_cast(&BotChatterInterface::EscortingHostages) }, - //{ 0x01D1E9F0, "_ZN19BotChatterInterface11HostageDownEv", mfunc_ptr_cast(&BotChatterInterface::HostageDown) }, // NOXREF - { 0x01D1DE20, "_ZN19BotChatterInterface12CelebrateWinEv", mfunc_ptr_cast(&BotChatterInterface::CelebrateWin) }, - { 0x01D1EAF0, "_ZN19BotChatterInterface9EncourageEPKcff", mfunc_ptr_cast(&BotChatterInterface::Encourage) }, - { 0x01D1EC00, "_ZN19BotChatterInterface12KilledFriendEv", mfunc_ptr_cast(&BotChatterInterface::KilledFriend) }, - { 0x01D1ED00, "_ZN19BotChatterInterface12FriendlyFireEv", mfunc_ptr_cast(&BotChatterInterface::FriendlyFire) }, - { 0x01D1B630, "_ZN19BotChatterInterface13ReportEnemiesEv", mfunc_ptr_cast(&BotChatterInterface::ReportEnemies) }, - //{ 0x01D1BD70, "_ZNK19BotChatterInterface11ShouldSpeakEv", mfunc_ptr_cast(&BotChatterInterface::ShouldSpeak) }, // NOXREF - { 0x01D18C30, "_Z20GetRandomSpotAtPlacej", (size_t)&GetRandomSpotAtPlace }, - -#endif // Bot_Region - -#ifndef CS_Util_Region - - { 0x01D36490, "_Z16UTIL_IsNameTakenPKcb", (size_t)&UTIL_IsNameTaken }, - { 0x01D365E0, "_Z18UTIL_ClientsInGamev", (size_t)&UTIL_ClientsInGame }, - { 0x01D36690, "_Z24UTIL_ActivePlayersInGamev", (size_t)&UTIL_ActivePlayersInGame }, - { 0x01D36760, "_Z17UTIL_HumansInGameb", (size_t)&UTIL_HumansInGame }, - { 0x01D36850, "_Z17UTIL_HumansOnTeamib", (size_t)&UTIL_HumansOnTeam }, - { 0x01D36940, "_Z15UTIL_BotsInGamev", (size_t)&UTIL_BotsInGame }, - { 0x01D36A00, "_Z20UTIL_KickBotFromTeam8TeamName", (size_t)&UTIL_KickBotFromTeam }, - { 0x01D36C10, "_Z18UTIL_IsTeamAllBotsi", (size_t)&UTIL_IsTeamAllBots }, - { 0x01D36CE0, "_Z21UTIL_GetClosestPlayerPK6VectorPf", mfunc_ptr_cast(&UTIL_GetClosestPlayer) }, - { 0x01D36E30, "_Z21UTIL_GetClosestPlayerPK6VectoriPf", mfunc_ptr_cast(&UTIL_GetClosestPlayer) }, - //{ 0x01D36F90, "_Z17UTIL_GetBotPrefixv", (size_t)&UTIL_GetBotPrefix }, // NOXREF - { 0x01D36FA0, "_Z24UTIL_ConstructBotNetNamePciPK10BotProfile", (size_t)&UTIL_ConstructBotNetName }, - { 0x01D37000, "_Z20UTIL_IsVisibleToTeamRK6Vectorif", (size_t)&UTIL_IsVisibleToTeam }, - { 0x01D37190, "_Z19UTIL_GetLocalPlayerv", (size_t)&UTIL_GetLocalPlayer }, - //{ 0x01D371B0, "_Z18UTIL_ComputeOriginP9entvars_s", mfunc_ptr_cast(&UTIL_ComputeOrigin) }, // NOXREF - //{ 0x01D37250, "_Z18UTIL_ComputeOriginP11CBaseEntity", mfunc_ptr_cast(&UTIL_ComputeOrigin) }, // NOXREF - //{ 0x01D37300, "_Z18UTIL_ComputeOriginP7edict_s", mfunc_ptr_cast(&UTIL_ComputeOrigin) }, // NOXREF - //{ 0x01D373B0, "_Z20UTIL_DrawBeamFromEnti6Vectorihhh", (size_t)&UTIL_DrawBeamFromEnt }, // NOXREF - { 0x01D37480, "_Z19UTIL_DrawBeamPoints6VectorS_ihhh", (size_t)&UTIL_DrawBeamPoints }, - { 0x01D375D0, "_Z11BotPrecachev", (size_t)&BotPrecache }, - { 0x01D37570, "_Z12CONSOLE_ECHOPcz", (size_t)&CONSOLE_ECHO }, - //{ 0x01D375A0, "_Z19CONSOLE_ECHO_LOGGEDPcz", (size_t)&CONSOLE_ECHO_LOGGED }, // NOXREF - { 0x01D37660, "_Z11InitBotTrigv", (size_t)&InitBotTrig }, - - { 0x01D37690, "_Z6BotCOSf", (size_t)&BotCOS }, - { 0x01D37700, "_Z6BotSINf", (size_t)&BotSIN }, - - { 0x01D37770, "_Z18IsGameEventAudible13GameEventTypeP11CBaseEntityS1_PfP12PriorityTypePb", (size_t)&IsGameEventAudible }, - { 0x01D37A00, "_Z23HintMessageToAllPlayersPKc", (size_t)&HintMessageToAllPlayers }, - -#endif // CS_Util_Region - -#ifndef CS_Init_Region - - { 0x01D206A0, "_Z17InstallBotControlv", (size_t)&InstallBotControl }, - { 0x01D20730, "_Z17Bot_ServerCommandv", (size_t)&Bot_ServerCommand }, - { 0x01D20760, "_Z17Bot_RegisterCvarsv", (size_t)&Bot_RegisterCVars }, - -#endif // CS_Init_Region - -#ifndef H_Region - -//AI - //{ 0x01D848B0, "_Z11FBoxVisibleP9entvars_sS0_R6Vectorf", (size_t)&FBoxVisible }, // NOXREF - //{ 0x01D84A10, "_Z12VecCheckTossP9entvars_sRK6VectorS1_f", (size_t)&VecCheckToss }, // NOXREF - //{ 0x01D84EB0, "_Z13VecCheckThrowP9entvars_sRK6VectorS1_ff", (size_t)&VecCheckThrow }, // NOXREF -//CRecharge - //virtual func - { 0x01D851E0, "_ZN9CRecharge5SpawnEv", mfunc_ptr_cast(&CRecharge::Spawn_) }, - { 0x01D85270, "_ZN9CRecharge8PrecacheEv", mfunc_ptr_cast(&CRecharge::Precache_) }, - { 0x01D85130, "_ZN9CRecharge8KeyValueEP14KeyValueData_s", mfunc_ptr_cast(&CRecharge::KeyValue_) }, - { 0x01D85070, "_ZN9CRecharge4SaveER5CSave", mfunc_ptr_cast(&CRecharge::Save_) }, - { 0x01D850A0, "_ZN9CRecharge7RestoreER8CRestore", mfunc_ptr_cast(&CRecharge::Restore_) }, - //{ 0x01D85120, "_ZN9CRecharge10ObjectCapsEv", mfunc_ptr_cast(&CRecharge::ObjectCaps_) }, // DEFAULT - { 0x01D852A0, "_ZN9CRecharge3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CRecharge::Use_) }, - //non-virtual func - { 0x01D850D0, "func_recharge", (size_t)&func_recharge }, - { 0x01D855A0, "_ZN9CRecharge3OffEv", mfunc_ptr_cast(&CRecharge::Off) }, - { 0x01D85570, "_ZN9CRecharge8RechargeEv", mfunc_ptr_cast(&CRecharge::Recharge) }, -//CCycler - //virtual func - { 0x01D85AA0, "_ZN7CCycler5SpawnEv", mfunc_ptr_cast(&CCycler::Spawn_) }, - { 0x01D85630, "_ZN7CCycler4SaveER5CSave", mfunc_ptr_cast(&CCycler::Save_) }, - { 0x01D85660, "_ZN7CCycler7RestoreER8CRestore", mfunc_ptr_cast(&CCycler::Restore_) }, - //{ 0x01D856E0, "_ZN7CCycler10ObjectCapsEv", mfunc_ptr_cast(&CCycler::ObjectCaps_) }, // DEFAULT - { 0x01D85C60, "_ZN7CCycler10TakeDamageEP9entvars_sS1_fi", mfunc_ptr_cast(&CCycler::TakeDamage_) }, - //{ 0x01D856F0, "_ZN7CCycler7IsAliveEv", mfunc_ptr_cast(&CCycler::IsAlive_) }, // DEFAULT - { 0x01D85B80, "_ZN7CCycler5ThinkEv", mfunc_ptr_cast(&CCycler::Think_) }, - { 0x01D85C20, "_ZN7CCycler3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CCycler::Use_) }, - //non-virtual func - //{ 0x01D859B0, "_ZN7CCycler18GenericCyclerSpawnEPc6VectorS1__part_11_constprop_16", mfunc_ptr_cast(&CCycler::GenericCyclerSpawn) }, // NOXREF -//CCyclerProbe - //virtual func - { 0x01D85860, "_ZN12CCyclerProbe5SpawnEv", mfunc_ptr_cast(&CCyclerProbe::Spawn_) }, -//CGenericCycler - //virtual func - { 0x01D85700, "_ZN14CGenericCycler5SpawnEv", mfunc_ptr_cast(&CGenericCycler::Spawn_) }, -//CCyclerSprite - //virtual func - { 0x01D85DE0, "_ZN13CCyclerSprite5SpawnEv", mfunc_ptr_cast(&CCyclerSprite::Spawn_) }, - { 0x01D85F00, "_ZN13CCyclerSprite7RestartEv", mfunc_ptr_cast(&CCyclerSprite::Restart_) }, - { 0x01D85D80, "_ZN13CCyclerSprite4SaveER5CSave", mfunc_ptr_cast(&CCyclerSprite::Save_) }, - { 0x01D85DB0, "_ZN13CCyclerSprite7RestoreER8CRestore", mfunc_ptr_cast(&CCyclerSprite::Restore_) }, - //{ 0x01D85D70, "_ZN13CCyclerSprite10ObjectCapsEv", mfunc_ptr_cast(&CCyclerSprite::ObjectCaps_) }, // DEFAULT - { 0x01D86090, "_ZN13CCyclerSprite10TakeDamageEP9entvars_sS1_fi", mfunc_ptr_cast(&CCyclerSprite::TakeDamage_) }, - { 0x01D85FB0, "_ZN13CCyclerSprite5ThinkEv", mfunc_ptr_cast(&CCyclerSprite::Think_) }, - { 0x01D86050, "_ZN13CCyclerSprite3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CCyclerSprite::Use_) }, - //non-virtual func - //{ 0x01D86100, "_ZN13CCyclerSprite7AnimateEf", mfunc_ptr_cast(&CCyclerSprite::Animate) }, // NOXREF -//CWeaponCycler - //virtual func - { 0x01D861F0, "_ZN13CWeaponCycler5SpawnEv", mfunc_ptr_cast(&CWeaponCycler::Spawn_) }, - //{ 0x01D861E0, "_ZN13CWeaponCycler11GetItemInfoEP8ItemInfo", mfunc_ptr_cast(&CWeaponCycler::GetItemInfo_) }, // DEFAULT - { 0x01D862D0, "_ZN13CWeaponCycler6DeployEv", mfunc_ptr_cast(&CWeaponCycler::Deploy_) }, - { 0x01D86320, "_ZN13CWeaponCycler7HolsterEi", mfunc_ptr_cast(&CWeaponCycler::Holster_) }, - //{ 0x01D861D0, "_ZN13CWeaponCycler9iItemSlotEv", mfunc_ptr_cast(&CWeaponCycler::iItemSlot_) }, // DEFAULT - { 0x01D86370, "_ZN13CWeaponCycler15SecondaryAttackEv", mfunc_ptr_cast(&CWeaponCycler::SecondaryAttack_) }, - { 0x01D86340, "_ZN13CWeaponCycler13PrimaryAttackEv", mfunc_ptr_cast(&CWeaponCycler::PrimaryAttack_) }, -//CWreckage - //virtual func - { 0x01D864D0, "_ZN9CWreckage5SpawnEv", mfunc_ptr_cast(&CWreckage::Spawn_) }, - { 0x01D86580, "_ZN9CWreckage8PrecacheEv", mfunc_ptr_cast(&CWreckage::Precache_) }, - { 0x01D86420, "_ZN9CWreckage4SaveER5CSave", mfunc_ptr_cast(&CWreckage::Save_) }, - { 0x01D86450, "_ZN9CWreckage7RestoreER8CRestore", mfunc_ptr_cast(&CWreckage::Restore_) }, - { 0x01D865B0, "_ZN9CWreckage5ThinkEv", mfunc_ptr_cast(&CWreckage::Think_) }, -//linked objects - { 0x01D85690, "cycler", (size_t)&cycler }, - { 0x01D85810, "cycler_prdroid", (size_t)&cycler_prdroid }, - { 0x01D85D20, "cycler_sprite", (size_t)&cycler_sprite }, - { 0x01D86150, "cycler_weapon", (size_t)&cycler_weapon }, - { 0x01D86480, "cycler_wreckage", (size_t)&cycler_wreckage }, - -#endif // H_Region - -#ifndef Tutor_CS_Region - - { 0x01DD26D0, "_Z12InstallTutorb", (size_t)&InstallTutor }, - { 0x01DD2740, "_Z19Tutor_RegisterCVarsv", (size_t)&Tutor_RegisterCVars }, - { 0x01DD27C0, "_Z18MonitorTutorStatusv", (size_t)&MonitorTutorStatus }, -//CBaseTutor - //{ 0x01DD2BF0, "_ZN10CBaseTutorC2Ev", mfunc_ptr_cast(&CBaseTutor::CBaseTutor) }, - //{ 0x01DD2C10, "_ZN10CBaseTutorD0Ev", mfunc_ptr_cast(&CBaseTutor::~CBaseTutor) }, - //virtual func - //{ 0x0, "_ZN10CBaseTutor10TutorThinkEf", mfunc_ptr_cast(&CBaseTutor::TutorThink_) }, // PURE virt - //{ 0x0, "_ZN10CBaseTutor13PurgeMessagesEv", mfunc_ptr_cast(&CBaseTutor::PurgeMessages_) }, // PURE virt - //{ 0x0, "_ZN10CBaseTutor16CallEventHandlerE13GameEventTypeP11CBaseEntityS2_", mfunc_ptr_cast(&CBaseTutor::CallEventHandler_) }, // PURE virt - //{ 0x0, "_ZN10CBaseTutor16ShowTutorMessageEP17TutorMessageEvent", mfunc_ptr_cast(&CBaseTutor::ShowTutorMessage_) }, // PURE virt - { 0x01DD3070, "_ZN10CBaseTutor22IsEntityInViewOfPlayerEP11CBaseEntityP11CBasePlayer", mfunc_ptr_cast(&CBaseTutor::IsEntityInViewOfPlayer_) }, - { 0x01DD3350, "_ZN10CBaseTutor24IsBombsiteInViewOfPlayerEP11CBaseEntityP11CBasePlayer", mfunc_ptr_cast(&CBaseTutor::IsBombsiteInViewOfPlayer_) }, - { 0x01DD3480, "_ZN10CBaseTutor18IsEntityInBombsiteEP11CBaseEntityS1_", mfunc_ptr_cast(&CBaseTutor::IsEntityInBombsite_) }, - { 0x01DD3160, "_ZN10CBaseTutor25IsPlayerLookingAtPositionEP6VectorP11CBasePlayer", mfunc_ptr_cast(&CBaseTutor::IsPlayerLookingAtPosition_) }, - { 0x01DD3240, "_ZN10CBaseTutor23IsPlayerLookingAtEntityEP11CBaseEntityP11CBasePlayer", mfunc_ptr_cast(&CBaseTutor::IsPlayerLookingAtEntity_) }, - //{ 0x0, "_ZN10CBaseTutor15HandleShotFiredE6VectorS0_", mfunc_ptr_cast(&CBaseTutor::HandleShotFired_) }, // PURE virt - //{ 0x0, "_ZN10CBaseTutor25GetTutorMessageDefinitionEi", mfunc_ptr_cast(&CBaseTutor::GetTutorMessageDefinition_) }, // PURE virt - //non-virtual func - { 0x01DD2DA0, "_ZN10CBaseTutor10StartFrameEf", mfunc_ptr_cast(&CBaseTutor::StartFrame) }, - { 0x01DD2C70, "_ZN10CBaseTutor7OnEventE13GameEventTypeP11CBaseEntityS2_", mfunc_ptr_cast(&CBaseTutor::OnEvent) }, - //{ 0x01DD2CF0, "_ZN10CBaseTutor9ShotFiredE6VectorS0_", mfunc_ptr_cast(&CBaseTutor::ShotFired) }, // NOXREF - { 0x01DD2DB0, "_ZN10CBaseTutor22DisplayMessageToPlayerEP11CBasePlayeriPKcP17TutorMessageEvent", mfunc_ptr_cast(&CBaseTutor::DisplayMessageToPlayer) }, - //{ 0x01DD2F80, "_ZN10CBaseTutor16DrawLineToEntityEP11CBasePlayerii", mfunc_ptr_cast(&CBaseTutor::DrawLineToEntity) }, // NOXREF - //{ 0x01DD2FD0, "_ZN10CBaseTutor34DisplayNewStateDescriptionToPlayerEv", mfunc_ptr_cast(&CBaseTutor::DisplayNewStateDescriptionToPlayer) }, // NOXREF - { 0x01DD3020, "_ZN10CBaseTutor18CloseCurrentWindowEv", mfunc_ptr_cast(&CBaseTutor::CloseCurrentWindow) }, - //{ 0x01DD2D30, "_ZN10CBaseTutor23CheckForStateTransitionE13GameEventTypeP11CBaseEntityS2_", mfunc_ptr_cast(&CBaseTutor::CheckForStateTransition) }, // NOXREF - //{ 0x01DD3060, "_ZN10CBaseTutor25CalculatePathForObjectiveEP11CBaseEntity", mfunc_ptr_cast(&CBaseTutor::CalculatePathForObjective) }, // PURE - { 0x01DD3510, "_ZN10CBaseTutor20DoMessagesHaveSameIDEii", mfunc_ptr_cast(&CBaseTutor::DoMessagesHaveSameID) }, -//CCSTutor - //{ 0x01DD3A30, "_ZN8CCSTutorC2Ev", mfunc_ptr_cast(&CCSTutor::CCSTutor) }, - //{ 0x01DD3B90, "_ZN8CCSTutorC2Ev", mfunc_ptr_cast(&CCSTutor::~CCSTutor) }, - //virtual func - { 0x01DD46C0, "_ZN8CCSTutor10TutorThinkEf", mfunc_ptr_cast(&CCSTutor::TutorThink_) }, - { 0x01DD56C0, "_ZN8CCSTutor13PurgeMessagesEv", mfunc_ptr_cast(&CCSTutor::PurgeMessages_) }, - { 0x01DD5960, "_ZN8CCSTutor16ShowTutorMessageEP17TutorMessageEvent", mfunc_ptr_cast(&CCSTutor::ShowTutorMessage_) }, - { 0x01DD5A20, "_ZN8CCSTutor16CallEventHandlerE13GameEventTypeP11CBaseEntityS2_", mfunc_ptr_cast(&CCSTutor::CallEventHandler_) }, - { 0x01DD9830, "_ZN8CCSTutor15HandleShotFiredE6VectorS0_", mfunc_ptr_cast(&CCSTutor::HandleShotFired_) }, - { 0x01DDA8B0, "_ZN8CCSTutor25GetTutorMessageDefinitionEi", mfunc_ptr_cast(&CCSTutor::GetTutorMessageDefinition_) }, - //non-virtual func - { 0x01DD5510, "_ZN8CCSTutor14AddToEventListEP17TutorMessageEvent", mfunc_ptr_cast(&CCSTutor::AddToEventList) }, - { 0x01DD5530, "_ZN8CCSTutor23CreateAndAddEventToListE14TutorMessageIDP11CBaseEntityS2_", mfunc_ptr_cast(&CCSTutor::CreateAndAddEventToList) }, - { 0x01DD51B0, "_ZN8CCSTutor23CreateTutorMessageEventE14TutorMessageIDP11CBaseEntityS2_", mfunc_ptr_cast(&CCSTutor::CreateTutorMessageEvent) }, - { 0x01DD55C0, "_ZN8CCSTutor24DeleteEventFromEventListEP17TutorMessageEvent", mfunc_ptr_cast(&CCSTutor::DeleteEventFromEventList) }, - { 0x01DD5640, "_ZN8CCSTutor14ClearEventListEv", mfunc_ptr_cast(&CCSTutor::ClearEventList) }, - { 0x01DD4BE0, "_ZN8CCSTutor17ClearCurrentEventEbb", mfunc_ptr_cast(&CCSTutor::ClearCurrentEvent) }, - { 0x01DD5690, "_ZN8CCSTutor11DeleteEventEP17TutorMessageEvent", mfunc_ptr_cast(&CCSTutor::DeleteEvent) }, - { 0x01DD4410, "_ZN8CCSTutor22ShouldShowMessageEventEP17TutorMessageEventf", mfunc_ptr_cast(&CCSTutor::ShouldShowMessageEvent) }, - //{ 0x01DD5870, "_ZN8CCSTutor26ShouldUpdateCurrentMessageE14TutorMessageID", mfunc_ptr_cast(&CCSTutor::ShouldUpdateCurrentMessage) }, // NOXREF - { 0x01DD57B0, "_ZN8CCSTutor29ComputeDisplayTimesForMessageEv", mfunc_ptr_cast(&CCSTutor::ComputeDisplayTimesForMessage) }, - { 0x01DD58A0, "_ZN8CCSTutor20UpdateCurrentMessageEP17TutorMessageEvent", mfunc_ptr_cast(&CCSTutor::UpdateCurrentMessage) }, - //{ 0x01DD59B0, "_ZN8CCSTutor26ConstructMessageAndDisplayEv", mfunc_ptr_cast(&CCSTutor::ConstructMessageAndDisplay) }, // NOXREF - //{ 0x01DD5190, "_ZN8CCSTutor12LookupHotKeyE14TutorMessageIDiPwi", mfunc_ptr_cast(&CCSTutor::LookupHotKey) }, // NOXREF - //{ 0x01DD4970, "_ZN8CCSTutor19CheckForWindowCloseEf", mfunc_ptr_cast(&CCSTutor::CheckForWindowClose) }, // NOXREF - //{ 0x01DD4AF0, "_ZN8CCSTutor21CheckForContentUpdateEv", mfunc_ptr_cast(&CCSTutor::CheckForContentUpdate) }, // NOXREF - //{ 0x01DD43E0, "_ZN8CCSTutor36HasCurrentWindowBeenActiveLongEnoughEf", mfunc_ptr_cast(&CCSTutor::HasCurrentWindowBeenActiveLongEnough) }, // NOXREF - { 0x01DD4540, "_ZN8CCSTutor32CheckForInterruptingMessageEventEf", mfunc_ptr_cast(&CCSTutor::CheckForInterruptingMessageEvent) }, - { 0x01DD4D80, "_ZN8CCSTutor22CheckForInactiveEventsEf", mfunc_ptr_cast(&CCSTutor::CheckForInactiveEvents) }, - { 0x01DD5020, "_ZN8CCSTutor11CancelEventE14TutorMessageID", mfunc_ptr_cast(&CCSTutor::CancelEvent) }, - //{ 0x01DD4C90, "_ZN8CCSTutor26ProcessShownDeathsForEventEP17TutorMessageEvent", mfunc_ptr_cast(&CCSTutor::ProcessShownDeathsForEvent) }, // NOXREF - //{ 0x01DDB520, "_ZN8CCSTutor19TransferDeathEventsEP17TutorMessageEventS1_", mfunc_ptr_cast(&CCSTutor::TransferDeathEvents) }, // NOXREF - { 0x01DD4CC0, "_ZN8CCSTutor26GetTutorMessageUpdateEventEv", mfunc_ptr_cast(&CCSTutor::GetTutorMessageUpdateEvent) }, - { 0x01DD4D10, "_ZN8CCSTutor33GetDuplicateMessagesFromEventListERP17TutorMessageEventS2_", mfunc_ptr_cast(&CCSTutor::GetDuplicateMessagesFromEventList) }, - //{ 0x01DDB390, "_ZN8CCSTutor9IsBombMapEv", mfunc_ptr_cast(&CCSTutor::IsBombMap) }, // NOXREF - //{ 0x01DDB370, "_ZN8CCSTutor12IsHostageMapEv", mfunc_ptr_cast(&CCSTutor::IsHostageMap) }, // NOXREF - //{ 0x01DD6460, "_ZN8CCSTutor17HandleWeaponFiredEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleWeaponFired) }, // NOXREF - { 0x01DD64A0, "_ZN8CCSTutor24HandleWeaponFiredOnEmptyEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleWeaponFiredOnEmpty) }, - //{ 0x01DD65A0, "_ZN8CCSTutor20HandleWeaponReloadedEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleWeaponReloaded) }, // NOXREF - { 0x01DD65E0, "_ZN8CCSTutor16HandlePlayerDiedEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandlePlayerDied) }, - //{ 0x01DD6F90, "_ZN8CCSTutor19HandlePlayerSpawnedEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandlePlayerSpawned) }, // NOXREF - //{ 0x01DD7040, "_ZN8CCSTutor25HandleClientCorpseSpawnedEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleClientCorpseSpawned) }, // NOXREF - { 0x01DD6D60, "_ZN8CCSTutor22HandlePlayerTookDamageEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandlePlayerTookDamage) }, - //{ 0x01DD6EE0, "_ZN8CCSTutor30HandlePlayerBlindedByFlashbangEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandlePlayerBlindedByFlashbang) }, // NOXREF - //{ 0x01DD7380, "_ZN8CCSTutor18HandleBuyTimeStartEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleBuyTimeStart) }, // NOXREF - //{ 0x01DD7390, "_ZN8CCSTutor23HandlePlayerLeftBuyZoneEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandlePlayerLeftBuyZone) }, // NOXREF - //{ 0x01DD7490, "_ZN8CCSTutor17HandleBombPlantedEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleBombPlanted) }, // NOXREF - { 0x01DD75B0, "_ZN8CCSTutor17HandleBombDefusedEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleBombDefused) }, - //{ 0x01DD7740, "_ZN8CCSTutor18HandleBombDefusingEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleBombDefusing) }, // NOXREF - //{ 0x01DD7800, "_ZN8CCSTutor18HandleBombExplodedEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleBombExploded) }, // NOXREF - { 0x01DD7920, "_ZN8CCSTutor16HandleRoundStartEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRoundStart) }, - //{ 0x01DD7B30, "_ZN8CCSTutor17HandleBeingShotAtEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleBeingShotAt) }, // NOXREF - { 0x01DD7C00, "_ZN8CCSTutor17HandleHostageUsedEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleHostageUsed) }, - //{ 0x01DD7E30, "_ZN8CCSTutor20HandleHostageRescuedEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleHostageRescued) }, // NOXREF - //{ 0x01DD7FD0, "_ZN8CCSTutor24HandleAllHostagesRescuedEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleAllHostagesRescued) }, // NOXREF - //{ 0x01DD80F0, "_ZN8CCSTutor20HandleHostageDamagedEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleHostageDamaged) }, // NOXREF - { 0x01DD81B0, "_ZN8CCSTutor19HandleHostageKilledEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleHostageKilled) }, - //{ 0x01DD8430, "_ZN8CCSTutor15HandleRoundDrawEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRoundDraw) }, // NOXREF - //{ 0x01DD84E0, "_ZN8CCSTutor11HandleCTWinEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleCTWin) }, // NOXREF - //{ 0x01DD8580, "_ZN8CCSTutor10HandleTWinEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleTWin) }, // NOXREF - //{ 0x01DD8620, "_ZN8CCSTutor22HandleDeathCameraStartEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleDeathCameraStart) }, // NOXREF - //{ 0x01DD86E0, "_ZN8CCSTutor18HandleRadioCoverMeEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRadioCoverMe) }, // NOXREF - //{ 0x01DD8770, "_ZN8CCSTutor26HandleRadioYouTakeThePointEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRadioYouTakeThePoint) }, // NOXREF - //{ 0x01DD8800, "_ZN8CCSTutor27HandleRadioHoldThisPositionEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRadioHoldThisPosition) }, // NOXREF - //{ 0x01DD8890, "_ZN8CCSTutor22HandleRadioRegroupTeamEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRadioRegroupTeam) }, // NOXREF - //{ 0x01DD8920, "_ZN8CCSTutor19HandleRadioFollowMeEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRadioFollowMe) }, // NOXREF - //{ 0x01DD89B0, "_ZN8CCSTutor21HandleRadioTakingFireEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRadioTakingFire) }, // NOXREF - //{ 0x01DD8A40, "_ZN8CCSTutor17HandleRadioGoGoGoEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRadioGoGoGo) }, // NOXREF - //{ 0x01DD8AD0, "_ZN8CCSTutor23HandleRadioTeamFallBackEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRadioTeamFallBack) }, // NOXREF - //{ 0x01DD8B60, "_ZN8CCSTutor28HandleRadioStickTogetherTeamEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRadioStickTogetherTeam) }, // NOXREF - //{ 0x01DD8BF0, "_ZN8CCSTutor31HandleRadioGetInPositionAndWaitEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRadioGetInPositionAndWait) }, // NOXREF - //{ 0x01DD8C80, "_ZN8CCSTutor24HandleRadioStormTheFrontEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRadioStormTheFront) }, // NOXREF - //{ 0x01DD8D10, "_ZN8CCSTutor23HandleRadioReportInTeamEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRadioReportInTeam) }, // NOXREF - //{ 0x01DD8DA0, "_ZN8CCSTutor22HandleRadioAffirmativeEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRadioAffirmative) }, // NOXREF - //{ 0x01DD8E30, "_ZN8CCSTutor23HandleRadioEnemySpottedEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRadioEnemySpotted) }, // NOXREF - //{ 0x01DD8EC0, "_ZN8CCSTutor21HandleRadioNeedBackupEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRadioNeedBackup) }, // NOXREF - //{ 0x01DD8F50, "_ZN8CCSTutor22HandleRadioSectorClearEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRadioSectorClear) }, // NOXREF - //{ 0x01DD8FE0, "_ZN8CCSTutor21HandleRadioInPositionEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRadioInPosition) }, // NOXREF - //{ 0x01DD9070, "_ZN8CCSTutor22HandleRadioReportingInEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRadioReportingIn) }, // NOXREF - //{ 0x01DD9100, "_ZN8CCSTutor24HandleRadioGetOutOfThereEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRadioGetOutOfThere) }, // NOXREF - //{ 0x01DD9190, "_ZN8CCSTutor19HandleRadioNegativeEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRadioNegative) }, // NOXREF - //{ 0x01DD9220, "_ZN8CCSTutor20HandleRadioEnemyDownEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleRadioEnemyDown) }, // NOXREF - //{ 0x01DD7240, "_ZN8CCSTutor20HandleBuyMenuOpennedEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleBuyMenuOpenned) }, // NOXREF - //{ 0x01DD72E0, "_ZN8CCSTutor13HandleAutoBuyEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleAutoBuy) }, // NOXREF - //{ 0x01DD92B0, "_ZN8CCSTutor23HandleNotBuyingAnythingEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleNotBuyingAnything) }, // NOXREF - //{ 0x01DD9340, "_ZN8CCSTutor28HandleNeedToBuyPrimaryWeaponEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleNeedToBuyPrimaryWeapon) }, // NOXREF - //{ 0x01DD93D0, "_ZN8CCSTutor26HandleNeedToBuyPrimaryAmmoEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleNeedToBuyPrimaryAmmo) }, // NOXREF - //{ 0x01DD9460, "_ZN8CCSTutor28HandleNeedToBuySecondaryAmmoEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleNeedToBuySecondaryAmmo) }, // NOXREF - //{ 0x01DD94F0, "_ZN8CCSTutor20HandleNeedToBuyArmorEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleNeedToBuyArmor) }, // NOXREF - //{ 0x01DD9580, "_ZN8CCSTutor24HandleNeedToBuyDefuseKitEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleNeedToBuyDefuseKit) }, // NOXREF - //{ 0x01DD9610, "_ZN8CCSTutor22HandleNeedToBuyGrenadeEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleNeedToBuyGrenade) }, // NOXREF - //{ 0x01DD96A0, "_ZN8CCSTutor20HandleCareerTaskDoneEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutor::HandleCareerTaskDone) }, // NOXREF - //{ 0x01DD98F0, "_ZN8CCSTutor25GetNumPlayersAliveOnTeamsERiS0_", mfunc_ptr_cast(&CCSTutor::GetNumPlayersAliveOnTeams) }, // NOXREF - { 0x01DD9BA0, "_ZN8CCSTutor20CheckForBombViewableEv", mfunc_ptr_cast(&CCSTutor::CheckForBombViewable) }, - //{ 0x01DD9970, "_ZN8CCSTutor27CheckForLooseWeaponViewableEv", mfunc_ptr_cast(&CCSTutor::CheckForLooseWeaponViewable) }, // NOXREF - { 0x01DD9A80, "_ZN8CCSTutor28CheckForLooseDefuserViewableEv", mfunc_ptr_cast(&CCSTutor::CheckForLooseDefuserViewable) }, - { 0x01DD9F30, "_ZN8CCSTutor24CheckForBombsiteViewableEv", mfunc_ptr_cast(&CCSTutor::CheckForBombsiteViewable) }, - { 0x01DDA1D0, "_ZN8CCSTutor18CheckForInBombZoneEv", mfunc_ptr_cast(&CCSTutor::CheckForInBombZone) }, - { 0x01DDA340, "_ZN8CCSTutor23CheckForHostageViewableEv", mfunc_ptr_cast(&CCSTutor::CheckForHostageViewable) }, - { 0x01DDA550, "_ZN8CCSTutor22CheckForTimeRunningOutEv", mfunc_ptr_cast(&CCSTutor::CheckForTimeRunningOut) }, - //{ 0x01DDA740, "_ZN8CCSTutor23CheckForAllHostagesDeadEv", mfunc_ptr_cast(&CCSTutor::CheckForAllHostagesDead) }, // NOXREF - //{ 0x01DDA810, "_ZN8CCSTutor35CheckForAllHostagesFollowingSomeoneEv", mfunc_ptr_cast(&CCSTutor::CheckForAllHostagesFollowingSomeone) }, // NOXREF - { 0x01DDAB10, "_ZN8CCSTutor17CheckHintMessagesEf", mfunc_ptr_cast(&CCSTutor::CheckHintMessages) }, - //{ 0x01DDAC40, "_ZN8CCSTutor23CheckInGameHintMessagesEf", mfunc_ptr_cast(&CCSTutor::CheckInGameHintMessages) }, // NOXREF - { 0x01DDAF80, "_ZN8CCSTutor20CheckExamineMessagesEf", mfunc_ptr_cast(&CCSTutor::CheckExamineMessages) }, - { 0x01DDAD20, "_ZN8CCSTutor20CheckForNeedToReloadEb", mfunc_ptr_cast(&CCSTutor::CheckForNeedToReload) }, - //{ 0x01DDB210, "_ZN8CCSTutor22CanLocalPlayerBuyStuffEv", mfunc_ptr_cast(&CCSTutor::CanLocalPlayerBuyStuff) }, // NOXREF - { 0x01DDB230, "_ZN8CCSTutor20CheckBuyZoneMessagesEv", mfunc_ptr_cast(&CCSTutor::CheckBuyZoneMessages) }, - //{ 0x01DDA2F0, "_ZN8CCSTutor23IsBombPlantedInBombsiteEP11CBaseEntity", mfunc_ptr_cast(&CCSTutor::IsBombPlantedInBombsite) }, // NOXREF - { 0x01DD3D30, "_ZN8CCSTutor20ReadTutorMessageFileEv", mfunc_ptr_cast(&CCSTutor::ReadTutorMessageFile) }, - //{ 0x01DD43A0, "_ZN8CCSTutor20ApplyPersistentDecayEv", mfunc_ptr_cast(&CCSTutor::ApplyPersistentDecay) }, // NOXREF - { 0x01DDA9A0, "_ZN8CCSTutor21GetEntityForMessageIDEiP11CBaseEntity", mfunc_ptr_cast(&CCSTutor::GetEntityForMessageID) }, - { 0x01DDB3A0, "_ZN8CCSTutor20ResetPlayerDeathInfoEv", mfunc_ptr_cast(&CCSTutor::ResetPlayerDeathInfo) }, - { 0x01DDB3C0, "_ZN8CCSTutor25ConstructRecentDeathsListE8TeamNamePciP17TutorMessageEvent", mfunc_ptr_cast(&CCSTutor::ConstructRecentDeathsList) }, -//TutorMessageEvent - //virtual func - //{ 0x01DD2A10, "_ZN17TutorMessageEventC2Eiiffi", mfunc_ptr_cast(&TutorMessageEvent::TutorMessageEvent) }, - //{ 0x01DD2A50, "_ZN17TutorMessageEventD0Ev", mfunc_ptr_cast(&TutorMessageEvent::~TutorMessageEvent) }, - //non-virtual func - { 0x01DD2A80, "_ZN17TutorMessageEvent8IsActiveEf", mfunc_ptr_cast(&TutorMessageEvent::IsActive) }, - //{ 0x01DD2AA0, "_ZN17TutorMessageEvent11GetPriorityEv", mfunc_ptr_cast(&TutorMessageEvent::GetPriority) }, // NOXREF - { 0x01DD2AB0, "_ZN17TutorMessageEvent13GetTimeActiveEf", mfunc_ptr_cast(&TutorMessageEvent::GetTimeActive) }, - { 0x01DD2AC0, "_ZN17TutorMessageEvent17SetActivationTimeEf", mfunc_ptr_cast(&TutorMessageEvent::SetActivationTime) }, - { 0x01DD2AD0, "_ZN17TutorMessageEvent5GetIDEv", mfunc_ptr_cast(&TutorMessageEvent::GetID) }, - //{ 0x01DD2AE0, "_ZN17TutorMessageEvent14GetDuplicateIDEv", mfunc_ptr_cast(&TutorMessageEvent::GetDuplicateID) }, // NOXREF - { 0x01DD2AF0, "_ZN17TutorMessageEvent7SetNextEPS_", mfunc_ptr_cast(&TutorMessageEvent::SetNext) }, - { 0x01DD2B00, "_ZN17TutorMessageEvent7GetNextEv", mfunc_ptr_cast(&TutorMessageEvent::GetNext) }, - { 0x01DD2B10, "_ZN17TutorMessageEvent12AddParameterEPc", mfunc_ptr_cast(&TutorMessageEvent::AddParameter) }, - //{ 0x01DD2BA0, "_ZN17TutorMessageEvent16GetNextParameterEPci", mfunc_ptr_cast(&TutorMessageEvent::GetNextParameter) }, // NOXREF - //{ 0x01DD2BE0, "_ZN17TutorMessageEvent16GetNumParametersEv", mfunc_ptr_cast(&TutorMessageEvent::GetNumParameters) }, // NOXREF -//CBaseTutorStateSystem - //virtual func - //{ 0x01DD2970, "_ZN21CBaseTutorStateSystemC2Ev", mfunc_ptr_cast(&CBaseTutorStateSystem::CBaseTutorStateSystem) }, - //{ 0x01DD2980, "_ZN21CBaseTutorStateSystemD0Ev", mfunc_ptr_cast(&CBaseTutorStateSystem::~CBaseTutorStateSystem) }, - //{ 0x0, "_ZN21CBaseTutorStateSystem11UpdateStateE13GameEventTypeP11CBaseEntityS2_", mfunc_ptr_cast(&CBaseTutorStateSystem::UpdateState) }, // NOXREF PURE - //{ 0x0, "_ZN21CBaseTutorStateSystem21GetCurrentStateStringEv", mfunc_ptr_cast(&CBaseTutorStateSystem::GetCurrentStateString) }, // NOXREF PURE - //{ 0x0, "_ZN21CBaseTutorStateSystem17ConstructNewStateEi", mfunc_ptr_cast(&CBaseTutorStateSystem::ConstructNewState) }, // NOXREF PURE - //non-virtual func - //{ 0x01DD29B0, "_ZN21CBaseTutorStateSystem19GetCurrentStateTypeEv", mfunc_ptr_cast(&CBaseTutorStateSystem::GetCurrentStateType) }, // NOXREF -//CBaseTutorState - //virtual func - //{ 0x01DD29C0, "_ZN15CBaseTutorStateC2Ev", mfunc_ptr_cast(&CBaseTutorState::CBaseTutorState) }, - //{ 0x01DD29D0, "_ZN15CBaseTutorStateD0Ev", mfunc_ptr_cast(&CBaseTutorState::~CBaseTutorState) }, - //{ 0x0, "_ZN15CBaseTutorState23CheckForStateTransitionE13GameEventTypeP11CBaseEntityS2_", mfunc_ptr_cast(&CBaseTutorState::CheckForStateTransition_) }, // PURE virt - //{ 0x0, "_ZN15CBaseTutorState14GetStateStringEv", mfunc_ptr_cast(&CBaseTutorState::GetStateString_) }, // PURE virt - //non-virtual func - //{ 0x01DD2A00, "_ZN15CBaseTutorState7GetTypeEv", mfunc_ptr_cast(&CBaseTutorState::GetType) }, // NOXREF -//CCSTutorStateSystem - //{ 0x01DD3560, "_ZN19CCSTutorStateSystemC2Ev", mfunc_ptr_cast(&CCSTutorStateSystem::CCSTutorStateSystem) }, - //virtual func - //{ 0x01DD35B0, "_ZN19CCSTutorStateSystemD0Ev", mfunc_ptr_cast(&CCSTutorStateSystem::~CCSTutorStateSystem) }, - { 0x01DD3620, "_ZN19CCSTutorStateSystem11UpdateStateE13GameEventTypeP11CBaseEntityS2_", mfunc_ptr_cast(&CCSTutorStateSystem::UpdateState_) }, - { 0x01DD36B0, "_ZN19CCSTutorStateSystem21GetCurrentStateStringEv", mfunc_ptr_cast(&CCSTutorStateSystem::GetCurrentStateString_) }, - //{ 0x01DD36C0, "_ZN19CCSTutorStateSystem17ConstructNewStateEi", mfunc_ptr_cast(&CCSTutorStateSystem::ConstructNewState_) }, // PROTECTED -//CCSTutorUndefinedState - //{ 0x01DD3760, "_ZN22CCSTutorUndefinedStateC2Ev", mfunc_ptr_cast(&CCSTutorUndefinedState::CCSTutorUndefinedState) }, - //{ 0x01DD3780, "_ZN22CCSTutorUndefinedStateD0Ev", mfunc_ptr_cast(&CCSTutorUndefinedState::~CCSTutorUndefinedState) }, - //virtual func - { 0x01DD37C0, "_ZN22CCSTutorUndefinedState23CheckForStateTransitionE13GameEventTypeP11CBaseEntityS2_", mfunc_ptr_cast(&CCSTutorUndefinedState::CheckForStateTransition_) }, - { 0x01DD3850, "_ZN22CCSTutorUndefinedState14GetStateStringEv", mfunc_ptr_cast(&CCSTutorUndefinedState::GetStateString_) }, - //non-virtual func - //{ 0x01DD3810, "_ZN22CCSTutorUndefinedState19HandlePlayerSpawnedEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutorUndefinedState::HandlePlayerSpawned) }, // NOXREF -//CCSTutorWaitingForStartState - //{ 0x01DD3860, "_ZN28CCSTutorWaitingForStartStateC2Ev", mfunc_ptr_cast(&CCSTutorWaitingForStartState::CCSTutorWaitingForStartState) }, - //virtual func - //{ 0x01DD3880, "_ZN28CCSTutorWaitingForStartStateD0Ev", mfunc_ptr_cast(&CCSTutorWaitingForStartState::~CCSTutorWaitingForStartState) }, - { 0x01DD38C0, "_ZN28CCSTutorWaitingForStartState23CheckForStateTransitionE13GameEventTypeP11CBaseEntityS2_", mfunc_ptr_cast(&CCSTutorWaitingForStartState::CheckForStateTransition_) }, - { 0x01DD3910, "_ZN28CCSTutorWaitingForStartState14GetStateStringEv", mfunc_ptr_cast(&CCSTutorWaitingForStartState::GetStateString_) }, - //non-virtual func - //{ 0x01DD3920, "_ZN28CCSTutorWaitingForStartState19HandlePlayerSpawnedEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutorWaitingForStartState::HandlePlayerSpawned) }, // NOXREF - //{ 0x01DD3960, "_ZN28CCSTutorWaitingForStartState18HandleBuyTimeStartEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutorWaitingForStartState::HandleBuyTimeStart) }, // NOXREF -//CCSTutorBuyMenuState - //{ 0x01DD3970, "_ZN20CCSTutorBuyMenuStateC2Ev", mfunc_ptr_cast(&CCSTutorBuyMenuState::CCSTutorBuyMenuState) }, - //virtual func - //{ 0x01DD3990, "_ZN20CCSTutorBuyMenuStateD0Ev", mfunc_ptr_cast(&CCSTutorBuyMenuState::~CCSTutorBuyMenuState) }, - { 0x01DD39D0, "_ZN20CCSTutorBuyMenuState23CheckForStateTransitionE13GameEventTypeP11CBaseEntityS2_", mfunc_ptr_cast(&CCSTutorBuyMenuState::CheckForStateTransition_) }, - { 0x01DD39F0, "_ZN20CCSTutorBuyMenuState14GetStateStringEv", mfunc_ptr_cast(&CCSTutorBuyMenuState::GetStateString_) }, - //non-virtual func - //{ 0x01DD3A00, "_ZN20CCSTutorBuyMenuState16HandleRoundStartEP11CBaseEntityS1_", mfunc_ptr_cast(&CCSTutorBuyMenuState::HandleRoundStart) }, // NOXREF - { 0x01DD3FB0, "_ZL22ParseMessageParametersRPcP12TutorMessage", (size_t)&ParseMessageParameters }, - //{ 0x0, "", (size_t)&ConstructTutorMessage }, // NOXREF - //{ 0x0, "", (size_t)&ReadDefaultValues }, // NOXREF - -#endif // Tutor_CS_Region - -#ifndef Bot_Profile - -//BotProfile - //{ 0x0, "", mfunc_ptr_cast(&BotProfile::BotProfile) }, // NOXREF - //{ 0x0, "_ZNK10BotProfile7GetNameEv", mfunc_ptr_cast(&BotProfile::GetName) }, // NOXREF - //{ 0x0, "_ZNK10BotProfile13GetAggressionEv", mfunc_ptr_cast(&BotProfile::GetAggression) }, // NOXREF - //{ 0x0, "_ZNK10BotProfile8GetSkillEv", mfunc_ptr_cast(&BotProfile::GetSkill) }, // NOXREF - //{ 0x0, "_ZNK10BotProfile11GetTeamworkEv", mfunc_ptr_cast(&BotProfile::GetTeamwork) }, // NOXREF - //{ 0x0, "_ZNK10BotProfile19GetWeaponPreferenceEi", mfunc_ptr_cast(&BotProfile::GetWeaponPreference) }, // NOXREF - { 0x01D34DC0, "_ZNK10BotProfile27GetWeaponPreferenceAsStringEi", mfunc_ptr_cast(&BotProfile::GetWeaponPreferenceAsString) }, - //{ 0x0, "_ZNK10BotProfile24GetWeaponPreferenceCountEv", mfunc_ptr_cast(&BotProfile::GetWeaponPreferenceCount) }, // NOXREF - { 0x01D34DF0, "_ZNK10BotProfile20HasPrimaryPreferenceEv", mfunc_ptr_cast(&BotProfile::HasPrimaryPreference) }, - { 0x01D34E50, "_ZNK10BotProfile19HasPistolPreferenceEv", mfunc_ptr_cast(&BotProfile::HasPistolPreference) }, - //{ 0x0, "_ZNK10BotProfile7GetCostEv", mfunc_ptr_cast(&BotProfile::GetCost) }, // NOXREF - //{ 0x0, "_ZNK10BotProfile7GetSkinEv", mfunc_ptr_cast(&BotProfile::GetSkin) }, // NOXREF - //{ 0x0, "_ZNK10BotProfile12IsDifficultyE17BotDifficultyType", mfunc_ptr_cast(&BotProfile::IsDifficulty) }, // NOXREF - //{ 0x0, "_ZNK10BotProfile13GetVoicePitchEv", mfunc_ptr_cast(&BotProfile::GetVoicePitch) }, // NOXREF - //{ 0x0, "_ZNK10BotProfile15GetReactionTimeEv", mfunc_ptr_cast(&BotProfile::GetReactionTime) }, // NOXREF - //{ 0x0, "_ZNK10BotProfile14GetAttackDelayEv", mfunc_ptr_cast(&BotProfile::GetAttackDelay) }, // NOXREF - //{ 0x0, "_ZNK10BotProfile12GetVoiceBankEv", mfunc_ptr_cast(&BotProfile::GetVoiceBank) }, // NOXREF - { 0x01D34E90, "_ZNK10BotProfile14IsValidForTeamE18BotProfileTeamType", mfunc_ptr_cast(&BotProfile::IsValidForTeam) }, - //{ 0x0, "_ZNK10BotProfile15PrefersSilencerEv", mfunc_ptr_cast(&BotProfile::PrefersSilencer) }, // NOXREF - //{ 0x0, "_ZN10BotProfile7InheritEPKS_S1_", mfunc_ptr_cast(&BotProfile::Inherit) }, -//BotProfileManager - //{ 0x01D34EC0, "_ZN17BotProfileManagerC2Ev", mfunc_ptr_cast(&BotProfileManager::BotProfileManager) }, - //{ 0x01D35C30, "_ZN17BotProfileManagerD2Ev", mfunc_ptr_cast(&BotProfileManager::~BotProfileManager) }, - { 0x01D34F20, "_ZN17BotProfileManager4InitEPKcPj", mfunc_ptr_cast(&BotProfileManager::Init) }, - { 0x01D35CE0, "_ZN17BotProfileManager5ResetEv", mfunc_ptr_cast(&BotProfileManager::Reset) }, - //{ 0x0, "_ZNK17BotProfileManager10GetProfileEPKc18BotProfileTeamType", mfunc_ptr_cast(&BotProfileManager::GetProfile) }, // NOXREF - //{ 0x0, "_ZNK17BotProfileManager14GetProfileListEv", mfunc_ptr_cast(&BotProfileManager::GetProfileList) }, // NOXREF - { 0x01D36070, "_ZNK17BotProfileManager16GetRandomProfileE17BotDifficultyType18BotProfileTeamType", mfunc_ptr_cast(&BotProfileManager::GetRandomProfile) }, - { 0x01D35D90, "_ZN17BotProfileManager13GetCustomSkinEi", mfunc_ptr_cast(&BotProfileManager::GetCustomSkin) }, - { 0x01D35DD0, "_ZN17BotProfileManager22GetCustomSkinModelnameEi", mfunc_ptr_cast(&BotProfileManager::GetCustomSkinModelname) }, - { 0x01D35DB0, "_ZN17BotProfileManager18GetCustomSkinFnameEi", mfunc_ptr_cast(&BotProfileManager::GetCustomSkinFname) }, - //{ 0x01D35DF0, "_ZN17BotProfileManager18GetCustomSkinIndexEPKcS1_", mfunc_ptr_cast(&BotProfileManager::GetCustomSkinIndex) }, // NOXREF - //{ 0x0, "_ZNK17BotProfileManager13GetVoiceBanksEv", mfunc_ptr_cast(&BotProfileManager::GetVoiceBanks) }, // NOXREF - { 0x01D35E60, "_ZN17BotProfileManager18FindVoiceBankIndexEPKc", mfunc_ptr_cast(&BotProfileManager::FindVoiceBankIndex) }, - -#endif // Bot_Profile - -#ifndef VoiceManager_Region - -//CVoiceGameMgr - //constructor/destructor func - //{ 0x0, "_ZN13CVoiceGameMgrD0Ev", mfunc_ptr_cast(&CVoiceGameMgr::~CVoiceGameMgr) }, - //non-virtual func - //{ 0x01DCC6F0, "_ZN13CVoiceGameMgrC2Ev", mfunc_ptr_cast(&CVoiceGameMgr::CVoiceGameMgr) }, - { 0x01DCC740, "_ZN13CVoiceGameMgr4InitEP19IVoiceGameMgrHelperi", mfunc_ptr_cast(&CVoiceGameMgr::Init) }, - //{ 0x01DCC7D0, "_ZN13CVoiceGameMgr9SetHelperEP19IVoiceGameMgrHelper", mfunc_ptr_cast(&CVoiceGameMgr::SetHelper) }, // NOXREF - { 0x01DCC7E0, "_ZN13CVoiceGameMgr6UpdateEd", mfunc_ptr_cast(&CVoiceGameMgr::Update) }, - { 0x01DCC800, "_ZN13CVoiceGameMgr15ClientConnectedEP7edict_s", mfunc_ptr_cast(&CVoiceGameMgr::ClientConnected) }, - { 0x01DCC910, "_ZN13CVoiceGameMgr13ClientCommandEP11CBasePlayerPKc", mfunc_ptr_cast(&CVoiceGameMgr::ClientCommand) }, - { 0x01DCC890, "_ZN13CVoiceGameMgr22PlayerHasBlockedPlayerEP11CBasePlayerS1_", mfunc_ptr_cast(&CVoiceGameMgr::PlayerHasBlockedPlayer) }, - { 0x01DCCB10, "_ZN13CVoiceGameMgr11UpdateMasksEv", mfunc_ptr_cast(&CVoiceGameMgr::UpdateMasks) }, - { 0x01DCCAB0, "_ZL16VoiceServerDebugPKcz", (size_t)&VoiceServerDebug }, - -#endif // VoiceManager_Region - -#ifndef Vector_Region - - { 0x01D71160, "_ZN8Vector2D16NormalizeInPlaceEv", mfunc_ptr_cast(&Vector2D::NormalizeInPlace) }, - { 0x01D290C0, "_ZN6Vector16NormalizeInPlaceEv", mfunc_ptr_cast(&Vector::NormalizeInPlace) }, - -#ifdef _WIN32 - - { 0x01D12570, "", mfunc_ptr_cast(&Vector::Length) }, - { 0x01D9C290, "", mfunc_ptr_cast(&Vector::Length2D) }, - { 0x01D4EA30, "", mfunc_ptr_cast(&Vector::Normalize) }, - { 0x01DCB800, "", mfunc_ptr_cast(&Vector::operator==) }, - { 0x01D130D0, "", mfunc_ptr_cast(&Vector::IsLengthLessThan) }, - { 0x01D18AC0, "", mfunc_ptr_cast(&Vector::IsLengthGreaterThan) }, - { 0x01D34D90, "", mfunc_ptr_cast(&DotProduct) }, - -#endif // _WIN32 - -#endif // Vector_Region - -#ifndef Nav_Region - -//Nav_File - //{ 0x01D44E00, "_Z14GetBspFilenamePKc", (size_t)&GetBspFilename }, // NOXREF - //{ 0x0, "", (size_t)&COM_FixSlashes }, // NOXREF - { 0x01D45CF0, "_Z17SaveNavigationMapPKc", (size_t)&SaveNavigationMap }, - { 0x01D45F80, "_Z16LoadLocationFilePKc", (size_t)&LoadLocationFile }, - { 0x01D46170, "_Z24SanityCheckNavigationMapPKc", (size_t)&SanityCheckNavigationMap }, - { 0x01D46310, "_Z17LoadNavigationMapv", (size_t)&LoadNavigationMap }, -//IImprovEvent - //virtual func - //{ 0x01D56970, "_ZN12IImprovEvent15OnMoveToSuccessERK6Vector", mfunc_ptr_cast(&IImprovEvent::OnMoveToSuccess_) }, - //{ 0x01D56980, "_ZN12IImprovEvent15OnMoveToFailureERK6VectorNS_17MoveToFailureTypeE", mfunc_ptr_cast(&IImprovEvent::OnMoveToFailure_) }, - //{ 0x01D56990, "_ZN12IImprovEvent8OnInjuryEf", mfunc_ptr_cast(&IImprovEvent::OnInjury_) }, -//CImprov - //virtual func - //{ 0x0, "_ZNK7CImprov7IsAliveEv", mfunc_ptr_cast(&CImprov::IsAlive) }, - //{ 0x0, "_ZN7CImprov6MoveToERK6Vector", mfunc_ptr_cast(&CImprov::MoveTo) }, - //{ 0x0, "_ZN7CImprov6LookAtERK6Vector", mfunc_ptr_cast(&CImprov::LookAt) }, - //{ 0x0, "_ZN7CImprov11ClearLookAtEv", mfunc_ptr_cast(&CImprov::ClearLookAt) }, - //{ 0x0, "_ZN7CImprov6FaceToERK6Vector", mfunc_ptr_cast(&CImprov::FaceTo) }, - //{ 0x0, "_ZN7CImprov11ClearFaceToEv", mfunc_ptr_cast(&CImprov::ClearFaceTo) }, - //{ 0x0, "_ZNK7CImprov12IsAtMoveGoalEf", mfunc_ptr_cast(&CImprov::IsAtMoveGoal) }, - //{ 0x0, "_ZNK7CImprov9HasLookAtEv", mfunc_ptr_cast(&CImprov::HasLookAt) }, - //{ 0x0, "_ZNK7CImprov9HasFaceToEv", mfunc_ptr_cast(&CImprov::HasFaceTo) }, - //{ 0x0, "_ZNK7CImprov12IsAtFaceGoalEv", mfunc_ptr_cast(&CImprov::IsAtFaceGoal) }, - //{ 0x0, "_ZNK7CImprov16IsFriendInTheWayERK6Vector", mfunc_ptr_cast(&CImprov::IsFriendInTheWay) }, - //{ 0x0, "_ZNK7CImprov16IsFriendInTheWayEP11CBaseEntityRK6Vector", mfunc_ptr_cast(&CImprov::IsFriendInTheWay) }, - //{ 0x0, "_ZN7CImprov11MoveForwardEv", mfunc_ptr_cast(&CImprov::MoveForward) }, - //{ 0x0, "_ZN7CImprov12MoveBackwardEv", mfunc_ptr_cast(&CImprov::MoveBackward) }, - //{ 0x0, "_ZN7CImprov10StrafeLeftEv", mfunc_ptr_cast(&CImprov::StrafeLeft) }, - //{ 0x0, "_ZN7CImprov11StrafeRightEv", mfunc_ptr_cast(&CImprov::StrafeRight) }, - //{ 0x0, "_ZN7CImprov4JumpEv", mfunc_ptr_cast(&CImprov::Jump) }, - //{ 0x0, "_ZN7CImprov6CrouchEv", mfunc_ptr_cast(&CImprov::Crouch) }, - //{ 0x0, "_ZN7CImprov7StandUpEv", mfunc_ptr_cast(&CImprov::StandUp) }, - //{ 0x0, "_ZN7CImprov9TrackPathERK6Vectorf", mfunc_ptr_cast(&CImprov::TrackPath) }, - //{ 0x0, "_ZN7CImprov11StartLadderEPK10CNavLadder15NavTraverseTypePK6VectorS6_", mfunc_ptr_cast(&CImprov::StartLadder) }, - //{ 0x0, "_ZN7CImprov14TraverseLadderEPK10CNavLadder15NavTraverseTypePK6VectorS6_f", mfunc_ptr_cast(&CImprov::TraverseLadder) }, - //{ 0x0, "_ZN7CImprov30GetSimpleGroundHeightWithFloorEPK6VectorPfPS0_", mfunc_ptr_cast(&CImprov::GetSimpleGroundHeightWithFloor) }, - //{ 0x0, "_ZN7CImprov3RunEv", mfunc_ptr_cast(&CImprov::Run) }, - //{ 0x0, "_ZN7CImprov4WalkEv", mfunc_ptr_cast(&CImprov::Walk) }, - //{ 0x0, "_ZN7CImprov4StopEv", mfunc_ptr_cast(&CImprov::Stop) }, - //{ 0x0, "_ZNK7CImprov12GetMoveAngleEv", mfunc_ptr_cast(&CImprov::GetMoveAngle) }, - //{ 0x0, "_ZNK7CImprov12GetFaceAngleEv", mfunc_ptr_cast(&CImprov::GetFaceAngle) }, - //{ 0x0, "_ZNK7CImprov7GetFeetEv", mfunc_ptr_cast(&CImprov::GetFeet) }, - //{ 0x0, "_ZNK7CImprov11GetCentroidEv", mfunc_ptr_cast(&CImprov::GetCentroid) }, - //{ 0x0, "_ZNK7CImprov7GetEyesEv", mfunc_ptr_cast(&CImprov::GetEyes) }, - //{ 0x0, "_ZNK7CImprov9IsRunningEv", mfunc_ptr_cast(&CImprov::IsRunning) }, - //{ 0x0, "_ZNK7CImprov9IsWalkingEv", mfunc_ptr_cast(&CImprov::IsWalking) }, - //{ 0x0, "_ZNK7CImprov9IsStoppedEv", mfunc_ptr_cast(&CImprov::IsStopped) }, - //{ 0x0, "_ZNK7CImprov11IsCrouchingEv", mfunc_ptr_cast(&CImprov::IsCrouching) }, - //{ 0x0, "_ZNK7CImprov9IsJumpingEv", mfunc_ptr_cast(&CImprov::IsJumping) }, - //{ 0x0, "_ZNK7CImprov13IsUsingLadderEv", mfunc_ptr_cast(&CImprov::IsUsingLadder) }, - //{ 0x0, "_ZNK7CImprov10IsOnGroundEv", mfunc_ptr_cast(&CImprov::IsOnGround) }, - //{ 0x0, "_ZNK7CImprov8IsMovingEv", mfunc_ptr_cast(&CImprov::IsMoving) }, - //{ 0x0, "_ZNK7CImprov6CanRunEv", mfunc_ptr_cast(&CImprov::CanRun) }, - //{ 0x0, "_ZNK7CImprov9CanCrouchEv", mfunc_ptr_cast(&CImprov::CanCrouch) }, - //{ 0x0, "_ZNK7CImprov7CanJumpEv", mfunc_ptr_cast(&CImprov::CanJump) }, - //{ 0x0, "_ZNK7CImprov9IsVisibleERK6Vectorb", mfunc_ptr_cast(&CImprov::IsVisible) }, - //{ 0x0, "_ZNK7CImprov19IsPlayerLookingAtMeEP11CBasePlayerf", mfunc_ptr_cast(&CImprov::IsPlayerLookingAtMe) }, - //{ 0x0, "_ZNK7CImprov22IsAnyPlayerLookingAtMeEif", mfunc_ptr_cast(&CImprov::IsAnyPlayerLookingAtMe) }, - //{ 0x0, "_ZNK7CImprov32GetClosestPlayerByTravelDistanceEiPf", mfunc_ptr_cast(&CImprov::GetClosestPlayerByTravelDistance) }, - //{ 0x0, "_ZNK7CImprov16GetLastKnownAreaEv", mfunc_ptr_cast(&CImprov::GetLastKnownArea) }, - //{ 0x0, "_ZN7CImprov8OnUpdateEf", mfunc_ptr_cast(&CImprov::OnUpdate) }, - //{ 0x0, "_ZN7CImprov8OnUpkeepEf", mfunc_ptr_cast(&CImprov::OnUpkeep) }, - //{ 0x0, "_ZN7CImprov7OnResetEv", mfunc_ptr_cast(&CImprov::OnReset) }, - //{ 0x0, "_ZN7CImprov11OnGameEventE13GameEventTypeP11CBaseEntityS2_", mfunc_ptr_cast(&CImprov::OnGameEvent) }, - //{ 0x0, "_ZN7CImprov7OnTouchEP11CBaseEntity", mfunc_ptr_cast(&CImprov::OnTouch) }, -//CNavNode - //{ 0x01D46F60, "_ZN8CNavNodeC2EPK6VectorS2_PS_", mfunc_ptr_cast(&CNavNode::CNavNode) }, - { 0x01D47000, "_ZN8CNavNode7GetNodeEPK6Vector", mfunc_ptr_cast(&CNavNode::GetNode) }, - //{ 0x0, "_ZNK8CNavNode16GetConnectedNodeE10NavDirType", mfunc_ptr_cast(&CNavNode::GetConnectedNode) }, - //{ 0x0, "_ZNK8CNavNode11GetPositionEv", mfunc_ptr_cast(&CNavNode::GetPosition) }, - //{ 0x0, "_ZNK8CNavNode9GetNormalEv", mfunc_ptr_cast(&CNavNode::GetNormal) }, - //{ 0x0, "_ZNK8CNavNode5GetIDEv", mfunc_ptr_cast(&CNavNode::GetID) }, - //{ 0x0, "_ZN8CNavNode8GetFirstEv", mfunc_ptr_cast(&CNavNode::GetFirst) }, - //{ 0x0, "_ZN8CNavNode13GetListLengthEv", mfunc_ptr_cast(&CNavNode::GetListLength) }, - //{ 0x0, "_ZN8CNavNode7GetNextEv", mfunc_ptr_cast(&CNavNode::GetNext) }, - { 0x01D46FF0, "_ZN8CNavNode9ConnectToEPS_10NavDirType", mfunc_ptr_cast(&CNavNode::ConnectTo) }, - //{ 0x0, "_ZNK8CNavNode9GetParentEv", mfunc_ptr_cast(&CNavNode::GetParent) }, - //{ 0x0, "_ZN8CNavNode13MarkAsVisitedE10NavDirType", mfunc_ptr_cast(&CNavNode::MarkAsVisited) }, - //{ 0x0, "_ZN8CNavNode10HasVisitedE10NavDirType", mfunc_ptr_cast(&CNavNode::HasVisited) }, - //{ 0x01D470E0, "_ZNK8CNavNode10IsBiLinkedE10NavDirType", mfunc_ptr_cast(&CNavNode::IsBiLinked) }, // NOXREF - { 0x01D47110, "_ZNK8CNavNode12IsClosedCellEv", mfunc_ptr_cast(&CNavNode::IsClosedCell) }, - //{ 0x0, "_ZN8CNavNode5CoverEv", mfunc_ptr_cast(&CNavNode::Cover) }, - //{ 0x0, "_ZNK8CNavNode9IsCoveredEv", mfunc_ptr_cast(&CNavNode::IsCovered) }, - //{ 0x0, "_ZN8CNavNode10AssignAreaEP8CNavArea", mfunc_ptr_cast(&CNavNode::AssignArea) }, - //{ 0x0, "_ZNK8CNavNode7GetAreaEv", mfunc_ptr_cast(&CNavNode::GetArea) }, - //{ 0x0, "_ZN8CNavNode13SetAttributesEh", mfunc_ptr_cast(&CNavNode::SetAttributes) }, - //{ 0x0, "_ZNK8CNavNode13GetAttributesEv", mfunc_ptr_cast(&CNavNode::GetAttributes) }, -//CNavPath - //{ 0x0, "", mfunc_ptr_cast(&CNavPath::CNavPath) }, - //{ 0x0, "_ZN8CNavPathixEi", mfunc_ptr_cast(&CNavPath::operator[]) }, - //{ 0x0, "_ZNK8CNavPath15GetSegmentCountEv", mfunc_ptr_cast(&CNavPath::GetSegmentCount) }, - //{ 0x0, "_ZNK8CNavPath11GetEndpointEv", mfunc_ptr_cast(&CNavPath::GetEndpoint) }, - { 0x01D47570, "_ZNK8CNavPath7IsAtEndERK6Vector", mfunc_ptr_cast(&CNavPath::IsAtEnd) }, - { 0x01D475D0, "_ZNK8CNavPath9GetLengthEv", mfunc_ptr_cast(&CNavPath::GetLength) }, - //{ 0x01D47620, "_ZNK8CNavPath17GetPointAlongPathEfP6Vector", mfunc_ptr_cast(&CNavPath::GetPointAlongPath) }, // NOXREF - { 0x01D47760, "_ZNK8CNavPath24GetSegmentIndexAlongPathEf", mfunc_ptr_cast(&CNavPath::GetSegmentIndexAlongPath) }, - //{ 0x0, "_ZNK8CNavPath7IsValidEv", mfunc_ptr_cast(&CNavPath::IsValid) }, - //{ 0x0, "_ZN8CNavPath10InvalidateEv", mfunc_ptr_cast(&CNavPath::Invalidate) }, - //{ 0x01D47AB0, "_ZN8CNavPath4DrawEv", mfunc_ptr_cast(&CNavPath::Draw) }, // NOXREF - //{ 0x01D477F0, "_ZNK8CNavPath22FindClosestPointOnPathEPK6VectoriiPS0_", mfunc_ptr_cast(&CNavPath::FindClosestPointOnPath) }, // NOXREF - { 0x01D47E20, "_ZN8CNavPath8OptimizeEv", mfunc_ptr_cast(&CNavPath::Optimize) }, // PURE - { 0x01D47170, "_ZN8CNavPath20ComputePathPositionsEv", mfunc_ptr_cast(&CNavPath::ComputePathPositions) }, - { 0x01D47A00, "_ZN8CNavPath16BuildTrivialPathEPK6VectorS2_", mfunc_ptr_cast(&CNavPath::BuildTrivialPath) }, - //{ 0x01D47B40, "_ZN8CNavPath20FindNextOccludedNodeEi", mfunc_ptr_cast(&CNavPath::FindNextOccludedNode) }, // NOXREF -//CStuckMonitor - //{ 0x01D49B70, "", mfunc_ptr_cast(&CStuckMonitor::CStuckMonitor) }, - { 0x01D49B90, "_ZN13CStuckMonitor5ResetEv", mfunc_ptr_cast(&CStuckMonitor::Reset) }, - { 0x01D49BA0, "_ZN13CStuckMonitor6UpdateEP7CImprov", mfunc_ptr_cast(&CStuckMonitor::Update) }, - //{ 0x0, "_ZNK13CStuckMonitor7IsStuckEv", mfunc_ptr_cast(&CStuckMonitor::IsStuck) }, - //{ 0x0, "_ZNK13CStuckMonitor11GetDurationEv", mfunc_ptr_cast(&CStuckMonitor::GetDuration) }, -//CNavPathFollower - //{ 0x01D47E30, "", mfunc_ptr_cast(&CNavPathFollower::CNavPathFollower) }, - //{ 0x0, "_ZN16CNavPathFollower9SetImprovEP7CImprov", mfunc_ptr_cast(&CNavPathFollower::SetImprov) }, - //{ 0x0, "_ZN16CNavPathFollower7SetPathEP8CNavPath", mfunc_ptr_cast(&CNavPathFollower::SetPath) }, - { 0x01D47E60, "_ZN16CNavPathFollower5ResetEv", mfunc_ptr_cast(&CNavPathFollower::Reset) }, - { 0x01D47E80, "_ZN16CNavPathFollower6UpdateEfb", mfunc_ptr_cast(&CNavPathFollower::Update) }, - //{ 0x0, "_ZN16CNavPathFollower5DebugEb", mfunc_ptr_cast(&CNavPathFollower::Debug) }, - //{ 0x0, "_ZNK16CNavPathFollower7IsStuckEv", mfunc_ptr_cast(&CNavPathFollower::IsStuck) }, - //{ 0x0, "_ZN16CNavPathFollower10ResetStuckEv", mfunc_ptr_cast(&CNavPathFollower::ResetStuck) }, - //{ 0x0, "_ZNK16CNavPathFollower16GetStuckDurationEv", mfunc_ptr_cast(&CNavPathFollower::GetStuckDuration) }, - { 0x01D49460, "_ZN16CNavPathFollower22FeelerReflexAdjustmentEP6Vectorf", mfunc_ptr_cast(&CNavPathFollower::FeelerReflexAdjustment) }, - { 0x01D48450, "_ZNK16CNavPathFollower21FindOurPositionOnPathEP6Vectorb", mfunc_ptr_cast(&CNavPathFollower::FindOurPositionOnPath) }, - { 0x01D487B0, "_ZN16CNavPathFollower13FindPathPointEfP6VectorPi", mfunc_ptr_cast(&CNavPathFollower::FindPathPoint) }, -//HidingSpot - //{ 0x01D37DB0, "", mfunc_ptr_cast(&HidingSpot::HidingSpot) }, - //{ 0x01D37E40, "", mfunc_ptr_cast(&HidingSpot::HidingSpot) }, - { 0x01D37EC0, "_ZNK10HidingSpot4SaveEij", mfunc_ptr_cast(&HidingSpot::Save) }, - { 0x01D37F00, "_ZN10HidingSpot4LoadEP9SteamFilej", mfunc_ptr_cast(&HidingSpot::Load) }, -//SteamFile - //{ 0x0, "", mfunc_ptr_cast(&SteamFile::SteamFile) }, - //{ 0x0, "", mfunc_ptr_cast(&SteamFile::~SteamFile) }, - //{ 0x0, "_ZNK9SteamFile7IsValidEv", mfunc_ptr_cast(&SteamFile::IsValid) }, - { 0x01D46F00, "_ZN9SteamFile4ReadEPvi", mfunc_ptr_cast(&SteamFile::Read) }, -//CNavArea - //{ 0x01D45A50, "_ZNK14PlaceDirectory12EntryToPlaceEt", mfunc_ptr_cast(&PlaceDirectory::EntryToPlace) }, // NOTE: need hook LoadNavigationMap - { 0x01D44F80, "_ZN8CNavArea4SaveEij", mfunc_ptr_cast(&CNavArea::Save) }, - { 0x01D44E60, "_ZNK8CNavArea4SaveEP8_IO_FILE", mfunc_ptr_cast(&CNavArea::Save) }, - { 0x01D45330, "_ZN8CNavArea4LoadEP9SteamFilej", mfunc_ptr_cast(&CNavArea::Load) }, - { 0x01D45AA0, "_ZN8CNavArea8PostLoadEv", mfunc_ptr_cast(&CNavArea::PostLoad) }, - //{ 0x01D38040, "", mfunc_ptr_cast(&CNavArea::CNavArea) }, - //{ 0x0, "", mfunc_ptr_cast(&CNavArea::CNavArea) }, - //{ 0x0, "", mfunc_ptr_cast(&CNavArea::CNavArea) }, - //{ 0x0, "", mfunc_ptr_cast(&CNavArea::CNavArea) }, - //{ 0x01D386A0, "", mfunc_ptr_cast(&CNavArea::~CNavArea) }, - { 0x01D37FE0, "_ZN8CNavArea10InitializeEv", mfunc_ptr_cast(&CNavArea::Initialize) }, // PRIVATE - //{ 0x01D388A0, "_ZN8CNavArea15OnDestroyNotifyEPS_", mfunc_ptr_cast(&CNavArea::OnDestroyNotify) }, // NOXREF - { 0x01D38960, "_ZN8CNavArea9ConnectToEPS_10NavDirType", mfunc_ptr_cast(&CNavArea::ConnectTo) }, - //{ 0x01D389D0, "_ZN8CNavArea10DisconnectEPS_", mfunc_ptr_cast(&CNavArea::Disconnect) }, // NOXREF - { 0x01D38A40, "_ZN8CNavArea11FinishMergeEPS_", mfunc_ptr_cast(&CNavArea::FinishMerge) }, - { 0x01D38B60, "_ZN8CNavArea24MergeAdjacentConnectionsEPS_", mfunc_ptr_cast(&CNavArea::MergeAdjacentConnections) }, - //{ 0x01D38D70, "_ZN8CNavArea11AssignNodesEPS_", mfunc_ptr_cast(&CNavArea::AssignNodes) }, // NOXREF - { 0x01D38DC0, "_ZN8CNavArea9SplitEditEbfPPS_S1_", mfunc_ptr_cast(&CNavArea::SplitEdit) }, - { 0x01D390F0, "_ZNK8CNavArea11IsConnectedEPKS_10NavDirType", mfunc_ptr_cast(&CNavArea::IsConnected) }, - { 0x01D391B0, "_ZN8CNavArea19ComputeHeightChangeEPKS_", mfunc_ptr_cast(&CNavArea::ComputeHeightChange) }, - { 0x01D391E0, "_ZN8CNavArea15FinishSplitEditEPS_10NavDirType", mfunc_ptr_cast(&CNavArea::FinishSplitEdit) }, - { 0x01D39500, "_ZN8CNavArea10SpliceEditEPS_", mfunc_ptr_cast(&CNavArea::SpliceEdit) }, - { 0x01D39CA0, "_ZN8CNavArea9MergeEditEPS_", mfunc_ptr_cast(&CNavArea::MergeEdit) }, - //{ 0x01D3A290, "_ZN8CNavArea5StripEv", mfunc_ptr_cast(&CNavArea::Strip) }, // NOXREF - { 0x01D3C6C0, "_ZNK8CNavArea13IsOverlappingEPK6Vector", mfunc_ptr_cast(&CNavArea::IsOverlapping) }, - { 0x01D3C710, "_ZNK8CNavArea13IsOverlappingEPKS_", mfunc_ptr_cast(&CNavArea::IsOverlapping) }, - //{ 0x01D3C760, "_ZNK8CNavArea14IsOverlappingXEPKS_", mfunc_ptr_cast(&CNavArea::IsOverlappingX) }, // NOXREF - //{ 0x01D3C790, "_ZNK8CNavArea14IsOverlappingYEPKS_", mfunc_ptr_cast(&CNavArea::IsOverlappingY) }, // NOXREF - { 0x01D3C7C0, "_ZNK8CNavArea8ContainsEPK6Vector", mfunc_ptr_cast(&CNavArea::Contains) }, - { 0x01D3C8B0, "_ZNK8CNavArea10IsCoplanarEPKS_", mfunc_ptr_cast(&CNavArea::IsCoplanar) }, - { 0x01D3CA60, "_ZNK8CNavArea4GetZEPK6Vector", mfunc_ptr_cast(&CNavArea::GetZ) }, // NOTE: definitely need to hook CNavAreaGrid::GetNavArea!! - //{ 0x01D3CB50, "_ZNK8CNavArea4GetZEff", mfunc_ptr_cast(&CNavArea::GetZ) }, // NOXREF - { 0x01D3CB80, "_ZNK8CNavArea21GetClosestPointOnAreaEPK6VectorPS0_", mfunc_ptr_cast(&CNavArea::GetClosestPointOnArea) }, - //{ 0x01D3CCD0, "_ZNK8CNavArea25GetDistanceSquaredToPointEPK6Vector", mfunc_ptr_cast(&CNavArea::GetDistanceSquaredToPoint) }, // NOXREF - //{ 0x01D3CDF0, "_ZNK8CNavArea21GetRandomAdjacentAreaE10NavDirType", mfunc_ptr_cast(&CNavArea::GetRandomAdjacentArea) }, // NOXREF - { 0x01D3CE40, "_ZNK8CNavArea13ComputePortalEPKS_10NavDirTypeP6VectorPf", mfunc_ptr_cast(&CNavArea::ComputePortal) }, - { 0x01D3CFD0, "_ZNK8CNavArea27ComputeClosestPointInPortalEPKS_10NavDirTypePK6VectorPS3_", mfunc_ptr_cast(&CNavArea::ComputeClosestPointInPortal) }, - //{ 0x01D3D280, "_ZNK8CNavArea6IsEdgeE10NavDirType", mfunc_ptr_cast(&CNavArea::IsEdge) }, // NOXREF - { 0x01D3D310, "_ZNK8CNavArea16ComputeDirectionEP6Vector", mfunc_ptr_cast(&CNavArea::ComputeDirection) }, - { 0x01D3D420, "_ZN8CNavArea4DrawEhhhi", mfunc_ptr_cast(&CNavArea::Draw) }, - { 0x01D3D860, "_ZN8CNavArea16DrawMarkedCornerE13NavCornerTypehhhi", mfunc_ptr_cast(&CNavArea::DrawMarkedCorner) }, - { 0x01D3DAB0, "_ZN8CNavArea13AddToOpenListEv", mfunc_ptr_cast(&CNavArea::AddToOpenList) }, - { 0x01D3DB50, "_ZN8CNavArea16UpdateOnOpenListEv", mfunc_ptr_cast(&CNavArea::UpdateOnOpenList) }, - { 0x01D3DBC0, "_ZN8CNavArea18RemoveFromOpenListEv", mfunc_ptr_cast(&CNavArea::RemoveFromOpenList) }, - { 0x01D3DC10, "_ZN8CNavArea16ClearSearchListsEv", mfunc_ptr_cast(&CNavArea::ClearSearchLists) }, - { 0x01D3DC40, "_ZNK8CNavArea9GetCornerE13NavCornerType", mfunc_ptr_cast(&CNavArea::GetCorner) }, - { 0x01D3DCF0, "_ZNK8CNavArea21IsHidingSpotCollisionEPK6Vector", mfunc_ptr_cast(&CNavArea::IsHidingSpotCollision) }, - { 0x01D3DD50, "_Z19IsHidingSpotInCoverPK6Vector", (size_t)&IsHidingSpotInCover }, - { 0x01D3DEA0, "_ZN8CNavArea18ComputeHidingSpotsEv", mfunc_ptr_cast(&CNavArea::ComputeHidingSpots) }, - { 0x01D3E790, "_ZN8CNavArea18ComputeSniperSpotsEv", mfunc_ptr_cast(&CNavArea::ComputeSniperSpots) }, - { 0x01D3E7D0, "_ZN8CNavArea16GetSpotEncounterEPKS_S1_", mfunc_ptr_cast(&CNavArea::GetSpotEncounter) }, - { 0x01D3E810, "_ZN8CNavArea17AddSpotEncountersEPKS_10NavDirTypeS1_S2_", mfunc_ptr_cast(&CNavArea::AddSpotEncounters) }, - { 0x01D3EC50, "_ZN8CNavArea21ComputeSpotEncountersEv", mfunc_ptr_cast(&CNavArea::ComputeSpotEncounters) }, - { 0x01D3ED20, "_ZN8CNavArea11DecayDangerEv", mfunc_ptr_cast(&CNavArea::DecayDanger) }, - { 0x01D3ED60, "_ZN8CNavArea14IncreaseDangerEif", mfunc_ptr_cast(&CNavArea::IncreaseDanger) }, - { 0x01D3EDC0, "_ZN8CNavArea9GetDangerEi", mfunc_ptr_cast(&CNavArea::GetDanger) }, - { 0x01D40110, "_ZNK8CNavArea14GetPlayerCountEiP11CBasePlayer", mfunc_ptr_cast(&CNavArea::GetPlayerCount) }, - { 0x01D40340, "_ZN8CNavArea18DrawConnectedAreasEv", mfunc_ptr_cast(&CNavArea::DrawConnectedAreas) }, - { 0x01D40870, "_ZN8CNavArea11RaiseCornerE13NavCornerTypei", mfunc_ptr_cast(&CNavArea::RaiseCorner) }, - { 0x01D427C0, "_ZN8CNavArea20ComputeApproachAreasEv", mfunc_ptr_cast(&CNavArea::ComputeApproachAreas) }, - //{ 0x0, "", mfunc_ptr_cast(&CollectHidingSpotsFunctor::CollectHidingSpotsFunctor) }, - //{ 0x0, "_ZN25CollectHidingSpotsFunctor10RemoveSpotEi", mfunc_ptr_cast(&CollectHidingSpotsFunctor::RemoveSpot) }, - //{ 0x01D43000, "", mfunc_ptr_cast(&CNavAreaGrid::CNavAreaGrid) }, // NOXREF - //{ 0x01D43090, "", mfunc_ptr_cast(&CNavAreaGrid::~CNavAreaGrid) }, // NOXREF - //{ 0x01D43180, "_ZN12CNavAreaGrid5ResetEv", mfunc_ptr_cast(&CNavAreaGrid::Reset) }, // NOXREF - { 0x01D43230, "_ZN12CNavAreaGrid10InitializeEffff", mfunc_ptr_cast(&CNavAreaGrid::Initialize) }, - { 0x01D43390, "_ZN12CNavAreaGrid10AddNavAreaEP8CNavArea", mfunc_ptr_cast(&CNavAreaGrid::AddNavArea) }, - { 0x01D43560, "_ZN12CNavAreaGrid13RemoveNavAreaEP8CNavArea", mfunc_ptr_cast(&CNavAreaGrid::RemoveNavArea) }, - { 0x01D43710, "_ZNK12CNavAreaGrid10GetNavAreaEPK6Vectorf", mfunc_ptr_cast(&CNavAreaGrid::GetNavArea) }, - { 0x01D43860, "_ZNK12CNavAreaGrid17GetNearestNavAreaEPK6Vectorb", mfunc_ptr_cast(&CNavAreaGrid::GetNearestNavArea) }, - { 0x01D439C0, "_ZNK12CNavAreaGrid14GetNavAreaByIDEj", mfunc_ptr_cast(&CNavAreaGrid::GetNavAreaByID) }, - { 0x01D439F0, "_ZNK12CNavAreaGrid8GetPlaceEPK6Vector", mfunc_ptr_cast(&CNavAreaGrid::GetPlace) }, - { 0x01D3E4F0, "_Z18ClassifySniperSpotP10HidingSpot", (size_t)&ClassifySniperSpot }, - //{ 0x0, "", (size_t)&buildGoodSizedList }, // NOXREF - { 0x01D37CF0, "_Z18DestroyHidingSpotsv", (size_t)&DestroyHidingSpots }, - { 0x01D40920, "_Z12EditNavAreas14NavEditCmdType", (size_t)&EditNavAreas }, - { 0x01D42540, "_Z15GetGroundHeightPK6VectorPfPS_", (size_t)&GetGroundHeight }, - { 0x01D42740, "_Z21GetSimpleGroundHeightPK6VectorPfPS_", (size_t)&GetSimpleGroundHeight }, - //{ 0x0, "", (size_t)&IsAreaVisible }, // NOXREF - { 0x01D40250, "_Z13GetMarkedAreav", (size_t)&GetMarkedArea }, - //{ 0x01D40260, "_Z17EditNavAreasResetv", (size_t)&EditNavAreasReset }, // NOXREF - { 0x01D40290, "_Z15DrawHidingSpotsPK8CNavArea", (size_t)&DrawHidingSpots }, - { 0x01D3EE10, "_Z20IncreaseDangerNearbyifP8CNavAreaPK6Vectorf", (size_t)&IncreaseDangerNearby }, - { 0x01D3F020, "_Z10DrawDangerv", (size_t)&DrawDanger }, - { 0x01D3F1C0, "_Z14IsSpotOccupiedP11CBaseEntityPK6Vector", (size_t)&IsSpotOccupied }, - { 0x01D3F2A0, "_Z20FindNearbyHidingSpotP11CBaseEntityPK6VectorP8CNavAreafbb", (size_t)&FindNearbyHidingSpot }, - //{ 0x01D3F650, "_ZN25CollectHidingSpotsFunctorclEP8CNavArea", mfunc_ptr_cast(&CollectHidingSpotsFunctor::operator()) }, - { 0x01D3FDE0, "_Z21FindNearbyRetreatSpotP11CBaseEntityPK6VectorP8CNavAreafib", mfunc_ptr_cast(&FindNearbyRetreatSpot) }, - { 0x01D3FAD0, "_Z20IsCrossingLineOfFireRK6VectorS1_P11CBaseEntityi", (size_t)&IsCrossingLineOfFire }, - { 0x01D3F850, "_Z20FindRandomHidingSpotP11CBaseEntityjb", (size_t)&FindRandomHidingSpot }, - { 0x01D37FB0, "_Z17GetHidingSpotByIDj", (size_t)&GetHidingSpotByID }, - { 0x01D39F30, "_Z24ApproachAreaAnalysisPrepv", (size_t)&ApproachAreaAnalysisPrep }, - { 0x01D39FD0, "_Z31CleanupApproachAreaAnalysisPrepv", (size_t)&CleanupApproachAreaAnalysisPrep }, - //{ 0x01D3A010, "_Z14DestroyLaddersv", (size_t)&DestroyLadders }, // NOXREF - { 0x01D3A060, "_Z20DestroyNavigationMapv", (size_t)&DestroyNavigationMap }, - { 0x01D3A210, "_Z20StripNavigationAreasv", (size_t)&StripNavigationAreas }, - -#ifdef _WIN32 - - { 0x01D13120, "_ZNK8CNavArea15GetAdjacentAreaE10NavDirTypei", mfunc_ptr_cast(&CNavArea::GetAdjacentArea) }, - { 0x01D2B2A0, "_ZN8CNavArea11PopOpenListEv", mfunc_ptr_cast(&CNavArea::PopOpenList) }, - { 0x01D2B2C0, "_ZNK8CNavArea8IsClosedEv", mfunc_ptr_cast(&CNavArea::IsClosed) }, - - { 0x01D224C0, "", mfunc_ptr_cast(&SnapToGrid) }, - { 0x01D22460, "", (size_t)&AddDirectionVector }, - { 0x01D13150, "", (size_t)&AddAreaToOpenList }, - { 0x01D3A870, "", (size_t)&FindFirstAreaInDirection }, - { 0x01D3AD20, "", (size_t)&IsAreaRoughlySquare }, - { 0x01D2B030, "", (size_t)&IsEntityWalkable }, - { 0x01D2B0B0, "", (size_t)&IsWalkableTraceLineClear }, - { 0x01D3A9E0, "", (size_t)&testJumpDown }, - -#endif // _WIN32 - - //{ 0x0, "", (size_t)&findJumpDownArea }, // NOXREF - { 0x01D3A330, "_Z21ConnectGeneratedAreasv", (size_t)&ConnectGeneratedAreas }, - { 0x01D3AAF0, "_Z19MergeGeneratedAreasv", (size_t)&MergeGeneratedAreas }, - { 0x01D3AE00, "_Z6SplitXP8CNavArea", (size_t)&SplitX }, - //{ 0x0, "_Z6SplitYP8CNavArea", (size_t)&SplitY }, // NOXREF - { 0x01D3AEE0, "_Z13SquareUpAreasv", (size_t)&SquareUpAreas }, - { 0x01D3B100, "_Z8TestAreaP8CNavNodeii", (size_t)&TestArea }, - { 0x01D3B2E0, "_Z9BuildAreaP8CNavNodeii", (size_t)&BuildArea }, - { 0x01D3B3F0, "_Z12BuildLaddersv", (size_t)&BuildLadders }, - { 0x01D3C1B0, "_Z13MarkJumpAreasv", (size_t)&MarkJumpAreas }, - { 0x01D3C280, "_Z26GenerateNavigationAreaMeshv", (size_t)&GenerateNavigationAreaMesh }, - -#endif // Nav_Region - -#ifndef Hostage_Region - -//HostageState - //{ 0x01D50DA0, "", mfunc_ptr_cast(&CHostageImprov::CHostageImprov) }, - //{ 0x01D56E30, "", mfunc_ptr_cast(&CHostageImprov::~CHostageImprov) }, - //virtual func - //{ 0x01D56D70, "_ZN14CHostageImprov15OnMoveToSuccessERK6Vector", mfunc_ptr_cast(&CHostageImprov::OnMoveToSuccess_) }, - { 0x01D562D0, "_ZN14CHostageImprov15OnMoveToFailureERK6VectorN12IImprovEvent17MoveToFailureTypeE", mfunc_ptr_cast(&CHostageImprov::OnMoveToFailure_) }, - //{ 0x01D56D80, "_ZN14CHostageImprov8OnInjuryEf", mfunc_ptr_cast(&CHostageImprov::OnInjury_) }, - { 0x01D51040, "_ZNK14CHostageImprov7IsAliveEv", mfunc_ptr_cast(&CHostageImprov::IsAlive_) }, - { 0x01D51060, "_ZN14CHostageImprov6MoveToERK6Vector", mfunc_ptr_cast(&CHostageImprov::MoveTo_) }, - { 0x01D51240, "_ZN14CHostageImprov6LookAtERK6Vector", mfunc_ptr_cast(&CHostageImprov::LookAt_) }, - { 0x01D51270, "_ZN14CHostageImprov11ClearLookAtEv", mfunc_ptr_cast(&CHostageImprov::ClearLookAt_) }, - { 0x01D51280, "_ZN14CHostageImprov6FaceToERK6Vector", mfunc_ptr_cast(&CHostageImprov::FaceTo_) }, - { 0x01D512B0, "_ZN14CHostageImprov11ClearFaceToEv", mfunc_ptr_cast(&CHostageImprov::ClearFaceTo_) }, - { 0x01D51AC0, "_ZNK14CHostageImprov12IsAtMoveGoalEf", mfunc_ptr_cast(&CHostageImprov::IsAtMoveGoal_) }, - //{ 0x01D56C20, "_ZNK14CHostageImprov9HasLookAtEv", mfunc_ptr_cast(&CHostageImprov::HasLookAt_) }, // DEFAULT - //{ 0x01D56C30, "_ZNK14CHostageImprov9HasFaceToEv", mfunc_ptr_cast(&CHostageImprov::HasFaceTo_) }, // DEFAULT - { 0x01D51B20, "_ZNK14CHostageImprov12IsAtFaceGoalEv", mfunc_ptr_cast(&CHostageImprov::IsAtFaceGoal_) }, - { 0x01D51B30, "_ZNK14CHostageImprov16IsFriendInTheWayERK6Vector", mfunc_ptr_cast(&CHostageImprov::IsFriendInTheWay_) }, - { 0x01D51CB0, "_ZNK14CHostageImprov16IsFriendInTheWayEP11CBaseEntityRK6Vector", mfunc_ptr_cast(&CHostageImprov::IsFriendInTheWay_) }, - //{ 0x01D56C40, "_ZN14CHostageImprov11MoveForwardEv", mfunc_ptr_cast(&CHostageImprov::MoveForward_) }, // DEFAULT - //{ 0x01D56C50, "_ZN14CHostageImprov12MoveBackwardEv", mfunc_ptr_cast(&CHostageImprov::MoveBackward_) }, // DEFAULT - //{ 0x01D56C60, "_ZN14CHostageImprov10StrafeLeftEv", mfunc_ptr_cast(&CHostageImprov::StrafeLeft_) }, // DEFAULT - //{ 0x01D56C70, "_ZN14CHostageImprov11StrafeRightEv", mfunc_ptr_cast(&CHostageImprov::StrafeRight_) }, - { 0x01D52260, "_ZN14CHostageImprov4JumpEv", mfunc_ptr_cast(&CHostageImprov::Jump_) }, - { 0x01D56710, "_ZN14CHostageImprov6CrouchEv", mfunc_ptr_cast(&CHostageImprov::Crouch_) }, - { 0x01D567A0, "_ZN14CHostageImprov7StandUpEv", mfunc_ptr_cast(&CHostageImprov::StandUp_) }, - { 0x01D52D80, "_ZN14CHostageImprov9TrackPathERK6Vectorf", mfunc_ptr_cast(&CHostageImprov::TrackPath_) }, - { 0x01D530D0, "_ZN14CHostageImprov11StartLadderEPK10CNavLadder15NavTraverseTypePK6VectorS6_", mfunc_ptr_cast(&CHostageImprov::StartLadder_) }, - { 0x01D530E0, "_ZN14CHostageImprov14TraverseLadderEPK10CNavLadder15NavTraverseTypePK6VectorS6_f", mfunc_ptr_cast(&CHostageImprov::TraverseLadder_) }, - { 0x01D51150, "_ZN14CHostageImprov30GetSimpleGroundHeightWithFloorEPK6VectorPfPS0_", mfunc_ptr_cast(&CHostageImprov::GetSimpleGroundHeightWithFloor_) }, - { 0x01D52350, "_ZN14CHostageImprov3RunEv", mfunc_ptr_cast(&CHostageImprov::Run_) }, - { 0x01D52360, "_ZN14CHostageImprov4WalkEv", mfunc_ptr_cast(&CHostageImprov::Walk_) }, - { 0x01D52380, "_ZN14CHostageImprov4StopEv", mfunc_ptr_cast(&CHostageImprov::Stop_) }, - //{ 0x01D56C80, "_ZNK14CHostageImprov12GetMoveAngleEv", mfunc_ptr_cast(&CHostageImprov::GetMoveAngle_) }, // DEFAULT - //{ 0x01D56C90, "_ZNK14CHostageImprov12GetFaceAngleEv", mfunc_ptr_cast(&CHostageImprov::GetFaceAngle_) }, // DEFAULT - { 0x01D523F0, "_ZNK14CHostageImprov7GetFeetEv", mfunc_ptr_cast(&CHostageImprov::GetFeet_) }, - { 0x01D52400, "_ZNK14CHostageImprov11GetCentroidEv", mfunc_ptr_cast(&CHostageImprov::GetCentroid_) }, - { 0x01D52430, "_ZNK14CHostageImprov7GetEyesEv", mfunc_ptr_cast(&CHostageImprov::GetEyes_) }, - //{ 0x01D56CA0, "_ZNK14CHostageImprov9IsRunningEv", mfunc_ptr_cast(&CHostageImprov::IsRunning_) }, // DEFAULT - //{ 0x01D56CB0, "_ZNK14CHostageImprov9IsWalkingEv", mfunc_ptr_cast(&CHostageImprov::IsWalking_) }, // DEFAULT - //{ 0x01D56CC0, "_ZNK14CHostageImprov9IsStoppedEv", mfunc_ptr_cast(&CHostageImprov::IsStopped_) }, // DEFAULT - //{ 0x01D56CD0, "_ZNK14CHostageImprov11IsCrouchingEv", mfunc_ptr_cast(&CHostageImprov::IsCrouching_) }, // DEFAULT - //{ 0x01D56CE0, "_ZNK14CHostageImprov9IsJumpingEv", mfunc_ptr_cast(&CHostageImprov::IsJumping_) }, // DEFAULT - //{ 0x01D56D20, "_ZNK14CHostageImprov13IsUsingLadderEv", mfunc_ptr_cast(&CHostageImprov::IsUsingLadder_) }, // DEFAULT - { 0x01D52460, "_ZNK14CHostageImprov10IsOnGroundEv", mfunc_ptr_cast(&CHostageImprov::IsOnGround_) }, - { 0x01D52480, "_ZNK14CHostageImprov8IsMovingEv", mfunc_ptr_cast(&CHostageImprov::IsMoving_) }, - //{ 0x0, "_ZNK14CHostageImprov6CanRunEv", mfunc_ptr_cast(&CHostageImprov::CanRun_) }, // DEFAULT - //{ 0x0, "_ZNK14CHostageImprov9CanCrouchEv", mfunc_ptr_cast(&CHostageImprov::CanCrouch_) }, // DEFAULT - //{ 0x0, "_ZNK14CHostageImprov7CanJumpEv", mfunc_ptr_cast(&CHostageImprov::CanJump_) }, // DEFAULT - { 0x01D524C0, "_ZNK14CHostageImprov9IsVisibleERK6Vectorb", mfunc_ptr_cast(&CHostageImprov::IsVisible_) }, - { 0x01D52530, "_ZNK14CHostageImprov19IsPlayerLookingAtMeEP11CBasePlayerf", mfunc_ptr_cast(&CHostageImprov::IsPlayerLookingAtMe_) }, - { 0x01D526A0, "_ZNK14CHostageImprov22IsAnyPlayerLookingAtMeEif", mfunc_ptr_cast(&CHostageImprov::IsAnyPlayerLookingAtMe_) }, - { 0x01D527B0, "_ZNK14CHostageImprov32GetClosestPlayerByTravelDistanceEiPf", mfunc_ptr_cast(&CHostageImprov::GetClosestPlayerByTravelDistance_) }, - //{ 0x01D56D60, "_ZNK14CHostageImprov16GetLastKnownAreaEv", mfunc_ptr_cast(&CHostageImprov::GetLastKnownArea_) }, // DEFAULT - { 0x01D54500, "_ZN14CHostageImprov8OnUpdateEf", mfunc_ptr_cast(&CHostageImprov::OnUpdate_) }, - { 0x01D53FF0, "_ZN14CHostageImprov8OnUpkeepEf", mfunc_ptr_cast(&CHostageImprov::OnUpkeep_) }, - { 0x01D52A60, "_ZN14CHostageImprov7OnResetEv", mfunc_ptr_cast(&CHostageImprov::OnReset_) }, - { 0x01D54C10, "_ZN14CHostageImprov11OnGameEventE13GameEventTypeP11CBaseEntityS2_", mfunc_ptr_cast(&CHostageImprov::OnGameEvent_) }, - { 0x01D55280, "_ZN14CHostageImprov7OnTouchEP11CBaseEntity", mfunc_ptr_cast(&CHostageImprov::OnTouch_) }, - //non-virtual func - { 0x01D51900, "_ZN14CHostageImprov12FaceOutwardsEv", mfunc_ptr_cast(&CHostageImprov::FaceOutwards) }, - { 0x01D51F80, "_ZNK14CHostageImprov16IsFriendInTheWayEv", mfunc_ptr_cast(&CHostageImprov::IsFriendInTheWay) }, - //{ 0x01D52150, "_ZN10CheckAheadclEP11CBaseEntity", mfunc_ptr_cast(&CheckAhead::operator()) }, - //{ 0x0, "_ZN15CheckWayFunctorclEP8CHostage", mfunc_ptr_cast(&CheckWayFunctor::operator()) }, - { 0x01D53E70, "_ZNK17KeepPersonalSpaceclEP11CBaseEntity", mfunc_ptr_cast(&KeepPersonalSpace::operator()) }, - //{ 0x01D52EE0, "_ZN14CHostageImprov20SetKnownGoodPositionERK6Vector", mfunc_ptr_cast(&CHostageImprov::SetKnownGoodPosition) }, // NOXREF - //{ 0x0, "_ZNK14CHostageImprov20GetKnownGoodPositionEv", mfunc_ptr_cast(&CHostageImprov::GetKnownGoodPosition) }, - { 0x01D52F90, "_ZN14CHostageImprov24ResetToKnownGoodPositionEv", mfunc_ptr_cast(&CHostageImprov::ResetToKnownGoodPosition) }, - //{ 0x0, "_ZN14CHostageImprov9ResetJumpEv", mfunc_ptr_cast(&CHostageImprov::ResetJump) }, - { 0x01D55950, "_ZN14CHostageImprov10ApplyForceE6Vector", mfunc_ptr_cast(&CHostageImprov::ApplyForce) }, - //{ 0x0, "_ZNK14CHostageImprov17GetActualVelocityEv", mfunc_ptr_cast(&CHostageImprov::GetActualVelocity) }, - //{ 0x0, "_ZN14CHostageImprov12SetMoveLimitENS_8MoveTypeE", mfunc_ptr_cast(&CHostageImprov::SetMoveLimit) }, - //{ 0x0, "_ZNK14CHostageImprov12GetMoveLimitEv", mfunc_ptr_cast(&CHostageImprov::GetMoveLimit) }, - //{ 0x0, "_ZN14CHostageImprov7GetPathEv", mfunc_ptr_cast(&CHostageImprov::GetPath) }, - //{ 0x0, "_ZN14CHostageImprov15GetPathFollowerEv", mfunc_ptr_cast(&CHostageImprov::GetPathFollower) }, - //{ 0x0, "_ZN14CHostageImprov4IdleEv", mfunc_ptr_cast(&CHostageImprov::Idle) }, - //{ 0x0, "_ZNK14CHostageImprov6IsIdleEv", mfunc_ptr_cast(&CHostageImprov::IsIdle) }, - //{ 0x0, "_ZN14CHostageImprov6FollowEP11CBasePlayer", mfunc_ptr_cast(&CHostageImprov::Follow) }, - //{ 0x0, "_ZNK14CHostageImprov11IsFollowingEPK11CBaseEntity", mfunc_ptr_cast(&CHostageImprov::IsFollowing) }, - //{ 0x0, "_ZN14CHostageImprov6EscapeEv", mfunc_ptr_cast(&CHostageImprov::Escape) }, - //{ 0x0, "_ZNK14CHostageImprov10IsEscapingEv", mfunc_ptr_cast(&CHostageImprov::IsEscaping) }, - //{ 0x0, "_ZN14CHostageImprov7RetreatEv", mfunc_ptr_cast(&CHostageImprov::Retreat) }, - //{ 0x0, "_ZNK14CHostageImprov12IsRetreatingEv", mfunc_ptr_cast(&CHostageImprov::IsRetreating) }, - { 0x01D55980, "_ZNK14CHostageImprov8IsAtHomeEv", mfunc_ptr_cast(&CHostageImprov::IsAtHome) }, - { 0x01D559D0, "_ZNK14CHostageImprov16CanSeeRescueZoneEv", mfunc_ptr_cast(&CHostageImprov::CanSeeRescueZone) }, - //{ 0x0, "_ZNK14CHostageImprov15GetFollowLeaderEv", mfunc_ptr_cast(&CHostageImprov::GetFollowLeader) }, - { 0x01D55A10, "_ZN14CHostageImprov23GetClosestVisiblePlayerEi", mfunc_ptr_cast(&CHostageImprov::GetClosestVisiblePlayer) }, - { 0x01D55AD0, "_ZN14CHostageImprov25GetTimeSinceLastSawPlayerEi", mfunc_ptr_cast(&CHostageImprov::GetTimeSinceLastSawPlayer) }, - //{ 0x01D55B90, "_ZN14CHostageImprov22GetTimeSinceLastInjuryEv", mfunc_ptr_cast(&CHostageImprov::GetTimeSinceLastInjury) }, // NOXREF - //{ 0x01D55BC0, "_ZN14CHostageImprov21GetTimeSinceLastNoiseEv", mfunc_ptr_cast(&CHostageImprov::GetTimeSinceLastNoise) }, // NOXREF - { 0x01D54010, "_ZN14CHostageImprov17IsTerroristNearbyEv", mfunc_ptr_cast(&CHostageImprov::IsTerroristNearby) }, - { 0x01D55C20, "_ZN14CHostageImprov8FrightenENS_9ScareTypeE", mfunc_ptr_cast(&CHostageImprov::Frighten) }, - { 0x01D55BF0, "_ZNK14CHostageImprov8IsScaredEv", mfunc_ptr_cast(&CHostageImprov::IsScared) }, - //{ 0x0, "_ZNK14CHostageImprov17GetScareIntensityEv", mfunc_ptr_cast(&CHostageImprov::GetScareIntensity) }, // DEFAULT - //{ 0x0, "_ZNK14CHostageImprov20IsIgnoringTerroristsEv", mfunc_ptr_cast(&CHostageImprov::IsIgnoringTerrorists) }, // DEFAULT - //{ 0x0, "_ZNK14CHostageImprov13GetAggressionEv", mfunc_ptr_cast(&CHostageImprov::GetAggression) }, // DEFAULT - { 0x01D55ED0, "_ZN14CHostageImprov7ChatterE18HostageChatterTypeb", mfunc_ptr_cast(&CHostageImprov::Chatter) }, - { 0x01D55F80, "_ZN14CHostageImprov14DelayedChatterEf18HostageChatterTypeb", mfunc_ptr_cast(&CHostageImprov::DelayedChatter) }, - //{ 0x01D55FE0, "_ZN14CHostageImprov20UpdateDelayedChatterEv", mfunc_ptr_cast(&CHostageImprov::UpdateDelayedChatter) }, // NOXREF - //{ 0x0, "_ZNK14CHostageImprov9IsTalkingEv", mfunc_ptr_cast(&CHostageImprov::IsTalking) }, // DEFAULT - { 0x01D54150, "_ZN14CHostageImprov22UpdateGrenadeReactionsEv", mfunc_ptr_cast(&CHostageImprov::UpdateGrenadeReactions) }, - { 0x01D55D20, "_ZN14CHostageImprov6AfraidEv", mfunc_ptr_cast(&CHostageImprov::Afraid) }, - { 0x01D56290, "_ZN14CHostageImprov4WaveEv", mfunc_ptr_cast(&CHostageImprov::Wave) }, - { 0x01D56210, "_ZN14CHostageImprov5AgreeEv", mfunc_ptr_cast(&CHostageImprov::Agree) }, - { 0x01D56240, "_ZN14CHostageImprov8DisagreeEv", mfunc_ptr_cast(&CHostageImprov::Disagree) }, - //{ 0x01D561E0, "_ZN14CHostageImprov9CrouchDieEv", mfunc_ptr_cast(&CHostageImprov::CrouchDie) }, // NOXREF - { 0x01D56120, "_ZN14CHostageImprov6FlinchE8Activity", mfunc_ptr_cast(&CHostageImprov::Flinch) }, - { 0x01D55E20, "_ZN14CHostageImprov18UpdateIdleActivityE8ActivityS0_", mfunc_ptr_cast(&CHostageImprov::UpdateIdleActivity) }, - //{ 0x01D56910, "_ZN14CHostageImprov25UpdateStationaryAnimationEv", mfunc_ptr_cast(&CHostageImprov::UpdateStationaryAnimation) }, // NOXREF - //{ 0x0, "_ZNK14CHostageImprov9GetEntityEv", mfunc_ptr_cast(&CHostageImprov::GetEntity) }, - //{ 0x01D540C0, "_ZN14CHostageImprov24CheckForNearbyTerroristsEv", mfunc_ptr_cast(&CHostageImprov::CheckForNearbyTerrorists) }, // NOXREF - { 0x01D534F0, "_ZN14CHostageImprov14UpdatePositionEf", mfunc_ptr_cast(&CHostageImprov::UpdatePosition) }, - { 0x01D512C0, "_ZN14CHostageImprov11MoveTowardsERK6Vectorf", mfunc_ptr_cast(&CHostageImprov::MoveTowards) }, - { 0x01D517A0, "_ZN14CHostageImprov11FaceTowardsERK6Vectorf", mfunc_ptr_cast(&CHostageImprov::FaceTowards) }, - //{ 0x01D52250, "_ZN14CHostageImprov8GetSpeedEv", mfunc_ptr_cast(&CHostageImprov::GetSpeed) }, // NOXREF - //{ 0x0, "_ZN14CHostageImprov12SetMoveAngleEf", mfunc_ptr_cast(&CHostageImprov::SetMoveAngle) }, - { 0x01D56300, "_ZN14CHostageImprov6WiggleEv", mfunc_ptr_cast(&CHostageImprov::Wiggle) }, - { 0x01D564E0, "_ZN14CHostageImprov9ClearPathEv", mfunc_ptr_cast(&CHostageImprov::ClearPath) }, - { 0x01D4A890, "_Z16NavAreaBuildPathI15HostagePathCostEbP8CNavAreaS2_PK6VectorRT_PS2_", (size_t)&NavAreaBuildPath__HostagePathCost__wrapper }, - { 0x01D15AD0, "_Z16NavAreaBuildPathI16ShortestPathCostEbP8CNavAreaS2_PK6VectorRT_PS2_", (size_t)&NavAreaBuildPath__ShortestPathCost__wrapper }, - //{ 0x01D511C0, "_ZN14CHostageImprov17DiscontinuityJumpEfbb", mfunc_ptr_cast(&CHostageImprov::DiscontinuityJump) }, // NOXREF - { 0x01D52C00, "_ZN14CHostageImprov12UpdateVisionEv", mfunc_ptr_cast(&CHostageImprov::UpdateVision) }, -//HostageState - //virtual func - //{ 0x0, "_ZN12HostageStateD0Ev", mfunc_ptr_cast(&HostageState::~HostageState) }, - //{ 0x0, "_ZN12HostageStateD2Ev", mfunc_ptr_cast(&HostageState::~HostageState) }, - //{ 0x01D569C0, "_ZN12HostageState25UpdateStationaryAnimationEP14CHostageImprov", mfunc_ptr_cast(&HostageState::UpdateStationaryAnimation) }, -//HostageIdleState - //virtual func - { 0x01D4B3A0, "_ZN16HostageIdleState7OnEnterEP14CHostageImprov", mfunc_ptr_cast(&HostageIdleState::OnEnter_) }, - { 0x01D4B3C0, "_ZN16HostageIdleState8OnUpdateEP14CHostageImprov", mfunc_ptr_cast(&HostageIdleState::OnUpdate_) }, - { 0x01D4BBB0, "_ZN16HostageIdleState6OnExitEP14CHostageImprov", mfunc_ptr_cast(&HostageIdleState::OnExit_) }, - //{ 0x01D56A30, "_ZNK16HostageIdleState7GetNameEv", mfunc_ptr_cast(&HostageIdleState::GetName_) }, // DEFAULT - { 0x01D4BBD0, "_ZN16HostageIdleState25UpdateStationaryAnimationEP14CHostageImprov", mfunc_ptr_cast(&HostageIdleState::UpdateStationaryAnimation_) }, - //{ 0x01D56A40, "_ZN16HostageIdleState15OnMoveToSuccessERK6Vector", mfunc_ptr_cast(&HostageIdleState::OnMoveToSuccess_) }, // DEFAULT - //{ 0x01D56A50, "_ZN16HostageIdleState15OnMoveToFailureERK6VectorN12IImprovEvent17MoveToFailureTypeE", mfunc_ptr_cast(&HostageIdleState::OnMoveToFailure_) }, // DEFAULT - //{ 0x01D56A60, "_ZN16HostageIdleState8OnInjuryEf", mfunc_ptr_cast(&HostageIdleState::OnInjury_) }, // DEFAULT -//HostageStateMachine - //virtual func - //{ 0x01D569D0, "_ZN19HostageStateMachine15OnMoveToSuccessERK6Vector", mfunc_ptr_cast(&HostageStateMachine::OnMoveToSuccess) }, - //{ 0x01D569F0, "_ZN19HostageStateMachine15OnMoveToFailureERK6VectorN12IImprovEvent17MoveToFailureTypeE", mfunc_ptr_cast(&HostageStateMachine::OnMoveToFailure) }, - //{ 0x01D56A10, "_ZN19HostageStateMachine8OnInjuryEf", mfunc_ptr_cast(&HostageStateMachine::OnInjury) }, - //non-virtual func - //{ 0x0, "_ZN19HostageStateMachine25UpdateStationaryAnimationEP14CHostageImprov", mfunc_ptr_cast(&HostageStateMachine::UpdateStationaryAnimation) }, -//HostageEscapeToCoverState - //virtual func - { 0x01D4A200, "_ZN25HostageEscapeToCoverState7OnEnterEP14CHostageImprov", mfunc_ptr_cast(&HostageEscapeToCoverState::OnEnter_) }, - { 0x01D4A4A0, "_ZN25HostageEscapeToCoverState8OnUpdateEP14CHostageImprov", mfunc_ptr_cast(&HostageEscapeToCoverState::OnUpdate_) }, - //{ 0x01D4A590, "_ZN25HostageEscapeToCoverState6OnExitEP14CHostageImprov", mfunc_ptr_cast(&HostageEscapeToCoverState::OnExit_) }, // PURE - //{ 0x01D56B00, "_ZNK25HostageEscapeToCoverState7GetNameEv", mfunc_ptr_cast(&HostageEscapeToCoverState::GetName_) }, - //{ 0x01D4A5A0, "_ZN25HostageEscapeToCoverState15OnMoveToFailureERK6VectorN12IImprovEvent17MoveToFailureTypeE", mfunc_ptr_cast(&HostageEscapeToCoverState::OnMoveToFailure_) }, // DEFAULT - //non-virtual func - //{ 0x0, "_ZN25HostageEscapeToCoverState13SetRescueGoalERK6Vector", mfunc_ptr_cast(&HostageEscapeToCoverState::SetRescueGoal) }, -//HostageEscapeLookAroundState - //virtual func - { 0x01D4A5E0, "_ZN28HostageEscapeLookAroundState7OnEnterEP14CHostageImprov", mfunc_ptr_cast(&HostageEscapeLookAroundState::OnEnter_) }, - { 0x01D4A620, "_ZN28HostageEscapeLookAroundState8OnUpdateEP14CHostageImprov", mfunc_ptr_cast(&HostageEscapeLookAroundState::OnUpdate_) }, - { 0x01D4A680, "_ZN28HostageEscapeLookAroundState6OnExitEP14CHostageImprov", mfunc_ptr_cast(&HostageEscapeLookAroundState::OnExit_) }, - //{ 0x01D56B40, "_ZNK28HostageEscapeLookAroundState7GetNameEv", mfunc_ptr_cast(&HostageEscapeLookAroundState::GetName_) }, -//HostageEscapeState - //virtual func - { 0x01D4A690, "_ZN18HostageEscapeState7OnEnterEP14CHostageImprov", mfunc_ptr_cast(&HostageEscapeState::OnEnter_) }, - { 0x01D4A720, "_ZN18HostageEscapeState8OnUpdateEP14CHostageImprov", mfunc_ptr_cast(&HostageEscapeState::OnUpdate_) }, - { 0x01D4A880, "_ZN18HostageEscapeState6OnExitEP14CHostageImprov", mfunc_ptr_cast(&HostageEscapeState::OnExit_) }, - //{ 0x01D56A80, "_ZNK18HostageEscapeState7GetNameEv", mfunc_ptr_cast(&HostageEscapeState::GetName_) }, - //{ 0x01D56A70, "_ZN18HostageEscapeState15OnMoveToFailureERK6VectorN12IImprovEvent17MoveToFailureTypeE", mfunc_ptr_cast(&HostageEscapeState::OnMoveToFailure_) }, // NOXREF - //non-virtual func - //{ 0x0, "_ZN18HostageEscapeState7ToCoverEv", mfunc_ptr_cast(&HostageEscapeState::ToCover) }, - //{ 0x0, "_ZN18HostageEscapeState10LookAroundEv", mfunc_ptr_cast(&HostageEscapeState::LookAround) }, -//HostageRetreatState - //virtual func - { 0x01D4BC30, "_ZN19HostageRetreatState7OnEnterEP14CHostageImprov", mfunc_ptr_cast(&HostageRetreatState::OnEnter_) }, - { 0x01D4BC50, "_ZN19HostageRetreatState8OnUpdateEP14CHostageImprov", mfunc_ptr_cast(&HostageRetreatState::OnUpdate_) }, - //{ 0x01D4BDB0, "_ZN19HostageRetreatState6OnExitEP14CHostageImprov", mfunc_ptr_cast(&HostageRetreatState::OnExit_) }, // PURE - //{ 0x01D56BD0, "_ZNK19HostageRetreatState7GetNameEv", mfunc_ptr_cast(&HostageRetreatState::GetName_) }, // DEFAULT -//HostageFollowState - //virtual func - { 0x01D4AC70, "_ZN18HostageFollowState7OnEnterEP14CHostageImprov", mfunc_ptr_cast(&HostageFollowState::OnEnter_) }, - { 0x01D4ACF0, "_ZN18HostageFollowState8OnUpdateEP14CHostageImprov", mfunc_ptr_cast(&HostageFollowState::OnUpdate_) }, - { 0x01D4B320, "_ZN18HostageFollowState6OnExitEP14CHostageImprov", mfunc_ptr_cast(&HostageFollowState::OnExit_) }, - //{ 0x01D56BE0, "_ZNK18HostageFollowState7GetNameEv", mfunc_ptr_cast(&HostageFollowState::GetName_) }, - { 0x01D4B330, "_ZN18HostageFollowState25UpdateStationaryAnimationEP14CHostageImprov", mfunc_ptr_cast(&HostageFollowState::UpdateStationaryAnimation_) }, - //non-virtual func - //{ 0x0, "_ZN18HostageFollowState9SetLeaderEP11CBaseEntity", mfunc_ptr_cast(&HostageFollowState::SetLeader) }, - //{ 0x0, "_ZNK18HostageFollowState9GetLeaderEv", mfunc_ptr_cast(&HostageFollowState::GetLeader) }, -//HostageAnimateState - //virtual func - //{ 0x01D4A060, "_ZN19HostageAnimateState7OnEnterEP14CHostageImprov", mfunc_ptr_cast(&HostageAnimateState::OnEnter_) }, - { 0x01D4A070, "_ZN19HostageAnimateState8OnUpdateEP14CHostageImprov", mfunc_ptr_cast(&HostageAnimateState::OnUpdate_) }, - //{ 0x01D4A1B0, "_ZN19HostageAnimateState6OnExitEP14CHostageImprov", mfunc_ptr_cast(&HostageAnimateState::OnExit_) }, - //{ 0x01D56BF0, "_ZNK19HostageAnimateState7GetNameEv", mfunc_ptr_cast(&HostageAnimateState::GetName_) }, - //non-virtual func - { 0x01D49D60, "_ZN19HostageAnimateState5ResetEv", mfunc_ptr_cast(&HostageAnimateState::Reset) }, - { 0x01D49E10, "_ZN19HostageAnimateState11AddSequenceEP14CHostageImprovPKcff", mfunc_ptr_cast(&HostageAnimateState::AddSequence) }, - { 0x01D49F00, "_ZN19HostageAnimateState11AddSequenceEP14CHostageImproviff", mfunc_ptr_cast(&HostageAnimateState::AddSequence) }, - //{ 0x0, "_ZNK19HostageAnimateState6IsBusyEv", mfunc_ptr_cast(&HostageAnimateState::IsBusy) }, - //{ 0x01D4A1C0, "_ZNK19HostageAnimateState9IsPlayingEP14CHostageImprovPKc", mfunc_ptr_cast(&HostageAnimateState::IsPlaying) }, // NOXREF - //{ 0x0, "_ZN19HostageAnimateState20GetCurrentSequenceIDEv", mfunc_ptr_cast(&HostageAnimateState::GetCurrentSequenceID) }, // NOXREF - //{ 0x0, "_ZNK19HostageAnimateState14GetPerformanceEv", mfunc_ptr_cast(&HostageAnimateState::GetPerformance) }, - //{ 0x0, "_ZN19HostageAnimateState14SetPerformanceENS_15PerformanceTypeE", mfunc_ptr_cast(&HostageAnimateState::SetPerformance) }, - //{ 0x01D49D70, "_ZN19HostageAnimateState13StartSequenceEP14CHostageImprovPKNS_7SeqInfoE", mfunc_ptr_cast(&HostageAnimateState::StartSequence) }, // NOXREF - { 0x01D4A000, "_ZN19HostageAnimateState13IsDoneHoldingEv", mfunc_ptr_cast(&HostageAnimateState::IsDoneHolding) }, -//CHostage - //virtual func - //!!{ 0x01D4BE60, "_ZN8CHostage5SpawnEv", mfunc_ptr_cast(&CHostage::Spawn_) }, // do not use the hook together CHostage::IdleThink - { 0x01D4BE60, "_ZN8CHostage5SpawnEv", mfunc_ptr_cast(&CHostage::Spawn_) }, - { 0x01D4C2C0, "_ZN8CHostage8PrecacheEv", mfunc_ptr_cast(&CHostage::Precache_) }, - { 0x01D4DB00, "_ZN8CHostage10ObjectCapsEv", mfunc_ptr_cast(&CHostage::ObjectCaps_) }, - //{ 0x01D50D80, "_ZN8CHostage8ClassifyEv", mfunc_ptr_cast(&CHostage::Classify_) }, - { 0x01D4CE30, "_ZN8CHostage10TakeDamageEP9entvars_sS1_fi", mfunc_ptr_cast(&CHostage::TakeDamage_) }, - //{ 0x01D50D90, "_ZN8CHostage10BloodColorEv", mfunc_ptr_cast(&CHostage::BloodColor_) }, - { 0x01D4DB10, "_ZN8CHostage5TouchEP11CBaseEntity", mfunc_ptr_cast(&CHostage::Touch_) }, - { 0x01D4D710, "_ZN8CHostage3UseEP11CBaseEntityS1_8USE_TYPEf", mfunc_ptr_cast(&CHostage::Use_) }, - //non-virtual func - //!!{ 0x01D4C450, "_ZN8CHostage9IdleThinkEv", mfunc_ptr_cast(&CHostage::IdleThink) }, // export func - { 0x01D4CBB0, "_ZN8CHostage6RemoveEv", mfunc_ptr_cast(&CHostage::Remove) }, - { 0x01D4CC20, "_ZN8CHostage10RePositionEv", mfunc_ptr_cast(&CHostage::RePosition) }, // do not use the hook together CHostage::IdleThink - { 0x01D4C3E0, "_ZN8CHostage11SetActivityEi", mfunc_ptr_cast(&CHostage::SetActivity) }, - //{ 0x0, "_ZN8CHostage11GetActivityEv", mfunc_ptr_cast(&CHostage::GetActivity) }, // NOXREF - //{ 0x01D4D290, "_ZN8CHostage17GetModifiedDamageEfi", mfunc_ptr_cast(&CHostage::GetModifiedDamage) }, // NOXREF - //{ 0x01D4D390, "_ZN8CHostage17SetFlinchActivityEv", mfunc_ptr_cast(&CHostage::SetFlinchActivity) }, // NOXREF - { 0x01D4D400, "_ZN8CHostage16SetDeathActivityEv", mfunc_ptr_cast(&CHostage::SetDeathActivity) }, - //{ 0x01D4D310, "_ZN8CHostage13PlayPainSoundEv", mfunc_ptr_cast(&CHostage::PlayPainSound) }, // NOXREF - { 0x01D4D990, "_ZN8CHostage21PlayFollowRescueSoundEv", mfunc_ptr_cast(&CHostage::PlayFollowRescueSound) }, - { 0x01D4D580, "_ZN8CHostage13AnnounceDeathEP11CBasePlayer", mfunc_ptr_cast(&CHostage::AnnounceDeath) }, - //{ 0x01D4D6A0, "_ZN8CHostage19ApplyHostagePenaltyEP11CBasePlayer", mfunc_ptr_cast(&CHostage::ApplyHostagePenalty) }, // NOXREF - //{ 0x01D4DA80, "_ZN8CHostage16GiveCTTouchBonusEP11CBasePlayer", mfunc_ptr_cast(&CHostage::GiveCTTouchBonus) }, // NOXREF - { 0x01D4E580, "_ZN8CHostage22SendHostagePositionMsgEv", mfunc_ptr_cast(&CHostage::SendHostagePositionMsg) }, - { 0x01D4E6F0, "_ZN8CHostage19SendHostageEventMsgEv", mfunc_ptr_cast(&CHostage::SendHostageEventMsg) }, - { 0x01D4DC10, "_ZN8CHostage8DoFollowEv", mfunc_ptr_cast(&CHostage::DoFollow) }, - //{ 0x01D4E380, "_ZN8CHostage10IsOnLadderEv", mfunc_ptr_cast(&CHostage::IsOnLadder) }, // NOXREF - { 0x01D4E010, "_ZN8CHostage7PointAtERK6Vector", mfunc_ptr_cast(&CHostage::PointAt) }, // NOXREF - { 0x01D4E080, "_ZN8CHostage10MoveTowardERK6Vector", mfunc_ptr_cast(&CHostage::MoveToward) }, - { 0x01D4E3A0, "_ZN8CHostage8NavReadyEv", mfunc_ptr_cast(&CHostage::NavReady) }, - { 0x01D4E850, "_ZN8CHostage6WiggleEv", mfunc_ptr_cast(&CHostage::Wiggle) }, - { 0x01D4EAB0, "_ZN8CHostage8PreThinkEv", mfunc_ptr_cast(&CHostage::PreThink) }, - //{ 0x0, "_ZN8CHostage18IsFollowingSomeoneEv", mfunc_ptr_cast(&CHostage::IsFollowingSomeone) }, // NOXREF - //{ 0x0, "_ZN8CHostage9GetLeaderEv", mfunc_ptr_cast(&CHostage::GetLeader) }, // NOXREF - //{ 0x0, "_ZN8CHostage11IsFollowingEPK11CBaseEntity", mfunc_ptr_cast(&CHostage::IsFollowing) }, // NOXREF - //{ 0x0, "_ZN8CHostage7IsValidEv", mfunc_ptr_cast(&CHostage::IsValid) }, // NOXREF - //{ 0x0, "_ZN8CHostage6IsDeadEv", mfunc_ptr_cast(&CHostage::IsDead) }, // NOXREF - //{ 0x0, "_ZNK8CHostage8IsAtHomeEv", mfunc_ptr_cast(&CHostage::IsAtHome) }, // NOXREF - //{ 0x0, "_ZNK8CHostage15GetHomePositionEv", mfunc_ptr_cast(&CHostage::GetHomePosition) }, // NOXREF - { 0x01D4BDC0, "hostage_entity", (size_t)&hostage_entity }, - { 0x01D4BE10, "monster_scientist", (size_t)&monster_scientist }, -//CHostageManager - //{ 0x01D4EEE0, "_ZN15CHostageManagerC2Ev", mfunc_ptr_cast(&CHostageManager::CHostageManager) }, - { 0x01D4EF10, "_ZN15CHostageManager14ServerActivateEv", mfunc_ptr_cast(&CHostageManager::ServerActivate) }, - //{ 0x0, "_ZN15CHostageManager16ServerDeactivateEv", mfunc_ptr_cast(&CHostageManager::ServerDeactivate) }, - { 0x01D50670, "_ZN15CHostageManager12RestartRoundEv", mfunc_ptr_cast(&CHostageManager::RestartRound) }, - //{ 0x01D506A0, "_ZN15CHostageManager10AddHostageEP8CHostage", mfunc_ptr_cast(&CHostageManager::AddHostage) }, // NOXREF - //{ 0x0, "_ZN15CHostageManager10GetChatterEv", mfunc_ptr_cast(&CHostageManager::GetChatter) }, - { 0x01D506D0, "_ZNK15CHostageManager22IsNearbyHostageTalkingEP14CHostageImprov", mfunc_ptr_cast(&CHostageManager::IsNearbyHostageTalking) }, - //{ 0x01D50790, "_ZNK15CHostageManager22IsNearbyHostageJumpingEP14CHostageImprov", mfunc_ptr_cast(&CHostageManager::IsNearbyHostageJumping) }, - { 0x01D50850, "_ZN15CHostageManager7OnEventE13GameEventTypeP11CBaseEntityS2_", mfunc_ptr_cast(&CHostageManager::OnEvent) }, - //{ 0x0, "_ZN15CHostageManager17GetClosestHostageERK6VectorPf", mfunc_ptr_cast(&CHostageManager::GetClosestHostage) }, - //{ 0x01D4EE20, "_Z21Hostage_RegisterCVarsv", (size_t)&Hostage_RegisterCVars }, // NOXREF - //{ 0x01D4EE40, "_Z21InstallHostageManagerv", (size_t)&InstallHostageManager }, -//SimpleChatter - //{ 0x01D508A0, "_ZN13SimpleChatterC2Ev", mfunc_ptr_cast(&SimpleChatter::SimpleChatter) }, - //{ 0x01D508D0, "_ZN13SimpleChatterD2Ev", mfunc_ptr_cast(&SimpleChatter::~SimpleChatter) }, - { 0x01D50910, "_ZN13SimpleChatter8AddSoundE18HostageChatterTypePc", mfunc_ptr_cast(&SimpleChatter::AddSound) }, - { 0x01D50B40, "_ZN13SimpleChatter9PlaySoundEP11CBaseEntity18HostageChatterType", mfunc_ptr_cast(&SimpleChatter::PlaySound) }, - //{ 0x01D50A60, "_ZN13SimpleChatter8GetSoundE18HostageChatterTypePf", mfunc_ptr_cast(&SimpleChatter::GetSound) }, // NOXREF - //{ 0x01D509E0, "_ZN13SimpleChatter7ShuffleEPNS_10ChatterSetE", mfunc_ptr_cast(&SimpleChatter::Shuffle) }, // NOXREF -//CLocalNav - //{ 0x01D56E80, "_ZN9CLocalNavC2EP8CHostage", mfunc_ptr_cast(&CLocalNav::CLocalNav) }, - //{ 0x01D56ED0, "_ZN9CLocalNavD2Ev", mfunc_ptr_cast(&CLocalNav::~CLocalNav) }, - //{ 0x0, "_ZN9CLocalNav12SetTargetEntEP11CBaseEntity", mfunc_ptr_cast(&CLocalNav::SetTargetEnt) }, // NOXREF - { 0x01D57420, "_ZN9CLocalNav8FindPathER6VectorS1_fi", mfunc_ptr_cast(&CLocalNav::FindPath) }, - { 0x01D57380, "_ZN9CLocalNav14SetupPathNodesEiP6Vectori", mfunc_ptr_cast(&CLocalNav::SetupPathNodes) }, - { 0x01D573D0, "_ZN9CLocalNav26GetFurthestTraversableNodeER6VectorPS0_ii", mfunc_ptr_cast(&CLocalNav::GetFurthestTraversableNode) }, - { 0x01D57AC0, "_ZN9CLocalNav15PathTraversableER6VectorS1_i", mfunc_ptr_cast(&CLocalNav::PathTraversable) }, - //{ 0x01D57A50, "_ZN9CLocalNav9PathClearER6VectorS1_iR11TraceResult", mfunc_ptr_cast(&CLocalNav::PathClear) }, // NOXREF - //{ 0x0, "_ZN9CLocalNav9PathClearER6VectorS1_i", mfunc_ptr_cast(&CLocalNav::PathClear) }, // NOXREF - { 0x01D58AC0, "_ZN9CLocalNav5ThinkEv", mfunc_ptr_cast(&CLocalNav::Think) }, - { 0x01D58D50, "_ZN9CLocalNav10RequestNavEP8CHostage", mfunc_ptr_cast(&CLocalNav::RequestNav) }, - { 0x01D58E20, "_ZN9CLocalNav5ResetEv", mfunc_ptr_cast(&CLocalNav::Reset) }, - //{ 0x01D58E50, "_ZN9CLocalNav15HostagePrethinkEv", mfunc_ptr_cast(&CLocalNav::HostagePrethink) }, // NOXREF - //{ 0x01D56F20, "_ZN9CLocalNav7AddNodeEiR6Vectoriih", mfunc_ptr_cast(&CLocalNav::AddNode) }, // NOXREF - //{ 0x0, "_ZN9CLocalNav7GetNodeEi", mfunc_ptr_cast(&CLocalNav::GetNode) }, // NOXREF - //{ 0x01D56F80, "_ZN9CLocalNav10NodeExistsEii", mfunc_ptr_cast(&CLocalNav::NodeExists) }, // NOXREF - //{ 0x01D56FC0, "_ZN9CLocalNav12AddPathNodesEii", mfunc_ptr_cast(&CLocalNav::AddPathNodes) }, // NOXREF - { 0x01D57040, "_ZN9CLocalNav11AddPathNodeEiiii", mfunc_ptr_cast(&CLocalNav::AddPathNode) }, - { 0x01D57290, "_ZN9CLocalNav11GetBestNodeER6VectorS1_", mfunc_ptr_cast(&CLocalNav::GetBestNode) }, - { 0x01D57EB0, "_ZN9CLocalNav16SlopeTraversableER6VectorS1_iR11TraceResult", mfunc_ptr_cast(&CLocalNav::SlopeTraversable) }, - { 0x01D580A0, "_ZN9CLocalNav17LadderTraversableER6VectorS1_iR11TraceResult", mfunc_ptr_cast(&CLocalNav::LadderTraversable) }, - { 0x01D581D0, "_ZN9CLocalNav15StepTraversableER6VectorS1_iR11TraceResult", mfunc_ptr_cast(&CLocalNav::StepTraversable) }, - { 0x01D583C0, "_ZN9CLocalNav12StepJumpableER6VectorS1_iR11TraceResult", mfunc_ptr_cast(&CLocalNav::StepJumpable) }, - { 0x01D57810, "_ZN9CLocalNav14FindDirectPathER6VectorS1_fi", mfunc_ptr_cast(&CLocalNav::FindDirectPath) }, - { 0x01D585C0, "_ZN9CLocalNav9LadderHitER6VectorS1_R11TraceResult", mfunc_ptr_cast(&CLocalNav::LadderHit) }, - -#endif // Hostage_Region - - { NULL, NULL, NULL } -}; - -// refs for uncompleted virtual function -VirtualTableRef g_TableRefs[] = -{ - // Weapon shared - { 0x01DF46BC, "CKnife", CWEAPON_VIRTUAL_COUNT }, - { 0x01DF4394, "CGLOCK18", 95 }, - { 0x01DF368C, "CC4", CWEAPON_VIRTUAL_COUNT }, - { 0x01DF5C6C, "CUSP", 95 }, - { 0x01DF57DC, "CSmokeGrenade", CWEAPON_VIRTUAL_COUNT }, - { 0x01DF4B8C, "CM4A1", CWEAPON_VIRTUAL_COUNT }, - { 0x01DF453C, "CHEGrenade", CWEAPON_VIRTUAL_COUNT }, - { 0x01DF3ED4, "CFlashbang", 95 }, - { 0x01DF3B94, "CFamas", CWEAPON_VIRTUAL_COUNT }, - { 0x01DF39D4, "CELITE", 95 }, - { 0x01DF3D34, "CFiveSeven", 95 }, - { 0x01DF502C, "CP228", 95 }, - { 0x01DF5DF4, "CXM1014", CWEAPON_VIRTUAL_COUNT }, - { 0x01DF407C, "CG3SG1", CWEAPON_VIRTUAL_COUNT }, - { 0x01DF54CC, "CSG550", CWEAPON_VIRTUAL_COUNT }, - { 0x01DF3824, "CDEAGLE", 95 }, - { 0x01DF34E4, "CAWP", CWEAPON_VIRTUAL_COUNT }, - { 0x01DF5334, "CSCOUT", CWEAPON_VIRTUAL_COUNT }, - { 0x01DF5654, "CSG552", CWEAPON_VIRTUAL_COUNT }, - { 0x01DF49FC, "CM3", CWEAPON_VIRTUAL_COUNT }, - { 0x01DF333C, "CAUG", CWEAPON_VIRTUAL_COUNT }, - { 0x01DF420C, "CGalil", CWEAPON_VIRTUAL_COUNT }, - { 0x01DF3174, "CAK47", CWEAPON_VIRTUAL_COUNT }, - { 0x01DF4864, "CM249", CWEAPON_VIRTUAL_COUNT }, - { 0x01DF51AC, "CP90", CWEAPON_VIRTUAL_COUNT }, - { 0x01DF4D0C, "CMAC10", CWEAPON_VIRTUAL_COUNT }, - { 0x01DF5AE4, "CUMP45", CWEAPON_VIRTUAL_COUNT }, - { 0x01DF4E9C, "CMP5N", CWEAPON_VIRTUAL_COUNT }, - { 0x01DF595C, "CTMP", CWEAPON_VIRTUAL_COUNT }, - - { 0x01DFD984, "CWShield", CBASE_VIRTUAL_COUNT }, - - // CBaseEntity - { 0x01DF8A94, "CGib", CBASE_VIRTUAL_COUNT }, - { 0x01DFD824, "CBaseDelay", CBASE_VIRTUAL_COUNT }, - { 0x01DF607C, "CBaseEntity", CBASE_VIRTUAL_COUNT }, - { 0x01DFA894, "CGrenade", 77 }, - { 0x01DF67D4, "CBaseToggle", 59 }, - { 0x01DF652C, "CBasePlayer", 88 }, - { 0x01DF6694, "CBaseMonster", 76 }, - { 0x01DFDA84, "CSprayCan", CBASE_VIRTUAL_COUNT }, - { 0x01DFDB74, "CBloodSplat", CBASE_VIRTUAL_COUNT }, - { 0x01DFDC6C, "CDeadHEV", 76 }, - { 0x01DFDF84, "CInfoIntermission", CBASE_VIRTUAL_COUNT }, - { 0x01DFDE94, "CRevertSaved", CBASE_VIRTUAL_COUNT }, - { 0x01DFDDA4, "CStripWeapons", CBASE_VIRTUAL_COUNT }, - { 0x01DF69B4, "CBot", 116 }, - { 0x01DF61DC, "CCSBot", 116 }, - { 0x01DF64F0, "CCSBotManager", 12 }, - { 0x01DF6C9C, "CHostage", 76 }, - { 0x01DF6FF4, "CImprov", 56 }, - { 0x01DF6E24, "CHostageImprov", 56 }, - - // hostage states - { 0x01DF6FE4, "HostageStateMachine", 4 }, - { 0x01DF6FC8, "HostageIdleState", 4 }, - { 0x01DF6F9C, "HostageEscapeState", 6 }, - { 0x01DF6F70, "HostageRetreatState", 6 }, - { 0x01DF6F44, "HostageFollowState", 4 }, - { 0x01DF7180, "HostageEscapeToCoverState", 4 }, - { 0x01DF6F18, "HostageAnimateState", 4 }, - - { 0x01E00BBC, "CArmoury", CBASE_VIRTUAL_COUNT }, - { 0x01DFE4E4, "CSoundEnt", CBASE_VIRTUAL_COUNT }, - { 0x01DFE20C, "CAmbientGeneric", CBASE_VIRTUAL_COUNT }, - { 0x01DFE2FC, "CEnvSound", CBASE_VIRTUAL_COUNT }, - { 0x01DFE3F4, "CSpeaker", CBASE_VIRTUAL_COUNT }, - { 0x01E00D9C, "CCorpse", CBASE_VIRTUAL_COUNT }, - { 0x01E00CAC, "CDecal", CBASE_VIRTUAL_COUNT }, - { 0x01E00E8C, "CWorld", CBASE_VIRTUAL_COUNT }, - { 0x01DFE8D4, "CBaseGrenCatch", CBASE_VIRTUAL_COUNT }, - { 0x01DFE9C4, "CFuncWeaponCheck", CBASE_VIRTUAL_COUNT }, - { 0x01E00ACC, "CWeaponBox", CBASE_VIRTUAL_COUNT }, - { 0x01DF9F94, "CShower", CBASE_VIRTUAL_COUNT }, - { 0x01DFA1BC, "CBreakable", CBASE_VIRTUAL_COUNT }, - { 0x01DFA2AC, "CPushable", CBASE_VIRTUAL_COUNT }, - - { 0x01DF7D1C, "CFuncWall", CBASE_VIRTUAL_COUNT }, - { 0x01DF7E0C, "CFuncWallToggle", CBASE_VIRTUAL_COUNT }, - { 0x01DF7EFC, "CFuncConveyor", CBASE_VIRTUAL_COUNT }, - { 0x01DF7FF4, "CFuncIllusionary", 59 }, - { 0x01DF80E4, "CFuncMonsterClip", CBASE_VIRTUAL_COUNT }, - { 0x01DF81D4, "CFuncRotating", CBASE_VIRTUAL_COUNT }, - { 0x01DF82C4, "CPendulum", CBASE_VIRTUAL_COUNT }, - - { 0x01DFAAF4, "CGenericCycler", 76 }, - { 0x01DFAC2C, "CCyclerProbe", 76 }, - { 0x01DFAD64, "CCyclerSprite", CBASE_VIRTUAL_COUNT }, - { 0x01DFAFD4, "CWreckage", 76 }, - - //{ 0x0, "CFuncTank", 60 }, - { 0x01DFA3BC, "CFuncTankGun", 60 }, - { 0x01DFA4B4, "CFuncTankLaser", 60 }, - { 0x01DFA5AC, "CFuncTankRocket", 60 }, - { 0x01DFA6A4, "CFuncTankMortar", 60 }, - { 0x01DFA79C, "CFuncTankControls", CBASE_VIRTUAL_COUNT }, - - { 0x01DF83BC, "CEnvGlobal", CBASE_VIRTUAL_COUNT }, - { 0x01DF84AC, "CMultiSource", CBASE_VIRTUAL_COUNT }, - { 0x01DF859C, "CBaseButton", 59 }, - { 0x01DF868C, "CRotButton", 59 }, - { 0x01DF877C, "CMomentaryRotButton", 59 }, - { 0x01DF886C, "CEnvSpark", CBASE_VIRTUAL_COUNT }, - { 0x01DF895C, "CButtonTarget", CBASE_VIRTUAL_COUNT }, - - { 0x01DFE5D4, "CNullEntity", CBASE_VIRTUAL_COUNT }, - { 0x01DFE6C4, "CBaseDMStart", CBASE_VIRTUAL_COUNT }, - { 0x01DF8EAC, "CPointEntity", CBASE_VIRTUAL_COUNT }, - { 0x01DFEAB4, "CFrictionModifier", CBASE_VIRTUAL_COUNT }, - { 0x01DFEBA4, "CAutoTrigger", CBASE_VIRTUAL_COUNT }, - { 0x01DFEC94, "CTriggerRelay", CBASE_VIRTUAL_COUNT }, - { 0x01DFF6E4, "CTriggerVolume", CBASE_VIRTUAL_COUNT }, - { 0x01DFF7D4, "CFireAndDie", CBASE_VIRTUAL_COUNT }, - { 0x01E00404, "CTriggerChangeTarget", CBASE_VIRTUAL_COUNT }, - { 0x01E004F4, "CTriggerCamera", CBASE_VIRTUAL_COUNT }, - { 0x01E006D4, "CClientFog", CBASE_VIRTUAL_COUNT }, - { 0x01DFEE74, "CRenderFxManager", CBASE_VIRTUAL_COUNT }, - { 0x01DFF324, "CTargetCDAudio", CBASE_VIRTUAL_COUNT }, - - { 0x01DFCD1C, "CPathCorner", CBASE_VIRTUAL_COUNT }, - { 0x01DFCE0C, "CPathTrack", CBASE_VIRTUAL_COUNT }, - { 0x01E007D4, "CFuncVehicle", CBASE_VIRTUAL_COUNT }, - { 0x01E009C4, "CFuncVehicleControls", CBASE_VIRTUAL_COUNT }, - - { 0x01DFBD4C, "CGameScore", CBASE_VIRTUAL_COUNT }, - { 0x01DFBE3C, "CGameEnd", CBASE_VIRTUAL_COUNT }, - { 0x01DFBF2C, "CGameText", CBASE_VIRTUAL_COUNT }, - { 0x01DFC01C, "CGameTeamMaster", CBASE_VIRTUAL_COUNT }, - { 0x01DFC10C, "CGameTeamSet", CBASE_VIRTUAL_COUNT }, - { 0x01DFC1FC, "CGamePlayerZone", CBASE_VIRTUAL_COUNT }, - { 0x01DFC2EC, "CGamePlayerHurt", CBASE_VIRTUAL_COUNT }, - { 0x01DFC3DC, "CGameCounter", CBASE_VIRTUAL_COUNT }, - { 0x01DFC4CC, "CGameCounterSet", CBASE_VIRTUAL_COUNT }, - { 0x01DFC5BC, "CGamePlayerEquip", CBASE_VIRTUAL_COUNT }, - { 0x01DFC6AC, "CGamePlayerTeam", CBASE_VIRTUAL_COUNT }, - - { 0x01DFCEFC, "CFuncPlat", 64 }, - { 0x01DFD0F4, "CFuncPlatRot", 64 }, - { 0x01DFD1FC, "CFuncTrain", 60 }, - { 0x01DFD2F4, "CFuncTrackTrain", CBASE_VIRTUAL_COUNT }, - { 0x01DFD3EC, "CFuncTrainControls", CBASE_VIRTUAL_COUNT }, - { 0x01DFD4DC, "CFuncTrackChange", 65 }, - { 0x01DFD5E4, "CFuncTrackAuto", 65 }, - { 0x01DFD6EC, "CGunTarget", 76 }, - { 0x01DFD004, "CPlatTrigger", CBASE_VIRTUAL_COUNT }, - - { 0x01DFED84, "CMultiManager", 59 }, - { 0x01DFEF64, "CBaseTrigger", 59 }, - { 0x01DFF054, "CTriggerHurt", 59 }, - { 0x01DFF144, "CTriggerMonsterJump", 59 }, - { 0x01DFF234, "CTriggerCDAudio", 59 }, - { 0x01DFF414, "CTriggerMultiple", 59 }, - { 0x01DFF504, "CTriggerOnce", 59 }, - { 0x01DFF5F4, "CTriggerCounter", 59 }, - { 0x01DFF8C4, "CChangeLevel", 59 }, - { 0x01DFF9B4, "CLadder", 59 }, - { 0x01DFFAA4, "CTriggerPush", 59 }, - { 0x01DFFB94, "CTriggerTeleport", 59 }, - { 0x01DFFC84, "CBuyZone", 59 }, - { 0x01DFFD74, "CBombTarget", 59 }, - { 0x01DFFE64, "CHostageRescue", 59 }, - { 0x01DFFF54, "CEscapeZone", 59 }, - { 0x01E00044, "CVIP_SafetyZone", 59 }, - { 0x01E00134, "CTriggerSave", 59 }, - { 0x01E00224, "CTriggerEndSection", 59 }, - { 0x01E00314, "CTriggerGravity", 59 }, - { 0x01E005E4, "CWeather", 59 }, - - { 0x01DFA084, "CEnvExplosion", 76 }, - { 0x01DFC79C, "CFuncMortarField", 59 }, - { 0x01DF7204, "CAirtank", 77 }, - { 0x01DFC88C, "CMortar", 77 }, - { 0x01DF7344, "C9MMAmmo", 59 }, - { 0x01DF7434, "CBuckShotAmmo", 59 }, - { 0x01DF7524, "C556NatoAmmo", 59 }, - { 0x01DF7614, "C556NatoBoxAmmo", 59 }, - { 0x01DF7704, "C762NatoAmmo", 59 }, - { 0x01DF77F4, "C45ACPAmmo", 59 }, - { 0x01DF78E4, "C50AEAmmo", 59 }, - { 0x01DF79D4, "C338MagnumAmmo", 59 }, - { 0x01DF7AC4, "C57MMAmmo", 59 }, - { 0x01DF7BB4, "C357SIGAmmo", 59 }, - - // doors - { 0x01DF8BDC, "CBaseDoor", 59 }, - { 0x01DF8CCC, "CRotDoor", 59 }, - { 0x01DF8DBC, "CMomentaryDoor", 59 }, - - // rules - { 0x01DFCBFC, "CGameRules", 63 }, - { 0x01DFE10C, "CHalfLifeRules", 63 }, - { 0x01DFCADC, "CHalfLifeMultiplay", 70 }, - { 0x01DFE7B4, "CHalfLifeTraining", 70 }, - { 0x01DFC9D4, "CMapInfo", CBASE_VIRTUAL_COUNT }, - - { 0x01E01074, "CPreventDefuseTask", 0 }, - { 0x01E01084, "CCareerTask", 0 }, - - // effects - { 0x01DF8F9C, "CBubbling", CBASE_VIRTUAL_COUNT }, - { 0x01DF908C, "CBeam", CBASE_VIRTUAL_COUNT }, - { 0x01DF917C, "CLightning", CBASE_VIRTUAL_COUNT }, - { 0x01DF926C, "CLaser", CBASE_VIRTUAL_COUNT }, - { 0x01DF944C, "CGlow", CBASE_VIRTUAL_COUNT }, - { 0x01DF953C, "CBombGlow", CBASE_VIRTUAL_COUNT }, - { 0x01DF935C, "CSprite", CBASE_VIRTUAL_COUNT }, - { 0x01DFB2EC, "CWorldItem", CBASE_VIRTUAL_COUNT }, - { 0x01DFBB5C, "CLight", CBASE_VIRTUAL_COUNT }, - { 0x01DFBC4C, "CEnvLight", CBASE_VIRTUAL_COUNT }, - { 0x01DFEAB4, "CFrictionModifier", CBASE_VIRTUAL_COUNT }, - { 0x01DFEBA4, "CAutoTrigger", CBASE_VIRTUAL_COUNT }, - { 0x01DFBA6C, "CItemThighPack", 59 }, - { 0x01DFB97C, "CItemAssaultSuit", 59 }, - { 0x01DFB88C, "CItemKevlar", 59 }, - { 0x01DFB79C, "CItemLongJump", 59 }, - { 0x01DFB6AC, "CItemSecurity", 59 }, - { 0x01DFB5BC, "CItemAntidote", 59 }, - { 0x01DFB4CC, "CItemBattery", 59 }, - { 0x01DFB3DC, "CItemSuit", 59 }, - { 0x01DFB10C, "CHealthKit", 59 }, - { 0x01DFB1FC, "CWallHealth", 59 }, - { 0x01DFA9FC, "CRecharge", 59 }, - { 0x01DF9634, "CGibShooter", 59 }, - { 0x01DF9724, "CEnvShooter", 59 }, - { 0x01DF9814, "CTestEffect", CBASE_VIRTUAL_COUNT }, - { 0x01DF9904, "CBlood", CBASE_VIRTUAL_COUNT }, - { 0x01DF99F4, "CShake", CBASE_VIRTUAL_COUNT }, - { 0x01DF9AE4, "CFade", CBASE_VIRTUAL_COUNT }, - { 0x01DF9BD4, "CMessage", CBASE_VIRTUAL_COUNT }, - { 0x01DF9CC4, "CEnvFunnel", CBASE_VIRTUAL_COUNT }, - { 0x01DF9DB4, "CEnvBeverage", CBASE_VIRTUAL_COUNT }, - { 0x01DF9EA4, "CItemSoda", CBASE_VIRTUAL_COUNT }, - - // tutor - { 0x01E00FA4, "CBaseTutor", 12 }, - { 0x01E00F9C, "TutorMessageEvent", 1 }, - { 0x01E01024, "CCSTutor", 12 }, - { 0x01E00FEC, "CCSTutorStateSystem", 4 }, - { 0x01E00F78, "CBaseTutorStateSystem", 4 }, - { 0x01E00F8C, "CBaseTutorState", 3 }, - { 0x01E00FDC, "CCSTutorUndefinedState", 3 }, - { 0x01E01000, "CCSTutorBuyMenuState", 3 }, - { 0x01E01010, "CCSTutorWaitingForStartState", 3 }, - - { 0x01DF6198, "BotFollowMeme", 1 }, - { 0x01DF617C, "BotHelpMeme", 1 }, - { 0x01DF61A0, "BotDefendHereMeme", 1 }, - { 0x01DF61B0, "BotBombsiteStatusMeme", 1 }, - { 0x01DF618C, "BotBombStatusMeme", 1 }, - { 0x01DF61B8, "BotHostageBeingTakenMeme", 1 }, - { 0x01DF61A8, "BotWhereBombMeme", 1 }, - { 0x01DF6184, "BotRequestReportMeme", 1 }, - - // bot states - { 0x01DF64A0, "IdleState", 4 }, - { 0x01DF648C, "HuntState", 4 }, - { 0x01DF6478, "AttackState", 4 }, - { 0x01DF6464, "InvestigateNoiseState", 4 }, - { 0x01DF6450, "BuyState", 4 }, - { 0x01DF643C, "MoveToState", 4 }, - { 0x01DF6428, "FetchBombState", 4 }, - { 0x01DF6414, "PlantBombState", 4 }, - { 0x01DF6400, "DefuseBombState", 4 }, - { 0x01DF63EC, "HideState", 4 }, - { 0x01DF63D8, "EscapeFromBombState", 4 }, - { 0x01DF63C4, "FollowState", 4 }, - { 0x01DF63B0, "UseEntityState", 4 }, - - { NULL, NULL } // BaseClass__for_vtbl -}; - -// references -AddressRef g_FunctionRefs[] = -{ -#ifndef Function_References_Region - - { 0x01D2EDD0, "_ZN6CCSBot16UpdateLookAnglesEv", (size_t)&pCCSBot__UpdateLookAngles }, - { 0x01D19C70, "_ZN9BotPhrase9RandomizeEv", (size_t)&pBotPhrase__Randomize }, - { 0x01D4C450, "_ZN8CHostage9IdleThinkEv", (size_t)&pCHostage__IdleThink }, - -#endif // Function_References_Region - - { NULL, NULL, NULL } -}; - -AddressRef g_DataRefs[] = -{ -#ifndef Data_References_Region - - { 0x01E61BD0, "g_engfuncs", (size_t)&pg_engfuncs }, - { 0x01E61E48, "gpGlobals", (size_t)&pgpGlobals }, - { 0x01E10768, "GameEventName", (size_t)&pGameEventName }, - { 0x01E2A3F8, "_ZL14s_shared_token", (size_t)&ps_shared_token }, - { 0x01E13218, "_ZL14s_shared_quote", (size_t)&ps_shared_quote }, - { 0x01E61BA4, "g_vecZero", (size_t)&pg_vecZero }, - { 0x01E61BB4, "g_Language", (size_t)&pg_Language }, - { 0x01E61BB8, "g_ulFrameCount", (size_t)&pg_ulFrameCount }, // NOXREF - //{ 0x0, "g_ulModelIndexEyes", (size_t)&pg_ulModelIndexEyes }, // NOXREF - { 0x01E61BC0, "g_vecAttackDir", (size_t)&pg_vecAttackDir }, - { 0x01E61BBC, "g_iSkillLevel", (size_t)&pg_iSkillLevel }, - { 0x01E61B9C, "gDisplayTitle", (size_t)&pgDisplayTitle }, - { 0x01E61BA0, "g_fGameOver", (size_t)&pg_fGameOver }, - { 0x01E754B8, "st_szNextMap", (size_t)&pst_szNextMap }, - { 0x01E75498, "st_szNextSpot", (size_t)&pst_szNextSpot }, - { 0x01E683A0, "gSkillData", (size_t)&pgSkillData }, - { 0x01E75EC8, "g_sModelIndexLaser", (size_t)&pg_sModelIndexLaser }, - { 0x01E227A8, "g_pModelNameLaser", (size_t)&pg_pModelNameLaser }, - { 0x01E75FD8, "g_sModelIndexLaserDot", (size_t)&pg_sModelIndexLaserDot }, - { 0x01E75EC6, "g_sModelIndexFireball", (size_t)&pg_sModelIndexFireball }, - { 0x01E75EB4, "g_sModelIndexSmoke", (size_t)&pg_sModelIndexSmoke }, - { 0x01E75EB2, "g_sModelIndexWExplosion", (size_t)&pg_sModelIndexWExplosion }, - { 0x01E76562, "g_sModelIndexBubbles", (size_t)&pg_sModelIndexBubbles }, - { 0x01E75EB6, "g_sModelIndexBloodDrop", (size_t)&pg_sModelIndexBloodDrop }, - { 0x01E75ECA, "g_sModelIndexBloodSpray", (size_t)&pg_sModelIndexBloodSpray }, - { 0x01E76566, "g_sModelIndexSmokePuff", (size_t)&pg_sModelIndexSmokePuff }, - { 0x01E75ED0, "g_sModelIndexFireball2", (size_t)&pg_sModelIndexFireball2 }, - { 0x01E75ECC, "g_sModelIndexFireball3", (size_t)&pg_sModelIndexFireball3 }, - { 0x01E75ECE, "g_sModelIndexFireball4", (size_t)&pg_sModelIndexFireball4 }, - { 0x01E76564, "g_sModelIndexCTGhost", (size_t)&pg_sModelIndexCTGhost }, - { 0x01E75EB0, "g_sModelIndexTGhost", (size_t)&pg_sModelIndexTGhost }, - { 0x01E76560, "g_sModelIndexC4Glow", (size_t)&pg_sModelIndexC4Glow }, - { 0x01E76568, "giAmmoIndex", (size_t)&pgiAmmoIndex }, - { 0x01E75EC4, "g_sModelIndexRadio", (size_t)&pg_sModelIndexRadio }, - { 0x01E75EB8, "gMultiDamage", (size_t)&pgMultiDamage }, - { 0x01E29880, "_ZL13s_iBeamSprite", (size_t)&ps_iBeamSprite }, - { 0x01E29480, "_ZL8cosTable", (size_t)&pcosTable }, - { 0x01E23AA8, "TutorIdentifierList", (size_t)&pTutorIdentifierList }, - { 0x01E23678, "_ZL19g_TutorStateStrings", (size_t)&pg_TutorStateStrings }, - { 0x01E61E4C, "WorldGraph", (size_t)&pWorldGraph }, - //{ 0x01E61E5C, "_ZN12CTalkMonster14g_talkWaitTimeE", mfunc_ptr_cast(&CTalkMonster::pg_talkWaitTime) }, - { 0x01E61B98, "g_pGameRules", (size_t)&pg_pGameRules }, - { 0x01E62560, "g_pMPGameRules", (size_t)&pg_pMPGameRules }, - { 0x01E61E70, "_ZL12mp_com_token", (size_t)&pmp_com_token }, - { 0x01E636F0, "vec3_origin", (size_t)&pvec3_origin }, - { 0x01E1F420, "nanmask", (size_t)&pnanmask }, - { 0x01E0B0B0, "_ZL15weaponAliasInfo", (size_t)&pweaponAliasInfo }, - { 0x01E0B1E8, "_ZL18weaponBuyAliasInfo", (size_t)&pweaponBuyAliasInfo }, - { 0x01E0B3F0, "_ZL20weaponClassAliasInfo", (size_t)&pweaponClassAliasInfo }, - { 0x01E0B560, "g_autoBuyInfo", (size_t)&pg_autoBuyInfo }, - { 0x01E0B708, "_ZL10weaponInfo", (size_t)&pweaponInfo }, - { 0x01E6AC80, "gszallsentencenames", (size_t)&pgszallsentencenames }, - { 0x01E683E0, "rgsentenceg", (size_t)&prgsentenceg }, - { 0x01E75480, "fSentencesInit", (size_t)&pfSentencesInit }, - { 0x01E75484, "gcallsentences", (size_t)&pgcallsentences }, - { 0x01E1F5B0, "rgdpvpreset", (size_t)&prgdpvpreset }, - { 0x01E75488, "fTextureTypeInit", (size_t)&pfTextureTypeInit }, - { 0x01E7548C, "gcTextures", (size_t)&pgcTextures, 2 }, - { 0x01E70C80, "grgszTextureName", (size_t)&pgrgszTextureName, 2 }, - { 0x01E75080, "grgchTextureType", (size_t)&pgrgchTextureType, 2 }, - // implementation at PM_Shared - { 0x01E68390, "gcTextures", (size_t)&ppm_gcTextures, 1 }, - { 0x01E63B88, "grgszTextureName", (size_t)&ppm_grgszTextureName, 1 }, - { 0x01E67F88, "grgchTextureType", (size_t)&ppm_grgchTextureType, 1 }, - { 0x01E68388, "pm_shared_initialized", (size_t)&ppm_shared_initialized }, - { 0x01E63700, "rgv3tStuckTable", (size_t)&prgv3tStuckTable }, - { 0x01E63A88, "rgStuckLast", (size_t)&prgStuckLast }, - { 0x01E68394, "g_onladder", (size_t)&pg_onladder }, - { 0x01E6838C, "pmove", (size_t)&pg_ppmove }, - { 0x01E76578, "g_flWeaponCheat", (size_t)&pg_flWeaponCheat }, - { 0x01E62778, "gEvilImpulse101", (size_t)&pgEvilImpulse101 }, - { 0x01E62790, "g_szMapBriefingText", (size_t)&pg_szMapBriefingText }, - { 0x01E1DD78, "gInitHUD", (size_t)&pgInitHUD }, - { 0x01E75CFC, "g_groupmask", (size_t)&pg_groupmask }, - { 0x01E75D00, "g_groupop", (size_t)&pg_groupop }, - { 0x01E21EF8, "_ZL6gSizes", (size_t)&pgSizes }, - { 0x01E75490, "pSoundEnt", (size_t)&ppSoundEnt }, - { 0x01E75CF8, "_ZL6glSeed", (size_t)&pglSeed }, - { 0x01E21598, "seed_table", (size_t)&pseed_table }, - { 0x01E21998, "gEntvarsDescription", (size_t)&pgEntvarsDescription }, - { 0x01E22DBC, "gGlobalEntitySaveData", (size_t)&pgGlobalEntitySaveData }, - { 0x01E7656C, "g_pBodyQueueHead", (size_t)&pg_pBodyQueueHead }, - { 0x01E76570, "gGlobalState", (size_t)&pgGlobalState }, - { 0x01E22C50, "gDecals", (size_t)&pgDecals }, - { 0x01E31748, "stringsHashTable", (size_t)&pstringsHashTable }, - { 0x01E312E8, "hashItemMemPool", (size_t)&phashItemMemPool }, - //{ 0x01E3175C, "gTouchDisabled", (size_t)&pgTouchDisabled }, - { 0x01E6359C, "giPrecacheGrunt", (size_t)&pgiPrecacheGrunt }, - { 0x01E6360C, "gmsgWeapPickup", (size_t)&pgmsgWeapPickup }, - { 0x01E635E0, "gmsgHudText", (size_t)&pgmsgHudText }, - { 0x01E635E4, "gmsgHudTextArgs", (size_t)&pgmsgHudTextArgs }, - { 0x01E635A0, "gmsgShake", (size_t)&pgmsgShake }, - { 0x01E635A4, "gmsgFade", (size_t)&pgmsgFade }, - { 0x01E635A8, "gmsgFlashlight", (size_t)&pgmsgFlashlight }, - { 0x01E635AC, "gmsgFlashBattery", (size_t)&pgmsgFlashBattery }, - { 0x01E635B0, "gmsgResetHUD", (size_t)&pgmsgResetHUD }, - { 0x01E635B4, "gmsgInitHUD", (size_t)&pgmsgInitHUD }, - { 0x01E635B8, "gmsgViewMode", (size_t)&pgmsgViewMode }, - { 0x01E635BC, "gmsgShowGameTitle", (size_t)&pgmsgShowGameTitle }, - { 0x01E635C0, "gmsgCurWeapon", (size_t)&pgmsgCurWeapon }, - { 0x01E635C4, "gmsgHealth", (size_t)&pgmsgHealth }, - { 0x01E635C8, "gmsgDamage", (size_t)&pgmsgDamage }, - { 0x01E635CC, "gmsgBattery", (size_t)&pgmsgBattery }, - { 0x01E635D0, "gmsgTrain", (size_t)&pgmsgTrain }, - { 0x01E635D4, "gmsgLogo", (size_t)&pgmsgLogo }, - { 0x01E635D8, "gmsgWeaponList", (size_t)&pgmsgWeaponList }, - { 0x01E635DC, "gmsgAmmoX", (size_t)&pgmsgAmmoX }, - { 0x01E635E8, "gmsgDeathMsg", (size_t)&pgmsgDeathMsg }, - { 0x01E635EC, "gmsgScoreAttrib", (size_t)&pgmsgScoreAttrib }, - { 0x01E635F0, "gmsgScoreInfo", (size_t)&pgmsgScoreInfo }, - { 0x01E635F4, "gmsgTeamInfo", (size_t)&pgmsgTeamInfo }, - { 0x01E635F8, "gmsgTeamScore", (size_t)&pgmsgTeamScore }, - { 0x01E635FC, "gmsgGameMode", (size_t)&pgmsgGameMode }, - { 0x01E63600, "gmsgMOTD", (size_t)&pgmsgMOTD }, - { 0x01E63604, "gmsgServerName", (size_t)&pgmsgServerName }, - { 0x01E63608, "gmsgAmmoPickup", (size_t)&pgmsgAmmoPickup }, - { 0x01E63610, "gmsgItemPickup", (size_t)&pgmsgItemPickup }, - { 0x01E63614, "gmsgHideWeapon", (size_t)&pgmsgHideWeapon }, - { 0x01E63618, "gmsgSayText", (size_t)&pgmsgSayText }, - { 0x01E6361C, "gmsgTextMsg", (size_t)&pgmsgTextMsg }, - { 0x01E63620, "gmsgSetFOV", (size_t)&pgmsgSetFOV }, - { 0x01E63624, "gmsgShowMenu", (size_t)&pgmsgShowMenu }, - { 0x01E63628, "gmsgSendAudio", (size_t)&pgmsgSendAudio }, - { 0x01E6362C, "gmsgRoundTime", (size_t)&pgmsgRoundTime }, - { 0x01E63630, "gmsgMoney", (size_t)&pgmsgMoney }, - { 0x01E63634, "gmsgBlinkAcct", (size_t)&pgmsgBlinkAcct }, - { 0x01E63638, "gmsgArmorType", (size_t)&pgmsgArmorType }, - { 0x01E6363C, "gmsgStatusValue", (size_t)&pgmsgStatusValue }, - { 0x01E63640, "gmsgStatusText", (size_t)&pgmsgStatusText }, - { 0x01E63644, "gmsgStatusIcon", (size_t)&pgmsgStatusIcon }, - { 0x01E63648, "gmsgBarTime", (size_t)&pgmsgBarTime }, - { 0x01E6364C, "gmsgReloadSound", (size_t)&pgmsgReloadSound }, - { 0x01E63650, "gmsgCrosshair", (size_t)&pgmsgCrosshair }, - { 0x01E63654, "gmsgNVGToggle", (size_t)&pgmsgNVGToggle }, - { 0x01E63658, "gmsgRadar", (size_t)&pgmsgRadar }, - { 0x01E6365C, "gmsgSpectator", (size_t)&pgmsgSpectator }, - { 0x01E63660, "gmsgVGUIMenu", (size_t)&pgmsgVGUIMenu }, - { 0x01E63664, "gmsgCZCareer", (size_t)&pgmsgCZCareer }, - { 0x01E63668, "gmsgCZCareerHUD", (size_t)&pgmsgCZCareerHUD }, - { 0x01E6366C, "gmsgTaskTime", (size_t)&pgmsgTaskTime }, - { 0x01E63670, "gmsgTutorText", (size_t)&pgmsgTutorText }, - { 0x01E63674, "gmsgTutorLine", (size_t)&pgmsgTutorLine }, - { 0x01E63678, "gmsgShadowIdx", (size_t)&pgmsgShadowIdx }, - { 0x01E6367C, "gmsgTutorState", (size_t)&pgmsgTutorState }, - { 0x01E63680, "gmsgTutorClose", (size_t)&pgmsgTutorClose }, - { 0x01E63684, "gmsgAllowSpec", (size_t)&pgmsgAllowSpec }, - { 0x01E63688, "gmsgBombDrop", (size_t)&pgmsgBombDrop }, - { 0x01E6368C, "gmsgBombPickup", (size_t)&pgmsgBombPickup }, - { 0x01E63690, "gmsgHostagePos", (size_t)&pgmsgHostagePos }, - { 0x01E63694, "gmsgHostageK", (size_t)&pgmsgHostageK }, - { 0x01E63698, "gmsgGeigerRange", (size_t)&pgmsgGeigerRange }, - { 0x01E6369C, "gmsgSendCorpse", (size_t)&pgmsgSendCorpse }, - { 0x01E636A0, "gmsgHLTV", (size_t)&pgmsgHLTV }, - { 0x01E636A4, "gmsgSpecHealth", (size_t)&pgmsgSpecHealth }, - { 0x01E636A8, "gmsgForceCam", (size_t)&pgmsgForceCam }, - { 0x01E636AC, "gmsgADStop", (size_t)&pgmsgADStop }, - { 0x01E636B0, "gmsgReceiveW", (size_t)&pgmsgReceiveW }, - { 0x01E636B4, "gmsgScenarioIcon", (size_t)&pgmsgScenarioIcon }, - { 0x01E636B8, "gmsgBotVoice", (size_t)&pgmsgBotVoice }, - { 0x01E636BC, "gmsgBuyClose", (size_t)&pgmsgBuyClose }, - { 0x01E636C0, "gmsgItemStatus", (size_t)&pgmsgItemStatus }, - { 0x01E636C4, "gmsgLocation", (size_t)&pgmsgLocation }, - { 0x01E636C8, "gmsgSpecHealth2", (size_t)&pgmsgSpecHealth2 }, - { 0x01E636CC, "gmsgBarTime2", (size_t)&pgmsgBarTime2 }, - { 0x01E636D0, "gmsgBotProgress", (size_t)&pgmsgBotProgress }, - { 0x01E636D4, "gmsgBrass", (size_t)&pgmsgBrass }, - { 0x01E636D8, "gmsgFog", (size_t)&pgmsgFog }, - { 0x01E636DC, "gmsgShowTimer", (size_t)&pgmsgShowTimer }, - { 0x01E61B80, "g_psv_gravity", (size_t)&pg_psv_gravity }, - { 0x01E61B84, "g_psv_aim", (size_t)&pg_psv_aim },//TODO: unused, used cvar_t *sv_aim - { 0x01E63598, "sv_aim", (size_t)&psv_aim }, - { 0x01E61E6C, "sv_clienttrace", (size_t)&psv_clienttrace }, - { 0x01E61E68, "_ZL15g_GameMgrHelper", (size_t)&pg_GameMgrHelper }, - { 0x01E22624, "voice_serverdebug", (size_t)&pvoice_serverdebug }, - { 0x01E22638, "sv_alltalk", (size_t)&psv_alltalk }, - { 0x01E75D20, "g_PlayerModEnable", (size_t)&pg_PlayerModEnable }, - { 0x01E75D28, "g_BanMasks", (size_t)&pg_BanMasks }, - { 0x01E75DA8, "g_SentGameRulesMasks", (size_t)&pg_SentGameRulesMasks }, - { 0x01E75E30, "g_SentBanMasks", (size_t)&pg_SentBanMasks }, - { 0x01E75E28, "g_bWantModEnable", (size_t)&pg_bWantModEnable }, - { 0x01E76580, "_ZL23s_tutorDisabledThisGame", (size_t)&ps_tutorDisabledThisGame }, - { 0x01E76584, "_ZL19s_nextCvarCheckTime", (size_t)&ps_nextCvarCheckTime }, - { 0x01E11214, "BotDifficultyName", (size_t)&pBotDifficultyName }, - { 0x01E61B88, "g_footsteps", (size_t)&pg_footsteps }, - { 0x01E61B8C, "g_psv_accelerate", (size_t)&pg_psv_accelerate }, - { 0x01E61B90, "g_psv_friction", (size_t)&pg_psv_friction }, - { 0x01E61B94, "g_psv_stopspeed", (size_t)&pg_psv_stopspeed }, - { 0x01E18738, "displaysoundlist", (size_t)&pdisplaysoundlist }, - { 0x01E18774, "timelimit", (size_t)&ptimelimit }, - { 0x01E1879C, "flashlight", (size_t)&pflashlight }, - { 0x01E187B0, "decalfrequency", (size_t)&pdecalfrequency }, - { 0x01E189A4, "fadetoblack", (size_t)&pfadetoblack }, - { 0x01E1874C, "fragsleft", (size_t)&pfragsleft }, - { 0x01E18760, "timeleft", (size_t)&ptimeleft }, - { 0x01E18788, "friendlyfire", (size_t)&pfriendlyfire }, - { 0x01E187C4, "allowmonsters", (size_t)&pallowmonsters }, - { 0x01E187D8, "roundtime", (size_t)&proundtime }, - { 0x01E187EC, "buytime", (size_t)&pbuytime }, - { 0x01E18800, "freezetime", (size_t)&pfreezetime }, - { 0x01E18814, "c4timer", (size_t)&pc4timer }, - { 0x01E18828, "ghostfrequency", (size_t)&pghostfrequency }, - { 0x01E1883C, "autokick", (size_t)&pautokick }, - { 0x01E18850, "autokick_timeout", (size_t)&pautokick_timeout }, - { 0x01E18864, "restartround", (size_t)&prestartround }, - { 0x01E18878, "sv_restart", (size_t)&psv_restart }, - { 0x01E1888C, "limitteams", (size_t)&plimitteams }, - { 0x01E188A0, "autoteambalance", (size_t)&pautoteambalance }, - { 0x01E188B4, "tkpunish", (size_t)&ptkpunish }, - { 0x01E188C8, "hostagepenalty", (size_t)&phostagepenalty }, - { 0x01E188DC, "mirrordamage", (size_t)&pmirrordamage }, - { 0x01E188F0, "logmessages", (size_t)&plogmessages }, - { 0x01E18904, "forcecamera", (size_t)&pforcecamera }, - { 0x01E18918, "forcechasecam", (size_t)&pforcechasecam }, - { 0x01E1892C, "mapvoteratio", (size_t)&pmapvoteratio }, - { 0x01E18940, "logdetail", (size_t)&plogdetail }, - { 0x01E18954, "startmoney", (size_t)&pstartmoney }, - { 0x01E18968, "maxrounds", (size_t)&pmaxrounds }, - { 0x01E1897C, "winlimit", (size_t)&pwinlimit }, - { 0x01E18990, "windifference", (size_t)&pwindifference }, - { 0x01E189B8, "playerid", (size_t)&pplayerid }, - { 0x01E189CC, "allow_spectators", (size_t)&pallow_spectators }, - { 0x01E189E0, "mp_chattime", (size_t)&pmp_chattime }, - { 0x01E189F4, "kick_percent", (size_t)&pkick_percent }, - { 0x01E18A08, "humans_join_team", (size_t)&phumans_join_team }, - { 0x01E195D4, "sk_plr_9mm_bullet1", (size_t)&psk_plr_9mm_bullet1 }, - { 0x01E195E8, "sk_plr_9mm_bullet2", (size_t)&psk_plr_9mm_bullet2 }, - { 0x01E195FC, "sk_plr_9mm_bullet3", (size_t)&psk_plr_9mm_bullet3 }, - { 0x01E19610, "sk_plr_357_bullet1", (size_t)&psk_plr_357_bullet1 }, - { 0x01E19624, "sk_plr_357_bullet2", (size_t)&psk_plr_357_bullet2 }, - { 0x01E19638, "sk_plr_357_bullet3", (size_t)&psk_plr_357_bullet3 }, - { 0x01E1964C, "sk_plr_9mmAR_bullet1", (size_t)&psk_plr_9mmAR_bullet1 }, - { 0x01E19660, "sk_plr_9mmAR_bullet2", (size_t)&psk_plr_9mmAR_bullet2 }, - { 0x01E19674, "sk_plr_9mmAR_bullet3", (size_t)&psk_plr_9mmAR_bullet3 }, - { 0x01E19688, "sk_plr_9mmAR_grenade1", (size_t)&psk_plr_9mmAR_grenade1 }, - { 0x01E1969C, "sk_plr_9mmAR_grenade2", (size_t)&psk_plr_9mmAR_grenade2 }, - { 0x01E196B0, "sk_plr_9mmAR_grenade3", (size_t)&psk_plr_9mmAR_grenade3 }, - { 0x01E196C4, "sk_plr_buckshot1", (size_t)&psk_plr_buckshot1 }, - { 0x01E196D8, "sk_plr_buckshot2", (size_t)&psk_plr_buckshot2 }, - { 0x01E196EC, "sk_plr_buckshot3", (size_t)&psk_plr_buckshot3 }, - { 0x01E19778, "sk_plr_rpg1", (size_t)&psk_plr_rpg1 }, - { 0x01E1978C, "sk_plr_rpg2", (size_t)&psk_plr_rpg2 }, - { 0x01E197A0, "sk_plr_rpg3", (size_t)&psk_plr_rpg3 }, - { 0x01E1991C, "sk_12mm_bullet1", (size_t)&psk_12mm_bullet1 }, - { 0x01E19930, "sk_12mm_bullet2", (size_t)&psk_12mm_bullet2 }, - { 0x01E19944, "sk_12mm_bullet3", (size_t)&psk_12mm_bullet3 }, - { 0x01E19958, "sk_9mmAR_bullet1", (size_t)&psk_9mmAR_bullet1 }, - { 0x01E1996C, "sk_9mmAR_bullet2", (size_t)&psk_9mmAR_bullet2 }, - { 0x01E19980, "sk_9mmAR_bullet3", (size_t)&psk_9mmAR_bullet3 }, - { 0x01E19994, "sk_9mm_bullet1", (size_t)&psk_9mm_bullet1 }, - { 0x01E199A8, "sk_9mm_bullet2", (size_t)&psk_9mm_bullet2 }, - { 0x01E199BC, "sk_9mm_bullet3", (size_t)&psk_9mm_bullet3 }, - { 0x01E19A0C, "sk_suitcharger1", (size_t)&psk_suitcharger1 }, - { 0x01E19A20, "sk_suitcharger2", (size_t)&psk_suitcharger2 }, - { 0x01E19A34, "sk_suitcharger3", (size_t)&psk_suitcharger3 }, - { 0x01E19A48, "sk_battery1", (size_t)&psk_battery1 }, - { 0x01E19A5C, "sk_battery2", (size_t)&psk_battery2 }, - { 0x01E19A70, "sk_battery3", (size_t)&psk_battery3 }, - { 0x01E19A84, "sk_healthcharger1", (size_t)&psk_healthcharger1 }, - { 0x01E19A98, "sk_healthcharger2", (size_t)&psk_healthcharger2 }, - { 0x01E19AAC, "sk_healthcharger3", (size_t)&psk_healthcharger3 }, - { 0x01E19AC0, "sk_healthkit1", (size_t)&psk_healthkit1 }, - { 0x01E19AD4, "sk_healthkit2", (size_t)&psk_healthkit2 }, - { 0x01E19AE8, "sk_healthkit3", (size_t)&psk_healthkit3 }, - { 0x01E19AFC, "sk_scientist_heal1", (size_t)&psk_scientist_heal1 }, - { 0x01E19B10, "sk_scientist_heal2", (size_t)&psk_scientist_heal2 }, - { 0x01E19B24, "sk_scientist_heal3", (size_t)&psk_scientist_heal3 }, - { 0x01E10738, "g_flBotCommandInterval", (size_t)&pg_flBotCommandInterval }, - { 0x01E1073C, "g_flBotFullThinkInterval", (size_t)&pg_flBotFullThinkInterval }, - { 0x01E61B44, "_ZL11gTankSpread", (size_t)&pgTankSpread }, - { 0x01E28A20, "BotArgs", (size_t)&pBotArgs }, - { 0x01E28A30, "UseBotArgs", (size_t)&pUseBotArgs }, - { 0x01E1E040, "g_weaponStruct", (size_t)&pg_weaponStruct }, - { 0x01E0EFF8, "cv_bot_traceview", (size_t)&pcv_bot_traceview }, - { 0x01E0F00C, "cv_bot_stop", (size_t)&pcv_bot_stop }, - { 0x01E0F020, "cv_bot_show_nav", (size_t)&pcv_bot_show_nav }, - { 0x01E0F034, "cv_bot_show_danger", (size_t)&pcv_bot_show_danger }, - { 0x01E0F048, "cv_bot_nav_edit", (size_t)&pcv_bot_nav_edit }, - { 0x01E0F05C, "cv_bot_nav_zdraw", (size_t)&pcv_bot_nav_zdraw }, - { 0x01E0F070, "cv_bot_walk", (size_t)&pcv_bot_walk }, - { 0x01E0F084, "cv_bot_difficulty", (size_t)&pcv_bot_difficulty }, - { 0x01E0F098, "cv_bot_debug", (size_t)&pcv_bot_debug }, - { 0x01E0F0AC, "cv_bot_quicksave", (size_t)&pcv_bot_quicksave }, - { 0x01E0F0C0, "cv_bot_quota", (size_t)&pcv_bot_quota }, - { 0x01E0F0D4, "cv_bot_quota_match", (size_t)&pcv_bot_quota_match }, - { 0x01E0F0E8, "cv_bot_prefix", (size_t)&pcv_bot_prefix }, - { 0x01E0F0FC, "cv_bot_allow_rogues", (size_t)&pcv_bot_allow_rogues }, - { 0x01E0F110, "cv_bot_allow_pistols", (size_t)&pcv_bot_allow_pistols }, - { 0x01E0F124, "cv_bot_allow_shotguns", (size_t)&pcv_bot_allow_shotguns }, - { 0x01E0F138, "cv_bot_allow_sub_machine_guns", (size_t)&pcv_bot_allow_sub_machine_guns }, - { 0x01E0F14C, "cv_bot_allow_rifles", (size_t)&pcv_bot_allow_rifles }, - { 0x01E0F160, "cv_bot_allow_machine_guns", (size_t)&pcv_bot_allow_machine_guns }, - { 0x01E0F174, "cv_bot_allow_grenades", (size_t)&pcv_bot_allow_grenades }, - { 0x01E0F188, "cv_bot_allow_snipers", (size_t)&pcv_bot_allow_snipers }, - { 0x01E0F19C, "cv_bot_allow_shield", (size_t)&pcv_bot_allow_shield }, - { 0x01E0F1B0, "cv_bot_join_team", (size_t)&pcv_bot_join_team }, - { 0x01E0F1C4, "cv_bot_join_after_player", (size_t)&pcv_bot_join_after_player }, - { 0x01E0F1D8, "cv_bot_auto_vacate", (size_t)&pcv_bot_auto_vacate }, - { 0x01E0F1EC, "cv_bot_zombie", (size_t)&pcv_bot_zombie }, - { 0x01E0F200, "cv_bot_defer_to_human", (size_t)&pcv_bot_defer_to_human }, - { 0x01E0F214, "cv_bot_chatter", (size_t)&pcv_bot_chatter }, - { 0x01E0F228, "cv_bot_profile_db", (size_t)&pcv_bot_profile_db }, - { 0x01E233BC, "cv_tutor_message_repeats", (size_t)&pcv_tutor_message_repeats }, - { 0x01E233D0, "cv_tutor_debug_level", (size_t)&pcv_tutor_debug_level }, - { 0x01E233E4, "cv_tutor_view_distance", (size_t)&pcv_tutor_view_distance }, - { 0x01E233F8, "cv_tutor_viewable_check_interval", (size_t)&pcv_tutor_viewable_check_interval }, - { 0x01E2340C, "cv_tutor_look_distance", (size_t)&pcv_tutor_look_distance }, - { 0x01E23420, "cv_tutor_look_angle", (size_t)&pcv_tutor_look_angle }, - { 0x01E23434, "cv_tutor_examine_time", (size_t)&pcv_tutor_examine_time }, - { 0x01E23448, "cv_tutor_message_minimum_display_time", (size_t)&pcv_tutor_message_minimum_display_time }, - { 0x01E2345C, "cv_tutor_message_character_display_time_coefficient", (size_t)&pcv_tutor_message_character_display_time_coefficient }, - { 0x01E23470, "cv_tutor_hint_interval_time", (size_t)&pcv_tutor_hint_interval_time }, - { 0x01E2A3E8, "_ZN9CLocalNav15flNextCvarCheckE", mfunc_ptr_cast(&CLocalNav::pflNextCvarCheck) }, - { 0x01E2A3D8, "_ZN9CLocalNav12s_flStepSizeE", mfunc_ptr_cast(&CLocalNav::ps_flStepSize) }, - { 0x01E2A3EC, "_ZN9CLocalNav15flLastThinkTimeE", mfunc_ptr_cast(&CLocalNav::pflLastThinkTime) }, - { 0x01E2A3E4, "_ZN9CLocalNav7nodevalE", mfunc_ptr_cast(&CLocalNav::pnodeval) }, - { 0x01E2A3F0, "_ZN9CLocalNav12tot_hostagesE", mfunc_ptr_cast(&CLocalNav::ptot_hostages) }, - { 0x01E2A298, "_ZN9CLocalNav8hostagesE", mfunc_ptr_cast(&CLocalNav::phostages) }, - { 0x01E2A3E0, "_ZN9CLocalNav11tot_inqueueE", mfunc_ptr_cast(&CLocalNav::ptot_inqueue) }, - { 0x01E2A3DC, "_ZN9CLocalNav4qptrE", mfunc_ptr_cast(&CLocalNav::pqptr) }, - { 0x01E2A338, "_ZN9CLocalNav5queueE", mfunc_ptr_cast(&CLocalNav::pqueue) }, - { 0x01E287F8, "_ZL12navAreaCount", (size_t)&pnavAreaCount }, - { 0x01E287FC, "_ZL12currentIndex", (size_t)&pcurrentIndex }, - { 0x01E17AD0, "_ZN10CBreakable13pSpawnObjectsE", mfunc_ptr_cast(&CBreakable::ppSpawnObjects) }, - { 0x01E17BA0, "_ZN10CBreakable11pSoundsWoodE", mfunc_ptr_cast(&CBreakable::ppSoundsWood) }, - { 0x01E17BAC, "_ZN10CBreakable12pSoundsFleshE", mfunc_ptr_cast(&CBreakable::ppSoundsFlesh) }, - { 0x01E17BC4, "_ZN10CBreakable12pSoundsMetalE", mfunc_ptr_cast(&CBreakable::ppSoundsMetal) }, - { 0x01E17BD0, "_ZN10CBreakable15pSoundsConcreteE", mfunc_ptr_cast(&CBreakable::ppSoundsConcrete) }, - { 0x01E17BDC, "_ZN10CBreakable12pSoundsGlassE", mfunc_ptr_cast(&CBreakable::ppSoundsGlass) }, - { 0x01E17C08, "_ZN9CPushable12m_soundNamesE", mfunc_ptr_cast(&CPushable::pm_soundNames) }, - { 0x01E1E00C, "_ZN8CDeadHEV9m_szPosesE", mfunc_ptr_cast(&CDeadHEV::pm_szPoses) }, - { 0x01E1DD88, "_ZN11CBasePlayer16m_playerSaveDataE", mfunc_ptr_cast(&CBasePlayer::pm_playerSaveData) }, - { 0x01E14A68, "_ZN11CBaseEntity10m_SaveDataE", mfunc_ptr_cast(&CBaseEntity::pm_SaveData) }, - { 0x01E22DAC, "_ZN12CGlobalState10m_SaveDataE", mfunc_ptr_cast(&CGlobalState::pm_SaveData) }, - { 0x01E14390, "_ZN9CEnvSpark10m_SaveDataE", mfunc_ptr_cast(&CEnvSpark::pm_SaveData) }, - { 0x01E14330, "_ZN19CMomentaryRotButton10m_SaveDataE", mfunc_ptr_cast(&CMomentaryRotButton::pm_SaveData) }, - { 0x01E14240, "_ZN10CEnvGlobal10m_SaveDataE", mfunc_ptr_cast(&CEnvGlobal::pm_SaveData) }, - { 0x01E1B4C0, "_ZN8CGrenade10m_SaveDataE", mfunc_ptr_cast(&CGrenade::pm_SaveData) }, - { 0x01E1B998, "_ZN9CWreckage10m_SaveDataE", mfunc_ptr_cast(&CWreckage::pm_SaveData) }, - { 0x01E1B968, "_ZN13CCyclerSprite10m_SaveDataE", mfunc_ptr_cast(&CCyclerSprite::pm_SaveData) }, - { 0x01E1B958, "_ZN7CCycler10m_SaveDataE", mfunc_ptr_cast(&CCycler::pm_SaveData) }, - { 0x01E1BE38, "_ZN6CLight10m_SaveDataE", mfunc_ptr_cast(&CLight::pm_SaveData) }, - { 0x01E1BB00, "_ZN11CWallHealth10m_SaveDataE", mfunc_ptr_cast(&CWallHealth::pm_SaveData) }, - { 0x01E1B850, "_ZN9CRecharge10m_SaveDataE", mfunc_ptr_cast(&CRecharge::pm_SaveData) }, - { 0x01E1C248, "_ZN16CFuncMortarField10m_SaveDataE", mfunc_ptr_cast(&CFuncMortarField::pm_SaveData) }, - { 0x01E17A08, "_ZN13CEnvExplosion10m_SaveDataE", mfunc_ptr_cast(&CEnvExplosion::pm_SaveData) }, - { 0x01E13F38, "_ZN13CFuncRotating10m_SaveDataE", mfunc_ptr_cast(&CFuncRotating::pm_SaveData) }, - { 0x01E13F88, "_ZN9CPendulum10m_SaveDataE", mfunc_ptr_cast(&CPendulum::pm_SaveData) }, - { 0x01E16FB0, "_ZN9CBaseDoor10m_SaveDataE", mfunc_ptr_cast(&CBaseDoor::pm_SaveData) }, - { 0x01E17020, "_ZN14CMomentaryDoor10m_SaveDataE", mfunc_ptr_cast(&CMomentaryDoor::pm_SaveData) }, - { 0x01E17B50, "_ZN10CBreakable10m_SaveDataE", mfunc_ptr_cast(&CBreakable::pm_SaveData) }, - { 0x01E17BE8, "_ZN9CPushable10m_SaveDataE", mfunc_ptr_cast(&CPushable::pm_SaveData) }, - { 0x01E18180, "_ZN9CFuncTank10m_SaveDataE", mfunc_ptr_cast(&CFuncTank::pm_SaveData) }, - { 0x01E18320, "_ZN14CFuncTankLaser10m_SaveDataE", mfunc_ptr_cast(&CFuncTankLaser::pm_SaveData) }, - { 0x01E18340, "_ZN17CFuncTankControls10m_SaveDataE", mfunc_ptr_cast(&CFuncTankControls::pm_SaveData) }, - { 0x01E22408, "_ZN12CFuncVehicle10m_SaveDataE", mfunc_ptr_cast(&CFuncVehicle::pm_SaveData) }, - { 0x01E1D2D8, "_ZN11CPathCorner10m_SaveDataE", mfunc_ptr_cast(&CPathCorner::pm_SaveData) }, - { 0x01E1D2E8, "_ZN10CPathTrack10m_SaveDataE", mfunc_ptr_cast(&CPathTrack::pm_SaveData) }, - { 0x01E1E01C, "_ZN12CRevertSaved10m_SaveDataE", mfunc_ptr_cast(&CRevertSaved::pm_SaveData) }, - { 0x01E1BF38, "_ZN11CRuleEntity10m_SaveDataE", mfunc_ptr_cast(&CRuleEntity::pm_SaveData) }, - { 0x01E1BF48, "_ZN9CGameText10m_SaveDataE", mfunc_ptr_cast(&CGameText::pm_SaveData) }, - { 0x01E1BF58, "_ZN15CGamePlayerZone10m_SaveDataE", mfunc_ptr_cast(&CGamePlayerZone::pm_SaveData) }, - { 0x01E20B10, "_ZN17CFrictionModifier10m_SaveDataE", mfunc_ptr_cast(&CFrictionModifier::pm_SaveData) }, - { 0x01E20B20, "_ZN12CAutoTrigger10m_SaveDataE", mfunc_ptr_cast(&CAutoTrigger::pm_SaveData) }, - { 0x01E20B40, "_ZN13CTriggerRelay10m_SaveDataE", mfunc_ptr_cast(&CTriggerRelay::pm_SaveData) }, - { 0x01E20B50, "_ZN13CMultiManager10m_SaveDataE", mfunc_ptr_cast(&CMultiManager::pm_SaveData) }, - { 0x01E20BA0, "_ZN12CChangeLevel10m_SaveDataE", mfunc_ptr_cast(&CChangeLevel::pm_SaveData) }, - { 0x01E20BE0, "_ZN20CTriggerChangeTarget10m_SaveDataE", mfunc_ptr_cast(&CTriggerChangeTarget::pm_SaveData) }, - { 0x01E20BF0, "_ZN14CTriggerCamera10m_SaveDataE", mfunc_ptr_cast(&CTriggerCamera::pm_SaveData) }, - { 0x01E208D8, "_ZN16CFuncWeaponCheck10m_SaveDataE", mfunc_ptr_cast(&CFuncWeaponCheck::pm_SaveData) }, - { 0x01E20888, "_ZN14CBaseGrenCatch10m_SaveDataE", mfunc_ptr_cast(&CBaseGrenCatch::pm_SaveData) }, - { 0x01E13228, "_ZN8CAirtank10m_SaveDataE", mfunc_ptr_cast(&CAirtank::pm_SaveData) }, - { 0x01E14270, "_ZN12CMultiSource10m_SaveDataE", mfunc_ptr_cast(&CMultiSource::pm_SaveData) }, - { 0x01E20538, "_ZN10CBaseDelay10m_SaveDataE", mfunc_ptr_cast(&CBaseDelay::pm_SaveData) }, - { 0x01E13438, "_ZN14CBaseAnimating10m_SaveDataE", mfunc_ptr_cast(&CBaseAnimating::pm_SaveData) }, - { 0x01E20558, "_ZN11CBaseToggle10m_SaveDataE", mfunc_ptr_cast(&CBaseToggle::pm_SaveData) }, - { 0x01E142B0, "_ZN11CBaseButton10m_SaveDataE", mfunc_ptr_cast(&CBaseButton::pm_SaveData) }, - { 0x01E20040, "_ZN15CAmbientGeneric10m_SaveDataE", mfunc_ptr_cast(&CAmbientGeneric::pm_SaveData) }, - { 0x01E20080, "_ZN9CEnvSound10m_SaveDataE", mfunc_ptr_cast(&CEnvSound::pm_SaveData) }, - { 0x01E200A0, "_ZN8CSpeaker10m_SaveDataE", mfunc_ptr_cast(&CSpeaker::pm_SaveData) }, - { 0x01E17258, "_ZN9CBubbling10m_SaveDataE", mfunc_ptr_cast(&CBubbling::pm_SaveData) }, - { 0x01E17288, "_ZN10CLightning10m_SaveDataE", mfunc_ptr_cast(&CLightning::pm_SaveData) }, - { 0x01E17358, "_ZN6CLaser10m_SaveDataE", mfunc_ptr_cast(&CLaser::pm_SaveData) }, - { 0x01E17388, "_ZN5CGlow10m_SaveDataE", mfunc_ptr_cast(&CGlow::pm_SaveData) }, - { 0x01E173A8, "_ZN7CSprite10m_SaveDataE", mfunc_ptr_cast(&CSprite::pm_SaveData) }, - { 0x01E173C8, "_ZN11CGibShooter10m_SaveDataE", mfunc_ptr_cast(&CGibShooter::pm_SaveData) }, - { 0x01E227AC, "_ZN15CBasePlayerItem10m_SaveDataE", mfunc_ptr_cast(&CBasePlayerItem::pm_SaveData) }, - { 0x01E227E0, "_ZN17CBasePlayerWeapon10m_SaveDataE", mfunc_ptr_cast(&CBasePlayerWeapon::pm_SaveData) }, - { 0x01E22850, "_ZN10CWeaponBox10m_SaveDataE", mfunc_ptr_cast(&CWeaponBox::pm_SaveData) }, - { 0x01E1D420, "_ZN14CBasePlatTrain10m_SaveDataE", mfunc_ptr_cast(&CBasePlatTrain::pm_SaveData) }, - { 0x01E1D450, "_ZN12CFuncPlatRot10m_SaveDataE", mfunc_ptr_cast(&CFuncPlatRot::pm_SaveData) }, - { 0x01E1D470, "_ZN10CFuncTrain10m_SaveDataE", mfunc_ptr_cast(&CFuncTrain::pm_SaveData) }, - { 0x01E1D4A0, "_ZN15CFuncTrackTrain10m_SaveDataE", mfunc_ptr_cast(&CFuncTrackTrain::pm_SaveData) }, - { 0x01E1D560, "_ZN16CFuncTrackChange10m_SaveDataE", mfunc_ptr_cast(&CFuncTrackChange::pm_SaveData) }, - { 0x01E1D5F0, "_ZN10CGunTarget10m_SaveDataE", mfunc_ptr_cast(&CGunTarget::pm_SaveData) }, - { 0x01E75FE0, "_ZN15CBasePlayerItem13ItemInfoArrayE", mfunc_ptr_cast(&CBasePlayerItem::pItemInfoArray) }, - { 0x01E75ED8, "_ZN15CBasePlayerItem13AmmoInfoArrayE", mfunc_ptr_cast(&CBasePlayerItem::pAmmoInfoArray) }, - { 0x01E28816, "_ZN13CCSBotManager17m_isMapDataLoadedE", mfunc_ptr_cast(&CCSBotManager::pm_isMapDataLoaded) }, - { 0x01E28818, "_ZN13CCSBotManager9m_editCmdE", mfunc_ptr_cast(&CCSBotManager::pm_editCmd) }, - { 0x01E2881C, "_ZN13CCSBotManager17m_flNextCVarCheckE", mfunc_ptr_cast(&CCSBotManager::pm_flNextCVarCheck) }, - { 0x01E28814, "_ZN13CCSBotManager15m_isLearningMapE", mfunc_ptr_cast(&CCSBotManager::pm_isLearningMap) }, - { 0x01E28815, "_ZN13CCSBotManager21m_isAnalysisRequestedE", mfunc_ptr_cast(&CCSBotManager::pm_isAnalysisRequested) }, - { 0x01E233BC, "cv_tutor_message_repeats", (size_t)&pcv_tutor_message_repeats }, - { 0x01E233D0, "cv_tutor_debug_level", (size_t)&pcv_tutor_debug_level }, - { 0x01E233E4, "cv_tutor_view_distance", (size_t)&pcv_tutor_view_distance }, - { 0x01E233F8, "cv_tutor_viewable_check_interval", (size_t)&pcv_tutor_viewable_check_interval }, - { 0x01E2340C, "cv_tutor_look_distance", (size_t)&pcv_tutor_look_distance }, - { 0x01E23420, "cv_tutor_look_angle", (size_t)&pcv_tutor_look_angle }, - { 0x01E23434, "cv_tutor_examine_time", (size_t)&pcv_tutor_examine_time }, - { 0x01E23448, "cv_tutor_message_minimum_display_time", (size_t)&pcv_tutor_message_minimum_display_time }, - { 0x01E2345C, "cv_tutor_message_character_display_time_coefficient", (size_t)&pcv_tutor_message_character_display_time_coefficient }, - { 0x01E23470, "cv_tutor_hint_interval_time", (size_t)&pcv_tutor_hint_interval_time }, - { 0x01E11EE4, "cv_hostage_debug", (size_t)&pcv_hostage_debug }, - { 0x01E11EF8, "cv_hostage_stop", (size_t)&pcv_hostage_stop }, - //{ 0x01E2A228, "_ZL14placeDirectory", (size_t)&pplaceDirectory }, // DONT USE - NOXREF - { 0x01E2A0E4, "TheNavLadderList", (size_t)&pTheNavLadderList }, - { 0x01E2A0F0, "TheHidingSpotList", (size_t)&pTheHidingSpotList }, - { 0x01E14C5C, "sPlayerModelFiles", (size_t)&psPlayerModelFiles }, - { 0x01E5D6F0, "g_flTimeLimit", (size_t)&pg_flTimeLimit }, - { 0x01E5D6F4, "g_flResetTime", (size_t)&pg_flResetTime }, - { 0x01E14C58, "g_bClientPrintEnable", (size_t)&pg_bClientPrintEnable }, - { 0x01E5D6F8, "g_skipCareerInitialSpawn", (size_t)&pg_skipCareerInitialSpawn }, - { 0x01E31768, "m_usResetDecals", (size_t)&pm_usResetDecals }, - { 0x01E31760, "g_iShadowSprite", (size_t)&pg_iShadowSprite }, - { 0x01E31770, "_ZL11g_PVSStatus", (size_t)&pg_PVSStatus }, - { 0x01E14C90, "_ZL18entity_field_alias", (size_t)&pentity_field_alias }, - { 0x01E14D68, "_ZL18player_field_alias", (size_t)&pplayer_field_alias }, - { 0x01E14DD8, "custom_entity_field_alias", (size_t)&pcustom_entity_field_alias }, - //{ 0x01E5D718, "_ZL14g_serveractive", (size_t)&pg_serveractive }, - { 0x01E2A0A8, "_ZL17goodSizedAreaList", (size_t)&pgoodSizedAreaList }, - { 0x01E2A0D8, "TheNavAreaList", (size_t)&pTheNavAreaList }, - { 0x01E29888, "TheNavAreaGrid", (size_t)&pTheNavAreaGrid }, - { 0x01E2A250, "_ZN8CNavNode6m_listE", mfunc_ptr_cast(&CNavNode::pm_list) }, - { 0x01E2A254, "_ZN8CNavNode12m_listLengthE", mfunc_ptr_cast(&CNavNode::pm_listLength) }, - { 0x01E11E88, "Opposite", (size_t)&pOpposite }, - { 0x01E11584, "_ZN8CNavArea14m_masterMarkerE", mfunc_ptr_cast(&CNavArea::pm_masterMarker) }, - { 0x01E11588, "_ZN10HidingSpot8m_nextIDE", mfunc_ptr_cast(&HidingSpot::pm_nextID) }, - { 0x01E2A108, "_ZN10HidingSpot14m_masterMarkerE", mfunc_ptr_cast(&HidingSpot::pm_masterMarker) }, - { 0x01E11580, "_ZN8CNavArea8m_nextIDE", mfunc_ptr_cast(&CNavArea::pm_nextID) }, - { 0x01E2A100, "_ZN8CNavArea9m_isResetE", mfunc_ptr_cast(&CNavArea::pm_isReset) }, - { 0x01E2A0FC, "_ZN8CNavArea10m_openListE", mfunc_ptr_cast(&CNavArea::pm_openList) }, - { 0x01E2A104, "lastDrawTimestamp", (size_t)&plastDrawTimestamp }, - { 0x01E2A118, "_ZL13editTimestamp", (size_t)&peditTimestamp }, - { 0x01E2A10C, "_ZL10markedArea", (size_t)&pmarkedArea }, - { 0x01E2A110, "_ZL16lastSelectedArea", (size_t)&plastSelectedArea }, - { 0x01E1158C, "_ZL12markedCorner", (size_t)&pmarkedCorner }, - { 0x01E2A114, "_ZL17isCreatingNavArea", (size_t)&pisCreatingNavArea }, - { 0x01E2A115, "_ZL10isAnchored", (size_t)&pisAnchored }, - { 0x01E2A0C8, "_ZL6anchor", (size_t)&panchor }, - { 0x01E2A116, "_ZL11isPlaceMode", (size_t)&pisPlaceMode }, - { 0x01E2A117, "_ZL15isPlacePainting", (size_t)&pisPlacePainting }, - { 0x01E29CA4, "_ZL9BlockedID", (size_t)&pBlockedID }, - { 0x01E2A120, "_ZL14BlockedIDCount", (size_t)&pBlockedIDCount }, - { 0x01E14988, "_ZL14gFunctionTable", (size_t)&pgFunctionTable }, - { 0x01E14A50, "gNewDLLFunctions", (size_t)&pgNewDLLFunctions }, - { 0x01E28810, "TheBots", (size_t)&pTheBots }, - { 0x01E24950, "_ZL8taskInfo", (size_t)&ptaskInfo }, - { 0x01E76594, "TheCareerTasks", (size_t)&pTheCareerTasks }, - { 0x01E28C7C, "TheBotProfiles", (size_t)&pTheBotProfiles }, - { 0x01E287CC, "g_pSelectedZombieSpawn", (size_t)&pg_pSelectedZombieSpawn }, - { 0x01E287F0, "TheBotPhrases", (size_t)&pTheBotPhrases }, - { 0x01E7657C, "TheTutor", (size_t)&pTheTutor }, - { 0x01E2A25C, "g_pHostages", (size_t)&pg_pHostages }, - { 0x01E2A258, "g_iHostageNumber", (size_t)&pg_iHostageNumber }, - { 0x01E16EE0, "_ZL11outputLevel", (size_t)&poutputLevel }, - { 0x01E61B40, "_ZL19theDebugOutputTypes", (size_t)&ptheDebugOutputTypes }, - { 0x01E61740, "_ZL14theDebugBuffer", (size_t)&ptheDebugBuffer }, - { 0x01E75D04, "_ZL9g_LessCtx", (size_t)&pg_LessCtx }, - { 0x01E62670, "g_pevLastInflictor", (size_t)&pg_pevLastInflictor }, - { 0x01E62788, "g_pLastSpawn", (size_t)&pg_pLastSpawn }, - { 0x01E63590, "g_pLastCTSpawn", (size_t)&pg_pLastCTSpawn }, - { 0x01E63594, "g_pLastTerroristSpawn", (size_t)&pg_pLastTerroristSpawn }, - { 0x01E62990, "_ZL11zombieSpawn", (size_t)&pzombieSpawn }, - { 0x01E636E8, "_ZL16zombieSpawnCount", (size_t)&pzombieSpawnCount }, - { 0x01E13838, "svBlending", (size_t)&psvBlending }, - { 0x01E312D0, "IEngineStudio", (size_t)&pIEngineStudio }, - { 0x01E2DAA8, "g_pstudiohdr", (size_t)&pg_pstudiohdr }, - { 0x01E2F8C0, "g_pRotationMatrix", (size_t)&pg_pRotationMatrix }, - { 0x01E2F8B0, "g_pBoneTransform", (size_t)&pg_pBoneTransform }, - //{ 0x01E2F8BC, "omega", (size_t)&pomega }, // LOCAL - //{ 0x01E312E0, "cosom", (size_t)&pcosom }, // LOCAL - //{ 0x01E306C8, "sinom", (size_t)&psinom }, // LOCAL - //{ 0x01E2F8B4, "sclp", (size_t)&psclp }, // LOCAL - //{ 0x01E2F8B8, "sclq", (size_t)&psclq }, // LOCAL - { 0x01E0DF70, "primaryWeaponBuyInfoCT", (size_t)&pprimaryWeaponBuyInfoCT }, - { 0x01E0E00C, "secondaryWeaponBuyInfoCT", (size_t)&psecondaryWeaponBuyInfoCT }, - { 0x01E0E030, "primaryWeaponBuyInfoT", (size_t)&pprimaryWeaponBuyInfoT }, - { 0x01E0E0CC, "secondaryWeaponBuyInfoT", (size_t)&psecondaryWeaponBuyInfoT }, - { 0x01E287E8, "_ZN19BotChatterInterface16m_encourageTimerE", mfunc_ptr_cast(&BotChatterInterface::pm_encourageTimer) }, - { 0x01E287E0, "_ZN19BotChatterInterface22m_radioSilenceIntervalE", mfunc_ptr_cast(&BotChatterInterface::pm_radioSilenceInterval) }, - -#endif // Data_References_Region - - { NULL, NULL, NULL } -}; diff --git a/regamedll/hookers/helper.h b/regamedll/hookers/helper.h new file mode 100644 index 00000000..23c3632b --- /dev/null +++ b/regamedll/hookers/helper.h @@ -0,0 +1,174 @@ +#pragma once + +#include +#include +#include +#include +#include +#include +#include + +#ifdef HOOK_GAMEDLL + +#define private public +#define protected public + +template +class MethodThunk { +public: + void Constructor(TArgs ... args) { + new(this) T(args ...); + } + + void Destructor() { + (*(T *)this).~T(); + } +}; + +namespace MsvcMethod { + namespace Detail { + using Counter = std::size_t(*)(); + + template + std::size_t GetIndex() { + return N; + } + + template + constexpr auto GenerateCounters_Helper(std::index_sequence) { + // There is no make_array (and/or deduction guides), so we need to explicitly define array template params + return std::array { &GetIndex ... }; + } + + template + auto counters = GenerateCounters_Helper(std::make_index_sequence{}); + + struct VIndexGetter {}; + struct ThisGetter { + decltype(auto) GetThis() const { + return this; + } + + decltype(auto) GetThis(...) const { + return this; + } + }; + + template + class Singleton { + public: + static T &GetInstance() { + static T instance = {}; + return instance; + } + }; + + // primary template + template + struct is_variadic_function : std::false_type {}; + template + struct is_variadic_function : std::true_type {}; + template + struct is_variadic_function : std::true_type {}; + template + struct is_variadic_function : std::true_type {}; + template + struct is_variadic_function : std::true_type {}; + template + struct is_variadic_function : std::true_type {}; + template + struct is_variadic_function : std::true_type {}; + template + struct is_variadic_function : std::true_type {}; + template + struct is_variadic_function : std::true_type {}; + template + struct is_variadic_function : std::true_type {}; + template + struct is_variadic_function : std::true_type {}; + template + struct is_variadic_function : std::true_type {}; + template + struct is_variadic_function : std::true_type {}; + + template + constexpr bool is_variadic_function_v = is_variadic_function::value; + + template + constexpr bool is_function_v = std::is_function::value; + } // namespace Detail + + static constexpr auto& counters = Detail::counters<256>; + + template + std::enable_if_t, std::uintptr_t> + GetVirtualIndex(TMethod T::*method) + { + decltype(auto) pcounters = counters.data(); + decltype(auto) vIndexGetter = (Detail::VIndexGetter *)&pcounters; + + using VIndexGetterFunction = std::conditional_t, std::size_t (Detail::VIndexGetter::*)(...) const, std::size_t(Detail::VIndexGetter::*)() const>; + VIndexGetterFunction vIndexGetterFunction; + { + *(std::uintptr_t *)&vIndexGetterFunction = *(std::uintptr_t *)&method; + } + + return (vIndexGetter->*vIndexGetterFunction)(); + } + + template + std::enable_if_t, std::uintptr_t> + GetVirtualAddress(TMethod T::*method) + { + using ThisGetterFunction = std::conditional_t, const T *(T::*)(...) const, const T *(T::*)() const>; + ThisGetterFunction thisGetterFunction = *(ThisGetterFunction *)&method; + { + decltype(auto) m = static_cast, const Detail::ThisGetter *(Detail::ThisGetter::*)(...) const, const Detail::ThisGetter *(Detail::ThisGetter::*)() const>>(&Detail::ThisGetter::GetThis); + *(std::uintptr_t *)&thisGetterFunction = *(std::uintptr_t *)&m; + } + + return *(*(std::uintptr_t **)(Detail::Singleton::GetInstance().*thisGetterFunction)() + GetVirtualIndex(method)); + } + + template + std::enable_if_t, std::uintptr_t> + GetVirtualAddressHierarc(TMethod T::*method, void *instance) + { + using ThisGetterFunction = std::conditional_t, const T *(T::*)(...) const, const T *(T::*)() const>; + ThisGetterFunction thisGetterFunction = *(ThisGetterFunction *)&method; + { + decltype(auto) m = static_cast, const Detail::ThisGetter *(Detail::ThisGetter::*)(...) const, const Detail::ThisGetter *(Detail::ThisGetter::*)() const>>(&Detail::ThisGetter::GetThis); + *(std::uintptr_t *)&thisGetterFunction = *(std::uintptr_t *)&m; + } + + return *(*(std::uintptr_t **)(((T *)instance)->*thisGetterFunction)() + GetVirtualIndex(method)); + } + + template + std::enable_if_t, std::uintptr_t> + GetAddress(TMethod (T::*method)) { + return (std::uintptr_t &)method; + } + + template + std::enable_if_t, std::uintptr_t> + GetAddress(TMethod (*method)) { + return (std::uintptr_t &)method; + } + +} // namespace MsvcMethod + +#ifdef _MSC_VER + #define VTABLE_LINK(offset, vtable, count) { offset, vtable, count } + #define GLOBALVAR_LINK(offset, symbol, var, ...) { offset, symbol, (size_t)&##var, __VA_ARGS__ } + #define HOOK_SYMBOLDEF(offset, symbol, func, ...) { offset, symbol, MsvcMethod::GetAddress<__VA_ARGS__>(&func) } + #define HOOK_SYMBOL_VIRTUAL_DEF(offset, symbol, func, ...) { offset, symbol, MsvcMethod::GetVirtualAddress<__VA_ARGS__>(&func) } + #define HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(offset, childclass, symbol, func, ...) { offset, symbol, MsvcMethod::GetVirtualAddressHierarc<__VA_ARGS__>(&func, &MsvcMethod::Detail::Singleton::GetInstance()) } + + #define HOOK_DEF(offset, func, ...) HOOK_SYMBOLDEF(offset, #func, func, __VA_ARGS__) + #define HOOK_VIRTUAL_DEF(offset, func, ...) HOOK_SYMBOL_VIRTUAL_DEF(offset, func, func, __VA_ARGS__) +#else + #error Hooking stuff is only available using MSVC compiler. +#endif // _MSC_VER + +#endif // HOOK_GAMEDLL diff --git a/regamedll/hookers/hooker.cpp b/regamedll/hookers/hooker.cpp index ec014220..73c2d031 100644 --- a/regamedll/hookers/hooker.cpp +++ b/regamedll/hookers/hooker.cpp @@ -31,11 +31,12 @@ HIDDEN Module g_GameDLLModule = { NULL, NULL, NULL, NULL }; HIDDEN Module g_EngineModule = { NULL, NULL, NULL, NULL }; -extern const size_t g_BaseOffset; -extern FunctionHook g_FunctionHooks[]; -extern VirtualTableRef g_TableRefs[]; -extern AddressRef g_FunctionRefs[]; -extern AddressRef g_DataRefs[]; +// Offset where module assumed be loaded to ajust hooks offsets. NULL for the Linux to trigger symbols searching. +#ifdef _WIN32 +const size_t g_BaseOffset = 0x01D00000; +#else +const size_t g_BaseOffset = NULL; +#endif VirtualTableRef *GetVirtualTableRefAddr(const char *szClassName) { @@ -233,33 +234,40 @@ int HookGameDLL(size_t gameAddr, size_t engAddr) } #ifdef _WIN32 -void *_malloc_mhook_(size_t n) + +void *malloc_wrapper(size_t n) { return malloc(n); } -void *_realloc_mhook_(void *memblock, size_t size) +void *_nh_malloc_wrapper(size_t n) +{ + return malloc(n); +} + +void *realloc_wrapper(void *memblock, size_t size) { return realloc(memblock, size); } -void _free_mhook_(void *p) +void free_wrapper(void *p) { free(p); } -void *_calloc_mhook_(size_t n, size_t s) +void *calloc_wrapper(size_t n, size_t s) { return calloc(n, s); } -void *__nh_malloc_mhook_(size_t n) -{ - return malloc(n); -} - -char *_strdup_mhook_(const char *s) +char *strdup_wrapper(const char *s) { return _strdup(s); } + +int rand_wrapper() +{ + return rand(); +} + #endif // _WIN32 diff --git a/regamedll/hookers/hooker.h b/regamedll/hookers/hooker.h index c438e07b..d51eebcc 100644 --- a/regamedll/hookers/hooker.h +++ b/regamedll/hookers/hooker.h @@ -13,13 +13,19 @@ extern void *GetOriginalFuncAddrOrDefault(const char *funcName, void *def); extern void *GetFuncRefAddrOrDie(const char *funcName); extern void *GetFuncRefAddrOrDefault(const char *funcName, void *def); +extern FunctionHook g_FunctionHooks[]; +extern VirtualTableRef g_TableRefs[]; +extern AddressRef g_FunctionRefs[]; +extern AddressRef g_DataRefs[]; + #ifdef _WIN32 -void *_malloc_mhook_(size_t n); -void *_realloc_mhook_(void *memblock, size_t size); -void _free_mhook_(void *p); -void *_calloc_mhook_(size_t n, size_t s); -void *__nh_malloc_mhook_(size_t n); -char *_strdup_mhook_(const char *s); +void *malloc_wrapper(size_t size); +void *_nh_malloc_wrapper(size_t n); +void *realloc_wrapper(void *orig, size_t newSize); +void free_wrapper(void *mem); +void *calloc_wrapper(size_t count, size_t size); +char *strdup_wrapper(const char *s); +int rand_wrapper(); #endif // _WIN32 diff --git a/regamedll/hookers/hooker_impl.cpp b/regamedll/hookers/hooker_impl.cpp index 5d3651a3..b2a8b2d6 100644 --- a/regamedll/hookers/hooker_impl.cpp +++ b/regamedll/hookers/hooker_impl.cpp @@ -1,11 +1,20 @@ #include "precompiled.h" // xrefs -void (CBaseEntity::*pCHostage__IdleThink)(); void (*pBotPhrase__Randomize)(); void (*pCCSBotManager__AddBot)(); void (*pCCSBot__UpdateLookAngles)(); +// custom +char *CGameRules::m_GameDesc = nullptr; +bool CGameRules::m_bGameOver = false; + +bool CHalfLifeMultiplay::m_bSkipShowMenu = false; +bool CHalfLifeMultiplay::m_bNeededPlayers = false; +float CHalfLifeMultiplay::m_flEscapeRatio = 0; +float CHalfLifeMultiplay::m_flTimeLimit = 0; +float CHalfLifeMultiplay::m_flGameStartTime = 0; + // globals TYPEDESCRIPTION IMPL_CLASS(CBaseEntity, m_SaveData)[5]; TYPEDESCRIPTION IMPL_CLASS(CAirtank, m_SaveData)[1]; @@ -631,1375 +640,10 @@ int g_onladder; vec3_t vec3_origin; int nanmask; -// CAirtank -void CAirtank::Spawn() { Spawn_(); } -void CAirtank::Precache() { Precache_(); } -int CAirtank::Save(CSave &save) { return Save_(save); } -int CAirtank::Restore(CRestore &restore) { return Restore_(restore); } -void CAirtank::Killed(entvars_t *pevAttacker, int iGib) { Killed_(pevAttacker, iGib); } - -// Ammo -void C9MMAmmo::Spawn() { Spawn_(); } -void C9MMAmmo::Precache() { Precache_(); } -BOOL C9MMAmmo::AddAmmo(CBaseEntity *pOther) { return AddAmmo_(pOther); } - -void CBuckShotAmmo::Spawn() { Spawn_(); } -void CBuckShotAmmo::Precache() { Precache_(); } -BOOL CBuckShotAmmo::AddAmmo(CBaseEntity *pOther) { return AddAmmo_(pOther); } - -void C556NatoAmmo::Spawn() { Spawn_(); } -void C556NatoAmmo::Precache() { Precache_(); } -BOOL C556NatoAmmo::AddAmmo(CBaseEntity *pOther) { return AddAmmo_(pOther); } - -void C556NatoBoxAmmo::Spawn() { Spawn_(); } -void C556NatoBoxAmmo::Precache() { Precache_(); } -BOOL C556NatoBoxAmmo::AddAmmo(CBaseEntity *pOther) { return AddAmmo_(pOther); } - -void C762NatoAmmo::Spawn() { Spawn_(); } -void C762NatoAmmo::Precache() { Precache_(); } -BOOL C762NatoAmmo::AddAmmo(CBaseEntity *pOther) { return AddAmmo_(pOther); } - -void C45ACPAmmo::Spawn() { Spawn_(); } -void C45ACPAmmo::Precache() { Precache_(); } -BOOL C45ACPAmmo::AddAmmo(CBaseEntity *pOther) { return AddAmmo_(pOther); } - -void C50AEAmmo::Spawn() { Spawn_(); } -void C50AEAmmo::Precache() { Precache_(); } -BOOL C50AEAmmo::AddAmmo(CBaseEntity *pOther) { return AddAmmo_(pOther); } - -void C338MagnumAmmo::Spawn() { Spawn_(); } -void C338MagnumAmmo::Precache() { Precache_(); } -BOOL C338MagnumAmmo::AddAmmo(CBaseEntity *pOther) { return AddAmmo_(pOther); } - -void C57MMAmmo::Spawn() { Spawn_(); } -void C57MMAmmo::Precache() { Precache_(); } -BOOL C57MMAmmo::AddAmmo(CBaseEntity *pOther) { return AddAmmo_(pOther); } - -void C357SIGAmmo::Spawn() { Spawn_(); } -void C357SIGAmmo::Precache() { Precache_(); } -BOOL C357SIGAmmo::AddAmmo(CBaseEntity *pOther) { return AddAmmo_(pOther); } - -// Animating -int CBaseAnimating::Save(CSave &save) { return Save_(save); } -int CBaseAnimating::Restore(CRestore &restore) { return Restore_(restore); } - -// bmodels -void CFuncWall::Spawn() { Spawn_(); } -void CFuncWall::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CFuncWallToggle::Spawn() { Spawn_(); } -void CFuncWallToggle::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CFuncConveyor::Spawn() { Spawn_(); } -void CFuncConveyor::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CFuncIllusionary::Spawn() { Spawn_(); } -void CFuncIllusionary::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } - -void CFuncMonsterClip::Spawn() { Spawn_(); } - -void CFuncRotating::Spawn() { Spawn_(); } -void CFuncRotating::Precache() { Precache_(); } -void CFuncRotating::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CFuncRotating::Save(CSave &save) { return Save_(save); } -int CFuncRotating::Restore(CRestore &restore) { return Restore_(restore); } -void CFuncRotating::Blocked(CBaseEntity *pOther) { Blocked_(pOther); } - -void CPendulum::Spawn() { Spawn_(); } -void CPendulum::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CPendulum::Save(CSave &save) { return Save_(save); } -int CPendulum::Restore(CRestore &restore) { return Restore_(restore); } -void CPendulum::Touch(CBaseEntity *pOther) { Touch_(pOther); } -void CPendulum::Blocked(CBaseEntity *pOther) { Blocked_(pOther); } - -// buttons -void CBaseButton::Spawn() { Spawn_(); } -void CBaseButton::Precache() { Precache_(); } -void CBaseButton::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -BOOL CBaseButton::TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) { return TakeDamage_(pevInflictor, pevAttacker, flDamage, bitsDamageType); } -int CBaseButton::Save(CSave &save) { return Save_(save); } -int CBaseButton::Restore(CRestore &restore) { return Restore_(restore); } - -void CEnvGlobal::Spawn() { Spawn_(); } -void CEnvGlobal::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CEnvGlobal::Save(CSave &save) { return Save_(save); } -int CEnvGlobal::Restore(CRestore &restore) { return Restore_(restore); } -void CEnvGlobal::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CMultiSource::Spawn() { Spawn_(); } -void CMultiSource::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -void CMultiSource::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } -BOOL CMultiSource::IsTriggered(CBaseEntity *pActivator) { return IsTriggered_(pActivator); } -int CMultiSource::Save(CSave &save) { return Save_(save); } -int CMultiSource::Restore(CRestore &restore) { return Restore_(restore); } - -void CRotButton::Spawn() { Spawn_(); } - -void CMomentaryRotButton::Spawn() { Spawn_(); } -void CMomentaryRotButton::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CMomentaryRotButton::Save(CSave &save) { return Save_(save); } -int CMomentaryRotButton::Restore(CRestore &restore) { return Restore_(restore); } -void CMomentaryRotButton::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CEnvSpark::Spawn() { Spawn_(); } -void CEnvSpark::Precache() { Precache_(); } -void CEnvSpark::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CEnvSpark::Save(CSave &save) { return Save_(save); } -int CEnvSpark::Restore(CRestore &restore) { return Restore_(restore); } - -void CButtonTarget::Spawn() { Spawn_(); } -int CButtonTarget::ObjectCaps() { return ObjectCaps_(); } -BOOL CButtonTarget::TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) { return TakeDamage_(pevInflictor, pevAttacker, flDamage, bitsDamageType); } -void CButtonTarget::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -// career -void CCareerTask::OnEvent(GameEventType event, CBasePlayer *pAttacker, CBasePlayer *pVictim) { OnEvent_(event, pAttacker, pVictim); } -void CCareerTask::Reset() { Reset_(); } - -void CPreventDefuseTask::OnEvent(GameEventType event, CBasePlayer *pAttacker, CBasePlayer *pVictim) { OnEvent_(event, pAttacker, pVictim); } -void CPreventDefuseTask::Reset() { Reset_(); } - -// cbase -int CBaseEntity::Save(CSave &save) { return Save_(save); } -int CBaseEntity::Restore(CRestore &restore) { return Restore_(restore); } -void CBaseEntity::SetObjectCollisionBox() { SetObjectCollisionBox_(); } -void CBaseEntity::TraceAttack(entvars_t *pevAttacker,float flDamage,Vector vecDir,TraceResult *ptr,int bitsDamageType) { TraceAttack_(pevAttacker,flDamage,vecDir,ptr,bitsDamageType); } -BOOL CBaseEntity::TakeDamage(entvars_t *pevInflictor,entvars_t *pevAttacker,float flDamage,int bitsDamageType) { return TakeDamage_(pevInflictor,pevAttacker,flDamage,bitsDamageType); } -BOOL CBaseEntity::TakeHealth(float flHealth,int bitsDamageType) { return TakeHealth_(flHealth, bitsDamageType); } -void CBaseEntity::Killed(entvars_t *pevAttacker,int iGib) { Killed_(pevAttacker,iGib); } -void CBaseEntity::TraceBleed(float flDamage,Vector vecDir,TraceResult *ptr,int bitsDamageType) { TraceBleed_(flDamage,vecDir,ptr,bitsDamageType); } -int CBaseEntity::DamageDecal(int bitsDamageType) { return DamageDecal_(bitsDamageType); } -BOOL CBaseEntity::IsInWorld() { return IsInWorld_(); } -CBaseEntity *CBaseEntity::GetNextTarget() { return GetNextTarget_(); } -BOOL CBaseEntity::FVisible(CBaseEntity *pEntity) { return FVisible_(pEntity); } -BOOL CBaseEntity::FVisible(const Vector &vecOrigin) { return FVisible_(vecOrigin); } - -// combat -void CBaseMonster::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -void CBaseMonster::TraceAttack(entvars_t *pevAttacker,float flDamage,Vector vecDir,TraceResult *ptr,int bitsDamageType) { TraceAttack_(pevAttacker, flDamage, vecDir, ptr, bitsDamageType); } -BOOL CBaseMonster::TakeDamage(entvars_t *pevInflictor,entvars_t *pevAttacker,float flDamage,int bitsDamageType) { return TakeDamage_(pevInflictor, pevAttacker, flDamage, bitsDamageType); } -BOOL CBaseMonster::TakeHealth(float flHealth,int bitsDamageType) { return TakeHealth_(flHealth, bitsDamageType); } -void CBaseMonster::Killed(entvars_t *pevAttacker,int iGib) { Killed_(pevAttacker, iGib); } -float CBaseMonster::ChangeYaw(int speed) { return ChangeYaw_(speed); } -BOOL CBaseMonster::HasHumanGibs() { return HasHumanGibs_(); } -BOOL CBaseMonster::HasAlienGibs() { return HasHumanGibs_(); } -void CBaseMonster::FadeMonster() { FadeMonster_(); } -void CBaseMonster::GibMonster() { GibMonster_(); } -Activity CBaseMonster::GetDeathActivity() { return GetDeathActivity_(); } -void CBaseMonster::BecomeDead() { BecomeDead_(); } -BOOL CBaseMonster::ShouldFadeOnDeath() { return ShouldFadeOnDeath_(); } -int CBaseMonster::IRelationship(CBaseEntity *pTarget) { return IRelationship_(pTarget); } -void CBaseMonster::MonsterInitDead() { MonsterInitDead_(); } -void CBaseMonster::Look(int iDistance) { Look_(iDistance); } -CBaseEntity *CBaseMonster::BestVisibleEnemy() { return BestVisibleEnemy_(); } -BOOL CBaseMonster::FInViewCone(CBaseEntity *pEntity) { return FInViewCone_(pEntity); } -BOOL CBaseMonster::FInViewCone(const Vector *pOrigin) { return FInViewCone_(pOrigin); } - -// doors -void CBaseDoor::Spawn() { Spawn_(); } -void CBaseDoor::Precache() { Precache_(); } -void CBaseDoor::Restart() { Restart_(); } -void CBaseDoor::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CBaseDoor::Save(CSave &save) { return Save_(save); } -int CBaseDoor::Restore(CRestore &restore) { return Restore_(restore); } -void CBaseDoor::SetToggleState(int state) { SetToggleState_(state); } -void CBaseDoor::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } -void CBaseDoor::Blocked(CBaseEntity *pOther) { Blocked_(pOther); } -void CRotDoor::Spawn() { Spawn_(); } -void CRotDoor::Restart() { Restart_(); } -void CRotDoor::SetToggleState(int state) { SetToggleState_(state); } -void CMomentaryDoor::Spawn() { Spawn_(); } -void CMomentaryDoor::Precache() { Precache_(); } -void CMomentaryDoor::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CMomentaryDoor::Save(CSave &save) { return Save_(save); } -int CMomentaryDoor::Restore(CRestore &restore) { return Restore_(restore); } -void CMomentaryDoor::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -// effects -void CBombGlow::Spawn() { Spawn_(); } -void CBombGlow::Think() { Think_(); } - -void CSprite::Spawn() { Spawn_(); } -void CSprite::Precache() { Precache_(); } -void CSprite::Restart() { Restart_(); } -int CSprite::Save(CSave &save) { return Save_(save); } -int CSprite::Restore(CRestore &restore) { return Restore_(restore); } -void CSprite::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CBeam::Spawn() { Spawn_(); } -void CBeam::Precache() { Precache_(); } - -void CLaser::Spawn() { Spawn_(); } -void CLaser::Precache() { Precache_(); } -void CLaser::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CLaser::Save(CSave &save) { return Save_(save); } -int CLaser::Restore(CRestore &restore) { return Restore_(restore); } -void CLaser::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CBubbling::Spawn() { Spawn_(); } -void CBubbling::Precache() { Precache_(); } -void CBubbling::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CBubbling::Save(CSave &save) { return Save_(save); } -int CBubbling::Restore(CRestore &restore) { return Restore_(restore); } -void CBubbling::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CLightning::Spawn() { Spawn_(); } -void CLightning::Precache() { Precache_(); } -void CLightning::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CLightning::Save(CSave &save) { return Save_(save); } -int CLightning::Restore(CRestore &restore) { return Restore_(restore); } -void CLightning::Activate() { Activate_(); } - -void CGlow::Spawn() { Spawn_(); } -int CGlow::Save(CSave &save) { return Save_(save); } -int CGlow::Restore(CRestore &restore) { return Restore_(restore); } -void CGlow::Think() { Think_(); } - -void CGibShooter::Spawn() { Spawn_(); } -void CGibShooter::Precache() { Precache_(); } -void CGibShooter::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CGibShooter::Save(CSave &save) { return Save_(save); } -int CGibShooter::Restore(CRestore &restore) { return Restore_(restore); } -void CGibShooter::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } -CGib *CGibShooter::CreateGib() { return CreateGib_(); } - -void CEnvShooter::Precache() { Precache_(); } -void CEnvShooter::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -CGib *CEnvShooter::CreateGib() { return CreateGib_(); } - -void CTestEffect::Spawn() { Spawn_(); } -void CTestEffect::Precache() { Precache_(); } -void CTestEffect::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CBlood::Spawn() { Spawn_(); } -void CBlood::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -void CBlood::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CShake::Spawn() { Spawn_(); } -void CShake::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -void CShake::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CFade::Spawn() { Spawn_(); } -void CFade::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -void CFade::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CMessage::Spawn() { Spawn_(); } -void CMessage::Precache() { Precache_(); } -void CMessage::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -void CMessage::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CEnvFunnel::Spawn() { Spawn_(); } -void CEnvFunnel::Precache() { Precache_(); } -void CEnvFunnel::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CEnvBeverage::Spawn() { Spawn_(); } -void CEnvBeverage::Precache() { Precache_(); } -void CEnvBeverage::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CItemSoda::Spawn() { Spawn_(); } -void CItemSoda::Precache() { Precache_(); } - -// explode -void CShower::Spawn() { Spawn_(); } -void CShower::Think() { Think_(); } -void CShower::Touch(CBaseEntity *pOther) { Touch_(pOther); } - -void CEnvExplosion::Spawn() { Spawn_(); } -void CEnvExplosion::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CEnvExplosion::Save(CSave &save) { return Save_(save); } -int CEnvExplosion::Restore(CRestore &restore) { return Restore_(restore); } -void CEnvExplosion::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -// func_break -void CBreakable::Spawn() { Spawn_(); } -void CBreakable::Precache() { Precache_(); } -void CBreakable::Restart() { Restart_(); } -void CBreakable::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CBreakable::Save(CSave &save) { return Save_(save); } -int CBreakable::Restore(CRestore &restore) { return Restore_(restore); } -void CBreakable::TraceAttack(entvars_t *pevAttacker, float flDamage, Vector vecDir, TraceResult *ptr, int bitsDamageType) { TraceAttack_(pevAttacker, flDamage, vecDir, ptr, bitsDamageType); } -BOOL CBreakable::TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) { return TakeDamage_(pevInflictor, pevAttacker, flDamage, bitsDamageType); } -int CBreakable::DamageDecal(int bitsDamageType) { return DamageDecal_(bitsDamageType); } -void CBreakable::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CPushable::Spawn() { Spawn_(); } -void CPushable::Precache() { Precache_(); } -void CPushable::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CPushable::Save(CSave &save) { return Save_(save); } -int CPushable::Restore(CRestore &restore) { return Restore_(restore); } -BOOL CPushable::TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) { return TakeDamage_(pevInflictor, pevAttacker, flDamage, bitsDamageType); } -void CPushable::Touch(CBaseEntity *pOther) { Touch_(pOther); } -void CPushable::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -// func_tank -void CFuncTank::Spawn() { Spawn_(); } -void CFuncTank::Precache() { Precache_(); } -void CFuncTank::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CFuncTank::Save(CSave &save) { return Save_(save); } -int CFuncTank::Restore(CRestore &restore) { return Restore_(restore); } -BOOL CFuncTank::OnControls(entvars_t *pevTest) { return OnControls_(pevTest); } -void CFuncTank::Think() { Think_(); } -void CFuncTank::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } -void CFuncTank::Fire(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker) { Fire_(barrelEnd, forward, pevAttacker); } - -void CFuncTankGun::Fire(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker) { Fire_(barrelEnd, forward, pevAttacker); } - -void CFuncTankLaser::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CFuncTankLaser::Save(CSave &save) { return Save_(save); } -int CFuncTankLaser::Restore(CRestore &restore) { return Restore_(restore); } -void CFuncTankLaser::Activate() { Activate_(); } -void CFuncTankLaser::Think() { Think_(); } -void CFuncTankLaser::Fire(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker) { Fire_(barrelEnd, forward, pevAttacker); } - -void CFuncTankRocket::Precache() { Precache_(); } -void CFuncTankRocket::Fire(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker) { Fire_(barrelEnd, forward, pevAttacker); } - -void CFuncTankMortar::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -void CFuncTankMortar::Fire(const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker) { Fire_(barrelEnd, forward, pevAttacker); } - -void CFuncTankControls::Spawn() { Spawn_(); } -int CFuncTankControls::Save(CSave &save) { return Save_(save); } -int CFuncTankControls::Restore(CRestore &restore) { return Restore_(restore); } -void CFuncTankControls::Think() { Think_(); } -void CFuncTankControls::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -// gamerules -void CGameRules::RefreshSkillData() { RefreshSkillData_(); } -edict_t *CGameRules::GetPlayerSpawnSpot(CBasePlayer *pPlayer) { return GetPlayerSpawnSpot_(pPlayer); } -BOOL CGameRules::CanHavePlayerItem(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon) { return CanHavePlayerItem_(pPlayer, pWeapon); } -BOOL CGameRules::CanHaveAmmo(CBasePlayer *pPlayer, const char *pszAmmoName, int iMaxCarry) { return CanHaveAmmo_(pPlayer, pszAmmoName, iMaxCarry); } - -// grenade -void CGrenade::Spawn() { Spawn_(); } -int CGrenade::Save(CSave &save) { return Save_(save); } -int CGrenade::Restore(CRestore &restore) { return Restore_(restore); } -void CGrenade::Killed(entvars_t *pevAttacker, int iGib) { Killed_(pevAttacker, iGib); } -void CGrenade::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } -void CGrenade::BounceSound() { BounceSound_(); } - -// h_battery -void CRecharge::Spawn() { Spawn_(); } -void CRecharge::Precache() { Precache_(); } -void CRecharge::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CRecharge::Save(CSave &save) { return Save_(save); } -int CRecharge::Restore(CRestore &restore) { return Restore_(restore); } -void CRecharge::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -// h_cycler -void CWreckage::Spawn() { Spawn_(); } -void CWreckage::Precache() { Precache_(); } -int CWreckage::Save(CSave &save) { return Save_(save); } -int CWreckage::Restore(CRestore &restore) { return Restore_(restore); } -void CWreckage::Think() { Think_(); } - -void CWeaponCycler::Spawn() { Spawn_(); } -BOOL CWeaponCycler::Deploy() { return Deploy_(); } -void CWeaponCycler::Holster(int skiplocal) { Holster_(skiplocal); } -void CWeaponCycler::PrimaryAttack() { PrimaryAttack_(); } -void CWeaponCycler::SecondaryAttack() { SecondaryAttack_(); } - -void CCyclerSprite::Spawn() { Spawn_(); } -void CCyclerSprite::Restart() { Restart_(); } -int CCyclerSprite::Save(CSave &save) { return Save_(save); } -int CCyclerSprite::Restore(CRestore &restore) { return Restore_(restore); } -BOOL CCyclerSprite::TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) { return TakeDamage_(pevInflictor,pevAttacker,flDamage,bitsDamageType); } -void CCyclerSprite::Think() { Think_(); } -void CCyclerSprite::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator,pCaller,useType,value); } - -void CCycler::Spawn() { Spawn_(); } -int CCycler::Save(CSave &save) { return Save_(save); } -int CCycler::Restore(CRestore &restore) { return Restore_(restore); } -BOOL CCycler::TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) { return TakeDamage_(pevInflictor,pevAttacker,flDamage,bitsDamageType); } -void CCycler::Think() { Think_(); } -void CCycler::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator,pCaller,useType,value); } - -void CGenericCycler::Spawn() { Spawn_(); } - -void CCyclerProbe::Spawn() { Spawn_(); } - -// healthkit -void CHealthKit::Spawn() { Spawn_(); } -void CHealthKit::Precache() { Precache_(); } -BOOL CHealthKit::MyTouch(CBasePlayer *pPlayer) { return MyTouch_(pPlayer); } - -void CWallHealth::Spawn() { Spawn_(); } -void CWallHealth::Precache() { Precache_(); } -void CWallHealth::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CWallHealth::Save(CSave &save) { return Save_(save); } -int CWallHealth::Restore(CRestore &restore) { return Restore_(restore); } -void CWallHealth::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -// items -void CItem::Spawn() { Spawn_(); } -CBaseEntity *CItem::Respawn() { return Respawn_(); } - -//void CWorldItem::Spawn() { Spawn_(); } -//void CWorldItem::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } - -//void CItemSuit::Spawn() { Spawn_(); } -//void CItemSuit::Precache() { Precache_(); } -//BOOL CItemSuit::MyTouch(CBasePlayer *pPlayer) { return MyTouch_(pPlayer); } - -void CItemBattery::Spawn() { Spawn_(); } -void CItemBattery::Precache() { Precache_(); } -BOOL CItemBattery::MyTouch(CBasePlayer *pPlayer) { return MyTouch_(pPlayer); } - -void CItemAntidote::Spawn() { Spawn_(); } -void CItemAntidote::Precache() { Precache_(); } -BOOL CItemAntidote::MyTouch(CBasePlayer *pPlayer) { return MyTouch_(pPlayer); } - -//void CItemSecurity::Spawn() { Spawn_(); } -//void CItemSecurity::Precache() { Precache_(); } -//BOOL CItemSecurity::MyTouch(CBasePlayer *pPlayer) { return MyTouch_(pPlayer); } - -void CItemLongJump::Spawn() { Spawn_(); } -void CItemLongJump::Precache() { Precache_(); } -BOOL CItemLongJump::MyTouch(CBasePlayer *pPlayer) { return MyTouch_(pPlayer); } - -void CItemKevlar::Spawn() { Spawn_(); } -void CItemKevlar::Precache() { Precache_(); } -BOOL CItemKevlar::MyTouch(CBasePlayer *pPlayer) { return MyTouch_(pPlayer); } - -void CItemAssaultSuit::Spawn() { Spawn_(); } -void CItemAssaultSuit::Precache() { Precache_(); } -BOOL CItemAssaultSuit::MyTouch(CBasePlayer *pPlayer) { return MyTouch_(pPlayer); } - -void CItemThighPack::Spawn() { Spawn_(); } -void CItemThighPack::Precache() { Precache_(); } -BOOL CItemThighPack::MyTouch(CBasePlayer *pPlayer) { return MyTouch_(pPlayer); } - -// lights -void CLight::Spawn() { Spawn_(); } -void CLight::Restart() { Restart_(); } -int CLight::Save(CSave &save) { return Save_(save); } -int CLight::Restore(CRestore &restore) { return Restore_(restore); } -void CLight::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -void CLight::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CEnvLight::Spawn() { Spawn_(); } -void CEnvLight::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } - -// maprules -void CRuleEntity::Spawn() { Spawn_(); } -void CRuleEntity::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CRuleEntity::Save(CSave &save) { return Save_(save); } -int CRuleEntity::Restore(CRestore &restore) { return Restore_(restore); } - -void CRulePointEntity::Spawn() { Spawn_(); } - -void CRuleBrushEntity::Spawn() { Spawn_(); } - -void CGameScore::Spawn() { Spawn_(); } -void CGameScore::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -void CGameScore::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CGameEnd::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CGameText::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CGameText::Save(CSave &save) { return Save_(save); } -int CGameText::Restore(CRestore &restore) { return Restore_(restore); } -void CGameText::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CGameTeamMaster::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -BOOL CGameTeamMaster::IsTriggered(CBaseEntity *pActivator) { return IsTriggered_(pActivator); } -const char *CGameTeamMaster::TeamID() { return TeamID_(); } -void CGameTeamMaster::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CGameTeamSet::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CGamePlayerZone::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CGamePlayerZone::Save(CSave &save) { return Save_(save); } -int CGamePlayerZone::Restore(CRestore &restore) { return Restore_(restore); } -void CGamePlayerZone::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CGamePlayerHurt::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CGameCounter::Spawn() { Spawn_(); } -void CGameCounter::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CGameCounterSet::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CGamePlayerEquip::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -void CGamePlayerEquip::Touch(CBaseEntity *pOther) { Touch_(pOther); } -void CGamePlayerEquip::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CGamePlayerTeam::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -// mortar -void CFuncMortarField::Spawn() { Spawn_(); } -void CFuncMortarField::Precache() { Precache_(); } -void CFuncMortarField::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CFuncMortarField::Save(CSave &save) { return Save_(save); } -int CFuncMortarField::Restore(CRestore &restore) { return Restore_(restore); } - -void CMortar::Spawn() { Spawn_(); } -void CMortar::Precache() { Precache_(); } - -// multiplay_gamerules -void CMapInfo::Spawn() { Spawn_(); } -void CMapInfo::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } - -bool CCStrikeGameMgrHelper::CanPlayerHearPlayer(CBasePlayer *pListener, CBasePlayer *pSender) { return CanPlayerHearPlayer_(pListener, pSender); } - -void CHalfLifeMultiplay::RefreshSkillData() { RefreshSkillData_(); } -void CHalfLifeMultiplay::Think() { Think_(); } -BOOL CHalfLifeMultiplay::IsAllowedToSpawn(CBaseEntity *pEntity) { return IsAllowedToSpawn_(pEntity); } -BOOL CHalfLifeMultiplay::FAllowFlashlight() { return FAllowFlashlight_(); } -BOOL CHalfLifeMultiplay::FShouldSwitchWeapon(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon) { return FShouldSwitchWeapon_(pPlayer, pWeapon); } -BOOL CHalfLifeMultiplay::GetNextBestWeapon(CBasePlayer *pPlayer, CBasePlayerItem *pCurrentWeapon) { return GetNextBestWeapon_(pPlayer, pCurrentWeapon); } -BOOL CHalfLifeMultiplay::IsMultiplayer() { return IsMultiplayer_(); } -BOOL CHalfLifeMultiplay::IsDeathmatch() { return IsDeathmatch_(); } -BOOL CHalfLifeMultiplay::IsCoOp() { return IsCoOp_(); } -BOOL CHalfLifeMultiplay::ClientConnected(edict_t *pEntity, const char *pszName, const char *pszAddress, char szRejectReason[128]) { return ClientConnected_(pEntity, pszName, pszAddress, szRejectReason); } -void CHalfLifeMultiplay::InitHUD(CBasePlayer *pl) { InitHUD_(pl); } -void CHalfLifeMultiplay::ClientDisconnected(edict_t *pClient) { ClientDisconnected_(pClient); } -void CHalfLifeMultiplay::UpdateGameMode(CBasePlayer *pPlayer) { UpdateGameMode_(pPlayer); } -float CHalfLifeMultiplay::FlPlayerFallDamage(CBasePlayer *pPlayer) { return FlPlayerFallDamage_(pPlayer); } -BOOL CHalfLifeMultiplay::FPlayerCanTakeDamage(CBasePlayer *pPlayer, CBaseEntity *pAttacker) { return FPlayerCanTakeDamage_(pPlayer, pAttacker); } -void CHalfLifeMultiplay::PlayerSpawn(CBasePlayer *pPlayer) { PlayerSpawn_(pPlayer); } -void CHalfLifeMultiplay::PlayerThink(CBasePlayer *pPlayer) { PlayerThink_(pPlayer); } -BOOL CHalfLifeMultiplay::FPlayerCanRespawn(CBasePlayer *pPlayer) { return FPlayerCanRespawn_(pPlayer); } -float CHalfLifeMultiplay::FlPlayerSpawnTime(CBasePlayer *pPlayer) { return FlPlayerSpawnTime_(pPlayer); } -edict_t *CHalfLifeMultiplay::GetPlayerSpawnSpot(CBasePlayer *pPlayer) { return GetPlayerSpawnSpot_(pPlayer); } -BOOL CHalfLifeMultiplay::AllowAutoTargetCrosshair() { return AllowAutoTargetCrosshair_(); } -BOOL CHalfLifeMultiplay::ClientCommand_DeadOrAlive(CBasePlayer *pPlayer, const char *pcmd) { return ClientCommand_DeadOrAlive_(pPlayer, pcmd); } -BOOL CHalfLifeMultiplay::ClientCommand(CBasePlayer *pPlayer, const char *pcmd) { return ClientCommand_(pPlayer, pcmd); } -void CHalfLifeMultiplay::ClientUserInfoChanged(CBasePlayer *pPlayer, char *infobuffer) { ClientUserInfoChanged_(pPlayer, infobuffer); } -int CHalfLifeMultiplay::IPointsForKill(CBasePlayer *pAttacker, CBasePlayer *pKilled) { return IPointsForKill_(pAttacker, pKilled); } -void CHalfLifeMultiplay::PlayerKilled(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor) { PlayerKilled_(pVictim, pKiller, pInflictor); } -void CHalfLifeMultiplay::DeathNotice(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor) { DeathNotice_(pVictim, pKiller, pInflictor); } -BOOL CHalfLifeMultiplay::CanHavePlayerItem(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon) { return CanHavePlayerItem_(pPlayer, pWeapon); } -void CHalfLifeMultiplay::PlayerGotWeapon(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon) { PlayerGotWeapon_(pPlayer, pWeapon); } -int CHalfLifeMultiplay::WeaponShouldRespawn(CBasePlayerItem *pWeapon) { return WeaponShouldRespawn_(pWeapon); } -float CHalfLifeMultiplay::FlWeaponRespawnTime(CBasePlayerItem *pWeapon) { return FlWeaponRespawnTime_(pWeapon); } -float CHalfLifeMultiplay::FlWeaponTryRespawn(CBasePlayerItem *pWeapon) { return FlWeaponTryRespawn_(pWeapon); } -Vector CHalfLifeMultiplay::VecWeaponRespawnSpot(CBasePlayerItem *pWeapon) { return VecWeaponRespawnSpot_(pWeapon); } -BOOL CHalfLifeMultiplay::CanHaveItem(CBasePlayer *pPlayer, CItem *pItem) { return CanHaveItem_(pPlayer, pItem); } -void CHalfLifeMultiplay::PlayerGotItem(CBasePlayer *pPlayer, CItem *pItem) { PlayerGotItem_(pPlayer, pItem); } -int CHalfLifeMultiplay::ItemShouldRespawn(CItem *pItem) { return ItemShouldRespawn_(pItem); } -float CHalfLifeMultiplay::FlItemRespawnTime(CItem *pItem) { return FlItemRespawnTime_(pItem); } -Vector CHalfLifeMultiplay::VecItemRespawnSpot(CItem *pItem) { return VecItemRespawnSpot_(pItem); } -void CHalfLifeMultiplay::PlayerGotAmmo(CBasePlayer *pPlayer, char *szName, int iCount) { PlayerGotAmmo_(pPlayer, szName, iCount); } -int CHalfLifeMultiplay::AmmoShouldRespawn(CBasePlayerAmmo *pAmmo) { return AmmoShouldRespawn_(pAmmo); } -float CHalfLifeMultiplay::FlAmmoRespawnTime(CBasePlayerAmmo *pAmmo) { return FlAmmoRespawnTime_(pAmmo); } -Vector CHalfLifeMultiplay::VecAmmoRespawnSpot(CBasePlayerAmmo *pAmmo) { return VecAmmoRespawnSpot_(pAmmo); } -float CHalfLifeMultiplay::FlHealthChargerRechargeTime() { return FlHealthChargerRechargeTime_(); } -float CHalfLifeMultiplay::FlHEVChargerRechargeTime() { return FlHEVChargerRechargeTime_(); } -int CHalfLifeMultiplay::DeadPlayerWeapons(CBasePlayer *pPlayer) { return DeadPlayerWeapons_(pPlayer); } -int CHalfLifeMultiplay::DeadPlayerAmmo(CBasePlayer *pPlayer) { return DeadPlayerAmmo_(pPlayer); } -int CHalfLifeMultiplay::PlayerRelationship(CBasePlayer *pPlayer, CBaseEntity *pTarget) { return PlayerRelationship_(pPlayer, pTarget); } -BOOL CHalfLifeMultiplay::FAllowMonsters() { return FAllowMonsters_(); } -void CHalfLifeMultiplay::ServerDeactivate() { ServerDeactivate_(); } -void CHalfLifeMultiplay::CheckMapConditions() { CheckMapConditions_(); } -void CHalfLifeMultiplay::CleanUpMap() { CleanUpMap_(); } -void CHalfLifeMultiplay::RestartRound() { RestartRound_(); } -void CHalfLifeMultiplay::CheckWinConditions() { CheckWinConditions_(); } -void CHalfLifeMultiplay::RemoveGuns() { RemoveGuns_(); } -void CHalfLifeMultiplay::GiveC4() { GiveC4_(); } -void CHalfLifeMultiplay::ChangeLevel() { ChangeLevel_(); } -void CHalfLifeMultiplay::GoToIntermission() { GoToIntermission_(); } - -// pathcorner -void CPathCorner::Spawn() { Spawn_(); } -void CPathCorner::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CPathCorner::Save(CSave &save) { return Save_(save); } -int CPathCorner::Restore(CRestore &restore) { return Restore_(restore); } - -void CPathTrack::Spawn() { Spawn_(); } -void CPathTrack::KeyValue(KeyValueData* pkvd) { KeyValue_(pkvd); } -int CPathTrack::Save(CSave &save) { return Save_(save); } -int CPathTrack::Restore(CRestore &restore) { return Restore_(restore); } -void CPathTrack::Activate() { Activate_(); } -void CPathTrack::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -// plats -void CBasePlatTrain::Precache() { Precache_(); } -void CBasePlatTrain::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CBasePlatTrain::Save(CSave &save) { return Save_(save); } -int CBasePlatTrain::Restore(CRestore &restore) { return Restore_(restore); } - -void CFuncPlat::Spawn() { Spawn_(); } -void CFuncPlat::Precache() { Precache_(); } -void CFuncPlat::Blocked(CBaseEntity *pOther) { Blocked_(pOther); } -void CFuncPlat::GoUp() { GoUp_(); } -void CFuncPlat::GoDown() { GoDown_(); } -void CFuncPlat::HitTop() { HitTop_(); } -void CFuncPlat::HitBottom() { HitBottom_(); } - -void CPlatTrigger::Touch(CBaseEntity *pOther) { Touch_(pOther); } - -void CFuncPlatRot::Spawn() { Spawn_(); } -int CFuncPlatRot::Save(CSave &save) { return Save_(save); } -int CFuncPlatRot::Restore(CRestore &restore) { return Restore_(restore); } -void CFuncPlatRot::GoUp() { GoUp_(); } -void CFuncPlatRot::GoDown() { GoDown_(); } -void CFuncPlatRot::HitTop() { HitTop_(); } -void CFuncPlatRot::HitBottom() { HitBottom_(); } - -void CFuncTrain::Spawn() { Spawn_(); } -void CFuncTrain::Precache() { Precache_(); } -void CFuncTrain::Restart() { Restart_(); } -void CFuncTrain::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CFuncTrain::Save(CSave &save) { return Save_(save); } -int CFuncTrain::Restore(CRestore &restore) { return Restore_(restore); } -void CFuncTrain::Activate() { Activate_(); } -void CFuncTrain::OverrideReset() { OverrideReset_(); } -void CFuncTrain::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } -void CFuncTrain::Blocked(CBaseEntity *pOther) { Blocked_(pOther); } - -void CFuncTrackTrain::Spawn() { Spawn_(); } -void CFuncTrackTrain::Precache() { Precache_(); } -void CFuncTrackTrain::Restart() { Restart_(); } -void CFuncTrackTrain::KeyValue(KeyValueData* pkvd) { KeyValue_(pkvd); } -int CFuncTrackTrain::Save(CSave &save) { return Save_(save); } -int CFuncTrackTrain::Restore(CRestore &restore) { return Restore_(restore); } -void CFuncTrackTrain::OverrideReset() { OverrideReset_(); } -BOOL CFuncTrackTrain::OnControls(entvars_t *pev) { return OnControls_(pev); } -void CFuncTrackTrain::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } -void CFuncTrackTrain::Blocked(CBaseEntity *pOther) { Blocked_(pOther); } - -void CFuncTrainControls::Spawn() { Spawn_(); } - -void CFuncTrackChange::Spawn() { Spawn_(); } -void CFuncTrackChange::Precache() { Precache_(); } -void CFuncTrackChange::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CFuncTrackChange::Save(CSave &save) { return Save_(save); } -int CFuncTrackChange::Restore(CRestore &restore) { return Restore_(restore); } -void CFuncTrackChange::OverrideReset() { OverrideReset_(); } -void CFuncTrackChange::Touch(CBaseEntity *pOther) { Touch_(pOther); } -void CFuncTrackChange::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } -BOOL CFuncTrackChange::IsTogglePlat() { return IsTogglePlat_(); } -void CFuncTrackChange::GoUp() { GoUp_(); } -void CFuncTrackChange::GoDown() { GoDown_(); } -void CFuncTrackChange::HitBottom() { HitBottom_(); } -void CFuncTrackChange::HitTop() { HitTop_(); } -void CFuncTrackChange::UpdateAutoTargets(int toggleState) { UpdateAutoTargets_(toggleState); } - -void CFuncTrackAuto::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } -void CFuncTrackAuto::UpdateAutoTargets(int toggleState) { UpdateAutoTargets_(toggleState); } - -void CGunTarget::Spawn() { Spawn_(); } -int CGunTarget::Save(CSave &save) { return Save_(save); } -int CGunTarget::Restore(CRestore &restore) { return Restore_(restore); } -void CGunTarget::Activate() { Activate_(); } -BOOL CGunTarget::TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) { return TakeDamage_(pevInflictor, pevAttacker, flDamage, bitsDamageType); } -void CGunTarget::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -// player -void CBasePlayer::Spawn() { Spawn_(); } -void CBasePlayer::Precache() { Precache_(); } -int CBasePlayer::Save(CSave &save) { return Save_(save); } -int CBasePlayer::ObjectCaps() { return ObjectCaps_(); } -int CBasePlayer::Restore(CRestore &restore) { return Restore_(restore); } -int CBasePlayer::Classify() { return Classify_(); } -void CBasePlayer::TraceAttack(entvars_t *pevAttacker, float flDamage, Vector vecDir, TraceResult *ptr, int bitsDamageType) { TraceAttack_(pevAttacker, flDamage, vecDir, ptr, bitsDamageType); } -BOOL CBasePlayer::TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) { return TakeDamage_(pevInflictor, pevAttacker, flDamage, bitsDamageType); } -BOOL CBasePlayer::TakeHealth(float flHealth, int bitsDamageType) { return TakeHealth_(flHealth, bitsDamageType); } -void CBasePlayer::Killed(entvars_t *pevAttacker, int iGib) { Killed_(pevAttacker, iGib); } -void CBasePlayer::AddPoints(int score, BOOL bAllowNegativeScore) { AddPoints_(score, bAllowNegativeScore); } -void CBasePlayer::AddPointsToTeam(int score, BOOL bAllowNegativeScore) { AddPointsToTeam_(score, bAllowNegativeScore); } -BOOL CBasePlayer::AddPlayerItem(CBasePlayerItem *pItem) { return AddPlayerItem_(pItem); } -BOOL CBasePlayer::RemovePlayerItem(CBasePlayerItem *pItem) { return RemovePlayerItem_(pItem); } -int CBasePlayer::GiveAmmo(int iAmount, char *szName, int iMax) { return GiveAmmo_(iAmount, szName, iMax); } -const char *CBasePlayer::TeamID() { return TeamID_(); } -BOOL CBasePlayer::FBecomeProne() { return FBecomeProne_(); } -int CBasePlayer::Illumination() { return Illumination_(); } -void CBasePlayer::ResetMaxSpeed() { ResetMaxSpeed_(); } -void CBasePlayer::Jump() { Jump_(); } -void CBasePlayer::Duck() { Duck_(); } -void CBasePlayer::PreThink() { PreThink_(); } -void CBasePlayer::PostThink() { PostThink_(); } -Vector CBasePlayer::GetGunPosition() { return GetGunPosition_(); } -void CBasePlayer::UpdateClientData() { UpdateClientData_(); } -void CBasePlayer::ImpulseCommands() { ImpulseCommands_(); } -void CBasePlayer::RoundRespawn() { RoundRespawn_(); } -Vector CBasePlayer::GetAutoaimVector(float flDelta) { return GetAutoaimVector_(flDelta); } -void CBasePlayer::Blind(float flUntilTime, float flHoldTime, float flFadeTime, int iAlpha) { Blind_(flUntilTime, flHoldTime, flFadeTime, iAlpha); } - -void CStripWeapons::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CRevertSaved::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CRevertSaved::Save(CSave &save) { return Save_(save); } -int CRevertSaved::Restore(CRestore &restore) { return Restore_(restore); } -void CRevertSaved::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CDeadHEV::Spawn() { Spawn_(); } -void CDeadHEV::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CDeadHEV::Classify() { return Classify_(); } - -void CSprayCan::Think() { Think_(); } - -void CInfoIntermission::Spawn() { Spawn_(); } -void CInfoIntermission::Think() { Think_(); } - -void CWShield::Spawn() { Spawn_(); } -void CWShield::Touch(CBaseEntity *pOther) { Touch_(pOther); } - -// singleplay_gamerules -void CHalfLifeRules::Think() { Think_(); } -BOOL CHalfLifeRules::IsAllowedToSpawn(CBaseEntity *pEntity) { return IsAllowedToSpawn_(pEntity); } -BOOL CHalfLifeRules::FShouldSwitchWeapon(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon) { return FShouldSwitchWeapon_(pPlayer, pWeapon); } -BOOL CHalfLifeRules::GetNextBestWeapon(CBasePlayer *pPlayer, CBasePlayerItem *pCurrentWeapon) { return GetNextBestWeapon_(pPlayer, pCurrentWeapon); } -BOOL CHalfLifeRules::IsMultiplayer() { return IsMultiplayer_(); } -BOOL CHalfLifeRules::IsDeathmatch() { return IsDeathmatch_(); } -BOOL CHalfLifeRules::IsCoOp() { return IsCoOp_(); } -BOOL CHalfLifeRules::ClientConnected(edict_t *pEntity, const char *pszName, const char *pszAddress, char szRejectReason[128]) { return ClientConnected_(pEntity, pszName, pszAddress, szRejectReason); } -void CHalfLifeRules::InitHUD(CBasePlayer *pl) { InitHUD_(pl); } -void CHalfLifeRules::ClientDisconnected(edict_t *pClient) { ClientDisconnected_(pClient); } -float CHalfLifeRules::FlPlayerFallDamage(CBasePlayer *pPlayer) { return FlPlayerFallDamage_(pPlayer); } -void CHalfLifeRules::PlayerSpawn(CBasePlayer *pPlayer) { PlayerSpawn_(pPlayer); } -void CHalfLifeRules::PlayerThink(CBasePlayer *pPlayer) { PlayerThink_(pPlayer); } -BOOL CHalfLifeRules::FPlayerCanRespawn(CBasePlayer *pPlayer) { return FPlayerCanRespawn_(pPlayer); } -float CHalfLifeRules::FlPlayerSpawnTime(CBasePlayer *pPlayer) { return FlPlayerSpawnTime_(pPlayer); } -edict_t *CHalfLifeRules::GetPlayerSpawnSpot(CBasePlayer *pPlayer) { return GetPlayerSpawnSpot_(pPlayer); } -BOOL CHalfLifeRules::AllowAutoTargetCrosshair() { return AllowAutoTargetCrosshair_(); } -int CHalfLifeRules::IPointsForKill(CBasePlayer *pAttacker, CBasePlayer *pKilled) { return IPointsForKill_(pAttacker, pKilled); } -void CHalfLifeRules::PlayerKilled(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor) { PlayerKilled_(pVictim, pKiller, pInflictor); } -void CHalfLifeRules::DeathNotice(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor) { DeathNotice_(pVictim, pKiller, pInflictor); } -void CHalfLifeRules::PlayerGotWeapon(CBasePlayer *pPlayer, CBasePlayerItem *pWeapon) { PlayerGotWeapon_(pPlayer, pWeapon); } -int CHalfLifeRules::WeaponShouldRespawn(CBasePlayerItem *pWeapon) { return WeaponShouldRespawn_(pWeapon); } -float CHalfLifeRules::FlWeaponRespawnTime(CBasePlayerItem *pWeapon) { return FlWeaponRespawnTime_(pWeapon); } -float CHalfLifeRules::FlWeaponTryRespawn(CBasePlayerItem *pWeapon) { return FlWeaponTryRespawn_(pWeapon); } -Vector CHalfLifeRules::VecWeaponRespawnSpot(CBasePlayerItem *pWeapon) { return VecWeaponRespawnSpot_(pWeapon); } -BOOL CHalfLifeRules::CanHaveItem(CBasePlayer *pPlayer, CItem *pItem) { return CanHaveItem_(pPlayer, pItem); } -void CHalfLifeRules::PlayerGotItem(CBasePlayer *pPlayer, CItem *pItem) { PlayerGotItem_(pPlayer, pItem); } -int CHalfLifeRules::ItemShouldRespawn(CItem *pItem) { return ItemShouldRespawn_(pItem); } -float CHalfLifeRules::FlItemRespawnTime(CItem *pItem) { return FlItemRespawnTime_(pItem); } -Vector CHalfLifeRules::VecItemRespawnSpot(CItem *pItem) { return VecItemRespawnSpot_(pItem); } -void CHalfLifeRules::PlayerGotAmmo(CBasePlayer *pPlayer, char *szName, int iCount) { PlayerGotAmmo_(pPlayer, szName, iCount); } -int CHalfLifeRules::AmmoShouldRespawn(CBasePlayerAmmo *pAmmo) { return AmmoShouldRespawn_(pAmmo); } -float CHalfLifeRules::FlAmmoRespawnTime(CBasePlayerAmmo *pAmmo) { return FlAmmoRespawnTime_(pAmmo); } -Vector CHalfLifeRules::VecAmmoRespawnSpot(CBasePlayerAmmo *pAmmo) { return VecAmmoRespawnSpot_(pAmmo); } -float CHalfLifeRules::FlHealthChargerRechargeTime() { return FlHealthChargerRechargeTime_(); } -int CHalfLifeRules::DeadPlayerWeapons(CBasePlayer *pPlayer) { return DeadPlayerWeapons_(pPlayer); } -int CHalfLifeRules::DeadPlayerAmmo(CBasePlayer *pPlayer) { return DeadPlayerAmmo_(pPlayer); } -int CHalfLifeRules::PlayerRelationship(CBasePlayer *pPlayer, CBaseEntity *pTarget) { return PlayerRelationship_(pPlayer, pTarget); } -BOOL CHalfLifeRules::FAllowMonsters() { return FAllowMonsters_(); } - // sound int gcTextures; BOOL fTextureTypeInit; -void CAmbientGeneric::Spawn() { Spawn_(); } -void CAmbientGeneric::Precache() { Precache_(); } -void CAmbientGeneric::Restart() { Restart_(); } -void CAmbientGeneric::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CAmbientGeneric::Save(CSave &save) { return Save_(save); } -int CAmbientGeneric::Restore(CRestore &restore) { return Restore_(restore); } - -void CEnvSound::Spawn() { Spawn_(); } -void CEnvSound::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CEnvSound::Save(CSave &save) { return Save_(save); } -int CEnvSound::Restore(CRestore &restore) { return Restore_(restore); } -void CEnvSound::Think() { Think_(); } - -void CSpeaker::Spawn() { Spawn_(); } -void CSpeaker::Precache() { Precache_(); } -void CSpeaker::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CSpeaker::Save(CSave &save) { return Save_(save); } -int CSpeaker::Restore(CRestore &restore) { return Restore_(restore); } - -// soundent -void CSoundEnt::Spawn() { Spawn_(); } -void CSoundEnt::Precache() { Precache_(); } -void CSoundEnt::Think() { Think_(); } - -// spectator -void CBaseSpectator::Spawn() { Spawn_(); } - -// subs -void CNullEntity::Spawn() { Spawn_(); } - -void CPointEntity::Spawn() { Spawn_(); } - -void CBaseDelay::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CBaseDelay::Save(CSave &save) { return Save_(save); } -int CBaseDelay::Restore(CRestore &restore) { return Restore_(restore); } - -void CBaseToggle::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CBaseToggle::Save(CSave &save) { return Save_(save); } -int CBaseToggle::Restore(CRestore &restore) { return Restore_(restore); } - -void CBaseDMStart::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -BOOL CBaseDMStart::IsTriggered(CBaseEntity *pEntity) { return IsTriggered_(pEntity); } - -// training_gamerules -void CBaseGrenCatch::Spawn() { Spawn_(); } -void CBaseGrenCatch::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CBaseGrenCatch::Save(CSave &save) { return Save_(save); } -int CBaseGrenCatch::Restore(CRestore &restore) { return Restore_(restore); } -void CBaseGrenCatch::Think() { Think_(); } -void CBaseGrenCatch::Touch(CBaseEntity *pOther) { Touch_(pOther); } - -void CFuncWeaponCheck::Spawn() { Spawn_(); } -void CFuncWeaponCheck::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CFuncWeaponCheck::Save(CSave &save) { return Save_(save); } -int CFuncWeaponCheck::Restore(CRestore &restore) { return Restore_(restore); } -void CFuncWeaponCheck::Touch(CBaseEntity *pOther) { Touch_(pOther); } - -BOOL CHalfLifeTraining::IsDeathmatch() { return IsDeathmatch_(); } -void CHalfLifeTraining::InitHUD(CBasePlayer *pl) { InitHUD_(pl); } -void CHalfLifeTraining::PlayerSpawn(CBasePlayer *pPlayer) { PlayerSpawn_(pPlayer); } -void CHalfLifeTraining::PlayerThink(CBasePlayer *pPlayer) { PlayerThink_(pPlayer); } -BOOL CHalfLifeTraining::FPlayerCanRespawn(CBasePlayer *pPlayer) { return FPlayerCanRespawn_(pPlayer); } -edict_t *CHalfLifeTraining::GetPlayerSpawnSpot(CBasePlayer *pPlayer) { return GetPlayerSpawnSpot_(pPlayer); } -void CHalfLifeTraining::PlayerKilled(CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor) { PlayerKilled_(pVictim, pKiller, pInflictor); } -int CHalfLifeTraining::ItemShouldRespawn(CItem *pItem) { return ItemShouldRespawn_(pItem); } -void CHalfLifeTraining::CheckWinConditions() { CheckWinConditions_(); } - -// triggers -void CFrictionModifier::Spawn() { Spawn_(); } -void CFrictionModifier::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CFrictionModifier::Save(CSave &save) { return Save_(save); } -int CFrictionModifier::Restore(CRestore &restore) { return Restore_(restore); } - -void CAutoTrigger::Spawn() { Spawn_(); } -void CAutoTrigger::Precache() { Precache_(); } -void CAutoTrigger::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CAutoTrigger::Save(CSave &save) { return Save_(save); } -int CAutoTrigger::Restore(CRestore &restore) { return Restore_(restore); } -void CAutoTrigger::Think() { Think_(); } - -void CTriggerRelay::Spawn() { Spawn_(); } -void CTriggerRelay::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CTriggerRelay::Save(CSave &save) { return Save_(save); } -int CTriggerRelay::Restore(CRestore &restore) { return Restore_(restore); } -void CTriggerRelay::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CMultiManager::Spawn() { Spawn_(); } -void CMultiManager::Restart() { Restart_(); } -void CMultiManager::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CMultiManager::Save(CSave &save) { return Save_(save); } -int CMultiManager::Restore(CRestore &restore) { return Restore_(restore); } -BOOL CMultiManager::HasTarget(string_t targetname) { return HasTarget_(targetname); } - -void CRenderFxManager::Spawn() { Spawn_(); } -void CRenderFxManager::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CBaseTrigger::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } - -void CTriggerHurt::Spawn() { Spawn_(); } - -void CTriggerMonsterJump::Spawn() { Spawn_(); } -void CTriggerMonsterJump::Think() { Think_(); } -void CTriggerMonsterJump::Touch(CBaseEntity *pOther) { Touch_(pOther); } - -void CTriggerCDAudio::Spawn() { Spawn_(); } -void CTriggerCDAudio::Touch(CBaseEntity *pOther) { Touch_(pOther); } -void CTriggerCDAudio::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CTargetCDAudio::Spawn() { Spawn_(); } -void CTargetCDAudio::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -void CTargetCDAudio::Think() { Think_(); } -void CTargetCDAudio::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CTriggerMultiple::Spawn() { Spawn_(); } - -void CTriggerOnce::Spawn() { Spawn_(); } - -void CTriggerCounter::Spawn() { Spawn_(); } - -void CTriggerVolume::Spawn() { Spawn_(); } - -void CFireAndDie::Spawn() { Spawn_(); } -void CFireAndDie::Precache() { Precache_(); } -void CFireAndDie::Think() { Think_(); } - -void CChangeLevel::Spawn() { Spawn_(); } -void CChangeLevel::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CChangeLevel::Save(CSave &save) { return Save_(save); } -int CChangeLevel::Restore(CRestore &restore) { return Restore_(restore); } - -void CLadder::Spawn() { Spawn_(); } -void CLadder::Precache() { Precache_(); } -void CLadder::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } - -void CTriggerPush::Spawn() { Spawn_(); } -void CTriggerPush::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -void CTriggerPush::Touch(CBaseEntity *pOther) { Touch_(pOther); } - -void CTriggerTeleport::Spawn() { Spawn_(); } - -void CBuyZone::Spawn() { Spawn_(); } - -void CBombTarget::Spawn() { Spawn_(); } - -void CHostageRescue::Spawn() { Spawn_(); } - -void CEscapeZone::Spawn() { Spawn_(); } - -void CVIP_SafetyZone::Spawn() { Spawn_(); } - -void CTriggerSave::Spawn() { Spawn_(); } - -void CTriggerEndSection::Spawn() { Spawn_(); } -void CTriggerEndSection::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } - -void CTriggerGravity::Spawn() { Spawn_(); } - -void CTriggerChangeTarget::Spawn() { Spawn_(); } -void CTriggerChangeTarget::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CTriggerChangeTarget::Save(CSave &save) { return Save_(save); } -int CTriggerChangeTarget::Restore(CRestore &restore) { return Restore_(restore); } -void CTriggerChangeTarget::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CTriggerCamera::Spawn() { Spawn_(); } -void CTriggerCamera::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CTriggerCamera::Save(CSave &save) { return Save_(save); } -int CTriggerCamera::Restore(CRestore &restore) { return Restore_(restore); } -void CTriggerCamera::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -void CClientFog::Spawn() { Spawn_(); } -void CClientFog::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } - -void CWeather::Spawn() { Spawn_(); } - -// tutor_base_tutor -bool CBaseTutor::IsEntityInViewOfPlayer(CBaseEntity *entity, CBasePlayer *player) { return IsEntityInViewOfPlayer_(entity, player); } -bool CBaseTutor::IsBombsiteInViewOfPlayer(CBaseEntity *entity, CBasePlayer *player) { return IsBombsiteInViewOfPlayer_(entity, player); } -bool CBaseTutor::IsEntityInBombsite(CBaseEntity *bombsite, CBaseEntity *entity) { return IsEntityInBombsite_(bombsite, entity); } -bool CBaseTutor::IsPlayerLookingAtPosition(Vector *origin, CBasePlayer *player) { return IsPlayerLookingAtPosition_(origin, player); } -bool CBaseTutor::IsPlayerLookingAtEntity(CBaseEntity *entity, CBasePlayer *player) { return IsPlayerLookingAtEntity_(entity, player); } - -// tutor_cs_states -bool CCSTutorStateSystem::UpdateState(GameEventType event, CBaseEntity *entity, CBaseEntity *other) { return UpdateState_(event, entity, other); } -char *CCSTutorStateSystem::GetCurrentStateString() { return GetCurrentStateString_(); } -CBaseTutorState *CCSTutorStateSystem::ConstructNewState(int stateType) { return ConstructNewState_(stateType); } - -int CCSTutorUndefinedState::CheckForStateTransition(GameEventType event, CBaseEntity *entity, CBaseEntity *other) { return CheckForStateTransition_(event, entity, other); } -char *CCSTutorUndefinedState::GetStateString() { return GetStateString_(); } - -int CCSTutorWaitingForStartState::CheckForStateTransition(GameEventType event, CBaseEntity *entity, CBaseEntity *other) { return CheckForStateTransition_(event, entity, other); } -char *CCSTutorWaitingForStartState::GetStateString() { return GetStateString_(); } - -int CCSTutorBuyMenuState::CheckForStateTransition(GameEventType event, CBaseEntity *entity, CBaseEntity *other) { return CheckForStateTransition_(event, entity, other); } -char *CCSTutorBuyMenuState::GetStateString() { return GetStateString_(); } - -// tutor_cs_tutor -void CCSTutor::TutorThink(float time) { TutorThink_(time); } -void CCSTutor::PurgeMessages() { PurgeMessages_(); } -void CCSTutor::CallEventHandler(GameEventType event, CBaseEntity *entity, CBaseEntity *other) { CallEventHandler_(event, entity, other); } -void CCSTutor::ShowTutorMessage(TutorMessageEvent *event) { ShowTutorMessage_(event); } -void CCSTutor::HandleShotFired(Vector source, Vector target) { HandleShotFired_(source, target); } -TutorMessage *CCSTutor::GetTutorMessageDefinition(int messageID) { return GetTutorMessageDefinition_(messageID); } - -// vehicle -void CFuncVehicle::Spawn() { Spawn_(); } -void CFuncVehicle::Precache() { Precache_(); } -void CFuncVehicle::Restart() { Restart_(); } -void CFuncVehicle::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CFuncVehicle::Save(CSave &save) { return Save_(save); } -int CFuncVehicle::Restore(CRestore &restore) { return Restore_(restore); } -int CFuncVehicle::Classify() { return Classify_(); } -void CFuncVehicle::OverrideReset() { OverrideReset_(); } -BOOL CFuncVehicle::OnControls(entvars_t *pev) { return OnControls_(pev); } -void CFuncVehicle::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } -void CFuncVehicle::Blocked(CBaseEntity *pOther) { Blocked_(pOther); } -void CFuncVehicleControls::Spawn() { Spawn_(); } - -// weapons -void CArmoury::Spawn() { Spawn_(); } -void CArmoury::Precache() { Precache_(); } -void CArmoury::Restart() { Restart_(); } -void CArmoury::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } - -void CBasePlayerAmmo::Spawn() { Spawn_(); } -CBaseEntity *CBasePlayerAmmo::Respawn() { return Respawn_(); } - -int CBasePlayerWeapon::Save(CSave &save) { return Save_(save); } -int CBasePlayerWeapon::Restore(CRestore &restore) { return Restore_(restore); } -int CBasePlayerWeapon::AddToPlayer(CBasePlayer *pPlayer) { return AddToPlayer_(pPlayer); } -int CBasePlayerWeapon::AddDuplicate(CBasePlayerItem *pItem) { return AddDuplicate_(pItem); } -BOOL CBasePlayerWeapon::CanDeploy() { return CanDeploy_(); } -void CBasePlayerWeapon::Holster(int skiplocal) { Holster_(skiplocal); } -void CBasePlayerWeapon::ItemPostFrame() { ItemPostFrame_(); } -int CBasePlayerWeapon::PrimaryAmmoIndex() { return PrimaryAmmoIndex_(); } -int CBasePlayerWeapon::SecondaryAmmoIndex() { return SecondaryAmmoIndex_(); } -int CBasePlayerWeapon::UpdateClientData(CBasePlayer *pPlayer) { return UpdateClientData_(pPlayer); } -int CBasePlayerWeapon::ExtractAmmo(CBasePlayerWeapon *pWeapon) { return ExtractAmmo_(pWeapon); } -int CBasePlayerWeapon::ExtractClipAmmo(CBasePlayerWeapon *pWeapon) { return ExtractClipAmmo_(pWeapon); } -BOOL CBasePlayerWeapon::PlayEmptySound() { return PlayEmptySound_(); } -void CBasePlayerWeapon::ResetEmptySound() { ResetEmptySound_(); } -void CBasePlayerWeapon::SendWeaponAnim(int iAnim,int skiplocal) { SendWeaponAnim_(iAnim,skiplocal); } -BOOL CBasePlayerWeapon::IsUseable() { return IsUseable_(); } -void CBasePlayerWeapon::RetireWeapon() { RetireWeapon_(); } - -int CBasePlayerItem::Save(CSave &save) { return Save_(save); } -int CBasePlayerItem::Restore(CRestore &restore) { return Restore_(restore); } -void CBasePlayerItem::SetObjectCollisionBox() { SetObjectCollisionBox_(); } -CBaseEntity *CBasePlayerItem::Respawn() { return Respawn_(); } -int CBasePlayerItem::AddToPlayer(CBasePlayer *pPlayer) { return AddToPlayer_(pPlayer); } -void CBasePlayerItem::Holster(int skiplocal) { Holster_(skiplocal); } -void CBasePlayerItem::Drop() { Drop_(); } -void CBasePlayerItem::Kill() { Kill_(); } -void CBasePlayerItem::AttachToPlayer(CBasePlayer *pPlayer) { AttachToPlayer_(pPlayer); } - -void CWeaponBox::Spawn() { Spawn_(); } -void CWeaponBox::Precache() { Precache_(); } -void CWeaponBox::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -int CWeaponBox::Save(CSave &save) { return Save_(save); } -int CWeaponBox::Restore(CRestore &restore) { return Restore_(restore); } -void CWeaponBox::SetObjectCollisionBox() { SetObjectCollisionBox_(); } -void CWeaponBox::Touch(CBaseEntity *pOther) { Touch_(pOther); } - -// world -//void CDecal::Spawn() { Spawn_(); } -//void CDecal::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } - -void CWorld::Spawn() { Spawn_(); } -void CWorld::Precache() { Precache_(); } -void CWorld::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } - -// AK47 -void CAK47::Spawn() { Spawn_(); } -void CAK47::Precache() { Precache_(); } -int CAK47::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CAK47::Deploy() { return Deploy_(); } -void CAK47::PrimaryAttack() { PrimaryAttack_(); } -void CAK47::SecondaryAttack() { SecondaryAttack_(); } -void CAK47::Reload() { Reload_(); } -void CAK47::WeaponIdle() { WeaponIdle_(); } - -// AUG -void CAUG::Spawn() { Spawn_(); } -void CAUG::Precache() { Precache_(); } -int CAUG::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CAUG::Deploy() { return Deploy_(); } -void CAUG::PrimaryAttack() { PrimaryAttack_(); } -void CAUG::SecondaryAttack() { SecondaryAttack_(); } -void CAUG::Reload() { Reload_(); } -void CAUG::WeaponIdle() { WeaponIdle_(); } - -// AWP -void CAWP::Spawn() { Spawn_(); } -void CAWP::Precache() { Precache_(); } -int CAWP::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CAWP::Deploy() { return Deploy_(); } -float CAWP::GetMaxSpeed() { return GetMaxSpeed_(); } -void CAWP::PrimaryAttack() { PrimaryAttack_(); } -void CAWP::SecondaryAttack() { SecondaryAttack_(); } -void CAWP::Reload() { Reload_(); } -void CAWP::WeaponIdle() { WeaponIdle_(); } - -// C4 -void CC4::Spawn() { Spawn_(); } -void CC4::Precache() { Precache_(); } -void CC4::KeyValue(KeyValueData *pkvd) { KeyValue_(pkvd); } -void CC4::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } -int CC4::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CC4::Deploy() { return Deploy_(); } -void CC4::Holster(int skiplocal) { Holster_(skiplocal); } -float CC4::GetMaxSpeed() { return GetMaxSpeed_(); } -void CC4::PrimaryAttack() { PrimaryAttack_(); } -void CC4::WeaponIdle() { WeaponIdle_(); } - -// DEAGLE -void CDEAGLE::Spawn() { Spawn_(); } -void CDEAGLE::Precache() { Precache_(); } -int CDEAGLE::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CDEAGLE::Deploy() { return Deploy_(); } -void CDEAGLE::PrimaryAttack() { PrimaryAttack_(); } -void CDEAGLE::SecondaryAttack() { SecondaryAttack_(); } -void CDEAGLE::Reload() { Reload_(); } -void CDEAGLE::WeaponIdle() { WeaponIdle_(); } - -// ELITE -void CELITE::Spawn() { Spawn_(); } -void CELITE::Precache() { Precache_(); } -int CELITE::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CELITE::Deploy() { return Deploy_(); } -void CELITE::PrimaryAttack() { PrimaryAttack_(); } -void CELITE::Reload() { Reload_(); } -void CELITE::WeaponIdle() { WeaponIdle_(); } - -// FAMAS -void CFamas::Spawn() { Spawn_(); } -void CFamas::Precache() { Precache_(); } -int CFamas::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CFamas::Deploy() { return Deploy_(); } -void CFamas::PrimaryAttack() { PrimaryAttack_(); } -void CFamas::SecondaryAttack() { SecondaryAttack_(); } -void CFamas::Reload() { Reload_(); } -void CFamas::WeaponIdle() { WeaponIdle_(); } - -// FIVESEVEN -void CFiveSeven::Spawn() { Spawn_(); } -void CFiveSeven::Precache() { Precache_(); } -int CFiveSeven::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CFiveSeven::Deploy() { return Deploy_(); } -void CFiveSeven::PrimaryAttack() { PrimaryAttack_(); } -void CFiveSeven::SecondaryAttack() { SecondaryAttack_(); } -void CFiveSeven::Reload() { Reload_(); } -void CFiveSeven::WeaponIdle() { WeaponIdle_(); } - -// FLASHBANG -void CFlashbang::Spawn() { Spawn_(); } -void CFlashbang::Precache() { Precache_(); } -int CFlashbang::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CFlashbang::CanDeploy() { return CanDeploy_(); } -BOOL CFlashbang::Deploy() { return Deploy_(); } -void CFlashbang::Holster(int skiplocal) { Holster_(skiplocal); } -void CFlashbang::PrimaryAttack() { PrimaryAttack_(); } -void CFlashbang::SecondaryAttack() { SecondaryAttack_(); } -void CFlashbang::WeaponIdle() { WeaponIdle_(); } - -// G3SG1 -void CG3SG1::Spawn() { Spawn_(); } -void CG3SG1::Precache() { Precache_(); } -int CG3SG1::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CG3SG1::Deploy() { return Deploy_(); } -float CG3SG1::GetMaxSpeed() { return GetMaxSpeed_(); } -void CG3SG1::PrimaryAttack() { PrimaryAttack_(); } -void CG3SG1::SecondaryAttack() { SecondaryAttack_(); } -void CG3SG1::Reload() { Reload_(); } -void CG3SG1::WeaponIdle() { WeaponIdle_(); } - -// GALIL -void CGalil::Spawn() { Spawn_(); } -void CGalil::Precache() { Precache_(); } -int CGalil::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CGalil::Deploy() { return Deploy_(); } -void CGalil::PrimaryAttack() { PrimaryAttack_(); } -void CGalil::SecondaryAttack() { SecondaryAttack_(); } -void CGalil::Reload() { Reload_(); } -void CGalil::WeaponIdle() { WeaponIdle_(); } - -// GLOCK18 -void CGLOCK18::Spawn() { Spawn_(); } -void CGLOCK18::Precache() { Precache_(); } -int CGLOCK18::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CGLOCK18::Deploy() { return Deploy_(); } -void CGLOCK18::PrimaryAttack() { PrimaryAttack_(); } -void CGLOCK18::SecondaryAttack() { SecondaryAttack_(); } -void CGLOCK18::Reload() { Reload_(); } -void CGLOCK18::WeaponIdle() { WeaponIdle_(); } - -// HEGRENADE -void CHEGrenade::Spawn() { Spawn_(); } -void CHEGrenade::Precache() { Precache_(); } -int CHEGrenade::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CHEGrenade::CanDeploy() { return CanDeploy_(); } -BOOL CHEGrenade::Deploy() { return Deploy_(); } -void CHEGrenade::Holster(int skiplocal) { Holster_(skiplocal); } -void CHEGrenade::PrimaryAttack() { PrimaryAttack_(); } -void CHEGrenade::SecondaryAttack() { SecondaryAttack_(); } -void CHEGrenade::WeaponIdle() { WeaponIdle_(); } - -// KNIFE -void CKnife::Spawn() { Spawn_(); } -void CKnife::Precache() { Precache_(); } -int CKnife::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CKnife::Deploy() { return Deploy_(); } -void CKnife::Holster(int skiplocal) { Holster_(skiplocal); } -void CKnife::PrimaryAttack() { PrimaryAttack_(); } -void CKnife::SecondaryAttack() { SecondaryAttack_(); } -void CKnife::WeaponIdle() { WeaponIdle_(); } - -// M3 -void CM3::Spawn() { Spawn_(); } -void CM3::Precache() { Precache_(); } -int CM3::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CM3::Deploy() { return Deploy_(); } -void CM3::PrimaryAttack() { PrimaryAttack_(); } -void CM3::Reload() { Reload_(); } -void CM3::WeaponIdle() { WeaponIdle_(); } - -// M4A1 -void CM4A1::Spawn() { Spawn_(); } -void CM4A1::Precache() { Precache_(); } -int CM4A1::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CM4A1::Deploy() { return Deploy_(); } -float CM4A1::GetMaxSpeed() { return GetMaxSpeed_(); } -void CM4A1::PrimaryAttack() { PrimaryAttack_(); } -void CM4A1::SecondaryAttack() { SecondaryAttack_(); } -void CM4A1::Reload() { Reload_(); } -void CM4A1::WeaponIdle() { WeaponIdle_(); } - -// M249 -void CM249::Spawn() { Spawn_(); } -void CM249::Precache() { Precache_(); } -int CM249::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CM249::Deploy() { return Deploy_(); } -void CM249::PrimaryAttack() { PrimaryAttack_(); } -void CM249::Reload() { Reload_(); } -void CM249::WeaponIdle() { WeaponIdle_(); } - -// MAC10 -void CMAC10::Spawn() { Spawn_(); } -void CMAC10::Precache() { Precache_(); } -int CMAC10::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CMAC10::Deploy() { return Deploy_(); } -void CMAC10::PrimaryAttack() { PrimaryAttack_(); } -void CMAC10::Reload() { Reload_(); } -void CMAC10::WeaponIdle() { WeaponIdle_(); } - -// MP5NAVY -void CMP5N::Spawn() { Spawn_(); } -void CMP5N::Precache() { Precache_(); } -int CMP5N::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CMP5N::Deploy() { return Deploy_(); } -void CMP5N::PrimaryAttack() { PrimaryAttack_(); } -void CMP5N::Reload() { Reload_(); } -void CMP5N::WeaponIdle() { WeaponIdle_(); } - -// P90 -void CP90::Spawn() { Spawn_(); } -void CP90::Precache() { Precache_(); } -int CP90::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CP90::Deploy() { return Deploy_(); } -void CP90::PrimaryAttack() { PrimaryAttack_(); } -void CP90::Reload() { Reload_(); } -void CP90::WeaponIdle() { WeaponIdle_(); } -float CP90::GetMaxSpeed() { return GetMaxSpeed_(); } - -// P228 -void CP228::Spawn() { Spawn_(); } -void CP228::Precache() { Precache_(); } -int CP228::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CP228::Deploy() { return Deploy_(); } -void CP228::PrimaryAttack() { PrimaryAttack_(); } -void CP228::SecondaryAttack() { SecondaryAttack_(); } -void CP228::Reload() { Reload_(); } -void CP228::WeaponIdle() { WeaponIdle_(); } - -// SCOUT -void CSCOUT::Spawn() { Spawn_(); } -void CSCOUT::Precache() { Precache_(); } -int CSCOUT::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CSCOUT::Deploy() { return Deploy_(); } -float CSCOUT::GetMaxSpeed() { return GetMaxSpeed_(); } -void CSCOUT::PrimaryAttack() { PrimaryAttack_(); } -void CSCOUT::SecondaryAttack() { SecondaryAttack_(); } -void CSCOUT::Reload() { Reload_(); } -void CSCOUT::WeaponIdle() { WeaponIdle_(); } - -// SG550 -void CSG550::Spawn() { Spawn_(); } -void CSG550::Precache() { Precache_(); } -int CSG550::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CSG550::Deploy() { return Deploy_(); } -float CSG550::GetMaxSpeed() { return GetMaxSpeed_(); } -void CSG550::PrimaryAttack() { PrimaryAttack_(); } -void CSG550::SecondaryAttack() { SecondaryAttack_(); } -void CSG550::Reload() { Reload_(); } -void CSG550::WeaponIdle() { WeaponIdle_(); } - -// SG552 -void CSG552::Spawn() { Spawn_(); } -void CSG552::Precache() { Precache_(); } -int CSG552::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CSG552::Deploy() { return Deploy_(); } -float CSG552::GetMaxSpeed() { return GetMaxSpeed_(); } -void CSG552::PrimaryAttack() { PrimaryAttack_(); } -void CSG552::SecondaryAttack() { SecondaryAttack_(); } -void CSG552::Reload() { Reload_(); } -void CSG552::WeaponIdle() { WeaponIdle_(); } - -// SMOKEGRENADE -void CSmokeGrenade::Spawn() { Spawn_(); } -void CSmokeGrenade::Precache() { Precache_(); } -int CSmokeGrenade::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CSmokeGrenade::CanDeploy() { return CanDeploy_(); } -BOOL CSmokeGrenade::Deploy() { return Deploy_(); } -void CSmokeGrenade::Holster(int skiplocal) { Holster_(skiplocal); } -void CSmokeGrenade::PrimaryAttack() { PrimaryAttack_(); } -void CSmokeGrenade::SecondaryAttack() { SecondaryAttack_(); } -void CSmokeGrenade::WeaponIdle() { WeaponIdle_(); } - -// TMP -void CTMP::Spawn() { Spawn_(); } -void CTMP::Precache() { Precache_(); } -int CTMP::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CTMP::Deploy() { return Deploy_(); } -void CTMP::PrimaryAttack() { PrimaryAttack_(); } -void CTMP::Reload() { Reload_(); } -void CTMP::WeaponIdle() { WeaponIdle_(); } - -// UMP45 -void CUMP45::Spawn() { Spawn_(); } -void CUMP45::Precache() { Precache_(); } -int CUMP45::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CUMP45::Deploy() { return Deploy_(); } -void CUMP45::PrimaryAttack() { PrimaryAttack_(); } -void CUMP45::Reload() { Reload_(); } -void CUMP45::WeaponIdle() { WeaponIdle_(); } - -// USP -void CUSP::Spawn() { Spawn_(); } -void CUSP::Precache() { Precache_(); } -int CUSP::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CUSP::Deploy() { return Deploy_(); } -void CUSP::PrimaryAttack() { PrimaryAttack_(); } -void CUSP::SecondaryAttack() { SecondaryAttack_(); } -void CUSP::Reload() { Reload_(); } -void CUSP::WeaponIdle() { WeaponIdle_(); } - -// XM1014 -void CXM1014::Spawn() { Spawn_(); } -void CXM1014::Precache() { Precache_(); } -int CXM1014::GetItemInfo(ItemInfo *p) { return GetItemInfo_(p); } -BOOL CXM1014::Deploy() { return Deploy_(); } -void CXM1014::PrimaryAttack() { PrimaryAttack_(); } -void CXM1014::Reload() { Reload_(); } -void CXM1014::WeaponIdle() { WeaponIdle_(); } - -// hostage -void CHostage::Spawn() { Spawn_(); } -void CHostage::Precache() { Precache_(); } -int CHostage::ObjectCaps() { return ObjectCaps_(); } -BOOL CHostage::TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) { return TakeDamage_(pevInflictor, pevAttacker, flDamage, bitsDamageType); } -void CHostage::Touch(CBaseEntity *pOther) { Touch_(pOther); } -void CHostage::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value) { Use_(pActivator, pCaller, useType, value); } - -// hostage_improv -void CHostageImprov::OnMoveToFailure(const Vector &goal, MoveToFailureType reason) { OnMoveToFailure_(goal, reason); } -bool CHostageImprov::IsAlive() const { return IsAlive_(); } -void CHostageImprov::MoveTo(const Vector &goal) { MoveTo_(goal); } -void CHostageImprov::LookAt(const Vector &target) { LookAt_(target); } -void CHostageImprov::ClearLookAt() { ClearLookAt_(); } -void CHostageImprov::FaceTo(const Vector &goal) { FaceTo_(goal); } -void CHostageImprov::ClearFaceTo() { ClearFaceTo_(); } -bool CHostageImprov::IsAtMoveGoal(float error) const { return IsAtMoveGoal_(error); } -bool CHostageImprov::IsAtFaceGoal() const { return IsAtFaceGoal_(); } -bool CHostageImprov::IsFriendInTheWay(const Vector &goalPos) const { return IsFriendInTheWay_(goalPos); } -bool CHostageImprov::IsFriendInTheWay(CBaseEntity *myFriend, const Vector &goalPos) const { return IsFriendInTheWay_(myFriend, goalPos); } -bool CHostageImprov::Jump() { return Jump_(); } -void CHostageImprov::Crouch() { Crouch_(); } -void CHostageImprov::StandUp() { StandUp_(); } -void CHostageImprov::TrackPath(const Vector &pathGoal, float deltaT) { TrackPath_(pathGoal, deltaT); } -void CHostageImprov::StartLadder(const CNavLadder *ladder, NavTraverseType how, const Vector *approachPos, const Vector *departPos) { StartLadder_(ladder, how, approachPos, departPos); } -bool CHostageImprov::TraverseLadder(const CNavLadder *ladder, NavTraverseType how, const Vector *approachPos, const Vector *departPos, float deltaT) { return TraverseLadder_(ladder, how, approachPos, departPos, deltaT); } -bool CHostageImprov::GetSimpleGroundHeightWithFloor(const Vector *pos, float *height, Vector *normal) { return GetSimpleGroundHeightWithFloor_(pos, height, normal); } -void CHostageImprov::Run() { Run_(); } -void CHostageImprov::Walk() { Walk_(); } -void CHostageImprov::Stop() { Stop_(); } -const Vector &CHostageImprov::GetFeet() const { return GetFeet_(); } -const Vector &CHostageImprov::GetCentroid() const { return GetCentroid_(); } -const Vector &CHostageImprov::GetEyes() const { return GetEyes_(); } -bool CHostageImprov::IsOnGround() const { return IsOnGround_(); } -bool CHostageImprov::IsMoving() const { return IsMoving_(); } -bool CHostageImprov::IsVisible(const Vector &pos, bool testFOV) const { return IsVisible_(pos, testFOV); } -bool CHostageImprov::IsPlayerLookingAtMe(CBasePlayer *other, float cosTolerance) const { return IsPlayerLookingAtMe_(other, cosTolerance); } -CBasePlayer *CHostageImprov::IsAnyPlayerLookingAtMe(int team, float cosTolerance) const { return IsAnyPlayerLookingAtMe_(team, cosTolerance); } -CBasePlayer *CHostageImprov::GetClosestPlayerByTravelDistance(int team, float *range) const { return GetClosestPlayerByTravelDistance_(team, range); } -void CHostageImprov::OnUpdate(float deltaT) { OnUpdate_(deltaT); } -void CHostageImprov::OnUpkeep(float deltaT) { OnUpkeep_(deltaT); } -void CHostageImprov::OnReset() { OnReset_(); } -void CHostageImprov::OnGameEvent(GameEventType event, CBaseEntity *entity, CBaseEntity *other) { OnGameEvent_(event, entity, other); } -void CHostageImprov::OnTouch(CBaseEntity *other) { OnTouch_(other); } - -// hostage_idle -void HostageIdleState::OnEnter(CHostageImprov *improv) { OnEnter_(improv); } -void HostageIdleState::OnUpdate(CHostageImprov *improv) { OnUpdate_(improv); } -void HostageIdleState::OnExit(CHostageImprov *improv) { OnExit_(improv); } -void HostageIdleState::UpdateStationaryAnimation(CHostageImprov *improv) { UpdateStationaryAnimation_(improv); } - -// hostage_escape -void HostageEscapeToCoverState::OnEnter(CHostageImprov *improv) { OnEnter_(improv); } -void HostageEscapeToCoverState::OnUpdate(CHostageImprov *improv) { OnUpdate_(improv); } -void HostageEscapeToCoverState::OnExit(CHostageImprov *improv) { OnExit_(improv); } - -void HostageEscapeToCoverState::OnMoveToFailure(const Vector &goal, MoveToFailureType reason) { OnMoveToFailure_(goal, reason); } /*void HostageEscapeToCoverState::OnMoveToFailure_(const Vector &goal, MoveToFailureType reason) { // TODO: why this - 1? Hacks? @@ -2008,202 +652,10 @@ void HostageEscapeToCoverState::OnMoveToFailure(const Vector &goal, MoveToFailur escape->LookAround(); }*/ - -void HostageEscapeLookAroundState::OnEnter(CHostageImprov *improv) { OnEnter_(improv); } -void HostageEscapeLookAroundState::OnUpdate(CHostageImprov *improv) { OnUpdate_(improv); } -void HostageEscapeLookAroundState::OnExit(CHostageImprov *improv) { OnExit_(improv); } - -void HostageEscapeState::OnEnter(CHostageImprov *improv) { OnEnter_(improv); } -void HostageEscapeState::OnUpdate(CHostageImprov *improv) { OnUpdate_(improv); } -void HostageEscapeState::OnExit(CHostageImprov *improv) { OnExit_(improv); } - -// hostage_follow -void HostageFollowState::OnEnter(CHostageImprov *improv) { OnEnter_(improv); } -void HostageFollowState::OnUpdate(CHostageImprov *improv) { OnUpdate_(improv); } -void HostageFollowState::OnExit(CHostageImprov *improv) { OnExit_(improv); } -void HostageFollowState::UpdateStationaryAnimation(CHostageImprov *improv) { UpdateStationaryAnimation_(improv); } - -// hostage_animate -void HostageAnimateState::OnEnter(CHostageImprov *improv) { OnEnter_(improv); } -void HostageAnimateState::OnUpdate(CHostageImprov *improv) { OnUpdate_(improv); } -void HostageAnimateState::OnExit(CHostageImprov *improv) { OnExit_(improv); } - -// hostage_retreat -void HostageRetreatState::OnEnter(CHostageImprov *improv) { OnEnter_(improv); } -void HostageRetreatState::OnUpdate(CHostageImprov *improv) { OnUpdate_(improv); } -void HostageRetreatState::OnExit(CHostageImprov *improv) { OnExit_(improv); } - -// cs_bot -void CCSBot::Walk() { Walk_(); } -bool CCSBot::Jump(bool mustJump) { return Jump_(mustJump); } -BOOL CCSBot::TakeDamage(entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType) { return TakeDamage_(pevInflictor, pevAttacker, flDamage, bitsDamageType); } -void CCSBot::Killed(entvars_t *pevAttacker, int iGib) { Killed_(pevAttacker, iGib); } - // cs_bot_chatter // you can not hook this function, because it uses the rand() function // which does not allow us to carry out tests because different results at the output. void __declspec(naked) BotPhrase::Randomize() { __asm { jmp pBotPhrase__Randomize } } -void BotAllHostagesGoneMeme::Interpret(CCSBot *sender, CCSBot *receiver) const { Interpret_(sender, receiver); } -void BotHostageBeingTakenMeme::Interpret(CCSBot *sender, CCSBot *receiver) const { Interpret_(sender, receiver); } -void BotHelpMeme::Interpret(CCSBot *sender, CCSBot *receiver) const { Interpret_(sender, receiver); } -void BotBombsiteStatusMeme::Interpret(CCSBot *sender, CCSBot *receiver) const { Interpret_(sender, receiver); } -void BotBombStatusMeme::Interpret(CCSBot *sender, CCSBot *receiver) const { Interpret_(sender, receiver); } -void BotFollowMeme::Interpret(CCSBot *sender, CCSBot *receiver) const { Interpret_(sender, receiver); } -void BotDefendHereMeme::Interpret(CCSBot *sender, CCSBot *receiver) const { Interpret_(sender, receiver); } -void BotWhereBombMeme::Interpret(CCSBot *sender, CCSBot *receiver) const { Interpret_(sender, receiver); } -void BotRequestReportMeme::Interpret(CCSBot *sender, CCSBot *receiver) const { Interpret_(sender, receiver); } - -// cs_bot_event -void CCSBot::OnEvent(GameEventType event, CBaseEntity *entity, CBaseEntity *other) { OnEvent_(event, entity, other); } - -// cs_bot_init -bool CCSBot::Initialize(const BotProfile *profile) { return Initialize_(profile); } -void CCSBot::SpawnBot() { SpawnBot_(); } -void CCSBot::RoundRespawn() { RoundRespawn_(); } - -void CCSBotManager::ClientDisconnect(CBasePlayer *pPlayer) { ClientDisconnect_(pPlayer); } -BOOL CCSBotManager::ClientCommand(CBasePlayer *pPlayer, const char *pcmd) { return ClientCommand_(pPlayer, pcmd); } -void CCSBotManager::ServerActivate() { ServerActivate_(); } -void CCSBotManager::ServerDeactivate() { ServerDeactivate_(); } -void CCSBotManager::ServerCommand(const char *pcmd) { ServerCommand_(pcmd); } -void CCSBotManager::AddServerCommand(const char *cmd) { AddServerCommand_(cmd); } -void CCSBotManager::AddServerCommands() { AddServerCommands_(); } -void CCSBotManager::RestartRound() { RestartRound_(); } -void CCSBotManager::StartFrame() { StartFrame_(); } -void CCSBotManager::OnEvent(GameEventType event, CBaseEntity *entity, CBaseEntity *other) { OnEvent_(event, entity, other); } -unsigned int CCSBotManager::GetPlayerPriority(CBasePlayer *player) const { return GetPlayerPriority_(player); } -bool CCSBotManager::IsImportantPlayer(CBasePlayer *player) const { return IsImportantPlayer_(player); } - -// cs_bot_update -void CCSBot::Upkeep() { Upkeep_(); } -void CCSBot::Update() { Update_(); } - // cs_bot_vision void __declspec(naked) CCSBot::UpdateLookAngles() { __asm { jmp pCCSBot__UpdateLookAngles } } -void CCSBot::Blind(float duration, float holdTime, float fadeTime, int alpha) { Blind_(duration, holdTime, fadeTime, alpha); } -bool CCSBot::IsVisible(const Vector *pos, bool testFOV) const { return IsVisible_(pos, testFOV); } -bool CCSBot::IsVisible(CBasePlayer *player, bool testFOV, unsigned char *visParts) const { return IsVisible_(player, testFOV, visParts); } -bool CCSBot::IsEnemyPartVisible(VisiblePartType part) const { return IsEnemyPartVisible_(part); } - -// cs_bot_weapon -void CCSBot::OnTouchingWeapon(CWeaponBox *box) { OnTouchingWeapon_(box); } - -// cs_bot_idle -void IdleState::OnEnter(CCSBot *me) { OnEnter_(me); } -void IdleState::OnUpdate(CCSBot *me) { OnUpdate_(me); } - -// cs_bot_attack -void AttackState::OnEnter(CCSBot *me) { OnEnter_(me); } -void AttackState::OnUpdate(CCSBot *me) { OnUpdate_(me); } -void AttackState::OnExit(CCSBot *me) { OnExit_(me); } - -// cs_bot_buy -void BuyState::OnEnter(CCSBot *me) { OnEnter_(me); } -void BuyState::OnUpdate(CCSBot *me) { OnUpdate_(me); } -void BuyState::OnExit(CCSBot *me) { OnExit_(me); } - -// cs_bot_hide -void HideState::OnEnter(CCSBot *me) { OnEnter_(me); } -void HideState::OnUpdate(CCSBot *me) { OnUpdate_(me); } -void HideState::OnExit(CCSBot *me) { OnExit_(me); } - -// cs_bot_move_to -void MoveToState::OnEnter(CCSBot *me) { OnEnter_(me); } -void MoveToState::OnUpdate(CCSBot *me) { OnUpdate_(me); } -void MoveToState::OnExit(CCSBot *me) { OnExit_(me); } - -// cs_bot_follow -void FollowState::OnEnter(CCSBot *me) { OnEnter_(me); } -void FollowState::OnUpdate(CCSBot *me) { OnUpdate_(me); } -void FollowState::OnExit(CCSBot *me) { OnExit_(me); } - -// cs_bot_hunt -void HuntState::OnEnter(CCSBot *me) { OnEnter_(me); } -void HuntState::OnUpdate(CCSBot *me) { OnUpdate_(me); } -void HuntState::OnExit(CCSBot *me) { OnExit_(me); } - -// cs_bot_investigate_noise -void InvestigateNoiseState::OnEnter(CCSBot *me) { OnEnter_(me); } -void InvestigateNoiseState::OnUpdate(CCSBot *me) { OnUpdate_(me); } -void InvestigateNoiseState::OnExit(CCSBot *me) { OnExit_(me); } - -// cs_bot_plant_bomb -void PlantBombState::OnEnter(CCSBot *me) { OnEnter_(me); } -void PlantBombState::OnUpdate(CCSBot *me) { OnUpdate_(me); } -void PlantBombState::OnExit(CCSBot *me) { OnExit_(me); } - -// cs_bot_defuse_bomb -void DefuseBombState::OnEnter(CCSBot *me) { OnEnter_(me); } -void DefuseBombState::OnUpdate(CCSBot *me) { OnUpdate_(me); } -void DefuseBombState::OnExit(CCSBot *me) { OnExit_(me); } - -// cs_bot_use_entity -void UseEntityState::OnEnter(CCSBot *me) { OnEnter_(me); } -void UseEntityState::OnUpdate(CCSBot *me) { OnUpdate_(me); } -void UseEntityState::OnExit(CCSBot *me) { OnExit_(me); } - -// cs_bot_escape_from_bomb -void EscapeFromBombState::OnEnter(CCSBot *me) { OnEnter_(me); } -void EscapeFromBombState::OnUpdate(CCSBot *me) { OnUpdate_(me); } -void EscapeFromBombState::OnExit(CCSBot *me) { OnExit_(me); } - -// cs_bot_fetch_bomb -void FetchBombState::OnEnter(CCSBot *me) { OnEnter_(me); } -void FetchBombState::OnUpdate(CCSBot *me) { OnUpdate_(me); } - -// bot_manager -void CBotManager::RestartRound() { RestartRound_(); } -void CBotManager::StartFrame() { StartFrame_(); } -void CBotManager::OnEvent(GameEventType event, CBaseEntity *entity, CBaseEntity *other) { return OnEvent_(event, entity, other); } - -// bot -void CBot::Spawn() { Spawn_(); } -Vector CBot::GetAutoaimVector(float flDelta) { return GetAutoaimVector_(flDelta); } -bool CBot::Initialize(const BotProfile *profile) { return Initialize_(profile); } -void CBot::Crouch() { Crouch_(); } -void CBot::StandUp() { StandUp_(); } -void CBot::MoveForward() { MoveForward_(); } -void CBot::MoveBackward() { MoveBackward_(); } -void CBot::StrafeLeft() { StrafeLeft_(); } -void CBot::StrafeRight() { StrafeRight_(); } -bool CBot::Jump(bool mustJump) { return Jump_(mustJump); } -void CBot::ClearMovement() { ClearMovement_(); } -void CBot::UseEnvironment() { UseEnvironment_(); } -void CBot::PrimaryAttack() { PrimaryAttack_(); } -void CBot::ClearPrimaryAttack() { ClearPrimaryAttack_(); } -void CBot::TogglePrimaryAttack() { TogglePrimaryAttack_(); } -void CBot::SecondaryAttack() { SecondaryAttack_(); } -void CBot::Reload() { Reload_(); } -void CBot::ExecuteCommand() { ExecuteCommand_(); } - - -// hostage_improv.h -// NavAreaBuildPath hook -bool NavAreaBuildPath__HostagePathCost__wrapper(CNavArea *startArea, CNavArea *goalArea, const Vector *goalPos, HostagePathCost &costFunc, CNavArea **closestArea) { return NavAreaBuildPath(startArea, goalArea, goalPos, costFunc, closestArea); } - -// NavAreaBuildPath hook -bool NavAreaBuildPath__ShortestPathCost__wrapper(CNavArea *startArea, CNavArea *goalArea, const Vector *goalPos, ShortestPathCost &costFunc, CNavArea **closestArea) { return NavAreaBuildPath(startArea, goalArea, goalPos, costFunc, closestArea); } - -// NavAreaBuildPath hook -bool NavAreaBuildPath__PathCost__wrapper(CNavArea *startArea, CNavArea *goalArea, const Vector *goalPos, PathCost &costFunc, CNavArea **closestArea) { return NavAreaBuildPath(startArea, goalArea, goalPos, costFunc, closestArea); } - -// NavAreaTravelDistance hook -float_precision NavAreaTravelDistance__PathCost__wrapper(CNavArea *startArea, CNavArea *endArea, PathCost &costFunc) { return NavAreaTravelDistance(startArea, endArea, costFunc); } - - -// functions -bool CBot::IsPlayerFacingMe(CBasePlayer *other) const -{ - return IsPlayerFacingMe_(other); -} - -bool CBot::IsPlayerLookingAtMe(CBasePlayer *other) const -{ - return IsPlayerLookingAtMe_(other); -} - -void CBot::SetModel(const char *modelName) -{ - SetModel_(modelName); -} diff --git a/regamedll/hookers/hooker_impl.h b/regamedll/hookers/hooker_impl.h index 65dd3ae8..4930314f 100644 --- a/regamedll/hookers/hooker_impl.h +++ b/regamedll/hookers/hooker_impl.h @@ -66,15 +66,12 @@ class CSaveRestoreBuffer; typedef Vector VectorRef; typedef float FloatRef; +#undef CUSTOM_MEMBER +#define CUSTOM_MEMBER static + #define __API_HOOK(fname)\ fname -#define __API_VHOOK(fname)\ - fname##_ - -#define __MAKE_VHOOK(fname)\ - fname##_ - #define IMPL(var)\ (*p##var) @@ -95,7 +92,6 @@ typedef float FloatRef; #define LINK_HOOK_CHAIN2(...) // refs -extern void (CBaseEntity::*pCHostage__IdleThink)(); extern void (*pBotPhrase__Randomize)(); extern void (*pCCSBotManager__AddBot)(); extern void (*pCCSBot__UpdateLookAngles)(); @@ -769,68 +765,6 @@ C_DLLEXPORT void weaponbox(entvars_t *pev); C_DLLEXPORT void grenade(entvars_t *pev); C_DLLEXPORT void world_items(entvars_t *pev); -typedef int (CGraph::*FIND_NEAREST_NODE_ENTITY)(const Vector &, CBaseEntity *); -typedef int (CGraph::*FIND_NEAREST_NODE_INT)(const Vector &, int); -typedef void (CBaseMonster::*RADIUSDAMAGE_ENTVARS)(entvars_t *, entvars_t *, float, int, int); -typedef void (CBaseMonster::*RADIUSDAMAGE_VECTOR)(Vector, entvars_t *, entvars_t *, float, int, int); -typedef BOOL (CBaseMonster::*FINVIEWCONE_ENTITY)(CBaseEntity *); -typedef BOOL (CBaseMonster::*FINVIEWCONE_VECTOR)(const Vector *); -typedef bool (CHostageImprov::*IS_FRIEND_IN_THE_WAY_VECTOR)(const Vector &) const; -typedef bool (CHostageImprov::*IS_FRIEND_IN_THE_WAY_CBASE)(CBaseEntity *, const Vector &) const; -typedef bool (CHostageImprov::*IS_FRIEND_IN_THE_WAY)() const; -typedef BOOL (CLocalNav::*PATH_CLEAR_TRACE_RESULT)(Vector &, Vector &, int, TraceResult &); -typedef BOOL (CLocalNav::*PATH_CLEAR_DEFAULT)(Vector &, Vector &, int); -typedef void (HostageAnimateState::*ADD_SEQUENCE_NAME)(CHostageImprov *, const char *, float, float); -typedef void (HostageAnimateState::*ADD_SEQUENCE_NUMBER)(CHostageImprov *, int, float, float); -typedef int (CSaveRestoreBuffer::*ENTITYINDEX_CBASE)(CBaseEntity *); -typedef int (CSaveRestoreBuffer::*ENTITYINDEX_ENTVARS)(entvars_t *); -typedef int (CSaveRestoreBuffer::*ENTITYINDEX_EOFFSET)(EOFFSET); -typedef int (CSaveRestoreBuffer::*ENTITYINDEX_EDICT)(edict_t *); -typedef void (CSave::*WRITESTRING_)(const char *,const char *); -typedef void (CSave::*WRITESTRING_COUNT)(const char *,const int *,int); -typedef void (CSave::*WRITEVECTOR_)(const char *,const Vector &); -typedef void (CSave::*WRITEVECTOR_COUNT)(const char *,const float *,int); -typedef void (CSave::*WRITEPOSITIONVECTOR_)(const char *,const Vector &); -typedef void (CSave::*WRITEPOSITIONVECTOR_COUNT)(const char *,const float *,int); -typedef int (CSaveRestoreBuffer::*CSAVERESTOREBUFFER_VOID)(const char *,const Vector &); -typedef int (CSaveRestoreBuffer::*CSAVERESTOREBUFFER_POINTER)(const char *,const float *,int); -typedef bool (CCSBot::*CS_IS_VISIBLE_VECTOR)(const Vector *, bool) const; -typedef bool (CCSBot::*CS_IS_VISIBLE_CBASEPLAYER)(CBasePlayer *, bool, unsigned char *) const; -typedef const Vector *(FIND_SPOT_CSSBOT)(CCSBot *, float); -typedef void (CCSBot::*HIDE_NAV_AREA)(CNavArea *, float, float, bool); -typedef void (CCSBot::*HIDE_VECTOR)(const Vector *, float, bool); -typedef const CSGameState *(CCSBot::*GETGAMESTATE_CONST)() const; -typedef CSGameState *(CCSBot::*GETGAMESTATE_NOTCONST)(); -typedef BOOL (CBaseEntity::*FVISIBLE_ENTITY)(CBaseEntity *); -typedef BOOL (CBaseEntity::*FVISIBLE_VECTOR)(const Vector &); -typedef void (CGrenade::*EXPLODE_VECTOR)(Vector, Vector); -typedef void (CGrenade::*EXPLODE_TRACERESULT)(TraceResult *, int); -typedef CBaseEntity *(CBaseEntity::*CBASE_ISTANCE_EDICT)(edict_t *); -typedef CBaseEntity *(CBaseEntity::*CBASE_ISTANCE_ENTVARS)(entvars_t *); -typedef CBaseEntity *(CBaseEntity::*CBASE_ISTANCE_INT)(int); -typedef CBasePlayer *(*UTIL_GETCLOSE_PLAYER)(const Vector *pos, float *distance); -typedef CBasePlayer *(*UTIL_GETCLOSE_TEAM)(const Vector *pos, int team, float *distance); -typedef Vector (*UTIL_CUMPUTE_ENTVARS)(entvars_t *pevVars); -typedef Vector (*UTIL_CUMPUTE_CBASE)(CBaseEntity *pEntity); -typedef Vector (*UTIL_CUMPUTE_EDICT)(edict_t *pentEdict); -typedef bool (CBot::*IS_VISIBLE_VECTOR)(const Vector *, bool) const; -typedef bool (CBot::*IS_VISIBLE_CBASE_PLAYER)(CBasePlayer *, bool, unsigned char *) const; -typedef bool (CImprov::*IS_FRIEND_INT_THEWAY_VECTOR)(const Vector &goalPos) const; -typedef bool (CImprov::*IS_FRIEND_INT_THEWAY_CBASEENTITY)(CBaseEntity *myFriend, const Vector &goalPos) const; -typedef const Vector *(FIND_SPOT_CBASE)(CBaseEntity *, const Vector *, CNavArea *, float, int, bool); -typedef void (CNavArea::*SAVE_FD)(int fd, unsigned int version); -typedef void (CNavArea::*SAVE_FILE)(FILE *fp) const; -typedef bool (CNavArea::*OVERLAP_VECTOR)(const Vector *pos) const; -typedef bool (CNavArea::*OVERLAP_CNAV)(const CNavArea *area) const; -typedef float (CNavArea::*GETZ_VECTOR)(const Vector *pos) const; -typedef float (CNavArea::*GETZ_TWO_FLOAT)(float x, float y) const; -typedef void (HidingSpot::*HIDING_SPOT_VOID)(); -typedef void (HidingSpot::*HIDING_SPOT_VECTOR)(const Vector *pos, unsigned char flags); -typedef void (HidingSpot::*CNAV_AREA_VOID)(); -typedef void (HidingSpot::*CNAV_AREA_TWO_VECTOR)(const Vector *corner, const Vector *otherCorner); -typedef void (HidingSpot::*CNAV_AREA_VECTOR)(const Vector *nwCorner, const Vector *neCorner, const Vector *seCorner, const Vector *swCorner); -typedef void (HidingSpot::*CNAV_AREA_NAVNODE)(CNavNode *nwNode, class CNavNode *neNode, class CNavNode *seNode, class CNavNode *swNode); - // externs extern struct WeaponAliasInfo weaponAliasInfo[39]; extern struct WeaponBuyAliasInfo weaponBuyAliasInfo[43]; diff --git a/regamedll/hookers/hooklist.cpp b/regamedll/hookers/hooklist.cpp new file mode 100644 index 00000000..8d65ad7e --- /dev/null +++ b/regamedll/hookers/hooklist.cpp @@ -0,0 +1,6184 @@ +/* +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License,or (at +* your option) any later version. +* +* This program is distributed in the hope that it will be useful,but +* WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not,write to the Free Software Foundation, +* Inc.,59 Temple Place,Suite 330,Boston,MA 02111-1307 USA +* +* In addition,as a special exception,the author gives permission to +* link the code of this program with the Half-Life Game Engine ("HL +* Engine") and Modified Game Libraries ("MODs") developed by Valve, +* L.L.C ("Valve"). You must obey the GNU General Public License in all +* respects for all of the code used other than the HL Engine and MODs +* from Valve. If you modify this file,you may extend this exception +* to your version of the file,but you are not obligated to do so. If +* you do not wish to do so,delete this exception statement from your +* version. +* +*/ + +#include "precompiled.h" + +#define CBASE_VIRTUAL_COUNT 58 +#define CWEAPON_VIRTUAL_COUNT 94 + +//#define Mem_Region +//#define Export_Region +//#define Monsters_Region +//#define AirTank_Region +//#define PM_Shared_Region +//#define Triggers_Region +//#define Cbase_Region +//#define Client_Region +//#define Spectator_Region +//#define BaseMonster_Region +//#define Player_Region +//#define Effects_Region +//#define Plats_Region +//#define PathCorner_Region +//#define Vehicle_Region +//#define Func_Tank_Region +//#define Func_Break_Region +//#define Door_Region +//#define BModels_Region +//#define Button_Region +//#define Explode_Region +//#define Mortar_Region +//#define Healkit_Region +//#define Lights_Region +//#define MapRules_Region +//#define HintMessage_Region +//#define Items_Region +//#define SharedUtil_Region +//#define World_Region +//#define Graph_Region +//#define SoundEnt_Region +//#define Sound_Region +//#define Util_Region +//#define WeaponType_Region +//#define Weapons_Region +//#define GGrenade_Region +//#define Animation_Region +//#define GameRules_Region +//#define Multiplay_GameRules_Region +//#define Singleplay_GameRules_Region +//#define Training_Gamerules_Region +//#define CareerTasks_Region +//#define MemoryPool_Region +//#define Unicode_StrTools_Region +//#define CUtlSymbol_Region +//#define Debug_Region +//#define CS_Bot_Region +//#define CS_BotState_Region +//#define Bot_Region +//#define Bot_Profile +//#define CS_Util_Region +//#define CS_Init_Region +//#define H_Region +//#define Tutor_CS_Region +//#define Nav_Region +//#define Hostage_Region +//#define VoiceManager_Region +//#define Vector_Region + +//#define Data_References_Region +//#define Function_References_Region + +FunctionHook g_FunctionHooks[] = +{ + +#ifndef Mem_Region + +#ifdef _WIN32 + + //HOOK_SYMBOLDEF(0x01DE015D, "__heap_alloc_base", malloc_wrapper), + HOOK_SYMBOLDEF(0x01DE0131, "_nh_malloc", _nh_malloc_wrapper), + HOOK_SYMBOLDEF(0x01DE011F, "malloc", malloc_wrapper), + + HOOK_SYMBOLDEF(0x01DE12A5, "realloc", realloc_wrapper), + HOOK_SYMBOLDEF(0x01DE0E7B, "free", free_wrapper), + HOOK_SYMBOLDEF(0x01DE2331, "calloc", calloc_wrapper), + HOOK_SYMBOLDEF(0x01DF27C9, "strdup", strdup_wrapper), + //HOOK_SYMBOLDEF(0x01DDFD40, "rand", rand_wrapper), + +#endif // _WIN32 + +#endif // Mem_Region + +#ifndef Export_Region + + HOOK_DEF(0x01D86730, GiveFnptrsToDll), + +#endif // Export_Region + +#ifndef PM_Shared_Region + + HOOK_DEF(0x01DB6640, PM_Move), + HOOK_DEF(0x01DB6710, PM_Init), + HOOK_DEF(0x01DB1020, PM_FindTextureType), +//pm_debug + //HOOK_DEF(0x01DAEEE0, PM_ShowClipBox), // NOXREF + //HOOK_DEF(0x01DAEEF0, PM_ParticleLine), // NOXREF + //HOOK_DEF(0x01DAEFC0, PM_DrawRectangle), // NOXREF + //HOOK_DEF(0x01DAF290, PM_DrawPhysEntBBox), // NOXREF + //HOOK_DEF(0x01DAFB50, PM_DrawBBox), // NOXREF + //HOOK_DEF(0x01DAFF20, PM_ViewEntity), // NOXREF +//pm_shared + //HOOK_DEF(0x01DB0AB0, PM_SwapTextures), // NOXREF + //HOOK_DEF(0x01DB0B30, PM_IsThereGrassTexture), // NOXREF + //HOOK_DEF(0x01DB0B60, PM_SortTextures), // NOXREF + HOOK_DEF(0x01DB0C80, PM_InitTextureTypes), + //HOOK_DEF(0x0, PM_FindTextureType), + HOOK_DEF(0x01DB1080, PM_PlayStepSound), + //HOOK_DEF(0x01DB17E0, PM_MapTextureTypeStepType), // NOXREF + HOOK_DEF(0x01DB1860, PM_CatagorizeTextureType), + HOOK_DEF(0x01DB19B0, PM_UpdateStepSound), + //HOOK_DEF(0x01DB1CB0, PM_AddToTouched), // NOXREF + HOOK_DEF(0x01DB1D50, PM_CheckVelocity), + HOOK_DEF(0x01DB1E40, PM_ClipVelocity), + //HOOK_DEF(0x01DB1EF0, PM_AddCorrectGravity), // NOXREF + //HOOK_DEF(0x01DB1F70, PM_FixupGravityVelocity), // NOXREF + HOOK_DEF(0x01DB1FD0, PM_FlyMove), + //HOOK_DEF(0x01DB24E0, PM_Accelerate), // NOXREF + HOOK_DEF(0x01DB2580, PM_WalkMove), + HOOK_DEF(0x01DB2B50, PM_Friction), + HOOK_DEF(0x01DB2CF0, PM_AirAccelerate), + HOOK_DEF(0x01DB2DB0, PM_WaterMove), + HOOK_DEF(0x01DB30C0, PM_AirMove_internal), + //HOOK_DEF(0x01DB3200, PM_InWater), // NOXREF + HOOK_DEF(0x01DB3220, PM_CheckWater), + HOOK_DEF(0x01DB33E0, PM_CatagorizePosition), + //HOOK_DEF(0x01DB3590, PM_GetRandomStuckOffsets), // NOXREF + //HOOK_DEF(0x01DB35E0, PM_ResetStuckOffsets), // NOXREF + HOOK_DEF(0x01DB3600, PM_CheckStuck), + HOOK_DEF(0x01DB3970, PM_SpectatorMove), + //HOOK_DEF(0x01DB3C70, PM_SplineFraction), // NOXREF + //HOOK_DEF(0x01DB3C90, PM_SimpleSpline), // NOXREF + //HOOK_DEF(0x01DB3CB0, PM_FixPlayerCrouchStuck), // NOXREF + HOOK_DEF(0x01DB3D50, PM_Duck), + HOOK_DEF(0x01DB4110, PM_LadderMove), + HOOK_DEF(0x01DB44D0, PM_Ladder), + //HOOK_DEF(0x01DB45A0, PM_WaterJump), // NOXREF + //HOOK_DEF(0x01DB4660, PM_AddGravity), // NOXREF + //HOOK_DEF(0x01DB46C0, PM_PushEntity), // NOXREF + HOOK_DEF(0x01DB4820, PM_Physics_Toss), + HOOK_DEF(0x01DB4DE0, PM_NoClip), + //HOOK_DEF(0x01DB4E90, PM_PreventMegaBunnyJumping), // NOXREF + HOOK_DEF(0x01DB4F00, PM_Jump), + HOOK_DEF(0x01DB52F0, PM_CheckWaterJump), + HOOK_DEF(0x01DB5560, PM_CheckFalling), + //HOOK_DEF(0x01DB5810, PM_PlayWaterSounds), // NOXREF + //HOOK_DEF(0x01DB5810, PM_CalcRoll), // NOXREF + //HOOK_DEF(0x01DB58A0, PM_DropPunchAngle), // NOXREF + HOOK_DEF(0x01DB58F0, PM_CheckParamters), + HOOK_DEF(0x01DB5BE0, PM_ReduceTimers), + //HOOK_DEF(0x01DB5D20, PM_ShouldDoSpectMode), // NOXREF + HOOK_DEF(0x01DB5D50, PM_PlayerMove), + HOOK_DEF(0x01DB6430, PM_CreateStuckTable), + //HOOK_DEF(0x01DB66B0, PM_GetVisEntInfo), // NOXREF + //HOOK_DEF(0x01DB66E0, PM_GetPhysEntInfo), // NOXREF +//pm_math + //HOOK_DEF(0x0, anglemod), + HOOK_DEF(0x01DB0000, AngleVectors), + //HOOK_DEF(0x01DB0100, AngleVectorsTranspose), // NOXREF + HOOK_DEF(0x01DB0200, AngleMatrix), + //HOOK_DEF(0x01DB02D0, AngleIMatrix), // NOXREF + //HOOK_DEF(0x01DB03A0, NormalizeAngles), // NOXREF + //HOOK_DEF(0x01DB03F0, InterpolateAngles), // NOXREF + //HOOK_DEF(0x01DB0510, AngleBetweenVectors), // NOXREF + //HOOK_DEF(0x01DB05B0, VectorTransform), // NOXREF + HOOK_DEF(0x01DB0610, VectorCompare), + HOOK_DEF(0x01DB0640, VectorMA), + //HOOK_DEF(0x01DB0680, _DotProduct), // NOXREF + //HOOK_DEF(0x01DB06A0, _VectorSubtract), // NOXREF + //HOOK_DEF(0x01DB06D0, _VectorAdd), // NOXREF + //HOOK_DEF(0x01DB0700, _VectorCopy), // NOXREF + //HOOK_DEF(0x01DB0720, CrossProduct), // NOXREF + HOOK_DEF(0x01DB0760, Length), + //HOOK_DEF(0x01DB0780, Distance), // NOXREF + HOOK_DEF(0x01DB07D0, VectorNormalize), + //HOOK_DEF(0x01DB0820, VectorInverse), + HOOK_DEF(0x01DB0840, VectorScale), + //HOOK_DEF(0x01DB0870, Q_log2), + //HOOK_DEF(0x01DB0880, VectorMatrix), + //HOOK_DEF(0x01DB09D0, VectorAngles), + +#endif // PM_Shared_Region + +#ifndef Monsters_Region +//CGib + // virtual func + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D70C90, "_ZN4CGib10ObjectCapsEv", CGib::ObjectCaps), // DEFAULT + // non-virtual func + HOOK_SYMBOLDEF(0x01D6FFE0, "_ZN4CGib5SpawnEPKc", CGib::Spawn), + HOOK_SYMBOLDEF(0x01D6FCA0, "_ZN4CGib14BounceGibTouchEP11CBaseEntity", CGib::BounceGibTouch), + HOOK_SYMBOLDEF(0x01D6FE40, "_ZN4CGib14StickyGibTouchEP11CBaseEntity", CGib::StickyGibTouch), + HOOK_SYMBOLDEF(0x01D6FBF0, "_ZN4CGib12WaitTillLandEv", CGib::WaitTillLand), + HOOK_SYMBOLDEF(0x01D6E550, "_ZN4CGib13LimitVelocityEv", CGib::LimitVelocity), + HOOK_SYMBOLDEF(0x01D6EAB0, "_ZN4CGib12SpawnHeadGibEP9entvars_s", CGib::SpawnHeadGib), + HOOK_SYMBOLDEF(0x01D6EEB0, "_ZN4CGib15SpawnRandomGibsEP9entvars_sii", CGib::SpawnRandomGibs), + //HOOK_SYMBOLDEF(0x01D6E640, "_ZN4CGib15SpawnStickyGibsEP9entvars_s6Vectori", CGib::SpawnStickyGibs), // NOXREF +#endif // Monsters_Region + +#ifndef AirTank_Region + + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D592B0, "_ZN8CAirtank5SpawnEv", CAirtank::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D593A0, "_ZN8CAirtank8PrecacheEv", CAirtank::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59250, "_ZN8CAirtank4SaveER5CSave", CAirtank::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59280, "_ZN8CAirtank7RestoreER8CRestore", CAirtank::Restore), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D593C0, "_ZN8CAirtank6KilledEP9entvars_si", CAirtank::Killed), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D59240, "_ZN8CAirtank10BloodColorEv", CAirtank::BloodColor), // DEFAULT + // non-virtual func + HOOK_SYMBOLDEF(0x01D59410, "_ZN8CAirtank9TankThinkEv", CAirtank::TankThink), + HOOK_SYMBOLDEF(0x01D59430, "_ZN8CAirtank9TankTouchEP11CBaseEntity", CAirtank::TankTouch), + HOOK_DEF(0x01D591F0, item_airtank), + +#endif // AirTank_Region + +#ifndef Client_Region + + //HOOK_SYMBOLDEF(0x0, "_ZL8CMD_ARGCv", CMD_ARGC_), + //HOOK_SYMBOLDEF(0x0, "_ZL8CMD_ARGVi", CMD_ARGV_), + //HOOK_SYMBOLDEF(0x01D63CE0, "_Z17set_suicide_frameP9entvars_s", set_suicide_frame), // NOXREF + HOOK_SYMBOLDEF(0x01D63D30, "_Z13ClientConnectP7edict_sPKcS2_Pc", ClientConnect), + HOOK_SYMBOLDEF(0x01D63D50, "_Z16ClientDisconnectP7edict_s", ClientDisconnect), + HOOK_SYMBOLDEF(0x01D63E50, "_Z7respawnP9entvars_si", respawn), + HOOK_SYMBOLDEF(0x01D63F60, "_Z10ClientKillP7edict_s", ClientKill), + HOOK_SYMBOLDEF(0x01D64010, "_Z8ShowMenuP11CBasePlayeriiiPc_constprop_32", ShowMenu), + //HOOK_SYMBOLDEF(0x01D64070, "_Z12ShowVGUIMenuP11CBasePlayeriiPc", ShowVGUIMenu), + HOOK_DEF(0x01D64130, CountTeams), //extern c func + HOOK_SYMBOLDEF(0x01D64260, "_Z11ListPlayersP11CBasePlayer", ListPlayers), + HOOK_DEF(0x01D64460, CountTeamPlayers), //extern c func + HOOK_SYMBOLDEF(0x01D64580, "_Z15ProcessKickVoteP11CBasePlayerS0_", ProcessKickVote), + //HOOK_SYMBOLDEF(0x01D64920, "_Z17SelectDefaultTeamv", SelectDefaultTeam), + HOOK_SYMBOLDEF(0x01D649A0, "_Z15CheckStartMoneyv", CheckStartMoney), + HOOK_SYMBOLDEF(0x01D649F0, "_Z17ClientPutInServerP7edict_s", ClientPutInServer), + //HOOK_DEF(0x01D64F00, Q_strlen_), // NOXREF + HOOK_SYMBOLDEF(0x01D64F20, "_Z8Host_SayP7edict_si", Host_Say), + //HOOK_DEF(0x0, DropSecondary), // NOXREF + //HOOK_SYMBOLDEF(0x01D656F0, "_Z11DropPrimaryP11CBasePlayer", DropPrimary), + HOOK_SYMBOLDEF(0x01D65740, "_Z10CanBuyThisP11CBasePlayeri", CanBuyThis), + HOOK_SYMBOLDEF(0x01D65850, "_Z9BuyPistolP11CBasePlayeri", BuyPistol), + HOOK_SYMBOLDEF(0x01D65A30, "_Z10BuyShotgunP11CBasePlayeri", BuyShotgun), + HOOK_SYMBOLDEF(0x01D65B70, "_Z16BuySubMachineGunP11CBasePlayeri", BuySubMachineGun), + //HOOK_SYMBOLDEF(0x01D65D00, "_Z19BuyWeaponByWeaponIDP11CBasePlayer12WeaponIdType", BuyWeaponByWeaponID), + HOOK_SYMBOLDEF(0x01D65E80, "_Z8BuyRifleP11CBasePlayeri", BuyRifle), + HOOK_SYMBOLDEF(0x01D66070, "_Z13BuyMachineGunP11CBasePlayeri", BuyMachineGun), + HOOK_SYMBOLDEF(0x01D66170, "_Z7BuyItemP11CBasePlayeri", BuyItem), + HOOK_SYMBOLDEF(0x01D669A0, "_Z27HandleMenu_ChooseAppearanceP11CBasePlayeri", HandleMenu_ChooseAppearance), + HOOK_SYMBOLDEF(0x01D66D10, "_Z21HandleMenu_ChooseTeamP11CBasePlayeri", HandleMenu_ChooseTeam), + HOOK_SYMBOLDEF(0x01D67930, "_Z6Radio1P11CBasePlayeri", Radio1), + HOOK_SYMBOLDEF(0x01D67A20, "_Z6Radio2P11CBasePlayeri", Radio2), + HOOK_SYMBOLDEF(0x01D67B10, "_Z6Radio3P11CBasePlayeri", Radio3), + HOOK_SYMBOLDEF(0x01D67C70, "_Z10BuyGunAmmoR11CBasePlayerR15CBasePlayerItemb", BuyGunAmmo), + //HOOK_SYMBOLDEF(0x01D67E50, "_Z7BuyAmmoP11CBasePlayerib", BuyAmmo), // NOXREF + //HOOK_SYMBOLDEF(0x01D67EC0, "_Z16EntityFromUserIDi", EntityFromUserID), // NOXREF + //HOOK_SYMBOLDEF(0x01D67FC0, "_Z20CountPlayersInServerv", CountPlayersInServer), // NOXREF + HOOK_SYMBOLDEF(0x01D680D0, "_Z22HandleBuyAliasCommandsP11CBasePlayerPKc", HandleBuyAliasCommands), + HOOK_SYMBOLDEF(0x01D68540, "_Z24HandleRadioAliasCommandsP11CBasePlayerPKc", HandleRadioAliasCommands), + HOOK_SYMBOLDEF(0x01D68840, "_Z13ClientCommandP7edict_s", ClientCommand_), + HOOK_SYMBOLDEF(0x01D6B230, "_Z21ClientUserInfoChangedP7edict_sPc", ClientUserInfoChanged), + HOOK_SYMBOLDEF(0x01D6B4D0, "_Z16ServerDeactivatev", ServerDeactivate), + HOOK_SYMBOLDEF(0x01D6B520, "_Z14ServerActivateP7edict_sii", ServerActivate), + HOOK_SYMBOLDEF(0x01D6B620, "_Z14PlayerPreThinkP7edict_s", PlayerPreThink), + HOOK_SYMBOLDEF(0x01D6B640, "_Z15PlayerPostThinkP7edict_s", PlayerPostThink), + //HOOK_SYMBOLDEF(0x01D6B660, "_Z13ParmsNewLevelv", ParmsNewLevel), // PURE + HOOK_SYMBOLDEF(0x01D6B670, "_Z16ParmsChangeLevelv", ParmsChangeLevel), + HOOK_SYMBOLDEF(0x01D6B6A0, "_Z10StartFramev", StartFrame), + HOOK_SYMBOLDEF(0x01D6B740, "_Z14ClientPrecachev", ClientPrecache), + HOOK_SYMBOLDEF(0x01D6CCE0, "_Z18GetGameDescriptionv", GetGameDescription), + HOOK_SYMBOLDEF(0x01D6CD00, "_Z9Sys_ErrorPKc", SysEngine_Error), + HOOK_SYMBOLDEF(0x01D6CD10, "_Z19PlayerCustomizationP7edict_sP15customization_s", PlayerCustomization), + HOOK_SYMBOLDEF(0x01D6CD90, "_Z16SpectatorConnectP7edict_s", SpectatorConnect), + HOOK_SYMBOLDEF(0x01D6CDB0, "_Z19SpectatorDisconnectP7edict_s", SpectatorDisconnect), + HOOK_SYMBOLDEF(0x01D6CDD0, "_Z14SpectatorThinkP7edict_s", SpectatorThink), + HOOK_SYMBOLDEF(0x01D6CDF0, "_Z15SetupVisibilityP7edict_sS0_PPhS2_", SetupVisibility), + //HOOK_SYMBOLDEF(0x01D6CF60, "_Z14ResetPlayerPVSP7edict_si", ResetPlayerPVS), // NOXREF + //HOOK_SYMBOLDEF(0x01D6CFB0, "_Z25CheckPlayerPVSLeafChangedP7edict_si", CheckPlayerPVSLeafChanged), // NOXREF + //HOOK_SYMBOLDEF(0x01D6D020, "_Z15MarkEntityInPVSiifb", MarkEntityInPVS), // NOXREF + //HOOK_SYMBOLDEF(0x01D6D060, "_Z24CheckEntityRecentlyInPVSiif", CheckEntityRecentlyInPVS), // NOXREF + HOOK_SYMBOLDEF(0x01D6D0B0, "_Z13AddToFullPackP14entity_state_siP7edict_sS2_iiPh", AddToFullPack), + HOOK_SYMBOLDEF(0x01D6D5F0, "_Z14CreateBaselineiiP14entity_state_sP7edict_si6VectorS3_", CreateBaseline), + //HOOK_SYMBOLDEF(0x01D6D790, "_Z16Entity_FieldInitP7delta_s", Entity_FieldInit), // NOXREF + HOOK_SYMBOLDEF(0x01D6D800, "_Z13Entity_EncodeP7delta_sPKhS2_", Entity_Encode), + //HOOK_SYMBOLDEF(0x01D6D9C0, "_Z16Player_FieldInitP7delta_s", Player_FieldInit), // NOXREF + HOOK_SYMBOLDEF(0x01D6DA00, "_Z13Player_EncodeP7delta_sPKhS2_", Player_Encode), + HOOK_SYMBOLDEF(0x01D6DB10, "_Z23Custom_Entity_FieldInitP7delta_s", Custom_Entity_FieldInit), + HOOK_SYMBOLDEF(0x01D6DBC0, "_Z13Custom_EncodeP7delta_sPKhS2_", Custom_Encode), + HOOK_SYMBOLDEF(0x01D6DCB0, "_Z16RegisterEncodersv", RegisterEncoders), + HOOK_SYMBOLDEF(0x01D6DCF0, "_Z13GetWeaponDataP7edict_sP13weapon_data_s", GetWeaponData), + HOOK_SYMBOLDEF(0x01D6DF00, "_Z16UpdateClientDataPK7edict_siP12clientdata_s", UpdateClientData), + HOOK_SYMBOLDEF(0x01D6E2F0, "_Z8CmdStartPK7edict_sPK9usercmd_sj", CmdStart), + HOOK_SYMBOLDEF(0x01D6E360, "_Z6CmdEndPK7edict_s", CmdEnd), + HOOK_SYMBOLDEF(0x01D6E410, "_Z20ConnectionlessPacketPK8netadr_sPKcPcPi", ConnectionlessPacket), + HOOK_SYMBOLDEF(0x01D6E420, "_Z13GetHullBoundsiPfS_", GetHullBounds), + HOOK_SYMBOLDEF(0x01D6E440, "_Z24CreateInstancedBaselinesv", CreateInstancedBaselines), + HOOK_SYMBOLDEF(0x01D6E450, "_Z16InconsistentFilePK7edict_sPKcPc", InconsistentFile), + HOOK_SYMBOLDEF(0x01D6E490, "_Z20AllowLagCompensationv", AllowLagCompensation), + +#endif // Client_Region + +#ifndef Cbase_Region + + // base func + HOOK_SYMBOLDEF(0x01D61A30, "_Z19CaseInsensitiveHashPKci", CaseInsensitiveHash), + HOOK_SYMBOLDEF(0x01D61A70, "_Z20EmptyEntityHashTablev", EmptyEntityHashTable), + HOOK_SYMBOLDEF(0x01D61AE0, "_Z18AddEntityHashValueP9entvars_sPKc12hash_types_e", AddEntityHashValue), + HOOK_SYMBOLDEF(0x01D61CA0, "_Z21RemoveEntityHashValueP9entvars_sPKc12hash_types_e", RemoveEntityHashValue), + HOOK_SYMBOLDEF(0x01D61E20, "_Z13printEntitiesv", printEntities), + HOOK_SYMBOLDEF(0x01D61ED0, "_Z19CREATE_NAMED_ENTITYj", CREATE_NAMED_ENTITY), + HOOK_SYMBOLDEF(0x01D61F10, "_Z13REMOVE_ENTITYP7edict_s", REMOVE_ENTITY), + HOOK_SYMBOLDEF(0x01D62540, "_Z12CONSOLE_ECHOPcz", CONSOLE_ECHO), + HOOK_SYMBOLDEF(0x01D61F30, "_Z15loopPerformancev", loopPerformance), + HOOK_DEF(0x01D62570, GetEntityAPI), + //HOOK_SYMBOLDEF(0x01D62670, "_Z13GetEntityAPI2P13DLL_FUNCTIONSPi", GetEntityAPI2), // NOXREF + HOOK_DEF(0x01D626B0, GetNewDLLFunctions), + //HOOK_SYMBOLDEF(0x01D62B20, "_Z16FindGlobalEntityjj", FindGlobalEntity), // NOXREF + HOOK_SYMBOLDEF(0x01D63700, "_ZL21SetObjectCollisionBoxP9entvars_s", SetObjectCollisionBox), + HOOK_SYMBOLDEF(0x01D63BE0, "_Z20OnFreeEntPrivateDataP7edict_s", OnFreeEntPrivateData), + HOOK_SYMBOLDEF(0x01D80630, "_Z11GameDLLInitv", GameDLLInit), + //HOOK_SYMBOLDEF(0x01DB6BD0, "_Z12GetSkillCvarPc", GetSkillCvar), //NOXREF + HOOK_SYMBOLDEF(0x01D626F0, "_Z13DispatchSpawnP7edict_s", DispatchSpawn), + HOOK_SYMBOLDEF(0x01D629D0, "_Z13DispatchThinkP7edict_s", DispatchThink), + HOOK_SYMBOLDEF(0x01D62990, "_Z11DispatchUseP7edict_sS0_", DispatchUse), + HOOK_SYMBOLDEF(0x01D62930, "_Z13DispatchTouchP7edict_sS0_", DispatchTouch), + HOOK_SYMBOLDEF(0x01D62A20, "_Z15DispatchBlockedP7edict_sS0_", DispatchBlocked), + HOOK_SYMBOLDEF(0x01D628F0, "_Z16DispatchKeyValueP7edict_sP14KeyValueData_s", DispatchKeyValue), + HOOK_SYMBOLDEF(0x01D62A50, "_Z12DispatchSaveP7edict_sP13saverestore_s", DispatchSave), + HOOK_SYMBOLDEF(0x01D62BD0, "_Z15DispatchRestoreP7edict_sP13saverestore_si", DispatchRestore), + HOOK_SYMBOLDEF(0x01D62FF0, "_Z25DispatchObjectCollsionBoxP7edict_s", DispatchObjectCollsionBox), + HOOK_SYMBOLDEF(0x01D63020, "_Z15SaveWriteFieldsP13saverestore_sPKcPvP15TYPEDESCRIPTIONi", SaveWriteFields), + HOOK_SYMBOLDEF(0x01D63060, "_Z14SaveReadFieldsP13saverestore_sPKcPvP15TYPEDESCRIPTIONi", SaveReadFields), + + // virtual func +//CBaseEntity + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D18590, "_ZN11CBaseEntity5SpawnEv", CBaseEntity::Spawn), // PURE + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D185A0, "_ZN11CBaseEntity8PrecacheEv", CBaseEntity::Precache), // PURE + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01B90, "_ZN11CBaseEntity7RestartEv", CBaseEntity::Restart), // PURE + ////HOOK_SYMBOL_VIRTUAL_DEF(0x01D185B0, "_ZN11CBaseEntity8KeyValueEP14KeyValueData_s", CBaseEntity::KeyValue), // default + HOOK_SYMBOL_VIRTUAL_DEF(0x01D635D0, "_ZN11CBaseEntity4SaveER5CSave", CBaseEntity::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D63610, "_ZN11CBaseEntity7RestoreER8CRestore", CBaseEntity::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01BA0, "_ZN11CBaseEntity10ObjectCapsEv", CBaseEntity::ObjectCaps), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01BB0, "_ZN11CBaseEntity8ActivateEv", CBaseEntity::Activate), // PURE + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D638B0, "_ZN11CBaseEntity21SetObjectCollisionBoxEv", CBaseEntity::SetObjectCollisionBox), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01BC0, "_ZN11CBaseEntity8ClassifyEv", CBaseEntity::Classify), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01BD0, "_ZN11CBaseEntity11DeathNoticeEP9entvars_s", CBaseEntity::DeathNotice), // default + HOOK_SYMBOL_VIRTUAL_DEF(0x01D719D0, "_ZN11CBaseEntity11TraceAttackEP9entvars_sf6VectorP11TraceResulti", CBaseEntity::TraceAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D63210, "_ZN11CBaseEntity10TakeDamageEP9entvars_sS1_fi", CBaseEntity::TakeDamage), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D63190, "_ZN11CBaseEntity10TakeHealthEfi", CBaseEntity::TakeHealth), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D63550, "_ZN11CBaseEntity6KilledEP9entvars_si", CBaseEntity::Killed), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01BE0, "_ZN11CBaseEntity10BloodColorEv", CBaseEntity::BloodColor), // default + HOOK_SYMBOL_VIRTUAL_DEF(0x01D72EE0, "_ZN11CBaseEntity10TraceBleedEf6VectorP11TraceResulti", CBaseEntity::TraceBleed), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01BF0, "_ZN11CBaseEntity11IsTriggeredEPS_", CBaseEntity::IsTriggered), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01C00, "_ZN11CBaseEntity16MyMonsterPointerEv", CBaseEntity::MyMonsterPointer), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01C10, "_ZN11CBaseEntity21MySquadMonsterPointerEv", CBaseEntity::MySquadMonsterPointer), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01C20, "_ZN11CBaseEntity14GetToggleStateEv", CBaseEntity::GetToggleState), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01C30, "_ZN11CBaseEntity9AddPointsEii", CBaseEntity::AddPoints), // PURE + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01C40, "_ZN11CBaseEntity15AddPointsToTeamEii", CBaseEntity::AddPointsToTeam), // PURE + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01C50, "_ZN11CBaseEntity13AddPlayerItemEP15CBasePlayerItem", CBaseEntity::AddPlayerItem), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01C60, "_ZN11CBaseEntity16RemovePlayerItemEP15CBasePlayerItem", CBaseEntity::RemovePlayerItem), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01C70, "_ZN11CBaseEntity8GiveAmmoEiPci", CBaseEntity::GiveAmmo), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01C80, "_ZN11CBaseEntity8GetDelayEv", CBaseEntity::GetDelay), // DEFAULT + ////HOOK_SYMBOL_VIRTUAL_DEF(0x01D01C90, "_ZN11CBaseEntity8IsMovingEv", CBaseEntity::IsMoving), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01CE0, "_ZN11CBaseEntity13OverrideResetEv", CBaseEntity::OverrideReset), // PURE + HOOK_SYMBOL_VIRTUAL_DEF(0x01D63AF0, "_ZN11CBaseEntity11DamageDecalEi", CBaseEntity::DamageDecal), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01CF0, "_ZN11CBaseEntity14SetToggleStateEi", CBaseEntity::SetToggleState), // PURE + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01D00, "_ZN11CBaseEntity13StartSneakingEv", CBaseEntity::StartSneaking), // PURE + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01D10, "_ZN11CBaseEntity12StopSneakingEv", CBaseEntity::StopSneaking), // PURE + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01D20, "_ZN11CBaseEntity10OnControlsEP9entvars_s", CBaseEntity::OnControls), // default + ////HOOK_SYMBOL_VIRTUAL_DEF(0x01D01D30, "_ZN11CBaseEntity10IsSneakingEv", CBaseEntity::IsSneaking), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01D40, "_ZN11CBaseEntity7IsAliveEv", CBaseEntity::IsAlive), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01D70, "_ZN11CBaseEntity10IsBSPModelEv", CBaseEntity::IsBSPModel), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01D90, "_ZN11CBaseEntity12ReflectGaussEv", CBaseEntity::ReflectGauss), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01DC0, "_ZN11CBaseEntity9HasTargetEj", CBaseEntity::HasTarget), // default + HOOK_SYMBOL_VIRTUAL_DEF(0x01D639C0, "_ZN11CBaseEntity9IsInWorldEv", CBaseEntity::IsInWorld), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01E30, "_ZN11CBaseEntity8IsPlayerEv", CBaseEntity::IsPlayer), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01E40, "_ZN11CBaseEntity11IsNetClientEv", CBaseEntity::IsNetClient), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01E50, "_ZN11CBaseEntity6TeamIDEv", CBaseEntity::TeamID), // default + HOOK_SYMBOL_VIRTUAL_DEF(0x01D63580, "_ZN11CBaseEntity13GetNextTargetEv", CBaseEntity::GetNextTarget), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01E60, "_ZN11CBaseEntity5ThinkEv", CBaseEntity::Think), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01E70, "_ZN11CBaseEntity5TouchEPS_", CBaseEntity::Touch), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01E80, "_ZN11CBaseEntity3UseEPS_S0_8USE_TYPEf", CBaseEntity::Use), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01EA0, "_ZN11CBaseEntity7BlockedEPS_", CBaseEntity::Blocked), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D18B00, "_ZN11CBaseEntity7RespawnEv", CBaseEntity::Respawn), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01EC0, "_ZN11CBaseEntity11UpdateOwnerEv", CBaseEntity::UpdateOwner), // PURE + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01ED0, "_ZN11CBaseEntity12FBecomeProneEv", CBaseEntity::FBecomeProne), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01EE0, "_ZN11CBaseEntity6CenterEv", CBaseEntity::Center), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01F40, "_ZN11CBaseEntity11EyePositionEv", CBaseEntity::EyePosition), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01F70, "_ZN11CBaseEntity11EarPositionEv", CBaseEntity::EarPosition), // default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01FA0, "_ZN11CBaseEntity10BodyTargetERK6Vector", CBaseEntity::BodyTarget),// default + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01FC0, "_ZN11CBaseEntity12IlluminationEv", CBaseEntity::Illumination), // default + HOOK_SYMBOL_VIRTUAL_DEF(0x01D71840, "_ZN11CBaseEntity8FVisibleEPS_", CBaseEntity::FVisible, BOOL (CBaseEntity *)), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D71950, "_ZN11CBaseEntity8FVisibleERK6Vector", CBaseEntity::FVisible, BOOL (const Vector &)), + + // non-virtual func + //HOOK_DEF(0x01DA7FD0, CBaseEntity::Instance, CBaseEntity *(edict_t *)), + HOOK_SYMBOLDEF(0x01DBAF90, "_ZN11CBaseEntity14UpdateOnRemoveEv", CBaseEntity::UpdateOnRemove), + HOOK_SYMBOLDEF(0x01DBAFF0, "_ZN11CBaseEntity10SUB_RemoveEv", CBaseEntity::SUB_Remove), + HOOK_SYMBOLDEF(0x01DBB0A0, "_ZN11CBaseEntity13SUB_DoNothingEv", CBaseEntity::SUB_DoNothing), + HOOK_SYMBOLDEF(0x01D6FB10, "_ZN11CBaseEntity16SUB_StartFadeOutEv", CBaseEntity::SUB_StartFadeOut), + HOOK_SYMBOLDEF(0x01D6FB80, "_ZN11CBaseEntity11SUB_FadeOutEv", CBaseEntity::SUB_FadeOut), + HOOK_SYMBOLDEF(0x01D01EB0, "_ZN11CBaseEntity17SUB_CallUseToggleEv", CBaseEntity::SUB_CallUseToggle), + HOOK_SYMBOLDEF(0x01D63AC0, "_ZN11CBaseEntity12ShouldToggleE8USE_TYPEi", CBaseEntity::ShouldToggle), + HOOK_SYMBOLDEF(0x01D71BC0, "_ZN11CBaseEntity11FireBulletsEj6VectorS0_S0_fiiiP9entvars_s", CBaseEntity::FireBullets), + HOOK_SYMBOLDEF(0x01D72480, "_ZN11CBaseEntity12FireBullets3E6VectorS0_ffiiifP9entvars_sbi", CBaseEntity::FireBullets3), + HOOK_SYMBOLDEF(0x01DBB190, "_ZN11CBaseEntity14SUB_UseTargetsEPS_8USE_TYPEf", CBaseEntity::SUB_UseTargets), + HOOK_SYMBOLDEF(0x01DBB260, "_Z11FireTargetsPKcP11CBaseEntityS2_8USE_TYPEf", FireTargets), + HOOK_SYMBOLDEF(0x01D638C0, "_ZN11CBaseEntity10IntersectsEPS_", CBaseEntity::Intersects), + //HOOK_SYMBOLDEF(0x01D63950, "_ZN11CBaseEntity11MakeDormantEv", CBaseEntity::MakeDormant), // NOXREF + HOOK_SYMBOLDEF(0x01D639B0, "_ZN11CBaseEntity9IsDormantEv", CBaseEntity::IsDormant), + //HOOK_SYMBOLDEF(0x0, "_ZN11CBaseEntity16IsLockedByMasterEv", CBaseEntity::IsLockedByMaster), // NOXREF + HOOK_SYMBOLDEF(0x01D63B20, "_ZN11CBaseEntity6CreateEPcRK6VectorS3_P7edict_s", CBaseEntity::Create), +//CPointEntity + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBACC0, "_ZN12CPointEntity5SpawnEv", CPointEntity::Spawn), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D60CB0, "_ZN12CPointEntity10ObjectCapsEv", CPointEntity::ObjectCaps), // default +//CNullEntity + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBACD0, "_ZN11CNullEntity5SpawnEv", CNullEntity::Spawn), +//CBaseDMStart + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBAF20, "_ZN12CBaseDMStart8KeyValueEP14KeyValueData_s", CBaseDMStart::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBAF70, "_ZN12CBaseDMStart11IsTriggeredEP11CBaseEntity", CBaseDMStart::IsTriggered), +//CBaseDelay + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBB110, "_ZN10CBaseDelay8KeyValueEP14KeyValueData_s", CBaseDelay::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBB0B0, "_ZN10CBaseDelay4SaveER5CSave", CBaseDelay::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBB0E0, "_ZN10CBaseDelay7RestoreER8CRestore", CBaseDelay::Restore), + // non-virtual func + HOOK_SYMBOLDEF(0x01DBB620, "_Z10SetMovedirP9entvars_s", SetMovedir), + HOOK_SYMBOLDEF(0x01DBB360, "_ZN10CBaseDelay14SUB_UseTargetsEP11CBaseEntity8USE_TYPEf", CBaseDelay::SUB_UseTargets), + HOOK_SYMBOLDEF(0x01DBB730, "_ZN10CBaseDelay10DelayThinkEv", CBaseDelay::DelayThink), +//CBaseAnimating + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59E70, "_ZN14CBaseAnimating4SaveER5CSave", CBaseAnimating::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59EA0, "_ZN14CBaseAnimating7RestoreER8CRestore", CBaseAnimating::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01FE0, "_ZN14CBaseAnimating15HandleAnimEventEP14MonsterEvent_t", CBaseAnimating::HandleAnimEvent), // PURE + // non-virtual func + HOOK_SYMBOLDEF(0x01D59ED0, "_ZN14CBaseAnimating18StudioFrameAdvanceEf", CBaseAnimating::StudioFrameAdvance), + //HOOK_SYMBOLDEF(0x01D5A130, "_ZN14CBaseAnimating16GetSequenceFlagsEv", CBaseAnimating::GetSequenceFlags), // NOXREF + HOOK_SYMBOLDEF(0x01D5A010, "_ZN14CBaseAnimating14LookupActivityEi", CBaseAnimating::LookupActivity), + HOOK_SYMBOLDEF(0x01D5A040, "_ZN14CBaseAnimating22LookupActivityHeaviestEi", CBaseAnimating::LookupActivityHeaviest), + HOOK_SYMBOLDEF(0x01D5A070, "_ZN14CBaseAnimating14LookupSequenceEPKc", CBaseAnimating::LookupSequence), + HOOK_SYMBOLDEF(0x01D5A0A0, "_ZN14CBaseAnimating17ResetSequenceInfoEv", CBaseAnimating::ResetSequenceInfo), + HOOK_SYMBOLDEF(0x01D5A160, "_ZN14CBaseAnimating18DispatchAnimEventsEf", CBaseAnimating::DispatchAnimEvents), + HOOK_SYMBOLDEF(0x01D5A280, "_ZN14CBaseAnimating17SetBoneControllerEif", CBaseAnimating::SetBoneController), + HOOK_SYMBOLDEF(0x01D5A2B0, "_ZN14CBaseAnimating19InitBoneControllersEv", CBaseAnimating::InitBoneControllers), + //HOOK_SYMBOLDEF(0x01D5A310, "_ZN14CBaseAnimating11SetBlendingEif", CBaseAnimating::SetBlending), // NOXREF + //HOOK_SYMBOLDEF(0x01D5A340, "_ZN14CBaseAnimating15GetBonePositionEiR6VectorS1_", CBaseAnimating::GetBonePosition), // NOXREF + //HOOK_SYMBOLDEF(0x01D5A370, "_ZN14CBaseAnimating13GetAttachmentEiR6VectorS1_", CBaseAnimating::GetAttachment), // NOXREF + //HOOK_SYMBOLDEF(0x01D5A3A0, "_ZN14CBaseAnimating14FindTransitionEiiPi", CBaseAnimating::FindTransition), // NOXREF + //HOOK_SYMBOLDEF(0x01D5A400, "_ZN14CBaseAnimating15GetAutomovementER6VectorS1_f", CBaseAnimating::GetAutomovement), // NOXREF + //HOOK_SYMBOLDEF(0x01D5A410, "_ZN14CBaseAnimating12SetBodygroupEii", CBaseAnimating::SetBodygroup), // NOXREF + //HOOK_SYMBOLDEF(0x01D5A440, "_ZN14CBaseAnimating12GetBodygroupEi", CBaseAnimating::GetBodygroup), // NOXREF + //HOOK_SYMBOLDEF(0x01D5A470, "_ZN14CBaseAnimating11ExtractBboxEiPfS0_", CBaseAnimating::ExtractBbox), // NOXREF + HOOK_SYMBOLDEF(0x01D5A4A0, "_ZN14CBaseAnimating14SetSequenceBoxEv", CBaseAnimating::SetSequenceBox), +//CBaseToggle + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBB7D0, "_ZN11CBaseToggle8KeyValueEP14KeyValueData_s", CBaseToggle::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBB770, "_ZN11CBaseToggle4SaveER5CSave", CBaseToggle::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBB7A0, "_ZN11CBaseToggle7RestoreER8CRestore", CBaseToggle::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D20F20, "_ZN11CBaseToggle14GetToggleStateEv", CBaseToggle::GetToggleState), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D20F30, "_ZN11CBaseToggle8GetDelayEv", CBaseToggle::GetDelay), + // non-virtual func + HOOK_SYMBOLDEF(0x01DBB920, "_ZN11CBaseToggle10LinearMoveE6Vectorf", CBaseToggle::LinearMove), + HOOK_SYMBOLDEF(0x01DBBA60, "_ZN11CBaseToggle14LinearMoveDoneEv", CBaseToggle::LinearMoveDone), + HOOK_SYMBOLDEF(0x01DBBAC0, "_ZN11CBaseToggle16IsLockedByMasterEv", CBaseToggle::IsLockedByMaster), // NOXREF + HOOK_SYMBOLDEF(0x01DBBB00, "_ZN11CBaseToggle11AngularMoveE6Vectorf", CBaseToggle::AngularMove), + HOOK_SYMBOLDEF(0x01DBBC40, "_ZN11CBaseToggle15AngularMoveDoneEv", CBaseToggle::AngularMoveDone), + HOOK_SYMBOLDEF(0x01DBBCA0, "_ZN11CBaseToggle9AxisValueEiRK6Vector", CBaseToggle::AxisValue), + HOOK_SYMBOLDEF(0x01DBBCD0, "_ZN11CBaseToggle7AxisDirEP9entvars_s", CBaseToggle::AxisDir), + HOOK_SYMBOLDEF(0x01DBBD60, "_ZN11CBaseToggle9AxisDeltaEiRK6VectorS2_", CBaseToggle::AxisDelta), + //HOOK_SYMBOLDEF(0x01DBBDA0, "_Z13FEntIsVisibleP9entvars_sS0_", FEntIsVisible), // NOXREF + +//CWorld + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DD1EE0, "_ZN6CWorld5SpawnEv", CWorld::Spawn), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DD2000, "_ZN6CWorld8PrecacheEv", CWorld::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DD2440, "_ZN6CWorld8KeyValueEP14KeyValueData_s", CWorld::KeyValue), + +//linked objects + HOOK_DEF(0x01DBACF0, info_null), + HOOK_DEF(0x01DBAD40, info_player_deathmatch), + HOOK_DEF(0x01DBAD90, info_player_start), + HOOK_DEF(0x01DBADE0, info_vip_start), + HOOK_DEF(0x01DBAE30, info_landmark), + HOOK_DEF(0x01DBAE80, info_hostage_rescue), + HOOK_DEF(0x01DBAED0, info_bomb_target), + HOOK_DEF(0x01DBB310, DelayedUse), + +#endif // Cbase_Region + +#ifndef Spectator_Region + + // virtual func + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DBAC90, "_ZN14CBaseSpectator5SpawnEv", CBaseSpectator::Spawn), // NOXREF + // non-virtual func + //HOOK_SYMBOLDEF(0x01DBAB20, "_ZN14CBaseSpectator16SpectatorConnectEv", CBaseSpectator::SpectatorConnect), // NOXREF + //HOOK_SYMBOLDEF(0x01DBAB50, "_ZN14CBaseSpectator19SpectatorDisconnectEv", CBaseSpectator::SpectatorDisconnect), // NOXREF + //HOOK_SYMBOLDEF(0x01DBAC40, "_ZN14CBaseSpectator14SpectatorThinkEv", CBaseSpectator::SpectatorThink), // NOXREF + //HOOK_SYMBOLDEF(0x01DBAB60, "_ZN14CBaseSpectator23SpectatorImpulseCommandEv", CBaseSpectator::SpectatorImpulseCommand), + +#endif // Spectator_Region + +#ifndef BaseMonster_Region + + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8AD30, "_ZN12CBaseMonster8KeyValueEP14KeyValueData_s", CBaseMonster::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D71AA0, "_ZN12CBaseMonster11TraceAttackEP9entvars_sf6VectorP11TraceResulti", CBaseMonster::TraceAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D70180, "_ZN12CBaseMonster10TakeDamageEP9entvars_sS1_fi", CBaseMonster::TakeDamage), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D70130, "_ZN12CBaseMonster10TakeHealthEfi", CBaseMonster::TakeHealth), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D6F9D0, "_ZN12CBaseMonster6KilledEP9entvars_si", CBaseMonster::Killed), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D20F50, "_ZN12CBaseMonster10BloodColorEv", CBaseMonster::BloodColor), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D24CF0, "_ZN12CBaseMonster7IsAliveEv", CBaseMonster::IsAlive), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8ABF0, "_ZN12CBaseMonster9ChangeYawEi", CBaseMonster::ChangeYaw), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D6F360, "_ZN12CBaseMonster12HasHumanGibsEv", CBaseMonster::HasHumanGibs), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D6F390, "_ZN12CBaseMonster12HasAlienGibsEv", CBaseMonster::HasAlienGibs), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D6F3C0, "_ZN12CBaseMonster11FadeMonsterEv", CBaseMonster::FadeMonster), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D6F4B0, "_ZN12CBaseMonster10GibMonsterEv", CBaseMonster::GibMonster), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D6F5A0, "_ZN12CBaseMonster16GetDeathActivityEv", CBaseMonster::GetDeathActivity), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D6F880, "_ZN12CBaseMonster10BecomeDeadEv", CBaseMonster::BecomeDead), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8AD10, "_ZN12CBaseMonster17ShouldFadeOnDeathEv", CBaseMonster::ShouldFadeOnDeath), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8AD40, "_ZN12CBaseMonster13IRelationshipEP11CBaseEntity", CBaseMonster::IRelationship), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D20F40, "_ZN12CBaseMonster9PainSoundEv", CBaseMonster::PainSound), // PURE + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D24AD0, "_ZN12CBaseMonster13ResetMaxSpeedEv", CBaseMonster::ResetMaxSpeed), // PURE + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D8ABE0, "_ZN12CBaseMonster13ReportAIStateEv", CBaseMonster::ReportAIState), // PURE + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8AC60, "_ZN12CBaseMonster15MonsterInitDeadEv", CBaseMonster::MonsterInitDead), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8AD70, "_ZN12CBaseMonster4LookEi", CBaseMonster::Look), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8AF10, "_ZN12CBaseMonster16BestVisibleEnemyEv", CBaseMonster::BestVisibleEnemy), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D716D0, "_ZN12CBaseMonster11FInViewConeEP11CBaseEntity", CBaseMonster::FInViewCone, BOOL (CBaseEntity *)), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D71790, "_ZN12CBaseMonster11FInViewConeEP6Vector", CBaseMonster::FInViewCone, BOOL (const Vector *)), + + // non-virtual func + //HOOK_SYMBOLDEF(0x01D8AC00, "_ZN12CBaseMonster12MakeIdealYawE6Vector", CBaseMonster::MakeIdealYaw), // PURE + //HOOK_SYMBOLDEF(0x01D6F7F0, "_ZN12CBaseMonster22GetSmallFlinchActivityEv", CBaseMonster::GetSmallFlinchActivity), // NOXREF + //HOOK_SYMBOLDEF(0x01D6F8C0, "_ZN12CBaseMonster16ShouldGibMonsterEi", CBaseMonster::ShouldGibMonster), // NOXREF + HOOK_SYMBOLDEF(0x01D6F8F0, "_ZN12CBaseMonster14CallGibMonsterEv", CBaseMonster::CallGibMonster), + HOOK_SYMBOLDEF(0x01D8AD20, "_ZN12CBaseMonster15FCheckAITriggerEv", CBaseMonster::FCheckAITrigger), + HOOK_SYMBOLDEF(0x01D705B0, "_ZN12CBaseMonster14DeadTakeDamageEP9entvars_sS1_fi", CBaseMonster::DeadTakeDamage), + //HOOK_SYMBOLDEF(0x01D707C0, "_ZN12CBaseMonster11DamageForceEf", CBaseMonster::DamageForce), // NOXREF + HOOK_SYMBOLDEF(0x01D71470, "_ZN12CBaseMonster12RadiusDamageEP9entvars_sS1_fii", CBaseMonster::RadiusDamage, void (entvars_t *, entvars_t *, float, int, int)), + //HOOK_SYMBOLDEF(0x01D71520, "_ZN12CBaseMonster12RadiusDamageE6VectorP9entvars_sS2_fii", CBaseMonster::RadiusDamage, void(Vector, entvars_t *, entvars_t *, float, int, int)), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN12CBaseMonster13RadiusDamage2E6VectorP9entvars_sS2_fii", CBaseMonster::RadiusDamage2), // NOXREF + HOOK_SYMBOLDEF(0x01D8AC10, "_ZN12CBaseMonster15CorpseFallThinkEv", CBaseMonster::CorpseFallThink), + //HOOK_SYMBOLDEF(0x01D715D0, "_ZN12CBaseMonster20CheckTraceHullAttackEfii", CBaseMonster::CheckTraceHullAttack), // NOXREF + //HOOK_SYMBOLDEF(0x01D730E0, "_ZN12CBaseMonster20MakeDamageBloodDecalEifP11TraceResultRK6Vector", CBaseMonster::MakeDamageBloodDecal), // NOXREF + HOOK_SYMBOLDEF(0x01D73240, "_ZN12CBaseMonster10BloodSplatER6VectorS1_ii", CBaseMonster::BloodSplat), + HOOK_SYMBOLDEF(0x01D70800, "_Z11RadiusFlash6VectorP9entvars_sS1_fii", RadiusFlash), + //HOOK_SYMBOLDEF(0x0, "_ZL24GetAmountOfPlayerVisible6VectorP11CBaseEntity_constprop_21", GetAmountOfPlayerVisible), // NOXREF + HOOK_SYMBOLDEF(0x01D70CA0, "_Z12RadiusDamage6VectorP9entvars_sS1_ffii", RadiusDamage), + HOOK_SYMBOLDEF(0x01D711B0, "_Z13RadiusDamage26VectorP9entvars_sS1_ffii", RadiusDamage2), + //HOOK_SYMBOLDEF(0x01D72430, "_Z4vstrPf", vstr), // NOXREF + +#endif // BaseMonster_Region + +#ifndef Player_Region + +//CBasePlayer + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA5200, "_ZN11CBasePlayer5SpawnEv", CBasePlayer::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA5E40, "_ZN11CBasePlayer8PrecacheEv", CBasePlayer::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA5EE0, "_ZN11CBasePlayer4SaveER5CSave", CBasePlayer::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA6080, "_ZN11CBasePlayer7RestoreER8CRestore", CBasePlayer::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D210A0, "_ZN11CBasePlayer10ObjectCapsEv", CBasePlayer::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA3550, "_ZN11CBasePlayer8ClassifyEv", CBasePlayer::Classify), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D9BE00, "_ZN11CBasePlayer11TraceAttackEP9entvars_sf6VectorP11TraceResulti", CBasePlayer::TraceAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D9C4C0, "_ZN11CBasePlayer10TakeDamageEP9entvars_sS1_fi", CBasePlayer::TakeDamage), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D9BD70, "_ZN11CBasePlayer10TakeHealthEfi", CBasePlayer::TakeHealth), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D9E550, "_ZN11CBasePlayer6KilledEP9entvars_si", CBasePlayer::Killed), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA3560, "_ZN11CBasePlayer9AddPointsEii", CBasePlayer::AddPoints), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA3640, "_ZN11CBasePlayer15AddPointsToTeamEii", CBasePlayer::AddPointsToTeam), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA86C0, "_ZN11CBasePlayer13AddPlayerItemEP15CBasePlayerItem", CBasePlayer::AddPlayerItem), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA8960, "_ZN11CBasePlayer16RemovePlayerItemEP15CBasePlayerItem", CBasePlayer::RemovePlayerItem), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA8AA0, "_ZN11CBasePlayer8GiveAmmoEiPci", CBasePlayer::GiveAmmo), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D20FD0, "_ZN11CBasePlayer13StartSneakingEv", CBasePlayer::StartSneaking), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D20FF0, "_ZN11CBasePlayer12StopSneakingEv", CBasePlayer::StopSneaking), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D21010, "_ZN11CBasePlayer10IsSneakingEv", CBasePlayer::IsSneaking), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D21030, "_ZN11CBasePlayer7IsAliveEv", CBasePlayer::IsAlive), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D21070, "_ZN11CBasePlayer8IsPlayerEv", CBasePlayer::IsPlayer), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D21090, "_ZN11CBasePlayer11IsNetClientEv", CBasePlayer::IsNetClient), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA6950, "_ZN11CBasePlayer6TeamIDEv", CBasePlayer::TeamID), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA9BF0, "_ZN11CBasePlayer12FBecomeProneEv", CBasePlayer::FBecomeProne), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D20F60, "_ZN11CBasePlayer10BodyTargetERK6Vector", CBasePlayer::BodyTarget), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA9C50, "_ZN11CBasePlayer12IlluminationEv", CBasePlayer::Illumination), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D21060, "_ZN11CBasePlayer17ShouldFadeOnDeathEv", CBasePlayer::ShouldFadeOnDeath), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA9CB0, "_ZN11CBasePlayer13ResetMaxSpeedEv", CBasePlayer::ResetMaxSpeed), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA3310, "_ZN11CBasePlayer4JumpEv", CBasePlayer::Jump), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA3530, "_ZN11CBasePlayer4DuckEv", CBasePlayer::Duck), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA3850, "_ZN11CBasePlayer8PreThinkEv", CBasePlayer::PreThink), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA4610, "_ZN11CBasePlayer9PostThinkEv", CBasePlayer::PostThink), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D9BD80, "_ZN11CBasePlayer14GetGunPositionEv", CBasePlayer::GetGunPosition), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D25AD0, "_ZN11CBasePlayer5IsBotEv", CBasePlayer::IsBot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA8F90, "_ZN11CBasePlayer16UpdateClientDataEv", CBasePlayer::UpdateClientData), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA7020, "_ZN11CBasePlayer15ImpulseCommandsEv", CBasePlayer::ImpulseCommands), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA2490, "_ZN11CBasePlayer12RoundRespawnEv", CBasePlayer::RoundRespawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA9DC0, "_ZN11CBasePlayer16GetAutoaimVectorEf", CBasePlayer::GetAutoaimVector), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DAA220, "_ZN11CBasePlayer5BlindEfffi", CBasePlayer::Blind), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D25AE0, "_ZN11CBasePlayer16OnTouchingWeaponEP10CWeaponBox", CBasePlayer::OnTouchingWeapon), // DEFAULT + // non-virtual func + HOOK_SYMBOLDEF(0x01DAC8D0, "_ZN11CBasePlayer21SpawnClientSideCorpseEv", CBasePlayer::SpawnClientSideCorpse), + HOOK_SYMBOLDEF(0x01D93750, "_ZN11CBasePlayer23Observer_FindNextPlayerEbPKc", CBasePlayer::Observer_FindNextPlayer), + HOOK_SYMBOLDEF(0x01D936E0, "_ZN11CBasePlayer22Observer_IsValidTargetEib", CBasePlayer::Observer_IsValidTarget), + HOOK_SYMBOLDEF(0x01D93D10, "_ZN11CBasePlayer22Observer_HandleButtonsEv", CBasePlayer::Observer_HandleButtons), + HOOK_SYMBOLDEF(0x01D94280, "_ZN11CBasePlayer16Observer_SetModeEi", CBasePlayer::Observer_SetMode), + HOOK_SYMBOLDEF(0x01D93DF0, "_ZN11CBasePlayer20Observer_CheckTargetEv", CBasePlayer::Observer_CheckTarget), + HOOK_SYMBOLDEF(0x01D93F30, "_ZN11CBasePlayer24Observer_CheckPropertiesEv", CBasePlayer::Observer_CheckProperties), + //HOOK_SYMBOLDEF(0x0, "_ZN11CBasePlayer10IsObserverEv", CBasePlayer::IsObserver), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN11CBasePlayer7PlantC4Ev", CBasePlayer::PlantC4), // NOXREF + HOOK_SYMBOLDEF(0x01D9B670, "_ZN11CBasePlayer5RadioEPKcS1_sb", CBasePlayer::Radio), + //HOOK_SYMBOLDEF(0x01D9B4F0, "_ZN11CBasePlayer21GetNextRadioRecipientEPS_", CBasePlayer::GetNextRadioRecipient), // NOXREF + //HOOK_SYMBOLDEF(0x01D9B9A0, "_ZN11CBasePlayer10SmartRadioEv", CBasePlayer::SmartRadio), // NOXREF + HOOK_SYMBOLDEF(0x01DA07D0, "_ZN11CBasePlayer11ThrowWeaponEPc", CBasePlayer::ThrowWeapon), // NOXREF + //HOOK_SYMBOLDEF(0x01DA0DB0, "_ZN11CBasePlayer12ThrowPrimaryEv", CBasePlayer::ThrowPrimary), // NOXREF + //HOOK_SYMBOLDEF(0x01DA1170, "_ZN11CBasePlayer10AddAccountEib", CBasePlayer::AddAccount), + HOOK_SYMBOLDEF(0x01DA1DA0, "_ZN11CBasePlayer9DisappearEv", CBasePlayer::Disappear), + HOOK_SYMBOLDEF(0x01DA15B0, "_ZN11CBasePlayer7MakeVIPEv", CBasePlayer::MakeVIP), + HOOK_SYMBOLDEF(0x01DA36C0, "_ZN11CBasePlayer12CanPlayerBuyEb", CBasePlayer::CanPlayerBuy), + HOOK_SYMBOLDEF(0x01DAB070, "_ZN11CBasePlayer10SwitchTeamEv", CBasePlayer::SwitchTeam), + HOOK_SYMBOLDEF(0x01DAB820, "_ZN11CBasePlayer12TabulateAmmoEv", CBasePlayer::TabulateAmmo), + HOOK_SYMBOLDEF(0x01D9B9B0, "_ZN11CBasePlayer4PainEib", CBasePlayer::Pain), + HOOK_SYMBOLDEF(0x01D9F410, "_ZN11CBasePlayer9IsBombGuyEv", CBasePlayer::IsBombGuy), + HOOK_SYMBOLDEF(0x01DACC30, "_ZNK11CBasePlayer19IsLookingAtPositionEPK6Vectorf", CBasePlayer::IsLookingAtPosition), + HOOK_SYMBOLDEF(0x01DA6310, "_ZN11CBasePlayer5ResetEv", CBasePlayer::Reset), + HOOK_SYMBOLDEF(0x01DA5F10, "_ZN11CBasePlayer23SetScoreboardAttributesEPS_", CBasePlayer::SetScoreboardAttributes), + //HOOK_SYMBOLDEF(0x01DA6070, "_ZN11CBasePlayer10RenewItemsEv", CBasePlayer::RenewItems), // NOXREF + HOOK_SYMBOLDEF(0x01D9D630, "_ZN11CBasePlayer19PackDeadPlayerItemsEv", CBasePlayer::PackDeadPlayerItems), + HOOK_SYMBOLDEF(0x01D9DAD0, "_ZN11CBasePlayer16GiveDefaultItemsEv", CBasePlayer::GiveDefaultItems), + HOOK_SYMBOLDEF(0x01D9DD60, "_ZN11CBasePlayer14RemoveAllItemsEi", CBasePlayer::RemoveAllItems), + HOOK_SYMBOLDEF(0x01D9E020, "_ZN11CBasePlayer11SetBombIconEi", CBasePlayer::SetBombIcon), + HOOK_SYMBOLDEF(0x01D9E190, "_ZN11CBasePlayer18SetProgressBarTimeEi", CBasePlayer::SetProgressBarTime), + HOOK_SYMBOLDEF(0x01D9E320, "_ZN11CBasePlayer19SetProgressBarTime2Eif", CBasePlayer::SetProgressBarTime2), + //HOOK_SYMBOLDEF(0x01D93690, "_Z14GetForceCamerav", GetForceCamera), // NOXREF + HOOK_SYMBOLDEF(0x01D93A00, "_ZL19UpdateClientEffectsP11CBasePlayeri", UpdateClientEffects), + //HOOK_DEF(0x0, OLD_CheckBuyZone), // NOXREF + //HOOK_DEF(0x0, OLD_CheckBombTarget), // NOXREF + //HOOK_DEF(0x0, OLD_CheckRescueZone), // NOXREF + +#ifdef _WIN32 + + //HOOK_DEF(0x0, BuyZoneIcon_Set), + //HOOK_DEF(0x0, BuyZoneIcon_Clear), // NOXREF + //HOOK_DEF(0x0, BombTargetFlash_Set), + //HOOK_DEF(0x0, BombTargetFlash_Clear), // NOXREF + //HOOK_DEF(0x0, RescueZoneIcon_Set), + //HOOK_DEF(0x0, RescueZoneIcon_Clear), // NOXREF + HOOK_DEF(0x01DA8410, EscapeZoneIcon_Set), + HOOK_DEF(0x01DA84C0, EscapeZoneIcon_Clear), + HOOK_DEF(0x01DA8550, VIP_SafetyZoneIcon_Set), + HOOK_DEF(0x01DA8630, VIP_SafetyZoneIcon_Clear), + +#endif // _WIN32 + + HOOK_SYMBOLDEF(0x01DA4420, "_ZN11CBasePlayer17SetNewPlayerModelEPKc", CBasePlayer::SetNewPlayerModel), + HOOK_SYMBOLDEF(0x01DAB720, "_ZN11CBasePlayer12SwitchWeaponEP15CBasePlayerItem", CBasePlayer::SwitchWeapon), + //HOOK_SYMBOLDEF(0x01DA43F0, "_ZN11CBasePlayer13CheckPowerupsEP9entvars_s", CBasePlayer::CheckPowerups), // NOXREF + HOOK_SYMBOLDEF(0x01DACDA0, "_ZN11CBasePlayer16CanAffordPrimaryEv", CBasePlayer::CanAffordPrimary), + HOOK_SYMBOLDEF(0x01DACE10, "_ZN11CBasePlayer20CanAffordPrimaryAmmoEv", CBasePlayer::CanAffordPrimaryAmmo), + HOOK_SYMBOLDEF(0x01DACE60, "_ZN11CBasePlayer22CanAffordSecondaryAmmoEv", CBasePlayer::CanAffordSecondaryAmmo), + HOOK_SYMBOLDEF(0x01DACEB0, "_ZN11CBasePlayer14CanAffordArmorEv", CBasePlayer::CanAffordArmor), + HOOK_SYMBOLDEF(0x01DACEF0, "_ZN11CBasePlayer18CanAffordDefuseKitEv", CBasePlayer::CanAffordDefuseKit), + HOOK_SYMBOLDEF(0x01DACF00, "_ZN11CBasePlayer16CanAffordGrenadeEv", CBasePlayer::CanAffordGrenade), + HOOK_SYMBOLDEF(0x01DACF20, "_ZN11CBasePlayer16NeedsPrimaryAmmoEv", CBasePlayer::NeedsPrimaryAmmo), + HOOK_SYMBOLDEF(0x01DACF60, "_ZN11CBasePlayer18NeedsSecondaryAmmoEv", CBasePlayer::NeedsSecondaryAmmo), + HOOK_SYMBOLDEF(0x01DACFA0, "_ZN11CBasePlayer10NeedsArmorEv", CBasePlayer::NeedsArmor), + HOOK_SYMBOLDEF(0x01DACFD0, "_ZN11CBasePlayer14NeedsDefuseKitEv", CBasePlayer::NeedsDefuseKit), + HOOK_SYMBOLDEF(0x01DAD000, "_ZN11CBasePlayer12NeedsGrenadeEv", CBasePlayer::NeedsGrenade), + HOOK_SYMBOLDEF(0x01DA07B0, "_ZN11CBasePlayer10IsOnLadderEv", CBasePlayer::IsOnLadder), + //HOOK_SYMBOLDEF(0x01DA6E80, "_ZN11CBasePlayer14FlashlightIsOnEv", CBasePlayer::FlashlightIsOn), // NOXREF + //HOOK_SYMBOLDEF(0x01DA6E90, "_ZN11CBasePlayer16FlashlightTurnOnEv", CBasePlayer::FlashlightTurnOn), // NOXREF + //HOOK_SYMBOLDEF(0x01DA6F40, "_ZN11CBasePlayer17FlashlightTurnOffEv", CBasePlayer::FlashlightTurnOff), // NOXREF + HOOK_SYMBOLDEF(0x01DA4450, "_ZN11CBasePlayer17UpdatePlayerSoundEv", CBasePlayer::UpdatePlayerSound), + //HOOK_SYMBOLDEF(0x01D9BCA0, "_ZN11CBasePlayer10DeathSoundEv", CBasePlayer::DeathSound), // NOXREF + HOOK_SYMBOLDEF(0x01D9F430, "_ZN11CBasePlayer12SetAnimationE11PLAYER_ANIM", CBasePlayer::SetAnimation), + //HOOK_SYMBOLDEF(0x0, "_ZN11CBasePlayer17SetWeaponAnimTypeEPKc", CBasePlayer::SetWeaponAnimType), // NOXREF + HOOK_SYMBOLDEF(0x01DA73C0, "_ZN11CBasePlayer20CheatImpulseCommandsEi", CBasePlayer::CheatImpulseCommands), + //HOOK_SYMBOLDEF(0x01DA2640, "_ZN11CBasePlayer13StartDeathCamEv", CBasePlayer::StartDeathCam), // NOXREF + HOOK_SYMBOLDEF(0x01DA26D0, "_ZN11CBasePlayer13StartObserverE6VectorS0_", CBasePlayer::StartObserver), + HOOK_SYMBOLDEF(0x01DA7FF0, "_ZN11CBasePlayer13HandleSignalsEv", CBasePlayer::HandleSignals), + HOOK_SYMBOLDEF(0x01DAA850, "_ZN11CBasePlayer14DropPlayerItemEPKc", CBasePlayer::DropPlayerItem), + //HOOK_SYMBOLDEF(0x01DAAF30, "_ZN11CBasePlayer13HasPlayerItemEP15CBasePlayerItem", CBasePlayer::HasPlayerItem), + //HOOK_SYMBOLDEF(0x01DAAFC0, "_ZN11CBasePlayer18HasNamedPlayerItemEPKc", CBasePlayer::HasNamedPlayerItem), + //HOOK_SYMBOLDEF(0x01DA6920, "_ZN11CBasePlayer10HasWeaponsEv", CBasePlayer::HasWeapons), // NOXREF + //HOOK_SYMBOLDEF(0x01DA6940, "_ZN11CBasePlayer14SelectPrevItemEi", CBasePlayer::SelectPrevItem), // NOXREF + //HOOK_SYMBOLDEF(0x01DA6470, "_ZN11CBasePlayer14SelectNextItemEi", CBasePlayer::SelectNextItem), // NOXREF + HOOK_SYMBOLDEF(0x01DA65E0, "_ZN11CBasePlayer10SelectItemEPKc", CBasePlayer::SelectItem), + HOOK_SYMBOLDEF(0x01DA67A0, "_ZN11CBasePlayer14SelectLastItemEv", CBasePlayer::SelectLastItem), + //HOOK_SYMBOLDEF(0x01DA8BB0, "_ZN11CBasePlayer12ItemPreFrameEv", CBasePlayer::ItemPreFrame), // NOXREF + //HOOK_SYMBOLDEF(0x01DA8BE0, "_ZN11CBasePlayer13ItemPostFrameEv", CBasePlayer::ItemPostFrame), // NOXREF + //HOOK_SYMBOLDEF(0x01DA6CC0, "_ZN11CBasePlayer13GiveNamedItemEPKc", CBasePlayer::GiveNamedItem), + HOOK_SYMBOLDEF(0x01DA9C80, "_ZN11CBasePlayer13EnableControlEi", CBasePlayer::EnableControl), + HOOK_SYMBOLDEF(0x01DA9D50, "_ZN11CBasePlayer11HintMessageEPKcii", CBasePlayer::HintMessage), + HOOK_SYMBOLDEF(0x01DA8CC0, "_ZN11CBasePlayer14SendAmmoUpdateEv", CBasePlayer::SendAmmoUpdate), + //HOOK_SYMBOLDEF(0x01D9E4F0, "_ZN11CBasePlayer7SendFOVEi", CBasePlayer::SendFOV), // NOXREF + HOOK_SYMBOLDEF(0x01DA0390, "_ZN11CBasePlayer9WaterMoveEv", CBasePlayer::WaterMove), + HOOK_SYMBOLDEF(0x01DA2140, "_ZN11CBasePlayer16PlayerDeathThinkEv", CBasePlayer::PlayerDeathThink), + HOOK_SYMBOLDEF(0x01DA29A0, "_ZN11CBasePlayer9PlayerUseEv", CBasePlayer::PlayerUse), + HOOK_SYMBOLDEF(0x01DA3290, "_ZN11CBasePlayer11HostageUsedEv", CBasePlayer::HostageUsed), + HOOK_SYMBOLDEF(0x01DA1680, "_ZN11CBasePlayer12JoiningThinkEv", CBasePlayer::JoiningThink), + //HOOK_SYMBOLDEF(0x01DA1480, "_ZN11CBasePlayer15RemoveLevelTextEv", CBasePlayer::RemoveLevelText), // NOXREF + //HOOK_SYMBOLDEF(0x01DA14D0, "_ZN11CBasePlayer9MenuPrintEPS_PKc", CBasePlayer::MenuPrint), // hook with attribute __stdcall + //HOOK_SYMBOLDEF(0x01DA11F0, "_ZN11CBasePlayer9ResetMenuEv", CBasePlayer::ResetMenu), // NOXREF + HOOK_SYMBOLDEF(0x01DA1240, "_ZN11CBasePlayer14SyncRoundTimerEv", CBasePlayer::SyncRoundTimer), + HOOK_SYMBOLDEF(0x01DA4220, "_ZN11CBasePlayer15CheckSuitUpdateEv", CBasePlayer::CheckSuitUpdate), + HOOK_SYMBOLDEF(0x01DA43E0, "_ZN11CBasePlayer13SetSuitUpdateEPcii", CBasePlayer::SetSuitUpdate), + //HOOK_SYMBOLDEF(0x01DA4170, "_ZN11CBasePlayer19UpdateGeigerCounterEv", CBasePlayer::UpdateGeigerCounter), // NOXREF + HOOK_SYMBOLDEF(0x01DA3FE0, "_ZN11CBasePlayer20CheckTimeBasedDamageEv", CBasePlayer::CheckTimeBasedDamage), + //HOOK_SYMBOLDEF(0x01DA9C10, "_ZN11CBasePlayer20BarnacleVictimBittenEP9entvars_s", CBasePlayer::BarnacleVictimBitten), // NOXREF + //HOOK_SYMBOLDEF(0x01DA9C40, "_ZN11CBasePlayer22BarnacleVictimReleasedEv", CBasePlayer::BarnacleVictimReleased), // NOXREF + HOOK_SYMBOLDEF(0x01DA8C80, "_ZN11CBasePlayer12GetAmmoIndexEPKc", CBasePlayer::GetAmmoIndex), + HOOK_SYMBOLDEF(0x01DA8C60, "_ZN11CBasePlayer13AmmoInventoryEi", CBasePlayer::AmmoInventory), + //HOOK_SYMBOLDEF(0x01DAA150, "_ZN11CBasePlayer12ResetAutoaimEv", CBasePlayer::ResetAutoaim), // NOXREF + //HOOK_SYMBOLDEF(0x01DAA120, "_ZN11CBasePlayer17AutoaimDeflectionER6Vectorff", CBasePlayer::AutoaimDeflection), // NOXREF + HOOK_SYMBOLDEF(0x01DA6FD0, "_ZN11CBasePlayer20ForceClientDllUpdateEv", CBasePlayer::ForceClientDllUpdate), + //HOOK_SYMBOLDEF(0x0, "_ZN11CBasePlayer12DeathMessageEP9entvars_s", CBasePlayer::DeathMessage), // NOXREF + HOOK_SYMBOLDEF(0x01DAA1E0, "_ZN11CBasePlayer20SetCustomDecalFramesEi", CBasePlayer::SetCustomDecalFrames), + //HOOK_SYMBOLDEF(0x01DAA210, "_ZN11CBasePlayer20GetCustomDecalFramesEv", CBasePlayer::GetCustomDecalFrames), // NOXREF + //HOOK_SYMBOLDEF(0x01DAA260, "_ZN11CBasePlayer13InitStatusBarEv", CBasePlayer::InitStatusBar), // NOXREF + HOOK_SYMBOLDEF(0x01DAA270, "_ZN11CBasePlayer15UpdateStatusBarEv", CBasePlayer::UpdateStatusBar), + HOOK_SYMBOLDEF(0x01DAC0F0, "_ZN11CBasePlayer18StudioEstimateGaitEv", CBasePlayer::StudioEstimateGait), + //HOOK_SYMBOLDEF(0x01DAC400, "_ZN11CBasePlayer17StudioPlayerBlendEPiPf", CBasePlayer::StudioPlayerBlend), // NOXREF + //HOOK_SYMBOLDEF(0x01DAC490, "_ZN11CBasePlayer19CalculatePitchBlendEv", CBasePlayer::CalculatePitchBlend), // NOXREF + HOOK_SYMBOLDEF(0x01DAC510, "_ZN11CBasePlayer17CalculateYawBlendEv", CBasePlayer::CalculateYawBlend), + HOOK_SYMBOLDEF(0x01DAC640, "_ZN11CBasePlayer17StudioProcessGaitEv", CBasePlayer::StudioProcessGait), + //HOOK_SYMBOLDEF(0x01DA8D40, "_ZN11CBasePlayer14SendHostagePosEv", CBasePlayer::SendHostagePos), // NOXREF + HOOK_SYMBOLDEF(0x01DA8DE0, "_ZN11CBasePlayer16SendHostageIconsEv", CBasePlayer::SendHostageIcons), + //HOOK_SYMBOLDEF(0x01DAC7C0, "_ZN11CBasePlayer12ResetStaminaEv", CBasePlayer::ResetStamina), // NOXREF + //HOOK_SYMBOLDEF(0x01DACA10, "_ZN11CBasePlayer9IsArmoredEi", CBasePlayer::IsArmored), // NOXREF + //HOOK_SYMBOLDEF(0x01DACA60, "_ZN11CBasePlayer19ShouldDoLargeFlinchEii", CBasePlayer::ShouldDoLargeFlinch), // NOXREF + HOOK_SYMBOLDEF(0x01DACAD0, "_ZN11CBasePlayer20SetPrefsFromUserinfoEPc", CBasePlayer::SetPrefsFromUserinfo), + HOOK_SYMBOLDEF(0x01DA8EE0, "_ZN11CBasePlayer15SendWeatherInfoEv", CBasePlayer::SendWeatherInfo), + HOOK_SYMBOLDEF(0x01DAB6F0, "_ZN11CBasePlayer21UpdateShieldCrosshairEb", CBasePlayer::UpdateShieldCrosshair), + HOOK_SYMBOLDEF(0x01DA0DA0, "_ZN11CBasePlayer9HasShieldEv", CBasePlayer::HasShield), + //HOOK_SYMBOLDEF(0x0, "_ZN11CBasePlayer19IsProtectedByShieldEv", CBasePlayer::IsProtectedByShield), + //HOOK_SYMBOLDEF(0x01DA0B20, "_ZN11CBasePlayer12RemoveShieldEv", CBasePlayer::RemoveShield), // NOXREF + HOOK_SYMBOLDEF(0x01DA0B60, "_ZN11CBasePlayer10DropShieldEb", CBasePlayer::DropShield), + HOOK_SYMBOLDEF(0x01DA0A90, "_ZN11CBasePlayer10GiveShieldEb", CBasePlayer::GiveShield), + //HOOK_SYMBOLDEF(0x01D9BDB0, "_ZN11CBasePlayer15IsHittingShieldERK6VectorP11TraceResult", CBasePlayer::IsHittingShield), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN11CBasePlayer11IsReloadingEv", CBasePlayer::IsReloading), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK11CBasePlayer7IsBlindEv", CBasePlayer::IsBlind), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK11CBasePlayer19IsAutoFollowAllowedEv", CBasePlayer::IsAutoFollowAllowed), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN11CBasePlayer17InhibitAutoFollowEf", CBasePlayer::InhibitAutoFollow), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN11CBasePlayer15AllowAutoFollowEv", CBasePlayer::AllowAutoFollow), // NOXREF + HOOK_SYMBOLDEF(0x01DAD180, "_ZN11CBasePlayer16ClearAutoBuyDataEv", CBasePlayer::ClearAutoBuyData), + HOOK_SYMBOLDEF(0x01DAD190, "_ZN11CBasePlayer14AddAutoBuyDataEPKc", CBasePlayer::AddAutoBuyData), + HOOK_SYMBOLDEF(0x01DAD280, "_ZN11CBasePlayer7AutoBuyEv", CBasePlayer::AutoBuy), + HOOK_SYMBOLDEF(0x01DAD0D0, "_ZN11CBasePlayer13ClientCommandEPKcS1_S1_S1_", CBasePlayer::ClientCommand), + HOOK_SYMBOLDEF(0x01DADD00, "_ZN11CBasePlayer23PrioritizeAutoBuyStringEPcPKc", CBasePlayer::PrioritizeAutoBuyString), + HOOK_SYMBOLDEF(0x01DAD590, "_ZN11CBasePlayer27PickPrimaryCareerTaskWeaponEv", CBasePlayer::PickPrimaryCareerTaskWeapon), + HOOK_SYMBOLDEF(0x01DAD930, "_ZN11CBasePlayer29PickSecondaryCareerTaskWeaponEv", CBasePlayer::PickSecondaryCareerTaskWeapon), + //HOOK_SYMBOLDEF(0x01DADC60, "_ZN11CBasePlayer25PickFlashKillWeaponStringEv", CBasePlayer::PickFlashKillWeaponString), // NOXREF + //HOOK_SYMBOLDEF(0x01DADCC0, "_ZN11CBasePlayer27PickGrenadeKillWeaponStringEv", CBasePlayer::PickGrenadeKillWeaponString), // NOXREF + //HOOK_SYMBOLDEF(0x01DADF70, "_ZN11CBasePlayer27ShouldExecuteAutoBuyCommandEPK17AutoBuyInfoStructbb", CBasePlayer::ShouldExecuteAutoBuyCommand), // NOXREF + HOOK_SYMBOLDEF(0x01DADFF0, "_ZN11CBasePlayer28PostAutoBuyCommandProcessingEPK17AutoBuyInfoStructRbS3_", CBasePlayer::PostAutoBuyCommandProcessing), + HOOK_SYMBOLDEF(0x01DADE20, "_ZN11CBasePlayer18ParseAutoBuyStringEPKcRbS2_", CBasePlayer::ParseAutoBuyString), + //HOOK_SYMBOLDEF(0x01DADFB0, "_ZN11CBasePlayer21GetAutoBuyCommandInfoEPKc", CBasePlayer::GetAutoBuyCommandInfo), // NOXREF + HOOK_SYMBOLDEF(0x01DAD1F0, "_ZN11CBasePlayer13InitRebuyDataEPKc", CBasePlayer::InitRebuyData), + HOOK_SYMBOLDEF(0x01DAE0A0, "_ZN11CBasePlayer16BuildRebuyStructEv", CBasePlayer::BuildRebuyStruct), + HOOK_SYMBOLDEF(0x01DAE260, "_ZN11CBasePlayer5RebuyEv", CBasePlayer::Rebuy), + //HOOK_SYMBOLDEF(0x01DAE580, "_ZN11CBasePlayer18RebuyPrimaryWeaponEv", CBasePlayer::RebuyPrimaryWeapon), // NOXREF + //HOOK_SYMBOLDEF(0x01DAE5E0, "_ZN11CBasePlayer16RebuyPrimaryAmmoEv", CBasePlayer::RebuyPrimaryAmmo), // NOXREF + //HOOK_SYMBOLDEF(0x01DAE650, "_ZN11CBasePlayer20RebuySecondaryWeaponEv", CBasePlayer::RebuySecondaryWeapon), // NOXREF + //HOOK_SYMBOLDEF(0x01DAE6B0, "_ZN11CBasePlayer18RebuySecondaryAmmoEv", CBasePlayer::RebuySecondaryAmmo), + //HOOK_SYMBOLDEF(0x01DAE720, "_ZN11CBasePlayer14RebuyHEGrenadeEv", CBasePlayer::RebuyHEGrenade), // NOXREF + //HOOK_SYMBOLDEF(0x01DAE7C0, "_ZN11CBasePlayer14RebuyFlashbangEv", CBasePlayer::RebuyFlashbang), // NOXREF + //HOOK_SYMBOLDEF(0x01DAE860, "_ZN11CBasePlayer17RebuySmokeGrenadeEv", CBasePlayer::RebuySmokeGrenade), // NOXREF + HOOK_SYMBOLDEF(0x01DAE900, "_ZN11CBasePlayer12RebuyDefuserEv", CBasePlayer::RebuyDefuser), + HOOK_SYMBOLDEF(0x01DAE960, "_ZN11CBasePlayer16RebuyNightVisionEv", CBasePlayer::RebuyNightVision), + HOOK_SYMBOLDEF(0x01DAE9C0, "_ZN11CBasePlayer10RebuyArmorEv", CBasePlayer::RebuyArmor), + HOOK_SYMBOLDEF(0x01DAEAB0, "_ZN11CBasePlayer14UpdateLocationEb", CBasePlayer::UpdateLocation), + //HOOK_SYMBOLDEF(0x0, "_ZN11CBasePlayer23SetObserverAutoDirectorEb", CBasePlayer::SetObserverAutoDirector), // NOXREF + HOOK_SYMBOLDEF(0x01DAEA40, "_ZN11CBasePlayer17IsObservingPlayerEPS_", CBasePlayer::IsObservingPlayer), + //HOOK_SYMBOLDEF(0x0, "_ZNK11CBasePlayer22CanSwitchObserverModesEv", CBasePlayer::CanSwitchObserverModes), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN11CBasePlayer7IntenseEv", CBasePlayer::Intense), // NOXREF + HOOK_SYMBOLDEF(0x01D9AB20, "_Z16LinkUserMessagesv", LinkUserMessages), + HOOK_SYMBOLDEF(0x01D9B0F0, "_Z18WriteSigonMessagesv", WriteSigonMessages), + //HOOK_SYMBOLDEF(0x01D9B280, "_Z14SendItemStatusP11CBasePlayer", SendItemStatus), + HOOK_SYMBOLDEF(0x01D9D8A0, "_ZL14GetCSModelNamei", GetCSModelName), + HOOK_SYMBOLDEF(0x01D9B2D0, "_ZN11CBasePlayer14SetPlayerModelEi", CBasePlayer::SetPlayerModel), + //HOOK_SYMBOLDEF(0x01D9BB40, "_Z20VecVelocityForDamagef", VecVelocityForDamage), // NOXREF + //HOOK_SYMBOLDEF(0x01D9BC40, "_Z10TrainSpeedii", TrainSpeed), // NOXREF + HOOK_SYMBOLDEF(0x01D9C2B0, "_Z13GetWeaponNameP9entvars_sS0_", GetWeaponName), + HOOK_SYMBOLDEF(0x01D9C3C0, "_Z9LogAttackP11CBasePlayerS0_iiiiiPKc", LogAttack), + HOOK_SYMBOLDEF(0x01D9D770, "_ZL14packPlayerItemP11CBasePlayerP15CBasePlayerItemb", packPlayerItem), + HOOK_SYMBOLDEF(0x01DA3110, "_ZL13CanSeeUseableP11CBasePlayerP11CBaseEntity_isra_13", CanSeeUseable), + //HOOK_SYMBOLDEF(0x01DA34E0, "_Z20FixPlayerCrouchStuckP7edict_s", FixPlayerCrouchStuck), // NOXREF + //HOOK_SYMBOLDEF(0x01DA4A90, "_Z17IsSpawnPointValidP11CBaseEntityS0_", IsSpawnPointValid), // NOXREF + //HOOK_SYMBOLDEF(0x01DA4B20, "_Z16InitZombieSpawnsv", InitZombieSpawns), // NOXREF + //HOOK_SYMBOLDEF(0x01DA4BC0, "_Z15FindZombieSpawnP11CBaseEntityb", FindZombieSpawn), // NOXREF + //HOOK_SYMBOLDEF(0x01DA4BD0, "_Z19EntSelectSpawnPointP11CBaseEntity", EntSelectSpawnPoint), + +#ifdef _WIN32 + //HOOK_DEF(0x01DA5180, SetScoreAttrib), +#endif // _WIN32 + + //HOOK_SYMBOLDEF(0x01DA6D60, "_Z17FindEntityForwardP11CBaseEntity", FindEntityForward), // NOXREF + HOOK_SYMBOLDEF(0x01DAC7E0, "_Z14GetPlayerPitchPK7edict_s", GetPlayerPitch), + HOOK_SYMBOLDEF(0x01DAC830, "_Z12GetPlayerYawPK7edict_s", GetPlayerYaw), + HOOK_SYMBOLDEF(0x01DAC880, "_Z21GetPlayerGaitsequencePK7edict_s", GetPlayerGaitsequence), + //HOOK_SYMBOLDEF(0x01DAD120, "_Z26GetBuyStringForWeaponClassi", GetBuyStringForWeaponClass), // NOXREF + //HOOK_SYMBOLDEF(0x01DAD470, "_Z20IsPrimaryWeaponClassi", IsPrimaryWeaponClass), // NOXREF + //HOOK_SYMBOLDEF(0x01DAD490, "_Z17IsPrimaryWeaponIdi", IsPrimaryWeaponId), // NOXREF + //HOOK_SYMBOLDEF(0x01DAD4C0, "_Z22IsSecondaryWeaponClassi", IsSecondaryWeaponClass), // NOXREF + //HOOK_SYMBOLDEF(0x01DAD4D0, "_Z19IsSecondaryWeaponIdi", IsSecondaryWeaponId), // NOXREF + //HOOK_SYMBOLDEF(0x01DAD500, "_Z22GetWeaponAliasFromNamePKc", GetWeaponAliasFromName), // NOXREF + //HOOK_SYMBOLDEF(0x01DAD520, "_Z22CurrentWeaponSatisfiesP17CBasePlayerWeaponii", CurrentWeaponSatisfies), // NOXREF +//CWShield + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA08D0, "_ZN8CWShield5SpawnEv", CWShield::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA0920, "_ZN8CWShield5TouchEP11CBaseEntity", CWShield::Touch), + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN8CWShield23SetCantBePickedUpByUserEP11CBaseEntityf", CWShield::SetCantBePickedUpByUser) // NOXREF + +//CSprayCan + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DA6A30, "_ZN9CSprayCan5ThinkEv", CSprayCan::Think), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DA73B0, "_ZN9CSprayCan10ObjectCapsEv", CSprayCan::ObjectCaps), // DEFAULT + // non-virtual func + HOOK_SYMBOLDEF(0x01DA6970, "_ZN9CSprayCan5SpawnEP9entvars_s", CSprayCan::Spawn), // NOXREF +//CBloodSplat + //HOOK_SYMBOLDEF(0x01DA6B70, "_ZN11CBloodSplat5SpawnEP9entvars_s", CBloodSplat::Spawn), // NOXREF + //HOOK_SYMBOLDEF(0x01DA6C00, "_ZN11CBloodSplat5SprayEv", CBloodSplat::Spray), // NOXREF +//CDeadHEV + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DABAF0, "_ZN8CDeadHEV5SpawnEv", CDeadHEV::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DABAE0, "_ZN8CDeadHEV8ClassifyEv", CDeadHEV::Classify), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DABA40, "_ZN8CDeadHEV8KeyValueEP14KeyValueData_s", CDeadHEV::KeyValue), +//CStripWeapons + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DABC10, "_ZN13CStripWeapons3UseEP11CBaseEntityS1_8USE_TYPEf", CStripWeapons::Use), +//CRevertSaved + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DABD20, "_ZN12CRevertSaved8KeyValueEP14KeyValueData_s", CRevertSaved::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DABCC0, "_ZN12CRevertSaved4SaveER5CSave", CRevertSaved::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DABCF0, "_ZN12CRevertSaved7RestoreER8CRestore", CRevertSaved::Restore), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DABE10, "_ZN12CRevertSaved3UseEP11CBaseEntityS1_8USE_TYPEf", CRevertSaved::Use), + // non-virtual func + HOOK_SYMBOLDEF(0x01DABE70, "_ZN12CRevertSaved12MessageThinkEv", CRevertSaved::MessageThink), + HOOK_SYMBOLDEF(0x01DABEF0, "_ZN12CRevertSaved9LoadThinkEv", CRevertSaved::LoadThink), +//CInfoIntermission + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DABF20, "_ZN17CInfoIntermission5SpawnEv", CInfoIntermission::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DABF90, "_ZN17CInfoIntermission5ThinkEv", CInfoIntermission::Think), + //linked objects + HOOK_DEF(0x01D9B1F0, player), + HOOK_DEF(0x01DAC0A0, info_intermission), + HOOK_DEF(0x01DABC70, player_loadsaved), + HOOK_DEF(0x01DABBC0, player_weaponstrip), + HOOK_DEF(0x01DABA90, monster_hevsuit_dead), + HOOK_DEF(0x01DA0880, weapon_shield), + +#endif // Player_Region + +#ifndef Effects_Region + +//CSprite + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D792F0, "_ZN7CSprite5SpawnEv", CSprite::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D79500, "_ZN7CSprite8PrecacheEv", CSprite::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D79440, "_ZN7CSprite7RestartEv", CSprite::Restart), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D79290, "_ZN7CSprite4SaveER5CSave", CSprite::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D792C0, "_ZN7CSprite7RestoreER8CRestore", CSprite::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D78660, "_ZN7CSprite10ObjectCapsEv", CSprite::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D79AE0, "_ZN7CSprite3UseEP11CBaseEntityS1_8USE_TYPEf", CSprite::Use), + // non-virtual func + HOOK_SYMBOLDEF(0x01D79740, "_ZN7CSprite12AnimateThinkEv", CSprite::AnimateThink), + HOOK_SYMBOLDEF(0x01D79930, "_ZN7CSprite11ExpandThinkEv", CSprite::ExpandThink), + //HOOK_SYMBOLDEF(0x01D799C0, "_ZN7CSprite12AnimateThinkEv", CSprite::Animate), // NOXREF + //HOOK_SYMBOLDEF(0x01D798E0, "_ZN7CSprite6ExpandEff", CSprite::Expand), // NOXREF + //HOOK_SYMBOLDEF(0x01D79590, "_ZN7CSprite10SpriteInitEPKcRK6Vector", CSprite::SpriteInit), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN7CSprite13SetAttachmentEP7edict_si", CSprite::SetAttachment), // NOXREF + //HOOK_SYMBOLDEF(0x01D79A40, "_ZN7CSprite7TurnOffEv", CSprite::TurnOff), // NOXREF + HOOK_SYMBOLDEF(0x01D79A60, "_ZN7CSprite6TurnOnEv", CSprite::TurnOn), + //HOOK_SYMBOLDEF(0x0, "_ZN7CSprite6FramesEv", CSprite::Frames), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN7CSprite15SetTransparencyEiiiiii", CSprite::SetTransparency), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN7CSprite10SetTextureEi", CSprite::SetTexture), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN7CSprite8SetScaleEf", CSprite::SetScale), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN7CSprite8SetColorEiii", CSprite::SetColor), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN7CSprite13SetBrightnessEi", CSprite::SetBrightness), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN7CSprite13AnimateAndDieEf", CSprite::AnimateAndDie), // NOXREF + HOOK_SYMBOLDEF(0x01D79800, "_ZN7CSprite16AnimateUntilDeadEv", CSprite::AnimateUntilDead), + HOOK_SYMBOLDEF(0x01D795D0, "_ZN7CSprite12SpriteCreateEPKcRK6Vectori", CSprite::SpriteCreate), +//CBeam + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D75E00, "_ZN5CBeam5SpawnEv", CBeam::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D75E20, "_ZN5CBeam8PrecacheEv", CBeam::Precache), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D788B0, "_ZN5CBeam10ObjectCapsEv", CBeam::ObjectCaps), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D78D20, "_ZN5CBeam6CenterEv", CBeam::Center), // DEFAULT + // non-virtual func + HOOK_SYMBOLDEF(0x01D76660, "_ZN5CBeam12TriggerTouchEP11CBaseEntity", CBeam::TriggerTouch), + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam7SetTypeEi", CBeam::SetType), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam8SetFlagsEi", CBeam::SetFlags), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam11SetStartPosERK6Vector", CBeam::SetStartPos), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam9SetEndPosERK6Vector", CBeam::SetEndPos), // NOXREF + //HOOK_SYMBOLDEF(0x01D75EC0, "_ZN5CBeam14SetStartEntityEi", CBeam::SetStartEntity), // NOXREF + //HOOK_SYMBOLDEF(0x01D75F10, "_ZN5CBeam12SetEndEntityEi", CBeam::SetEndEntity), // NOXREF + HOOK_SYMBOLDEF(0x01D7A860, "_ZN5CBeam18SetStartAttachmentEi", CBeam::SetStartAttachment), + HOOK_SYMBOLDEF(0x01D7A890, "_ZN5CBeam16SetEndAttachmentEi", CBeam::SetEndAttachment), + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam10SetTextureEi", CBeam::SetTexture), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam8SetWidthEi", CBeam::SetWidth), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam8SetNoiseEi", CBeam::SetNoise), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam8SetColorEiii", CBeam::SetColor), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam13SetBrightnessEi", CBeam::SetBrightness), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam8SetFrameEf", CBeam::SetFrame), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam13SetScrollRateEi", CBeam::SetScrollRate), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam7GetTypeEv", CBeam::GetType), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam8GetFlagsEv", CBeam::GetFlags), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam14GetStartEntityEv", CBeam::GetStartEntity), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam12GetEndEntityEv", CBeam::GetEndEntity), // NOXREF + //HOOK_SYMBOLDEF(0x01D75F60, "_ZN5CBeam11GetStartPosEv", CBeam::GetStartPos), // NOXREF + //HOOK_SYMBOLDEF(0x01D75FA0, "_ZN5CBeam9GetEndPosEv", CBeam::GetEndPos), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam10GetTextureEv", CBeam::GetTexture), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam8GetWidthEv", CBeam::GetWidth), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam8GetNoiseEv", CBeam::GetNoise), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam13GetBrightnessEv", CBeam::GetBrightness), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam8GetFrameEv", CBeam::GetFrame), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam13GetScrollRateEv", CBeam::GetScrollRate), // NOXREF + HOOK_SYMBOLDEF(0x01D76480, "_ZN5CBeam10RelinkBeamEv", CBeam::RelinkBeam), + //HOOK_SYMBOLDEF(0x01D76700, "_ZN5CBeam8DoSparksERK6VectorS2_", CBeam::DoSparks), // NOXREF + //HOOK_SYMBOLDEF(0x01D766B0, "_ZN5CBeam16RandomTargetnameEPKc", CBeam::RandomTargetname), // NOXREF + HOOK_SYMBOLDEF(0x01D775B0, "_ZN5CBeam10BeamDamageEP11TraceResult", CBeam::BeamDamage), + HOOK_SYMBOLDEF(0x01D76140, "_ZN5CBeam8BeamInitEPKci", CBeam::BeamInit), + //HOOK_SYMBOLDEF(0x01D76200, "_ZN5CBeam10PointsInitERK6VectorS2_", CBeam::PointsInit), // NOXREF + //HOOK_SYMBOLDEF(0x01D76300, "_ZN5CBeam12PointEntInitERK6Vectori", CBeam::PointEntInit), // NOXREF + //HOOK_SYMBOLDEF(0x01D763B0, "_ZN5CBeam8EntsInitEii", CBeam::EntsInit), // NOXREF + //HOOK_SYMBOLDEF(0x01D76280, "_ZN5CBeam8HoseInitERK6VectorS2_", CBeam::HoseInit), // NOXREF + //HOOK_SYMBOLDEF(0x01D75FF0, "_ZN5CBeam10BeamCreateEPKci", CBeam::BeamCreate), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam11LiveForTimeEf", CBeam::LiveForTime), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CBeam17BeamDamageInstantEP11TraceResultf", CBeam::BeamDamageInstant), // NOXREF +//CLaser + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D782A0, "_ZN6CLaser5SpawnEv", CLaser::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D78680, "_ZN6CLaser8PrecacheEv", CLaser::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D786D0, "_ZN6CLaser8KeyValueEP14KeyValueData_s", CLaser::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D78240, "_ZN6CLaser4SaveER5CSave", CLaser::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D78270, "_ZN6CLaser7RestoreER8CRestore", CLaser::Restore), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D789E0, "_ZN6CLaser3UseEP11CBaseEntityS1_8USE_TYPEf", CLaser::Use), + // non-virtual func + HOOK_SYMBOLDEF(0x01D78930, "_ZN6CLaser6TurnOnEv", CLaser::TurnOn), + HOOK_SYMBOLDEF(0x01D788F0, "_ZN6CLaser7TurnOffEv", CLaser::TurnOff), + //HOOK_SYMBOLDEF(0x01D788D0, "_ZN6CLaser4IsOnEv", CLaser::IsOn), // NOXREF + HOOK_SYMBOLDEF(0x01D78B00, "_ZN6CLaser11FireAtPointER11TraceResult", CLaser::FireAtPoint), + HOOK_SYMBOLDEF(0x01D78BB0, "_ZN6CLaser11StrikeThinkEv", CLaser::StrikeThink), +//CBubbling + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D75A90, "_ZN9CBubbling5SpawnEv", CBubbling::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D75BA0, "_ZN9CBubbling8PrecacheEv", CBubbling::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D75C30, "_ZN9CBubbling8KeyValueEP14KeyValueData_s", CBubbling::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D75A30, "_ZN9CBubbling4SaveER5CSave", CBubbling::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D75A60, "_ZN9CBubbling7RestoreER8CRestore", CBubbling::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D75A20, "_ZN9CBubbling10ObjectCapsEv", CBubbling::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D75BC0, "_ZN9CBubbling3UseEP11CBaseEntityS1_8USE_TYPEf", CBubbling::Use), + // non-virtual func + HOOK_SYMBOLDEF(0x01D75CF0, "_ZN9CBubbling9FizzThinkEv", CBubbling::FizzThink), +//CLightning + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D76840, "_ZN10CLightning5SpawnEv", CLightning::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D76970, "_ZN10CLightning8PrecacheEv", CLightning::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D76A60, "_ZN10CLightning8KeyValueEP14KeyValueData_s", CLightning::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D767E0, "_ZN10CLightning4SaveER5CSave", CLightning::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D76810, "_ZN10CLightning7RestoreER8CRestore", CLightning::Restore), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D76A30, "_ZN10CLightning8ActivateEv", CLightning::Activate), + // non-virtual func + HOOK_SYMBOLDEF(0x01D76EE0, "_ZN10CLightning11StrikeThinkEv", CLightning::StrikeThink), + HOOK_SYMBOLDEF(0x01D776A0, "_ZN10CLightning11DamageThinkEv", CLightning::DamageThink), + HOOK_SYMBOLDEF(0x01D778C0, "_ZN10CLightning10RandomAreaEv", CLightning::RandomArea), + HOOK_SYMBOLDEF(0x01D77CC0, "_ZN10CLightning11RandomPointER6Vector", CLightning::RandomPoint), + HOOK_SYMBOLDEF(0x01D77760, "_ZN10CLightning3ZapERK6VectorS2_", CLightning::Zap), + HOOK_SYMBOLDEF(0x01D76E00, "_ZN10CLightning9StrikeUseEP11CBaseEntityS1_8USE_TYPEf", CLightning::StrikeUse), + HOOK_SYMBOLDEF(0x01D76CB0, "_ZN10CLightning9ToggleUseEP11CBaseEntityS1_8USE_TYPEf", CLightning::ToggleUse), + //HOOK_SYMBOLDEF(0x0, "_ZN10CLightning10ServerSideEv", CLightning::ServerSide), // NOXREF + HOOK_SYMBOLDEF(0x01D77E60, "_ZN10CLightning14BeamUpdateVarsEv", CLightning::BeamUpdateVars), + //HOOK_SYMBOLDEF(0x01D76E70, "_Z13IsPointEntityP11CBaseEntity", IsPointEntity), // NOXREF +//CGlow + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D78E90, "_ZN5CGlow5SpawnEv", CGlow::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D78E30, "_ZN5CGlow4SaveER5CSave", CGlow::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D78E60, "_ZN5CGlow7RestoreER8CRestore", CGlow::Restore), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D78FA0, "_ZN5CGlow5ThinkEv", CGlow::Think), + // non-virtual func + //HOOK_SYMBOLDEF(0x01D79010, "_ZN5CGlow7AnimateEf", CGlow::Animate), // NOXREF +//CBombGlow + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D790A0, "_ZN9CBombGlow5SpawnEv", CBombGlow::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D79150, "_ZN9CBombGlow5ThinkEv", CBombGlow::Think), +//CGibShooter + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D79DA0, "_ZN11CGibShooter5SpawnEv", CGibShooter::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D79C50, "_ZN11CGibShooter8PrecacheEv", CGibShooter::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D79C90, "_ZN11CGibShooter8KeyValueEP14KeyValueData_s", CGibShooter::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D79BA0, "_ZN11CGibShooter4SaveER5CSave", CGibShooter::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D79BD0, "_ZN11CGibShooter7RestoreER8CRestore", CGibShooter::Restore), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D79D80, "_ZN11CGibShooter3UseEP11CBaseEntityS1_8USE_TYPEf", CGibShooter::Use), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D79E20, "_ZN11CGibShooter9CreateGibEv", CGibShooter::CreateGib), + // non-virtual func + HOOK_SYMBOLDEF(0x01D79EF0, "_ZN11CGibShooter10ShootThinkEv", CGibShooter::ShootThink), +//CEnvShooter + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7A370, "_ZN11CEnvShooter8PrecacheEv", CEnvShooter::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7A270, "_ZN11CEnvShooter8KeyValueEP14KeyValueData_s", CEnvShooter::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7A3B0, "_ZN11CEnvShooter9CreateGibEv", CEnvShooter::CreateGib), +//CTestEffect + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7A530, "_ZN11CTestEffect5SpawnEv", CTestEffect::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7A540, "_ZN11CTestEffect8PrecacheEv", CTestEffect::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7A8C0, "_ZN11CTestEffect3UseEP11CBaseEntityS1_8USE_TYPEf", CTestEffect::Use), + // non-virtual func + HOOK_SYMBOLDEF(0x01D7A550, "_ZN11CTestEffect9TestThinkEv", CTestEffect::TestThink), +//CBlood + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7A940, "_ZN6CBlood5SpawnEv", CBlood::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7A980, "_ZN6CBlood8KeyValueEP14KeyValueData_s", CBlood::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7AB70, "_ZN6CBlood3UseEP11CBaseEntityS1_8USE_TYPEf", CBlood::Use), + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN6CBlood5ColorEv", CBlood::Color), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN6CBlood11BloodAmountEv", CBlood::BloodAmount), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN6CBlood8SetColorEi", CBlood::SetColor), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN6CBlood14SetBloodAmountEf", CBlood::SetBloodAmount), // NOXREF + //HOOK_SYMBOLDEF(0x01D7AA30, "_ZN6CBlood9DirectionEv", CBlood::Direction), // NOXREF + HOOK_SYMBOLDEF(0x01D7AA70, "_ZN6CBlood13BloodPositionEP11CBaseEntity", CBlood::BloodPosition), +//CShake + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7ADB0, "_ZN6CShake5SpawnEv", CShake::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7ADF0, "_ZN6CShake8KeyValueEP14KeyValueData_s", CShake::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7AEE0, "_ZN6CShake3UseEP11CBaseEntityS1_8USE_TYPEf", CShake::Use), + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN6CShake9AmplitudeEv", CShake::Amplitude), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN6CShake9FrequencyEv", CShake::Frequency), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN6CShake8DurationEv", CShake::Duration), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN6CShake6RadiusEv", CShake::Radius), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN6CShake12SetAmplitudeEf", CShake::SetAmplitude), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN6CShake12SetFrequencyEf", CShake::SetFrequency), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN6CShake11SetDurationEf", CShake::SetDuration), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN6CShake9SetRadiusEf", CShake::SetRadius), // NOXREF +//CFade + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7AF70, "_ZN5CFade5SpawnEv", CFade::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7AFA0, "_ZN5CFade8KeyValueEP14KeyValueData_s", CFade::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7B030, "_ZN5CFade3UseEP11CBaseEntityS1_8USE_TYPEf", CFade::Use), + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN5CFade8DurationEv", CFade::Duration), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CFade8HoldTimeEv", CFade::HoldTime), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CFade11SetDurationEf", CFade::SetDuration), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CFade11SetHoldTimeEf", CFade::SetHoldTime), // NOXREF +//CMessage + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7B150, "_ZN8CMessage5SpawnEv", CMessage::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7B1E0, "_ZN8CMessage8PrecacheEv", CMessage::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7B210, "_ZN8CMessage8KeyValueEP14KeyValueData_s", CMessage::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7B2E0, "_ZN8CMessage3UseEP11CBaseEntityS1_8USE_TYPEf", CMessage::Use), +//CEnvFunnel + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7B4E0, "_ZN10CEnvFunnel5SpawnEv", CEnvFunnel::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7B3E0, "_ZN10CEnvFunnel8PrecacheEv", CEnvFunnel::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7B450, "_ZN10CEnvFunnel3UseEP11CBaseEntityS1_8USE_TYPEf", CEnvFunnel::Use), +//CEnvBeverage + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7B630, "_ZN12CEnvBeverage5SpawnEv", CEnvBeverage::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7B510, "_ZN12CEnvBeverage8PrecacheEv", CEnvBeverage::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7B580, "_ZN12CEnvBeverage3UseEP11CBaseEntityS1_8USE_TYPEf", CEnvBeverage::Use), +//CItemSoda + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7B6E0, "_ZN9CItemSoda5SpawnEv", CItemSoda::Spawn), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D7B680, "_ZN9CItemSoda8PrecacheEv", CItemSoda::Precache), // pure + // non-virtual func + HOOK_SYMBOLDEF(0x01D7B790, "_ZN9CItemSoda8CanThinkEv", CItemSoda::CanThink), + HOOK_SYMBOLDEF(0x01D7B820, "_ZN9CItemSoda8CanTouchEP11CBaseEntity", CItemSoda::CanTouch), + //linked objects + HOOK_DEF(0x01D75980, info_target), + HOOK_DEF(0x01D759D0, env_bubbles), + HOOK_DEF(0x01D75DB0, beam), + HOOK_DEF(0x01D76740, env_lightning), + HOOK_DEF(0x01D76790, env_beam), + HOOK_DEF(0x01D781F0, env_laser), + HOOK_DEF(0x01D78DE0, env_glow), + HOOK_DEF(0x01D79050, env_bombglow), + HOOK_DEF(0x01D79240, env_sprite), + HOOK_DEF(0x01D79C00, gibshooter), + HOOK_DEF(0x01D7A220, env_shooter), + HOOK_DEF(0x01D7A4E0, test_effect), + HOOK_DEF(0x01D7A8F0, env_blood), + HOOK_DEF(0x01D7AD60, env_shake), + HOOK_DEF(0x01D7AF20, env_fade), + HOOK_DEF(0x01D7B100, env_message), + HOOK_DEF(0x01D7B400, env_funnel), + HOOK_DEF(0x01D7B530, env_beverage), + HOOK_DEF(0x01D7B690, item_sodacan), + +#endif // Effects_Region + +#ifndef Plats_Region + +//CBasePlatTrain + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D95570, "_ZN14CBasePlatTrain8PrecacheEv", CBasePlatTrain::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D953E0, "_ZN14CBasePlatTrain8KeyValueEP14KeyValueData_s", CBasePlatTrain::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D95380, "_ZN14CBasePlatTrain4SaveER5CSave", CBasePlatTrain::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D953B0, "_ZN14CBasePlatTrain7RestoreER8CRestore", CBasePlatTrain::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D95890, "_ZN14CBasePlatTrain10ObjectCapsEv", CBasePlatTrain::ObjectCaps), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D958A0, "_ZN14CBasePlatTrain12IsTogglePlatEv", CBasePlatTrain::IsTogglePlat), // DEFAULT +//CFuncPlat + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D95AF0, "_ZN9CFuncPlat5SpawnEv", CFuncPlat::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D95A20, "_ZN9CFuncPlat8PrecacheEv", CFuncPlat::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D95FC0, "_ZN9CFuncPlat7BlockedEP11CBaseEntity", CFuncPlat::Blocked), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D95E90, "_ZN9CFuncPlat4GoUpEv", CFuncPlat::GoUp), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D95D80, "_ZN9CFuncPlat6GoDownEv", CFuncPlat::GoDown), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D95F10, "_ZN9CFuncPlat6HitTopEv", CFuncPlat::HitTop), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D95E00, "_ZN9CFuncPlat9HitBottomEv", CFuncPlat::HitBottom), + // non-virtual func + HOOK_SYMBOLDEF(0x01D958B0, "_ZN9CFuncPlat5SetupEv", CFuncPlat::Setup), + HOOK_SYMBOLDEF(0x01D95D10, "_ZN9CFuncPlat7PlatUseEP11CBaseEntityS1_8USE_TYPEf", CFuncPlat::PlatUse), + HOOK_SYMBOLDEF(0x01D95810, "_ZN9CFuncPlat10CallGoDownEv", CFuncPlat::CallGoDown), + HOOK_SYMBOLDEF(0x01D95820, "_ZN9CFuncPlat10CallHitTopEv", CFuncPlat::CallHitTop), + HOOK_SYMBOLDEF(0x01D95830, "_ZN9CFuncPlat13CallHitBottomEv", CFuncPlat::CallHitBottom), +//CPlatTrigger + // virtual func + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D95AE0, "_ZN12CPlatTrigger10ObjectCapsEv", CPlatTrigger::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D95C90, "_ZN12CPlatTrigger5TouchEP11CBaseEntity", CPlatTrigger::Touch), + // non-virtual func + HOOK_SYMBOLDEF(0x01D95B50, "_ZN12CPlatTrigger18SpawnInsideTriggerEP9CFuncPlat", CPlatTrigger::SpawnInsideTrigger), +//CFuncPlatRot + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D96270, "_ZN12CFuncPlatRot5SpawnEv", CFuncPlatRot::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D960C0, "_ZN12CFuncPlatRot4SaveER5CSave", CFuncPlatRot::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D96110, "_ZN12CFuncPlatRot7RestoreER8CRestore", CFuncPlatRot::Restore), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D965C0, "_ZN12CFuncPlatRot4GoUpEv", CFuncPlatRot::GoUp), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D963D0, "_ZN12CFuncPlatRot6GoDownEv", CFuncPlatRot::GoDown), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D966F0, "_ZN12CFuncPlatRot6HitTopEv", CFuncPlatRot::HitTop), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D96500, "_ZN12CFuncPlatRot9HitBottomEv", CFuncPlatRot::HitBottom), + // non-virtual func + //HOOK_SYMBOLDEF(0x01D96160, "_ZN12CFuncPlatRot13SetupRotationEv", CFuncPlatRot::SetupRotation), // NOXREF + //HOOK_SYMBOLDEF(0x01D96740, "_ZN12CFuncPlatRot7RotMoveER6Vectorf", CFuncPlatRot::RotMove), // NOXREF +//CFuncTrain + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D96FD0, "_ZN10CFuncTrain5SpawnEv", CFuncTrain::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D971A0, "_ZN10CFuncTrain8PrecacheEv", CFuncTrain::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D97100, "_ZN10CFuncTrain7RestartEv", CFuncTrain::Restart), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D968E0, "_ZN10CFuncTrain8KeyValueEP14KeyValueData_s", CFuncTrain::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D96840, "_ZN10CFuncTrain4SaveER5CSave", CFuncTrain::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D96890, "_ZN10CFuncTrain7RestoreER8CRestore", CFuncTrain::Restore), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D96EB0, "_ZN10CFuncTrain8ActivateEv", CFuncTrain::Activate), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D971B0, "_ZN10CFuncTrain13OverrideResetEv", CFuncTrain::OverrideReset), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D96970, "_ZN10CFuncTrain3UseEP11CBaseEntityS1_8USE_TYPEf", CFuncTrain::Use), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D96930, "_ZN10CFuncTrain7BlockedEP11CBaseEntity", CFuncTrain::Blocked), + // non-virtual func + HOOK_SYMBOLDEF(0x01D96A20, "_ZN10CFuncTrain4WaitEv", CFuncTrain::Wait), + HOOK_SYMBOLDEF(0x01D96BE0, "_ZN10CFuncTrain4NextEv", CFuncTrain::Next), +//CFuncTrackTrain + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D98A10, "_ZN15CFuncTrackTrain5SpawnEv", CFuncTrackTrain::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D98CF0, "_ZN15CFuncTrackTrain8PrecacheEv", CFuncTrackTrain::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D98C00, "_ZN15CFuncTrackTrain7RestartEv", CFuncTrackTrain::Restart), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D97310, "_ZN15CFuncTrackTrain8KeyValueEP14KeyValueData_s", CFuncTrackTrain::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D97260, "_ZN15CFuncTrackTrain4SaveER5CSave", CFuncTrackTrain::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D97290, "_ZN15CFuncTrackTrain7RestoreER8CRestore", CFuncTrackTrain::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D97630, "_ZN15CFuncTrackTrain10ObjectCapsEv", CFuncTrackTrain::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D98980, "_ZN15CFuncTrackTrain13OverrideResetEv", CFuncTrackTrain::OverrideReset), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D98490, "_ZN15CFuncTrackTrain10OnControlsEP9entvars_s", CFuncTrackTrain::OnControls), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D97640, "_ZN15CFuncTrackTrain3UseEP11CBaseEntityS1_8USE_TYPEf", CFuncTrackTrain::Use), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D974B0, "_ZN15CFuncTrackTrain7BlockedEP11CBaseEntity", CFuncTrackTrain::Blocked), + // non-virtual func + HOOK_SYMBOLDEF(0x01D97A40, "_ZN15CFuncTrackTrain4NextEv", CFuncTrackTrain::Next), // TODO: FIX me, pev->angles.y is have difference of values 0.00001 + HOOK_SYMBOLDEF(0x01D985C0, "_ZN15CFuncTrackTrain4FindEv", CFuncTrackTrain::Find), + HOOK_SYMBOLDEF(0x01D98770, "_ZN15CFuncTrackTrain11NearestPathEv", CFuncTrackTrain::NearestPath), + HOOK_SYMBOLDEF(0x01D982B0, "_ZN15CFuncTrackTrain7DeadEndEv", CFuncTrackTrain::DeadEnd), + //HOOK_SYMBOLDEF(0x01D97470, "_ZN15CFuncTrackTrain9NextThinkEfi", CFuncTrackTrain::NextThink), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN15CFuncTrackTrain8SetTrackEP10CPathTrack", CFuncTrackTrain::SetTrack), // NOXREF + //HOOK_SYMBOLDEF(0x01D983E0, "_ZN15CFuncTrackTrain11SetControlsEP9entvars_s", CFuncTrackTrain::SetControls), // NOXREF + //HOOK_SYMBOLDEF(0x01D97860, "_ZN15CFuncTrackTrain9StopSoundEv", CFuncTrackTrain::StopSound), // NOXREF + HOOK_SYMBOLDEF(0x01D978F0, "_ZN15CFuncTrackTrain11UpdateSoundEv", CFuncTrackTrain::UpdateSound), + //HOOK_SYMBOLDEF(0x01D989C0, "_ZN15CFuncTrackTrain8InstanceEP7edict_s", CFuncTrackTrain::Instance), // NOXREF +//CFuncTrainControls + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D98FF0, "_ZN18CFuncTrainControls5SpawnEv", CFuncTrainControls::Spawn), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D98E60, "_ZN18CFuncTrainControls10ObjectCapsEv", CFuncTrainControls::ObjectCaps), // DEFAULT + // non-virtual func + HOOK_SYMBOLDEF(0x01D98E70, "_ZN18CFuncTrainControls4FindEv", CFuncTrainControls::Find), +//CFuncTrackChange + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D991C0, "_ZN16CFuncTrackChange5SpawnEv", CFuncTrackChange::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D99390, "_ZN16CFuncTrackChange8PrecacheEv", CFuncTrackChange::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D99480, "_ZN16CFuncTrackChange8KeyValueEP14KeyValueData_s", CFuncTrackChange::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D990E0, "_ZN16CFuncTrackChange4SaveER5CSave", CFuncTrackChange::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D99150, "_ZN16CFuncTrackChange7RestoreER8CRestore", CFuncTrackChange::Restore), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D99540, "_ZN16CFuncTrackChange13OverrideResetEv", CFuncTrackChange::OverrideReset), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D99470, "_ZN16CFuncTrackChange5TouchEP11CBaseEntity", CFuncTrackChange::Touch), // PURE + HOOK_SYMBOL_VIRTUAL_DEF(0x01D99EB0, "_ZN16CFuncTrackChange3UseEP11CBaseEntityS1_8USE_TYPEf", CFuncTrackChange::Use), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D990D0, "_ZN16CFuncTrackChange12IsTogglePlatEv", CFuncTrackChange::IsTogglePlat), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D99C90, "_ZN16CFuncTrackChange4GoUpEv", CFuncTrackChange::GoUp), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D99AE0, "_ZN16CFuncTrackChange6GoDownEv", CFuncTrackChange::GoDown), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D99F60, "_ZN16CFuncTrackChange9HitBottomEv", CFuncTrackChange::HitBottom), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D9A090, "_ZN16CFuncTrackChange6HitTopEv", CFuncTrackChange::HitTop), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D99E40, "_ZN16CFuncTrackChange17UpdateAutoTargetsEi", CFuncTrackChange::UpdateAutoTargets), + // non-virtual func + HOOK_SYMBOLDEF(0x01D99560, "_ZN16CFuncTrackChange4FindEv", CFuncTrackChange::Find), + HOOK_SYMBOLDEF(0x01D99840, "_ZN16CFuncTrackChange13EvaluateTrainEP10CPathTrack", CFuncTrackChange::EvaluateTrain), + HOOK_SYMBOLDEF(0x01D99910, "_ZN16CFuncTrackChange11UpdateTrainER6Vector", CFuncTrackChange::UpdateTrain), + //HOOK_SYMBOLDEF(0x0, "_ZN16CFuncTrackChange10DisableUseEv", CFuncTrackChange::DisableUse), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN16CFuncTrackChange9EnableUseEv", CFuncTrackChange::EnableUse), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN16CFuncTrackChange10UseEnabledEv", CFuncTrackChange::UseEnabled), // NOXREF +//CFuncTrackAuto + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D9A270, "_ZN14CFuncTrackAuto3UseEP11CBaseEntityS1_8USE_TYPEf", CFuncTrackAuto::Use), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D9A1B0, "_ZN14CFuncTrackAuto17UpdateAutoTargetsEi", CFuncTrackAuto::UpdateAutoTargets), +//CGunTarget + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D9A480, "_ZN10CGunTarget5SpawnEv", CGunTarget::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D9A420, "_ZN10CGunTarget4SaveER5CSave", CGunTarget::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D9A450, "_ZN10CGunTarget7RestoreER8CRestore", CGunTarget::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D9A410, "_ZN10CGunTarget10ObjectCapsEv", CGunTarget::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D9A550, "_ZN10CGunTarget8ActivateEv", CGunTarget::Activate), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D9A3E0, "_ZN10CGunTarget8ClassifyEv", CGunTarget::Classify), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D9A8D0, "_ZN10CGunTarget10TakeDamageEP9entvars_sS1_fi", CGunTarget::TakeDamage), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D9A3D0, "_ZN10CGunTarget10BloodColorEv", CGunTarget::BloodColor), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D9A990, "_ZN10CGunTarget3UseEP11CBaseEntityS1_8USE_TYPEf", CGunTarget::Use), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D9A3F0, "_ZN10CGunTarget10BodyTargetERK6Vector", CGunTarget::BodyTarget), // DEFAULT + // non-virtual func + HOOK_SYMBOLDEF(0x01D9A610, "_ZN10CGunTarget4NextEv", CGunTarget::Next), + HOOK_SYMBOLDEF(0x01D9A600, "_ZN10CGunTarget5StartEv", CGunTarget::Start), + HOOK_SYMBOLDEF(0x01D9A6E0, "_ZN10CGunTarget4WaitEv", CGunTarget::Wait), + //HOOK_SYMBOLDEF(0x01D9A890, "_ZN10CGunTarget4StopEv", CGunTarget::Stop), // NOXREF +//CPlane + //HOOK_SYMBOLDEF(0x01D952F0, "_ZN6CPlaneC2Ev", CPlane::CPlane), // NOXREF + //HOOK_SYMBOLDEF(0x01D95300, "_ZN6CPlane15InitializePlaneERK6VectorS2_", CPlane::InitializePlane), // NOXREF + //HOOK_SYMBOLDEF(0x01D95340, "_ZN6CPlane12PointInFrontERK6Vector", CPlane::PointInFront), // NOXREF +//linked objects + HOOK_DEF(0x01D95840, func_plat), + HOOK_DEF(0x01D96070, func_platrot), + HOOK_DEF(0x01D967F0, func_train), + HOOK_DEF(0x01D972C0, func_tracktrain), + HOOK_DEF(0x01D98E10, func_traincontrols), + HOOK_DEF(0x01D99070, func_trackchange), + HOOK_DEF(0x01D9A150, func_trackautochange), + HOOK_DEF(0x01D9A380, func_guntarget), + +#endif // Plats_Region + +#ifndef PathCorner_Region + +//CPathTrack + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D94980, "_ZN10CPathTrack5SpawnEv", CPathTrack::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D946A0, "_ZN10CPathTrack8KeyValueEP14KeyValueData_s", CPathTrack::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D945F0, "_ZN10CPathTrack4SaveER5CSave", CPathTrack::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D94620, "_ZN10CPathTrack7RestoreER8CRestore", CPathTrack::Restore), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D949F0, "_ZN10CPathTrack8ActivateEv", CPathTrack::Activate), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D946F0, "_ZN10CPathTrack3UseEP11CBaseEntityS1_8USE_TYPEf", CPathTrack::Use), + // non-virtual func + //HOOK_SYMBOLDEF(0x01D94B90, "_ZN10CPathTrack11SetPreviousEPS_", CPathTrack::SetPrevious), // NOXREF + HOOK_SYMBOLDEF(0x01D94790, "_ZN10CPathTrack4LinkEv", CPathTrack::Link), + HOOK_SYMBOLDEF(0x01D94A10, "_ZN10CPathTrack9ValidPathEPS_i", CPathTrack::ValidPath), + //HOOK_SYMBOLDEF(0x01D94A40, "_ZN10CPathTrack7ProjectEPS_S0_P6Vectorf", CPathTrack::Project), // NOXREF + HOOK_SYMBOLDEF(0x01D952A0, "_ZN10CPathTrack8InstanceEP7edict_s", CPathTrack::Instance), + HOOK_SYMBOLDEF(0x01D94C00, "_ZN10CPathTrack9LookAheadEP6Vectorfi", CPathTrack::LookAhead), + HOOK_SYMBOLDEF(0x01D951A0, "_ZN10CPathTrack7NearestE6Vector", CPathTrack::Nearest), + HOOK_SYMBOLDEF(0x01D94B30, "_ZN10CPathTrack7GetNextEv", CPathTrack::GetNext), + HOOK_SYMBOLDEF(0x01D94B60, "_ZN10CPathTrack11GetPreviousEv", CPathTrack::GetPrevious), + //linked objects + HOOK_DEF(0x01D94650, path_track), +//CPathCorner + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D945E0, "_ZN11CPathCorner5SpawnEv", CPathCorner::Spawn), // PURE + HOOK_SYMBOL_VIRTUAL_DEF(0x01D94590, "_ZN11CPathCorner8KeyValueEP14KeyValueData_s", CPathCorner::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D94530, "_ZN11CPathCorner4SaveER5CSave", CPathCorner::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D94560, "_ZN11CPathCorner7RestoreER8CRestore", CPathCorner::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D94520, "_ZN11CPathCorner8GetDelayEv", CPathCorner::GetDelay), // DEFAULT + //linked objects + HOOK_DEF(0x01D944D0, path_corner), + +#endif // PathCorner_Region + +#ifndef Vehicle_Region + +//CFuncVehicle + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCBFC0, "_ZN12CFuncVehicle5SpawnEv", CFuncVehicle::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCC310, "_ZN12CFuncVehicle8PrecacheEv", CFuncVehicle::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCC1D0, "_ZN12CFuncVehicle7RestartEv", CFuncVehicle::Restart), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC9370, "_ZN12CFuncVehicle8KeyValueEP14KeyValueData_s", CFuncVehicle::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC92C0, "_ZN12CFuncVehicle4SaveER5CSave", CFuncVehicle::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC92F0, "_ZN12CFuncVehicle7RestoreER8CRestore", CFuncVehicle::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DCB970, "_ZN12CFuncVehicle10ObjectCapsEv", CFuncVehicle::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCBFB0, "_ZN12CFuncVehicle8ClassifyEv", CFuncVehicle::Classify), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCBF20, "_ZN12CFuncVehicle13OverrideResetEv", CFuncVehicle::OverrideReset), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCBA30, "_ZN12CFuncVehicle10OnControlsEP9entvars_s", CFuncVehicle::OnControls), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC9A10, "_ZN12CFuncVehicle3UseEP11CBaseEntityS1_8USE_TYPEf", CFuncVehicle::Use), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC9590, "_ZN12CFuncVehicle7BlockedEP11CBaseEntity", CFuncVehicle::Blocked), + // non-virtual func + HOOK_SYMBOLDEF(0x01DCAD10, "_ZN12CFuncVehicle4NextEv", CFuncVehicle::Next), + HOOK_SYMBOLDEF(0x01DCBB60, "_ZN12CFuncVehicle4FindEv", CFuncVehicle::Find), + HOOK_SYMBOLDEF(0x01DCBD10, "_ZN12CFuncVehicle11NearestPathEv", CFuncVehicle::NearestPath), + HOOK_SYMBOLDEF(0x01DCB840, "_ZN12CFuncVehicle7DeadEndEv", CFuncVehicle::DeadEnd), + HOOK_SYMBOLDEF(0x01DC9550, "_ZN12CFuncVehicle9NextThinkEfi", CFuncVehicle::NextThink), + HOOK_SYMBOLDEF(0x01DCA6D0, "_ZN12CFuncVehicle18CollisionDetectionEv", CFuncVehicle::CollisionDetection), + //HOOK_SYMBOLDEF(0x01DCAC50, "_ZN12CFuncVehicle16TerrainFollowingEv", CFuncVehicle::TerrainFollowing), // NOXREF + HOOK_SYMBOLDEF(0x01DCA2F0, "_ZN12CFuncVehicle12CheckTurningEv", CFuncVehicle::CheckTurning), + //HOOK_SYMBOLDEF(0x0, "_ZN12CFuncVehicle8SetTrackEP10CPathTrack", CFuncVehicle::SetTrack), // NOXREF + //HOOK_SYMBOLDEF(0x01DCB980, "_ZN12CFuncVehicle11SetControlsEP9entvars_s", CFuncVehicle::SetControls), // NOXREF + //HOOK_SYMBOLDEF(0x01DCA110, "_ZN12CFuncVehicle9StopSoundEv", CFuncVehicle::StopSound), // NOXREF + HOOK_SYMBOLDEF(0x01DCA180, "_ZN12CFuncVehicle11UpdateSoundEv", CFuncVehicle::UpdateSound), + //HOOK_SYMBOLDEF(0x01DCBF60, "_ZN12CFuncVehicle8InstanceEP7edict_s", CFuncVehicle::Instance), // NOXREF + //HOOK_DEF(0x0, FixupAngles2), // NOXREF + +#ifdef _WIN32 + HOOK_DEF(0x01DCB7B0, Fix2), +#endif // _WIN32 + + //linked objects + HOOK_DEF(0x01DC9320, func_vehicle), +//CFuncVehicleControls + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCC5F0, "_ZN20CFuncVehicleControls5SpawnEv", CFuncVehicleControls::Spawn), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DCC460, "_ZN20CFuncVehicleControls10ObjectCapsEv", CFuncVehicleControls::ObjectCaps), // DEFAULT + // non-virtual func + HOOK_SYMBOLDEF(0x01DCC470, "_ZN20CFuncVehicleControls4FindEv", CFuncVehicleControls::Find), + //linked objects + HOOK_DEF(0x01DCC410, func_vehiclecontrols), + +#endif // Vehicle_Region + +#ifndef Func_Tank_Region + +//CFuncTank + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7DFB0, "_ZN9CFuncTank5SpawnEv", CFuncTank::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7E170, "_ZN9CFuncTank8PrecacheEv", CFuncTank::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7E1E0, "_ZN9CFuncTank8KeyValueEP14KeyValueData_s", CFuncTank::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7DEB0, "_ZN9CFuncTank4SaveER5CSave", CFuncTank::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7DEE0, "_ZN9CFuncTank7RestoreER8CRestore", CFuncTank::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D7FA70, "_ZN9CFuncTank10ObjectCapsEv", CFuncTank::ObjectCaps), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D7E620, "_ZN9CFuncTank10OnControlsEP9entvars_s", CFuncTank::OnControls), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7EBD0, "_ZN9CFuncTank5ThinkEv", CFuncTank::Think), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7E9A0, "_ZN9CFuncTank3UseEP11CBaseEntityS1_8USE_TYPEf", CFuncTank::Use), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7F560, "_ZN9CFuncTank4FireERK6VectorS2_P9entvars_s", CFuncTank::Fire), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D7FA40, "_ZN9CFuncTank20UpdateTargetPositionEP11CBaseEntity", CFuncTank::UpdateTargetPosition), // DEFAULT + // non-virtual func + HOOK_SYMBOLDEF(0x01D7ECD0, "_ZN9CFuncTank11TrackTargetEv", CFuncTank::TrackTarget), + HOOK_SYMBOLDEF(0x01D7F930, "_ZN9CFuncTank13StartRotSoundEv", CFuncTank::StartRotSound), + //HOOK_SYMBOLDEF(0x01D7F990, "_ZN9CFuncTank12StopRotSoundEv", CFuncTank::StopRotSound), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN9CFuncTank8IsActiveEv", CFuncTank::IsActive), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN9CFuncTank12TankActivateEv", CFuncTank::TankActivate), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN9CFuncTank14TankDeactivateEv", CFuncTank::TankDeactivate), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN9CFuncTank7CanFireEv", CFuncTank::CanFire), // NOXREF + //HOOK_SYMBOLDEF(0x01D7EB80, "_ZN9CFuncTank7InRangeEf", CFuncTank::InRange), // NOXREF + //HOOK_SYMBOLDEF(0x01D7EB70, "_ZN9CFuncTank10FindTargetEP7edict_s", CFuncTank::FindTarget), // NOXREF + //HOOK_SYMBOLDEF(0x01D7F7B0, "_ZN9CFuncTank9TankTraceERK6VectorS2_S2_R11TraceResult", CFuncTank::TankTrace), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN9CFuncTank14BarrelPositionEv", CFuncTank::BarrelPosition), // NOXREF + HOOK_SYMBOLDEF(0x01D7F4B0, "_ZN9CFuncTank21AdjustAnglesForBarrelER6Vectorf", CFuncTank::AdjustAnglesForBarrel), + HOOK_SYMBOLDEF(0x01D7E680, "_ZN9CFuncTank12StartControlEP11CBasePlayer", CFuncTank::StartControl), + //HOOK_SYMBOLDEF(0x01D7E750, "_ZN9CFuncTank11StopControlEv", CFuncTank::StopControl), // NOXREF + HOOK_SYMBOLDEF(0x01D7E7F0, "_ZN9CFuncTank19ControllerPostFrameEv", CFuncTank::ControllerPostFrame), +//CFuncTankGun + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7FA80, "_ZN12CFuncTankGun4FireERK6VectorS2_P9entvars_s", CFuncTankGun::Fire), +//CFuncTankLaser + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7FD50, "_ZN14CFuncTankLaser8KeyValueEP14KeyValueData_s", CFuncTankLaser::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7FBF0, "_ZN14CFuncTankLaser4SaveER5CSave", CFuncTankLaser::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7FC40, "_ZN14CFuncTankLaser7RestoreER8CRestore", CFuncTankLaser::Restore), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7FC90, "_ZN14CFuncTankLaser8ActivateEv", CFuncTankLaser::Activate), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7FE40, "_ZN14CFuncTankLaser5ThinkEv", CFuncTankLaser::Think), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7FF60, "_ZN14CFuncTankLaser4FireERK6VectorS2_P9entvars_s", CFuncTankLaser::Fire), + // non-virtual func + //HOOK_SYMBOLDEF(0x01D7FDA0, "_ZN14CFuncTankLaser8GetLaserEv", CFuncTankLaser::GetLaser), // NOXREF +//CFuncTankRocket + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D80180, "_ZN15CFuncTankRocket8PrecacheEv", CFuncTankRocket::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D80200, "_ZN15CFuncTankRocket4FireERK6VectorS2_P9entvars_s", CFuncTankRocket::Fire), +//CFuncTankMortar + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D802E0, "_ZN15CFuncTankMortar8KeyValueEP14KeyValueData_s", CFuncTankMortar::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D80330, "_ZN15CFuncTankMortar4FireERK6VectorS2_P9entvars_s", CFuncTankMortar::Fire), +//CFuncTankControls + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D80590, "_ZN17CFuncTankControls5SpawnEv", CFuncTankControls::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D80450, "_ZN17CFuncTankControls4SaveER5CSave", CFuncTankControls::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D80480, "_ZN17CFuncTankControls7RestoreER8CRestore", CFuncTankControls::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D804B0, "_ZN17CFuncTankControls10ObjectCapsEv", CFuncTankControls::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D804E0, "_ZN17CFuncTankControls5ThinkEv", CFuncTankControls::Think), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D804C0, "_ZN17CFuncTankControls3UseEP11CBaseEntityS1_8USE_TYPEf", CFuncTankControls::Use), +//linked objects + HOOK_DEF(0x01D7F9F0, func_tank), + HOOK_DEF(0x01D7FBA0, func_tanklaser), + HOOK_DEF(0x01D80130, func_tankrocket), + HOOK_DEF(0x01D80290, func_tankmortar), + HOOK_DEF(0x01D80400, func_tankcontrols), + +#endif // Func_Tank_Region + +#ifndef Func_Break_Region + +//CBreakable + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7C410, "_ZN10CBreakable5SpawnEv", CBreakable::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7C7A0, "_ZN10CBreakable8PrecacheEv", CBreakable::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7C4F0, "_ZN10CBreakable7RestartEv", CBreakable::Restart), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7C180, "_ZN10CBreakable8KeyValueEP14KeyValueData_s", CBreakable::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7C3B0, "_ZN10CBreakable4SaveER5CSave", CBreakable::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7C3E0, "_ZN10CBreakable7RestoreER8CRestore", CBreakable::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D7DEA0, "_ZN10CBreakable10ObjectCapsEv", CBreakable::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7CDC0, "_ZN10CBreakable11TraceAttackEP9entvars_sf6VectorP11TraceResulti", CBreakable::TraceAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7CEB0, "_ZN10CBreakable10TakeDamageEP9entvars_sS1_fi", CBreakable::TakeDamage), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7D6D0, "_ZN10CBreakable11DamageDecalEi", CBreakable::DamageDecal), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7CD40, "_ZN10CBreakable3UseEP11CBaseEntityS1_8USE_TYPEf", CBreakable::Use), + // non-virtual func + HOOK_SYMBOLDEF(0x01D7CB80, "_ZN10CBreakable10BreakTouchEP11CBaseEntity", CBreakable::BreakTouch), + HOOK_SYMBOLDEF(0x01D7C9E0, "_ZN10CBreakable11DamageSoundEv", CBreakable::DamageSound), + //HOOK_SYMBOLDEF(0x01D7D6C0, "_ZN10CBreakable11IsBreakableEv", CBreakable::IsBreakable), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN10CBreakable12SparkWhenHitEv", CBreakable::SparkWhenHit), // NOXREF + HOOK_SYMBOLDEF(0x01D7D0E0, "_ZN10CBreakable3DieEv", CBreakable::Die), + //HOOK_SYMBOLDEF(0x0, "_ZN10CBreakable10ExplodableEv", CBreakable::Explodable), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN10CBreakable18ExplosionMagnitudeEv", CBreakable::ExplosionMagnitude), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN10CBreakable21ExplosionSetMagnitudeEi", CBreakable::ExplosionSetMagnitude), // NOXREF + HOOK_SYMBOLDEF(0x01D7C670, "_ZN10CBreakable21MaterialSoundPrecacheE9Materials", CBreakable::MaterialSoundPrecache), + HOOK_SYMBOLDEF(0x01D7C710, "_ZN10CBreakable19MaterialSoundRandomEP7edict_s9Materialsf", CBreakable::MaterialSoundRandom), + //HOOK_SYMBOLDEF(0x01D7C5D0, "_ZN10CBreakable17MaterialSoundListE9MaterialsRi", CBreakable::MaterialSoundList), // NOXREF +//CPushable + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7D800, "_ZN9CPushable5SpawnEv", CPushable::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7D920, "_ZN9CPushable8PrecacheEv", CPushable::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7D960, "_ZN9CPushable8KeyValueEP14KeyValueData_s", CPushable::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7D700, "_ZN9CPushable4SaveER5CSave", CPushable::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7D750, "_ZN9CPushable7RestoreER8CRestore", CPushable::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D7D7F0, "_ZN9CPushable10ObjectCapsEv", CPushable::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7DE70, "_ZN9CPushable10TakeDamageEP9entvars_sS1_fi", CPushable::TakeDamage), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7DC30, "_ZN9CPushable5TouchEP11CBaseEntity", CPushable::Touch), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7DB40, "_ZN9CPushable3UseEP11CBaseEntityS1_8USE_TYPEf", CPushable::Use), + // non-virtual func + HOOK_SYMBOLDEF(0x01D7DC70, "_ZN9CPushable4MoveEP11CBaseEntityi", CPushable::Move), + //HOOK_SYMBOLDEF(0x0, "_ZN9CPushable9StopSoundEv", CPushable::StopSound), + //HOOK_SYMBOLDEF(0x0, "_ZN9CPushable8MaxSpeedEv", CPushable::MaxSpeed), // NOXREF +//linked objects + HOOK_DEF(0x01D7C360, func_breakable), + HOOK_DEF(0x01D7D7A0, func_pushable), + +#endif // Func_Break_Region + +#ifndef Door_Region + +//CBaseDoor + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D73D70, "_ZN9CBaseDoor5SpawnEv", CBaseDoor::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D73FD0, "_ZN9CBaseDoor8PrecacheEv", CBaseDoor::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D73F50, "_ZN9CBaseDoor7RestartEv", CBaseDoor::Restart), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D73AA0, "_ZN9CBaseDoor8KeyValueEP14KeyValueData_s", CBaseDoor::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D73820, "_ZN9CBaseDoor4SaveER5CSave", CBaseDoor::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D73850, "_ZN9CBaseDoor7RestoreER8CRestore", CBaseDoor::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D73D10, "_ZN9CBaseDoor10ObjectCapsEv", CBaseDoor::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D73F90, "_ZN9CBaseDoor14SetToggleStateEi", CBaseDoor::SetToggleState), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D74540, "_ZN9CBaseDoor3UseEP11CBaseEntityS1_8USE_TYPEf", CBaseDoor::Use), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D74CB0, "_ZN9CBaseDoor7BlockedEP11CBaseEntity", CBaseDoor::Blocked), + // non-virtual func + HOOK_SYMBOLDEF(0x01D744B0, "_ZN9CBaseDoor9DoorTouchEP11CBaseEntity", CBaseDoor::DoorTouch), + HOOK_SYMBOLDEF(0x01D74580, "_ZN9CBaseDoor12DoorActivateEv", CBaseDoor::DoorActivate), + HOOK_SYMBOLDEF(0x01D74640, "_ZN9CBaseDoor8DoorGoUpEv", CBaseDoor::DoorGoUp), + HOOK_SYMBOLDEF(0x01D74AC0, "_ZN9CBaseDoor10DoorGoDownEv", CBaseDoor::DoorGoDown), + HOOK_SYMBOLDEF(0x01D74990, "_ZN9CBaseDoor10DoorHitTopEv", CBaseDoor::DoorHitTop), + HOOK_SYMBOLDEF(0x01D74BB0, "_ZN9CBaseDoor13DoorHitBottomEv", CBaseDoor::DoorHitBottom), +//CRotDoor + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D75150, "_ZN8CRotDoor5SpawnEv", CRotDoor::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D75000, "_ZN8CRotDoor7RestartEv", CRotDoor::Restart), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D75380, "_ZN8CRotDoor14SetToggleStateEi", CRotDoor::SetToggleState), +//CMomentaryDoor + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D754B0, "_ZN14CMomentaryDoor5SpawnEv", CMomentaryDoor::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D75650, "_ZN14CMomentaryDoor8PrecacheEv", CMomentaryDoor::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D75780, "_ZN14CMomentaryDoor8KeyValueEP14KeyValueData_s", CMomentaryDoor::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D75450, "_ZN14CMomentaryDoor4SaveER5CSave", CMomentaryDoor::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D75480, "_ZN14CMomentaryDoor7RestoreER8CRestore", CMomentaryDoor::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D75440, "_ZN14CMomentaryDoor10ObjectCapsEv", CMomentaryDoor::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D75820, "_ZN14CMomentaryDoor3UseEP11CBaseEntityS1_8USE_TYPEf", CMomentaryDoor::Use), + // non-class func + HOOK_SYMBOLDEF(0x01D73880, "_Z14PlayLockSoundsP9entvars_sP10locksoundsii", PlayLockSounds), +//linked objects + HOOK_DEF(0x01D73CC0, func_door), + HOOK_DEF(0x01D73D20, func_water), + HOOK_DEF(0x01D74FB0, func_door_rotating), + HOOK_DEF(0x01D753F0, momentary_door), + +#endif // Door_Region + +#ifndef BModels_Region + +//CFuncWall + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5CFE0, "_ZN9CFuncWall5SpawnEv", CFuncWall::Spawn), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D5CFD0, "_ZN9CFuncWall10ObjectCapsEv", CFuncWall::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5D060, "_ZN9CFuncWall3UseEP11CBaseEntityS1_8USE_TYPEf", CFuncWall::Use), +//CFuncWallToggle + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5D0F0, "_ZN15CFuncWallToggle5SpawnEv", CFuncWallToggle::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5D230, "_ZN15CFuncWallToggle3UseEP11CBaseEntityS1_8USE_TYPEf", CFuncWallToggle::Use), + // non-virtual func + //HOOK_SYMBOLDEF(0x01D5D1B0, "_ZN15CFuncWallToggle7TurnOffEv", CFuncWallToggle::TurnOff), // NOXREF + //HOOK_SYMBOLDEF(0x01D5D1E0, "_ZN15CFuncWallToggle6TurnOnEv", CFuncWallToggle::TurnOn), // NOXREF + //HOOK_SYMBOLDEF(0x01D5D210, "_ZN15CFuncWallToggle4IsOnEv", CFuncWallToggle::IsOn), // NOXREF +//CFuncConveyor + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5D320, "_ZN13CFuncConveyor5SpawnEv", CFuncConveyor::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5D4F0, "_ZN13CFuncConveyor3UseEP11CBaseEntityS1_8USE_TYPEf", CFuncConveyor::Use), + // non-virtual func + //HOOK_SYMBOLDEF(0x01D5D470, "_ZN13CFuncConveyor11UpdateSpeedEf", CFuncConveyor::UpdateSpeed), // NOXREF +//CFuncIllusionary + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5D640, "_ZN16CFuncIllusionary5SpawnEv", CFuncIllusionary::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5D5E0, "_ZN16CFuncIllusionary8KeyValueEP14KeyValueData_s", CFuncIllusionary::KeyValue), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D5D5D0, "_ZN16CFuncIllusionary10ObjectCapsEv", CFuncIllusionary::ObjectCaps), // DEFAULT +//CFuncMonsterClip + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5D700, "_ZN16CFuncMonsterClip5SpawnEv", CFuncMonsterClip::Spawn), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D5D6F0, "_ZN16CFuncMonsterClip3UseEP11CBaseEntityS1_8USE_TYPEf", CFuncMonsterClip::Use), // PURE +//CFuncRotating + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5D9F0, "_ZN13CFuncRotating5SpawnEv", CFuncRotating::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5DC20, "_ZN13CFuncRotating8PrecacheEv", CFuncRotating::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5D870, "_ZN13CFuncRotating8KeyValueEP14KeyValueData_s", CFuncRotating::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5D7B0, "_ZN13CFuncRotating4SaveER5CSave", CFuncRotating::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5D7E0, "_ZN13CFuncRotating7RestoreER8CRestore", CFuncRotating::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D5D860, "_ZN13CFuncRotating10ObjectCapsEv", CFuncRotating::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5E590, "_ZN13CFuncRotating7BlockedEP11CBaseEntity", CFuncRotating::Blocked), + // non-virtual func + HOOK_SYMBOLDEF(0x01D5E050, "_ZN13CFuncRotating6SpinUpEv", CFuncRotating::SpinUp), + HOOK_SYMBOLDEF(0x01D5E210, "_ZN13CFuncRotating8SpinDownEv", CFuncRotating::SpinDown), + HOOK_SYMBOLDEF(0x01D5DDB0, "_ZN13CFuncRotating9HurtTouchEP11CBaseEntity", CFuncRotating::HurtTouch), + HOOK_SYMBOLDEF(0x01D5E410, "_ZN13CFuncRotating11RotatingUseEP11CBaseEntityS1_8USE_TYPEf", CFuncRotating::RotatingUse), + HOOK_SYMBOLDEF(0x01D5E3F0, "_ZN13CFuncRotating6RotateEv", CFuncRotating::Rotate), + HOOK_SYMBOLDEF(0x01D5DF40, "_ZN13CFuncRotating12RampPitchVolEi", CFuncRotating::RampPitchVol), +//CPendulum + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5E700, "_ZN9CPendulum5SpawnEv", CPendulum::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5E670, "_ZN9CPendulum8KeyValueEP14KeyValueData_s", CPendulum::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5E610, "_ZN9CPendulum4SaveER5CSave", CPendulum::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5E640, "_ZN9CPendulum7RestoreER8CRestore", CPendulum::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D5E600, "_ZN9CPendulum10ObjectCapsEv", CPendulum::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5EC10, "_ZN9CPendulum5TouchEP11CBaseEntity", CPendulum::Touch), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5EA10, "_ZN9CPendulum7BlockedEP11CBaseEntity", CPendulum::Blocked), + // non-virtual func + HOOK_SYMBOLDEF(0x01D5EA20, "_ZN9CPendulum5SwingEv", CPendulum::Swing), + HOOK_SYMBOLDEF(0x01D5E8B0, "_ZN9CPendulum11PendulumUseEP11CBaseEntityS1_8USE_TYPEf", CPendulum::PendulumUse), + HOOK_SYMBOLDEF(0x01D5E9C0, "_ZN9CPendulum4StopEv", CPendulum::Stop), + HOOK_SYMBOLDEF(0x01D5EDA0, "_ZN9CPendulum9RopeTouchEP11CBaseEntity", CPendulum::RopeTouch), +// non-class func + HOOK_SYMBOLDEF(0x01D5CF20, "_Z15VecBModelOriginP9entvars_s", VecBModelOrigin), +//linked objects + HOOK_DEF(0x01D5CF80, func_wall), + HOOK_DEF(0x01D5D0A0, func_wall_toggle), + HOOK_DEF(0x01D5D2D0, func_conveyor), + HOOK_DEF(0x01D5D580, func_illusionary), + HOOK_DEF(0x01D5D6A0, func_monsterclip), + HOOK_DEF(0x01D5D810, func_rotating), + HOOK_DEF(0x01D5E5B0, func_pendulum), + +#endif // BModels_Region + +#ifndef Button_Region + +//CEnvGlobal + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5EF80, "_ZN10CEnvGlobal5SpawnEv", CEnvGlobal::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5EED0, "_ZN10CEnvGlobal8KeyValueEP14KeyValueData_s", CEnvGlobal::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5EE20, "_ZN10CEnvGlobal4SaveER5CSave", CEnvGlobal::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5EE50, "_ZN10CEnvGlobal7RestoreER8CRestore", CEnvGlobal::Restore), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5EFE0, "_ZN10CEnvGlobal3UseEP11CBaseEntityS1_8USE_TYPEf", CEnvGlobal::Use), +//CMultiSource + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5F1E0, "_ZN12CMultiSource5SpawnEv", CMultiSource::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5F120, "_ZN12CMultiSource8KeyValueEP14KeyValueData_s", CMultiSource::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5F230, "_ZN12CMultiSource3UseEP11CBaseEntityS1_8USE_TYPEf", CMultiSource::Use), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D60DF0, "_ZN12CMultiSource10ObjectCapsEv", CMultiSource::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5F310, "_ZN12CMultiSource11IsTriggeredEP11CBaseEntity", CMultiSource::IsTriggered), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5F070, "_ZN12CMultiSource4SaveER5CSave", CMultiSource::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5F0A0, "_ZN12CMultiSource7RestoreER8CRestore", CMultiSource::Restore), + // non-virtual func + HOOK_SYMBOLDEF(0x01D5F370, "_ZN12CMultiSource8RegisterEv", CMultiSource::Register), +//CBaseButton + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5FB30, "_ZN11CBaseButton5SpawnEv", CBaseButton::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5F510, "_ZN11CBaseButton8PrecacheEv", CBaseButton::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5F7D0, "_ZN11CBaseButton8KeyValueEP14KeyValueData_s", CBaseButton::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5F4B0, "_ZN11CBaseButton4SaveER5CSave", CBaseButton::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5F4E0, "_ZN11CBaseButton7RestoreER8CRestore", CBaseButton::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D610F0, "_ZN11CBaseButton10ObjectCapsEv", CBaseButton::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D5F930, "_ZN11CBaseButton10TakeDamageEP9entvars_sS1_fi", CBaseButton::TakeDamage), + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN11CBaseButton8RotSpawnEv", CBaseButton::RotSpawn), // NOXREF + HOOK_SYMBOLDEF(0x01D603A0, "_ZN11CBaseButton14ButtonActivateEv", CBaseButton::ButtonActivate), + //HOOK_SYMBOLDEF(0x0, "_ZN11CBaseButton15SparkSoundCacheEv", CBaseButton::SparkSoundCache), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN11CBaseButton10ButtonShotEv", CBaseButton::ButtonShot), // NOXREF + HOOK_SYMBOLDEF(0x01D601F0, "_ZN11CBaseButton11ButtonTouchEP11CBaseEntity", CBaseButton::ButtonTouch), + HOOK_SYMBOLDEF(0x01D60030, "_ZN11CBaseButton11ButtonSparkEv", CBaseButton::ButtonSpark), + HOOK_SYMBOLDEF(0x01D60490, "_ZN11CBaseButton14TriggerAndWaitEv", CBaseButton::TriggerAndWait), + HOOK_SYMBOLDEF(0x01D60530, "_ZN11CBaseButton12ButtonReturnEv", CBaseButton::ButtonReturn), + HOOK_SYMBOLDEF(0x01D605C0, "_ZN11CBaseButton14ButtonBackHomeEv", CBaseButton::ButtonBackHome), + HOOK_SYMBOLDEF(0x01D60080, "_ZN11CBaseButton9ButtonUseEP11CBaseEntityS1_8USE_TYPEf", CBaseButton::ButtonUse), + //HOOK_SYMBOLDEF(0x01D60190, "_ZN11CBaseButton21ButtonResponseToTouchEv", CBaseButton::ButtonResponseToTouch), // NOXREF + // non-class func + HOOK_SYMBOLDEF(0x01D5FDA0, "_Z11ButtonSoundi", ButtonSound), + HOOK_SYMBOLDEF(0x01D5FE90, "_Z7DoSparkP9entvars_sRK6Vector", DoSpark), +//CRotButton + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D60730, "_ZN10CRotButton5SpawnEv", CRotButton::Spawn), +//CMomentaryRotButton + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D60A10, "_ZN19CMomentaryRotButton5SpawnEv", CMomentaryRotButton::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D60BF0, "_ZN19CMomentaryRotButton8KeyValueEP14KeyValueData_s", CMomentaryRotButton::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D60940, "_ZN19CMomentaryRotButton4SaveER5CSave", CMomentaryRotButton::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D60970, "_ZN19CMomentaryRotButton7RestoreER8CRestore", CMomentaryRotButton::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D609F0, "_ZN19CMomentaryRotButton10ObjectCapsEv", CMomentaryRotButton::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D60CC0, "_ZN19CMomentaryRotButton3UseEP11CBaseEntityS1_8USE_TYPEf", CMomentaryRotButton::Use), + // non-virtual func + HOOK_SYMBOLDEF(0x01D61180, "_ZN19CMomentaryRotButton3OffEv", CMomentaryRotButton::Off), + HOOK_SYMBOLDEF(0x01D61200, "_ZN19CMomentaryRotButton6ReturnEv", CMomentaryRotButton::Return), + HOOK_SYMBOLDEF(0x01D60F60, "_ZN19CMomentaryRotButton10UpdateSelfEf", CMomentaryRotButton::UpdateSelf), + //HOOK_SYMBOLDEF(0x01D613E0, "_ZN19CMomentaryRotButton16UpdateSelfReturnEf", CMomentaryRotButton::UpdateSelfReturn), // NOXREF + //HOOK_SYMBOLDEF(0x01D60E00, "_ZN19CMomentaryRotButton16UpdateAllButtonsEfi", CMomentaryRotButton::UpdateAllButtons), // NOXREF + //HOOK_SYMBOLDEF(0x01D60C70, "_ZN19CMomentaryRotButton9PlaySoundEv", CMomentaryRotButton::PlaySound), // NOXREF + //HOOK_SYMBOLDEF(0x01D61110, "_ZN19CMomentaryRotButton12UpdateTargetEf", CMomentaryRotButton::UpdateTarget), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN19CMomentaryRotButton8InstanceEP7edict_s", CMomentaryRotButton::Instance), // NOXREF +//CEnvSpark + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D615A0, "_ZN9CEnvSpark5SpawnEv", CEnvSpark::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D61620, "_ZN9CEnvSpark8PrecacheEv", CEnvSpark::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D61670, "_ZN9CEnvSpark8KeyValueEP14KeyValueData_s", CEnvSpark::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D614A0, "_ZN9CEnvSpark4SaveER5CSave", CEnvSpark::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D614D0, "_ZN9CEnvSpark7RestoreER8CRestore", CEnvSpark::Restore), + // non-virtual func + HOOK_SYMBOLDEF(0x01D61730, "_ZN9CEnvSpark10SparkThinkEv", CEnvSpark::SparkThink), + HOOK_SYMBOLDEF(0x01D61770, "_ZN9CEnvSpark10SparkStartEP11CBaseEntityS1_8USE_TYPEf", CEnvSpark::SparkStart), + HOOK_SYMBOLDEF(0x01D617B0, "_ZN9CEnvSpark9SparkStopEP11CBaseEntityS1_8USE_TYPEf", CEnvSpark::SparkStop), +//CButtonTarget + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D61820, "_ZN13CButtonTarget5SpawnEv", CButtonTarget::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D61910, "_ZN13CButtonTarget10ObjectCapsEv", CButtonTarget::ObjectCaps), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D61930, "_ZN13CButtonTarget10TakeDamageEP9entvars_sS1_fi", CButtonTarget::TakeDamage), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D61890, "_ZN13CButtonTarget3UseEP11CBaseEntityS1_8USE_TYPEf", CButtonTarget::Use), +// linked objects + HOOK_DEF(0x01D5EE80, env_global), + HOOK_DEF(0x01D5F0D0, multisource), + HOOK_DEF(0x01D5FAE0, func_button), + HOOK_DEF(0x01D606E0, func_rot_button), + HOOK_DEF(0x01D609A0, momentary_rot_button), + HOOK_DEF(0x01D61500, env_spark), + HOOK_DEF(0x01D61550, env_debris), + HOOK_DEF(0x01D617D0, button_target), + +#endif // Button_Region + +#ifndef Explode_Region + +//CShower + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7B960, "_ZN7CShower5SpawnEv", CShower::Spawn), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D7B950, "_ZN7CShower10ObjectCapsEv", CShower::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7BAD0, "_ZN7CShower5ThinkEv", CShower::Think), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7BB60, "_ZN7CShower5TouchEP11CBaseEntity", CShower::Touch), + //linked objects + HOOK_DEF(0x01D7B900, spark_shower), +//CEnvExplosion + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7BD10, "_ZN13CEnvExplosion5SpawnEv", CEnvExplosion::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7BCC0, "_ZN13CEnvExplosion8KeyValueEP14KeyValueData_s", CEnvExplosion::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7BC10, "_ZN13CEnvExplosion4SaveER5CSave", CEnvExplosion::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7BC40, "_ZN13CEnvExplosion7RestoreER8CRestore", CEnvExplosion::Restore), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D7BD70, "_ZN13CEnvExplosion3UseEP11CBaseEntityS1_8USE_TYPEf", CEnvExplosion::Use), + // non-virtual func + HOOK_SYMBOLDEF(0x01D7C040, "_ZN13CEnvExplosion5SmokeEv", CEnvExplosion::Smoke), + HOOK_SYMBOLDEF(0x01D7C0E0, "_Z15ExplosionCreateRK6VectorS1_P7edict_sii", ExplosionCreate), + //linked objects + HOOK_DEF(0x01D7BC70, env_explosion), + +#endif // Explode_Region + +#ifndef Mortar_Region + +//CFuncMortarField + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8A610, "_ZN16CFuncMortarField5SpawnEv", CFuncMortarField::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8A680, "_ZN16CFuncMortarField8PrecacheEv", CFuncMortarField::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8A500, "_ZN16CFuncMortarField8KeyValueEP14KeyValueData_s", CFuncMortarField::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8A4A0, "_ZN16CFuncMortarField4SaveER5CSave", CFuncMortarField::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8A4D0, "_ZN16CFuncMortarField7RestoreER8CRestore", CFuncMortarField::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D8A490, "_ZN16CFuncMortarField10ObjectCapsEv", CFuncMortarField::ObjectCaps), // DEFAULT + // non-virtual func + HOOK_SYMBOLDEF(0x01D8A6B0, "_ZN16CFuncMortarField8FieldUseEP11CBaseEntityS1_8USE_TYPEf", CFuncMortarField::FieldUse), + //linked objects + HOOK_DEF(0x01D8A440, func_mortar_field), +//CMortar + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8A990, "_ZN7CMortar5SpawnEv", CMortar::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8A9D0, "_ZN7CMortar8PrecacheEv", CMortar::Precache), + // non-virtual func + HOOK_SYMBOLDEF(0x01D8A9F0, "_ZN7CMortar13MortarExplodeEv", CMortar::MortarExplode), + //linked objects + HOOK_DEF(0x01D8A940, monster_mortar), + +#endif // Mortar_Region + +#ifndef Healkit_Region + +//CHealthKit + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D867A0, "_ZN10CHealthKit5SpawnEv", CHealthKit::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D867D0, "_ZN10CHealthKit8PrecacheEv", CHealthKit::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D867F0, "_ZN10CHealthKit7MyTouchEP11CBasePlayer", CHealthKit::MyTouch), + //linked objects + HOOK_DEF(0x01D86750, item_healthkit), +//CWallHealth + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D86A30, "_ZN11CWallHealth5SpawnEv", CWallHealth::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D86AC0, "_ZN11CWallHealth8PrecacheEv", CWallHealth::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D86980, "_ZN11CWallHealth8KeyValueEP14KeyValueData_s", CWallHealth::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D868C0, "_ZN11CWallHealth4SaveER5CSave", CWallHealth::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D868F0, "_ZN11CWallHealth7RestoreER8CRestore", CWallHealth::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D86970, "_ZN11CWallHealth10ObjectCapsEv", CWallHealth::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D86AF0, "_ZN11CWallHealth3UseEP11CBaseEntityS1_8USE_TYPEf", CWallHealth::Use), + // non-virtual func + HOOK_SYMBOLDEF(0x01D86D90, "_ZN11CWallHealth3OffEv", CWallHealth::Off), + HOOK_SYMBOLDEF(0x01D86D30, "_ZN11CWallHealth8RechargeEv", CWallHealth::Recharge), + //linked objects + HOOK_DEF(0x01D86920, func_healthcharger), + +#endif // Healkit_Region + +#ifndef Lights_Region + +//CLight + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88790, "_ZN6CLight5SpawnEv", CLight::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88830, "_ZN6CLight7RestartEv", CLight::Restart), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88670, "_ZN6CLight4SaveER5CSave", CLight::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D886A0, "_ZN6CLight7RestoreER8CRestore", CLight::Restore), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D886D0, "_ZN6CLight8KeyValueEP14KeyValueData_s", CLight::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D888C0, "_ZN6CLight3UseEP11CBaseEntityS1_8USE_TYPEf", CLight::Use), +//CEnvLight + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88BB0, "_ZN9CEnvLight5SpawnEv", CEnvLight::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88A20, "_ZN9CEnvLight8KeyValueEP14KeyValueData_s", CEnvLight::KeyValue), + //linked objects + HOOK_DEF(0x01D88620, light), + HOOK_DEF(0x01D88980, light_spot), + HOOK_DEF(0x01D889D0, light_environment), + +#endif // Lights_Region + +#ifndef MapRules_Region + +//CRuleEntity + // virtual func + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D88CC0, "_ZN11CRuleEntity5SpawnEv", CRuleEntity::Spawn), // NOXREF + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88CF0, "_ZN11CRuleEntity8KeyValueEP14KeyValueData_s", CRuleEntity::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88C60, "_ZN11CRuleEntity4SaveER5CSave", CRuleEntity::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88C90, "_ZN11CRuleEntity7RestoreER8CRestore", CRuleEntity::Restore), + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN11CRuleEntity9SetMasterEi", CRuleEntity::SetMaster), // NOXREF + //HOOK_SYMBOLDEF(0x01D88D40, "_ZN11CRuleEntity19CanFireForActivatorEP11CBaseEntity", CRuleEntity::CanFireForActivator), // NOXREF +//CRulePointEntity + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88D70, "_ZN16CRulePointEntity5SpawnEv", CRulePointEntity::Spawn), +//CRuleBrushEntity + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88DB0, "_ZN16CRuleBrushEntity5SpawnEv", CRuleBrushEntity::Spawn), +//CGameScore + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88E50, "_ZN10CGameScore5SpawnEv", CGameScore::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88E90, "_ZN10CGameScore8KeyValueEP14KeyValueData_s", CGameScore::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88F20, "_ZN10CGameScore3UseEP11CBaseEntityS1_8USE_TYPEf", CGameScore::Use), + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN10CGameScore6PointsEv", CGameScore::Points), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN10CGameScore18AllowNegativeScoreEv", CGameScore::AllowNegativeScore), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN10CGameScore11AwardToTeamEv", CGameScore::AwardToTeam), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN10CGameScore9SetPointsEi", CGameScore::SetPoints), // NOXREF +//CGameEnd + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88FE0, "_ZN8CGameEnd3UseEP11CBaseEntityS1_8USE_TYPEf", CGameEnd::Use), +//CGameText + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D89100, "_ZN9CGameText8KeyValueEP14KeyValueData_s", CGameText::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D89060, "_ZN9CGameText4SaveER5CSave", CGameText::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D890B0, "_ZN9CGameText7RestoreER8CRestore", CGameText::Restore), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D893C0, "_ZN9CGameText3UseEP11CBaseEntityS1_8USE_TYPEf", CGameText::Use), + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN9CGameText12MessageToAllEv", CGameText::MessageToAll), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN9CGameText10MessageSetEPKc", CGameText::MessageSet), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN9CGameText10MessageGetEv", CGameText::MessageGet), // NOXREF +//CGameTeamMaster + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D894B0, "_ZN15CGameTeamMaster8KeyValueEP14KeyValueData_s", CGameTeamMaster::KeyValue), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D894A0, "_ZN15CGameTeamMaster10ObjectCapsEv", CGameTeamMaster::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D89690, "_ZN15CGameTeamMaster11IsTriggeredEP11CBaseEntity", CGameTeamMaster::IsTriggered), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D896E0, "_ZN15CGameTeamMaster6TeamIDEv", CGameTeamMaster::TeamID), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D895A0, "_ZN15CGameTeamMaster3UseEP11CBaseEntityS1_8USE_TYPEf", CGameTeamMaster::Use), + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN15CGameTeamMaster12RemoveOnFireEv", CGameTeamMaster::RemoveOnFire), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN15CGameTeamMaster7AnyTeamEv", CGameTeamMaster::AnyTeam), // NOXREF + //HOOK_SYMBOLDEF(0x01D89700, "_ZN15CGameTeamMaster9TeamMatchEP11CBaseEntity", CGameTeamMaster::TeamMatch), // NOXREF +//CGameTeamSet + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D897A0, "_ZN12CGameTeamSet3UseEP11CBaseEntityS1_8USE_TYPEf", CGameTeamSet::Use), + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN12CGameTeamSet12RemoveOnFireEv", CGameTeamSet::RemoveOnFire), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN12CGameTeamSet15ShouldClearTeamEv", CGameTeamSet::ShouldClearTeam), // NOXREF +//CGamePlayerZone + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D898F0, "_ZN15CGamePlayerZone8KeyValueEP14KeyValueData_s", CGamePlayerZone::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D89850, "_ZN15CGamePlayerZone4SaveER5CSave", CGamePlayerZone::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D898A0, "_ZN15CGamePlayerZone7RestoreER8CRestore", CGamePlayerZone::Restore), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D89A10, "_ZN15CGamePlayerZone3UseEP11CBaseEntityS1_8USE_TYPEf", CGamePlayerZone::Use), +//CGamePlayerHurt + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D89BE0, "_ZN15CGamePlayerHurt3UseEP11CBaseEntityS1_8USE_TYPEf", CGamePlayerHurt::Use), + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN15CGamePlayerHurt12RemoveOnFireEv", CGamePlayerHurt::RemoveOnFire), // NOXREF +//CGameCounter + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D89CD0, "_ZN12CGameCounter5SpawnEv", CGameCounter::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D89D30, "_ZN12CGameCounter3UseEP11CBaseEntityS1_8USE_TYPEf", CGameCounter::Use), + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN12CGameCounter12RemoveOnFireEv", CGameCounter::RemoveOnFire), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN12CGameCounter11ResetOnFireEv", CGameCounter::ResetOnFire), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN12CGameCounter7CountUpEv", CGameCounter::CountUp), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN12CGameCounter9CountDownEv", CGameCounter::CountDown), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN12CGameCounter10ResetCountEv", CGameCounter::ResetCount), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN12CGameCounter10CountValueEv", CGameCounter::CountValue), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN12CGameCounter10LimitValueEv", CGameCounter::LimitValue), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN12CGameCounter8HitLimitEv", CGameCounter::HitLimit), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN12CGameCounter13SetCountValueEi", CGameCounter::SetCountValue), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN12CGameCounter15SetInitialValueEi", CGameCounter::SetInitialValue), // NOXREF +//CGameCounterSet + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D89E70, "_ZN15CGameCounterSet3UseEP11CBaseEntityS1_8USE_TYPEf", CGameCounterSet::Use), + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN15CGameCounterSet12RemoveOnFireEv", CGameCounterSet::RemoveOnFire), // NOXREF +//CGamePlayerEquip + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D89F10, "_ZN16CGamePlayerEquip8KeyValueEP14KeyValueData_s", CGamePlayerEquip::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D89FE0, "_ZN16CGamePlayerEquip5TouchEP11CBaseEntity", CGamePlayerEquip::Touch), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8A0D0, "_ZN16CGamePlayerEquip3UseEP11CBaseEntityS1_8USE_TYPEf", CGamePlayerEquip::Use), + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN16CGamePlayerEquip7UseOnlyEv", CGamePlayerEquip::UseOnly), // NOXREF + //HOOK_SYMBOLDEF(0x01D8A070, "_ZN16CGamePlayerEquip11EquipPlayerEP11CBaseEntity", CGamePlayerEquip::EquipPlayer), // NOXREF +//CGamePlayerTeam + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8A1E0, "_ZN15CGamePlayerTeam3UseEP11CBaseEntityS1_8USE_TYPEf", CGamePlayerTeam::Use), + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN15CGamePlayerTeam12RemoveOnFireEv", CGamePlayerTeam::RemoveOnFire), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN15CGamePlayerTeam16ShouldKillPlayerEv", CGamePlayerTeam::ShouldKillPlayer), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN15CGamePlayerTeam15ShouldGibPlayerEv", CGamePlayerTeam::ShouldGibPlayer), // NOXREF + //HOOK_SYMBOLDEF(0x01D8A180, "_ZN15CGamePlayerTeam14TargetTeamNameEPKc", CGamePlayerTeam::TargetTeamName), // NOXREF + +#endif // MapRules_Region + +#ifndef HintMessage_Region + +//CHintMessage + //HOOK_SYMBOLDEF(0x0, "_ZNK12CHintMessage11GetDurationEv", CHintMessage::GetDuration), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN12CHintMessage4SendER11CBaseEntity", CHintMessage::Send), // NOXREF + +//CHintMessageQueue + HOOK_SYMBOLDEF(0x01D86FC0, "_ZN17CHintMessageQueue5ResetEv", CHintMessageQueue::Reset), + HOOK_SYMBOLDEF(0x01D87050, "_ZN17CHintMessageQueue6UpdateER11CBaseEntity", CHintMessageQueue::Update), + HOOK_SYMBOLDEF(0x01D87120, "_ZN17CHintMessageQueue10AddMessageEPKcfbP10CUtlVectorIS1_E", CHintMessageQueue::AddMessage), + //HOOK_SYMBOLDEF(0x0, "_ZN17CHintMessageQueue7IsEmptyEv", CHintMessageQueue::IsEmpty), // NOXREF + +#endif // HintMessage_Region + +#ifndef Items_Region + +//CItem + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D87570, "_ZN5CItem5SpawnEv", CItem::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D876C0, "_ZN5CItem7RespawnEv", CItem::Respawn), + //HOOK_SYMBOL_VIRTUAL_DEF(0x0, "_ZN5CItem7MyTouchEP11CBasePlayer", CItem::MyTouch), // NOXREF + // non-virtual func + HOOK_SYMBOLDEF(0x01D87610, "_ZN5CItem9ItemTouchEP11CBaseEntity", CItem::ItemTouch), + HOOK_SYMBOLDEF(0x01D87730, "_ZN5CItem11MaterializeEv", CItem::Materialize), +//CWorldItem + // virtual func + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D874A0, "_ZN10CWorldItem5SpawnEv", CWorldItem::Spawn), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D87450, "_ZN10CWorldItem8KeyValueEP14KeyValueData_s", CWorldItem::KeyValue), + //linked objects + //HOOK_DEF(0x01D87400, world_items), +//CItemSuit + // virtual func + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D877F0, "_ZN9CItemSuit5SpawnEv", CItemSuit::Spawn), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D878B0, "_ZN9CItemSuit8PrecacheEv", CItemSuit::Precache), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D878D0, "_ZN9CItemSuit7MyTouchEP11CBasePlayer", CItemSuit::MyTouch), + //linked objects + //HOOK_DEF(0x01D877A0, item_suit), +//CItemBattery + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D87990, "_ZN12CItemBattery5SpawnEv", CItemBattery::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D87A50, "_ZN12CItemBattery8PrecacheEv", CItemBattery::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D87A70, "_ZN12CItemBattery7MyTouchEP11CBasePlayer", CItemBattery::MyTouch), + //linked objects + HOOK_DEF(0x01D87940, item_battery), +//CItemAntidote + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D87C10, "_ZN13CItemAntidote5SpawnEv", CItemAntidote::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D87CD0, "_ZN13CItemAntidote8PrecacheEv", CItemAntidote::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D87CE0, "_ZN13CItemAntidote7MyTouchEP11CBasePlayer", CItemAntidote::MyTouch), + //linked objects + HOOK_DEF(0x01D87BC0, item_antidote), +//CItemSecurity + // virtual func + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D87D60, "_ZN13CItemSecurity5SpawnEv", CItemSecurity::Spawn), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D87E20, "_ZN13CItemSecurity8PrecacheEv", CItemSecurity::Precache), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D87E30, "_ZN13CItemSecurity7MyTouchEP11CBasePlayer", CItemSecurity::MyTouch), + //linked objects + //HOOK_DEF(0x01D87D10, item_security), +//CItemLongJump + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D87EA0, "_ZN13CItemLongJump5SpawnEv", CItemLongJump::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D87F60, "_ZN13CItemLongJump8PrecacheEv", CItemLongJump::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D87F70, "_ZN13CItemLongJump7MyTouchEP11CBasePlayer", CItemLongJump::MyTouch), + //linked objects + HOOK_DEF(0x01D87E50, item_longjump), +//CItemKevlar + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88070, "_ZN11CItemKevlar5SpawnEv", CItemKevlar::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88130, "_ZN11CItemKevlar8PrecacheEv", CItemKevlar::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88140, "_ZN11CItemKevlar7MyTouchEP11CBasePlayer", CItemKevlar::MyTouch), + //linked objects + HOOK_DEF(0x01D88020, item_kevlar), +//CItemAssaultSuit + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88270, "_ZN16CItemAssaultSuit5SpawnEv", CItemAssaultSuit::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88330, "_ZN16CItemAssaultSuit8PrecacheEv", CItemAssaultSuit::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88340, "_ZN16CItemAssaultSuit7MyTouchEP11CBasePlayer", CItemAssaultSuit::MyTouch), + //linked objects + HOOK_DEF(0x01D88220, item_assaultsuit), +//CItemThighPack + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88460, "_ZN14CItemThighPack5SpawnEv", CItemThighPack::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88520, "_ZN14CItemThighPack8PrecacheEv", CItemThighPack::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D88530, "_ZN14CItemThighPack7MyTouchEP11CBasePlayer", CItemThighPack::MyTouch), + //linked objects + HOOK_DEF(0x01D88410, item_thighpack), + +#endif // Items_Region + +#ifndef Triggers_Region + +//CFrictionModifier + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD1A0, "_ZN17CFrictionModifier5SpawnEv", CFrictionModifier::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD220, "_ZN17CFrictionModifier8KeyValueEP14KeyValueData_s", CFrictionModifier::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD140, "_ZN17CFrictionModifier4SaveER5CSave", CFrictionModifier::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD170, "_ZN17CFrictionModifier7RestoreER8CRestore", CFrictionModifier::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD130, "_ZN17CFrictionModifier10ObjectCapsEv", CFrictionModifier::ObjectCaps), // DEFAULT + // non-virtual func + HOOK_SYMBOLDEF(0x01DBD1F0, "_ZN17CFrictionModifier14ChangeFrictionEP11CBaseEntity", CFrictionModifier::ChangeFriction), +//CAutoTrigger + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD400, "_ZN12CAutoTrigger5SpawnEv", CAutoTrigger::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD410, "_ZN12CAutoTrigger8PrecacheEv", CAutoTrigger::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD340, "_ZN12CAutoTrigger8KeyValueEP14KeyValueData_s", CAutoTrigger::KeyValue), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD2D0, "_ZN12CAutoTrigger10ObjectCapsEv", CAutoTrigger::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD2E0, "_ZN12CAutoTrigger4SaveER5CSave", CAutoTrigger::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD310, "_ZN12CAutoTrigger7RestoreER8CRestore", CAutoTrigger::Restore), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD430, "_ZN12CAutoTrigger5ThinkEv", CAutoTrigger::Think), +//CTriggerRelay + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD5C0, "_ZN13CTriggerRelay5SpawnEv", CTriggerRelay::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD540, "_ZN13CTriggerRelay8KeyValueEP14KeyValueData_s", CTriggerRelay::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD4E0, "_ZN13CTriggerRelay4SaveER5CSave", CTriggerRelay::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD510, "_ZN13CTriggerRelay7RestoreER8CRestore", CTriggerRelay::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD4D0, "_ZN13CTriggerRelay10ObjectCapsEv", CTriggerRelay::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD5D0, "_ZN13CTriggerRelay3UseEP11CBaseEntityS1_8USE_TYPEf", CTriggerRelay::Use), +//CMultiManager + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD780, "_ZN13CMultiManager5SpawnEv", CMultiManager::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD7F0, "_ZN13CMultiManager7RestartEv", CMultiManager::Restart), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD6C0, "_ZN13CMultiManager8KeyValueEP14KeyValueData_s", CMultiManager::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD660, "_ZN13CMultiManager4SaveER5CSave", CMultiManager::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD690, "_ZN13CMultiManager7RestoreER8CRestore", CMultiManager::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD650, "_ZN13CMultiManager10ObjectCapsEv", CMultiManager::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBD8A0, "_ZN13CMultiManager9HasTargetEj", CMultiManager::HasTarget), + // non-virtual func + HOOK_SYMBOLDEF(0x01DBD930, "_ZN13CMultiManager12ManagerThinkEv", CMultiManager::ManagerThink), + HOOK_SYMBOLDEF(0x01DBDAD0, "_ZN13CMultiManager10ManagerUseEP11CBaseEntityS1_8USE_TYPEf", CMultiManager::ManagerUse), + //HOOK_SYMBOLDEF(0x01DBDA10, "_ZN13CMultiManager5CloneEv", CMultiManager::Clone), // NOXREF +//CRenderFxManager + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBDC40, "_ZN16CRenderFxManager5SpawnEv", CRenderFxManager::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBDC50, "_ZN16CRenderFxManager3UseEP11CBaseEntityS1_8USE_TYPEf", CRenderFxManager::Use), +//CBaseTrigger + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBDE40, "_ZN12CBaseTrigger8KeyValueEP14KeyValueData_s", CBaseTrigger::KeyValue), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DBDD80, "_ZN12CBaseTrigger10ObjectCapsEv", CBaseTrigger::ObjectCaps), // DEFAULT + // non-virtual func + //HOOK_SYMBOLDEF(0x01DBDD90, "_ZN12CBaseTrigger11InitTriggerEv", CBaseTrigger::InitTrigger), // NOXREF + HOOK_SYMBOLDEF(0x01DC06D0, "_ZN12CBaseTrigger13TeleportTouchEP11CBaseEntity", CBaseTrigger::TeleportTouch), + HOOK_SYMBOLDEF(0x01DBF070, "_ZN12CBaseTrigger10MultiTouchEP11CBaseEntity", CBaseTrigger::MultiTouch), + HOOK_SYMBOLDEF(0x01DBEC40, "_ZN12CBaseTrigger9HurtTouchEP11CBaseEntity", CBaseTrigger::HurtTouch), + //HOOK_SYMBOLDEF(0x0, "_ZN12CBaseTrigger12CDAudioTouchEP11CBaseEntity", CBaseTrigger::CDAudioTouch), // NOXREF + HOOK_SYMBOLDEF(0x01DBF0E0, "_ZN12CBaseTrigger20ActivateMultiTriggerEP11CBaseEntity", CBaseTrigger::ActivateMultiTrigger), + HOOK_SYMBOLDEF(0x01DBF290, "_ZN12CBaseTrigger13MultiWaitOverEv", CBaseTrigger::MultiWaitOver), + HOOK_SYMBOLDEF(0x01DBF2A0, "_ZN12CBaseTrigger10CounterUseEP11CBaseEntityS1_8USE_TYPEf", CBaseTrigger::CounterUse), + HOOK_SYMBOLDEF(0x01DBEBE0, "_ZN12CBaseTrigger9ToggleUseEP11CBaseEntityS1_8USE_TYPEf", CBaseTrigger::ToggleUse), +//CTriggerHurt + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBE810, "_ZN12CTriggerHurt5SpawnEv", CTriggerHurt::Spawn), + // non-virtual func + HOOK_SYMBOLDEF(0x01DBE940, "_ZN12CTriggerHurt14RadiationThinkEv", CTriggerHurt::RadiationThink), +//CTriggerMonsterJump + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBDFA0, "_ZN19CTriggerMonsterJump5SpawnEv", CTriggerMonsterJump::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBE0B0, "_ZN19CTriggerMonsterJump5ThinkEv", CTriggerMonsterJump::Think), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBE0E0, "_ZN19CTriggerMonsterJump5TouchEP11CBaseEntity", CTriggerMonsterJump::Touch), +//CTriggerCDAudio + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBE270, "_ZN15CTriggerCDAudio5SpawnEv", CTriggerCDAudio::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBE1C0, "_ZN15CTriggerCDAudio5TouchEP11CBaseEntity", CTriggerCDAudio::Touch), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBE320, "_ZN15CTriggerCDAudio3UseEP11CBaseEntityS1_8USE_TYPEf", CTriggerCDAudio::Use), + // non-virtual func + //HOOK_SYMBOLDEF(0x01DBE430, "_ZN15CTriggerCDAudio9PlayTrackEv", CTriggerCDAudio::PlayTrack), // NOXREF + //HOOK_SYMBOLDEF(0x01DBE3B0, "_Z11PlayCDTracki", PlayCDTrack), // NOXREF +//CTargetCDAudio + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBE560, "_ZN14CTargetCDAudio5SpawnEv", CTargetCDAudio::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBE510, "_ZN14CTargetCDAudio8KeyValueEP14KeyValueData_s", CTargetCDAudio::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBE640, "_ZN14CTargetCDAudio5ThinkEv", CTargetCDAudio::Think), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBE5A0, "_ZN14CTargetCDAudio3UseEP11CBaseEntityS1_8USE_TYPEf", CTargetCDAudio::Use), + // non-virtual func + //HOOK_SYMBOLDEF(0x01DBE760, "_ZN14CTargetCDAudio4PlayEv", CTargetCDAudio::Play), // NOXREF +//CTriggerMultiple + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBEE90, "_ZN16CTriggerMultiple5SpawnEv", CTriggerMultiple::Spawn), +//CTriggerOnce + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBEFB0, "_ZN12CTriggerOnce5SpawnEv", CTriggerOnce::Spawn), +//CTriggerCounter + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBF410, "_ZN15CTriggerCounter5SpawnEv", CTriggerCounter::Spawn), +//CTriggerVolume + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBF490, "_ZN14CTriggerVolume5SpawnEv", CTriggerVolume::Spawn), +//CFireAndDie + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBF550, "_ZN11CFireAndDie5SpawnEv", CFireAndDie::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBF5B0, "_ZN11CFireAndDie8PrecacheEv", CFireAndDie::Precache), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DBF540, "_ZN11CFireAndDie10ObjectCapsEv", CFireAndDie::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBF5D0, "_ZN11CFireAndDie5ThinkEv", CFireAndDie::Think), +//CChangeLevel + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBF7E0, "_ZN12CChangeLevel5SpawnEv", CChangeLevel::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBF6A0, "_ZN12CChangeLevel8KeyValueEP14KeyValueData_s", CChangeLevel::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBF640, "_ZN12CChangeLevel4SaveER5CSave", CChangeLevel::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBF670, "_ZN12CChangeLevel7RestoreER8CRestore", CChangeLevel::Restore), + // non-virtual func + HOOK_SYMBOLDEF(0x01DBFD80, "_Z15BuildChangeListP9LEVELLISTi", BuildChangeList), + //HOOK_SYMBOLDEF(0x01DC0150, "_Z9NextLevelv", NextLevel), // NOXREF + HOOK_SYMBOLDEF(0x01DBFA10, "_ZN12CChangeLevel14UseChangeLevelEP11CBaseEntityS1_8USE_TYPEf", CChangeLevel::UseChangeLevel), + //HOOK_SYMBOLDEF(0x0, "_ZN12CChangeLevel18TriggerChangeLevelEv", CChangeLevel::TriggerChangeLevel), // NOXREF + HOOK_SYMBOLDEF(0x01DBF950, "_ZN12CChangeLevel18ExecuteChangeLevelEv", CChangeLevel::ExecuteChangeLevel), + HOOK_SYMBOLDEF(0x01DBFC60, "_ZN12CChangeLevel16TouchChangeLevelEP11CBaseEntity", CChangeLevel::TouchChangeLevel), + HOOK_SYMBOLDEF(0x01DBFA20, "_ZN12CChangeLevel14ChangeLevelNowEP11CBaseEntity", CChangeLevel::ChangeLevelNow), + //HOOK_SYMBOLDEF(0x01DBF990, "_ZN12CChangeLevel12FindLandmarkEPKc", CChangeLevel::FindLandmark), // NOXREF + HOOK_SYMBOLDEF(0x01DBFE50, "_ZN12CChangeLevel10ChangeListEP9LEVELLISTi", CChangeLevel::ChangeList), + HOOK_SYMBOLDEF(0x01DBFCA0, "_ZN12CChangeLevel19AddTransitionToListEP9LEVELLISTiPKcS3_P7edict_s", CChangeLevel::AddTransitionToList), + HOOK_SYMBOLDEF(0x01DBFD90, "_ZN12CChangeLevel18InTransitionVolumeEP11CBaseEntityPc", CChangeLevel::InTransitionVolume), +//CLadder + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC0370, "_ZN7CLadder5SpawnEv", CLadder::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC0300, "_ZN7CLadder8PrecacheEv", CLadder::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC02F0, "_ZN7CLadder8KeyValueEP14KeyValueData_s", CLadder::KeyValue), +//CTriggerPush + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC0420, "_ZN12CTriggerPush5SpawnEv", CTriggerPush::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC0410, "_ZN12CTriggerPush8KeyValueEP14KeyValueData_s", CTriggerPush::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC0560, "_ZN12CTriggerPush5TouchEP11CBaseEntity", CTriggerPush::Touch), +//CTriggerTeleport + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC08B0, "_ZN16CTriggerTeleport5SpawnEv", CTriggerTeleport::Spawn), +//CBuyZone + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC0A10, "_ZN8CBuyZone5SpawnEv", CBuyZone::Spawn), + // non-virtual func + HOOK_SYMBOLDEF(0x01DC0B00, "_ZN8CBuyZone8BuyTouchEP11CBaseEntity", CBuyZone::BuyTouch), +//CBombTarget + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC0B90, "_ZN11CBombTarget5SpawnEv", CBombTarget::Spawn), + // non-virtual func + HOOK_SYMBOLDEF(0x01DC0C50, "_ZN11CBombTarget15BombTargetTouchEP11CBaseEntity", CBombTarget::BombTargetTouch), + HOOK_SYMBOLDEF(0x01DC0CA0, "_ZN11CBombTarget13BombTargetUseEP11CBaseEntityS1_8USE_TYPEf", CBombTarget::BombTargetUse), +//CHostageRescue + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC0D00, "_ZN14CHostageRescue5SpawnEv", CHostageRescue::Spawn), + // non-virtual func + HOOK_SYMBOLDEF(0x01DC0DC0, "_ZN14CHostageRescue18HostageRescueTouchEP11CBaseEntity", CHostageRescue::HostageRescueTouch), +//CEscapeZone + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC0E70, "_ZN11CEscapeZone5SpawnEv", CEscapeZone::Spawn), + // non-virtual func + HOOK_SYMBOLDEF(0x01DC0F30, "_ZN11CEscapeZone11EscapeTouchEP11CBaseEntity", CEscapeZone::EscapeTouch), +//CVIP_SafetyZone + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC10A0, "_ZN15CVIP_SafetyZone5SpawnEv", CVIP_SafetyZone::Spawn), + // non-virtual func + HOOK_SYMBOLDEF(0x01DC1160, "_ZN15CVIP_SafetyZone15VIP_SafetyTouchEP11CBaseEntity", CVIP_SafetyZone::VIP_SafetyTouch), +//CTriggerSave + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC1240, "_ZN12CTriggerSave5SpawnEv", CTriggerSave::Spawn), + // non-virtual func + HOOK_SYMBOLDEF(0x01DC1320, "_ZN12CTriggerSave9SaveTouchEP11CBaseEntity", CTriggerSave::SaveTouch), +//CTriggerEndSection + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC1410, "_ZN18CTriggerEndSection5SpawnEv", CTriggerEndSection::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC1550, "_ZN18CTriggerEndSection8KeyValueEP14KeyValueData_s", CTriggerEndSection::KeyValue), + // non-virtual func + HOOK_SYMBOLDEF(0x01DC13C0, "_ZN18CTriggerEndSection15EndSectionTouchEP11CBaseEntity", CTriggerEndSection::EndSectionTouch), + HOOK_SYMBOLDEF(0x01DC1500, "_ZN18CTriggerEndSection13EndSectionUseEP11CBaseEntityS1_8USE_TYPEf", CTriggerEndSection::EndSectionUse), +//CTriggerGravity + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC15F0, "_ZN15CTriggerGravity5SpawnEv", CTriggerGravity::Spawn), + // non-virtual func + HOOK_SYMBOLDEF(0x01DC16B0, "_ZN15CTriggerGravity12GravityTouchEP11CBaseEntity", CTriggerGravity::GravityTouch), +//CTriggerChangeTarget + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC17F0, "_ZN20CTriggerChangeTarget5SpawnEv", CTriggerChangeTarget::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC17A0, "_ZN20CTriggerChangeTarget8KeyValueEP14KeyValueData_s", CTriggerChangeTarget::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC1740, "_ZN20CTriggerChangeTarget4SaveER5CSave", CTriggerChangeTarget::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC1770, "_ZN20CTriggerChangeTarget7RestoreER8CRestore", CTriggerChangeTarget::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DC1730, "_ZN20CTriggerChangeTarget10ObjectCapsEv", CTriggerChangeTarget::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC1800, "_ZN20CTriggerChangeTarget3UseEP11CBaseEntityS1_8USE_TYPEf", CTriggerChangeTarget::Use), +//CTriggerCamera + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC1920, "_ZN14CTriggerCamera5SpawnEv", CTriggerCamera::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC19A0, "_ZN14CTriggerCamera8KeyValueEP14KeyValueData_s", CTriggerCamera::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC18C0, "_ZN14CTriggerCamera4SaveER5CSave", CTriggerCamera::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC18F0, "_ZN14CTriggerCamera7RestoreER8CRestore", CTriggerCamera::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DC18B0, "_ZN14CTriggerCamera10ObjectCapsEv", CTriggerCamera::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC1A90, "_ZN14CTriggerCamera3UseEP11CBaseEntityS1_8USE_TYPEf", CTriggerCamera::Use), + // non-virtual func + HOOK_SYMBOLDEF(0x01DC1DC0, "_ZN14CTriggerCamera12FollowTargetEv", CTriggerCamera::FollowTarget), + HOOK_SYMBOLDEF(0x01DC20A0, "_ZN14CTriggerCamera4MoveEv", CTriggerCamera::Move), +//CWeather + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC2490, "_ZN8CWeather5SpawnEv", CWeather::Spawn), +//CClientFog + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC25E0, "_ZN10CClientFog5SpawnEv", CClientFog::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DC2560, "_ZN10CClientFog8KeyValueEP14KeyValueData_s", CClientFog::KeyValue), + +//linked objects + HOOK_DEF(0x01DBD0E0, func_friction), + HOOK_DEF(0x01DBD280, trigger_auto), + HOOK_DEF(0x01DBD480, trigger_relay), + HOOK_DEF(0x01DBD600, multi_manager), + HOOK_DEF(0x01DBDBF0, env_render), + HOOK_DEF(0x01DBDD30, trigger), + HOOK_DEF(0x01DBDF00, trigger_hurt), + HOOK_DEF(0x01DBDF50, trigger_monsterjump), + HOOK_DEF(0x01DBE170, trigger_cdaudio), + HOOK_DEF(0x01DBE4C0, target_cdaudio), + HOOK_DEF(0x01DBEE40, trigger_multiple), + HOOK_DEF(0x01DBEF60, trigger_once), + HOOK_DEF(0x01DBF3C0, trigger_counter), + HOOK_DEF(0x01DBF440, trigger_transition), + HOOK_DEF(0x01DBF4F0, fireanddie), + HOOK_DEF(0x01DBF5F0, trigger_changelevel), + HOOK_DEF(0x01DC02A0, func_ladder), + HOOK_DEF(0x01DC03C0, trigger_push), + HOOK_DEF(0x01DC0860, trigger_teleport), + HOOK_DEF(0x01DC0970, info_teleport_destination), + HOOK_DEF(0x01DC09C0, func_buyzone), + HOOK_DEF(0x01DC0B40, func_bomb_target), + HOOK_DEF(0x01DC0CB0, func_hostage_rescue), + HOOK_DEF(0x01DC0E20, func_escapezone), + HOOK_DEF(0x01DC1050, func_vip_safetyzone), + HOOK_DEF(0x01DC11F0, trigger_autosave), + HOOK_DEF(0x01DC1370, trigger_endsection), + HOOK_DEF(0x01DC15A0, trigger_gravity), + HOOK_DEF(0x01DC16E0, trigger_changetarget), + HOOK_DEF(0x01DC1860, trigger_camera), + HOOK_DEF(0x01DC2350, env_snow), + HOOK_DEF(0x01DC23A0, func_snow), + HOOK_DEF(0x01DC23F0, env_rain), + HOOK_DEF(0x01DC2440, func_rain), + HOOK_DEF(0x01DC2610, env_fog), + +#endif // Triggers_Region + +#ifndef SharedUtil_Region + +#ifdef _WIN32 + HOOK_DEF(0x01D50CA0, CloneString), +#endif // _WIN32 + + //HOOK_SYMBOLDEF(0x01D58EE0, "_Z14SharedWVarArgsPwz", SharedWVarArgs), // NOXREF + HOOK_SYMBOLDEF(0x01D58F30, "_Z13SharedVarArgsPcz", SharedVarArgs), + HOOK_SYMBOLDEF(0x01D58F80, "_Z9BufPrintfPcRiPKcz", BufPrintf), + //HOOK_SYMBOLDEF(0x01D58FD0, "_Z10BufWPrintfPwRiPKwz", BufWPrintf), // NOXREF + //HOOK_SYMBOLDEF(0x01D59010, "_Z12NumAsWStringi", NumAsWString), // NOXREF + HOOK_SYMBOLDEF(0x01D59060, "_Z11NumAsStringi", NumAsString), + HOOK_SYMBOLDEF(0x01D590B0, "_Z14SharedGetTokenv", SharedGetToken), + //HOOK_SYMBOLDEF(0x01D590C0, "_Z18SharedSetQuoteCharc", SharedSetQuoteChar), // NOXREF + HOOK_SYMBOLDEF(0x01D590D0, "_Z11SharedParsePKc", SharedParse), + //HOOK_SYMBOLDEF(0x01D591B0, "_Z18SharedTokenWaitingPKc", SharedTokenWaiting), // NOXREF + +#endif // SharedUtil_Region + +#ifndef World_Region + + // virtual func + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DD1750, "_ZN7CCorpse10ObjectCapsEv", CCorpse::ObjectCaps), // DEFAULT + // non-virtual func + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DD1420, "_ZN6CDecal5SpawnEv", CDecal::Spawn), // DEFAULT + //HOOK_SYMBOLDEF(0x01DD15C0, "_ZN6CDecal11StaticDecalEv", CDecal::StaticDecal), // DEFAULT + //HOOK_SYMBOLDEF(0x01DD1490, "_ZN6CDecal12TriggerDecalEP11CBaseEntityS1_8USE_TYPEf", CDecal::TriggerDecal), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DD1690, "_ZN6CDecal8KeyValueEP14KeyValueData_s", CDecal::KeyValue), // DEFAULT + //HOOK_SYMBOLDEF(0x01DD1760, "_Z13CopyToBodyQueP9entvars_s", CopyToBodyQue), // PURE + //HOOK_SYMBOLDEF(0x01DD1770, "_Z12ClearBodyQuev", ClearBodyQue), // NOXREF + //HOOK_SYMBOLDEF(0x01DD1780, "_ZN12CGlobalStateC2Ev", CGlobalState__CGlobalState), + //HOOK_SYMBOLDEF(0x01DD1790, "_ZN12CGlobalState5ResetEv", CGlobalState::Reset), // NOXREF + //HOOK_SYMBOLDEF(0x01DD17A0, "_ZN12CGlobalState4FindEj", CGlobalState::Find), + HOOK_SYMBOLDEF(0x01DD1810, "_ZN12CGlobalState11DumpGlobalsEv", CGlobalState::DumpGlobals), + HOOK_SYMBOLDEF(0x01DD1860, "_ZN12CGlobalState9EntityAddEjj12GLOBALESTATE", CGlobalState::EntityAdd), + HOOK_SYMBOLDEF(0x01DD18D0, "_ZN12CGlobalState14EntitySetStateEj12GLOBALESTATE", CGlobalState::EntitySetState), + HOOK_SYMBOLDEF(0x01DD1950, "_ZN12CGlobalState15EntityFromTableEj", CGlobalState::EntityFromTable), + HOOK_SYMBOLDEF(0x01DD19C0, "_ZN12CGlobalState14EntityGetStateEj", CGlobalState::EntityGetState), + //HOOK_SYMBOLDEF(0x01DD1A40, "_ZN12CGlobalState4SaveER5CSave", CGlobalState::Save), // NOXREF + //HOOK_SYMBOLDEF(0x01DD1AB0, "_ZN12CGlobalState7RestoreER8CRestore", CGlobalState::Restore), // NOXREF + HOOK_SYMBOLDEF(0x01DD1BD0, "_ZN12CGlobalState12EntityUpdateEjj", CGlobalState::EntityUpdate), + //HOOK_SYMBOLDEF(0x01DD1C50, "_ZN12CGlobalState11ClearStatesEv", CGlobalState::ClearStates), // NOXREF + HOOK_SYMBOLDEF(0x01DD1C80, "_Z15SaveGlobalStateP13saverestore_s", SaveGlobalState), + HOOK_SYMBOLDEF(0x01DD1D00, "_Z18RestoreGlobalStateP13saverestore_s", RestoreGlobalState), + HOOK_SYMBOLDEF(0x01DD1E50, "_Z16ResetGlobalStatev", ResetGlobalState), +//linked objects + HOOK_DEF(0x01DD13D0, infodecal), + HOOK_DEF(0x01DD1700, bodyque), + HOOK_DEF(0x01DD1E90, worldspawn), + +#endif // World_Region + +#ifndef Graph_Region + + //HOOK_SYMBOLDEF(0x01D8AB70, "_ZN6CGraph9InitGraphEv", CGraph::InitGraph), // pure + //HOOK_SYMBOLDEF(0x01D8AB90, "_ZN6CGraph10AllocNodesEv", CGraph::AllocNodes), // pure + //HOOK_SYMBOLDEF(0x01D8ABA0, "_ZN6CGraph12CheckNODFileEPc", CGraph::CheckNODFile), // pure + //HOOK_SYMBOLDEF(0x01D8AB80, "_ZN6CGraph10FLoadGraphEPc", CGraph::FLoadGraph), // pure + //HOOK_SYMBOLDEF(0x01D8ABB0, "_ZN6CGraph17FSetGraphPointersEv", CGraph::FSetGraphPointers), // pure + //HOOK_SYMBOLDEF(0x01D8ABC0, "_ZN6CGraph19ShowNodeConnectionsEi", CGraph::ShowNodeConnections), // pure + //HOOK_SYMBOLDEF(0x0, "_ZN6CGraph15FindNearestNodeERK6VectorP11CBaseEntity", CGraph::FindNearestNode, int(const Vector &, CBaseEntity *)), // NOXREF + HOOK_SYMBOLDEF(0x01D8ABD0, "_ZN6CGraph15FindNearestNodeERK6Vectori", CGraph::FindNearestNode, int(const Vector &, int)), + +#endif // Graph_Region + +#ifndef SoundEnt_Region + +//CSound + // non-virtual func + //HOOK_SYMBOLDEF(0x01DBA520, "_ZN6CSound5ClearEv", CSound::Clear), // NOXREF + HOOK_SYMBOLDEF(0x01DBA560, "_ZN6CSound5ResetEv", CSound::Reset), + //HOOK_SYMBOLDEF(0x01DBA590, "_ZN6CSound8FIsSoundEv", CSound::FIsSound), // NOXREF + //HOOK_SYMBOLDEF(0x01DBA5A0, "_ZN6CSound8FIsScentEv", CSound::FIsScent), // NOXREF + //linked objects + HOOK_DEF(0x01DBA4D0, soundent), +//CSoundEnt + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBA5B0, "_ZN9CSoundEnt5SpawnEv", CSoundEnt::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBA760, "_ZN9CSoundEnt8PrecacheEv", CSoundEnt::Precache), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DBAB10, "_ZN9CSoundEnt10ObjectCapsEv", CSoundEnt::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBA5E0, "_ZN9CSoundEnt5ThinkEv", CSoundEnt::Think), + // non-virtual func + HOOK_SYMBOLDEF(0x01DBA8F0, "_ZN9CSoundEnt10InitializeEv", CSoundEnt::Initialize), + HOOK_SYMBOLDEF(0x01DBA820, "_ZN9CSoundEnt11InsertSoundEiRK6Vectorif", CSoundEnt::InsertSound), + //HOOK_SYMBOLDEF(0x01DBA770, "_ZN9CSoundEnt9FreeSoundEii", CSoundEnt::FreeSound), // NOXREF + //HOOK_SYMBOLDEF(0x01DBAA70, "_ZN9CSoundEnt10ActiveListEv", CSoundEnt::ActiveList), // NOXREF + //HOOK_SYMBOLDEF(0x01DBAA90, "_ZN9CSoundEnt8FreeListEv", CSoundEnt::FreeList), // NOXREF + HOOK_SYMBOLDEF(0x01DBAAB0, "_ZN9CSoundEnt20SoundPointerForIndexEi", CSoundEnt::SoundPointerForIndex), + HOOK_SYMBOLDEF(0x01DBAB00, "_ZN9CSoundEnt16ClientSoundIndexEP7edict_s", CSoundEnt::ClientSoundIndex), + //HOOK_SYMBOLDEF(0x0, "_ZN9CSoundEnt7IsEmptyEv", CSoundEnt::IsEmpty), // NOXREF + //HOOK_SYMBOLDEF(0x01DBAA20, "_ZN9CSoundEnt13ISoundsInListEi", CSoundEnt::ISoundsInList), // NOXREF + //HOOK_SYMBOLDEF(0x01DBA7D0, "_ZN9CSoundEnt11IAllocSoundEv", CSoundEnt::IAllocSound), // NOXREF + +#endif // SoundEnt_Region + +#ifndef Sound_Region + +//CAmbientGeneric + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6CF0, "_ZN15CAmbientGeneric5SpawnEv", CAmbientGeneric::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6F90, "_ZN15CAmbientGeneric8PrecacheEv", CAmbientGeneric::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6E00, "_ZN15CAmbientGeneric7RestartEv", CAmbientGeneric::Restart), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB7900, "_ZN15CAmbientGeneric8KeyValueEP14KeyValueData_s", CAmbientGeneric::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6C90, "_ZN15CAmbientGeneric4SaveER5CSave", CAmbientGeneric::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6CC0, "_ZN15CAmbientGeneric7RestoreER8CRestore", CAmbientGeneric::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6C80, "_ZN15CAmbientGeneric10ObjectCapsEv", CAmbientGeneric::ObjectCaps), // DEFAULT + // non-virtual func + HOOK_SYMBOLDEF(0x01DB7060, "_ZN15CAmbientGeneric9RampThinkEv", CAmbientGeneric::RampThink), + HOOK_SYMBOLDEF(0x01DB7440, "_ZN15CAmbientGeneric19InitModulationParmsEv", CAmbientGeneric::InitModulationParms), + HOOK_SYMBOLDEF(0x01DB76A0, "_ZN15CAmbientGeneric9ToggleUseEP11CBaseEntityS1_8USE_TYPEf", CAmbientGeneric::ToggleUse), +//CEnvSound + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB8270, "_ZN9CEnvSound5SpawnEv", CEnvSound::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB7EC0, "_ZN9CEnvSound8KeyValueEP14KeyValueData_s", CEnvSound::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB7E60, "_ZN9CEnvSound4SaveER5CSave", CEnvSound::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB7E90, "_ZN9CEnvSound7RestoreER8CRestore", CEnvSound::Restore), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB8090, "_ZN9CEnvSound5ThinkEv", CEnvSound::Think), +//CSpeaker + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB9FD0, "_ZN8CSpeaker5SpawnEv", CSpeaker::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBA090, "_ZN8CSpeaker8PrecacheEv", CSpeaker::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBA480, "_ZN8CSpeaker8KeyValueEP14KeyValueData_s", CSpeaker::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB9F70, "_ZN8CSpeaker4SaveER5CSave", CSpeaker::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB9FA0, "_ZN8CSpeaker7RestoreER8CRestore", CSpeaker::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DB9F60, "_ZN8CSpeaker10ObjectCapsEv", CSpeaker::ObjectCaps), // DEFAULT + // non-virtual func + HOOK_SYMBOLDEF(0x01DBA3F0, "_ZN8CSpeaker9ToggleUseEP11CBaseEntityS1_8USE_TYPEf", CSpeaker::ToggleUse), + HOOK_SYMBOLDEF(0x01DBA0D0, "_ZN8CSpeaker12SpeakerThinkEv", CSpeaker::SpeakerThink), + // non-class func + HOOK_SYMBOLDEF(0x01DB7F30, "_Z16FEnvSoundInRangeP9entvars_sS0_Pf", FEnvSoundInRange), + //HOOK_SYMBOLDEF(0x01DB82A0, "_Z18USENTENCEG_InitLRUPhi", USENTENCEG_InitLRU), // NOXREF + HOOK_SYMBOLDEF(0x01DB8310, "_Z25USENTENCEG_PickSequentialiPcii", USENTENCEG_PickSequential), + HOOK_SYMBOLDEF(0x01DB8420, "_Z15USENTENCEG_PickiPc", USENTENCEG_Pick), + //HOOK_SYMBOLDEF(0x01DB85C0, "_Z18SENTENCEG_GetIndexPKc", SENTENCEG_GetIndex), // NOXREF + //HOOK_SYMBOLDEF(0x01DB8640, "_Z18SENTENCEG_PlayRndIP7edict_siffii", SENTENCEG_PlayRndI), // NOXREF + //HOOK_SYMBOLDEF(0x01DB87B0, "_Z19SENTENCEG_PlayRndSzP7edict_sPKcffii", SENTENCEG_PlayRndSz), // NOXREF + HOOK_SYMBOLDEF(0x01DB89A0, "_Z26SENTENCEG_PlaySequentialSzP7edict_sPKcffiiii", SENTENCEG_PlaySequentialSz), + //HOOK_SYMBOLDEF(0x01DB8BA0, "_Z14SENTENCEG_StopP7edict_sii", SENTENCEG_Stop), // NOXREF + HOOK_SYMBOLDEF(0x01DB8D30, "_Z14SENTENCEG_Initv", SENTENCEG_Init), + HOOK_SYMBOLDEF(0x01DB9050, "_Z16SENTENCEG_LookupPKcPc", SENTENCEG_Lookup), + HOOK_SYMBOLDEF(0x01DB9100, "_Z14EMIT_SOUND_DYNP7edict_siPKcffii", EMIT_SOUND_DYN), + HOOK_SYMBOLDEF(0x01DB9210, "_Z15EMIT_SOUND_SUITP7edict_sPKc", EMIT_SOUND_SUIT), + HOOK_SYMBOLDEF(0x01DB9380, "_Z17EMIT_GROUPID_SUITP7edict_si", EMIT_GROUPID_SUIT), + //HOOK_SYMBOLDEF(0x01DB9510, "_Z19EMIT_GROUPNAME_SUITP7edict_sPKc", EMIT_GROUPNAME_SUIT), // NOXREF + HOOK_SYMBOLDEF(0x01DB9720, "_ZL8memfgetsPhiRiPci_constprop_21", memfgets), + HOOK_SYMBOLDEF(0x01DB97C0, "_Z16TEXTURETYPE_Initv", TEXTURETYPE_Init), + HOOK_SYMBOLDEF(0x01DB99A0, "_Z16TEXTURETYPE_FindPc", TEXTURETYPE_Find), + HOOK_SYMBOLDEF(0x01DB99F0, "_Z21TEXTURETYPE_PlaySoundP11TraceResult6VectorS1_i", TEXTURETYPE_PlaySound), + + //linked objects + HOOK_DEF(0x01DB6C30, ambient_generic), + HOOK_DEF(0x01DB7E10, env_sound), + HOOK_DEF(0x01DB9F10, speaker), + +#endif // Sound_Region + +#ifndef Util_Region + +#ifdef _WIN32 + HOOK_DEF(0x01D67920, VARS, entvars_t *(edict_t *)), + HOOK_DEF(0x01D78600, MAKE_STRING_CLASS), +#endif // _WIN32 + + //HOOK_SYMBOLDEF(0x01DC2670, "_Z8U_Randomv", U_Random), // NOXREF + //HOOK_SYMBOLDEF(0x01DC26B0, "_Z7U_Srandj", U_Srand), // NOXREF + HOOK_SYMBOLDEF(0x01DC26D0, "_Z21UTIL_SharedRandomLongjii", UTIL_SharedRandomLong), + HOOK_SYMBOLDEF(0x01DC2740, "_Z22UTIL_SharedRandomFloatjff", UTIL_SharedRandomFloat), + //HOOK_SYMBOLDEF(0x01DC2820, "_Z21UTIL_ParametricRocketP9entvars_s6VectorS1_P7edict_s", UTIL_ParametricRocket), // NOXREF + HOOK_SYMBOLDEF(0x01DC2980, "_Z18UTIL_SetGroupTraceii", UTIL_SetGroupTrace), + HOOK_SYMBOLDEF(0x01DC29B0, "_Z20UTIL_UnsetGroupTracev", UTIL_UnsetGroupTrace), + //HOOK_SYMBOLDEF(0x01DC29D0, "_ZN15UTIL_GroupTraceC2Eii", UTIL_GroupTrace::UTIL_GroupTrace), // NOXREF + //HOOK_SYMBOLDEF(0x01DC2A10, "_ZN15UTIL_GroupTraceD2Ev", UTIL_GroupTrace::~UTIL_GroupTrace), // NOXREF + //HOOK_SYMBOLDEF(0x01DC2A30, "_Z22UTIL_GetNextBestWeaponP11CBasePlayerP15CBasePlayerItem", UTIL_GetNextBestWeapon), // NOXREF + //HOOK_SYMBOLDEF(0x01DC2A50, "_Z13UTIL_AngleModf", UTIL_AngleMod), // NOXREF + //HOOK_SYMBOLDEF(0x01DC2AD0, "_Z14UTIL_AngleDiffff", UTIL_AngleDiff), // NOXREF + HOOK_SYMBOLDEF(0x01DC2B20, "_Z16UTIL_VecToAnglesRK6Vector", UTIL_VecToAngles), + //HOOK_SYMBOLDEF(0x01DC2B50, "_Z17UTIL_MoveToOriginP7edict_sRK6Vectorfi", UTIL_MoveToOrigin), // NOXREF + HOOK_SYMBOLDEF(0x01DC2B90, "_Z18UTIL_EntitiesInBoxPP11CBaseEntityiRK6VectorS4_i", UTIL_EntitiesInBox), + //HOOK_SYMBOLDEF(0x01DC2C90, "_Z21UTIL_MonstersInSpherePP11CBaseEntityiRK6Vectorf", UTIL_MonstersInSphere), // NOXREF + HOOK_SYMBOLDEF(0x01DC2D90, "_Z23UTIL_FindEntityInSphereP11CBaseEntityRK6Vectorf", UTIL_FindEntityInSphere), + HOOK_SYMBOLDEF(0x01DC2DE0, "_Z27UTIL_FindEntityByString_OldP11CBaseEntityPKcS2_", UTIL_FindEntityByString_Old), + HOOK_SYMBOLDEF(0x01DC2E30, "_Z23UTIL_FindEntityByStringP11CBaseEntityPKcS2_", UTIL_FindEntityByString), + HOOK_SYMBOLDEF(0x01DC2FB0, "_Z26UTIL_FindEntityByClassnameP11CBaseEntityPKc", UTIL_FindEntityByClassname), + HOOK_SYMBOLDEF(0x01DC2FD0, "_Z27UTIL_FindEntityByTargetnameP11CBaseEntityPKc", UTIL_FindEntityByTargetname), + //HOOK_SYMBOLDEF(0x01DC2FF0, "_Z22UTIL_FindEntityGenericPKcR6Vectorf", UTIL_FindEntityGeneric), // NOXREF + //HOOK_SYMBOLDEF(0x01DC30A0, "_Z18UTIL_PlayerByIndexi", UTIL_PlayerByIndex), + HOOK_SYMBOLDEF(0x01DC30E0, "_Z16UTIL_MakeVectorsRK6Vector", UTIL_MakeVectors), + HOOK_SYMBOLDEF(0x01DC30F0, "_Z19UTIL_MakeAimVectorsRK6Vector", UTIL_MakeAimVectors), + HOOK_SYMBOLDEF(0x01DC3120, "_Z19UTIL_MakeInvVectorsRK6VectorP12globalvars_t", UTIL_MakeInvVectors), + HOOK_SYMBOLDEF(0x01DC31A0, "_Z21UTIL_EmitAmbientSoundP7edict_sRK6VectorPKcffii", UTIL_EmitAmbientSound), + HOOK_SYMBOLDEF(0x01DC3240, "_Z16UTIL_ScreenShakeRK6Vectorffff", UTIL_ScreenShake), + //HOOK_SYMBOLDEF(0x01DC33F0, "_Z19UTIL_ScreenShakeAllRK6Vectorfff", UTIL_ScreenShakeAll), // NOXREF + //HOOK_SYMBOLDEF(0x01DC3410, "_Z20UTIL_ScreenFadeBuildR10ScreenFadeRK6Vectorffii", UTIL_ScreenFadeBuild), // NOXREF + //HOOK_SYMBOLDEF(0x01DC34A0, "_Z20UTIL_ScreenFadeWriteRK10ScreenFadeP11CBaseEntity", UTIL_ScreenFadeWrite), // NOXREF + HOOK_SYMBOLDEF(0x01DC3540, "_Z18UTIL_ScreenFadeAllRK6Vectorffii", UTIL_ScreenFadeAll), + HOOK_SYMBOLDEF(0x01DC36E0, "_Z15UTIL_ScreenFadeP11CBaseEntityRK6Vectorffii", UTIL_ScreenFade), + HOOK_SYMBOLDEF(0x01DC3810, "_Z15UTIL_HudMessageP11CBaseEntityRK14hudtextparms_sPKc", UTIL_HudMessage), + HOOK_SYMBOLDEF(0x01DC3A80, "_Z18UTIL_HudMessageAllRK14hudtextparms_sPKc", UTIL_HudMessageAll), + HOOK_SYMBOLDEF(0x01DC3AF0, "_Z19UTIL_ClientPrintAlliPKcS0_S0_S0_S0_", UTIL_ClientPrintAll), + HOOK_SYMBOLDEF(0x01DC3B70, "_Z11ClientPrintP9entvars_siPKcS2_S2_S2_S2_", ClientPrint), + //HOOK_SYMBOLDEF(0x01DC3C00, "_Z12UTIL_SayTextPKcP11CBaseEntity", UTIL_SayText), // NOXREF // NOXREF + HOOK_SYMBOLDEF(0x01DC3C60, "_Z15UTIL_SayTextAllPKcP11CBaseEntity", UTIL_SayTextAll), + HOOK_SYMBOLDEF(0x01DC3CB0, "_Z10UTIL_dtos1i", UTIL_dtos1), + HOOK_SYMBOLDEF(0x01DC3CD0, "_Z10UTIL_dtos2i", UTIL_dtos2), + //HOOK_SYMBOLDEF(0x01DC3CF0, "_Z10UTIL_dtos3i", UTIL_dtos3), // NOXREF // NOXREF + //HOOK_SYMBOLDEF(0x01DC3D10, "_Z10UTIL_dtos4i", UTIL_dtos4), // NOXREF + HOOK_SYMBOLDEF(0x01DC3D30, "_Z20UTIL_ShowMessageArgsPKcP11CBaseEntityP10CUtlVectorIPcEb", UTIL_ShowMessageArgs), + HOOK_SYMBOLDEF(0x01DC3E20, "_Z16UTIL_ShowMessagePKcP11CBaseEntityb", UTIL_ShowMessage), + HOOK_SYMBOLDEF(0x01DC3E80, "_Z19UTIL_ShowMessageAllPKcb", UTIL_ShowMessageAll), + HOOK_SYMBOLDEF(0x01DC3F30, "_Z14UTIL_TraceLineRK6VectorS1_15IGNORE_MONSTERS12IGNORE_GLASSP7edict_sP11TraceResult", UTIL_TraceLine, void (const Vector &, const Vector &, IGNORE_MONSTERS, IGNORE_GLASS, edict_t *, TraceResult *)), + HOOK_SYMBOLDEF(0x01DC3F70, "_Z14UTIL_TraceLineRK6VectorS1_15IGNORE_MONSTERSP7edict_sP11TraceResult", UTIL_TraceLine, void (const Vector &, const Vector &, IGNORE_MONSTERS, edict_t *, TraceResult *)), + HOOK_SYMBOLDEF(0x01DC3F90, "_Z14UTIL_TraceHullRK6VectorS1_15IGNORE_MONSTERSiP7edict_sP11TraceResult", UTIL_TraceHull), + HOOK_SYMBOLDEF(0x01DC3FB0, "_Z15UTIL_TraceModelRK6VectorS1_iP7edict_sP11TraceResult", UTIL_TraceModel), + //HOOK_SYMBOLDEF(0x01DC3FC0, "_Z19UTIL_GetGlobalTracev", UTIL_GetGlobalTrace), // NOXREF + HOOK_SYMBOLDEF(0x01DC4090, "_Z12UTIL_SetSizeP9entvars_sRK6VectorS3_", UTIL_SetSize), + HOOK_SYMBOLDEF(0x01DC40B0, "_Z13UTIL_VecToYawRK6Vector", UTIL_VecToYaw), + HOOK_SYMBOLDEF(0x01DC40C0, "_Z14UTIL_SetOriginP9entvars_sRK6Vector", UTIL_SetOrigin), + //HOOK_SYMBOLDEF(0x01DC40E0, "_Z19UTIL_ParticleEffectRK6VectorS1_jj", UTIL_ParticleEffect), // NOXREF + HOOK_SYMBOLDEF(0x01DC4130, "_Z13UTIL_Approachfff", UTIL_Approach), + HOOK_SYMBOLDEF(0x01DC4170, "_Z18UTIL_ApproachAnglefff", UTIL_ApproachAngle), + HOOK_SYMBOLDEF(0x01DC42F0, "_Z18UTIL_AngleDistanceff", UTIL_AngleDistance), + HOOK_SYMBOLDEF(0x01DC4330, "_Z19UTIL_SplineFractionff", UTIL_SplineFraction), + HOOK_SYMBOLDEF(0x01DC4350, "_Z12UTIL_VarArgsPcz", UTIL_VarArgs), + //HOOK_SYMBOLDEF(0x01DC4370, "_Z17UTIL_GetAimVectorP7edict_sf", UTIL_GetAimVector), // NOXREF + HOOK_SYMBOLDEF(0x01DC43B0, "_Z22UTIL_IsMasterTriggeredjP11CBaseEntity", UTIL_IsMasterTriggered), + //HOOK_SYMBOLDEF(0x01DC4430, "_Z20UTIL_ShouldShowBloodi", UTIL_ShouldShowBlood), // NOXREF + HOOK_SYMBOLDEF(0x01DC4490, "_Z18UTIL_PointContentsRK6Vector", UTIL_PointContents), + HOOK_SYMBOLDEF(0x01DC44A0, "_Z16UTIL_BloodStreamRK6VectorS1_ii", UTIL_BloodStream), + HOOK_SYMBOLDEF(0x01DC4590, "_Z15UTIL_BloodDripsRK6VectorS1_ii", UTIL_BloodDrips), + HOOK_SYMBOLDEF(0x01DC46D0, "_Z22UTIL_RandomBloodVectorv", UTIL_RandomBloodVector), + HOOK_SYMBOLDEF(0x01DC4720, "_Z20UTIL_BloodDecalTraceP11TraceResulti", UTIL_BloodDecalTrace), + HOOK_SYMBOLDEF(0x01DC47A0, "_Z15UTIL_DecalTraceP11TraceResulti", UTIL_DecalTrace), + HOOK_SYMBOLDEF(0x01DC48A0, "_Z21UTIL_PlayerDecalTraceP11TraceResultiii", UTIL_PlayerDecalTrace), + //HOOK_SYMBOLDEF(0x01DC4940, "_Z22UTIL_GunshotDecalTraceP11TraceResultibP9entvars_s", UTIL_GunshotDecalTrace), // NOXREF + HOOK_SYMBOLDEF(0x01DC4A40, "_Z11UTIL_SparksRK6Vector", UTIL_Sparks), + HOOK_SYMBOLDEF(0x01DC4A90, "_Z13UTIL_RicochetRK6Vectorf", UTIL_Ricochet), + HOOK_SYMBOLDEF(0x01DC4AF0, "_Z15UTIL_TeamsMatchPKcS0_", UTIL_TeamsMatch), + HOOK_SYMBOLDEF(0x01DC4B30, "_Z19UTIL_StringToVectorPfPKc", UTIL_StringToVector), + HOOK_SYMBOLDEF(0x01DC4BB0, "_Z21UTIL_StringToIntArrayPiiPKc", UTIL_StringToIntArray), + //HOOK_SYMBOLDEF(0x01DC4C40, "_Z21UTIL_ClampVectorToBoxRK6VectorS1_", UTIL_ClampVectorToBox), // NOXREF + //HOOK_SYMBOLDEF(0x01DC4D80, "_Z15UTIL_WaterLevelRK6Vectorff", UTIL_WaterLevel), // NOXREF + HOOK_SYMBOLDEF(0x01DC4E50, "_Z12UTIL_Bubbles6VectorS_i", UTIL_Bubbles), + HOOK_SYMBOLDEF(0x01DC5010, "_Z16UTIL_BubbleTrail6VectorS_i", UTIL_BubbleTrail), + HOOK_SYMBOLDEF(0x01DC5290, "_Z11UTIL_RemoveP11CBaseEntity", UTIL_Remove), + //HOOK_SYMBOLDEF(0x01DC52D0, "_Z18UTIL_IsValidEntityP7edict_s", UTIL_IsValidEntity), // NOXREF + HOOK_SYMBOLDEF(0x01DC5300, "_Z18UTIL_PrecacheOtherPKc", UTIL_PrecacheOther), + HOOK_SYMBOLDEF(0x01DC5380, "_Z14UTIL_LogPrintfPcz", UTIL_LogPrintf), + //HOOK_SYMBOLDEF(0x01DC53B0, "_Z14UTIL_DotPointsRK6VectorS1_S1_", UTIL_DotPoints), // NOXREF + HOOK_SYMBOLDEF(0x01DC5430, "_Z15UTIL_StripTokenPKcPc", UTIL_StripToken), + //HOOK_SYMBOLDEF(0x01DC5470, "_ZN18CSaveRestoreBufferC2Ev", (MethodThunk::Constructor), void()), // NOXREF + //HOOK_SYMBOLDEF(0x01DC5480, "_ZN18CSaveRestoreBufferC2EP13saverestore_s", (MethodThunk::Constructor), void(SAVERESTOREDATA *)), // NOXREF + //HOOK_SYMBOLDEF(0x01DC5490, "_ZN18CSaveRestoreBufferD2Ev", CSaveRestoreBuffer::~CSaveRestoreBuffer), // NOXREF + HOOK_SYMBOLDEF(0x01DC54A0, "_ZN18CSaveRestoreBuffer11EntityIndexEP11CBaseEntity", CSaveRestoreBuffer::EntityIndex, int (CBaseEntity *)), + //HOOK_SYMBOLDEF(0x01DC54F0, "_ZN18CSaveRestoreBuffer11EntityIndexEP7edict_s", CSaveRestoreBuffer::EntityIndex, int (entvars_t *)), // NOXREF + //HOOK_SYMBOLDEF(0x01DC5540, "_ZN18CSaveRestoreBuffer11EntityIndexEi", CSaveRestoreBuffer::EntityIndex, int (EOFFSET)), // NOXREF + HOOK_SYMBOLDEF(0x01DC5590, "_ZN18CSaveRestoreBuffer11EntityIndexEP9entvars_s", CSaveRestoreBuffer::EntityIndex, int (edict_t *)), + //HOOK_SYMBOLDEF(0x01DC55D0, "_ZN18CSaveRestoreBuffer15EntityFromIndexEi", CSaveRestoreBuffer::EntityFromIndex), // NOXREF + HOOK_SYMBOLDEF(0x01DC5610, "_ZN18CSaveRestoreBuffer14EntityFlagsSetEii", CSaveRestoreBuffer::EntityFlagsSet), + //HOOK_SYMBOLDEF(0x01DC5660, "_ZN18CSaveRestoreBuffer12BufferRewindEi", CSaveRestoreBuffer::BufferRewind), // NOXREF + //HOOK_SYMBOLDEF(0x01DC5690, "_ZN18CSaveRestoreBuffer10HashStringEPKc", CSaveRestoreBuffer::HashString), // NOXREF + HOOK_SYMBOLDEF(0x01DC56B0, "_ZN18CSaveRestoreBuffer9TokenHashEPKc", CSaveRestoreBuffer::TokenHash), + //HOOK_SYMBOLDEF(0x01DC57C0, "_ZN5CSave9WriteDataEPKciS1_", CSave::WriteData), // NOXREF + //HOOK_SYMBOLDEF(0x01DC58F0, "_ZN5CSave10WriteShortEPKcPKsi", CSave::WriteShort), // NOXREF + //HOOK_SYMBOLDEF(0x01DC5A30, "_ZN5CSave8WriteIntEPKcPKii", CSave::WriteInt), // NOXREF + //HOOK_SYMBOLDEF(0x01DC5B70, "_ZN5CSave10WriteFloatEPKcPKfi", CSave::WriteFloat), // NOXREF + //HOOK_SYMBOLDEF(0x01DC5CB0, "_ZN5CSave9WriteTimeEPKcPKfi", CSave::WriteTime), // NOXREF + //HOOK_SYMBOLDEF(0x01DC5DF0, "_ZN5CSave11WriteStringEPKcS1_", CSave::WriteString, void(const char *, const char *)), // NOXREF + //HOOK_SYMBOLDEF(0x01DC5F30, "_ZN5CSave11WriteStringEPKcPKii", CSave::WriteString, void(const char *, const int *, int)), // NOXREF + //HOOK_SYMBOLDEF(0x01DC60C0, "_ZN5CSave11WriteVectorEPKcRK6Vector", CSave::WriteVector, void(const char *, const Vector &)), // NOXREF + //HOOK_SYMBOLDEF(0x01DC61E0, "_ZN5CSave11WriteVectorEPKcPKfi", CSave::WriteVector, void(const char *, const float *, int)), // NOXREF + //HOOK_SYMBOLDEF(0x01DC6310, "_ZN5CSave19WritePositionVectorEPKcRK6Vector", CSave::WritePositionVector, void(const char *, const Vector &)), // NOXREF + //HOOK_SYMBOLDEF(0x01DC64F0, "_ZN5CSave19WritePositionVectorEPKcPKfi", CSave::WritePositionVector, void(const char *, const float *, int)), // NOXREF + //HOOK_SYMBOLDEF(0x01DC6670, "_ZN5CSave13WriteFunctionEPKcPPvi", CSave::WriteFunction), // NOXREF + HOOK_SYMBOLDEF(0x01DC67E0, "_Z15EntvarsKeyvalueP9entvars_sP14KeyValueData_s", EntvarsKeyvalue), + HOOK_SYMBOLDEF(0x01DC6990, "_ZN5CSave12WriteEntVarsEPKcP9entvars_s", CSave::WriteEntVars), + HOOK_SYMBOLDEF(0x01DC69B0, "_ZN5CSave11WriteFieldsEPKcPvP15TYPEDESCRIPTIONi", CSave::WriteFields), + //HOOK_SYMBOLDEF(0x01DC6E60, "_ZN5CSave12BufferStringEPci", CSave::BufferString), // NOXREF + //HOOK_SYMBOLDEF(0x01DC6F20, "_ZN5CSave9DataEmptyEPKci", CSave::DataEmpty), // NOXREF + HOOK_SYMBOLDEF(0x01DC6F50, "_ZN5CSave11BufferFieldEPKciS1_", CSave::BufferField), + HOOK_SYMBOLDEF(0x01DC7080, "_ZN5CSave12BufferHeaderEPKci", CSave::BufferHeader), + HOOK_SYMBOLDEF(0x01DC7150, "_ZN5CSave10BufferDataEPKci", CSave::BufferData), + HOOK_SYMBOLDEF(0x01DC71C0, "_ZN8CRestore9ReadFieldEPvP15TYPEDESCRIPTIONiiiPcS0_", CRestore::ReadField), + HOOK_SYMBOLDEF(0x01DC7610, "_ZN8CRestore11ReadEntVarsEPKcP9entvars_s", CRestore::ReadEntVars), + HOOK_SYMBOLDEF(0x01DC7630, "_ZN8CRestore10ReadFieldsEPKcPvP15TYPEDESCRIPTIONi", CRestore::ReadFields), + HOOK_SYMBOLDEF(0x01DC78D0, "_ZN8CRestore10ReadFieldsEPKcPvP15TYPEDESCRIPTIONi", CRestore::Empty), + //HOOK_SYMBOLDEF(0x01DC78F0, "_ZN8CRestore16BufferReadHeaderEP6HEADER", CRestore::BufferReadHeader), // NOXREF + //HOOK_SYMBOLDEF(0x01DC7A20, "_ZN8CRestore9ReadShortEv", CRestore::ReadShort), // NOXREF + //HOOK_SYMBOLDEF(0x01DC7A90, "_ZN8CRestore7ReadIntEv", CRestore::ReadInt), // NOXREF + //HOOK_SYMBOLDEF(0x01DC7AF0, "_ZN8CRestore12ReadNamedIntEPKc", CRestore::ReadNamedInt), // NOXREF + //HOOK_SYMBOLDEF(0x01DC7C10, "_ZN8CRestore15ReadNamedStringEPKc", CRestore::ReadNamedString), // NOXREF + //HOOK_SYMBOLDEF(0x01DC7D30, "_ZN8CRestore13BufferPointerEv", CRestore::BufferPointer), // NOXREF + //HOOK_SYMBOLDEF(0x01DC7D40, "_ZN8CRestore15BufferReadBytesEPci", CRestore::BufferReadBytes), + //HOOK_SYMBOLDEF(0x01DC7DC0, "_ZN8CRestore15BufferSkipBytesEi", CRestore::BufferSkipBytes), // NOXREF + //HOOK_SYMBOLDEF(0x01DC7E20, "_ZN8CRestore17BufferSkipZStringEv", CRestore::BufferSkipZString), // NOXREF + //HOOK_SYMBOLDEF(0x01DC7EA0, "_ZN8CRestore18BufferCheckZStringEPKc", CRestore::BufferCheckZString), // NOXREF + HOOK_SYMBOLDEF(0x01DC7EF0, "_Z15UTIL_TextureHitP11TraceResult6VectorS1_", UTIL_TextureHit), + //HOOK_DEF(0x01DC8000, GetPlayerTeam), // NOXREF + HOOK_SYMBOLDEF(0x01DC8040, "_Z11UTIL_IsGamePKc", UTIL_IsGame), + HOOK_SYMBOLDEF(0x01DC8090, "_Z21UTIL_GetPlayerGaitYawi", UTIL_GetPlayerGaitYaw), + HOOK_SYMBOLDEF(0x01D630B0, "_ZN7EHANDLE3GetEv", EHANDLE::Get), + //HOOK_SYMBOLDEF(0x01D630D0, "_ZN7EHANDLE3SetEP7edict_s", EHANDLE::Set), // NOXREF + //HOOK_SYMBOLDEF(0x01D630F0, "_ZN7EHANDLEcvP11CBaseEntityEv", EHANDLE::operator CBaseEntity*), // don't take the address + //HOOK_SYMBOLDEF(0x01D63110, "_ZN7EHANDLEaSEP11CBaseEntity", EHANDLE::CBaseEntity *operator=), // don't take the address + //HOOK_SYMBOLDEF(0x01D63140, "_ZN7EHANDLEcviEv", EHANDLE::operator int), // don't take the address + //HOOK_SYMBOLDEF(0x01D63170, "_ZN7EHANDLEptEv", EHANDLE::CBaseEntity *operator->), // don't take the address + +#endif // Util_Region + +#ifndef WeaponType_Region + + HOOK_SYMBOLDEF(0x01D01000, "_Z15AliasToWeaponIDPKc", AliasToWeaponID), + HOOK_SYMBOLDEF(0x01D01050, "_Z18BuyAliasToWeaponIDPKcR12WeaponIdType", BuyAliasToWeaponID), + HOOK_SYMBOLDEF(0x01D010C0, "_Z15WeaponIDToAliasi", WeaponIDToAlias), + HOOK_SYMBOLDEF(0x01D010F0, "_Z18AliasToWeaponClassPKc", AliasToWeaponClass), + HOOK_SYMBOLDEF(0x01D01140, "_Z21WeaponIDToWeaponClassi", WeaponIDToWeaponClass), + HOOK_SYMBOLDEF(0x01D011C0, "_Z15IsPrimaryWeaponi", IsPrimaryWeapon), + //HOOK_SYMBOLDEF(0x01D01250, "_Z17IsSecondaryWeaponi", IsSecondaryWeapon), // NOXREF + HOOK_SYMBOLDEF(0x01D012A0, "_Z13GetWeaponInfoi", GetWeaponInfo, WeaponInfoStruct *(int)), + HOOK_SYMBOLDEF(0x01D012E0, "_Z21CanBuyWeaponByMaptypei12WeaponIdTypeb", CanBuyWeaponByMaptype), + +#endif // WeaponType_Region + +#ifndef GameRules_Region + + HOOK_SYMBOLDEF(0x01D80C90, "_Z16InstallGameRulesv", InstallGameRules), // HOOK: FIX ME + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D80C00, CHalfLifeMultiplay, "_ZN10CGameRules16RefreshSkillDataEv", CGameRules::RefreshSkillData), + //HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D8EBB0, CHalfLifeMultiplay, "_ZN10CGameRules10IsTeamplayEv", CGameRules::IsTeamplay), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D8EBC0, CHalfLifeMultiplay, "_ZN10CGameRules18GetGameDescriptionEv", CGameRules::GetGameDescription), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D8EBD0, CHalfLifeMultiplay, "_ZN10CGameRules14UpdateGameModeEP11CBasePlayer", CGameRules::UpdateGameMode), // PURE + //HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D8EBE0, CHalfLifeMultiplay, "_ZN10CGameRules20FPlayerCanTakeDamageEP11CBasePlayerP11CBaseEntity", CGameRules::FPlayerCanTakeDamage), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D8EBF0, CHalfLifeMultiplay, "_ZN10CGameRules13ShouldAutoAimEP11CBasePlayerP7edict_s", CGameRules::ShouldAutoAim), // DEFAULT + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D80A60, CHalfLifeMultiplay, "_ZN10CGameRules18GetPlayerSpawnSpotEP11CBasePlayer", CGameRules::GetPlayerSpawnSpot), + //HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D8EC00, CHalfLifeMultiplay, "_ZN10CGameRules24AllowAutoTargetCrosshairEv", CGameRules::AllowAutoTargetCrosshair), // DEFAULT + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D8EC10, CHalfLifeMultiplay, "_ZN10CGameRules25ClientCommand_DeadOrAliveEP11CBasePlayerPKc", CGameRules::ClientCommand_DeadOrAlive), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D8EC60, CHalfLifeMultiplay, "_ZN10CGameRules13ClientCommandEP11CBasePlayerPKc", CGameRules::ClientCommand), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D8EC70, CHalfLifeMultiplay, "_ZN10CGameRules21ClientUserInfoChangedEP11CBasePlayerPc", CGameRules::ClientUserInfoChanged), // PURE + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D80B60, CHalfLifeMultiplay, "_ZN10CGameRules17CanHavePlayerItemEP11CBasePlayerP15CBasePlayerItem", CGameRules::CanHavePlayerItem), + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D80A20, CHalfLifeMultiplay, "_ZN10CGameRules11CanHaveAmmoEP11CBasePlayerPKci", CGameRules::CanHaveAmmo), + //HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D8EC80, CHalfLifeMultiplay, "_ZN10CGameRules24FlHEVChargerRechargeTimeEv", CGameRules::FlHEVChargerRechargeTime), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D8EC90, CHalfLifeMultiplay, "_ZN10CGameRules12GetTeamIndexEPKc", CGameRules::GetTeamIndex), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D8ED40, CHalfLifeMultiplay, "_ZN10CGameRules18GetIndexedTeamNameEi", CGameRules::GetIndexedTeamName), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D8ED50, CHalfLifeMultiplay, "_ZN10CGameRules11IsValidTeamEPKc", CGameRules::IsValidTeam), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D8ED60, CHalfLifeMultiplay, "_ZN10CGameRules16ChangePlayerTeamEP11CBasePlayerPKcii", CGameRules::ChangePlayerTeam), // PURE + //HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D8ED70, CHalfLifeMultiplay, "_ZN10CGameRules20SetDefaultPlayerTeamEP11CBasePlayer", CGameRules::SetDefaultPlayerTeam), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D8ED80, CHalfLifeMultiplay, "_ZN10CGameRules17PlayTextureSoundsEv", CGameRules::PlayTextureSounds), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D8ED90, CHalfLifeMultiplay, "_ZN10CGameRules18EndMultiplayerGameEv", CGameRules::EndMultiplayerGame), // PURE + //HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D8EDA0, CHalfLifeMultiplay, "_ZN10CGameRules14IsFreezePeriodEv", CGameRules::IsFreezePeriod), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D8EDB0, CHalfLifeMultiplay, "_ZN10CGameRules16ServerDeactivateEv", CGameRules::ServerDeactivate), // PURE + //HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D8EDC0, CHalfLifeMultiplay, "_ZN10CGameRules18CheckMapConditionsEv", CGameRules::CheckMapConditions), // PURE + +#endif // GameRules_Region + +#ifndef Singleplay_GameRules_Region + + //HOOK_DEF(0x01DB6730, MethodThunk::Constructor), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6750, "_ZN14CHalfLifeRules5ThinkEv", CHalfLifeRules::Think), // PURE + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6AF0, "_ZN14CHalfLifeRules16IsAllowedToSpawnEP11CBaseEntity", CHalfLifeRules::IsAllowedToSpawn), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6BB0, "_ZN14CHalfLifeRules16FAllowFlashlightEv", CHalfLifeRules::FAllowFlashlight), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6790, "_ZN14CHalfLifeRules19FShouldSwitchWeaponEP11CBasePlayerP15CBasePlayerItem", CHalfLifeRules::FShouldSwitchWeapon), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB67C0, "_ZN14CHalfLifeRules17GetNextBestWeaponEP11CBasePlayerP15CBasePlayerItem", CHalfLifeRules::GetNextBestWeapon), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6760, "_ZN14CHalfLifeRules13IsMultiplayerEv", CHalfLifeRules::IsMultiplayer), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6770, "_ZN14CHalfLifeRules12IsDeathmatchEv", CHalfLifeRules::IsDeathmatch), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6780, "_ZN14CHalfLifeRules6IsCoOpEv", CHalfLifeRules::IsCoOp), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB67D0, "_ZN14CHalfLifeRules15ClientConnectedEP7edict_sPKcS3_Pc", CHalfLifeRules::ClientConnected), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB67E0, "_ZN14CHalfLifeRules7InitHUDEP11CBasePlayer", CHalfLifeRules::InitHUD), // PURE + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB67F0, "_ZN14CHalfLifeRules18ClientDisconnectedEP7edict_s", CHalfLifeRules::ClientDisconnected), // PURE + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6800, "_ZN14CHalfLifeRules18FlPlayerFallDamageEP11CBasePlayer", CHalfLifeRules::FlPlayerFallDamage), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6820, "_ZN14CHalfLifeRules11PlayerSpawnEP11CBasePlayer", CHalfLifeRules::PlayerSpawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB68A0, "_ZN14CHalfLifeRules11PlayerThinkEP11CBasePlayer", CHalfLifeRules::PlayerThink), // PURE + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB68B0, "_ZN14CHalfLifeRules17FPlayerCanRespawnEP11CBasePlayer", CHalfLifeRules::FPlayerCanRespawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB68C0, "_ZN14CHalfLifeRules17FlPlayerSpawnTimeEP11CBasePlayer", CHalfLifeRules::FlPlayerSpawnTime), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6960, "_ZN14CHalfLifeRules18GetPlayerSpawnSpotEP11CBasePlayer", CHalfLifeRules::GetPlayerSpawnSpot), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6890, "_ZN14CHalfLifeRules24AllowAutoTargetCrosshairEv", CHalfLifeRules::AllowAutoTargetCrosshair), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB68D0, "_ZN14CHalfLifeRules14IPointsForKillEP11CBasePlayerS1_", CHalfLifeRules::IPointsForKill), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB68E0, "_ZN14CHalfLifeRules12PlayerKilledEP11CBasePlayerP9entvars_sS3_", CHalfLifeRules::PlayerKilled), // PURE + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB68F0, "_ZN14CHalfLifeRules11DeathNoticeEP11CBasePlayerP9entvars_sS3_", CHalfLifeRules::DeathNotice), // PURE + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6900, "_ZN14CHalfLifeRules15PlayerGotWeaponEP11CBasePlayerP15CBasePlayerItem", CHalfLifeRules::PlayerGotWeapon), // PURE + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6A70, "_ZN14CHalfLifeRules19WeaponShouldRespawnEP15CBasePlayerItem", CHalfLifeRules::WeaponShouldRespawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6910, "_ZN14CHalfLifeRules19FlWeaponRespawnTimeEP15CBasePlayerItem", CHalfLifeRules::FlWeaponRespawnTime), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6920, "_ZN14CHalfLifeRules18FlWeaponTryRespawnEP15CBasePlayerItem", CHalfLifeRules::FlWeaponTryRespawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6930, "_ZN14CHalfLifeRules20VecWeaponRespawnSpotEP15CBasePlayerItem", CHalfLifeRules::VecWeaponRespawnSpot), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6A80, "_ZN14CHalfLifeRules11CanHaveItemEP11CBasePlayerP5CItem", CHalfLifeRules::CanHaveItem), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6A90, "_ZN14CHalfLifeRules13PlayerGotItemEP11CBasePlayerP5CItem", CHalfLifeRules::PlayerGotItem), // PURE + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6AA0, "_ZN14CHalfLifeRules17ItemShouldRespawnEP5CItem", CHalfLifeRules::ItemShouldRespawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6AB0, "_ZN14CHalfLifeRules17FlItemRespawnTimeEP5CItem", CHalfLifeRules::FlItemRespawnTime), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6AC0, "_ZN14CHalfLifeRules18VecItemRespawnSpotEP5CItem", CHalfLifeRules::VecItemRespawnSpot), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6B00, "_ZN14CHalfLifeRules13PlayerGotAmmoEP11CBasePlayerPci", CHalfLifeRules::PlayerGotAmmo), // PURE + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6B10, "_ZN14CHalfLifeRules17AmmoShouldRespawnEP15CBasePlayerAmmo", CHalfLifeRules::AmmoShouldRespawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6B20, "_ZN14CHalfLifeRules17FlAmmoRespawnTimeEP15CBasePlayerAmmo", CHalfLifeRules::FlAmmoRespawnTime), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6B30, "_ZN14CHalfLifeRules18VecAmmoRespawnSpotEP15CBasePlayerAmmo", CHalfLifeRules::VecAmmoRespawnSpot), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6B60, "_ZN14CHalfLifeRules27FlHealthChargerRechargeTimeEv", CHalfLifeRules::FlHealthChargerRechargeTime), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6B70, "_ZN14CHalfLifeRules17DeadPlayerWeaponsEP11CBasePlayer", CHalfLifeRules::DeadPlayerWeapons), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6B80, "_ZN14CHalfLifeRules14DeadPlayerAmmoEP11CBasePlayer", CHalfLifeRules::DeadPlayerAmmo), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6BC0, "_ZN14CHalfLifeRules9GetTeamIDEP11CBaseEntity", CHalfLifeRules::GetTeamID), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6B90, "_ZN14CHalfLifeRules18PlayerRelationshipEP11CBasePlayerP11CBaseEntity", CHalfLifeRules::PlayerRelationship), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DB6BA0, "_ZN14CHalfLifeRules14FAllowMonstersEv", CHalfLifeRules::FAllowMonsters), + +#endif // Singleplay_GameRules_Region + +#ifndef Multiplay_GameRules_Region + +//CHalfLifeMultiplay + // virtual func + //HOOK_SYMBOLDEF(0x01D8B8A0, "_ZN18CHalfLifeMultiplayC2Ev", CHalfLifeMultiplay::CHalfLifeMultiplay), // constuctor + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8BF00, "_ZN18CHalfLifeMultiplay16RefreshSkillDataEv", CHalfLifeMultiplay::RefreshSkillData), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8F420, "_ZN18CHalfLifeMultiplay5ThinkEv", CHalfLifeMultiplay::Think), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D921D0, "_ZN18CHalfLifeMultiplay16IsAllowedToSpawnEP11CBaseEntity", CHalfLifeMultiplay::IsAllowedToSpawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D92410, "_ZN18CHalfLifeMultiplay16FAllowFlashlightEv", CHalfLifeMultiplay::FAllowFlashlight), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D909E0, "_ZN18CHalfLifeMultiplay19FShouldSwitchWeaponEP11CBasePlayerP15CBasePlayerItem", CHalfLifeMultiplay::FShouldSwitchWeapon), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D90A70, "_ZN18CHalfLifeMultiplay17GetNextBestWeaponEP11CBasePlayerP15CBasePlayerItem", CHalfLifeMultiplay::GetNextBestWeapon), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D909B0, "_ZN18CHalfLifeMultiplay13IsMultiplayerEv", CHalfLifeMultiplay::IsMultiplayer), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D909C0, "_ZN18CHalfLifeMultiplay12IsDeathmatchEv", CHalfLifeMultiplay::IsDeathmatch), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D909D0, "_ZN18CHalfLifeMultiplay6IsCoOpEv", CHalfLifeMultiplay::IsCoOp), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D90B60, "_ZN18CHalfLifeMultiplay15ClientConnectedEP7edict_sPKcS3_Pc", CHalfLifeMultiplay::ClientConnected), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D90BC0, "_ZN18CHalfLifeMultiplay7InitHUDEP11CBasePlayer", CHalfLifeMultiplay::InitHUD), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D910E0, "_ZN18CHalfLifeMultiplay18ClientDisconnectedEP7edict_s", CHalfLifeMultiplay::ClientDisconnected), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D90B80, "_ZN18CHalfLifeMultiplay14UpdateGameModeEP11CBasePlayer", CHalfLifeMultiplay::UpdateGameMode), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D91360, "_ZN18CHalfLifeMultiplay18FlPlayerFallDamageEP11CBasePlayer", CHalfLifeMultiplay::FlPlayerFallDamage), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D91390, "_ZN18CHalfLifeMultiplay20FPlayerCanTakeDamageEP11CBasePlayerP11CBaseEntity", CHalfLifeMultiplay::FPlayerCanTakeDamage), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D91560, "_ZN18CHalfLifeMultiplay11PlayerSpawnEP11CBasePlayer", CHalfLifeMultiplay::PlayerSpawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D913E0, "_ZN18CHalfLifeMultiplay11PlayerThinkEP11CBasePlayer", CHalfLifeMultiplay::PlayerThink), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D915F0, "_ZN18CHalfLifeMultiplay17FPlayerCanRespawnEP11CBasePlayer", CHalfLifeMultiplay::FPlayerCanRespawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D916C0, "_ZN18CHalfLifeMultiplay17FlPlayerSpawnTimeEP11CBasePlayer", CHalfLifeMultiplay::FlPlayerSpawnTime), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D92280, "_ZN18CHalfLifeMultiplay18GetPlayerSpawnSpotEP11CBasePlayer", CHalfLifeMultiplay::GetPlayerSpawnSpot), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D916D0, "_ZN18CHalfLifeMultiplay24AllowAutoTargetCrosshairEv", CHalfLifeMultiplay::AllowAutoTargetCrosshair), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D90B30, "_ZN18CHalfLifeMultiplay25ClientCommand_DeadOrAliveEP11CBasePlayerPKc", CHalfLifeMultiplay::ClientCommand_DeadOrAlive), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D90B50, "_ZN18CHalfLifeMultiplay13ClientCommandEP11CBasePlayerPKc", CHalfLifeMultiplay::ClientCommand), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D93660, "_ZN18CHalfLifeMultiplay21ClientUserInfoChangedEP11CBasePlayerPc", CHalfLifeMultiplay::ClientUserInfoChanged), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D916E0, "_ZN18CHalfLifeMultiplay14IPointsForKillEP11CBasePlayerS1_", CHalfLifeMultiplay::IPointsForKill), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D916F0, "_ZN18CHalfLifeMultiplay12PlayerKilledEP11CBasePlayerP9entvars_sS3_", CHalfLifeMultiplay::PlayerKilled), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D91BE0, "_ZN18CHalfLifeMultiplay11DeathNoticeEP11CBasePlayerP9entvars_sS3_", CHalfLifeMultiplay::DeathNotice), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D92130, "_ZN18CHalfLifeMultiplay17CanHavePlayerItemEP11CBasePlayerP15CBasePlayerItem", CHalfLifeMultiplay::CanHavePlayerItem), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D92060, "_ZN18CHalfLifeMultiplay15PlayerGotWeaponEP11CBasePlayerP15CBasePlayerItem", CHalfLifeMultiplay::PlayerGotWeapon), // PURE + HOOK_SYMBOL_VIRTUAL_DEF(0x01D92110, "_ZN18CHalfLifeMultiplay19WeaponShouldRespawnEP15CBasePlayerItem", CHalfLifeMultiplay::WeaponShouldRespawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D92070, "_ZN18CHalfLifeMultiplay19FlWeaponRespawnTimeEP15CBasePlayerItem", CHalfLifeMultiplay::FlWeaponRespawnTime), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D92080, "_ZN18CHalfLifeMultiplay18FlWeaponTryRespawnEP15CBasePlayerItem", CHalfLifeMultiplay::FlWeaponTryRespawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D920E0, "_ZN18CHalfLifeMultiplay20VecWeaponRespawnSpotEP15CBasePlayerItem", CHalfLifeMultiplay::VecWeaponRespawnSpot), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D92140, "_ZN18CHalfLifeMultiplay11CanHaveItemEP11CBasePlayerP5CItem", CHalfLifeMultiplay::CanHaveItem), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D92150, "_ZN18CHalfLifeMultiplay13PlayerGotItemEP11CBasePlayerP5CItem", CHalfLifeMultiplay::PlayerGotItem), // PURE + HOOK_SYMBOL_VIRTUAL_DEF(0x01D92160, "_ZN18CHalfLifeMultiplay17ItemShouldRespawnEP5CItem", CHalfLifeMultiplay::ItemShouldRespawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D92180, "_ZN18CHalfLifeMultiplay17FlItemRespawnTimeEP5CItem", CHalfLifeMultiplay::FlItemRespawnTime), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D92190, "_ZN18CHalfLifeMultiplay18VecItemRespawnSpotEP5CItem", CHalfLifeMultiplay::VecItemRespawnSpot), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D921C0, "_ZN18CHalfLifeMultiplay13PlayerGotAmmoEP11CBasePlayerPci", CHalfLifeMultiplay::PlayerGotAmmo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D921E0, "_ZN18CHalfLifeMultiplay17AmmoShouldRespawnEP15CBasePlayerAmmo", CHalfLifeMultiplay::AmmoShouldRespawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D92200, "_ZN18CHalfLifeMultiplay17FlAmmoRespawnTimeEP15CBasePlayerAmmo", CHalfLifeMultiplay::FlAmmoRespawnTime), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D92210, "_ZN18CHalfLifeMultiplay18VecAmmoRespawnSpotEP15CBasePlayerAmmo", CHalfLifeMultiplay::VecAmmoRespawnSpot), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D92240, "_ZN18CHalfLifeMultiplay27FlHealthChargerRechargeTimeEv", CHalfLifeMultiplay::FlHealthChargerRechargeTime), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D92250, "_ZN18CHalfLifeMultiplay24FlHEVChargerRechargeTimeEv", CHalfLifeMultiplay::FlHEVChargerRechargeTime), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D92260, "_ZN18CHalfLifeMultiplay17DeadPlayerWeaponsEP11CBasePlayer", CHalfLifeMultiplay::DeadPlayerWeapons), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D92270, "_ZN18CHalfLifeMultiplay14DeadPlayerAmmoEP11CBasePlayer", CHalfLifeMultiplay::DeadPlayerAmmo), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D8EDD0, "_ZN18CHalfLifeMultiplay9GetTeamIDEP11CBaseEntity", CHalfLifeMultiplay::GetTeamID), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D922D0, "_ZN18CHalfLifeMultiplay18PlayerRelationshipEP11CBasePlayerP11CBaseEntity", CHalfLifeMultiplay::PlayerRelationship), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D8EDE0, "_ZN18CHalfLifeMultiplay17PlayTextureSoundsEv", CHalfLifeMultiplay::PlayTextureSounds), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D92450, "_ZN18CHalfLifeMultiplay14FAllowMonstersEv", CHalfLifeMultiplay::FAllowMonsters), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D8EE20, "_ZN18CHalfLifeMultiplay18EndMultiplayerGameEv", CHalfLifeMultiplay::EndMultiplayerGame), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8B4B0, "_ZN18CHalfLifeMultiplay16ServerDeactivateEv", CHalfLifeMultiplay::ServerDeactivate), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8DFD0, "_ZN18CHalfLifeMultiplay18CheckMapConditionsEv", CHalfLifeMultiplay::CheckMapConditions), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8C050, "_ZN18CHalfLifeMultiplay10CleanUpMapEv", CHalfLifeMultiplay::CleanUpMap), + // HOOK_SYMBOL_VIRTUAL_DEF(0x01D8E0A0, "_ZN18CHalfLifeMultiplay12RestartRoundEv", CHalfLifeMultiplay::RestartRound), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8CAF0, "_ZN18CHalfLifeMultiplay18CheckWinConditionsEv", CHalfLifeMultiplay::CheckWinConditions), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8BF60, "_ZN18CHalfLifeMultiplay10RemoveGunsEv", CHalfLifeMultiplay::RemoveGuns), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8C340, "_ZN18CHalfLifeMultiplay6GiveC4Ev", CHalfLifeMultiplay::GiveC4), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D93270, "_ZN18CHalfLifeMultiplay11ChangeLevelEv", CHalfLifeMultiplay::ChangeLevel), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D92480, "_ZN18CHalfLifeMultiplay16GoToIntermissionEv", CHalfLifeMultiplay::GoToIntermission), + // non-virtual func + HOOK_SYMBOLDEF(0x01D8B4A0, "_ZN18CHalfLifeMultiplay8IsCareerEv", CHalfLifeMultiplay::IsCareer), + HOOK_SYMBOLDEF(0x01D8C800, "_ZN18CHalfLifeMultiplay23QueueCareerRoundEndMenuEfi", CHalfLifeMultiplay::QueueCareerRoundEndMenu), + //HOOK_SYMBOLDEF(0x01D8B470, "_ZN18CHalfLifeMultiplay19SetCareerMatchLimitEii", CHalfLifeMultiplay::SetCareerMatchLimit), // NOXREF + //HOOK_SYMBOLDEF(0x01D8B310, "_ZN18CHalfLifeMultiplay15IsInCareerRoundEv", CHalfLifeMultiplay::IsInCareerRound), // NOXREF + //HOOK_SYMBOLDEF(0x01D908F0, "_ZN18CHalfLifeMultiplay13CareerRestartEv", CHalfLifeMultiplay::CareerRestart), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN18CHalfLifeMultiplay16PlayerJoinedTeamEP11CBasePlayer", CHalfLifeMultiplay::PlayerJoinedTeam), // NOXREF + HOOK_SYMBOLDEF(0x01D8EC20, "_ZN18CHalfLifeMultiplay8TeamFullEi", CHalfLifeMultiplay::TeamFull), + HOOK_SYMBOLDEF(0x01D8ECA0, "_ZN18CHalfLifeMultiplay11TeamStackedEii", CHalfLifeMultiplay::TeamStacked), + HOOK_SYMBOLDEF(0x01D8EE30, "_ZN18CHalfLifeMultiplay15IsVIPQueueEmptyEv", CHalfLifeMultiplay::IsVIPQueueEmpty), + HOOK_SYMBOLDEF(0x01D8EEA0, "_ZN18CHalfLifeMultiplay13AddToVIPQueueEP11CBasePlayer", CHalfLifeMultiplay::AddToVIPQueue), + HOOK_SYMBOLDEF(0x01D8F0D0, "_ZN18CHalfLifeMultiplay11PickNextVIPEv", CHalfLifeMultiplay::PickNextVIP), + //HOOK_SYMBOLDEF(0x01D90790, "_ZN18CHalfLifeMultiplay19HasRoundTimeExpiredEv", CHalfLifeMultiplay::HasRoundTimeExpired), // NOXREF + //HOOK_SYMBOLDEF(0x01D90820, "_ZN18CHalfLifeMultiplay13IsBombPlantedEv", CHalfLifeMultiplay::IsBombPlanted), // NOXREF + //HOOK_SYMBOLDEF(0x01D90860, "_ZN18CHalfLifeMultiplay51MarkLivingPlayersOnTeamAsNotReceivingMoneyNextRoundEi", CHalfLifeMultiplay::MarkLivingPlayersOnTeamAsNotReceivingMoneyNextRound), // NOXREF + HOOK_SYMBOLDEF(0x01D8EDF0, "_ZN18CHalfLifeMultiplay13StackVIPQueueEv", CHalfLifeMultiplay::StackVIPQueue), + HOOK_SYMBOLDEF(0x01D8EFA0, "_ZN18CHalfLifeMultiplay15ResetCurrentVIPEv", CHalfLifeMultiplay::ResetCurrentVIP), + HOOK_SYMBOLDEF(0x01D8DDB0, "_ZN18CHalfLifeMultiplay12BalanceTeamsEv", CHalfLifeMultiplay::BalanceTeams), + //HOOK_SYMBOLDEF(0x01D8DC40, "_ZN18CHalfLifeMultiplay14SwapAllPlayersEv", CHalfLifeMultiplay::SwapAllPlayers), // NOXREF + //HOOK_SYMBOLDEF(0x01D8BFE0, "_ZN18CHalfLifeMultiplay16UpdateTeamScoresEv", CHalfLifeMultiplay::UpdateTeamScores), // NOXREF + HOOK_SYMBOLDEF(0x01D92DB0, "_ZN18CHalfLifeMultiplay11DisplayMapsEP11CBasePlayeri", CHalfLifeMultiplay::DisplayMaps), + //HOOK_SYMBOLDEF(0x01D92BF0, "_ZN18CHalfLifeMultiplay16ResetAllMapVotesEv", CHalfLifeMultiplay::ResetAllMapVotes), // NOXREF + HOOK_SYMBOLDEF(0x01D93080, "_ZN18CHalfLifeMultiplay14ProcessMapVoteEP11CBasePlayeri", CHalfLifeMultiplay::ProcessMapVote), + HOOK_SYMBOLDEF(0x01D8EAC0, "_ZN18CHalfLifeMultiplay14IsThereABomberEv", CHalfLifeMultiplay::IsThereABomber), + HOOK_SYMBOLDEF(0x01D8EB50, "_ZN18CHalfLifeMultiplay12IsThereABombEv", CHalfLifeMultiplay::IsThereABomb), + //HOOK_SYMBOLDEF(0x0, "_ZN18CHalfLifeMultiplay14IsMatchStartedEv", CHalfLifeMultiplay::IsMatchStarted), // NOXREF + HOOK_SYMBOLDEF(0x01D93530, "_ZN18CHalfLifeMultiplay16SendMOTDToClientEP7edict_s", CHalfLifeMultiplay::SendMOTDToClient), + // non-class func + //HOOK_DEF(0x0, IsBotSpeaking), // NOXREF + HOOK_SYMBOLDEF(0x01D8B010, "_Z13SV_Continue_fv", SV_Continue_f), + HOOK_SYMBOLDEF(0x01D8B0C0, "_Z17SV_Tutor_Toggle_fv", SV_Tutor_Toggle_f), + HOOK_SYMBOLDEF(0x01D8B110, "_Z19SV_Career_Restart_fv", SV_Career_Restart_f), + HOOK_SYMBOLDEF(0x01D8B1F0, "_Z20SV_Career_EndRound_fv", SV_Career_EndRound_f), + HOOK_SYMBOLDEF(0x01D8B350, "_Z18SV_CareerAddTask_fv", SV_CareerAddTask_f), + HOOK_SYMBOLDEF(0x01D8B400, "_Z21SV_CareerMatchLimit_fv", SV_CareerMatchLimit_f), + HOOK_SYMBOLDEF(0x01D8B6E0, "_Z9BroadcastPKc", Broadcast), + HOOK_SYMBOLDEF(0x01D8B780, "_Z7GetTeami", GetTeam), + //HOOK_SYMBOLDEF(0x01D8B7B0, "_Z15EndRoundMessagePKci", EndRoundMessage), + //HOOK_SYMBOLDEF(0x01D8BD80, "_ZL18ReadMultiplayCvarsP18CHalfLifeMultiplay", ReadMultiplayCvars), + //HOOK_SYMBOLDEF(0x01D92670, "_Z15DestroyMapCycleP10mapcycle_s", DestroyMapCycle), // NOXREF + HOOK_SYMBOLDEF(0x01D926B0, "_Z15MP_COM_GetTokenv", MP_COM_GetToken), + HOOK_SYMBOLDEF(0x01D926C0, "_Z12MP_COM_ParsePc", MP_COM_Parse), + //HOOK_SYMBOLDEF(0x01D927A0, "_Z19MP_COM_TokenWaitingPc", MP_COM_TokenWaiting), // NOXREF + HOOK_SYMBOLDEF(0x01D927F0, "_Z18ReloadMapCycleFilePcP10mapcycle_s", ReloadMapCycleFile), + //HOOK_SYMBOLDEF(0x01D92AB0, "_Z12CountPlayersv", CountPlayers), // NOXREF + HOOK_SYMBOLDEF(0x01D92AF0, "_Z20ExtractCommandStringPcS_", ExtractCommandString), + HOOK_SYMBOLDEF(0x01D92D10, "_Z11GetMapCountv", GetMapCount), +//CCStrikeGameMgrHelper + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8B630, "_ZN21CCStrikeGameMgrHelper19CanPlayerHearPlayerEP11CBasePlayerS1_", CCStrikeGameMgrHelper::CanPlayerHearPlayer), +//CMapInfo + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8B5E0, "_ZN21CCStrikeGameMgrHelper19CanPlayerHearPlayerEP11CBasePlayerS1_", CMapInfo::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D8B540, "_ZN21CCStrikeGameMgrHelper19CanPlayerHearPlayerEP11CBasePlayerS1_", CMapInfo::KeyValue), +// linked objects + HOOK_DEF(0x01D8B4F0, info_map_parameters), + +#endif // Multiplay_GameRules_Region + +#ifndef Training_Gamerules_Region + +//CHalfLifeTraining + // virtual func + //HOOK_SYMBOLDEF(0x01DBBE50, "_ZN17CHalfLifeTrainingC2Ev", CHalfLifeTraining::CHalfLifeTraining) + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DBBE70, "_ZN17CHalfLifeTraining13IsMultiplayerEv", CHalfLifeTraining::IsMultiplayer), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBBE90, "_ZN17CHalfLifeTraining12IsDeathmatchEv", CHalfLifeTraining::IsDeathmatch), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBBEA0, "_ZN17CHalfLifeTraining7InitHUDEP11CBasePlayer", CHalfLifeTraining::InitHUD), // PURE + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBC3E0, "_ZN17CHalfLifeTraining11PlayerSpawnEP11CBasePlayer", CHalfLifeTraining::PlayerSpawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBC010, "_ZN17CHalfLifeTraining11PlayerThinkEP11CBasePlayer", CHalfLifeTraining::PlayerThink), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBC4C0, "_ZN17CHalfLifeTraining17FPlayerCanRespawnEP11CBasePlayer", CHalfLifeTraining::FPlayerCanRespawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBBEE0, "_ZN17CHalfLifeTraining18GetPlayerSpawnSpotEP11CBasePlayer", CHalfLifeTraining::GetPlayerSpawnSpot), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBC4E0, "_ZN17CHalfLifeTraining12PlayerKilledEP11CBasePlayerP9entvars_sS3_", CHalfLifeTraining::PlayerKilled), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBC4B0, "_ZN17CHalfLifeTraining17ItemShouldRespawnEP5CItem", CHalfLifeTraining::ItemShouldRespawn), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DBBE80, "_ZN17CHalfLifeTraining18CheckMapConditionsEv", CHalfLifeTraining::CheckMapConditions), // PURE + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBC510, "_ZN17CHalfLifeTraining18CheckWinConditionsEv", CHalfLifeTraining::CheckWinConditions), + // non-virtual func + HOOK_SYMBOLDEF(0x01DBBEB0, "_ZN17CHalfLifeTraining11HostageDiedEv", CHalfLifeTraining::HostageDied), + HOOK_SYMBOLDEF(0x01DBC4D0, "_ZN17CHalfLifeTraining12PlayerCanBuyEP11CBasePlayer", CHalfLifeTraining::PlayerCanBuy), +//CBaseGrenCatch + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBC8B0, "_ZN14CBaseGrenCatch5SpawnEv", CBaseGrenCatch::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBCC00, "_ZN14CBaseGrenCatch8KeyValueEP14KeyValueData_s", CBaseGrenCatch::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBC7F0, "_ZN14CBaseGrenCatch4SaveER5CSave", CBaseGrenCatch::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBC820, "_ZN14CBaseGrenCatch7RestoreER8CRestore", CBaseGrenCatch::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DBC8A0, "_ZN14CBaseGrenCatch10ObjectCapsEv", CBaseGrenCatch::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBC970, "_ZN14CBaseGrenCatch5ThinkEv", CBaseGrenCatch::Think), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBC930, "_ZN14CBaseGrenCatch5TouchEP11CBaseEntity", CBaseGrenCatch::Touch), +//CFuncWeaponCheck + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBCCE0, "_ZN16CFuncWeaponCheck5SpawnEv", CFuncWeaponCheck::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBCF70, "_ZN16CFuncWeaponCheck8KeyValueEP14KeyValueData_s", CFuncWeaponCheck::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBCD50, "_ZN16CFuncWeaponCheck4SaveER5CSave", CFuncWeaponCheck::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBCD80, "_ZN16CFuncWeaponCheck7RestoreER8CRestore", CFuncWeaponCheck::Restore), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DBCE00, "_ZN16CFuncWeaponCheck5TouchEP11CBaseEntity", CFuncWeaponCheck::Touch), +// linked objects + HOOK_DEF(0x01DBC850, func_grencatch), + HOOK_DEF(0x01DBCDB0, func_weaponcheck), + +#endif // Training_Gamerules_Region + +#ifndef CareerTasks_Region + +//CCareerTask + //HOOK_SYMBOLDEF(0x01DDCBD0, "_ZN11CCareerTaskC2EPKc13GameEventTypeS1_ibbib", CCareerTask::CCareerTask), + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DDD150, "_ZN11CCareerTask7OnEventE13GameEventTypeP11CBasePlayerS2_", CCareerTask::OnEvent), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DDCCD0, "_ZN11CCareerTask5ResetEv", CCareerTask::Reset), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DDDDE0, "_ZNK11CCareerTask26IsTaskCompletableThisRoundEv", CCareerTask::IsTaskCompletableThisRound), // DEFAULT + // non-virtual func + HOOK_SYMBOLDEF(0x01DDCB80, "_ZN11CCareerTask7NewTaskEPKc13GameEventTypeS1_ibbib", CCareerTask::NewTask), + HOOK_SYMBOLDEF(0x01DDCDB0, "_ZN11CCareerTask12OnWeaponKillEiibbP11CBasePlayerS1_", CCareerTask::OnWeaponKill), + HOOK_SYMBOLDEF(0x01DDD000, "_ZN11CCareerTask14OnWeaponInjuryEiibP11CBasePlayer", CCareerTask::OnWeaponInjury), + //HOOK_SYMBOLDEF(0x0, "_ZN11CCareerTask10IsCompleteEv", CCareerTask::IsComplete), + //HOOK_SYMBOLDEF(0x0, "_ZN11CCareerTask11GetTaskNameEv", CCareerTask::GetTaskName), + //HOOK_SYMBOLDEF(0x0, "_ZN11CCareerTask11GetWeaponIdEv", CCareerTask::GetWeaponId), + //HOOK_SYMBOLDEF(0x0, "_ZN11CCareerTask16GetWeaponClassIdEv", CCareerTask::GetWeaponClassId), + //HOOK_SYMBOLDEF(0x0, "_ZNK11CCareerTask10IsValidForEP11CBasePlayer ", CCareerTask::IsValidFor), + //HOOK_SYMBOLDEF(0x01DDCD50, "_ZN11CCareerTask23SendPartialNotificationEv", CCareerTask::SendPartialNotification), // NOXREF +//CCareerTaskManager + //HOOK_SYMBOLDEF(0x01DDD7C0, "_ZN18CCareerTaskManagerC2Ev", CCareerTaskManager::CCareerTaskManager), + //HOOK_SYMBOLDEF(0x01DDD750, "_ZN18CCareerTaskManager6CreateEv", CCareerTaskManager::Create), + HOOK_SYMBOLDEF(0x01DDD800, "_ZN18CCareerTaskManager5ResetEb", CCareerTaskManager::Reset), + HOOK_SYMBOLDEF(0x01DDD8D0, "_ZN18CCareerTaskManager7AddTaskEPKcS1_ibbb", CCareerTaskManager::AddTask), + HOOK_SYMBOLDEF(0x01DDDA00, "_ZN18CCareerTaskManager11HandleEventE13GameEventTypeP11CBasePlayerS2_", CCareerTaskManager::HandleEvent), + HOOK_SYMBOLDEF(0x01DDDAB0, "_ZN18CCareerTaskManager15HandleEnemyKillEbPKcbbP11CBasePlayerS3_", CCareerTaskManager::HandleEnemyKill), + //HOOK_SYMBOLDEF(0x01DDDA60, "_ZN18CCareerTaskManager16HandleWeaponKillEiibbP11CBasePlayerS1_", CCareerTaskManager::HandleWeaponKill), // NOXREF + HOOK_SYMBOLDEF(0x01DDDC30, "_ZN18CCareerTaskManager11HandleDeathEiP11CBasePlayer", CCareerTaskManager::HandleDeath), + //HOOK_SYMBOLDEF(0x01DDDB80, "_ZN18CCareerTaskManager18HandleWeaponInjuryEiibP11CBasePlayer", CCareerTaskManager::HandleWeaponInjury), // NOXREF + HOOK_SYMBOLDEF(0x01DDDBC0, "_ZN18CCareerTaskManager17HandleEnemyInjuryEPKcbP11CBasePlayer", CCareerTaskManager::HandleEnemyInjury), + HOOK_SYMBOLDEF(0x01DDDCD0, "_ZN18CCareerTaskManager19AreAllTasksCompleteEv", CCareerTaskManager::AreAllTasksComplete), + HOOK_SYMBOLDEF(0x01DDDD00, "_ZN18CCareerTaskManager20GetNumRemainingTasksEv", CCareerTaskManager::GetNumRemainingTasks), + HOOK_SYMBOLDEF(0x01DDDD30, "_ZN18CCareerTaskManager19GetRoundElapsedTimeEv", CCareerTaskManager::GetRoundElapsedTime), + //HOOK_SYMBOLDEF(0x0, "_ZN18CCareerTaskManager11GetTaskTimeEv", CCareerTaskManager::GetTaskTime), + //HOOK_SYMBOLDEF(0x01DDD8B0, "_ZN18CCareerTaskManager19SetFinishedTaskTimeEi", CCareerTaskManager::SetFinishedTaskTime), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN18CCareerTaskManager19GetFinishedTaskTimeEv", CCareerTaskManager::GetFinishedTaskTime), + //HOOK_SYMBOLDEF(0x0, "_ZN18CCareerTaskManager20GetFinishedTaskRoundEv", CCareerTaskManager::GetFinishedTaskRound), + //HOOK_SYMBOLDEF(0x0, "_ZN18CCareerTaskManager8GetTasksEv", CCareerTaskManager::GetTasks), + HOOK_SYMBOLDEF(0x01DDDD40, "_ZN18CCareerTaskManager20LatchRoundEndMessageEv", CCareerTaskManager::LatchRoundEndMessage), + HOOK_SYMBOLDEF(0x01DDDD50, "_ZN18CCareerTaskManager22UnlatchRoundEndMessageEv", CCareerTaskManager::UnlatchRoundEndMessage), +//CPreventDefuseTask + // virtual func + //HOOK_SYMBOLDEF(0x01DDCA60, "_ZN18CPreventDefuseTaskC2EPKc13GameEventTypeS1_ibbib", CPreventDefuseTask::CPreventDefuseTask), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DDCB30, "_ZN18CPreventDefuseTask7OnEventE13GameEventTypeP11CBasePlayerS2_", CPreventDefuseTask::OnEvent), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DDCAB0, "_ZN18CPreventDefuseTask5ResetEv", CPreventDefuseTask::Reset), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DDDDF0, "_ZNK18CPreventDefuseTask26IsTaskCompletableThisRoundEv", CPreventDefuseTask::IsTaskCompletableThisRound), // DEFAULT + // non-virtual func + //HOOK_SYMBOLDEF(0x01DDCA00, "_ZN18CPreventDefuseTask7NewTaskEPKc13GameEventTypeS1_ibbib", CPreventDefuseTask::NewTask), + +#endif // CareerTasks_Region + +#ifndef Weapons_Region + +//Weapons base + //HOOK_SYMBOLDEF(0x01DCCD60, "_Z12MaxAmmoCarryi", MaxAmmoCarry), // NOXREF + HOOK_SYMBOLDEF(0x01DCCE60, "_Z16ClearMultiDamagev", ClearMultiDamage), + HOOK_SYMBOLDEF(0x01DCCE80, "_Z16ApplyMultiDamageP9entvars_sS0_", ApplyMultiDamage), + HOOK_SYMBOLDEF(0x01DCCEB0, "_Z14AddMultiDamageP9entvars_sP11CBaseEntityfi", AddMultiDamage), + HOOK_SYMBOLDEF(0x01DCCF20, "_Z10SpawnBlood6Vectorif", SpawnBlood), + //HOOK_SYMBOLDEF(0x01DCCF50, "_Z11DamageDecalP11CBaseEntityi", DamageDecal), // NOXREF + //HOOK_SYMBOLDEF(0x01DCCF80, "_Z12DecalGunshotP11TraceResultibP9entvars_sb", DecalGunshot), // NOXREF + HOOK_SYMBOLDEF(0x01DCCF90, "_Z10EjectBrassRK6VectorS1_S1_fiii", EjectBrass), + //HOOK_SYMBOLDEF(0x01DCD080, "_Z11EjectBrass2RK6VectorS1_fiiP9entvars_s", EjectBrass2), // NOXREF + //HOOK_SYMBOLDEF(0x01DCD120, "_Z25AddAmmoNameToAmmoRegistryPKc", AddAmmoNameToAmmoRegistry), // NOXREF + HOOK_SYMBOLDEF(0x01DCD180, "_Z24UTIL_PrecacheOtherWeaponPKc", UTIL_PrecacheOtherWeapon), + //HOOK_SYMBOLDEF(0x01DCD310, "_Z25UTIL_PrecacheOtherWeapon2PKc", UTIL_PrecacheOtherWeapon2), // NOXREF + HOOK_SYMBOLDEF(0x01DCD4A0, "_Z10W_Precachev", W_Precache), + //HOOK_SYMBOLDEF(0x01DCE600, "_Z9CanAttackffi", CanAttack), // NOXREF +//CBasePlayerItem + // virtual func + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DCD860, "_ZN15CBasePlayerItem4SaveER5CSave", CBasePlayerItem::Save), // NOXREF + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DCD890, "_ZN15CBasePlayerItem7RestoreER8CRestore", CBasePlayerItem::Restore), // NOXREF + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCD960, "_ZN15CBasePlayerItem21SetObjectCollisionBoxEv", CBasePlayerItem::SetObjectCollisionBox), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCDC80, "_ZN15CBasePlayerItem7RespawnEv", CBasePlayerItem::Respawn), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DCEC60, "_ZN15CBasePlayerItem11AddToPlayerEP11CBasePlayer", CBasePlayerItem::AddToPlayer), // NOXREF + //HOOK_SYMBOL_VIRTUAL_DEF(0x0, "_ZN15CBasePlayerItem12AddDuplicateEPS_", CBasePlayerItem::AddDuplicate), // NOXREF + //HOOK_SYMBOL_VIRTUAL_DEF(0x0, "_ZN15CBasePlayerItem11GetItemInfoEP8ItemInfo", CBasePlayerItem::GetItemInfo), + //HOOK_SYMBOL_VIRTUAL_DEF(0x0, "_ZN15CBasePlayerItem9CanDeployEv", CBasePlayerItem::CanDeploy), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D01FF0, "_ZN15CBasePlayerItem7CanDropEv", CBasePlayerItem::CanDrop), + //HOOK_SYMBOLDEF(0x0, "_ZN15CBasePlayerItem6DeployEv", CBasePlayerItem::Deploy), + //HOOK_SYMBOLDEF(0x0, "_ZN15CBasePlayerItem8IsWeaponEv", CBasePlayerItem::IsWeapon), + //HOOK_SYMBOLDEF(0x01D02000, "_ZN15CBasePlayerItem10CanHolsterEv", CBasePlayerItem::CanHolster), + //HOOK_SYMBOLDEF(0x01DCED10, "_ZN15CBasePlayerItem7HolsterEi", CBasePlayerItem::Holster), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN15CBasePlayerItem14UpdateItemInfoEv", CBasePlayerItem::UpdateItemInfo), // NOXREF + //HOOK_SYMBOLDEF(0x01D02010, "_ZN15CBasePlayerItem12ItemPreFrameEv", CBasePlayerItem::ItemPreFrame), // NOXREF PURE + //HOOK_SYMBOLDEF(0x0, "_ZN15CBasePlayerItem13ItemPostFrameEv", CBasePlayerItem::ItemPostFrame), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCECB0, "_ZN15CBasePlayerItem4DropEv", CBasePlayerItem::Drop), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCECE0, "_ZN15CBasePlayerItem4KillEv", CBasePlayerItem::Kill), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCED40, "_ZN15CBasePlayerItem14AttachToPlayerEP11CBasePlayer", CBasePlayerItem::AttachToPlayer), + //HOOK_SYMBOLDEF(0x0, "_ZN15CBasePlayerItem16PrimaryAmmoIndexEv", CBasePlayerItem::PrimaryAmmoIndex), + //HOOK_SYMBOLDEF(0x0, "_ZN15CBasePlayerItem18SecondaryAmmoIndexEv", CBasePlayerItem::SecondaryAmmoIndex), + //HOOK_SYMBOLDEF(0x0, "_ZN15CBasePlayerItem16UpdateClientDataEP11CBasePlayer", CBasePlayerItem::UpdateClientData), + //HOOK_SYMBOLDEF(0x0, "_ZN15CBasePlayerItem12GetWeaponPtrEv", CBasePlayerItem::GetWeaponPtr), + //HOOK_SYMBOLDEF(0x01D861A0, "_ZN15CBasePlayerItem11GetMaxSpeedEv", CBasePlayerItem::GetMaxSpeed), + //HOOK_SYMBOLDEF(0x0, "_ZN15CBasePlayerItem9iItemSlotEv", CBasePlayerItem::iItemSlot), + // non-virtual func + HOOK_SYMBOLDEF(0x01DCEC40, "_ZN15CBasePlayerItem11DestroyItemEv", CBasePlayerItem::DestroyItem), + HOOK_SYMBOLDEF(0x01DCDD50, "_ZN15CBasePlayerItem12DefaultTouchEP11CBaseEntity", CBasePlayerItem::DefaultTouch), + HOOK_SYMBOLDEF(0x01DCDAA0, "_ZN15CBasePlayerItem9FallThinkEv", CBasePlayerItem::FallThink), + HOOK_SYMBOLDEF(0x01DCDB30, "_ZN15CBasePlayerItem11MaterializeEv", CBasePlayerItem::Materialize), + HOOK_SYMBOLDEF(0x01DCDC10, "_ZN15CBasePlayerItem20AttemptToMaterializeEv", CBasePlayerItem::AttemptToMaterialize), + HOOK_SYMBOLDEF(0x01DCDA00, "_ZN15CBasePlayerItem8FallInitEv", CBasePlayerItem::FallInit), + HOOK_SYMBOLDEF(0x01DCDC50, "_ZN15CBasePlayerItem12CheckRespawnEv", CBasePlayerItem::CheckRespawn), + //HOOK_SYMBOLDEF(0x0, "_ZN15CBasePlayerItem8pszAmmo1Ev", CBasePlayerItem::pszAmmo1), + //HOOK_SYMBOLDEF(0x0, "_ZN15CBasePlayerItem9iMaxAmmo1Ev", CBasePlayerItem::iMaxAmmo1), + //HOOK_SYMBOLDEF(0x0, "_ZN15CBasePlayerItem8pszAmmo2Ev", CBasePlayerItem::pszAmmo2), + //HOOK_SYMBOLDEF(0x0, "_ZN15CBasePlayerItem9iMaxAmmo2Ev", CBasePlayerItem::iMaxAmmo2), + //HOOK_SYMBOLDEF(0x0, "_ZN15CBasePlayerItem7pszNameEv", CBasePlayerItem::pszName), + //HOOK_SYMBOLDEF(0x0, "_ZN15CBasePlayerItem8iMaxClipEv", CBasePlayerItem::iMaxClip), + //HOOK_SYMBOLDEF(0x0, "_ZN15CBasePlayerItem7iWeightEv", CBasePlayerItem::iWeight), + //HOOK_SYMBOLDEF(0x0, "_ZN15CBasePlayerItem6iFlagsEv", CBasePlayerItem::iFlags), +//CBasePlayerWeapon + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCD8C0, "_ZN17CBasePlayerWeapon4SaveER5CSave", CBasePlayerWeapon::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCD910, "_ZN17CBasePlayerWeapon7RestoreER8CRestore", CBasePlayerWeapon::Restore), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCEDE0, "_ZN17CBasePlayerWeapon11AddToPlayerEP11CBasePlayer", CBasePlayerWeapon::AddToPlayer), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCEDC0, "_ZN17CBasePlayerWeapon12AddDuplicateEP15CBasePlayerItem", CBasePlayerWeapon::AddDuplicate), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCF1A0, "_ZN17CBasePlayerWeapon9CanDeployEv", CBasePlayerWeapon::CanDeploy), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D02050, "_ZN17CBasePlayerWeapon8IsWeaponEv", CBasePlayerWeapon::IsWeapon), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCF570, "_ZN17CBasePlayerWeapon7HolsterEi", CBasePlayerWeapon::Holster), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D02030, "_ZN17CBasePlayerWeapon14UpdateItemInfoEv", CBasePlayerWeapon::UpdateItemInfo), // NOXREF PURE + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCE6A0, "_ZN17CBasePlayerWeapon13ItemPostFrameEv", CBasePlayerWeapon::ItemPostFrame), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCF550, "_ZN17CBasePlayerWeapon16PrimaryAmmoIndexEv", CBasePlayerWeapon::PrimaryAmmoIndex), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCF560, "_ZN17CBasePlayerWeapon18SecondaryAmmoIndexEv", CBasePlayerWeapon::SecondaryAmmoIndex), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCEEB0, "_ZN17CBasePlayerWeapon16UpdateClientDataEP11CBasePlayer", CBasePlayerWeapon::UpdateClientData), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D02060, "_ZN17CBasePlayerWeapon12GetWeaponPtrEv", CBasePlayerWeapon::GetWeaponPtr), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCF7E0, "_ZN17CBasePlayerWeapon11ExtractAmmoEPS_", CBasePlayerWeapon::ExtractAmmo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCF8A0, "_ZN17CBasePlayerWeapon15ExtractClipAmmoEPS_", CBasePlayerWeapon::ExtractClipAmmo), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D02020, "_ZN17CBasePlayerWeapon9AddWeaponEv", CBasePlayerWeapon::AddWeapon), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCF4C0, "_ZN17CBasePlayerWeapon14PlayEmptySoundEv", CBasePlayerWeapon::PlayEmptySound), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCF540, "_ZN17CBasePlayerWeapon15ResetEmptySoundEv", CBasePlayerWeapon::ResetEmptySound), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCEFB0, "_ZN17CBasePlayerWeapon14SendWeaponAnimEii", CBasePlayerWeapon::SendWeaponAnim), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCF150, "_ZN17CBasePlayerWeapon9IsUseableEv", CBasePlayerWeapon::IsUseable), + //HOOK_SYMBOL_VIRTUAL_DEF(0x0, "_ZN17CBasePlayerWeapon13PrimaryAttackEv", CBasePlayerWeapon::PrimaryAttack), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D03A50, "_ZN17CBasePlayerWeapon15SecondaryAttackEv", CBasePlayerWeapon::SecondaryAttack), // PURE + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D03A60, "_ZN17CBasePlayerWeapon6ReloadEv", CBasePlayerWeapon::Reload), // PURE + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D861B0, "_ZN17CBasePlayerWeapon10WeaponIdleEv", CBasePlayerWeapon::WeaponIdle), // PURE + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCF8F0, "_ZN17CBasePlayerWeapon12RetireWeaponEv", CBasePlayerWeapon::RetireWeapon), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D02040, "_ZN17CBasePlayerWeapon16ShouldWeaponIdleEv", CBasePlayerWeapon::ShouldWeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D861C0, "_ZN17CBasePlayerWeapon12UseDecrementEv", CBasePlayerWeapon::UseDecrement), + // non-virtual func + HOOK_SYMBOLDEF(0x01DCF030, "_ZN17CBasePlayerWeapon14AddPrimaryAmmoEiPcii", CBasePlayerWeapon::AddPrimaryAmmo), + //HOOK_SYMBOLDEF(0x01DCF0F0, "_ZN17CBasePlayerWeapon16AddSecondaryAmmoEiPci", CBasePlayerWeapon::AddSecondaryAmmo), // NOXREF + HOOK_SYMBOLDEF(0x01DCF1B0, "_ZN17CBasePlayerWeapon13DefaultDeployEPcS0_iS0_i", CBasePlayerWeapon::DefaultDeploy), + HOOK_SYMBOLDEF(0x01DCF430, "_ZN17CBasePlayerWeapon13DefaultReloadEiif", CBasePlayerWeapon::DefaultReload), + HOOK_SYMBOLDEF(0x01DCE380, "_ZN17CBasePlayerWeapon13FireRemainingERiRfi", CBasePlayerWeapon::FireRemaining), + //HOOK_SYMBOLDEF(0x01DCE260, "_ZN17CBasePlayerWeapon8KickBackEffffffi", CBasePlayerWeapon::KickBack), + HOOK_SYMBOLDEF(0x01DCDEA0, "_ZN17CBasePlayerWeapon14EjectBrassLateEv", CBasePlayerWeapon::EjectBrassLate), + //HOOK_SYMBOLDEF(0x0, "_ZN17CBasePlayerWeapon8MakeBeamEv", CBasePlayerWeapon::MakeBeam), + //HOOK_SYMBOLDEF(0x0, "_ZN17CBasePlayerWeapon10BeamUpdateEv", CBasePlayerWeapon::BeamUpdate), + HOOK_SYMBOLDEF(0x01DCF2D0, "_ZN17CBasePlayerWeapon11ReloadSoundEv", CBasePlayerWeapon::ReloadSound), + HOOK_SYMBOLDEF(0x01DCF930, "_ZN17CBasePlayerWeapon18GetNextAttackDelayEf", CBasePlayerWeapon::GetNextAttackDelay), + //HOOK_SYMBOLDEF(0x01DCE630, "_ZN17CBasePlayerWeapon18HasSecondaryAttackEv", CBasePlayerWeapon::HasSecondaryAttack), // NOXREF + HOOK_SYMBOLDEF(0x01D32670, "_ZN17CBasePlayerWeapon8IsPistolEv", CBasePlayerWeapon::IsPistol), + HOOK_SYMBOLDEF(0x01DCDE10, "_ZN17CBasePlayerWeapon19SetPlayerShieldAnimEv", CBasePlayerWeapon::SetPlayerShieldAnim), + HOOK_SYMBOLDEF(0x01DCDE60, "_ZN17CBasePlayerWeapon21ResetPlayerShieldAnimEv", CBasePlayerWeapon::ResetPlayerShieldAnim), + HOOK_SYMBOLDEF(0x01DCE140, "_ZN17CBasePlayerWeapon19ShieldSecondaryFireEii", CBasePlayerWeapon::ShieldSecondaryFire), +//CBasePlayerAmmo + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCF5A0, "_ZN15CBasePlayerAmmo5SpawnEv", CBasePlayerAmmo::Spawn), + //HOOK_SYMBOL_VIRTUAL_DEF(0x0, "_ZN15CBasePlayerAmmo7AddAmmoEP11CBaseEntity", CBasePlayerAmmo::AddAmmo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCF650, "_ZN15CBasePlayerAmmo7RespawnEv", CBasePlayerAmmo::Respawn), + // non-virtual func +//CBasePlayerAmmo + HOOK_SYMBOLDEF(0x01DCF6C0, "_ZN15CBasePlayerAmmo11MaterializeEv", CBasePlayerAmmo::Materialize), + HOOK_SYMBOLDEF(0x01DCF730, "_ZN15CBasePlayerAmmo12DefaultTouchEP11CBaseEntity", CBasePlayerAmmo::DefaultTouch), +//C9MMAmmo + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59550, "_ZN8C9MMAmmo5SpawnEv", C9MMAmmo::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59580, "_ZN8C9MMAmmo8PrecacheEv", C9MMAmmo::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D595A0, "_ZN8C9MMAmmo7AddAmmoEP11CBaseEntity", C9MMAmmo::AddAmmo), + // non-virtual func + HOOK_DEF(0x01D59500, ammo_9mm), +//CBuckShotAmmo + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59640, "_ZN13CBuckShotAmmo5SpawnEv", CBuckShotAmmo::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59670, "_ZN13CBuckShotAmmo8PrecacheEv", CBuckShotAmmo::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59690, "_ZN13CBuckShotAmmo7AddAmmoEP11CBaseEntity", CBuckShotAmmo::AddAmmo), + // non-virtual func + HOOK_DEF(0x01D595F0, ammo_buckshot), +//C556NatoAmmo + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59730, "_ZN12C556NatoAmmo5SpawnEv", C556NatoAmmo::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59760, "_ZN12C556NatoAmmo8PrecacheEv", C556NatoAmmo::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59780, "_ZN12C556NatoAmmo7AddAmmoEP11CBaseEntity", C556NatoAmmo::AddAmmo), + // non-virtual func + HOOK_DEF(0x01D596E0, ammo_556nato), +//C556NatoBoxAmmo + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59820, "_ZN15C556NatoBoxAmmo5SpawnEv", C556NatoBoxAmmo::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59850, "_ZN15C556NatoBoxAmmo8PrecacheEv", C556NatoBoxAmmo::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59870, "_ZN15C556NatoBoxAmmo7AddAmmoEP11CBaseEntity", C556NatoBoxAmmo::AddAmmo), + // non-virtual func + HOOK_DEF(0x01D597D0, ammo_556natobox), +//C762NatoAmmo + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59920, "_ZN12C762NatoAmmo5SpawnEv", C762NatoAmmo::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59950, "_ZN12C762NatoAmmo8PrecacheEv", C762NatoAmmo::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59970, "_ZN12C762NatoAmmo7AddAmmoEP11CBaseEntity", C762NatoAmmo::AddAmmo), + // non-virtual func + HOOK_DEF(0x01D598D0, ammo_762nato), +//C45ACPAmmo + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59A10, "_ZN10C45ACPAmmo5SpawnEv", C45ACPAmmo::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59A40, "_ZN10C45ACPAmmo8PrecacheEv", C45ACPAmmo::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59A60, "_ZN10C45ACPAmmo7AddAmmoEP11CBaseEntity", C45ACPAmmo::AddAmmo), + // non-virtual func + HOOK_DEF(0x01D599C0, ammo_45acp), +//C50AEAmmo + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59B00, "_ZN9C50AEAmmo5SpawnEv", C50AEAmmo::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59B30, "_ZN9C50AEAmmo8PrecacheEv", C50AEAmmo::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59B50, "_ZN9C50AEAmmo7AddAmmoEP11CBaseEntity", C50AEAmmo::AddAmmo), + // non-virtual func + HOOK_DEF(0x01D59AB0, ammo_50ae), +//C338MagnumAmmo + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59BF0, "_ZN14C338MagnumAmmo5SpawnEv", C338MagnumAmmo::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59C20, "_ZN14C338MagnumAmmo8PrecacheEv", C338MagnumAmmo::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59C40, "_ZN14C338MagnumAmmo7AddAmmoEP11CBaseEntity", C338MagnumAmmo::AddAmmo), + // non-virtual func + HOOK_DEF(0x01D59BA0, ammo_338magnum), +//C57MMAmmo + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59CE0, "_ZN9C57MMAmmo5SpawnEv", C57MMAmmo::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59D10, "_ZN9C57MMAmmo8PrecacheEv", C57MMAmmo::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59D30, "_ZN9C57MMAmmo7AddAmmoEP11CBaseEntity", C57MMAmmo::AddAmmo), + // non-virtual func + HOOK_DEF(0x01D59C90, ammo_57mm), +//C357SIGAmmo + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59DD0, "_ZN11C357SIGAmmo5SpawnEv", C357SIGAmmo::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59E00, "_ZN11C357SIGAmmo8PrecacheEv", C357SIGAmmo::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D59E20, "_ZN11C357SIGAmmo7AddAmmoEP11CBaseEntity", C357SIGAmmo::AddAmmo), + // non-virtual func + HOOK_DEF(0x01D59D80, ammo_357sig), +//CWeaponBox + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCFD80, "_ZN10CWeaponBox5SpawnEv", CWeaponBox::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCFA40, "_ZN10CWeaponBox8PrecacheEv", CWeaponBox::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCFA50, "_ZN10CWeaponBox8KeyValueEP14KeyValueData_s", CWeaponBox::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCF9E0, "_ZN10CWeaponBox4SaveER5CSave", CWeaponBox::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCFA10, "_ZN10CWeaponBox7RestoreER8CRestore", CWeaponBox::Restore), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DD0970, "_ZN10CWeaponBox21SetObjectCollisionBoxEv", CWeaponBox::SetObjectCollisionBox), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DCFE30, "_ZN10CWeaponBox5TouchEP11CBaseEntity", CWeaponBox::Touch), + // non-virtual func + HOOK_DEF(0x01DCF990, weaponbox), + //HOOK_SYMBOLDEF(0x01DD0930, "_ZN10CWeaponBox7IsEmptyEv", CWeaponBox::IsEmpty), // NOXREF + HOOK_SYMBOLDEF(0x01DD07C0, "_ZN10CWeaponBox8GiveAmmoEiPciPi", CWeaponBox::GiveAmmo), + HOOK_SYMBOLDEF(0x01DCFDE0, "_ZN10CWeaponBox4KillEv", CWeaponBox::Kill), + HOOK_SYMBOLDEF(0x01DCFBF0, "_ZN10CWeaponBox9BombThinkEv", CWeaponBox::BombThink), //export func + //HOOK_SYMBOLDEF(0x01DD08A0, "_ZN10CWeaponBox9HasWeaponEP15CBasePlayerItem", CWeaponBox::HasWeapon), // NOXREF + HOOK_SYMBOLDEF(0x01DD0500, "_ZN10CWeaponBox10PackWeaponEP15CBasePlayerItem", CWeaponBox::PackWeapon), + HOOK_SYMBOLDEF(0x01DD0670, "_ZN10CWeaponBox8PackAmmoEii", CWeaponBox::PackAmmo), +//CUSP + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0F8B0, "_ZN4CUSP5SpawnEv", CUSP::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0F910, "_ZN4CUSP8PrecacheEv", CUSP::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0F9D0, "_ZN4CUSP11GetItemInfoEP8ItemInfo", CUSP::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0FA40, "_ZN4CUSP6DeployEv", CUSP::Deploy), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D101A0, "_ZN4CUSP11GetMaxSpeedEv", CUSP::GetMaxSpeed), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D10190, "_ZN4CUSP9iItemSlotEv", CUSP::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0FB20, "_ZN4CUSP15SecondaryAttackEv", CUSP::SecondaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0FBE0, "_ZN4CUSP13PrimaryAttackEv", CUSP::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D10060, "_ZN4CUSP6ReloadEv", CUSP::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D100C0, "_ZN4CUSP10WeaponIdleEv", CUSP::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D101B0, "_ZN4CUSP12UseDecrementEv", CUSP::UseDecrement), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D101C0, "_ZN4CUSP8IsPistolEv", CUSP::IsPistol), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D0F860, weapon_usp), + HOOK_SYMBOLDEF(0x01D0FD50, "_ZN4CUSP7USPFireEffi", CUSP::USPFire), + //HOOK_SYMBOLDEF(0x0, "_ZN4CUSP8MakeBeamEv", CUSP::MakeBeam), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN4CUSP10BeamUpdateEv", CUSP::BeamUpdate), // NOXREF +//CMP5N + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0B750, "_ZN5CMP5N5SpawnEv", CMP5N::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0B7A0, "_ZN5CMP5N8PrecacheEv", CMP5N::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0B820, "_ZN5CMP5N11GetItemInfoEP8ItemInfo", CMP5N::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0B890, "_ZN5CMP5N6DeployEv", CMP5N::Deploy), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0BD50, "_ZN5CMP5N11GetMaxSpeedEv", CMP5N::GetMaxSpeed), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0BD40, "_ZN5CMP5N9iItemSlotEv", CMP5N::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0B8E0, "_ZN5CMP5N13PrimaryAttackEv", CMP5N::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0BC80, "_ZN5CMP5N6ReloadEv", CMP5N::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0BCD0, "_ZN5CMP5N10WeaponIdleEv", CMP5N::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0BD60, "_ZN5CMP5N12UseDecrementEv", CMP5N::UseDecrement), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D0B700, weapon_mp5navy), + HOOK_SYMBOLDEF(0x01D0B920, "_ZN5CMP5N8MP5NFireEffi", CMP5N::MP5NFire), +//CSG552 + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0DAA0, "_ZN6CSG5525SpawnEv", CSG552::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0DAF0, "_ZN6CSG5528PrecacheEv", CSG552::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0DB70, "_ZN6CSG55211GetItemInfoEP8ItemInfo", CSG552::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0DBE0, "_ZN6CSG5526DeployEv", CSG552::Deploy), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0E1C0, "_ZN6CSG55211GetMaxSpeedEv", CSG552::GetMaxSpeed), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0E1E0, "_ZN6CSG5529iItemSlotEv", CSG552::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0DC30, "_ZN6CSG55215SecondaryAttackEv", CSG552::SecondaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0DCA0, "_ZN6CSG55213PrimaryAttackEv", CSG552::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0E0D0, "_ZN6CSG5526ReloadEv", CSG552::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0E150, "_ZN6CSG55210WeaponIdleEv", CSG552::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0E1F0, "_ZN6CSG55212UseDecrementEv", CSG552::UseDecrement), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D0DA50, weapon_sg552), + HOOK_SYMBOLDEF(0x01D0DD50, "_ZN6CSG5529SG552FireEffi", CSG552::SG552Fire), +//CAK47 + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D014F0, "_ZN5CAK475SpawnEv", CAK47::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D01540, "_ZN5CAK478PrecacheEv", CAK47::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D015C0, "_ZN5CAK4711GetItemInfoEP8ItemInfo", CAK47::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D01630, "_ZN5CAK476DeployEv", CAK47::Deploy), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D02080, "_ZN5CAK4711GetMaxSpeedEv", CAK47::GetMaxSpeed), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D02070, "_ZN5CAK479iItemSlotEv", CAK47::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D01680, "_ZN5CAK4715SecondaryAttackEv", CAK47::SecondaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D01690, "_ZN5CAK4713PrimaryAttackEv", CAK47::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D01AB0, "_ZN5CAK476ReloadEv", CAK47::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D01B00, "_ZN5CAK4710WeaponIdleEv", CAK47::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D02090, "_ZN5CAK4712UseDecrementEv", CAK47::UseDecrement), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D014A0, weapon_ak47), + HOOK_SYMBOLDEF(0x01D01730, "_ZN5CAK478AK47FireEffi", CAK47::AK47Fire), +//CAUG + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D020F0, "_ZN4CAUG5SpawnEv", CAUG::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D02140, "_ZN4CAUG8PrecacheEv", CAUG::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D021D0, "_ZN4CAUG11GetItemInfoEP8ItemInfo", CAUG::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D02240, "_ZN4CAUG6DeployEv", CAUG::Deploy), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D02820, "_ZN4CAUG11GetMaxSpeedEv", CAUG::GetMaxSpeed), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D02810, "_ZN4CAUG9iItemSlotEv", CAUG::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D02290, "_ZN4CAUG15SecondaryAttackEv", CAUG::SecondaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D02300, "_ZN4CAUG13PrimaryAttackEv", CAUG::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D02730, "_ZN4CAUG6ReloadEv", CAUG::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D027A0, "_ZN4CAUG10WeaponIdleEv", CAUG::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D02830, "_ZN4CAUG12UseDecrementEv", CAUG::UseDecrement), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D020A0, weapon_aug), + HOOK_SYMBOLDEF(0x01D023B0, "_ZN4CAUG7AUGFireEffi", CAUG::AUGFire), +//CAWP + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D02890, "_ZN4CAWP5SpawnEv", CAWP::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D028D0, "_ZN4CAWP8PrecacheEv", CAWP::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D02980, "_ZN4CAWP11GetItemInfoEP8ItemInfo", CAWP::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D029F0, "_ZN4CAWP6DeployEv", CAWP::Deploy), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D02FA0, "_ZN4CAWP11GetMaxSpeedEv", CAWP::GetMaxSpeed), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D02FC0, "_ZN4CAWP9iItemSlotEv", CAWP::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D02A60, "_ZN4CAWP15SecondaryAttackEv", CAWP::SecondaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D02B40, "_ZN4CAWP13PrimaryAttackEv", CAWP::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D02EA0, "_ZN4CAWP6ReloadEv", CAWP::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D02F20, "_ZN4CAWP10WeaponIdleEv", CAWP::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D02FD0, "_ZN4CAWP12UseDecrementEv", CAWP::UseDecrement), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D02840, weapon_awp), + HOOK_SYMBOLDEF(0x01D02BF0, "_ZN4CAWP7AWPFireEffi", CAWP::AWPFire), +//CC4 + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D03030, "_ZN3CC45SpawnEv", CC4::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D030F0, "_ZN3CC48PrecacheEv", CC4::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D03840, "_ZN3CC48KeyValueEP14KeyValueData_s", CC4::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D03900, "_ZN3CC43UseEP11CBaseEntityS1_8USE_TYPEf", CC4::Use), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D03120, "_ZN3CC411GetItemInfoEP8ItemInfo", CC4::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D03190, "_ZN3CC46DeployEv", CC4::Deploy), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D03200, "_ZN3CC47HolsterEi", CC4::Holster), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D03A80, "_ZN3CC411GetMaxSpeedEv", CC4::GetMaxSpeed), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D03A70, "_ZN3CC49iItemSlotEv", CC4::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D03280, "_ZN3CC413PrimaryAttackEv", CC4::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D03750, "_ZN3CC410WeaponIdleEv", CC4::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D03A90, "_ZN3CC412UseDecrementEv", CC4::UseDecrement), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D02FE0, weapon_c4), +//CDEAGLE + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D03AF0, "_ZN7CDEAGLE5SpawnEv", CDEAGLE::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D03B50, "_ZN7CDEAGLE8PrecacheEv", CDEAGLE::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D03BE0, "_ZN7CDEAGLE11GetItemInfoEP8ItemInfo", CDEAGLE::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D03C50, "_ZN7CDEAGLE6DeployEv", CDEAGLE::Deploy), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D04180, "_ZN7CDEAGLE11GetMaxSpeedEv", CDEAGLE::GetMaxSpeed), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D04170, "_ZN7CDEAGLE9iItemSlotEv", CDEAGLE::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D03DB0, "_ZN7CDEAGLE15SecondaryAttackEv", CDEAGLE::SecondaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D03CF0, "_ZN7CDEAGLE13PrimaryAttackEv", CDEAGLE::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D040B0, "_ZN7CDEAGLE6ReloadEv", CDEAGLE::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D040F0, "_ZN7CDEAGLE10WeaponIdleEv", CDEAGLE::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D04190, "_ZN7CDEAGLE12UseDecrementEv", CDEAGLE::UseDecrement), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D041A0, "_ZN7CDEAGLE8IsPistolEv", CDEAGLE::IsPistol), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D03AA0, weapon_deagle), + HOOK_SYMBOLDEF(0x01D03DC0, "_ZN7CDEAGLE10DEAGLEFireEffi", CDEAGLE::DEAGLEFire), +//CFlashbang + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D059D0, "_ZN10CFlashbang5SpawnEv", CFlashbang::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D05A40, "_ZN10CFlashbang8PrecacheEv", CFlashbang::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D05A80, "_ZN10CFlashbang11GetItemInfoEP8ItemInfo", CFlashbang::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D06260, "_ZN10CFlashbang9CanDeployEv", CFlashbang::CanDeploy), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D062A0, "_ZN10CFlashbang7CanDropEv", CFlashbang::CanDrop), // DEFUALT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D05AF0, "_ZN10CFlashbang6DeployEv", CFlashbang::Deploy), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D05B90, "_ZN10CFlashbang7HolsterEi", CFlashbang::Holster), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D06290, "_ZN10CFlashbang11GetMaxSpeedEv", CFlashbang::GetMaxSpeed), // DEFUALT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D06280, "_ZN10CFlashbang9iItemSlotEv", CFlashbang::iItemSlot), // DEFUALT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D05DA0, "_ZN10CFlashbang15SecondaryAttackEv", CFlashbang::SecondaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D05BF0, "_ZN10CFlashbang13PrimaryAttackEv", CFlashbang::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D05E40, "_ZN10CFlashbang10WeaponIdleEv", CFlashbang::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D062B0, "_ZN10CFlashbang12UseDecrementEv", CFlashbang::UseDecrement), // DEFUALT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D062C0, "_ZN10CFlashbang8IsPistolEv", CFlashbang::IsPistol), // DEFUALT + // non-virtual func + HOOK_DEF(0x01D05980, weapon_flashbang), + HOOK_SYMBOLDEF(0x01D05C60, "_ZN10CFlashbang19ShieldSecondaryFireEii", CFlashbang::ShieldSecondaryFire), + //HOOK_SYMBOLDEF(0x01D05DB0, "_ZN10CFlashbang19SetPlayerShieldAnimEv", CFlashbang::SetPlayerShieldAnim), // NOXREF + //HOOK_SYMBOLDEF(0x01D05E00, "_ZN10CFlashbang21ResetPlayerShieldAnimEv", CFlashbang::ResetPlayerShieldAnim), // NOXREF +//CG3SG1 + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D06320, "_ZN6CG3SG15SpawnEv", CG3SG1::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D06370, "_ZN6CG3SG18PrecacheEv", CG3SG1::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D063F0, "_ZN6CG3SG111GetItemInfoEP8ItemInfo", CG3SG1::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D06460, "_ZN6CG3SG16DeployEv", CG3SG1::Deploy), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D06A30, "_ZN6CG3SG111GetMaxSpeedEv", CG3SG1::GetMaxSpeed), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D06A50, "_ZN6CG3SG19iItemSlotEv", CG3SG1::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D064A0, "_ZN6CG3SG115SecondaryAttackEv", CG3SG1::SecondaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D06580, "_ZN6CG3SG113PrimaryAttackEv", CG3SG1::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D06930, "_ZN6CG3SG16ReloadEv", CG3SG1::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D069B0, "_ZN6CG3SG110WeaponIdleEv", CG3SG1::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D06A60, "_ZN6CG3SG112UseDecrementEv", CG3SG1::UseDecrement), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D062D0, weapon_g3sg1), + HOOK_SYMBOLDEF(0x01D06600, "_ZN6CG3SG19G3SG1FireEffi", CG3SG1::G3SG1Fire), +//CGLOCK18 + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D071E0, "_ZN8CGLOCK185SpawnEv", CGLOCK18::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D07250, "_ZN8CGLOCK188PrecacheEv", CGLOCK18::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D07310, "_ZN8CGLOCK1811GetItemInfoEP8ItemInfo", CGLOCK18::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D07380, "_ZN8CGLOCK186DeployEv", CGLOCK18::Deploy), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D07B10, "_ZN8CGLOCK1811GetMaxSpeedEv", CGLOCK18::GetMaxSpeed), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D07B00, "_ZN8CGLOCK189iItemSlotEv", CGLOCK18::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D07480, "_ZN8CGLOCK1815SecondaryAttackEv", CGLOCK18::SecondaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D07510, "_ZN8CGLOCK1813PrimaryAttackEv", CGLOCK18::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D07980, "_ZN8CGLOCK186ReloadEv", CGLOCK18::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D079F0, "_ZN8CGLOCK1810WeaponIdleEv", CGLOCK18::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D07B20, "_ZN8CGLOCK1812UseDecrementEv", CGLOCK18::UseDecrement), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D07B30, "_ZN8CGLOCK188IsPistolEv", CGLOCK18::IsPistol), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D07190, weapon_glock18), + HOOK_SYMBOLDEF(0x01D07670, "_ZN8CGLOCK1811GLOCK18FireEffi", CGLOCK18::GLOCK18Fire), +//CHEGrenade + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D07B90, "_ZN10CHEGrenade5SpawnEv", CHEGrenade::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D07C00, "_ZN10CHEGrenade8PrecacheEv", CHEGrenade::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D07C60, "_ZN10CHEGrenade11GetItemInfoEP8ItemInfo", CHEGrenade::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D08450, "_ZN10CHEGrenade9CanDeployEv", CHEGrenade::CanDeploy), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D08490, "_ZN10CHEGrenade7CanDropEv", CHEGrenade::CanDrop), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D07CD0, "_ZN10CHEGrenade6DeployEv", CHEGrenade::Deploy), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D07D70, "_ZN10CHEGrenade7HolsterEi", CHEGrenade::Holster), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D08480, "_ZN10CHEGrenade11GetMaxSpeedEv", CHEGrenade::GetMaxSpeed), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D08470, "_ZN10CHEGrenade9iItemSlotEv", CHEGrenade::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D07F80, "_ZN10CHEGrenade15SecondaryAttackEv", CHEGrenade::SecondaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D07DD0, "_ZN10CHEGrenade13PrimaryAttackEv", CHEGrenade::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D08020, "_ZN10CHEGrenade10WeaponIdleEv", CHEGrenade::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D084A0, "_ZN10CHEGrenade12UseDecrementEv", CHEGrenade::UseDecrement), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D07B40, weapon_hegrenade), + HOOK_SYMBOLDEF(0x01D07E40, "_ZN10CHEGrenade19ShieldSecondaryFireEii", CHEGrenade::ShieldSecondaryFire), + //HOOK_SYMBOLDEF(0x01D07F90, "_ZN10CHEGrenade19SetPlayerShieldAnimEv", CHEGrenade::SetPlayerShieldAnim), // NOXREF + //HOOK_SYMBOLDEF(0x01D07FE0, "_ZN10CHEGrenade21ResetPlayerShieldAnimEv", CHEGrenade::ResetPlayerShieldAnim), // NOXREF +//CKnife + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D08500, "_ZN6CKnife5SpawnEv", CKnife::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D08550, "_ZN6CKnife8PrecacheEv", CKnife::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D085F0, "_ZN6CKnife11GetItemInfoEP8ItemInfo", CKnife::GetItemInfo), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D09910, "_ZN6CKnife7CanDropEv", CKnife::CanDrop), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D08640, "_ZN6CKnife6DeployEv", CKnife::Deploy), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D08710, "_ZN6CKnife7HolsterEi", CKnife::Holster), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D09900, "_ZN6CKnife11GetMaxSpeedEv", CKnife::GetMaxSpeed), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D098F0, "_ZN6CKnife9iItemSlotEv", CKnife::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D08B50, "_ZN6CKnife15SecondaryAttackEv", CKnife::SecondaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D08980, "_ZN6CKnife13PrimaryAttackEv", CKnife::PrimaryAttack), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D09920, "_ZN6CKnife12UseDecrementEv", CKnife::UseDecrement), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D08BB0, "_ZN6CKnife10WeaponIdleEv", CKnife::WeaponIdle), + // non-virtual func + HOOK_DEF(0x01D084B0, weapon_knife), + HOOK_DEF(0x01D08780, FindHullIntersection), + HOOK_SYMBOLDEF(0x01D08BA0, "_ZN6CKnife10SwingAgainEv", CKnife::SwingAgain), + HOOK_SYMBOLDEF(0x01D08B80, "_ZN6CKnife5SmackEv", CKnife::Smack), + //HOOK_SYMBOLDEF(0x01D08730, "_ZN6CKnife15WeaponAnimationEi", CKnife::WeaponAnimation), // NOXREF + HOOK_SYMBOLDEF(0x01D09390, "_ZN6CKnife4StabEi", CKnife::Stab), + HOOK_SYMBOLDEF(0x01D08C30, "_ZN6CKnife5SwingEi", CKnife::Swing), + HOOK_SYMBOLDEF(0x01D08A20, "_ZN6CKnife19ShieldSecondaryFireEii", CKnife::ShieldSecondaryFire), + //HOOK_SYMBOLDEF(0x01D08990, "_ZN6CKnife19SetPlayerShieldAnimEv", CKnife::SetPlayerShieldAnim), // NOXREF + //HOOK_SYMBOLDEF(0x01D089E0, "_ZN6CKnife21ResetPlayerShieldAnimEv", CKnife::ResetPlayerShieldAnim), // NOXREF +//CM249 + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D09980, "_ZN5CM2495SpawnEv", CM249::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D099D0, "_ZN5CM2498PrecacheEv", CM249::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D09A60, "_ZN5CM24911GetItemInfoEP8ItemInfo", CM249::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D09AD0, "_ZN5CM2496DeployEv", CM249::Deploy), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0A010, "_ZN5CM24911GetMaxSpeedEv", CM249::GetMaxSpeed), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0A000, "_ZN5CM2499iItemSlotEv", CM249::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D09B20, "_ZN5CM24913PrimaryAttackEv", CM249::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D09F40, "_ZN5CM2496ReloadEv", CM249::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D09F90, "_ZN5CM24910WeaponIdleEv", CM249::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0A020, "_ZN5CM24912UseDecrementEv", CM249::UseDecrement), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D09930, weapon_m249), + HOOK_SYMBOLDEF(0x01D09BC0, "_ZN5CM2498M249FireEffi", CM249::M249Fire), +//CM3 + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0A080, "_ZN3CM35SpawnEv", CM3::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0A0C0, "_ZN3CM38PrecacheEv", CM3::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0A140, "_ZN3CM311GetItemInfoEP8ItemInfo", CM3::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0A1B0, "_ZN3CM36DeployEv", CM3::Deploy), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0A740, "_ZN3CM311GetMaxSpeedEv", CM3::GetMaxSpeed), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0A730, "_ZN3CM39iItemSlotEv", CM3::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0A1E0, "_ZN3CM313PrimaryAttackEv", CM3::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0A4A0, "_ZN3CM36ReloadEv", CM3::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0A5D0, "_ZN3CM310WeaponIdleEv", CM3::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0A750, "_ZN3CM312UseDecrementEv", CM3::UseDecrement), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D0A030, weapon_m3), +//CM4A1 + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0A7B0, "_ZN5CM4A15SpawnEv", CM4A1::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0A810, "_ZN5CM4A18PrecacheEv", CM4A1::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0A8C0, "_ZN5CM4A111GetItemInfoEP8ItemInfo", CM4A1::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0A930, "_ZN5CM4A16DeployEv", CM4A1::Deploy), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0B050, "_ZN5CM4A111GetMaxSpeedEv", CM4A1::GetMaxSpeed), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0B060, "_ZN5CM4A19iItemSlotEv", CM4A1::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0A9C0, "_ZN5CM4A115SecondaryAttackEv", CM4A1::SecondaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0AA70, "_ZN5CM4A113PrimaryAttackEv", CM4A1::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0AF60, "_ZN5CM4A16ReloadEv", CM4A1::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0AFC0, "_ZN5CM4A110WeaponIdleEv", CM4A1::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0B070, "_ZN5CM4A112UseDecrementEv", CM4A1::UseDecrement), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D0A760, weapon_m4a1), + HOOK_SYMBOLDEF(0x01D0AB80, "_ZN5CM4A18M4A1FireEffi", CM4A1::M4A1Fire), +//CMAC10 + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0B0D0, "_ZN6CMAC105SpawnEv", CMAC10::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0B120, "_ZN6CMAC108PrecacheEv", CMAC10::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0B190, "_ZN6CMAC1011GetItemInfoEP8ItemInfo", CMAC10::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0B200, "_ZN6CMAC106DeployEv", CMAC10::Deploy), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0B6E0, "_ZN6CMAC1011GetMaxSpeedEv", CMAC10::GetMaxSpeed), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0B6D0, "_ZN6CMAC109iItemSlotEv", CMAC10::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0B250, "_ZN6CMAC1013PrimaryAttackEv", CMAC10::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0B610, "_ZN6CMAC106ReloadEv", CMAC10::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0B660, "_ZN6CMAC1010WeaponIdleEv", CMAC10::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0B6F0, "_ZN6CMAC1012UseDecrementEv", CMAC10::UseDecrement), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D0B080, weapon_mac10), + HOOK_SYMBOLDEF(0x01D0B290, "_ZN6CMAC109MAC10FireEffi", CMAC10::MAC10Fire), +//CP228 + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0BDC0, "_ZN5CP2285SpawnEv", CP228::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0BE20, "_ZN5CP2288PrecacheEv", CP228::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0BEB0, "_ZN5CP22811GetItemInfoEP8ItemInfo", CP228::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0BF20, "_ZN5CP2286DeployEv", CP228::Deploy), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0C4A0, "_ZN5CP22811GetMaxSpeedEv", CP228::GetMaxSpeed), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0C490, "_ZN5CP2289iItemSlotEv", CP228::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0C080, "_ZN5CP22815SecondaryAttackEv", CP228::SecondaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0BFC0, "_ZN5CP22813PrimaryAttackEv", CP228::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0C380, "_ZN5CP2286ReloadEv", CP228::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0C3D0, "_ZN5CP22810WeaponIdleEv", CP228::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0C4B0, "_ZN5CP22812UseDecrementEv", CP228::UseDecrement), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0C4C0, "_ZN5CP2288IsPistolEv", CP228::IsPistol), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D0BD70, weapon_p228), + HOOK_SYMBOLDEF(0x01D0C090, "_ZN5CP2288P228FireEffi", CP228::P228Fire), + //HOOK_SYMBOLDEF(0x0, "_ZN5CP2288MakeBeamEv", CP228::MakeBeam), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN5CP22810BeamUpdateEv", CP228::BeamUpdate), // NOXREF +//CP90 + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0C520, "_ZN4CP905SpawnEv", CP90::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0C580, "_ZN4CP908PrecacheEv", CP90::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0C600, "_ZN4CP9011GetItemInfoEP8ItemInfo", CP90::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0C670, "_ZN4CP906DeployEv", CP90::Deploy), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0CB90, "_ZN4CP9011GetMaxSpeedEv", CP90::GetMaxSpeed), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0CB80, "_ZN4CP909iItemSlotEv", CP90::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0C6C0, "_ZN4CP9013PrimaryAttackEv", CP90::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0CAC0, "_ZN4CP906ReloadEv", CP90::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0CB10, "_ZN4CP9010WeaponIdleEv", CP90::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0CBA0, "_ZN4CP9012UseDecrementEv", CP90::UseDecrement), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D0C4D0, weapon_p90), + HOOK_SYMBOLDEF(0x01D0C750, "_ZN4CP907P90FireEffi", CP90::P90Fire), +//CSCOUT + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0CC00, "_ZN6CSCOUT5SpawnEv", CSCOUT::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0CC40, "_ZN6CSCOUT8PrecacheEv", CSCOUT::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0CCC0, "_ZN6CSCOUT11GetItemInfoEP8ItemInfo", CSCOUT::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0CD30, "_ZN6CSCOUT6DeployEv", CSCOUT::Deploy), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0D280, "_ZN6CSCOUT11GetMaxSpeedEv", CSCOUT::GetMaxSpeed), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0D2A0, "_ZN6CSCOUT9iItemSlotEv", CSCOUT::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0CDA0, "_ZN6CSCOUT15SecondaryAttackEv", CSCOUT::SecondaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0CE80, "_ZN6CSCOUT13PrimaryAttackEv", CSCOUT::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0D1A0, "_ZN6CSCOUT6ReloadEv", CSCOUT::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0D200, "_ZN6CSCOUT10WeaponIdleEv", CSCOUT::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0D2B0, "_ZN6CSCOUT12UseDecrementEv", CSCOUT::UseDecrement), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D0CBB0, weapon_scout), + HOOK_SYMBOLDEF(0x01D0CEF0, "_ZN6CSCOUT9SCOUTFireEffi", CSCOUT::SCOUTFire), +//CSmokeGrenade + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0E250, "_ZN13CSmokeGrenade5SpawnEv", CSmokeGrenade::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0E2C0, "_ZN13CSmokeGrenade8PrecacheEv", CSmokeGrenade::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0E310, "_ZN13CSmokeGrenade11GetItemInfoEP8ItemInfo", CSmokeGrenade::GetItemInfo), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0EB80, "_ZN13CSmokeGrenade7CanDropEv", CSmokeGrenade::CanDrop), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0E380, "_ZN13CSmokeGrenade6DeployEv", CSmokeGrenade::Deploy), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0E420, "_ZN13CSmokeGrenade7HolsterEi", CSmokeGrenade::Holster), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0EB70, "_ZN13CSmokeGrenade11GetMaxSpeedEv", CSmokeGrenade::GetMaxSpeed), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0EB60, "_ZN13CSmokeGrenade9iItemSlotEv", CSmokeGrenade::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0E630, "_ZN13CSmokeGrenade15SecondaryAttackEv", CSmokeGrenade::SecondaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0E480, "_ZN13CSmokeGrenade13PrimaryAttackEv", CSmokeGrenade::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0E6D0, "_ZN13CSmokeGrenade10WeaponIdleEv", CSmokeGrenade::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0EB90, "_ZN13CSmokeGrenade12UseDecrementEv", CSmokeGrenade::UseDecrement), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0EB40, "_ZN13CSmokeGrenade9CanDeployEv", CSmokeGrenade::CanDeploy), + // non-virtual func + HOOK_DEF(0x01D0E200, weapon_smokegrenade), + HOOK_SYMBOLDEF(0x01D0E4F0, "_ZN13CSmokeGrenade19ShieldSecondaryFireEii", CSmokeGrenade::ShieldSecondaryFire), + //HOOK_SYMBOLDEF(0x01D0E640, "_ZN13CSmokeGrenade19SetPlayerShieldAnimEv", CSmokeGrenade::SetPlayerShieldAnim), // NOXREF + //HOOK_SYMBOLDEF(0x01D0E690, "_ZN13CSmokeGrenade21ResetPlayerShieldAnimEv", CSmokeGrenade::ResetPlayerShieldAnim), // NOXREF +//CTMP + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0EBF0, "_ZN4CTMP5SpawnEv", CTMP::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0EC50, "_ZN4CTMP8PrecacheEv", CTMP::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0ECB0, "_ZN4CTMP11GetItemInfoEP8ItemInfo", CTMP::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0ED20, "_ZN4CTMP6DeployEv", CTMP::Deploy), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0F1D0, "_ZN4CTMP11GetMaxSpeedEv", CTMP::GetMaxSpeed), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0F1C0, "_ZN4CTMP9iItemSlotEv", CTMP::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0ED70, "_ZN4CTMP13PrimaryAttackEv", CTMP::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0F100, "_ZN4CTMP6ReloadEv", CTMP::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0F150, "_ZN4CTMP10WeaponIdleEv", CTMP::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0F1E0, "_ZN4CTMP12UseDecrementEv", CTMP::UseDecrement), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D0EBA0, weapon_tmp), + HOOK_SYMBOLDEF(0x01D0EDB0, "_ZN4CTMP7TMPFireEffi", CTMP::TMPFire), +//CXM1014 + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D10220, "_ZN7CXM10145SpawnEv", CXM1014::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D10260, "_ZN7CXM10148PrecacheEv", CXM1014::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D102D0, "_ZN7CXM101411GetItemInfoEP8ItemInfo", CXM1014::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D10340, "_ZN7CXM10146DeployEv", CXM1014::Deploy), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D10940, "_ZN7CXM101411GetMaxSpeedEv", CXM1014::GetMaxSpeed), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D10930, "_ZN7CXM10149iItemSlotEv", CXM1014::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D10370, "_ZN7CXM101413PrimaryAttackEv", CXM1014::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D10640, "_ZN7CXM10146ReloadEv", CXM1014::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D107F0, "_ZN7CXM101410WeaponIdleEv", CXM1014::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D10950, "_ZN7CXM101412UseDecrementEv", CXM1014::UseDecrement), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D101D0, weapon_xm1014), +//CELITE + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D04200, "_ZN6CELITE5SpawnEv", CELITE::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D04250, "_ZN6CELITE8PrecacheEv", CELITE::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D04300, "_ZN6CELITE11GetItemInfoEP8ItemInfo", CELITE::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D04370, "_ZN6CELITE6DeployEv", CELITE::Deploy), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D049D0, "_ZN6CELITE11GetMaxSpeedEv", CELITE::GetMaxSpeed), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D049C0, "_ZN6CELITE9iItemSlotEv", CELITE::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D043D0, "_ZN6CELITE13PrimaryAttackEv", CELITE::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D04900, "_ZN6CELITE6ReloadEv", CELITE::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D04940, "_ZN6CELITE10WeaponIdleEv", CELITE::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D049E0, "_ZN6CELITE12UseDecrementEv", CELITE::UseDecrement), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D049F0, "_ZN6CELITE8IsPistolEv", CELITE::IsPistol), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D041B0, weapon_elite), + HOOK_SYMBOLDEF(0x01D04490, "_ZN6CELITE9ELITEFireEffi", CELITE::ELITEFire), +//CFiveSeven + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D05280, "_ZN10CFiveSeven5SpawnEv", CFiveSeven::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D052E0, "_ZN10CFiveSeven8PrecacheEv", CFiveSeven::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D05370, "_ZN10CFiveSeven11GetItemInfoEP8ItemInfo", CFiveSeven::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D053E0, "_ZN10CFiveSeven6DeployEv", CFiveSeven::Deploy), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D05950, "_ZN10CFiveSeven11GetMaxSpeedEv", CFiveSeven::GetMaxSpeed), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D05940, "_ZN10CFiveSeven9iItemSlotEv", CFiveSeven::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D05540, "_ZN10CFiveSeven15SecondaryAttackEv", CFiveSeven::SecondaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D05480, "_ZN10CFiveSeven13PrimaryAttackEv", CFiveSeven::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D05840, "_ZN10CFiveSeven6ReloadEv", CFiveSeven::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D05880, "_ZN10CFiveSeven10WeaponIdleEv", CFiveSeven::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D05960, "_ZN10CFiveSeven12UseDecrementEv", CFiveSeven::UseDecrement), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D05970, "_ZN10CFiveSeven8IsPistolEv", CFiveSeven::IsPistol), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D05230, weapon_fiveseven), + HOOK_SYMBOLDEF(0x01D05550, "_ZN10CFiveSeven13FiveSevenFireEffi", CFiveSeven::FiveSevenFire), + //HOOK_SYMBOLDEF(0x0, "_ZN10CFiveSeven8MakeBeamEv", CFiveSeven::MakeBeam), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN10CFiveSeven10BeamUpdateEv", CFiveSeven::BeamUpdate), // NOXREF +//CUMP45 + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0F240, "_ZN6CUMP455SpawnEv", CUMP45::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0F290, "_ZN6CUMP458PrecacheEv", CUMP45::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0F300, "_ZN6CUMP4511GetItemInfoEP8ItemInfo", CUMP45::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0F370, "_ZN6CUMP456DeployEv", CUMP45::Deploy), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0F840, "_ZN6CUMP4511GetMaxSpeedEv", CUMP45::GetMaxSpeed), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0F830, "_ZN6CUMP459iItemSlotEv", CUMP45::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0F3C0, "_ZN6CUMP4513PrimaryAttackEv", CUMP45::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0F770, "_ZN6CUMP456ReloadEv", CUMP45::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0F7C0, "_ZN6CUMP4510WeaponIdleEv", CUMP45::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0F850, "_ZN6CUMP4512UseDecrementEv", CUMP45::UseDecrement), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D0F1F0, weapon_ump45), + HOOK_SYMBOLDEF(0x01D0F400, "_ZN6CUMP459UMP45FireEffi", CUMP45::UMP45Fire), +//CSG550 + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0D310, "_ZN6CSG5505SpawnEv", CSG550::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0D360, "_ZN6CSG5508PrecacheEv", CSG550::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0D3E0, "_ZN6CSG55011GetItemInfoEP8ItemInfo", CSG550::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0D450, "_ZN6CSG5506DeployEv", CSG550::Deploy), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0DA10, "_ZN6CSG55011GetMaxSpeedEv", CSG550::GetMaxSpeed), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0DA30, "_ZN6CSG5509iItemSlotEv", CSG550::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0D480, "_ZN6CSG55015SecondaryAttackEv", CSG550::SecondaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0D560, "_ZN6CSG55013PrimaryAttackEv", CSG550::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0D920, "_ZN6CSG5506ReloadEv", CSG550::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D0D990, "_ZN6CSG55010WeaponIdleEv", CSG550::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D0DA40, "_ZN6CSG55012UseDecrementEv", CSG550::UseDecrement), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D0D2C0, weapon_sg550), + HOOK_SYMBOLDEF(0x01D0D610, "_ZN6CSG5509SG550FireEffi", CSG550::SG550Fire), +//CGalil + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D06AC0, "_ZN6CGalil5SpawnEv", CGalil::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D06B00, "_ZN6CGalil8PrecacheEv", CGalil::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D06B80, "_ZN6CGalil11GetItemInfoEP8ItemInfo", CGalil::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D06BF0, "_ZN6CGalil6DeployEv", CGalil::Deploy), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D07170, "_ZN6CGalil11GetMaxSpeedEv", CGalil::GetMaxSpeed), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D07160, "_ZN6CGalil9iItemSlotEv", CGalil::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D06C40, "_ZN6CGalil15SecondaryAttackEv", CGalil::SecondaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D06C50, "_ZN6CGalil13PrimaryAttackEv", CGalil::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D070A0, "_ZN6CGalil6ReloadEv", CGalil::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D070F0, "_ZN6CGalil10WeaponIdleEv", CGalil::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D07180, "_ZN6CGalil12UseDecrementEv", CGalil::UseDecrement), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D06A70, weapon_galil), + HOOK_SYMBOLDEF(0x01D06D20, "_ZN6CGalil9GalilFireEffi", CGalil::GalilFire), +//CFamas + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D04A50, "_ZN6CFamas5SpawnEv", CFamas::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D04AA0, "_ZN6CFamas8PrecacheEv", CFamas::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D04B40, "_ZN6CFamas11GetItemInfoEP8ItemInfo", CFamas::GetItemInfo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D04BB0, "_ZN6CFamas6DeployEv", CFamas::Deploy), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D05210, "_ZN6CFamas11GetMaxSpeedEv", CFamas::GetMaxSpeed), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D05200, "_ZN6CFamas9iItemSlotEv", CFamas::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D04C10, "_ZN6CFamas15SecondaryAttackEv", CFamas::SecondaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D04C90, "_ZN6CFamas13PrimaryAttackEv", CFamas::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D05120, "_ZN6CFamas6ReloadEv", CFamas::Reload), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D05190, "_ZN6CFamas10WeaponIdleEv", CFamas::WeaponIdle), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D05220, "_ZN6CFamas12UseDecrementEv", CFamas::UseDecrement), // DEFAULT + // non-virtual func + HOOK_DEF(0x01D04A00, weapon_famas), + HOOK_SYMBOLDEF(0x01D04D70, "_ZN6CFamas9FamasFireEffii", CFamas::FamasFire), +//CArmoury + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DD0E50, "_ZN8CArmoury5SpawnEv", CArmoury::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DD1230, "_ZN8CArmoury8PrecacheEv", CArmoury::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DD10A0, "_ZN8CArmoury7RestartEv", CArmoury::Restart), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DD0D80, "_ZN8CArmoury8KeyValueEP14KeyValueData_s", CArmoury::KeyValue), + // non-virtual func + HOOK_DEF(0x01DD0E00, armoury_entity), + HOOK_SYMBOLDEF(0x01DD0A10, "_ZN8CArmoury12ArmouryTouchEP11CBaseEntity", CArmoury::ArmouryTouch), + +#endif // Weapons_Region + +#ifndef GGrenade_Region + + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D831C0, "_ZN8CGrenade5SpawnEv", CGrenade::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D84820, "_ZN8CGrenade4SaveER5CSave", CGrenade::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D84850, "_ZN8CGrenade7RestoreER8CRestore", CGrenade::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D594F0, "_ZN8CGrenade10ObjectCapsEv", CGrenade::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D82320, "_ZN8CGrenade6KilledEP9entvars_si", CGrenade::Killed), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D83560, "_ZN8CGrenade10BloodColorEv", CGrenade::BloodColor), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D83720, "_ZN8CGrenade3UseEP11CBaseEntityS1_8USE_TYPEf", CGrenade::Use), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D82E00, "_ZN8CGrenade11BounceSoundEv", CGrenade::BounceSound), + // non-virtual func + //HOOK_DEF(0x0, AnnounceFlashInterval), // NOXREF + HOOK_SYMBOLDEF(0x01D83570, "_ZN8CGrenade10ShootTimedEP9entvars_s6VectorS2_f", CGrenade::ShootTimed), + HOOK_SYMBOLDEF(0x01D833D0, "_ZN8CGrenade11ShootTimed2EP9entvars_s6VectorS2_fit", CGrenade::ShootTimed2), + //HOOK_SYMBOLDEF(0x01D832C0, "_ZN8CGrenade12ShootContactEP9entvars_s6VectorS2_", CGrenade::ShootContact), // NOXREF + HOOK_SYMBOLDEF(0x01D83C90, "_ZN8CGrenade17ShootSmokeGrenadeEP9entvars_s6VectorS2_ft", CGrenade::ShootSmokeGrenade), + HOOK_SYMBOLDEF(0x01D839C0, "_ZN8CGrenade18ShootSatchelChargeEP9entvars_s6VectorS2_", CGrenade::ShootSatchelCharge), + //HOOK_SYMBOLDEF(0x01D84760, "_ZN8CGrenade17UseSatchelChargesEP9entvars_sNS_11SATCHELCODEE", CGrenade::UseSatchelCharges), // NOXREF + HOOK_SYMBOLDEF(0x01D80D40, "_ZN8CGrenade7ExplodeE6VectorS0_", CGrenade::Explode, void (Vector, Vector)), + HOOK_SYMBOLDEF(0x01D80DA0, "_ZN8CGrenade7ExplodeEP11TraceResulti", CGrenade::Explode, void (TraceResult *, int)), + HOOK_SYMBOLDEF(0x01D81010, "_ZN8CGrenade8Explode2EP11TraceResulti", CGrenade::Explode2), + HOOK_SYMBOLDEF(0x01D81620, "_ZN8CGrenade8Explode3EP11TraceResulti", CGrenade::Explode3), + //HOOK_SYMBOLDEF(0x01D819B0, "_ZN8CGrenade10SG_ExplodeEP11TraceResulti", CGrenade::SG_Explode), // NOXREF + HOOK_SYMBOLDEF(0x01D82050, "_ZN8CGrenade5SmokeEv", CGrenade::Smoke), + HOOK_SYMBOLDEF(0x01D81F50, "_ZN8CGrenade6Smoke2Ev", CGrenade::Smoke2), + HOOK_SYMBOLDEF(0x01D81DF0, "_ZN8CGrenade8Smoke3_AEv", CGrenade::Smoke3_A), + HOOK_SYMBOLDEF(0x01D81C90, "_ZN8CGrenade8Smoke3_BEv", CGrenade::Smoke3_B), + HOOK_SYMBOLDEF(0x01D81B70, "_ZN8CGrenade8Smoke3_CEv", CGrenade::Smoke3_C), + HOOK_SYMBOLDEF(0x01D82150, "_ZN8CGrenade8SG_SmokeEv", CGrenade::SG_Smoke), + HOOK_SYMBOLDEF(0x01D82B10, "_ZN8CGrenade11BounceTouchEP11CBaseEntity", CGrenade::BounceTouch), + HOOK_SYMBOLDEF(0x01D82D80, "_ZN8CGrenade10SlideTouchEP11CBaseEntity", CGrenade::SlideTouch), + HOOK_SYMBOLDEF(0x01D83E60, "_ZN8CGrenade7C4ThinkEv", CGrenade::C4Think), + HOOK_SYMBOLDEF(0x01D84750, "_ZN8CGrenade7C4TouchEP11CBaseEntity", CGrenade::C4Touch), + HOOK_SYMBOLDEF(0x01D82820, "_ZN8CGrenade12ExplodeTouchEP11CBaseEntity", CGrenade::ExplodeTouch), + HOOK_SYMBOLDEF(0x01D82A00, "_ZN8CGrenade16DangerSoundThinkEv", CGrenade::DangerSoundThink), + HOOK_SYMBOLDEF(0x01D823D0, "_ZN8CGrenade11PreDetonateEv", CGrenade::PreDetonate), + HOOK_SYMBOLDEF(0x01D82410, "_ZN8CGrenade8DetonateEv", CGrenade::Detonate), + HOOK_SYMBOLDEF(0x01D824A0, "_ZN8CGrenade11SG_DetonateEv", CGrenade::SG_Detonate), + HOOK_SYMBOLDEF(0x01D82700, "_ZN8CGrenade9Detonate2Ev", CGrenade::Detonate2), + HOOK_SYMBOLDEF(0x01D82790, "_ZN8CGrenade9Detonate3Ev", CGrenade::Detonate3), + HOOK_SYMBOLDEF(0x01D823B0, "_ZN8CGrenade11DetonateUseEP11CBaseEntityS1_8USE_TYPEf", CGrenade::DetonateUse), + HOOK_SYMBOLDEF(0x01D82EE0, "_ZN8CGrenade11TumbleThinkEv", CGrenade::TumbleThink), + HOOK_SYMBOLDEF(0x01D83030, "_ZN8CGrenade14SG_TumbleThinkEv", CGrenade::SG_TumbleThink), + //linked objects + HOOK_DEF(0x01D80CF0, grenade), + +#endif // GGrenade_Region + +#ifndef Animation_Region + + HOOK_SYMBOLDEF(0x01D5A650, "_Z11ExtractBboxPviPfS0_", ExtractBbox), + HOOK_SYMBOLDEF(0x01D5A6B0, "_Z14LookupActivityPvP9entvars_si", LookupActivity), + HOOK_SYMBOLDEF(0x01D5A780, "_Z22LookupActivityHeaviestPvP9entvars_si", LookupActivityHeaviest), + //HOOK_SYMBOLDEF(0x01D5A7D0, "_Z14GetEyePositionPvPf", GetEyePosition), // NOXREF + HOOK_SYMBOLDEF(0x01D5A810, "_Z14LookupSequencePvPKc", LookupSequence), + //HOOK_SYMBOLDEF(0x01D5A870, "_Z12IsSoundEventi", IsSoundEvent), // NOXREF + //HOOK_SYMBOLDEF(0x01D5A890, "_Z16SequencePrecachePvPKc", SequencePrecache), // NOXREF + HOOK_SYMBOLDEF(0x01D5A9A0, "_Z15GetSequenceInfoPvP9entvars_sPfS2_", GetSequenceInfo), + HOOK_SYMBOLDEF(0x01D5AA60, "_Z16GetSequenceFlagsPvP9entvars_s", GetSequenceFlags), + HOOK_SYMBOLDEF(0x01D5AAA0, "_Z17GetAnimationEventPvP9entvars_sP14MonsterEvent_tffi", GetAnimationEvent), + HOOK_SYMBOLDEF(0x01D5ABF0, "_Z13SetControllerPvP9entvars_sif", SetController), + HOOK_SYMBOLDEF(0x01D5AD60, "_Z11SetBlendingPvP9entvars_sif", SetBlending), + HOOK_SYMBOLDEF(0x01D5AEB0, "_Z14FindTransitionPviiPi", FindTransition), + HOOK_SYMBOLDEF(0x01D5AFC0, "_Z12SetBodygroupPvP9entvars_sii", SetBodygroup), + HOOK_SYMBOLDEF(0x01D5B020, "_Z12GetBodygroupPvP9entvars_si", GetBodygroup), + HOOK_DEF(0x01D5B080, Server_GetBlendingInterface), + HOOK_SYMBOLDEF(0x01D5B0E0, "_Z15AngleQuaternionPfS_", AngleQuaternion), + HOOK_SYMBOLDEF(0x01D5B190, "_Z15QuaternionSlerpPfS_fS_", QuaternionSlerp), + HOOK_SYMBOLDEF(0x01D5B430, "_Z13StudioGetAnimP7model_sP16mstudioseqdesc_t", StudioGetAnim), + //HOOK_SYMBOLDEF(0x01D5B4C0, "_Z15LookupAnimationP11studiohdr_tP7model_sP16mstudioseqdesc_ti", LookupAnimation), // NOXREF + HOOK_SYMBOLDEF(0x01D5B500, "_Z17StudioCalcBoneAdjfPfPKhS1_h", StudioCalcBoneAdj), + HOOK_SYMBOLDEF(0x01D5B720, "_Z23StudioCalcBoneQuaterionifP13mstudiobone_tP13mstudioanim_tPfS3_", StudioCalcBoneQuaterion), + HOOK_SYMBOLDEF(0x01D5B8E0, "_Z22StudioCalcBonePositionifP13mstudiobone_tP13mstudioanim_tPfS3_", StudioCalcBonePosition), + HOOK_SYMBOLDEF(0x01D5BA20, "_Z16StudioSlerpBonesPA4_fPA3_fS0_S2_f", StudioSlerpBones), + //HOOK_SYMBOLDEF(0x01D5BB50, "_Z19StudioCalcRotationsP13mstudiobone_tPiiPfPA3_fPA4_fP16mstudioseqdesc_tP13mstudioanim_tff", StudioCalcRotations), // NOXREF + HOOK_SYMBOLDEF(0x01D5BBE0, "_Z16ConcatTransformsPA4_fS0_S0_", ConcatTransforms), + +#if 1 + // NOTE: both functions must be involved in the hooks or also both disable their. + HOOK_SYMBOLDEF(0x01D5B350, "_Z16QuaternionMatrixPfPA4_f", QuaternionMatrix), + HOOK_SYMBOLDEF(0x01D5BD20, "_Z19SV_StudioSetupBonesP7model_sfiPKfS2_PKhS4_iPK7edict_s", SV_StudioSetupBones), +#endif + +#endif // Animation_Region + +#ifndef MemoryPool_Region + + //HOOK_SYMBOLDEF(0x01D8A2D0, "_ZN11CMemoryPoolC2Eii", CMemoryPool::CMemoryPool), // NOXREF + HOOK_SYMBOLDEF(0x01D8A330, "_ZN11CMemoryPool10AddNewBlobEv", CMemoryPool::AddNewBlob), + HOOK_SYMBOLDEF(0x01D8A3D0, "_ZN11CMemoryPool5AllocEj", CMemoryPool::Alloc), + HOOK_SYMBOLDEF(0x01D8A420, "_ZN11CMemoryPool4FreeEPv", CMemoryPool::Free), + +#endif // MemoryPool_Region + +#ifndef Unicode_StrTools_Region + + //HOOK_SYMBOLDEF(0x0, "_Z16Q_IsValidUChar32w", Q_IsValidUChar32), + +#ifdef _WIN32 + HOOK_DEF(0x01DDE010, Q_UTF32ToUChar32), +#endif // _WIN32 + + //HOOK_DEF(0x0, Q_UChar32ToUTF32Len), + //HOOK_DEF(0x0, Q_UChar32ToUTF32), + //HOOK_DEF(0x01DDDEE0, Q_UChar32ToUTF8Len), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_Z19Q_UChar32ToUTF16Lenw", Q_UChar32ToUTF16Len), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_Z16Q_UChar32ToUTF16wPt", Q_UChar32ToUTF16), // NOXREF + //HOOK_SYMBOLDEF(0x01DDDF70, "_Z15Q_UChar32ToUTF8wPc", Q_UChar32ToUTF8), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_Z16Q_UTF16ToUChar32PKtRwRb", Q_UTF16ToUChar32), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_Z13Q_UTF8ToUTF16PKcPti25EStringConvertErrorPolicy", Q_UTF8ToUTF16), // NOXREF + //HOOK_SYMBOLDEF(0x01DDFA30, "_Z13Q_UTF8ToUTF32PKcPwi25EStringConvertErrorPolicy", Q_UTF8ToUTF32), + //HOOK_SYMBOLDEF(0x0, "_Z13Q_UTF16ToUTF8PKtPci25EStringConvertErrorPolicy", Q_UTF16ToUTF8), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_Z14Q_UTF16ToUTF32PKtPwi25EStringConvertErrorPolicy", Q_UTF16ToUTF32), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_Z13Q_UTF32ToUTF8PKwPci25EStringConvertErrorPolicy", Q_UTF32ToUTF8), // NOXREF + //HOOK_SYMBOLDEF(0x01DDEB00, "_Z14Q_UTF32ToUTF16PKwPti25EStringConvertErrorPolicy", Q_UTF32ToUTF16), // NOXREF + //HOOK_SYMBOLDEF(0x01DDECA0, "_Z15Q_UTF8ToUChar32PKcRwRb", Q_UTF8ToUChar32), + HOOK_DEF(0x01DDEE00, Q_UnicodeValidate), + //HOOK_DEF(0x01DDEE50, Q_UnicodeLength), // NOXREF + //HOOK_DEF(0x01DDEE80, Q_UnicodeAdvance), + //HOOK_SYMBOLDEF(0x01DDEEC0, "_Z14Q_IsMeanSpaceWw", Q_IsMeanSpaceW), // NOXREF + //HOOK_SYMBOLDEF(0x01DDF150, "_Z15Q_IsDeprecatedWw", Q_IsDeprecatedW), // NOXREF + //HOOK_DEF(0x0, StripWhitespaceWorker), // NOXREF + //HOOK_DEF(0x0, StripUnprintableWorker), // NOXREF + HOOK_DEF(0x01DDF1D0, Q_StripUnprintableAndSpace), + //HOOK_DEF(0x01DDF8A0, V_UTF8ToUChar32), // NOXREF + //HOOK_DEF(0x01DDF8D0, Q_UnicodeRepair), // NOXREF + +#endif // Unicode_StrTools_Region + +#ifndef CUtlSymbol_Region + + //HOOK_SYMBOLDEF(0x01DC81F0, "_ZN10CUtlSymbolC2EPKc", CUtlSymbol::CUtlSymbol), + //HOOK_SYMBOLDEF(0x01DC80D0, "_ZN10CUtlSymbol10InitializeEv", CUtlSymbol::Initialize), + //HOOK_SYMBOLDEF(0x01DC8160, "_ZN10CUtlSymbol9CurrTableEv", CUtlSymbol::CurrTable), + //HOOK_SYMBOLDEF(0x01DC82A0, "_ZNK10CUtlSymbol6StringEv", CUtlSymbol::String), + //HOOK_SYMBOLDEF(0x01DC82E0, "_ZNK10CUtlSymboleqEPKc", CUtlSymbol::operator==), + //HOOK_SYMBOLDEF(0x01DC8390, "_ZN15CUtlSymbolTable7SymLessERKjS1_", CUtlSymbolTable::SymLess), + //HOOK_SYMBOLDEF(0x01DC8410, "_ZN15CUtlSymbolTable8SymLessiERKjS1_", CUtlSymbolTable::SymLessi), + //HOOK_SYMBOLDEF(0x01DC8460, "_ZN15CUtlSymbolTableC2Eiib", CUtlSymbolTable::CUtlSymbolTable), // NOXREF + //HOOK_SYMBOLDEF(0x01DC84D0, "_ZN15CUtlSymbolTableD2Ev", CUtlSymbolTable::~CUtlSymbolTable), // NOXREF + //HOOK_SYMBOLDEF(0x01DC8540, "_ZN15CUtlSymbolTable4FindEPKc", CUtlSymbolTable::Find), // NOXREF + //HOOK_SYMBOLDEF(0x01DC87D0, "_ZNK15CUtlSymbolTable6StringE10CUtlSymbol", CUtlSymbolTable::String), + //HOOK_SYMBOLDEF(0x01DC8800, "_ZN15CUtlSymbolTable9RemoveAllEv", CUtlSymbolTable::RemoveAll), + //HOOK_SYMBOLDEF(0x01DC8680, "_ZN15CUtlSymbolTable9AddStringEPKc", CUtlSymbolTable::AddString), + +#endif // CUtlSymbol_Region + +#ifndef Debug_Region + + //HOOK_DEF(0x0, IsDeveloper), // NOXREF + //HOOK_SYMBOLDEF(0x01D732D0, "_Z12UTIL_DPrintf15DebugOutputTypePcz", UTIL_DPrintf, void(DebugOutputType outputType, char *pszMsg, ...)), // NOXREF + HOOK_SYMBOLDEF(0x01D73320, "_Z12UTIL_DPrintfPcz", UTIL_DPrintf, void(char *pszMsg, ...)), + + //HOOK_SYMBOLDEF(0x01D73360, "_Z20UTIL_SetDprintfFlagsPKc", PrintDebugFlags), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZL12SetDebugFlagPKcb", SetDebugFlag), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_Z14PrintDebugFlagPKc", PrintDebugFlag), // NOXREF + HOOK_SYMBOLDEF(0x01D73410, "_Z20UTIL_SetDprintfFlagsPKc", UTIL_SetDprintfFlags), + //HOOK_SYMBOLDEF(0x01D73690, "_Z15UTIL_BotDPrintfPcz", UTIL_BotDPrintf), // NOXREF + HOOK_SYMBOLDEF(0x01D736E0, "_Z18UTIL_CareerDPrintfPcz", UTIL_CareerDPrintf), + //HOOK_SYMBOLDEF(0x01D73730, "_Z17UTIL_TutorDPrintfPcz", UTIL_TutorDPrintf), // NOXREF + //HOOK_SYMBOLDEF(0x01D73780, "_Z17UTIL_StatsDPrintfPcz", UTIL_StatsDPrintf), // NOXREF + //HOOK_SYMBOLDEF(0x01D737D0, "_Z19UTIL_HostageDPrintfPcz", UTIL_HostageDPrintf), // NOXREF + +#endif // Debug_Region + +#ifndef CS_Bot_Region +//Bot Manager + // virtual func + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D341B0, CCSBotManager, "_ZN11CBotManager12RestartRoundEv", CBotManager::RestartRound), + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D34210, CCSBotManager, "_ZN11CBotManager10StartFrameEv", CBotManager::StartFrame), + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D34540, CCSBotManager, "_ZN11CBotManager7OnEventE13GameEventTypeP11CBaseEntityS2_", CBotManager::OnEvent), + // non-virtual func + //HOOK_DEF(0x01D34170, MethodThunk::Constructor), + HOOK_SYMBOLDEF(0x01D34510, "_ZNK11CBotManager17GetNavMapFilenameEv", CBotManager::GetNavMapFilename), + HOOK_SYMBOLDEF(0x01D34650, "_ZN11CBotManager10AddGrenadeEiP8CGrenade", CBotManager::AddGrenade), + HOOK_SYMBOLDEF(0x01D346C0, "_ZN11CBotManager13RemoveGrenadeEP8CGrenade", CBotManager::RemoveGrenade), + //HOOK_SYMBOLDEF(0x01D346F0, "_ZN11CBotManager22ValidateActiveGrenadesEv", CBotManager::ValidateActiveGrenades), // NOXREF + //HOOK_SYMBOLDEF(0x01D34740, "_ZN11CBotManager18DestroyAllGrenadesEv", CBotManager::DestroyAllGrenades), // NOXREF + HOOK_SYMBOLDEF(0x01D347A0, "_ZN11CBotManager18IsInsideSmokeCloudEPK6Vector", CBotManager::IsInsideSmokeCloud), + HOOK_SYMBOLDEF(0x01D34850, "_ZN11CBotManager20IsLineBlockedBySmokeEPK6VectorS2_", CBotManager::IsLineBlockedBySmoke), + // non-class func + HOOK_SYMBOLDEF(0x01D34120, "_Z15NameToGameEventPKc", NameToGameEvent), +//CCSBotManager + // virtual func + //HOOK_DEF(0x01D22D60, MethodThunk::Constructor), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D23770, "_ZN13CCSBotManager16ClientDisconnectEP11CBasePlayer", CCSBotManager::ClientDisconnect), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D24880, "_ZN13CCSBotManager13ClientCommandEP11CBasePlayerPKc", CCSBotManager::ClientCommand), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D234D0, "_ZN13CCSBotManager14ServerActivateEv", CCSBotManager::ServerActivate), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D23760, "_ZN13CCSBotManager16ServerDeactivateEv", CCSBotManager::ServerDeactivate), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D23900, "_ZN13CCSBotManager13ServerCommandEPKc", CCSBotManager::ServerCommand), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D23520, "_ZN13CCSBotManager16AddServerCommandEPKc", CCSBotManager::AddServerCommand), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D23540, "_ZN13CCSBotManager17AddServerCommandsEv", CCSBotManager::AddServerCommands), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D22F40, "_ZN13CCSBotManager12RestartRoundEv", CCSBotManager::RestartRound), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D23200, "_ZN13CCSBotManager10StartFrameEv", CCSBotManager::StartFrame), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D25780, "_ZN13CCSBotManager7OnEventE13GameEventTypeP11CBaseEntityS2_", CCSBotManager::OnEvent), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D25970, "_ZNK13CCSBotManager17GetPlayerPriorityEP11CBasePlayer", CCSBotManager::GetPlayerPriority), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D25920, "_ZNK13CCSBotManager17IsImportantPlayerEP11CBasePlayer", CCSBotManager::IsImportantPlayer), + // non-virtual func + HOOK_SYMBOLDEF(0x01D24D90, "_ZN13CCSBotManager15ValidateMapDataEv", CCSBotManager::ValidateMapData), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager13IsLearningMapEv", CCSBotManager::IsLearningMap), + //HOOK_SYMBOLDEF(0x0, "_ZN13CCSBotManager18SetLearningMapFlagEv", CCSBotManager::SetLearningMapFlag), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager19IsAnalysisRequestedEv", CCSBotManager::IsAnalysisRequested), + //HOOK_SYMBOLDEF(0x0, "_ZN13CCSBotManager15RequestAnalysisEv", CCSBotManager::RequestAnalysis), + //HOOK_SYMBOLDEF(0x0, "_ZN13CCSBotManager18AckAnalysisRequestEv", CCSBotManager::AckAnalysisRequest), + //HOOK_SYMBOLDEF(0x0, "_ZN13CCSBotManager18GetDifficultyLevelEv", CCSBotManager::BotDifficultyType GetDifficultyLevel), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager11GetScenarioEv", CCSBotManager::GameScenarioType GetScenario), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager7GetZoneEi", CCSBotManager::GetZone, const CCSBotManager::Zone *(int) const), // NOXREF + HOOK_SYMBOLDEF(0x01D25530, "_ZNK13CCSBotManager7GetZoneEPK6Vector", CCSBotManager::GetZone, const CCSBotManager::Zone *(const Vector *) const), + //HOOK_SYMBOLDEF(0x01D255C0, "_ZNK13CCSBotManager14GetClosestZoneEPK6Vector", CCSBotManager::GetClosestZone, const CCSBotManager::Zone *(const Vector *) const), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager14GetClosestZoneEPK11CBaseEntity", CCSBotManager::GetClosestZone, const CCSBotManager::Zone *(const CBaseEntity *) const), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager12GetZoneCountEv", CCSBotManager::GetZoneCount), + HOOK_SYMBOLDEF(0x01D25630, "_ZNK13CCSBotManager23GetRandomPositionInZoneEPKNS_4ZoneE", CCSBotManager::GetRandomPositionInZone), + HOOK_SYMBOLDEF(0x01D25750, "_ZNK13CCSBotManager19GetRandomAreaInZoneEPKNS_4ZoneE", CCSBotManager::GetRandomAreaInZone), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager13GetRandomZoneEv", CCSBotManager::GetRandomZone), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager13IsBombPlantedEv", CCSBotManager::IsBombPlanted), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager21GetBombPlantTimestampEv", CCSBotManager::GetBombPlantTimestamp), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager17IsTimeToPlantBombEv", CCSBotManager::IsTimeToPlantBomb), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager14GetBombDefuserEv", CCSBotManager::GetBombDefuser), + HOOK_SYMBOLDEF(0x01D258B0, "_ZNK13CCSBotManager15GetBombTimeLeftEv", CCSBotManager::GetBombTimeLeft), + //HOOK_SYMBOLDEF(0x0, "_ZN13CCSBotManager12GetLooseBombEv", CCSBotManager::GetLooseBomb), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager16GetLooseBombAreaEv", CCSBotManager::GetLooseBombArea), + HOOK_SYMBOLDEF(0x01D258D0, "_ZN13CCSBotManager12SetLooseBombEP11CBaseEntity", CCSBotManager::SetLooseBomb), + HOOK_SYMBOLDEF(0x01D25A10, "_ZNK13CCSBotManager24GetRadioMessageTimestampE13GameEventTypei", CCSBotManager::GetRadioMessageTimestamp), + HOOK_SYMBOLDEF(0x01D25A40, "_ZNK13CCSBotManager23GetRadioMessageIntervalE13GameEventTypei", CCSBotManager::GetRadioMessageInterval), + HOOK_SYMBOLDEF(0x01D25A70, "_ZN13CCSBotManager24SetRadioMessageTimestampE13GameEventTypei", CCSBotManager::SetRadioMessageTimestamp), + //HOOK_SYMBOLDEF(0x01D25AA0, "_ZN13CCSBotManager27ResetRadioMessageTimestampsEv", CCSBotManager::ResetRadioMessageTimestamps), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager25GetLastSeenEnemyTimestampEv", CCSBotManager::GetLastSeenEnemyTimestamp), + //HOOK_SYMBOLDEF(0x0, "_ZN13CCSBotManager25SetLastSeenEnemyTimestampEv", CCSBotManager::SetLastSeenEnemyTimestamp), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager17GetRoundStartTimeEv", CCSBotManager::GetRoundStartTime), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager19GetElapsedRoundTimeEv", CCSBotManager::GetElapsedRoundTime), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager11AllowRoguesEv", CCSBotManager::AllowRogues), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager12AllowPistolsEv", CCSBotManager::AllowPistols), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager13AllowShotgunsEv", CCSBotManager::AllowShotguns), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager19AllowSubMachineGunsEv", CCSBotManager::AllowSubMachineGuns), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager11AllowRiflesEv", CCSBotManager::AllowRifles), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager16AllowMachineGunsEv", CCSBotManager::AllowMachineGuns), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager13AllowGrenadesEv", CCSBotManager::AllowGrenades), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager12AllowSnipersEv", CCSBotManager::AllowSnipers), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager19AllowTacticalShieldEv", CCSBotManager::AllowTacticalShield), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager23AllowFriendlyFireDamageEv", CCSBotManager::AllowFriendlyFireDamage), + HOOK_SYMBOLDEF(0x01D232D0, "_ZN13CCSBotManager15IsWeaponUseableEP15CBasePlayerItem", CCSBotManager::IsWeaponUseable), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager16IsDefenseRushingEv", CCSBotManager::IsDefenseRushing), + //HOOK_SYMBOLDEF(0x01D23410, "_ZNK13CCSBotManager11IsOnDefenseEPK11CBasePlayer", CCSBotManager::IsOnDefense), // NOXREF + HOOK_SYMBOLDEF(0x01D23460, "_ZNK13CCSBotManager11IsOnOffenseEPK11CBasePlayer", CCSBotManager::IsOnOffense), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager11IsRoundOverEv", CCSBotManager::IsRoundOver), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CCSBotManager11GetNavPlaceEv", CCSBotManager::GetNavPlace), + //HOOK_SYMBOLDEF(0x0, "_ZN13CCSBotManager11SetNavPlaceEj", CCSBotManager::SetNavPlace), + //HOOK_SYMBOLDEF(0x01D24D10, "_ZN13CCSBotManager15MonitorBotCVarsEv", CCSBotManager::MonitorBotCVars), // NOXREF + HOOK_SYMBOLDEF(0x01D24AE0, "_ZN13CCSBotManager16MaintainBotQuotaEv", CCSBotManager::MaintainBotQuota), + //HOOK_SYMBOLDEF(0x0, "_ZN13CCSBotManager16GetRandomBotNameENS_9SkillTypeE", CCSBotManager::GetRandomBotName), + HOOK_SYMBOLDEF(0x01D25270, "_ZN13CCSBotManager6AddBotEPK10BotProfile18BotProfileTeamType", CCSBotManager::AddBot), + HOOK_SYMBOLDEF(0x01D248B0, "_ZN13CCSBotManager13BotAddCommandE18BotProfileTeamTypeb", CCSBotManager::BotAddCommand), + //HOOK_SYMBOLDEF(0x01D238A0, "_Z16PrintAllEntitiesv", PrintAllEntities), // NOXREF + HOOK_SYMBOLDEF(0x01D23020, "_Z12UTIL_DrawBoxP6Extentiiii", UTIL_DrawBox), +//CCSBot + //HOOK_SYMBOLDEF(0x01D208C0, "_ZN6CCSBotC2Ev", CCSBot::CCSBot), + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D173D0, "_ZN6CCSBot10TakeDamageEP9entvars_sS1_fi", CCSBot::TakeDamage), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D175A0, "_ZN6CCSBot6KilledEP9entvars_si", CCSBot::Killed), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D20EC0, "_ZN6CCSBot12RoundRespawnEv", CCSBot::RoundRespawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D30A80, "_ZN6CCSBot5BlindEfffi", CCSBot::Blind), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D32370, "_ZN6CCSBot16OnTouchingWeaponEP10CWeaponBox", CCSBot::OnTouchingWeapon), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D20A60, "_ZN6CCSBot10InitializeEPK10BotProfile", CCSBot::Initialize), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D20E40, "_ZN6CCSBot8SpawnBotEv", CCSBot::SpawnBot), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D2D370, "_ZN6CCSBot6UpkeepEv", CCSBot::Upkeep), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D2D9B0, "_ZN6CCSBot6UpdateEv", CCSBot::Update), // using refs HOOK: FIX ME + HOOK_SYMBOL_VIRTUAL_DEF(0x01D17370, "_ZN6CCSBot4WalkEv", CCSBot::Walk), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D173A0, "_ZN6CCSBot4JumpEb", CCSBot::Jump), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D1F990, "_ZN6CCSBot7OnEventE13GameEventTypeP11CBaseEntityS2_", CCSBot::OnEvent), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D2F490, "_ZNK6CCSBot9IsVisibleEPK6Vectorb", CCSBot::IsVisible, bool (const Vector *, bool) const), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D2F5C0, "_ZNK6CCSBot9IsVisibleEP11CBasePlayerbPh", CCSBot::IsVisible, bool (CBasePlayer *, bool, unsigned char *) const), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D21390, "_ZNK6CCSBot18IsEnemyPartVisibleEN4CBot15VisiblePartTypeE", CCSBot::IsEnemyPartVisible), + // non-virtual func + HOOK_SYMBOLDEF(0x01D20EE0, "_ZN6CCSBot10DisconnectEv", CCSBot::Disconnect), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot14GetCombatRangeEv", CCSBot::GetCombatRange), + HOOK_SYMBOLDEF(0x01D184D0, "_ZNK6CCSBot7IsRogueEv", CCSBot::IsRogue), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot8SetRogueEb", CCSBot::SetRogue), + HOOK_SYMBOLDEF(0x01D185C0, "_ZNK6CCSBot10IsHurryingEv", CCSBot::IsHurrying), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot5HurryEf", CCSBot::Hurry), + HOOK_SYMBOLDEF(0x01D18620, "_ZNK6CCSBot6IsSafeEv", CCSBot::IsSafe), + HOOK_SYMBOLDEF(0x01D18650, "_ZNK6CCSBot14IsWellPastSafeEv", CCSBot::IsWellPastSafe), + HOOK_SYMBOLDEF(0x01D18680, "_ZNK6CCSBot15IsEndOfSafeTimeEv", CCSBot::IsEndOfSafeTime), + HOOK_SYMBOLDEF(0x01D186C0, "_ZNK6CCSBot20GetSafeTimeRemainingEv", CCSBot::GetSafeTimeRemaining), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot11GetSafeTimeEv", CCSBot::GetSafeTime), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot11IsUnhealthyEv", CCSBot::IsUnhealthy), // NOXREF + HOOK_SYMBOLDEF(0x01D2BE50, "_ZN6CCSBot4IdleEv", CCSBot::Idle), + HOOK_SYMBOLDEF(0x01D2C360, "_ZN6CCSBot4HideEP8CNavAreaffb", CCSBot::Hide, void (CNavArea *, float, float, bool)), + HOOK_SYMBOLDEF(0x01D2C620, "_ZN6CCSBot4HideEPK6Vectorfb", CCSBot::Hide, void (const Vector *, float, bool)), + HOOK_SYMBOLDEF(0x01D2C830, "_ZN6CCSBot9TryToHideEP8CNavAreaffbb", CCSBot::TryToHide), + HOOK_SYMBOLDEF(0x01D2CA10, "_ZN6CCSBot12TryToRetreatEv", CCSBot::TryToRetreat), + HOOK_SYMBOLDEF(0x01D2CEA0, "_ZNK6CCSBot8IsHidingEv", CCSBot::IsHiding), + HOOK_SYMBOLDEF(0x01D2CEC0, "_ZNK6CCSBot14IsAtHidingSpotEv", CCSBot::IsAtHidingSpot), + HOOK_SYMBOLDEF(0x01D2CA90, "_ZN6CCSBot4HuntEv", CCSBot::Hunt), + HOOK_SYMBOLDEF(0x01D2CEE0, "_ZNK6CCSBot9IsHuntingEv", CCSBot::IsHunting), + HOOK_SYMBOLDEF(0x01D2CB60, "_ZN6CCSBot6AttackEP11CBasePlayer", CCSBot::Attack), + HOOK_SYMBOLDEF(0x01D30B70, "_ZN6CCSBot17FireWeaponAtEnemyEv", CCSBot::FireWeaponAtEnemy), + HOOK_SYMBOLDEF(0x01D2CD80, "_ZN6CCSBot13StopAttackingEv", CCSBot::StopAttacking), + HOOK_SYMBOLDEF(0x01D2CE50, "_ZNK6CCSBot11IsAttackingEv", CCSBot::IsAttacking), + HOOK_SYMBOLDEF(0x01D2CF40, "_ZN6CCSBot6MoveToEPK6Vector9RouteType", CCSBot::MoveTo), + //HOOK_SYMBOLDEF(0x01D2CF00, "_ZNK6CCSBot10IsMovingToEv", CCSBot::IsMovingTo), // NOXREF + HOOK_SYMBOLDEF(0x01D2D030, "_ZN6CCSBot9PlantBombEv", CCSBot::PlantBomb), + HOOK_SYMBOLDEF(0x01D2D100, "_ZN6CCSBot9FetchBombEv", CCSBot::FetchBomb), + HOOK_SYMBOLDEF(0x01D17EA0, "_ZNK6CCSBot15NoticeLooseBombEv", CCSBot::NoticeLooseBomb), + HOOK_SYMBOLDEF(0x01D17EC0, "_ZNK6CCSBot15CanSeeLooseBombEv", CCSBot::CanSeeLooseBomb), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot14IsCarryingBombEv", CCSBot::IsCarryingBomb), + HOOK_SYMBOLDEF(0x01D2D1D0, "_ZN6CCSBot10DefuseBombEv", CCSBot::DefuseBomb), + HOOK_SYMBOLDEF(0x01D2CE80, "_ZNK6CCSBot14IsDefusingBombEv", CCSBot::IsDefusingBomb), + HOOK_SYMBOLDEF(0x01D17F00, "_ZNK6CCSBot17CanSeePlantedBombEv", CCSBot::CanSeePlantedBomb), + HOOK_SYMBOLDEF(0x01D2BF10, "_ZN6CCSBot14EscapeFromBombEv", CCSBot::EscapeFromBomb), + HOOK_SYMBOLDEF(0x01D2CE60, "_ZNK6CCSBot18IsEscapingFromBombEv", CCSBot::IsEscapingFromBomb), + //HOOK_SYMBOLDEF(0x01D2C260, "_ZN6CCSBot14RescueHostagesEv", CCSBot::RescueHostages), // NOXREF + HOOK_SYMBOLDEF(0x01D2C280, "_ZN6CCSBot9UseEntityEP11CBaseEntity", CCSBot::UseEntity), + HOOK_SYMBOLDEF(0x01D2CF20, "_ZNK6CCSBot8IsBuyingEv", CCSBot::IsBuying), + HOOK_SYMBOLDEF(0x01D17B80, "_ZN6CCSBot5PanicEP11CBasePlayer", CCSBot::Panic), + HOOK_SYMBOLDEF(0x01D2BFF0, "_ZN6CCSBot6FollowEP11CBasePlayer", CCSBot::Follow), + HOOK_SYMBOLDEF(0x01D2C130, "_ZN6CCSBot17ContinueFollowingEv", CCSBot::ContinueFollowing), + HOOK_SYMBOLDEF(0x01D2C230, "_ZN6CCSBot13StopFollowingEv", CCSBot::StopFollowing), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot11IsFollowingEv", CCSBot::IsFollowing), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot15GetFollowLeaderEv", CCSBot::GetFollowLeader), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot17GetFollowDurationEv", CCSBot::GetFollowDuration), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot13CanAutoFollowEv", CCSBot::CanAutoFollow), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot11IsNotMovingEv", CCSBot::IsNotMoving), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot10AimAtEnemyEv", CCSBot::AimAtEnemy), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot10StopAimingEv", CCSBot::StopAiming), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot15IsAimingAtEnemyEv", CCSBot::IsAimingAtEnemy), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot11IsSurprisedEv", CCSBot::IsSurprised), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot16GetSurpriseDelayEv", CCSBot::GetSurpriseDelay), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot18ClearSurpriseDelayEv", CCSBot::ClearSurpriseDelay), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot17GetStateTimestampEv", CCSBot::GetStateTimestamp), + HOOK_SYMBOLDEF(0x01D17E70, "_ZNK6CCSBot15IsDoingScenarioEv", CCSBot::IsDoingScenario), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot12GetGameStateEv", CCSBot::GetGameState, const CSGameState *() const), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot12GetGameStateEv", CCSBot::GetGameState, CSGameState *()), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot12IsAtBombsiteEv", CCSBot::IsAtBombsite), + HOOK_SYMBOLDEF(0x01D18740, "_ZN6CCSBot15GuardRandomZoneEf", CCSBot::GuardRandomZone), + HOOK_SYMBOLDEF(0x01D17900, "_ZNK6CCSBot6IsBusyEv", CCSBot::IsBusy), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot7SetTaskENS_8TaskTypeEP11CBaseEntity", CCSBot::SetTask), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot7GetTaskEv", CCSBot::GetTask), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot13GetTaskEntityEv", CCSBot::GetTaskEntity), + HOOK_SYMBOLDEF(0x01D18420, "_ZN6CCSBot14SetDispositionENS_15DispositionTypeE", CCSBot::SetDisposition), + HOOK_SYMBOLDEF(0x01D18440, "_ZNK6CCSBot14GetDispositionEv", CCSBot::GetDisposition), + HOOK_SYMBOLDEF(0x01D18470, "_ZN6CCSBot13IgnoreEnemiesEf", CCSBot::IgnoreEnemies), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot9GetMoraleEv", CCSBot::GetMorale), + HOOK_SYMBOLDEF(0x01D18490, "_ZN6CCSBot14IncreaseMoraleEv", CCSBot::IncreaseMorale), + HOOK_SYMBOLDEF(0x01D184B0, "_ZN6CCSBot14DecreaseMoraleEv", CCSBot::DecreaseMorale), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot12IsNoiseHeardEv", CCSBot::IsNoiseHeard), + HOOK_SYMBOLDEF(0x01D22510, "_ZN6CCSBot22ShouldInvestigateNoiseEPf", CCSBot::ShouldInvestigateNoise), + HOOK_SYMBOLDEF(0x01D2D2A0, "_ZN6CCSBot16InvestigateNoiseEv", CCSBot::InvestigateNoise), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot16GetNoisePositionEv", CCSBot::GetNoisePosition), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot12GetNoiseAreaEv", CCSBot::GetNoiseArea), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot11ForgetNoiseEv", CCSBot::ForgetNoise), + //HOOK_SYMBOLDEF(0x01D229C0, "_ZNK6CCSBot19CanSeeNoisePositionEv", CCSBot::CanSeeNoisePosition), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot13GetNoiseRangeEv", CCSBot::GetNoiseRange), // NOXREF + HOOK_SYMBOLDEF(0x01D227C0, "_ZNK6CCSBot25CanHearNearbyEnemyGunfireEf", CCSBot::CanHearNearbyEnemyGunfire), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot16GetNoisePriorityEv", CCSBot::GetNoisePriority), + HOOK_SYMBOLDEF(0x01D2BC80, "_ZN6CCSBot16SendRadioMessageE13GameEventType", CCSBot::SendRadioMessage), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot10GetChatterEv", CCSBot::GetChatter), + HOOK_SYMBOLDEF(0x01D2BA70, "_ZN6CCSBot20RespondToHelpRequestEP11CBasePlayerjf", CCSBot::RespondToHelpRequest), + HOOK_SYMBOLDEF(0x01D2B970, "_ZN6CCSBot18StartVoiceFeedbackEf", CCSBot::StartVoiceFeedback), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot12IsUsingVoiceEv", CCSBot::IsUsingVoice), + HOOK_SYMBOLDEF(0x01D179D0, "_ZN6CCSBot8SetEnemyEP11CBasePlayer", CCSBot::SetEnemy), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot8GetEnemyEv", CCSBot::GetEnemy), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot19GetNearbyEnemyCountEv", CCSBot::GetNearbyEnemyCount), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot13GetEnemyPlaceEv", CCSBot::GetEnemyPlace), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot12CanSeeBomberEv", CCSBot::CanSeeBomber), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot9GetBomberEv", CCSBot::GetBomber), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot20GetNearbyFriendCountEv", CCSBot::GetNearbyFriendCount), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot23GetClosestVisibleFriendEv", CCSBot::GetClosestVisibleFriend), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot28GetClosestVisibleHumanFriendEv", CCSBot::GetClosestVisibleHumanFriend), + HOOK_SYMBOLDEF(0x01D181A0, "_ZNK6CCSBot13IsOutnumberedEv", CCSBot::IsOutnumbered), + HOOK_SYMBOLDEF(0x01D181F0, "_ZNK6CCSBot16OutnumberedCountEv", CCSBot::OutnumberedCount), + HOOK_SYMBOLDEF(0x01D18290, "_ZNK6CCSBot17GetImportantEnemyEb", CCSBot::GetImportantEnemy), + HOOK_SYMBOLDEF(0x01D30830, "_ZN6CCSBot19UpdateReactionQueueEv", CCSBot::UpdateReactionQueue), + HOOK_SYMBOLDEF(0x01D30980, "_ZN6CCSBot18GetRecognizedEnemyEv", CCSBot::GetRecognizedEnemy), + HOOK_SYMBOLDEF(0x01D309B0, "_ZN6CCSBot26IsRecognizedEnemyReloadingEv", CCSBot::IsRecognizedEnemyReloading), + HOOK_SYMBOLDEF(0x01D309E0, "_ZN6CCSBot34IsRecognizedEnemyProtectedByShieldEv", CCSBot::IsRecognizedEnemyProtectedByShield), + //HOOK_SYMBOLDEF(0x01D30A10, "_ZN6CCSBot32GetRangeToNearestRecognizedEnemyEv", CCSBot::GetRangeToNearestRecognizedEnemy), // NOXREF + HOOK_SYMBOLDEF(0x01D17F40, "_ZNK6CCSBot11GetAttackerEv", CCSBot::GetAttacker), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot20GetTimeSinceAttackedEv", CCSBot::GetTimeSinceAttacked), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot25GetFirstSawEnemyTimestampEv", CCSBot::GetFirstSawEnemyTimestamp), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot24GetLastSawEnemyTimestampEv", CCSBot::GetLastSawEnemyTimestamp), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot24GetTimeSinceLastSawEnemyEv", CCSBot::GetTimeSinceLastSawEnemy), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot32GetTimeSinceAcquiredCurrentEnemyEv", CCSBot::GetTimeSinceAcquiredCurrentEnemy), + HOOK_SYMBOLDEF(0x01D18710, "_ZNK6CCSBot26HasNotSeenEnemyForLongTimeEv", CCSBot::HasNotSeenEnemyForLongTime), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot25GetLastKnownEnemyPositionEv", CCSBot::GetLastKnownEnemyPosition), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot14IsEnemyVisibleEv", CCSBot::IsEnemyVisible), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot22GetEnemyDeathTimestampEv", CCSBot::GetEnemyDeathTimestamp), + HOOK_SYMBOLDEF(0x01D32440, "_ZN6CCSBot20IsFriendInLineOfFireEv", CCSBot::IsFriendInLineOfFire), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot19IsAwareOfEnemyDeathEv", CCSBot::IsAwareOfEnemyDeath), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot15GetLastVictimIDEv", CCSBot::GetLastVictimID), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot7HasPathEv", CCSBot::HasPath), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot11DestroyPathEv", CCSBot::DestroyPath), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot8GetFeetZEv", CCSBot::GetFeetZ), + HOOK_SYMBOLDEF(0x01D29C80, "_ZN6CCSBot18UpdatePathMovementEb", CCSBot::UpdatePathMovement), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot11AStarSearchEP8CNavAreaS1_", CCSBot::AStarSearch), // NOXREF + HOOK_SYMBOLDEF(0x01D2A7D0, "_ZN6CCSBot11ComputePathEP8CNavAreaPK6Vector9RouteType", CCSBot::ComputePath), + HOOK_SYMBOLDEF(0x01D17A10, "_ZN6CCSBot13StayOnNavMeshEv", CCSBot::StayOnNavMesh), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot16GetLastKnownAreaEv", CCSBot::GetLastKnownArea), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot15GetPathEndpointEv", CCSBot::GetPathEndpoint), + HOOK_SYMBOLDEF(0x01D2ADE0, "_ZNK6CCSBot24GetPathDistanceRemainingEv", CCSBot::GetPathDistanceRemaining), + HOOK_SYMBOLDEF(0x01D25BC0, "_ZN6CCSBot17ResetStuckMonitorEv", CCSBot::ResetStuckMonitor), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot13IsAreaVisibleEPK8CNavArea", CCSBot::IsAreaVisible), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot15GetPathPositionEi", CCSBot::GetPathPosition), // NOXREF + HOOK_SYMBOLDEF(0x01D25FE0, "_ZN6CCSBot30GetSimpleGroundHeightWithFloorEPK6VectorPfPS0_", CCSBot::GetSimpleGroundHeightWithFloor), + HOOK_SYMBOLDEF(0x01D26060, "_ZNK6CCSBot8GetPlaceEv", CCSBot::GetPlace), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot13IsUsingLadderEv", CCSBot::IsUsingLadder), + HOOK_SYMBOLDEF(0x01D17F70, "_ZN6CCSBot12GetOffLadderEv", CCSBot::GetOffLadder), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot13SetGoalEntityEP11CBaseEntity", CCSBot::SetGoalEntity), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot13GetGoalEntityEv", CCSBot::GetGoalEntity), + HOOK_SYMBOLDEF(0x01D291D0, "_ZNK6CCSBot10IsNearJumpEv", CCSBot::IsNearJump), + HOOK_SYMBOLDEF(0x01D29230, "_ZNK6CCSBot24GetApproximateFallDamageEf", CCSBot::GetApproximateFallDamage), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot8ForceRunEf", CCSBot::ForceRun), + HOOK_SYMBOLDEF(0x01D26720, "_ZN6CCSBot6WiggleEv", CCSBot::Wiggle), + HOOK_SYMBOLDEF(0x01D29260, "_ZNK6CCSBot16IsFriendInTheWayEPK6Vector", CCSBot::IsFriendInTheWay), + HOOK_SYMBOLDEF(0x01D29500, "_ZN6CCSBot22FeelerReflexAdjustmentEP6Vector", CCSBot::FeelerReflexAdjustment), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot13SetLookAnglesEff", CCSBot::SetLookAngles), + //HOOK_SYMBOLDEF(0x01D2EDD0, "_ZN6CCSBot16UpdateLookAnglesEv", CCSBot::UpdateLookAngles), // Using REFS FIXME + HOOK_SYMBOLDEF(0x01D2F9C0, "_ZN6CCSBot16UpdateLookAroundEb", CCSBot::UpdateLookAround), + HOOK_SYMBOLDEF(0x01D2F910, "_ZN6CCSBot17InhibitLookAroundEf", CCSBot::InhibitLookAround), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot15SetForwardAngleEf", CCSBot::SetForwardAngle), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot17SetLookAheadAngleEf", CCSBot::SetLookAheadAngle), // NOXREF + HOOK_SYMBOLDEF(0x01D2F7F0, "_ZN6CCSBot9SetLookAtEPKcPK6Vector12PriorityTypefbf", CCSBot::SetLookAt), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot11ClearLookAtEv", CCSBot::ClearLookAt), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot15IsLookingAtSpotE12PriorityType", CCSBot::IsLookingAtSpot), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot12IsViewMovingEf", CCSBot::IsViewMoving), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot14GetEyePositionEv", CCSBot::GetEyePosition), + HOOK_SYMBOLDEF(0x01D32560, "_ZN6CCSBot23ComputeWeaponSightRangeEv", CCSBot::ComputeWeaponSightRange), + HOOK_SYMBOLDEF(0x01D26890, "_ZN6CCSBot21ComputeApproachPointsEv", CCSBot::ComputeApproachPoints), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot20UpdateApproachPointsEv", CCSBot::UpdateApproachPoints), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot19ClearApproachPointsEv", CCSBot::ClearApproachPoints), + HOOK_SYMBOLDEF(0x01D269D0, "_ZN6CCSBot18DrawApproachPointsEv", CCSBot::DrawApproachPoints), + HOOK_SYMBOLDEF(0x01D17FA0, "_ZNK6CCSBot27GetHidingSpotCheckTimestampEP10HidingSpot", CCSBot::GetHidingSpotCheckTimestamp), + HOOK_SYMBOLDEF(0x01D17FF0, "_ZN6CCSBot27SetHidingSpotCheckTimestampEP10HidingSpot", CCSBot::SetHidingSpotCheckTimestamp), + HOOK_SYMBOLDEF(0x01D315F0, "_ZN6CCSBot15EquipBestWeaponEb", CCSBot::EquipBestWeapon), + HOOK_SYMBOLDEF(0x01D31810, "_ZN6CCSBot11EquipPistolEv", CCSBot::EquipPistol), + HOOK_SYMBOLDEF(0x01D318E0, "_ZN6CCSBot10EquipKnifeEv", CCSBot::EquipKnife), + HOOK_SYMBOLDEF(0x01D31930, "_ZN6CCSBot12EquipGrenadeEb", CCSBot::EquipGrenade), + HOOK_SYMBOLDEF(0x01D31A00, "_ZNK6CCSBot12IsUsingKnifeEv", CCSBot::IsUsingKnife), + HOOK_SYMBOLDEF(0x01D31A20, "_ZNK6CCSBot13IsUsingPistolEv", CCSBot::IsUsingPistol), + HOOK_SYMBOLDEF(0x01D31A60, "_ZNK6CCSBot14IsUsingGrenadeEv", CCSBot::IsUsingGrenade), + HOOK_SYMBOLDEF(0x01D313F0, "_ZNK6CCSBot18IsUsingSniperRifleEv", CCSBot::IsUsingSniperRifle), + HOOK_SYMBOLDEF(0x01D313A0, "_ZNK6CCSBot10IsUsingAWPEv", CCSBot::IsUsingAWP), + HOOK_SYMBOLDEF(0x01D31440, "_ZNK6CCSBot8IsSniperEv", CCSBot::IsSniper), + HOOK_SYMBOLDEF(0x01D314B0, "_ZNK6CCSBot9IsSnipingEv", CCSBot::IsSniping), + HOOK_SYMBOLDEF(0x01D314D0, "_ZNK6CCSBot14IsUsingShotgunEv", CCSBot::IsUsingShotgun), + HOOK_SYMBOLDEF(0x01D31500, "_ZNK6CCSBot17IsUsingMachinegunEv", CCSBot::IsUsingMachinegun), + HOOK_SYMBOLDEF(0x01D31AB0, "_ZN6CCSBot12ThrowGrenadeEPK6Vector", CCSBot::ThrowGrenade), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot17IsThrowingGrenadeEv", CCSBot::IsThrowingGrenade), + HOOK_SYMBOLDEF(0x01D31920, "_ZNK6CCSBot10HasGrenadeEv", CCSBot::HasGrenade), + //HOOK_SYMBOLDEF(0x01D313C0, "_ZNK6CCSBot28DoesActiveWeaponHaveSilencerEv", CCSBot::DoesActiveWeaponHaveSilencer), // NOXREF + HOOK_SYMBOLDEF(0x01D31A90, "_ZNK6CCSBot16IsUsingHEGrenadeEv", CCSBot::IsUsingHEGrenade), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot14StartRapidFireEv", CCSBot::StartRapidFire), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot13StopRapidFireEv", CCSBot::StopRapidFire), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot13IsRapidFiringEv", CCSBot::IsRapidFiring), + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot12GetZoomLevelEv", CCSBot::GetZoomLevel), + HOOK_SYMBOLDEF(0x01D31280, "_ZN6CCSBot10AdjustZoomEf", CCSBot::AdjustZoom), + HOOK_SYMBOLDEF(0x01D31520, "_ZNK6CCSBot20IsPrimaryWeaponEmptyEv", CCSBot::IsPrimaryWeaponEmpty), + //HOOK_SYMBOLDEF(0x01D31550, "_ZNK6CCSBot13IsPistolEmptyEv", CCSBot::IsPistolEmpty), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK6CCSBot21GetHostageEscortCountEv", CCSBot::GetHostageEscortCount), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot26IncreaseHostageEscortCountEv", CCSBot::IncreaseHostageEscortCount), // NOXREF + HOOK_SYMBOLDEF(0x01D18B10, "_ZNK6CCSBot33GetRangeToFarthestEscortedHostageEv", CCSBot::GetRangeToFarthestEscortedHostage), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot27ResetWaitForHostagePatienceEv", CCSBot::ResetWaitForHostagePatience), + HOOK_SYMBOLDEF(0x01D20AE0, "_ZN6CCSBot11ResetValuesEv", CCSBot::ResetValues), + //HOOK_SYMBOLDEF(0x01D17950, "_ZN6CCSBot13BotDeathThinkEv", CCSBot::BotDeathThink), // PURE + //HOOK_SYMBOLDEF(0x01D17960, "_ZN6CCSBot16FindNearbyPlayerEv", CCSBot::FindNearbyPlayer), // NOXREF + HOOK_SYMBOLDEF(0x01D186E0, "_ZN6CCSBot14AdjustSafeTimeEv", CCSBot::AdjustSafeTime), + HOOK_SYMBOLDEF(0x01D2BD80, "_ZN6CCSBot8SetStateEP8BotState", CCSBot::SetState), + HOOK_SYMBOLDEF(0x01D26080, "_ZN6CCSBot19MoveTowardsPositionEPK6Vector", CCSBot::MoveTowardsPosition), + //HOOK_SYMBOLDEF(0x01D26510, "_ZN6CCSBot20MoveAwayFromPositionEPK6Vector", CCSBot::MoveAwayFromPosition), // NOXREF + HOOK_SYMBOLDEF(0x01D26650, "_ZN6CCSBot22StrafeAwayFromPositionEPK6Vector", CCSBot::StrafeAwayFromPosition), + HOOK_SYMBOLDEF(0x01D25C50, "_ZN6CCSBot10StuckCheckEv", CCSBot::StuckCheck), + HOOK_SYMBOLDEF(0x01D2A6F0, "_ZN6CCSBot16BuildTrivialPathEPK6Vector", CCSBot::BuildTrivialPath), + HOOK_SYMBOLDEF(0x01D26BA0, "_ZN6CCSBot20ComputePathPositionsEv", CCSBot::ComputePathPositions), + HOOK_SYMBOLDEF(0x01D27040, "_ZN6CCSBot19SetupLadderMovementEv", CCSBot::SetupLadderMovement), + HOOK_SYMBOLDEF(0x01D29130, "_ZN6CCSBot12SetPathIndexEi", CCSBot::SetPathIndex), + HOOK_SYMBOLDEF(0x01D2AE70, "_ZN6CCSBot8DrawPathEv", CCSBot::DrawPath), + HOOK_SYMBOLDEF(0x01D282C0, "_ZNK6CCSBot21FindOurPositionOnPathEP6Vectorb", CCSBot::FindOurPositionOnPath), + HOOK_SYMBOLDEF(0x01D28620, "_ZN6CCSBot13FindPathPointEfP6VectorPi", CCSBot::FindPathPoint), + //HOOK_SYMBOLDEF(0x01D280B0, "_ZNK6CCSBot22FindClosestPointOnPathEPK6VectoriiPS0_", CCSBot::FindClosestPointOnPath), // NOXREF + HOOK_SYMBOLDEF(0x01D28610, "_ZNK6CCSBot26IsStraightLinePathWalkableEPK6Vector", CCSBot::IsStraightLinePathWalkable), + HOOK_SYMBOLDEF(0x01D25EE0, "_ZN6CCSBot17DiscontinuityJumpEfbb", CCSBot::DiscontinuityJump), + HOOK_SYMBOLDEF(0x01D27560, "_ZN6CCSBot20UpdateLadderMovementEv", CCSBot::UpdateLadderMovement), + HOOK_SYMBOLDEF(0x01D27450, "_ZN6CCSBot21ComputeLadderEndpointEb", CCSBot::ComputeLadderEndpoint), + HOOK_SYMBOLDEF(0x01D180B0, "_ZN6CCSBot24UpdateHostageEscortCountEv", CCSBot::UpdateHostageEscortCount), + HOOK_SYMBOLDEF(0x01D22A70, "_ZN6CCSBot17UpdateLookAtNoiseEv", CCSBot::UpdateLookAtNoise), + HOOK_SYMBOLDEF(0x01D2F760, "_ZN6CCSBot12UpdateLookAtEv", CCSBot::UpdateLookAt), + HOOK_SYMBOLDEF(0x01D2F930, "_ZN6CCSBot22UpdatePeripheralVisionEv", CCSBot::UpdatePeripheralVision), + HOOK_SYMBOLDEF(0x01D2FF40, "_ZNK6CCSBot15BendLineOfSightEPK6VectorS2_PS0_", CCSBot::BendLineOfSight), + //HOOK_SYMBOLDEF(0x01D26A50, "_ZN6CCSBot28FindApproachPointNearestPathEP6Vector", CCSBot::FindApproachPointNearestPath), // NOXREF + HOOK_SYMBOLDEF(0x01D31B30, "_ZN6CCSBot25FindGrenadeTossPathTargetEP6Vector", CCSBot::FindGrenadeTossPathTarget), + HOOK_SYMBOLDEF(0x01D31030, "_ZN6CCSBot12SetAimOffsetEf", CCSBot::SetAimOffset), + HOOK_SYMBOLDEF(0x01D311E0, "_ZN6CCSBot15UpdateAimOffsetEv", CCSBot::UpdateAimOffset), + HOOK_SYMBOLDEF(0x01D31580, "_ZN6CCSBot7DoEquipEP17CBasePlayerWeapon", CCSBot::DoEquip), + HOOK_SYMBOLDEF(0x01D31FC0, "_ZN6CCSBot11ReloadCheckEv", CCSBot::ReloadCheck), + HOOK_SYMBOLDEF(0x01D32290, "_ZN6CCSBot13SilencerCheckEv", CCSBot::SilencerCheck), + HOOK_SYMBOLDEF(0x01D302D0, "_ZN6CCSBot23FindMostDangerousThreatEv", CCSBot::FindMostDangerousThreat), + HOOK_SYMBOLDEF(0x01D2B5B0, "_ZN6CCSBot22RespondToRadioCommandsEv", CCSBot::RespondToRadioCommands), + //HOOK_SYMBOLDEF(0x01D2B570, "_ZNK6CCSBot14IsRadioCommandE13GameEventType", CCSBot::IsRadioCommand), // NOXREF + HOOK_SYMBOLDEF(0x01D2BA00, "_ZN6CCSBot16EndVoiceFeedbackEb", CCSBot::EndVoiceFeedback), + HOOK_SYMBOLDEF(0x01D213C0, "_ZN6CCSBot7AddNodeEPK6VectorS2_10NavDirTypeP8CNavNode", CCSBot::AddNode), + HOOK_SYMBOLDEF(0x01D21610, "_ZN6CCSBot17StartLearnProcessEv", CCSBot::StartLearnProcess), + HOOK_SYMBOLDEF(0x01D21EF0, "_ZN6CCSBot18UpdateLearnProcessEv", CCSBot::UpdateLearnProcess), + HOOK_SYMBOLDEF(0x01D21770, "_ZN6CCSBot9LearnStepEv", CCSBot::LearnStep), + HOOK_SYMBOLDEF(0x01D21FE0, "_ZN6CCSBot24StartAnalyzeAlphaProcessEv", CCSBot::StartAnalyzeAlphaProcess), + HOOK_SYMBOLDEF(0x01D22080, "_ZN6CCSBot25UpdateAnalyzeAlphaProcessEv", CCSBot::UpdateAnalyzeAlphaProcess), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot16AnalyzeAlphaStepEv", CCSBot::AnalyzeAlphaStep), + //HOOK_SYMBOLDEF(0x01D221D0, "_ZN6CCSBot23StartAnalyzeBetaProcessEv", CCSBot::StartAnalyzeBetaProcess), // NOXREF + HOOK_SYMBOLDEF(0x01D22200, "_ZN6CCSBot24UpdateAnalyzeBetaProcessEv", CCSBot::UpdateAnalyzeBetaProcess), + //HOOK_SYMBOLDEF(0x0, "_ZN6CCSBot15AnalyzeBetaStepEv", CCSBot::AnalyzeBetaStep), + //HOOK_SYMBOLDEF(0x01D22330, "_ZN6CCSBot16StartSaveProcessEv", CCSBot::StartSaveProcess), // NOXREF + HOOK_SYMBOLDEF(0x01D22340, "_ZN6CCSBot17UpdateSaveProcessEv", CCSBot::UpdateSaveProcess), + HOOK_SYMBOLDEF(0x01D22450, "_ZN6CCSBot18StartNormalProcessEv", CCSBot::StartNormalProcess), + HOOK_SYMBOLDEF(0x01D17620, "_ZN6CCSBot8BotTouchEP11CBaseEntity", CCSBot::BotTouch), +//CSGameState + //HOOK_SYMBOLDEF(0x01D326A0, "_ZN11CSGameStateC2EP6CCSBot", CSGameState::CSGameState), + HOOK_SYMBOLDEF(0x01D32730, "_ZN11CSGameState5ResetEv", CSGameState::Reset), + HOOK_SYMBOLDEF(0x01D327C0, "_ZN11CSGameState7OnEventE13GameEventTypeP11CBaseEntityS2_", CSGameState::OnEvent), + HOOK_SYMBOLDEF(0x01D328D0, "_ZNK11CSGameState11IsRoundOverEv", CSGameState::IsRoundOver), + //HOOK_SYMBOLDEF(0x0, "_ZNK11CSGameState12IsBombMovingEv", CSGameState::IsBombMoving), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK11CSGameState11IsBombLooseEv", CSGameState::IsBombLoose), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK11CSGameState13IsBombPlantedEv", CSGameState::IsBombPlanted), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK11CSGameState13IsBombDefusedEv", CSGameState::IsBombDefused), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK11CSGameState14IsBombExplodedEv", CSGameState::IsBombExploded), // NOXREF + HOOK_SYMBOLDEF(0x01D32900, "_ZN11CSGameState15UpdateLooseBombEPK6Vector", CSGameState::UpdateLooseBomb), // NOXREF + //HOOK_SYMBOLDEF(0x01D32940, "_ZNK11CSGameState25TimeSinceLastSawLooseBombEv", CSGameState::TimeSinceLastSawLooseBomb), // NOXREF + HOOK_SYMBOLDEF(0x01D32970, "_ZNK11CSGameState24IsLooseBombLocationKnownEv", CSGameState::IsLooseBombLocationKnown), + HOOK_SYMBOLDEF(0x01D329A0, "_ZN11CSGameState12UpdateBomberEPK6Vector", CSGameState::UpdateBomber), + //HOOK_SYMBOLDEF(0x01D329E0, "_ZNK11CSGameState22TimeSinceLastSawBomberEv", CSGameState::TimeSinceLastSawBomber), // NOXREF + HOOK_SYMBOLDEF(0x01D32B20, "_ZN11CSGameState17UpdatePlantedBombEPK6Vector", CSGameState::UpdatePlantedBomb), + HOOK_SYMBOLDEF(0x01D32A10, "_ZNK11CSGameState26IsPlantedBombLocationKnownEv", CSGameState::IsPlantedBombLocationKnown), + HOOK_SYMBOLDEF(0x01D32B80, "_ZN11CSGameState21MarkBombsiteAsPlantedEi", CSGameState::MarkBombsiteAsPlanted), + HOOK_SYMBOLDEF(0x01D32A20, "_ZNK11CSGameState18GetPlantedBombsiteEv", CSGameState::GetPlantedBombsite), + HOOK_SYMBOLDEF(0x01D32A30, "_ZNK11CSGameState19IsAtPlantedBombsiteEv", CSGameState::IsAtPlantedBombsite), + HOOK_SYMBOLDEF(0x01D32A70, "_ZN11CSGameState23GetNextBombsiteToSearchEv", CSGameState::GetNextBombsiteToSearch), + HOOK_SYMBOLDEF(0x01D32BC0, "_ZNK11CSGameState15IsBombsiteClearEi", CSGameState::IsBombsiteClear), + HOOK_SYMBOLDEF(0x01D32BA0, "_ZN11CSGameState13ClearBombsiteEi", CSGameState::ClearBombsite), + HOOK_SYMBOLDEF(0x01D32AC0, "_ZNK11CSGameState15GetBombPositionEv", CSGameState::GetBombPosition), + HOOK_SYMBOLDEF(0x01D32CC0, "_ZNK11CSGameState21GetNearestFreeHostageEP6Vector", CSGameState::GetNearestFreeHostage), + HOOK_SYMBOLDEF(0x01D32EB0, "_ZNK11CSGameState28GetRandomFreeHostagePositionEv", CSGameState::GetRandomFreeHostagePosition), + HOOK_SYMBOLDEF(0x01D33370, "_ZNK11CSGameState26AreAllHostagesBeingRescuedEv", CSGameState::AreAllHostagesBeingRescued), + HOOK_SYMBOLDEF(0x01D33440, "_ZNK11CSGameState18AreAllHostagesGoneEv", CSGameState::AreAllHostagesGone), + //HOOK_SYMBOLDEF(0x01D334A0, "_ZN11CSGameState15AllHostagesGoneEv", CSGameState::AllHostagesGone), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK11CSGameState25HaveSomeHostagesBeenTakenEv", CSGameState::HaveSomeHostagesBeenTaken), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN11CSGameState15HostageWasTakenEv", CSGameState::HostageWasTaken), // NOXREF + HOOK_SYMBOLDEF(0x01D33210, "_ZNK11CSGameState28GetNearestVisibleFreeHostageEv", CSGameState::GetNearestVisibleFreeHostage), + HOOK_SYMBOLDEF(0x01D32FA0, "_ZN11CSGameState24ValidateHostagePositionsEv", CSGameState::ValidateHostagePositions), + //HOOK_SYMBOLDEF(0x01D328E0, "_ZN11CSGameState12SetBombStateENS_9BombStateE", CSGameState::SetBombState), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK11CSGameState12GetBombStateEv", CSGameState::GetBombState), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK11CSGameState17GetNearestHostageEv", CSGameState::GetNearestHostage), // NOXREF + HOOK_SYMBOLDEF(0x01D32BE0, "_ZN11CSGameState21InitializeHostageInfoEv", CSGameState::InitializeHostageInfo), + //@HOOK_SYMBOLDEF(0x01D15EA0, "_Z16NavAreaBuildPathI8PathCostEbP8CNavAreaS2_PK6VectorRT_PS2_", NavAreaBuildPath__PathCost__wrapper), + HOOK_SYMBOLDEF(0x01D15EA0, "_Z16NavAreaBuildPathI8PathCostEbP8CNavAreaS2_PK6VectorRT_PS2_", NavAreaBuildPath), + +#ifdef _WIN32 + //@HOOK_DEF(0x01D15A30, NavAreaTravelDistance__PathCost__wrapper), + HOOK_DEF(0x01D15A30, NavAreaTravelDistance, float_precision (CNavArea *startArea, CNavArea *endArea, PathCost &costFunc)), +#endif // _WIN32 + + HOOK_SYMBOLDEF(0x01D2B2E0, "_ZN8PathCostclEP8CNavAreaS1_PK10CNavLadder", PathCost::operator()), + HOOK_SYMBOLDEF(0x01D172A0, "_Z17GetBotFollowCountP11CBasePlayer", GetBotFollowCount), + HOOK_SYMBOLDEF(0x01D187B0, "_Z21FindNearbyRetreatSpotP6CCSBotf", FindNearbyRetreatSpot, const Vector *(CCSBot *, float)), + //HOOK_DEF(0x0, drawProgressMeter), // NOXREF + //HOOK_DEF(0x0, startProgressMeter), // NOXREF + //HOOK_DEF(0x0, hideProgressMeter), // NOXREF + +#endif // CS_Bot_Region + +#ifndef CS_BotState_Region + +//BotState + // virtual func + //HOOK_SYMBOL_VIRTUAL_DEF(0x0, "_ZN8BotState7OnEnterEP6CCSBot", BotState::OnEnter), // PURE + //HOOK_SYMBOL_VIRTUAL_DEF(0x0, "_ZN8BotState8OnUpdateEP6CCSBot", BotState::OnUpdate), // PURE + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D212B0, "_ZN8BotState6OnExitEP6CCSBot", BotState::OnExit), // PURE + //HOOK_SYMBOLDEF(0x0, "_ZNK8BotState7GetNameEv", BotState::GetName), // NOXREF +//IdleState + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D142A0, "_ZN9IdleState7OnEnterEP6CCSBot", IdleState::OnEnter), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D14320, "_ZN9IdleState8OnUpdateEP6CCSBot", IdleState::OnUpdate), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D212C0, "_ZNK9IdleState7GetNameEv", IdleState::GetName), // DEFAULT +//HuntState + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D13E20, "_ZN9HuntState7OnEnterEP6CCSBot", HuntState::OnEnter), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D13EA0, "_ZN9HuntState8OnUpdateEP6CCSBot", HuntState::OnUpdate), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D14290, "_ZN9HuntState6OnExitEP6CCSBot", HuntState::OnExit), // PURE + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D212D0, "_ZNK9HuntState7GetNameEv", HuntState::GetName), // DEFAULT + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN9HuntState13ClearHuntAreaEv", HuntState::ClearHuntArea), // NOXREF +//AttackState + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D10960, "_ZN11AttackState7OnEnterEP6CCSBot", AttackState::OnEnter), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D10CF0, "_ZN11AttackState8OnUpdateEP6CCSBot", AttackState::OnUpdate), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D11860, "_ZN11AttackState6OnExitEP6CCSBot", AttackState::OnExit), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D212E0, "_ZNK11AttackState7GetNameEv", AttackState::GetName), // DEFAULT + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN11AttackState16SetCrouchAndHoldEb", AttackState::SetCrouchAndHold), // NOXREF + //HOOK_SYMBOLDEF(0x01D10CC0, "_ZN11AttackState13StopAttackingEP6CCSBot", AttackState::StopAttacking), // NOXREF +//InvestigateNoiseState + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D165C0, "_ZN21InvestigateNoiseState7OnEnterEP6CCSBot", InvestigateNoiseState::OnEnter), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D166B0, "_ZN21InvestigateNoiseState8OnUpdateEP6CCSBot", InvestigateNoiseState::OnUpdate), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D16920, "_ZN21InvestigateNoiseState6OnExitEP6CCSBot", InvestigateNoiseState::OnExit), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D212F0, "_ZNK21InvestigateNoiseState7GetNameEv", InvestigateNoiseState::GetName), // DEFAULT + // non-virtual func + //HOOK_SYMBOLDEF(0x01D164D0, "_ZN21InvestigateNoiseState18AttendCurrentNoiseEP6CCSBot", InvestigateNoiseState::AttendCurrentNoise), // NOXREF +//BuyState + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D11910, "_ZN8BuyState7OnEnterEP6CCSBot", BuyState::OnEnter), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D11B60, "_ZN8BuyState8OnUpdateEP6CCSBot", BuyState::OnUpdate), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D121E0, "_ZN8BuyState6OnExitEP6CCSBot", BuyState::OnExit), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D21300, "_ZNK8BuyState7GetNameEv", BuyState::GetName), // DEFAULT +//MoveToState + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D16930, "_ZN11MoveToState7OnEnterEP6CCSBot", MoveToState::OnEnter), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D169C0, "_ZN11MoveToState8OnUpdateEP6CCSBot", MoveToState::OnUpdate), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D16FE0, "_ZN11MoveToState6OnExitEP6CCSBot", MoveToState::OnExit), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D21310, "_ZNK11MoveToState7GetNameEv", MoveToState::GetName), // DEFAULT + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN11MoveToState15SetGoalPositionEPK6Vector", MoveToState::SetGoalPosition), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN11MoveToState12SetRouteTypeE9RouteType", MoveToState::SetRouteType), // NOXREF +//FetchBombState + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D125A0, "_ZN14FetchBombState7OnEnterEP6CCSBot", FetchBombState::OnEnter), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D125C0, "_ZN14FetchBombState8OnUpdateEP6CCSBot", FetchBombState::OnUpdate), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D21320, "_ZNK14FetchBombState7GetNameEv", FetchBombState::GetName), // DEFAULT +//PlantBombState + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D17000, "_ZN14PlantBombState7OnEnterEP6CCSBot", PlantBombState::OnEnter), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D170B0, "_ZN14PlantBombState8OnUpdateEP6CCSBot", PlantBombState::OnUpdate), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D17160, "_ZN14PlantBombState6OnExitEP6CCSBot", PlantBombState::OnExit), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D21330, "_ZNK14PlantBombState7GetNameEv", PlantBombState::GetName), // DEFAULT +//DefuseBombState + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D12200, "_ZN15DefuseBombState7OnEnterEP6CCSBot", DefuseBombState::OnEnter), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D12270, "_ZN15DefuseBombState8OnUpdateEP6CCSBot", DefuseBombState::OnUpdate), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D12340, "_ZN15DefuseBombState6OnExitEP6CCSBot", DefuseBombState::OnExit), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D21340, "_ZNK15DefuseBombState7GetNameEv", DefuseBombState::GetName), // DEFAULT +//HideState + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D13250, "_ZN9HideState7OnEnterEP6CCSBot", HideState::OnEnter), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D13300, "_ZN9HideState8OnUpdateEP6CCSBot", HideState::OnUpdate), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D13D90, "_ZN9HideState6OnExitEP6CCSBot", HideState::OnExit), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D21350, "_ZNK9HideState7GetNameEv", HideState::GetName), // DEFAULT + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN9HideState13SetHidingSpotEPK6Vector", HideState::SetHidingSpot), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK9HideState13GetHidingSpotEv", HideState::GetHidingSpot), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN9HideState13SetSearchAreaEP8CNavArea", HideState::SetSearchArea), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN9HideState14SetSearchRangeEf", HideState::SetSearchRange), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN9HideState11SetDurationEf", HideState::SetDuration), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN9HideState15SetHoldPositionEb", HideState::SetHoldPosition), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK9HideState8IsAtSpotEv", HideState::IsAtSpot), // NOXREF +//EscapeFromBombState + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D12390, "_ZN19EscapeFromBombState7OnEnterEP6CCSBot", EscapeFromBombState::OnEnter), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D123D0, "_ZN19EscapeFromBombState8OnUpdateEP6CCSBot", EscapeFromBombState::OnUpdate), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D12560, "_ZN19EscapeFromBombState6OnExitEP6CCSBot", EscapeFromBombState::OnExit), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D21360, "_ZNK19EscapeFromBombState7GetNameEv", EscapeFromBombState::GetName), // DEFAULT +//FollowState + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D12660, "_ZN11FollowState7OnEnterEP6CCSBot", FollowState::OnEnter), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D127A0, "_ZN11FollowState8OnUpdateEP6CCSBot", FollowState::OnUpdate), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D130C0, "_ZN11FollowState6OnExitEP6CCSBot", FollowState::OnExit), // PURE + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D21370, "_ZNK11FollowState7GetNameEv", FollowState::GetName), // DEFAULT + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN11FollowState9SetLeaderEP11CBasePlayer", FollowState::SetLeader), // NOXREF + HOOK_SYMBOLDEF(0x01D126E0, "_ZN11FollowState24ComputeLeaderMotionStateEf", FollowState::ComputeLeaderMotionState), +//UseEntityState + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D171A0, "_ZN14UseEntityState7OnEnterEP6CCSBot", UseEntityState::OnEnter), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D171B0, "_ZN14UseEntityState8OnUpdateEP6CCSBot", UseEntityState::OnUpdate), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D17280, "_ZN14UseEntityState6OnExitEP6CCSBot", UseEntityState::OnExit), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D21380, "_ZNK14UseEntityState7GetNameEv", UseEntityState::GetName), // DEFAULT + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN14UseEntityState9SetEntityEP11CBaseEntity", UseEntityState::SetEntity), // NOXREF + +#ifdef _WIN32 + HOOK_SYMBOLDEF(0x01D12F90, "_ZN21FollowTargetCollectorclEP8CNavArea", FollowTargetCollector::operator()), +#endif // _WIN32 + +#endif // CS_BotState_Region + +#ifndef Bot_Region + +//ActiveGrenade + // virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN13ActiveGrenadeC2EiP8CGrenade", ActiveGrenade::ActiveGrenade), + HOOK_SYMBOLDEF(0x01D34080, "_ZN13ActiveGrenade12OnEntityGoneEv", ActiveGrenade::OnEntityGone), + HOOK_SYMBOLDEF(0x01D340A0, "_ZNK13ActiveGrenade7IsValidEv", ActiveGrenade::IsValid), + //HOOK_SYMBOLDEF(0x0, "_ZNK13ActiveGrenade8IsEntityEP8CGrenade", ActiveGrenade::IsEntity), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK13ActiveGrenade5GetIDEv", ActiveGrenade::GetID), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK13ActiveGrenade21GetDetonationPositionEv", ActiveGrenade::GetDetonationPosition), // NOXREF + //HOOK_SYMBOLDEF(0x01D340C0, "_ZNK13ActiveGrenade11GetPositionEv", ActiveGrenade::GetPosition), // NOXREF +//CBot + //HOOK_DEF(0x01D334D0, MethodThunk::Constructor), + // virtual func + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D33550, CCSBot, "_ZN4CBot5SpawnEv", CBot::Spawn), + //HOOK_SYMBOLDEF(0x01D340D0, "_ZN4CBot10TakeDamageEP9entvars_sS1_fi", CBot::TakeDamage), // DEFAULT + //HOOK_SYMBOLDEF(0x01D340E0, "_ZN4CBot6KilledEP9entvars_si", CBot::Killed), // DEFAULT + //HOOK_SYMBOLDEF(0x01D210C0, "_ZN4CBot5ThinkEv", CBot::Think), // PURE + //HOOK_SYMBOLDEF(0x01D210B0, "_ZN4CBot5IsBotEv", CBot::IsBot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D33600, CCSBot, "_ZN4CBot16GetAutoaimVectorEf", CBot::GetAutoaimVector), + //HOOK_SYMBOLDEF(0x0, "_ZN4CBot16OnTouchingWeaponEP10CWeaponBox", CBot::OnTouchingWeapon), + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D33540, CCSBot, "_ZN4CBot10InitializeEPK10BotProfile", CBot::Initialize), + //HOOK_SYMBOLDEF(0x0, "_ZN4CBot8SpawnBotEv", CBot::SpawnBot), + //HOOK_SYMBOLDEF(0x0, "_ZN4CBot6UpkeepEv", CBot::Upkeep), + //HOOK_SYMBOLDEF(0x0, "_ZN4CBot6UpdateEv", CBot::Update), + //HOOK_SYMBOLDEF(0x01D21110, "_ZN4CBot3RunEv", CBot::Run), // DEFAULT + //HOOK_SYMBOLDEF(0x01D34110, "_ZN4CBot4WalkEv", CBot::Walk), // DEFAULT + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D33940, CCSBot, "_ZN4CBot6CrouchEv", CBot::Crouch), + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D33950, CCSBot, "_ZN4CBot7StandUpEv", CBot::StandUp), + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D336F0, CCSBot, "_ZN4CBot11MoveForwardEv", CBot::MoveForward), + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D33740, CCSBot, "_ZN4CBot12MoveBackwardEv", CBot::MoveBackward), + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D33790, CCSBot, "_ZN4CBot10StrafeLeftEv", CBot::StrafeLeft), + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D337E0, CCSBot, "_ZN4CBot11StrafeRightEv", CBot::StrafeRight), + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D33830, CCSBot, "_ZN4CBot4JumpEb", CBot::Jump), + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D338D0, CCSBot, "_ZN4CBot13ClearMovementEv", CBot::ClearMovement), + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D33960, CCSBot, "_ZN4CBot14UseEnvironmentEv", CBot::UseEnvironment), + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D33970, CCSBot, "_ZN4CBot13PrimaryAttackEv", CBot::PrimaryAttack), + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D33980, CCSBot, "_ZN4CBot18ClearPrimaryAttackEv", CBot::ClearPrimaryAttack), + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D33990, CCSBot, "_ZN4CBot19TogglePrimaryAttackEv", CBot::TogglePrimaryAttack), + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D339C0, CCSBot, "_ZN4CBot15SecondaryAttackEv", CBot::SecondaryAttack), + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D339D0, CCSBot, "_ZN4CBot6ReloadEv", CBot::Reload), + //HOOK_SYMBOLDEF(0x01D34100, "_ZN4CBot7OnEventE13GameEventTypeP11CBaseEntityS2_", CBot::OnEvent), // PURE + //HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x0, CCSBot, "_ZNK4CBot9IsVisibleEPK6Vectorb", CBot::IsVisible, bool(const Vector *, bool) const), + //HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x0, CCSBot, "_ZNK4CBot9IsVisibleEP11CBasePlayerbPh", CBot::IsVisible, bool(CBasePlayer *, bool, unsigned char *) const), + //HOOK_SYMBOLDEF(0x0, "_ZNK4CBot18IsEnemyPartVisibleENS_15VisiblePartTypeE", CBot::IsEnemyPartVisible), // NOXREF PURE + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D21120, CCSBot, "_ZNK4CBot16IsPlayerFacingMeEP11CBasePlayer", CBot::IsPlayerFacingMe), + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D211B0, CCSBot, "_ZNK4CBot19IsPlayerLookingAtMeEP11CBasePlayer", CBot::IsPlayerLookingAtMe), + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D33AA0, CCSBot, "_ZN4CBot14ExecuteCommandEv", CBot::ExecuteCommand), + HOOK_SYMBOL_VIRTUAL_HIERARC_DEF(0x01D210D0, CCSBot, "_ZN4CBot8SetModelEPKc", CBot::SetModel), + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZNK4CBot5GetIDEv", CBot::GetID), + //HOOK_SYMBOLDEF(0x0, "_ZNK4CBot9IsRunningEv", CBot::IsRunning), + //HOOK_SYMBOLDEF(0x0, "_ZNK4CBot11IsCrouchingEv", CBot::IsCrouching), + //HOOK_SYMBOLDEF(0x0, "_ZN4CBot18PushPostureContextEv", CBot::PushPostureContext), + //HOOK_SYMBOLDEF(0x0, "_ZN4CBot17PopPostureContextEv", CBot::PopPostureContext), + HOOK_SYMBOLDEF(0x01D338F0, "_ZN4CBot9IsJumpingEv", CBot::IsJumping), + //HOOK_SYMBOLDEF(0x0, "_ZNK4CBot16GetJumpTimestampEv", CBot::GetJumpTimestamp), + HOOK_SYMBOLDEF(0x01D339E0, "_ZNK4CBot24GetActiveWeaponAmmoRatioEv", CBot::GetActiveWeaponAmmoRatio), + HOOK_SYMBOLDEF(0x01D33A30, "_ZNK4CBot23IsActiveWeaponClipEmptyEv", CBot::IsActiveWeaponClipEmpty), + HOOK_SYMBOLDEF(0x01D33A50, "_ZNK4CBot23IsActiveWeaponOutOfAmmoEv", CBot::IsActiveWeaponOutOfAmmo), + //HOOK_SYMBOLDEF(0x0, "_ZNK4CBot23IsActiveWeaponReloadingEv", CBot::IsActiveWeaponReloading), + //HOOK_SYMBOLDEF(0x0, "_ZNK4CBot24IsActiveWeaponRecoilHighEv", CBot::IsActiveWeaponRecoilHigh), + //HOOK_SYMBOLDEF(0x0, "_ZNK4CBot15GetActiveWeaponEv", CBot::GetActiveWeapon), + HOOK_SYMBOLDEF(0x01D33A80, "_ZNK4CBot12IsUsingScopeEv", CBot::IsUsingScope), + HOOK_SYMBOLDEF(0x01D33BF0, "_ZNK4CBot7IsEnemyEP11CBaseEntity", CBot::IsEnemy), + HOOK_SYMBOLDEF(0x01D33C40, "_ZNK4CBot19GetEnemiesRemainingEv", CBot::GetEnemiesRemaining), + HOOK_SYMBOLDEF(0x01D33D20, "_ZNK4CBot19GetFriendsRemainingEv", CBot::GetFriendsRemaining), + HOOK_SYMBOLDEF(0x01D33E30, "_ZNK4CBot23IsLocalPlayerWatchingMeEv", CBot::IsLocalPlayerWatchingMe), + //HOOK_SYMBOLDEF(0x01D33E90, "_ZNK4CBot5PrintEPcz", CBot::Print), // NOXREF + HOOK_SYMBOLDEF(0x01D33F00, "_ZNK4CBot14PrintIfWatchedEPcz", CBot::PrintIfWatched), + HOOK_SYMBOLDEF(0x01D33660, "_ZN4CBot8BotThinkEv", CBot::BotThink), + //HOOK_SYMBOLDEF(0x0, "_ZNK4CBot11IsNetClientEv", CBot::IsNetClient), + //HOOK_SYMBOLDEF(0x0, "_ZNK4CBot4SaveER5CSave", CBot::Save), + //HOOK_SYMBOLDEF(0x0, "_ZNK4CBot7RestoreER8CRestore", CBot::Restore), + //HOOK_SYMBOLDEF(0x0, "_ZNK4CBot10GetProfileEv", CBot::GetProfile), + HOOK_SYMBOLDEF(0x01D33BA0, "_ZN4CBot13ClientCommandEPKcS1_S1_S1_", CBot::ClientCommand), + //HOOK_SYMBOLDEF(0x01D33B50, "_ZN4CBot12ResetCommandEv", CBot::ResetCommand), // NOXREF + //HOOK_SYMBOLDEF(0x01D33B70, "_ZNK4CBot13ThrottledMsecEv", CBot::ThrottledMsec), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN4CBot12GetMoveSpeedEv", CBot::GetMoveSpeed), +//BotMeme + HOOK_SYMBOLDEF(0x01D18C90, "_ZNK7BotMeme8TransmitEP6CCSBot", BotMeme::Transmit), + //HOOK_SYMBOLDEF(0x0, "_ZNK7BotMeme9InterpretEP6CCSBotS1_", BotMeme::Interpret), // NOXREF +//BotAllHostagesGoneMeme + HOOK_SYMBOL_VIRTUAL_DEF(0x01D19470, "_ZNK22BotAllHostagesGoneMeme9InterpretEP6CCSBotS1_", BotAllHostagesGoneMeme::Interpret), // NOXREF +//BotHostageBeingTakenMeme + HOOK_SYMBOL_VIRTUAL_DEF(0x01D19570, "_ZNK24BotHostageBeingTakenMeme9InterpretEP6CCSBotS1_", BotHostageBeingTakenMeme::Interpret), +//BotHelpMeme + HOOK_SYMBOL_VIRTUAL_DEF(0x01D18D90, "_ZNK11BotHelpMeme9InterpretEP6CCSBotS1_", BotHelpMeme::Interpret), +//BotBombsiteStatusMeme + HOOK_SYMBOL_VIRTUAL_DEF(0x01D18DB0, "_ZNK21BotBombsiteStatusMeme9InterpretEP6CCSBotS1_", BotBombsiteStatusMeme::Interpret), +//BotBombStatusMeme + HOOK_SYMBOL_VIRTUAL_DEF(0x01D18EE0, "_ZNK17BotBombStatusMeme9InterpretEP6CCSBotS1_", BotBombStatusMeme::Interpret), +//BotFollowMeme + HOOK_SYMBOL_VIRTUAL_DEF(0x01D19080, "_ZNK13BotFollowMeme9InterpretEP6CCSBotS1_", BotFollowMeme::Interpret), +//BotDefendHereMeme + HOOK_SYMBOL_VIRTUAL_DEF(0x01D19280, "_ZNK17BotDefendHereMeme9InterpretEP6CCSBotS1_", BotDefendHereMeme::Interpret), +//BotWhereBombMeme + HOOK_SYMBOL_VIRTUAL_DEF(0x01D19420, "_ZNK16BotWhereBombMeme9InterpretEP6CCSBotS1_", BotWhereBombMeme::Interpret), +//BotRequestReportMeme + HOOK_SYMBOL_VIRTUAL_DEF(0x01D19450, "_ZNK20BotRequestReportMeme9InterpretEP6CCSBotS1_", BotRequestReportMeme::Interpret), +//BotSpeakable + //HOOK_DEF(0x01D19680, MethodThunk::Constructor), // NOXREF + //HOOK_DEF(0x01D19690, MethodThunk::Destructor), // NOXREF +//BotPhrase + //HOOK_DEF(0x01D196B0, MethodThunk::Constructor), // NOXREF + //HOOK_DEF(0x01D198E0, MethodThunk::Destructor), // NOXREF + HOOK_SYMBOLDEF(0x01D199C0, "_ZN9BotPhrase13InitVoiceBankEi", BotPhrase::InitVoiceBank), + HOOK_SYMBOLDEF(0x01D19BB0, "_ZNK9BotPhrase12GetSpeakableEiPf", BotPhrase::GetSpeakable), + //HOOK_SYMBOLDEF(0x0, "_ZNK9BotPhrase13ClearCriteriaEv", BotPhrase::ClearCriteria), + //HOOK_SYMBOLDEF(0x0, "_ZNK9BotPhrase16SetPlaceCriteriaEj", BotPhrase::SetPlaceCriteria), + //HOOK_SYMBOLDEF(0x0, "_ZNK9BotPhrase16SetCountCriteriaEj", BotPhrase::SetCountCriteria), + //HOOK_SYMBOLDEF(0x0, "_ZNK9BotPhrase7GetNameEv", BotPhrase::GetName), + //HOOK_SYMBOLDEF(0x0, "_ZNK9BotPhrase5GetIDEv", BotPhrase::GetID), + //HOOK_SYMBOLDEF(0x0, "_ZNK9BotPhrase18GetRadioEquivalentEv", BotPhrase::GetRadioEquivalent), + //HOOK_SYMBOLDEF(0x0, "_ZNK9BotPhrase11IsImportantEv", BotPhrase::IsImportant), + //HOOK_SYMBOLDEF(0x0, "_ZNK9BotPhrase7IsPlaceEv", BotPhrase::IsPlace), + //HOOK_SYMBOLDEF(0x01D19C70, "_ZN9BotPhrase9RandomizeEv", BotPhrase::Randomize), // NOXREF +//BotPhraseManager + //HOOK_DEF(0x01D19D20, MethodThunk::Constructor), + //HOOK_DEF(0x01D1A720, MethodThunk::Destructor), + HOOK_SYMBOLDEF(0x01D19ED0, "_ZN16BotPhraseManager10InitializeEPKci", BotPhraseManager::Initialize), + HOOK_SYMBOLDEF(0x01D19DA0, "_ZN16BotPhraseManager14OnRoundRestartEv", BotPhraseManager::OnRoundRestart), + //HOOK_SYMBOLDEF(0x01D19D90, "_ZN16BotPhraseManager11OnMapChangeEv", BotPhraseManager::OnMapChange), // NOXREF + HOOK_SYMBOLDEF(0x01D1A830, "_ZNK16BotPhraseManager8NameToIDEPKc", BotPhraseManager::NameToID), + HOOK_SYMBOLDEF(0x01D1A8A0, "_ZNK16BotPhraseManager8IDToNameEj", BotPhraseManager::IDToName), + HOOK_SYMBOLDEF(0x01D1A8F0, "_ZNK16BotPhraseManager9GetPhraseEPKc", BotPhraseManager::GetPhrase), + //HOOK_SYMBOLDEF(0x01D1A940, "_ZNK16BotPhraseManager8GetPlaceEPKc", BotPhraseManager::GetPlace, const BotPhrase *(const char *name) const), // NOXREF + HOOK_SYMBOLDEF(0x01D1A990, "_ZNK16BotPhraseManager8GetPlaceEj", BotPhraseManager::GetPlace, const BotPhrase *(PlaceCriteria place) const), + //HOOK_SYMBOLDEF(0x0, "_ZNK16BotPhraseManager12GetPlaceListEv", BotPhraseManager::GetPlaceList), + //HOOK_SYMBOLDEF(0x0, "_ZNK16BotPhraseManager25GetPlaceStatementIntervalEj", BotPhraseManager::GetPlaceStatementInterval), + //HOOK_SYMBOLDEF(0x0, "_ZN16BotPhraseManager27ResetPlaceStatementIntervalEj", BotPhraseManager::ResetPlaceStatementInterval), +#ifdef _WIN32 + HOOK_SYMBOLDEF(0x01D1F830, "_ZNK16BotPhraseManager14FindPlaceIndexEj", BotPhraseManager::FindPlaceIndex), +#endif // _WIN32 + +//BotStatement + //HOOK_DEF(0x01D1A9C0, MethodThunk::Constructor), // NOXREF + //HOOK_DEF(0x01D1AA20, MethodThunk::Destructor), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK12BotStatement10GetChatterEv", BotStatement::GetChatter), // NOXREF + //HOOK_SYMBOLDEF(0x01D1AA30, "_ZNK12BotStatement8GetOwnerEv", BotStatement::GetOwner), // NOXREF + //HOOK_SYMBOLDEF(0x01D1AA40, "_ZN12BotStatement10AttachMemeEP7BotMeme", BotStatement::AttachMeme), // NOXREF + HOOK_SYMBOLDEF(0x01D1AA50, "_ZN12BotStatement12AddConditionENS_13ConditionTypeE", BotStatement::AddCondition), + //HOOK_SYMBOLDEF(0x01D1AA70, "_ZNK12BotStatement11IsImportantEv", BotStatement::IsImportant), // NOXREF + //HOOK_SYMBOLDEF(0x01D1AAB0, "_ZNK12BotStatement7IsValidEv", BotStatement::IsValid), // NOXREF + HOOK_SYMBOLDEF(0x01D1AB00, "_ZNK12BotStatement11IsRedundantEPKS_", BotStatement::IsRedundant), + //HOOK_SYMBOLDEF(0x0, "_ZNK12BotStatement7GetTypeEv", BotStatement::GetType), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK12BotStatement10HasSubjectEv", BotStatement::HasSubject), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN12BotStatement10SetSubjectEi", BotStatement::SetSubject), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK12BotStatement10GetSubjectEv", BotStatement::GetSubject), // NOXREF + //HOOK_SYMBOLDEF(0x01D1AC90, "_ZNK12BotStatement10IsObsoleteEv", BotStatement::IsObsolete), // NOXREF + HOOK_SYMBOLDEF(0x01D1ACD0, "_ZN12BotStatement7ConvertEPKS_", BotStatement::Convert), + HOOK_SYMBOLDEF(0x01D1ADC0, "_ZN12BotStatement12AppendPhraseEPK9BotPhrase", BotStatement::AppendPhrase, void (const BotPhrase *)), + //HOOK_SYMBOLDEF(0x01D1ADF0, "_ZN12BotStatement12AppendPhraseENS_11ContextTypeE", BotStatement::AppendPhrase, void (BotStatement::ContextType)), // NOXREF + HOOK_SYMBOLDEF(0x01D1AE20, "_ZN12BotStatement6UpdateEv", BotStatement::Update), + HOOK_SYMBOLDEF(0x01D1B2A0, "_ZNK12BotStatement8GetPlaceEv", BotStatement::GetPlace), // NOXREF + //HOOK_SYMBOLDEF(0x01D1B2E0, "_ZNK12BotStatement8HasCountEv", BotStatement::HasCount), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK12BotStatement8HasPlaceEv", BotStatement::HasPlace), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN12BotStatement8SetPlaceEj", BotStatement::SetPlace), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN12BotStatement12SetStartTimeEf ", BotStatement::SetStartTime), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK12BotStatement12GetStartTimeEv", BotStatement::GetStartTime), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK12BotStatement10IsSpeakingEv", BotStatement::IsSpeaking), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK12BotStatement12GetTimestampEv", BotStatement::GetTimestamp), // NOXREF +//BotChatterInterface + HOOK_SYMBOLDEF(0x01D1B340, "_ZN19BotChatterInterfaceC2EP6CCSBot", MethodThunk::Constructor), + //HOOK_DEF(0x01D1B3C0, MethodThunk::Destructor), + + HOOK_SYMBOLDEF(0x01D1B3F0, "_ZN19BotChatterInterface5ResetEv", BotChatterInterface::Reset), + HOOK_SYMBOLDEF(0x01D1B8E0, "_ZN19BotChatterInterface6UpdateEv", BotChatterInterface::Update), + //HOOK_SYMBOLDEF(0x01D1B7D0, "_ZN19BotChatterInterface7OnEventE13GameEventTypeP11CBaseEntityS2_", BotChatterInterface::OnEvent), // PURE + HOOK_SYMBOLDEF(0x01D1B7E0, "_ZN19BotChatterInterface7OnDeathEv", BotChatterInterface::OnDeath), + //HOOK_SYMBOLDEF(0x0, "_ZNK19BotChatterInterface12GetVerbosityEv", BotChatterInterface::VerbosityType GetVerbosity), + //HOOK_SYMBOLDEF(0x0, "_ZNK19BotChatterInterface8GetOwnerEv", BotChatterInterface::GetOwner), + //HOOK_SYMBOLDEF(0x0, "_ZNK19BotChatterInterface9IsTalkingEv", BotChatterInterface::IsTalking), + //HOOK_SYMBOLDEF(0x01D1BDC0, "_ZN19BotChatterInterface23GetRadioSilenceDurationEv", BotChatterInterface::GetRadioSilenceDuration), // NOXREF + HOOK_SYMBOLDEF(0x01D1BE00, "_ZN19BotChatterInterface25ResetRadioSilenceDurationEv", BotChatterInterface::ResetRadioSilenceDuration), + HOOK_SYMBOLDEF(0x01D1B490, "_ZN19BotChatterInterface12AddStatementEP12BotStatementb", BotChatterInterface::AddStatement), + HOOK_SYMBOLDEF(0x01D1B5E0, "_ZN19BotChatterInterface15RemoveStatementEP12BotStatement", BotChatterInterface::RemoveStatement), + HOOK_SYMBOLDEF(0x01D1BC00, "_ZN19BotChatterInterface18GetActiveStatementEv", BotChatterInterface::GetActiveStatement), + //HOOK_SYMBOLDEF(0x0, "_ZNK19BotChatterInterface12GetStatementEv", BotChatterInterface::GetStatement), + //HOOK_SYMBOLDEF(0x0, "_ZNK19BotChatterInterface8GetPitchEv", BotChatterInterface::GetPitch), + HOOK_SYMBOLDEF(0x01D1F890, "_ZN19BotChatterInterface3SayEPKcff", BotChatterInterface::Say), + HOOK_SYMBOLDEF(0x01D1E100, "_ZN19BotChatterInterface12AnnouncePlanEPKcj", BotChatterInterface::AnnouncePlan), + HOOK_SYMBOLDEF(0x01D1CDE0, "_ZN19BotChatterInterface11AffirmativeEv", BotChatterInterface::Affirmative), + HOOK_SYMBOLDEF(0x01D1CED0, "_ZN19BotChatterInterface8NegativeEv", BotChatterInterface::Negative), + //HOOK_SYMBOLDEF(0x01D1BE20, "_ZN19BotChatterInterface12EnemySpottedEv", BotChatterInterface::EnemySpotted), // NOXREF + HOOK_SYMBOLDEF(0x01D1CBE0, "_ZN19BotChatterInterface13KilledMyEnemyEi", BotChatterInterface::KilledMyEnemy), + HOOK_SYMBOLDEF(0x01D1CCF0, "_ZN19BotChatterInterface16EnemiesRemainingEv", BotChatterInterface::EnemiesRemaining), + //HOOK_SYMBOLDEF(0x01D1BF30, "_ZN19BotChatterInterface5ClearEj", BotChatterInterface::Clear), // NOXREF + //HOOK_SYMBOLDEF(0x01D1C050, "_ZN19BotChatterInterface8ReportInEv", BotChatterInterface::ReportIn), // NOXREF + HOOK_SYMBOLDEF(0x01D1C170, "_ZN19BotChatterInterface11ReportingInEv", BotChatterInterface::ReportingIn), + HOOK_SYMBOLDEF(0x01D1C6D0, "_ZN19BotChatterInterface10NeedBackupEv", BotChatterInterface::NeedBackup), + HOOK_SYMBOLDEF(0x01D1C910, "_ZN19BotChatterInterface10PinnedDownEv", BotChatterInterface::PinnedDown), + HOOK_SYMBOLDEF(0x01D1DD00, "_ZN19BotChatterInterface6ScaredEv", BotChatterInterface::Scared), + HOOK_SYMBOLDEF(0x01D1CA90, "_ZN19BotChatterInterface10HeardNoiseEPK6Vector", BotChatterInterface::HeardNoise), + HOOK_SYMBOLDEF(0x01D1D240, "_ZN19BotChatterInterface19TheyPickedUpTheBombEv", BotChatterInterface::TheyPickedUpTheBomb), + HOOK_SYMBOLDEF(0x01D1CFC0, "_ZN19BotChatterInterface19GoingToPlantTheBombEj", BotChatterInterface::GoingToPlantTheBomb), + HOOK_SYMBOLDEF(0x01D1DA40, "_ZN19BotChatterInterface13BombsiteClearEi", BotChatterInterface::BombsiteClear), + HOOK_SYMBOLDEF(0x01D1DBB0, "_ZN19BotChatterInterface16FoundPlantedBombEi", BotChatterInterface::FoundPlantedBomb), + HOOK_SYMBOLDEF(0x01D1D100, "_ZN19BotChatterInterface15PlantingTheBombEj", BotChatterInterface::PlantingTheBomb), + HOOK_SYMBOLDEF(0x01D1D3A0, "_ZN19BotChatterInterface13SpottedBomberEP11CBasePlayer", BotChatterInterface::SpottedBomber), + HOOK_SYMBOLDEF(0x01D1D580, "_ZN19BotChatterInterface16SpottedLooseBombEP11CBaseEntity", BotChatterInterface::SpottedLooseBomb), + //HOOK_SYMBOLDEF(0x01D1D770, "_ZN19BotChatterInterface17GuardingLooseBombEP11CBaseEntity", BotChatterInterface::GuardingLooseBomb), // NOXREF + HOOK_SYMBOLDEF(0x01D1D920, "_ZN19BotChatterInterface19RequestBombLocationEv", BotChatterInterface::RequestBombLocation), + HOOK_SYMBOLDEF(0x01D1E230, "_ZN19BotChatterInterface16GuardingHostagesEjb", BotChatterInterface::GuardingHostages), + HOOK_SYMBOLDEF(0x01D1E470, "_ZN19BotChatterInterface25GuardingHostageEscapeZoneEb", BotChatterInterface::GuardingHostageEscapeZone), + HOOK_SYMBOLDEF(0x01D1E6B0, "_ZN19BotChatterInterface18HostagesBeingTakenEv", BotChatterInterface::HostagesBeingTaken), + HOOK_SYMBOLDEF(0x01D1E7C0, "_ZN19BotChatterInterface13HostagesTakenEv", BotChatterInterface::HostagesTaken), + //HOOK_SYMBOLDEF(0x01D1E8C0, "_ZN19BotChatterInterface17TalkingToHostagesEv", BotChatterInterface::TalkingToHostages), // NOXREF + HOOK_SYMBOLDEF(0x01D1E8D0, "_ZN19BotChatterInterface17EscortingHostagesEv", BotChatterInterface::EscortingHostages), + //HOOK_SYMBOLDEF(0x01D1E9F0, "_ZN19BotChatterInterface11HostageDownEv", BotChatterInterface::HostageDown), // NOXREF + HOOK_SYMBOLDEF(0x01D1DE20, "_ZN19BotChatterInterface12CelebrateWinEv", BotChatterInterface::CelebrateWin), + HOOK_SYMBOLDEF(0x01D1EAF0, "_ZN19BotChatterInterface9EncourageEPKcff", BotChatterInterface::Encourage), + HOOK_SYMBOLDEF(0x01D1EC00, "_ZN19BotChatterInterface12KilledFriendEv", BotChatterInterface::KilledFriend), + HOOK_SYMBOLDEF(0x01D1ED00, "_ZN19BotChatterInterface12FriendlyFireEv", BotChatterInterface::FriendlyFire), + HOOK_SYMBOLDEF(0x01D1B630, "_ZN19BotChatterInterface13ReportEnemiesEv", BotChatterInterface::ReportEnemies), + //HOOK_SYMBOLDEF(0x01D1BD70, "_ZNK19BotChatterInterface11ShouldSpeakEv", BotChatterInterface::ShouldSpeak), // NOXREF + HOOK_SYMBOLDEF(0x01D18C30, "_Z20GetRandomSpotAtPlacej", GetRandomSpotAtPlace), + +#endif // Bot_Region + +#ifndef CS_Util_Region + + HOOK_SYMBOLDEF(0x01D36490, "_Z16UTIL_IsNameTakenPKcb", UTIL_IsNameTaken), + HOOK_SYMBOLDEF(0x01D365E0, "_Z18UTIL_ClientsInGamev", UTIL_ClientsInGame), + HOOK_SYMBOLDEF(0x01D36690, "_Z24UTIL_ActivePlayersInGamev", UTIL_ActivePlayersInGame), + HOOK_SYMBOLDEF(0x01D36760, "_Z17UTIL_HumansInGameb", UTIL_HumansInGame), + HOOK_SYMBOLDEF(0x01D36850, "_Z17UTIL_HumansOnTeamib", UTIL_HumansOnTeam), + HOOK_SYMBOLDEF(0x01D36940, "_Z15UTIL_BotsInGamev", UTIL_BotsInGame), + HOOK_SYMBOLDEF(0x01D36A00, "_Z20UTIL_KickBotFromTeam8TeamName", UTIL_KickBotFromTeam), + HOOK_SYMBOLDEF(0x01D36C10, "_Z18UTIL_IsTeamAllBotsi", UTIL_IsTeamAllBots), + HOOK_SYMBOLDEF(0x01D36CE0, "_Z21UTIL_GetClosestPlayerPK6VectorPf", UTIL_GetClosestPlayer, CBasePlayer *(const Vector *pos, float *distance)), + HOOK_SYMBOLDEF(0x01D36E30, "_Z21UTIL_GetClosestPlayerPK6VectoriPf", UTIL_GetClosestPlayer, CBasePlayer *(const Vector *pos, int team, float *distance)), + //HOOK_SYMBOLDEF(0x01D36F90, "_Z17UTIL_GetBotPrefixv", UTIL_GetBotPrefix), // NOXREF + HOOK_SYMBOLDEF(0x01D36FA0, "_Z24UTIL_ConstructBotNetNamePciPK10BotProfile", UTIL_ConstructBotNetName), + HOOK_SYMBOLDEF(0x01D37000, "_Z20UTIL_IsVisibleToTeamRK6Vectorif", UTIL_IsVisibleToTeam), + HOOK_SYMBOLDEF(0x01D37190, "_Z19UTIL_GetLocalPlayerv", UTIL_GetLocalPlayer), + //HOOK_SYMBOLDEF(0x01D371B0, "_Z18UTIL_ComputeOriginP9entvars_s", UTIL_ComputeOrigin, Vector(entvars_t *)), // NOXREF + //HOOK_SYMBOLDEF(0x01D37250, "_Z18UTIL_ComputeOriginP11CBaseEntity", UTIL_ComputeOrigin, Vector(CBaseEntity *)), // NOXREF + //HOOK_SYMBOLDEF(0x01D37300, "_Z18UTIL_ComputeOriginP7edict_s", UTIL_ComputeOrigin, Vector(edict_t *)), // NOXREF + //HOOK_SYMBOLDEF(0x01D373B0, "_Z20UTIL_DrawBeamFromEnti6Vectorihhh", UTIL_DrawBeamFromEnt), // NOXREF + HOOK_SYMBOLDEF(0x01D37480, "_Z19UTIL_DrawBeamPoints6VectorS_ihhh", UTIL_DrawBeamPoints), + HOOK_SYMBOLDEF(0x01D375D0, "_Z11BotPrecachev", BotPrecache), + HOOK_SYMBOLDEF(0x01D37570, "_Z12CONSOLE_ECHOPcz", CONSOLE_ECHO), + //HOOK_SYMBOLDEF(0x01D375A0, "_Z19CONSOLE_ECHO_LOGGEDPcz", CONSOLE_ECHO_LOGGED), // NOXREF + HOOK_SYMBOLDEF(0x01D37660, "_Z11InitBotTrigv", InitBotTrig), + + HOOK_SYMBOLDEF(0x01D37690, "_Z6BotCOSf", BotCOS), + HOOK_SYMBOLDEF(0x01D37700, "_Z6BotSINf", BotSIN), + + HOOK_SYMBOLDEF(0x01D37770, "_Z18IsGameEventAudible13GameEventTypeP11CBaseEntityS1_PfP12PriorityTypePb", IsGameEventAudible), + HOOK_SYMBOLDEF(0x01D37A00, "_Z23HintMessageToAllPlayersPKc", HintMessageToAllPlayers), + +#endif // CS_Util_Region + +#ifndef CS_Init_Region + + HOOK_SYMBOLDEF(0x01D206A0, "_Z17InstallBotControlv", InstallBotControl), + HOOK_SYMBOLDEF(0x01D20730, "_Z17Bot_ServerCommandv", Bot_ServerCommand), + HOOK_SYMBOLDEF(0x01D20760, "_Z17Bot_RegisterCvarsv", Bot_RegisterCVars), + +#endif // CS_Init_Region + +#ifndef H_Region + +//AI + //HOOK_SYMBOLDEF(0x01D848B0, "_Z11FBoxVisibleP9entvars_sS0_R6Vectorf", FBoxVisible), // NOXREF + //HOOK_SYMBOLDEF(0x01D84A10, "_Z12VecCheckTossP9entvars_sRK6VectorS1_f", VecCheckToss), // NOXREF + //HOOK_SYMBOLDEF(0x01D84EB0, "_Z13VecCheckThrowP9entvars_sRK6VectorS1_ff", VecCheckThrow), // NOXREF +//CRecharge + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D851E0, "_ZN9CRecharge5SpawnEv", CRecharge::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D85270, "_ZN9CRecharge8PrecacheEv", CRecharge::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D85130, "_ZN9CRecharge8KeyValueEP14KeyValueData_s", CRecharge::KeyValue), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D85070, "_ZN9CRecharge4SaveER5CSave", CRecharge::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D850A0, "_ZN9CRecharge7RestoreER8CRestore", CRecharge::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D85120, "_ZN9CRecharge10ObjectCapsEv", CRecharge::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D852A0, "_ZN9CRecharge3UseEP11CBaseEntityS1_8USE_TYPEf", CRecharge::Use), + // non-virtual func + HOOK_DEF(0x01D850D0, func_recharge), + HOOK_SYMBOLDEF(0x01D855A0, "_ZN9CRecharge3OffEv", CRecharge::Off), + HOOK_SYMBOLDEF(0x01D85570, "_ZN9CRecharge8RechargeEv", CRecharge::Recharge), +//CCycler + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D85AA0, "_ZN7CCycler5SpawnEv", CCycler::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D85630, "_ZN7CCycler4SaveER5CSave", CCycler::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D85660, "_ZN7CCycler7RestoreER8CRestore", CCycler::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D856E0, "_ZN7CCycler10ObjectCapsEv", CCycler::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D85C60, "_ZN7CCycler10TakeDamageEP9entvars_sS1_fi", CCycler::TakeDamage), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D856F0, "_ZN7CCycler7IsAliveEv", CCycler::IsAlive), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D85B80, "_ZN7CCycler5ThinkEv", CCycler::Think), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D85C20, "_ZN7CCycler3UseEP11CBaseEntityS1_8USE_TYPEf", CCycler::Use), + // non-virtual func + //HOOK_SYMBOLDEF(0x01D859B0, "_ZN7CCycler18GenericCyclerSpawnEPc6VectorS1__part_11_constprop_16", CCycler::GenericCyclerSpawn), // NOXREF +//CCyclerProbe + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D85860, "_ZN12CCyclerProbe5SpawnEv", CCyclerProbe::Spawn), +//CGenericCycler + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D85700, "_ZN14CGenericCycler5SpawnEv", CGenericCycler::Spawn), +//CCyclerSprite + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D85DE0, "_ZN13CCyclerSprite5SpawnEv", CCyclerSprite::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D85F00, "_ZN13CCyclerSprite7RestartEv", CCyclerSprite::Restart), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D85D80, "_ZN13CCyclerSprite4SaveER5CSave", CCyclerSprite::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D85DB0, "_ZN13CCyclerSprite7RestoreER8CRestore", CCyclerSprite::Restore), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D85D70, "_ZN13CCyclerSprite10ObjectCapsEv", CCyclerSprite::ObjectCaps), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D86090, "_ZN13CCyclerSprite10TakeDamageEP9entvars_sS1_fi", CCyclerSprite::TakeDamage), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D85FB0, "_ZN13CCyclerSprite5ThinkEv", CCyclerSprite::Think), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D86050, "_ZN13CCyclerSprite3UseEP11CBaseEntityS1_8USE_TYPEf", CCyclerSprite::Use), + // non-virtual func + //HOOK_SYMBOLDEF(0x01D86100, "_ZN13CCyclerSprite7AnimateEf", CCyclerSprite::Animate), // NOXREF +//CWeaponCycler + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D861F0, "_ZN13CWeaponCycler5SpawnEv", CWeaponCycler::Spawn), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D861E0, "_ZN13CWeaponCycler11GetItemInfoEP8ItemInfo", CWeaponCycler::GetItemInfo), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D862D0, "_ZN13CWeaponCycler6DeployEv", CWeaponCycler::Deploy), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D86320, "_ZN13CWeaponCycler7HolsterEi", CWeaponCycler::Holster), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D861D0, "_ZN13CWeaponCycler9iItemSlotEv", CWeaponCycler::iItemSlot), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D86370, "_ZN13CWeaponCycler15SecondaryAttackEv", CWeaponCycler::SecondaryAttack), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D86340, "_ZN13CWeaponCycler13PrimaryAttackEv", CWeaponCycler::PrimaryAttack), +//CWreckage + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D864D0, "_ZN9CWreckage5SpawnEv", CWreckage::Spawn), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D86580, "_ZN9CWreckage8PrecacheEv", CWreckage::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D86420, "_ZN9CWreckage4SaveER5CSave", CWreckage::Save), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D86450, "_ZN9CWreckage7RestoreER8CRestore", CWreckage::Restore), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D865B0, "_ZN9CWreckage5ThinkEv", CWreckage::Think), +//linked objects + HOOK_DEF(0x01D85690, cycler), + HOOK_DEF(0x01D85810, cycler_prdroid), + HOOK_DEF(0x01D85D20, cycler_sprite), + HOOK_DEF(0x01D86150, cycler_weapon), + HOOK_DEF(0x01D86480, cycler_wreckage), + +#endif // H_Region + +#ifndef Tutor_CS_Region + + HOOK_SYMBOLDEF(0x01DD26D0, "_Z12InstallTutorb", InstallTutor), + HOOK_SYMBOLDEF(0x01DD2740, "_Z19Tutor_RegisterCVarsv", Tutor_RegisterCVars), + HOOK_SYMBOLDEF(0x01DD27C0, "_Z18MonitorTutorStatusv", MonitorTutorStatus), +//CBaseTutor + //HOOK_SYMBOLDEF(0x01DD2BF0, "_ZN10CBaseTutorC2Ev", CBaseTutor::CBaseTutor), + //HOOK_SYMBOLDEF(0x01DD2C10, "_ZN10CBaseTutorD0Ev", CBaseTutor::~CBaseTutor), + // virtual func + //HOOK_SYMBOL_VIRTUAL_DEF(0x0, "_ZN10CBaseTutor10TutorThinkEf", CBaseTutor::TutorThink), // PURE virt + //HOOK_SYMBOL_VIRTUAL_DEF(0x0, "_ZN10CBaseTutor13PurgeMessagesEv", CBaseTutor::PurgeMessages), // PURE virt + //HOOK_SYMBOL_VIRTUAL_DEF(0x0, "_ZN10CBaseTutor16CallEventHandlerE13GameEventTypeP11CBaseEntityS2_", CBaseTutor::CallEventHandler), // PURE virt + //HOOK_SYMBOL_VIRTUAL_DEF(0x0, "_ZN10CBaseTutor16ShowTutorMessageEP17TutorMessageEvent", CBaseTutor::ShowTutorMessage), // PURE virt + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DD3070, "_ZN10CBaseTutor22IsEntityInViewOfPlayerEP11CBaseEntityP11CBasePlayer", CBaseTutor::IsEntityInViewOfPlayer), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DD3350, "_ZN10CBaseTutor24IsBombsiteInViewOfPlayerEP11CBaseEntityP11CBasePlayer", CBaseTutor::IsBombsiteInViewOfPlayer), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DD3480, "_ZN10CBaseTutor18IsEntityInBombsiteEP11CBaseEntityS1_", CBaseTutor::IsEntityInBombsite), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DD3160, "_ZN10CBaseTutor25IsPlayerLookingAtPositionEP6VectorP11CBasePlayer", CBaseTutor::IsPlayerLookingAtPosition), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DD3240, "_ZN10CBaseTutor23IsPlayerLookingAtEntityEP11CBaseEntityP11CBasePlayer", CBaseTutor::IsPlayerLookingAtEntity), + //HOOK_SYMBOL_VIRTUAL_DEF(0x0, "_ZN10CBaseTutor15HandleShotFiredE6VectorS0_", CBaseTutor::HandleShotFired), // PURE virt + //HOOK_SYMBOL_VIRTUAL_DEF(0x0, "_ZN10CBaseTutor25GetTutorMessageDefinitionEi", CBaseTutor::GetTutorMessageDefinition), // PURE virt + // non-virtual func + HOOK_SYMBOLDEF(0x01DD2DA0, "_ZN10CBaseTutor10StartFrameEf", CBaseTutor::StartFrame), + HOOK_SYMBOLDEF(0x01DD2C70, "_ZN10CBaseTutor7OnEventE13GameEventTypeP11CBaseEntityS2_", CBaseTutor::OnEvent), + //HOOK_SYMBOLDEF(0x01DD2CF0, "_ZN10CBaseTutor9ShotFiredE6VectorS0_", CBaseTutor::ShotFired), // NOXREF + HOOK_SYMBOLDEF(0x01DD2DB0, "_ZN10CBaseTutor22DisplayMessageToPlayerEP11CBasePlayeriPKcP17TutorMessageEvent", CBaseTutor::DisplayMessageToPlayer), + //HOOK_SYMBOLDEF(0x01DD2F80, "_ZN10CBaseTutor16DrawLineToEntityEP11CBasePlayerii", CBaseTutor::DrawLineToEntity), // NOXREF + //HOOK_SYMBOLDEF(0x01DD2FD0, "_ZN10CBaseTutor34DisplayNewStateDescriptionToPlayerEv", CBaseTutor::DisplayNewStateDescriptionToPlayer), // NOXREF + HOOK_SYMBOLDEF(0x01DD3020, "_ZN10CBaseTutor18CloseCurrentWindowEv", CBaseTutor::CloseCurrentWindow), + //HOOK_SYMBOLDEF(0x01DD2D30, "_ZN10CBaseTutor23CheckForStateTransitionE13GameEventTypeP11CBaseEntityS2_", CBaseTutor::CheckForStateTransition), // NOXREF + //HOOK_SYMBOLDEF(0x01DD3060, "_ZN10CBaseTutor25CalculatePathForObjectiveEP11CBaseEntity", CBaseTutor::CalculatePathForObjective), // PURE + HOOK_SYMBOLDEF(0x01DD3510, "_ZN10CBaseTutor20DoMessagesHaveSameIDEii", CBaseTutor::DoMessagesHaveSameID), +//CCSTutor + //HOOK_SYMBOLDEF(0x01DD3A30, "_ZN8CCSTutorC2Ev", CCSTutor::CCSTutor), + //HOOK_SYMBOLDEF(0x01DD3B90, "_ZN8CCSTutorC2Ev", CCSTutor::~CCSTutor), + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DD46C0, "_ZN8CCSTutor10TutorThinkEf", CCSTutor::TutorThink), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DD56C0, "_ZN8CCSTutor13PurgeMessagesEv", CCSTutor::PurgeMessages), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DD5960, "_ZN8CCSTutor16ShowTutorMessageEP17TutorMessageEvent", CCSTutor::ShowTutorMessage), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DD5A20, "_ZN8CCSTutor16CallEventHandlerE13GameEventTypeP11CBaseEntityS2_", CCSTutor::CallEventHandler), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DD9830, "_ZN8CCSTutor15HandleShotFiredE6VectorS0_", CCSTutor::HandleShotFired), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DDA8B0, "_ZN8CCSTutor25GetTutorMessageDefinitionEi", CCSTutor::GetTutorMessageDefinition), + // non-virtual func + HOOK_SYMBOLDEF(0x01DD5510, "_ZN8CCSTutor14AddToEventListEP17TutorMessageEvent", CCSTutor::AddToEventList), + HOOK_SYMBOLDEF(0x01DD5530, "_ZN8CCSTutor23CreateAndAddEventToListE14TutorMessageIDP11CBaseEntityS2_", CCSTutor::CreateAndAddEventToList), + HOOK_SYMBOLDEF(0x01DD51B0, "_ZN8CCSTutor23CreateTutorMessageEventE14TutorMessageIDP11CBaseEntityS2_", CCSTutor::CreateTutorMessageEvent), + HOOK_SYMBOLDEF(0x01DD55C0, "_ZN8CCSTutor24DeleteEventFromEventListEP17TutorMessageEvent", CCSTutor::DeleteEventFromEventList), + HOOK_SYMBOLDEF(0x01DD5640, "_ZN8CCSTutor14ClearEventListEv", CCSTutor::ClearEventList), + HOOK_SYMBOLDEF(0x01DD4BE0, "_ZN8CCSTutor17ClearCurrentEventEbb", CCSTutor::ClearCurrentEvent), + HOOK_SYMBOLDEF(0x01DD5690, "_ZN8CCSTutor11DeleteEventEP17TutorMessageEvent", CCSTutor::DeleteEvent), + HOOK_SYMBOLDEF(0x01DD4410, "_ZN8CCSTutor22ShouldShowMessageEventEP17TutorMessageEventf", CCSTutor::ShouldShowMessageEvent), + //HOOK_SYMBOLDEF(0x01DD5870, "_ZN8CCSTutor26ShouldUpdateCurrentMessageE14TutorMessageID", CCSTutor::ShouldUpdateCurrentMessage), // NOXREF + HOOK_SYMBOLDEF(0x01DD57B0, "_ZN8CCSTutor29ComputeDisplayTimesForMessageEv", CCSTutor::ComputeDisplayTimesForMessage), + HOOK_SYMBOLDEF(0x01DD58A0, "_ZN8CCSTutor20UpdateCurrentMessageEP17TutorMessageEvent", CCSTutor::UpdateCurrentMessage), + //HOOK_SYMBOLDEF(0x01DD59B0, "_ZN8CCSTutor26ConstructMessageAndDisplayEv", CCSTutor::ConstructMessageAndDisplay), // NOXREF + //HOOK_SYMBOLDEF(0x01DD5190, "_ZN8CCSTutor12LookupHotKeyE14TutorMessageIDiPwi", CCSTutor::LookupHotKey), // NOXREF + //HOOK_SYMBOLDEF(0x01DD4970, "_ZN8CCSTutor19CheckForWindowCloseEf", CCSTutor::CheckForWindowClose), // NOXREF + //HOOK_SYMBOLDEF(0x01DD4AF0, "_ZN8CCSTutor21CheckForContentUpdateEv", CCSTutor::CheckForContentUpdate), // NOXREF + //HOOK_SYMBOLDEF(0x01DD43E0, "_ZN8CCSTutor36HasCurrentWindowBeenActiveLongEnoughEf", CCSTutor::HasCurrentWindowBeenActiveLongEnough), // NOXREF + HOOK_SYMBOLDEF(0x01DD4540, "_ZN8CCSTutor32CheckForInterruptingMessageEventEf", CCSTutor::CheckForInterruptingMessageEvent), + HOOK_SYMBOLDEF(0x01DD4D80, "_ZN8CCSTutor22CheckForInactiveEventsEf", CCSTutor::CheckForInactiveEvents), + HOOK_SYMBOLDEF(0x01DD5020, "_ZN8CCSTutor11CancelEventE14TutorMessageID", CCSTutor::CancelEvent), + //HOOK_SYMBOLDEF(0x01DD4C90, "_ZN8CCSTutor26ProcessShownDeathsForEventEP17TutorMessageEvent", CCSTutor::ProcessShownDeathsForEvent), // NOXREF + //HOOK_SYMBOLDEF(0x01DDB520, "_ZN8CCSTutor19TransferDeathEventsEP17TutorMessageEventS1_", CCSTutor::TransferDeathEvents), // NOXREF + HOOK_SYMBOLDEF(0x01DD4CC0, "_ZN8CCSTutor26GetTutorMessageUpdateEventEv", CCSTutor::GetTutorMessageUpdateEvent), + HOOK_SYMBOLDEF(0x01DD4D10, "_ZN8CCSTutor33GetDuplicateMessagesFromEventListERP17TutorMessageEventS2_", CCSTutor::GetDuplicateMessagesFromEventList), + //HOOK_SYMBOLDEF(0x01DDB390, "_ZN8CCSTutor9IsBombMapEv", CCSTutor::IsBombMap), // NOXREF + //HOOK_SYMBOLDEF(0x01DDB370, "_ZN8CCSTutor12IsHostageMapEv", CCSTutor::IsHostageMap), // NOXREF + //HOOK_SYMBOLDEF(0x01DD6460, "_ZN8CCSTutor17HandleWeaponFiredEP11CBaseEntityS1_", CCSTutor::HandleWeaponFired), // NOXREF + HOOK_SYMBOLDEF(0x01DD64A0, "_ZN8CCSTutor24HandleWeaponFiredOnEmptyEP11CBaseEntityS1_", CCSTutor::HandleWeaponFiredOnEmpty), + //HOOK_SYMBOLDEF(0x01DD65A0, "_ZN8CCSTutor20HandleWeaponReloadedEP11CBaseEntityS1_", CCSTutor::HandleWeaponReloaded), // NOXREF + HOOK_SYMBOLDEF(0x01DD65E0, "_ZN8CCSTutor16HandlePlayerDiedEP11CBaseEntityS1_", CCSTutor::HandlePlayerDied), + //HOOK_SYMBOLDEF(0x01DD6F90, "_ZN8CCSTutor19HandlePlayerSpawnedEP11CBaseEntityS1_", CCSTutor::HandlePlayerSpawned), // NOXREF + //HOOK_SYMBOLDEF(0x01DD7040, "_ZN8CCSTutor25HandleClientCorpseSpawnedEP11CBaseEntityS1_", CCSTutor::HandleClientCorpseSpawned), // NOXREF + HOOK_SYMBOLDEF(0x01DD6D60, "_ZN8CCSTutor22HandlePlayerTookDamageEP11CBaseEntityS1_", CCSTutor::HandlePlayerTookDamage), + //HOOK_SYMBOLDEF(0x01DD6EE0, "_ZN8CCSTutor30HandlePlayerBlindedByFlashbangEP11CBaseEntityS1_", CCSTutor::HandlePlayerBlindedByFlashbang), // NOXREF + //HOOK_SYMBOLDEF(0x01DD7380, "_ZN8CCSTutor18HandleBuyTimeStartEP11CBaseEntityS1_", CCSTutor::HandleBuyTimeStart), // NOXREF + //HOOK_SYMBOLDEF(0x01DD7390, "_ZN8CCSTutor23HandlePlayerLeftBuyZoneEP11CBaseEntityS1_", CCSTutor::HandlePlayerLeftBuyZone), // NOXREF + //HOOK_SYMBOLDEF(0x01DD7490, "_ZN8CCSTutor17HandleBombPlantedEP11CBaseEntityS1_", CCSTutor::HandleBombPlanted), // NOXREF + HOOK_SYMBOLDEF(0x01DD75B0, "_ZN8CCSTutor17HandleBombDefusedEP11CBaseEntityS1_", CCSTutor::HandleBombDefused), + //HOOK_SYMBOLDEF(0x01DD7740, "_ZN8CCSTutor18HandleBombDefusingEP11CBaseEntityS1_", CCSTutor::HandleBombDefusing), // NOXREF + //HOOK_SYMBOLDEF(0x01DD7800, "_ZN8CCSTutor18HandleBombExplodedEP11CBaseEntityS1_", CCSTutor::HandleBombExploded), // NOXREF + HOOK_SYMBOLDEF(0x01DD7920, "_ZN8CCSTutor16HandleRoundStartEP11CBaseEntityS1_", CCSTutor::HandleRoundStart), + //HOOK_SYMBOLDEF(0x01DD7B30, "_ZN8CCSTutor17HandleBeingShotAtEP11CBaseEntityS1_", CCSTutor::HandleBeingShotAt), // NOXREF + HOOK_SYMBOLDEF(0x01DD7C00, "_ZN8CCSTutor17HandleHostageUsedEP11CBaseEntityS1_", CCSTutor::HandleHostageUsed), + //HOOK_SYMBOLDEF(0x01DD7E30, "_ZN8CCSTutor20HandleHostageRescuedEP11CBaseEntityS1_", CCSTutor::HandleHostageRescued), // NOXREF + //HOOK_SYMBOLDEF(0x01DD7FD0, "_ZN8CCSTutor24HandleAllHostagesRescuedEP11CBaseEntityS1_", CCSTutor::HandleAllHostagesRescued), // NOXREF + //HOOK_SYMBOLDEF(0x01DD80F0, "_ZN8CCSTutor20HandleHostageDamagedEP11CBaseEntityS1_", CCSTutor::HandleHostageDamaged), // NOXREF + HOOK_SYMBOLDEF(0x01DD81B0, "_ZN8CCSTutor19HandleHostageKilledEP11CBaseEntityS1_", CCSTutor::HandleHostageKilled), + //HOOK_SYMBOLDEF(0x01DD8430, "_ZN8CCSTutor15HandleRoundDrawEP11CBaseEntityS1_", CCSTutor::HandleRoundDraw), // NOXREF + //HOOK_SYMBOLDEF(0x01DD84E0, "_ZN8CCSTutor11HandleCTWinEP11CBaseEntityS1_", CCSTutor::HandleCTWin), // NOXREF + //HOOK_SYMBOLDEF(0x01DD8580, "_ZN8CCSTutor10HandleTWinEP11CBaseEntityS1_", CCSTutor::HandleTWin), // NOXREF + //HOOK_SYMBOLDEF(0x01DD8620, "_ZN8CCSTutor22HandleDeathCameraStartEP11CBaseEntityS1_", CCSTutor::HandleDeathCameraStart), // NOXREF + //HOOK_SYMBOLDEF(0x01DD86E0, "_ZN8CCSTutor18HandleRadioCoverMeEP11CBaseEntityS1_", CCSTutor::HandleRadioCoverMe), // NOXREF + //HOOK_SYMBOLDEF(0x01DD8770, "_ZN8CCSTutor26HandleRadioYouTakeThePointEP11CBaseEntityS1_", CCSTutor::HandleRadioYouTakeThePoint), // NOXREF + //HOOK_SYMBOLDEF(0x01DD8800, "_ZN8CCSTutor27HandleRadioHoldThisPositionEP11CBaseEntityS1_", CCSTutor::HandleRadioHoldThisPosition), // NOXREF + //HOOK_SYMBOLDEF(0x01DD8890, "_ZN8CCSTutor22HandleRadioRegroupTeamEP11CBaseEntityS1_", CCSTutor::HandleRadioRegroupTeam), // NOXREF + //HOOK_SYMBOLDEF(0x01DD8920, "_ZN8CCSTutor19HandleRadioFollowMeEP11CBaseEntityS1_", CCSTutor::HandleRadioFollowMe), // NOXREF + //HOOK_SYMBOLDEF(0x01DD89B0, "_ZN8CCSTutor21HandleRadioTakingFireEP11CBaseEntityS1_", CCSTutor::HandleRadioTakingFire), // NOXREF + //HOOK_SYMBOLDEF(0x01DD8A40, "_ZN8CCSTutor17HandleRadioGoGoGoEP11CBaseEntityS1_", CCSTutor::HandleRadioGoGoGo), // NOXREF + //HOOK_SYMBOLDEF(0x01DD8AD0, "_ZN8CCSTutor23HandleRadioTeamFallBackEP11CBaseEntityS1_", CCSTutor::HandleRadioTeamFallBack), // NOXREF + //HOOK_SYMBOLDEF(0x01DD8B60, "_ZN8CCSTutor28HandleRadioStickTogetherTeamEP11CBaseEntityS1_", CCSTutor::HandleRadioStickTogetherTeam), // NOXREF + //HOOK_SYMBOLDEF(0x01DD8BF0, "_ZN8CCSTutor31HandleRadioGetInPositionAndWaitEP11CBaseEntityS1_", CCSTutor::HandleRadioGetInPositionAndWait), // NOXREF + //HOOK_SYMBOLDEF(0x01DD8C80, "_ZN8CCSTutor24HandleRadioStormTheFrontEP11CBaseEntityS1_", CCSTutor::HandleRadioStormTheFront), // NOXREF + //HOOK_SYMBOLDEF(0x01DD8D10, "_ZN8CCSTutor23HandleRadioReportInTeamEP11CBaseEntityS1_", CCSTutor::HandleRadioReportInTeam), // NOXREF + //HOOK_SYMBOLDEF(0x01DD8DA0, "_ZN8CCSTutor22HandleRadioAffirmativeEP11CBaseEntityS1_", CCSTutor::HandleRadioAffirmative), // NOXREF + //HOOK_SYMBOLDEF(0x01DD8E30, "_ZN8CCSTutor23HandleRadioEnemySpottedEP11CBaseEntityS1_", CCSTutor::HandleRadioEnemySpotted), // NOXREF + //HOOK_SYMBOLDEF(0x01DD8EC0, "_ZN8CCSTutor21HandleRadioNeedBackupEP11CBaseEntityS1_", CCSTutor::HandleRadioNeedBackup), // NOXREF + //HOOK_SYMBOLDEF(0x01DD8F50, "_ZN8CCSTutor22HandleRadioSectorClearEP11CBaseEntityS1_", CCSTutor::HandleRadioSectorClear), // NOXREF + //HOOK_SYMBOLDEF(0x01DD8FE0, "_ZN8CCSTutor21HandleRadioInPositionEP11CBaseEntityS1_", CCSTutor::HandleRadioInPosition), // NOXREF + //HOOK_SYMBOLDEF(0x01DD9070, "_ZN8CCSTutor22HandleRadioReportingInEP11CBaseEntityS1_", CCSTutor::HandleRadioReportingIn), // NOXREF + //HOOK_SYMBOLDEF(0x01DD9100, "_ZN8CCSTutor24HandleRadioGetOutOfThereEP11CBaseEntityS1_", CCSTutor::HandleRadioGetOutOfThere), // NOXREF + //HOOK_SYMBOLDEF(0x01DD9190, "_ZN8CCSTutor19HandleRadioNegativeEP11CBaseEntityS1_", CCSTutor::HandleRadioNegative), // NOXREF + //HOOK_SYMBOLDEF(0x01DD9220, "_ZN8CCSTutor20HandleRadioEnemyDownEP11CBaseEntityS1_", CCSTutor::HandleRadioEnemyDown), // NOXREF + //HOOK_SYMBOLDEF(0x01DD7240, "_ZN8CCSTutor20HandleBuyMenuOpennedEP11CBaseEntityS1_", CCSTutor::HandleBuyMenuOpenned), // NOXREF + //HOOK_SYMBOLDEF(0x01DD72E0, "_ZN8CCSTutor13HandleAutoBuyEP11CBaseEntityS1_", CCSTutor::HandleAutoBuy), // NOXREF + //HOOK_SYMBOLDEF(0x01DD92B0, "_ZN8CCSTutor23HandleNotBuyingAnythingEP11CBaseEntityS1_", CCSTutor::HandleNotBuyingAnything), // NOXREF + //HOOK_SYMBOLDEF(0x01DD9340, "_ZN8CCSTutor28HandleNeedToBuyPrimaryWeaponEP11CBaseEntityS1_", CCSTutor::HandleNeedToBuyPrimaryWeapon), // NOXREF + //HOOK_SYMBOLDEF(0x01DD93D0, "_ZN8CCSTutor26HandleNeedToBuyPrimaryAmmoEP11CBaseEntityS1_", CCSTutor::HandleNeedToBuyPrimaryAmmo), // NOXREF + //HOOK_SYMBOLDEF(0x01DD9460, "_ZN8CCSTutor28HandleNeedToBuySecondaryAmmoEP11CBaseEntityS1_", CCSTutor::HandleNeedToBuySecondaryAmmo), // NOXREF + //HOOK_SYMBOLDEF(0x01DD94F0, "_ZN8CCSTutor20HandleNeedToBuyArmorEP11CBaseEntityS1_", CCSTutor::HandleNeedToBuyArmor), // NOXREF + //HOOK_SYMBOLDEF(0x01DD9580, "_ZN8CCSTutor24HandleNeedToBuyDefuseKitEP11CBaseEntityS1_", CCSTutor::HandleNeedToBuyDefuseKit), // NOXREF + //HOOK_SYMBOLDEF(0x01DD9610, "_ZN8CCSTutor22HandleNeedToBuyGrenadeEP11CBaseEntityS1_", CCSTutor::HandleNeedToBuyGrenade), // NOXREF + //HOOK_SYMBOLDEF(0x01DD96A0, "_ZN8CCSTutor20HandleCareerTaskDoneEP11CBaseEntityS1_", CCSTutor::HandleCareerTaskDone), // NOXREF + //HOOK_SYMBOLDEF(0x01DD98F0, "_ZN8CCSTutor25GetNumPlayersAliveOnTeamsERiS0_", CCSTutor::GetNumPlayersAliveOnTeams), // NOXREF + HOOK_SYMBOLDEF(0x01DD9BA0, "_ZN8CCSTutor20CheckForBombViewableEv", CCSTutor::CheckForBombViewable), + //HOOK_SYMBOLDEF(0x01DD9970, "_ZN8CCSTutor27CheckForLooseWeaponViewableEv", CCSTutor::CheckForLooseWeaponViewable), // NOXREF + HOOK_SYMBOLDEF(0x01DD9A80, "_ZN8CCSTutor28CheckForLooseDefuserViewableEv", CCSTutor::CheckForLooseDefuserViewable), + HOOK_SYMBOLDEF(0x01DD9F30, "_ZN8CCSTutor24CheckForBombsiteViewableEv", CCSTutor::CheckForBombsiteViewable), + HOOK_SYMBOLDEF(0x01DDA1D0, "_ZN8CCSTutor18CheckForInBombZoneEv", CCSTutor::CheckForInBombZone), + HOOK_SYMBOLDEF(0x01DDA340, "_ZN8CCSTutor23CheckForHostageViewableEv", CCSTutor::CheckForHostageViewable), + HOOK_SYMBOLDEF(0x01DDA550, "_ZN8CCSTutor22CheckForTimeRunningOutEv", CCSTutor::CheckForTimeRunningOut), + //HOOK_SYMBOLDEF(0x01DDA740, "_ZN8CCSTutor23CheckForAllHostagesDeadEv", CCSTutor::CheckForAllHostagesDead), // NOXREF + //HOOK_SYMBOLDEF(0x01DDA810, "_ZN8CCSTutor35CheckForAllHostagesFollowingSomeoneEv", CCSTutor::CheckForAllHostagesFollowingSomeone), // NOXREF + HOOK_SYMBOLDEF(0x01DDAB10, "_ZN8CCSTutor17CheckHintMessagesEf", CCSTutor::CheckHintMessages), + //HOOK_SYMBOLDEF(0x01DDAC40, "_ZN8CCSTutor23CheckInGameHintMessagesEf", CCSTutor::CheckInGameHintMessages), // NOXREF + HOOK_SYMBOLDEF(0x01DDAF80, "_ZN8CCSTutor20CheckExamineMessagesEf", CCSTutor::CheckExamineMessages), + HOOK_SYMBOLDEF(0x01DDAD20, "_ZN8CCSTutor20CheckForNeedToReloadEb", CCSTutor::CheckForNeedToReload), + //HOOK_SYMBOLDEF(0x01DDB210, "_ZN8CCSTutor22CanLocalPlayerBuyStuffEv", CCSTutor::CanLocalPlayerBuyStuff), // NOXREF + HOOK_SYMBOLDEF(0x01DDB230, "_ZN8CCSTutor20CheckBuyZoneMessagesEv", CCSTutor::CheckBuyZoneMessages), + //HOOK_SYMBOLDEF(0x01DDA2F0, "_ZN8CCSTutor23IsBombPlantedInBombsiteEP11CBaseEntity", CCSTutor::IsBombPlantedInBombsite), // NOXREF + HOOK_SYMBOLDEF(0x01DD3D30, "_ZN8CCSTutor20ReadTutorMessageFileEv", CCSTutor::ReadTutorMessageFile), + //HOOK_SYMBOLDEF(0x01DD43A0, "_ZN8CCSTutor20ApplyPersistentDecayEv", CCSTutor::ApplyPersistentDecay), // NOXREF + HOOK_SYMBOLDEF(0x01DDA9A0, "_ZN8CCSTutor21GetEntityForMessageIDEiP11CBaseEntity", CCSTutor::GetEntityForMessageID), + HOOK_SYMBOLDEF(0x01DDB3A0, "_ZN8CCSTutor20ResetPlayerDeathInfoEv", CCSTutor::ResetPlayerDeathInfo), + HOOK_SYMBOLDEF(0x01DDB3C0, "_ZN8CCSTutor25ConstructRecentDeathsListE8TeamNamePciP17TutorMessageEvent", CCSTutor::ConstructRecentDeathsList), +//TutorMessageEvent + // virtual func + //HOOK_SYMBOLDEF(0x01DD2A10, "_ZN17TutorMessageEventC2Eiiffi", TutorMessageEvent::TutorMessageEvent), + //HOOK_SYMBOLDEF(0x01DD2A50, "_ZN17TutorMessageEventD0Ev", TutorMessageEvent::~TutorMessageEvent), + // non-virtual func + HOOK_SYMBOLDEF(0x01DD2A80, "_ZN17TutorMessageEvent8IsActiveEf", TutorMessageEvent::IsActive), + //HOOK_SYMBOLDEF(0x01DD2AA0, "_ZN17TutorMessageEvent11GetPriorityEv", TutorMessageEvent::GetPriority), // NOXREF + HOOK_SYMBOLDEF(0x01DD2AB0, "_ZN17TutorMessageEvent13GetTimeActiveEf", TutorMessageEvent::GetTimeActive), + HOOK_SYMBOLDEF(0x01DD2AC0, "_ZN17TutorMessageEvent17SetActivationTimeEf", TutorMessageEvent::SetActivationTime), + HOOK_SYMBOLDEF(0x01DD2AD0, "_ZN17TutorMessageEvent5GetIDEv", TutorMessageEvent::GetID), + //HOOK_SYMBOLDEF(0x01DD2AE0, "_ZN17TutorMessageEvent14GetDuplicateIDEv", TutorMessageEvent::GetDuplicateID), // NOXREF + HOOK_SYMBOLDEF(0x01DD2AF0, "_ZN17TutorMessageEvent7SetNextEPS_", TutorMessageEvent::SetNext), + HOOK_SYMBOLDEF(0x01DD2B00, "_ZN17TutorMessageEvent7GetNextEv", TutorMessageEvent::GetNext), + HOOK_SYMBOLDEF(0x01DD2B10, "_ZN17TutorMessageEvent12AddParameterEPc", TutorMessageEvent::AddParameter), + //HOOK_SYMBOLDEF(0x01DD2BA0, "_ZN17TutorMessageEvent16GetNextParameterEPci", TutorMessageEvent::GetNextParameter), // NOXREF + //HOOK_SYMBOLDEF(0x01DD2BE0, "_ZN17TutorMessageEvent16GetNumParametersEv", TutorMessageEvent::GetNumParameters), // NOXREF +//CBaseTutorStateSystem + // virtual func + //HOOK_SYMBOLDEF(0x01DD2970, "_ZN21CBaseTutorStateSystemC2Ev", CBaseTutorStateSystem::CBaseTutorStateSystem), + //HOOK_SYMBOLDEF(0x01DD2980, "_ZN21CBaseTutorStateSystemD0Ev", CBaseTutorStateSystem::~CBaseTutorStateSystem), + //HOOK_SYMBOLDEF(0x0, "_ZN21CBaseTutorStateSystem11UpdateStateE13GameEventTypeP11CBaseEntityS2_", CBaseTutorStateSystem::UpdateState), // NOXREF PURE + //HOOK_SYMBOLDEF(0x0, "_ZN21CBaseTutorStateSystem21GetCurrentStateStringEv", CBaseTutorStateSystem::GetCurrentStateString), // NOXREF PURE + //HOOK_SYMBOLDEF(0x0, "_ZN21CBaseTutorStateSystem17ConstructNewStateEi", CBaseTutorStateSystem::ConstructNewState), // NOXREF PURE + // non-virtual func + //HOOK_SYMBOLDEF(0x01DD29B0, "_ZN21CBaseTutorStateSystem19GetCurrentStateTypeEv", CBaseTutorStateSystem::GetCurrentStateType), // NOXREF +//CBaseTutorState + // virtual func + //HOOK_SYMBOLDEF(0x01DD29C0, "_ZN15CBaseTutorStateC2Ev", CBaseTutorState::CBaseTutorState), + //HOOK_SYMBOLDEF(0x01DD29D0, "_ZN15CBaseTutorStateD0Ev", CBaseTutorState::~CBaseTutorState), + //HOOK_SYMBOL_VIRTUAL_DEF(0x0, "_ZN15CBaseTutorState23CheckForStateTransitionE13GameEventTypeP11CBaseEntityS2_", CBaseTutorState::CheckForStateTransition), // PURE virt + //HOOK_SYMBOL_VIRTUAL_DEF(0x0, "_ZN15CBaseTutorState14GetStateStringEv", CBaseTutorState::GetStateString), // PURE virt + // non-virtual func + //HOOK_SYMBOLDEF(0x01DD2A00, "_ZN15CBaseTutorState7GetTypeEv", CBaseTutorState::GetType), // NOXREF +//CCSTutorStateSystem + //HOOK_SYMBOLDEF(0x01DD3560, "_ZN19CCSTutorStateSystemC2Ev", CCSTutorStateSystem::CCSTutorStateSystem), + // virtual func + //HOOK_SYMBOLDEF(0x01DD35B0, "_ZN19CCSTutorStateSystemD0Ev", CCSTutorStateSystem::~CCSTutorStateSystem), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DD3620, "_ZN19CCSTutorStateSystem11UpdateStateE13GameEventTypeP11CBaseEntityS2_", CCSTutorStateSystem::UpdateState), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DD36B0, "_ZN19CCSTutorStateSystem21GetCurrentStateStringEv", CCSTutorStateSystem::GetCurrentStateString), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01DD36C0, "_ZN19CCSTutorStateSystem17ConstructNewStateEi", CCSTutorStateSystem::ConstructNewState), // PROTECTED +//CCSTutorUndefinedState + //HOOK_SYMBOLDEF(0x01DD3760, "_ZN22CCSTutorUndefinedStateC2Ev", CCSTutorUndefinedState::CCSTutorUndefinedState), + //HOOK_SYMBOLDEF(0x01DD3780, "_ZN22CCSTutorUndefinedStateD0Ev", CCSTutorUndefinedState::~CCSTutorUndefinedState), + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01DD37C0, "_ZN22CCSTutorUndefinedState23CheckForStateTransitionE13GameEventTypeP11CBaseEntityS2_", CCSTutorUndefinedState::CheckForStateTransition), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DD3850, "_ZN22CCSTutorUndefinedState14GetStateStringEv", CCSTutorUndefinedState::GetStateString), + // non-virtual func + //HOOK_SYMBOLDEF(0x01DD3810, "_ZN22CCSTutorUndefinedState19HandlePlayerSpawnedEP11CBaseEntityS1_", CCSTutorUndefinedState::HandlePlayerSpawned), // NOXREF +//CCSTutorWaitingForStartState + //HOOK_SYMBOLDEF(0x01DD3860, "_ZN28CCSTutorWaitingForStartStateC2Ev", CCSTutorWaitingForStartState::CCSTutorWaitingForStartState), + // virtual func + //HOOK_SYMBOLDEF(0x01DD3880, "_ZN28CCSTutorWaitingForStartStateD0Ev", CCSTutorWaitingForStartState::~CCSTutorWaitingForStartState), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DD38C0, "_ZN28CCSTutorWaitingForStartState23CheckForStateTransitionE13GameEventTypeP11CBaseEntityS2_", CCSTutorWaitingForStartState::CheckForStateTransition), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DD3910, "_ZN28CCSTutorWaitingForStartState14GetStateStringEv", CCSTutorWaitingForStartState::GetStateString), + // non-virtual func + //HOOK_SYMBOLDEF(0x01DD3920, "_ZN28CCSTutorWaitingForStartState19HandlePlayerSpawnedEP11CBaseEntityS1_", CCSTutorWaitingForStartState::HandlePlayerSpawned), // NOXREF + //HOOK_SYMBOLDEF(0x01DD3960, "_ZN28CCSTutorWaitingForStartState18HandleBuyTimeStartEP11CBaseEntityS1_", CCSTutorWaitingForStartState::HandleBuyTimeStart), // NOXREF +//CCSTutorBuyMenuState + //HOOK_SYMBOLDEF(0x01DD3970, "_ZN20CCSTutorBuyMenuStateC2Ev", CCSTutorBuyMenuState::CCSTutorBuyMenuState), + // virtual func + //HOOK_SYMBOLDEF(0x01DD3990, "_ZN20CCSTutorBuyMenuStateD0Ev", CCSTutorBuyMenuState::~CCSTutorBuyMenuState), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DD39D0, "_ZN20CCSTutorBuyMenuState23CheckForStateTransitionE13GameEventTypeP11CBaseEntityS2_", CCSTutorBuyMenuState::CheckForStateTransition), + HOOK_SYMBOL_VIRTUAL_DEF(0x01DD39F0, "_ZN20CCSTutorBuyMenuState14GetStateStringEv", CCSTutorBuyMenuState::GetStateString), + // non-virtual func + //HOOK_SYMBOLDEF(0x01DD3A00, "_ZN20CCSTutorBuyMenuState16HandleRoundStartEP11CBaseEntityS1_", CCSTutorBuyMenuState::HandleRoundStart), // NOXREF + HOOK_SYMBOLDEF(0x01DD3FB0, "_ZL22ParseMessageParametersRPcP12TutorMessage", ParseMessageParameters), + //HOOK_DEF(0x0, ConstructTutorMessage), // NOXREF + //HOOK_DEF(0x0, ReadDefaultValues), // NOXREF + +#endif // Tutor_CS_Region + +#ifndef Bot_Profile + +//BotProfile + //HOOK_DEF(0x0, MethodThunk::Constructor), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK10BotProfile7GetNameEv", BotProfile::GetName), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK10BotProfile13GetAggressionEv", BotProfile::GetAggression), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK10BotProfile8GetSkillEv", BotProfile::GetSkill), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK10BotProfile11GetTeamworkEv", BotProfile::GetTeamwork), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK10BotProfile19GetWeaponPreferenceEi", BotProfile::GetWeaponPreference), // NOXREF + HOOK_SYMBOLDEF(0x01D34DC0, "_ZNK10BotProfile27GetWeaponPreferenceAsStringEi", BotProfile::GetWeaponPreferenceAsString), + //HOOK_SYMBOLDEF(0x0, "_ZNK10BotProfile24GetWeaponPreferenceCountEv", BotProfile::GetWeaponPreferenceCount), // NOXREF + HOOK_SYMBOLDEF(0x01D34DF0, "_ZNK10BotProfile20HasPrimaryPreferenceEv", BotProfile::HasPrimaryPreference), + HOOK_SYMBOLDEF(0x01D34E50, "_ZNK10BotProfile19HasPistolPreferenceEv", BotProfile::HasPistolPreference), + //HOOK_SYMBOLDEF(0x0, "_ZNK10BotProfile7GetCostEv", BotProfile::GetCost), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK10BotProfile7GetSkinEv", BotProfile::GetSkin), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK10BotProfile12IsDifficultyE17BotDifficultyType", BotProfile::IsDifficulty), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK10BotProfile13GetVoicePitchEv", BotProfile::GetVoicePitch), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK10BotProfile15GetReactionTimeEv", BotProfile::GetReactionTime), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK10BotProfile14GetAttackDelayEv", BotProfile::GetAttackDelay), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK10BotProfile12GetVoiceBankEv", BotProfile::GetVoiceBank), // NOXREF + HOOK_SYMBOLDEF(0x01D34E90, "_ZNK10BotProfile14IsValidForTeamE18BotProfileTeamType", BotProfile::IsValidForTeam), + //HOOK_SYMBOLDEF(0x0, "_ZNK10BotProfile15PrefersSilencerEv", BotProfile::PrefersSilencer), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN10BotProfile7InheritEPKS_S1_", BotProfile::Inherit), +//BotProfileManager + //HOOK_SYMBOLDEF(0x01D34EC0, "_ZN17BotProfileManagerC2Ev", BotProfileManager::BotProfileManager), + //HOOK_SYMBOLDEF(0x01D35C30, "_ZN17BotProfileManagerD2Ev", BotProfileManager::~BotProfileManager), + HOOK_SYMBOLDEF(0x01D34F20, "_ZN17BotProfileManager4InitEPKcPj", BotProfileManager::Init), + HOOK_SYMBOLDEF(0x01D35CE0, "_ZN17BotProfileManager5ResetEv", BotProfileManager::Reset), + //HOOK_SYMBOLDEF(0x0, "_ZNK17BotProfileManager10GetProfileEPKc18BotProfileTeamType", BotProfileManager::GetProfile), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK17BotProfileManager14GetProfileListEv", BotProfileManager::GetProfileList), // NOXREF + HOOK_SYMBOLDEF(0x01D36070, "_ZNK17BotProfileManager16GetRandomProfileE17BotDifficultyType18BotProfileTeamType", BotProfileManager::GetRandomProfile), + HOOK_SYMBOLDEF(0x01D35D90, "_ZN17BotProfileManager13GetCustomSkinEi", BotProfileManager::GetCustomSkin), + HOOK_SYMBOLDEF(0x01D35DD0, "_ZN17BotProfileManager22GetCustomSkinModelnameEi", BotProfileManager::GetCustomSkinModelname), + HOOK_SYMBOLDEF(0x01D35DB0, "_ZN17BotProfileManager18GetCustomSkinFnameEi", BotProfileManager::GetCustomSkinFname), + //HOOK_SYMBOLDEF(0x01D35DF0, "_ZN17BotProfileManager18GetCustomSkinIndexEPKcS1_", BotProfileManager::GetCustomSkinIndex), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK17BotProfileManager13GetVoiceBanksEv", BotProfileManager::GetVoiceBanks), // NOXREF + HOOK_SYMBOLDEF(0x01D35E60, "_ZN17BotProfileManager18FindVoiceBankIndexEPKc", BotProfileManager::FindVoiceBankIndex), + +#endif // Bot_Profile + +#ifndef VoiceManager_Region + +//CVoiceGameMgr + //constructor/destructor func + //HOOK_SYMBOLDEF(0x0, "_ZN13CVoiceGameMgrD0Ev", CVoiceGameMgr::~CVoiceGameMgr), + // non-virtual func + //HOOK_SYMBOLDEF(0x01DCC6F0, "_ZN13CVoiceGameMgrC2Ev", CVoiceGameMgr::CVoiceGameMgr), + HOOK_SYMBOLDEF(0x01DCC740, "_ZN13CVoiceGameMgr4InitEP19IVoiceGameMgrHelperi", CVoiceGameMgr::Init), + //HOOK_SYMBOLDEF(0x01DCC7D0, "_ZN13CVoiceGameMgr9SetHelperEP19IVoiceGameMgrHelper", CVoiceGameMgr::SetHelper), // NOXREF + HOOK_SYMBOLDEF(0x01DCC7E0, "_ZN13CVoiceGameMgr6UpdateEd", CVoiceGameMgr::Update), + HOOK_SYMBOLDEF(0x01DCC800, "_ZN13CVoiceGameMgr15ClientConnectedEP7edict_s", CVoiceGameMgr::ClientConnected), + HOOK_SYMBOLDEF(0x01DCC910, "_ZN13CVoiceGameMgr13ClientCommandEP11CBasePlayerPKc", CVoiceGameMgr::ClientCommand), + HOOK_SYMBOLDEF(0x01DCC890, "_ZN13CVoiceGameMgr22PlayerHasBlockedPlayerEP11CBasePlayerS1_", CVoiceGameMgr::PlayerHasBlockedPlayer), + HOOK_SYMBOLDEF(0x01DCCB10, "_ZN13CVoiceGameMgr11UpdateMasksEv", CVoiceGameMgr::UpdateMasks), + HOOK_SYMBOLDEF(0x01DCCAB0, "_ZL16VoiceServerDebugPKcz", VoiceServerDebug), + +#endif // VoiceManager_Region + +#ifndef Vector_Region + + HOOK_SYMBOLDEF(0x01D71160, "_ZN8Vector2D16NormalizeInPlaceEv", Vector2D::NormalizeInPlace), + +#ifdef PLAY_GAMEDLL + HOOK_SYMBOLDEF(0x01D290C0, "_ZN6Vector16NormalizeInPlaceEv", Vector::NormalizeInPlace<>), +#else + HOOK_SYMBOLDEF(0x01D290C0, "_ZN6Vector16NormalizeInPlaceEv", Vector::NormalizeInPlace), +#endif + +#ifdef _WIN32 + + HOOK_DEF(0x01D12570, Vector::Length), + HOOK_DEF(0x01D9C290, Vector::Length2D), + HOOK_DEF(0x01D4EA30, Vector::Normalize), + HOOK_DEF(0x01DCB800, Vector::operator==), + HOOK_DEF(0x01D130D0, Vector::IsLengthLessThan), + HOOK_DEF(0x01D18AC0, Vector::IsLengthGreaterThan), + HOOK_DEF(0x01D34D90, DotProduct, float_precision (const Vector &, const Vector &)), + +#endif // _WIN32 + +#endif // Vector_Region + +#ifndef Nav_Region + +//Nav_File + //HOOK_DEF(0x0, COM_FixSlashes), // NOXREF + //HOOK_SYMBOLDEF(0x01D44E00, "_Z14GetBspFilenamePKc", GetBspFilename), // NOXREF + HOOK_SYMBOLDEF(0x01D45CF0, "_Z17SaveNavigationMapPKc", SaveNavigationMap), + HOOK_SYMBOLDEF(0x01D45F80, "_Z16LoadLocationFilePKc", LoadLocationFile), + HOOK_SYMBOLDEF(0x01D46170, "_Z24SanityCheckNavigationMapPKc", SanityCheckNavigationMap), + HOOK_SYMBOLDEF(0x01D46310, "_Z17LoadNavigationMapv", LoadNavigationMap), +//IImprovEvent + // virtual func + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56970, "_ZN12IImprovEvent15OnMoveToSuccessERK6Vector", IImprovEvent::OnMoveToSuccess), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56980, "_ZN12IImprovEvent15OnMoveToFailureERK6VectorNS_17MoveToFailureTypeE", IImprovEvent::OnMoveToFailure), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56990, "_ZN12IImprovEvent8OnInjuryEf", IImprovEvent::OnInjury), +//CImprov + // virtual func + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov7IsAliveEv", CImprov::IsAlive), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov6MoveToERK6Vector", CImprov::MoveTo), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov6LookAtERK6Vector", CImprov::LookAt), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov11ClearLookAtEv", CImprov::ClearLookAt), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov6FaceToERK6Vector", CImprov::FaceTo), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov11ClearFaceToEv", CImprov::ClearFaceTo), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov12IsAtMoveGoalEf", CImprov::IsAtMoveGoal), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov9HasLookAtEv", CImprov::HasLookAt), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov9HasFaceToEv", CImprov::HasFaceTo), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov12IsAtFaceGoalEv", CImprov::IsAtFaceGoal), + //HOOK_SYMBOL_VIRTUAL_DEF(0x0, "_ZNK7CImprov16IsFriendInTheWayERK6Vector", CImprov::IsFriendInTheWay, bool(const Vector &) const), + //HOOK_SYMBOL_VIRTUAL_DEF(0x0, "_ZNK7CImprov16IsFriendInTheWayEP11CBaseEntityRK6Vector", CImprov::IsFriendInTheWay, bool(CBaseEntity *, const Vector &) const), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov11MoveForwardEv", CImprov::MoveForward), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov12MoveBackwardEv", CImprov::MoveBackward), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov10StrafeLeftEv", CImprov::StrafeLeft), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov11StrafeRightEv", CImprov::StrafeRight), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov4JumpEv", CImprov::Jump), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov6CrouchEv", CImprov::Crouch), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov7StandUpEv", CImprov::StandUp), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov9TrackPathERK6Vectorf", CImprov::TrackPath), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov11StartLadderEPK10CNavLadder15NavTraverseTypePK6VectorS6_", CImprov::StartLadder), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov14TraverseLadderEPK10CNavLadder15NavTraverseTypePK6VectorS6_f", CImprov::TraverseLadder), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov30GetSimpleGroundHeightWithFloorEPK6VectorPfPS0_", CImprov::GetSimpleGroundHeightWithFloor), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov3RunEv", CImprov::Run), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov4WalkEv", CImprov::Walk), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov4StopEv", CImprov::Stop), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov12GetMoveAngleEv", CImprov::GetMoveAngle), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov12GetFaceAngleEv", CImprov::GetFaceAngle), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov7GetFeetEv", CImprov::GetFeet), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov11GetCentroidEv", CImprov::GetCentroid), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov7GetEyesEv", CImprov::GetEyes), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov9IsRunningEv", CImprov::IsRunning), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov9IsWalkingEv", CImprov::IsWalking), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov9IsStoppedEv", CImprov::IsStopped), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov11IsCrouchingEv", CImprov::IsCrouching), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov9IsJumpingEv", CImprov::IsJumping), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov13IsUsingLadderEv", CImprov::IsUsingLadder), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov10IsOnGroundEv", CImprov::IsOnGround), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov8IsMovingEv", CImprov::IsMoving), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov6CanRunEv", CImprov::CanRun), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov9CanCrouchEv", CImprov::CanCrouch), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov7CanJumpEv", CImprov::CanJump), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov9IsVisibleERK6Vectorb", CImprov::IsVisible), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov19IsPlayerLookingAtMeEP11CBasePlayerf", CImprov::IsPlayerLookingAtMe), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov22IsAnyPlayerLookingAtMeEif", CImprov::IsAnyPlayerLookingAtMe), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov32GetClosestPlayerByTravelDistanceEiPf", CImprov::GetClosestPlayerByTravelDistance), + //HOOK_SYMBOLDEF(0x0, "_ZNK7CImprov16GetLastKnownAreaEv", CImprov::GetLastKnownArea), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov8OnUpdateEf", CImprov::OnUpdate), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov8OnUpkeepEf", CImprov::OnUpkeep), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov7OnResetEv", CImprov::OnReset), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov11OnGameEventE13GameEventTypeP11CBaseEntityS2_", CImprov::OnGameEvent), + //HOOK_SYMBOLDEF(0x0, "_ZN7CImprov7OnTouchEP11CBaseEntity", CImprov::OnTouch), +//CNavNode + //HOOK_SYMBOLDEF(0x01D46F60, "_ZN8CNavNodeC2EPK6VectorS2_PS_", CNavNode::CNavNode), + HOOK_SYMBOLDEF(0x01D47000, "_ZN8CNavNode7GetNodeEPK6Vector", CNavNode::GetNode), + //HOOK_SYMBOLDEF(0x0, "_ZNK8CNavNode16GetConnectedNodeE10NavDirType", CNavNode::GetConnectedNode), + //HOOK_SYMBOLDEF(0x0, "_ZNK8CNavNode11GetPositionEv", CNavNode::GetPosition), + //HOOK_SYMBOLDEF(0x0, "_ZNK8CNavNode9GetNormalEv", CNavNode::GetNormal), + //HOOK_SYMBOLDEF(0x0, "_ZNK8CNavNode5GetIDEv", CNavNode::GetID), + //HOOK_SYMBOLDEF(0x0, "_ZN8CNavNode8GetFirstEv", CNavNode::GetFirst), + //HOOK_SYMBOLDEF(0x0, "_ZN8CNavNode13GetListLengthEv", CNavNode::GetListLength), + //HOOK_SYMBOLDEF(0x0, "_ZN8CNavNode7GetNextEv", CNavNode::GetNext), + HOOK_SYMBOLDEF(0x01D46FF0, "_ZN8CNavNode9ConnectToEPS_10NavDirType", CNavNode::ConnectTo), + //HOOK_SYMBOLDEF(0x0, "_ZNK8CNavNode9GetParentEv", CNavNode::GetParent), + //HOOK_SYMBOLDEF(0x0, "_ZN8CNavNode13MarkAsVisitedE10NavDirType", CNavNode::MarkAsVisited), + //HOOK_SYMBOLDEF(0x0, "_ZN8CNavNode10HasVisitedE10NavDirType", CNavNode::HasVisited), + //HOOK_SYMBOLDEF(0x01D470E0, "_ZNK8CNavNode10IsBiLinkedE10NavDirType", CNavNode::IsBiLinked), // NOXREF + HOOK_SYMBOLDEF(0x01D47110, "_ZNK8CNavNode12IsClosedCellEv", CNavNode::IsClosedCell), + //HOOK_SYMBOLDEF(0x0, "_ZN8CNavNode5CoverEv", CNavNode::Cover), + //HOOK_SYMBOLDEF(0x0, "_ZNK8CNavNode9IsCoveredEv", CNavNode::IsCovered), + //HOOK_SYMBOLDEF(0x0, "_ZN8CNavNode10AssignAreaEP8CNavArea", CNavNode::AssignArea), + //HOOK_SYMBOLDEF(0x0, "_ZNK8CNavNode7GetAreaEv", CNavNode::GetArea), + //HOOK_SYMBOLDEF(0x0, "_ZN8CNavNode13SetAttributesEh", CNavNode::SetAttributes), + //HOOK_SYMBOLDEF(0x0, "_ZNK8CNavNode13GetAttributesEv", CNavNode::GetAttributes), +//CNavPath + //HOOK_DEF(0x0, MethodThunk::Constructor), + //HOOK_SYMBOLDEF(0x0, "_ZN8CNavPathixEi", CNavPath::operator[]), + //HOOK_SYMBOLDEF(0x0, "_ZNK8CNavPath15GetSegmentCountEv", CNavPath::GetSegmentCount), + //HOOK_SYMBOLDEF(0x0, "_ZNK8CNavPath11GetEndpointEv", CNavPath::GetEndpoint), + HOOK_SYMBOLDEF(0x01D47570, "_ZNK8CNavPath7IsAtEndERK6Vector", CNavPath::IsAtEnd), + HOOK_SYMBOLDEF(0x01D475D0, "_ZNK8CNavPath9GetLengthEv", CNavPath::GetLength), + //HOOK_SYMBOLDEF(0x01D47620, "_ZNK8CNavPath17GetPointAlongPathEfP6Vector", CNavPath::GetPointAlongPath), // NOXREF + HOOK_SYMBOLDEF(0x01D47760, "_ZNK8CNavPath24GetSegmentIndexAlongPathEf", CNavPath::GetSegmentIndexAlongPath), + //HOOK_SYMBOLDEF(0x0, "_ZNK8CNavPath7IsValidEv", CNavPath::IsValid), + //HOOK_SYMBOLDEF(0x0, "_ZN8CNavPath10InvalidateEv", CNavPath::Invalidate), + //HOOK_SYMBOLDEF(0x01D47AB0, "_ZN8CNavPath4DrawEv", CNavPath::Draw), // NOXREF + //HOOK_SYMBOLDEF(0x01D477F0, "_ZNK8CNavPath22FindClosestPointOnPathEPK6VectoriiPS0_", CNavPath::FindClosestPointOnPath), // NOXREF + HOOK_SYMBOLDEF(0x01D47E20, "_ZN8CNavPath8OptimizeEv", CNavPath::Optimize), // PURE + HOOK_SYMBOLDEF(0x01D47170, "_ZN8CNavPath20ComputePathPositionsEv", CNavPath::ComputePathPositions), + HOOK_SYMBOLDEF(0x01D47A00, "_ZN8CNavPath16BuildTrivialPathEPK6VectorS2_", CNavPath::BuildTrivialPath), + //HOOK_SYMBOLDEF(0x01D47B40, "_ZN8CNavPath20FindNextOccludedNodeEi", CNavPath::FindNextOccludedNode), // NOXREF +//CStuckMonitor + //HOOK_DEF(0x01D49B70, MethodThunk::Constructor), + HOOK_SYMBOLDEF(0x01D49B90, "_ZN13CStuckMonitor5ResetEv", CStuckMonitor::Reset), + HOOK_SYMBOLDEF(0x01D49BA0, "_ZN13CStuckMonitor6UpdateEP7CImprov", CStuckMonitor::Update), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CStuckMonitor7IsStuckEv", CStuckMonitor::IsStuck), + //HOOK_SYMBOLDEF(0x0, "_ZNK13CStuckMonitor11GetDurationEv", CStuckMonitor::GetDuration), +//CNavPathFollower + HOOK_DEF(0x01D47E30, MethodThunk::Constructor), + //HOOK_SYMBOLDEF(0x0, "_ZN16CNavPathFollower9SetImprovEP7CImprov", CNavPathFollower::SetImprov), + //HOOK_SYMBOLDEF(0x0, "_ZN16CNavPathFollower7SetPathEP8CNavPath", CNavPathFollower::SetPath), + HOOK_SYMBOLDEF(0x01D47E60, "_ZN16CNavPathFollower5ResetEv", CNavPathFollower::Reset), + HOOK_SYMBOLDEF(0x01D47E80, "_ZN16CNavPathFollower6UpdateEfb", CNavPathFollower::Update), + //HOOK_SYMBOLDEF(0x0, "_ZN16CNavPathFollower5DebugEb", CNavPathFollower::Debug), + //HOOK_SYMBOLDEF(0x0, "_ZNK16CNavPathFollower7IsStuckEv", CNavPathFollower::IsStuck), + //HOOK_SYMBOLDEF(0x0, "_ZN16CNavPathFollower10ResetStuckEv", CNavPathFollower::ResetStuck), + //HOOK_SYMBOLDEF(0x0, "_ZNK16CNavPathFollower16GetStuckDurationEv", CNavPathFollower::GetStuckDuration), + HOOK_SYMBOLDEF(0x01D49460, "_ZN16CNavPathFollower22FeelerReflexAdjustmentEP6Vectorf", CNavPathFollower::FeelerReflexAdjustment), + HOOK_SYMBOLDEF(0x01D48450, "_ZNK16CNavPathFollower21FindOurPositionOnPathEP6Vectorb", CNavPathFollower::FindOurPositionOnPath), + HOOK_SYMBOLDEF(0x01D487B0, "_ZN16CNavPathFollower13FindPathPointEfP6VectorPi", CNavPathFollower::FindPathPoint), +//HidingSpot + //HOOK_DEF(0x01D37DB0, (MethodThunk::Constructor), void()), + //HOOK_DEF(0x01D37E40, (MethodThunk::Constructor), void(const Vector *, unsigned char)), + + HOOK_SYMBOLDEF(0x01D37EC0, "_ZNK10HidingSpot4SaveEij", HidingSpot::Save), + HOOK_SYMBOLDEF(0x01D37F00, "_ZN10HidingSpot4LoadEP9SteamFilej", HidingSpot::Load), +//SteamFile + //HOOK_DEF(0x0, MethodThunk::Constructor), + //HOOK_DEF(0x0, MethodThunk::Destructor), + //HOOK_SYMBOLDEF(0x0, "_ZNK9SteamFile7IsValidEv", SteamFile::IsValid), + HOOK_SYMBOLDEF(0x01D46F00, "_ZN9SteamFile4ReadEPvi", SteamFile::Read), +//CNavArea + //HOOK_SYMBOLDEF(0x01D45A50, "_ZNK14PlaceDirectory12EntryToPlaceEt", PlaceDirectory::EntryToPlace), // NOTE: need hook LoadNavigationMap + HOOK_SYMBOLDEF(0x01D44F80, "_ZN8CNavArea4SaveEij", CNavArea::Save, void (int, unsigned int)), + HOOK_SYMBOLDEF(0x01D44E60, "_ZNK8CNavArea4SaveEP8_IO_FILE", CNavArea::Save, void (FILE *) const), + HOOK_SYMBOLDEF(0x01D45330, "_ZN8CNavArea4LoadEP9SteamFilej", CNavArea::Load), + HOOK_SYMBOLDEF(0x01D45AA0, "_ZN8CNavArea8PostLoadEv", CNavArea::PostLoad), + HOOK_DEF(0x01D38040, (MethodThunk::Constructor), void()), + //HOOK_DEF(0x0, (MethodThunk::Constructor), void (const Vector *, const Vector *)), + //HOOK_DEF(0x0, (MethodThunk::Constructor), void (const Vector *, const Vector *, const Vector *, const Vector *)), + //HOOK_DEF(0x0, (MethodThunk::Constructor), void (CNavNode *, CNavNode *, CNavNode *, CNavNode *)), + //HOOK_DEF(0x01D386A0, MethodThunk::Destructor), + HOOK_SYMBOLDEF(0x01D37FE0, "_ZN8CNavArea10InitializeEv", CNavArea::Initialize), + //HOOK_SYMBOLDEF(0x01D388A0, "_ZN8CNavArea15OnDestroyNotifyEPS_", CNavArea::OnDestroyNotify), // NOXREF + HOOK_SYMBOLDEF(0x01D38960, "_ZN8CNavArea9ConnectToEPS_10NavDirType", CNavArea::ConnectTo), + //HOOK_SYMBOLDEF(0x01D389D0, "_ZN8CNavArea10DisconnectEPS_", CNavArea::Disconnect), // NOXREF + HOOK_SYMBOLDEF(0x01D38A40, "_ZN8CNavArea11FinishMergeEPS_", CNavArea::FinishMerge), + HOOK_SYMBOLDEF(0x01D38B60, "_ZN8CNavArea24MergeAdjacentConnectionsEPS_", CNavArea::MergeAdjacentConnections), + //HOOK_SYMBOLDEF(0x01D38D70, "_ZN8CNavArea11AssignNodesEPS_", CNavArea::AssignNodes), // NOXREF + HOOK_SYMBOLDEF(0x01D38DC0, "_ZN8CNavArea9SplitEditEbfPPS_S1_", CNavArea::SplitEdit), + HOOK_SYMBOLDEF(0x01D390F0, "_ZNK8CNavArea11IsConnectedEPKS_10NavDirType", CNavArea::IsConnected), + HOOK_SYMBOLDEF(0x01D391B0, "_ZN8CNavArea19ComputeHeightChangeEPKS_", CNavArea::ComputeHeightChange), + HOOK_SYMBOLDEF(0x01D391E0, "_ZN8CNavArea15FinishSplitEditEPS_10NavDirType", CNavArea::FinishSplitEdit), + HOOK_SYMBOLDEF(0x01D39500, "_ZN8CNavArea10SpliceEditEPS_", CNavArea::SpliceEdit), + HOOK_SYMBOLDEF(0x01D39CA0, "_ZN8CNavArea9MergeEditEPS_", CNavArea::MergeEdit), + //HOOK_SYMBOLDEF(0x01D3A290, "_ZN8CNavArea5StripEv", CNavArea::Strip), // NOXREF + HOOK_SYMBOLDEF(0x01D3C6C0, "_ZNK8CNavArea13IsOverlappingEPK6Vector", CNavArea::IsOverlapping, bool (const Vector *) const), + HOOK_SYMBOLDEF(0x01D3C710, "_ZNK8CNavArea13IsOverlappingEPKS_", CNavArea::IsOverlapping, bool (const CNavArea *) const), + //HOOK_SYMBOLDEF(0x01D3C760, "_ZNK8CNavArea14IsOverlappingXEPKS_", CNavArea::IsOverlappingX), // NOXREF + //HOOK_SYMBOLDEF(0x01D3C790, "_ZNK8CNavArea14IsOverlappingYEPKS_", CNavArea::IsOverlappingY), // NOXREF + HOOK_SYMBOLDEF(0x01D3C7C0, "_ZNK8CNavArea8ContainsEPK6Vector", CNavArea::Contains), + HOOK_SYMBOLDEF(0x01D3C8B0, "_ZNK8CNavArea10IsCoplanarEPKS_", CNavArea::IsCoplanar), + HOOK_SYMBOLDEF(0x01D3CA60, "_ZNK8CNavArea4GetZEPK6Vector", CNavArea::GetZ, float (const Vector *) const), // NOTE: definitely need to hook CNavAreaGrid::GetNavArea!! + //HOOK_SYMBOLDEF(0x01D3CB50, "_ZNK8CNavArea4GetZEff", CNavArea::GetZ, float (float x, float y) const), // NOXREF + HOOK_SYMBOLDEF(0x01D3CB80, "_ZNK8CNavArea21GetClosestPointOnAreaEPK6VectorPS0_", CNavArea::GetClosestPointOnArea), + //HOOK_SYMBOLDEF(0x01D3CCD0, "_ZNK8CNavArea25GetDistanceSquaredToPointEPK6Vector", CNavArea::GetDistanceSquaredToPoint), // NOXREF + //HOOK_SYMBOLDEF(0x01D3CDF0, "_ZNK8CNavArea21GetRandomAdjacentAreaE10NavDirType", CNavArea::GetRandomAdjacentArea), // NOXREF + HOOK_SYMBOLDEF(0x01D3CE40, "_ZNK8CNavArea13ComputePortalEPKS_10NavDirTypeP6VectorPf", CNavArea::ComputePortal), + HOOK_SYMBOLDEF(0x01D3CFD0, "_ZNK8CNavArea27ComputeClosestPointInPortalEPKS_10NavDirTypePK6VectorPS3_", CNavArea::ComputeClosestPointInPortal), + //HOOK_SYMBOLDEF(0x01D3D280, "_ZNK8CNavArea6IsEdgeE10NavDirType", CNavArea::IsEdge), // NOXREF + HOOK_SYMBOLDEF(0x01D3D310, "_ZNK8CNavArea16ComputeDirectionEP6Vector", CNavArea::ComputeDirection), + HOOK_SYMBOLDEF(0x01D3D420, "_ZN8CNavArea4DrawEhhhi", CNavArea::Draw), + HOOK_SYMBOLDEF(0x01D3D860, "_ZN8CNavArea16DrawMarkedCornerE13NavCornerTypehhhi", CNavArea::DrawMarkedCorner), + HOOK_SYMBOLDEF(0x01D3DAB0, "_ZN8CNavArea13AddToOpenListEv", CNavArea::AddToOpenList), + HOOK_SYMBOLDEF(0x01D3DB50, "_ZN8CNavArea16UpdateOnOpenListEv", CNavArea::UpdateOnOpenList), + HOOK_SYMBOLDEF(0x01D3DBC0, "_ZN8CNavArea18RemoveFromOpenListEv", CNavArea::RemoveFromOpenList), + HOOK_SYMBOLDEF(0x01D3DC10, "_ZN8CNavArea16ClearSearchListsEv", CNavArea::ClearSearchLists), + HOOK_SYMBOLDEF(0x01D3DC40, "_ZNK8CNavArea9GetCornerE13NavCornerType", CNavArea::GetCorner), + HOOK_SYMBOLDEF(0x01D3DCF0, "_ZNK8CNavArea21IsHidingSpotCollisionEPK6Vector", CNavArea::IsHidingSpotCollision), + HOOK_SYMBOLDEF(0x01D3DD50, "_Z19IsHidingSpotInCoverPK6Vector", IsHidingSpotInCover), + HOOK_SYMBOLDEF(0x01D3DEA0, "_ZN8CNavArea18ComputeHidingSpotsEv", CNavArea::ComputeHidingSpots), + HOOK_SYMBOLDEF(0x01D3E790, "_ZN8CNavArea18ComputeSniperSpotsEv", CNavArea::ComputeSniperSpots), + HOOK_SYMBOLDEF(0x01D3E7D0, "_ZN8CNavArea16GetSpotEncounterEPKS_S1_", CNavArea::GetSpotEncounter), + HOOK_SYMBOLDEF(0x01D3E810, "_ZN8CNavArea17AddSpotEncountersEPKS_10NavDirTypeS1_S2_", CNavArea::AddSpotEncounters), + HOOK_SYMBOLDEF(0x01D3EC50, "_ZN8CNavArea21ComputeSpotEncountersEv", CNavArea::ComputeSpotEncounters), + HOOK_SYMBOLDEF(0x01D3ED20, "_ZN8CNavArea11DecayDangerEv", CNavArea::DecayDanger), + HOOK_SYMBOLDEF(0x01D3ED60, "_ZN8CNavArea14IncreaseDangerEif", CNavArea::IncreaseDanger), + HOOK_SYMBOLDEF(0x01D3EDC0, "_ZN8CNavArea9GetDangerEi", CNavArea::GetDanger), + HOOK_SYMBOLDEF(0x01D40110, "_ZNK8CNavArea14GetPlayerCountEiP11CBasePlayer", CNavArea::GetPlayerCount), + HOOK_SYMBOLDEF(0x01D40340, "_ZN8CNavArea18DrawConnectedAreasEv", CNavArea::DrawConnectedAreas), + HOOK_SYMBOLDEF(0x01D40870, "_ZN8CNavArea11RaiseCornerE13NavCornerTypei", CNavArea::RaiseCorner), + HOOK_SYMBOLDEF(0x01D427C0, "_ZN8CNavArea20ComputeApproachAreasEv", CNavArea::ComputeApproachAreas), + //HOOK_DEF(0x0, MethodThunk::Constructor), + //HOOK_SYMBOLDEF(0x0, "_ZN25CollectHidingSpotsFunctor10RemoveSpotEi", CollectHidingSpotsFunctor::RemoveSpot), + //HOOK_DEF(0x01D43000, MethodThunk::Constructor), // NOXREF + //HOOK_DEF(0x01D43090, MethodThunk::Destructor), // NOXREF + //HOOK_SYMBOLDEF(0x01D43180, "_ZN12CNavAreaGrid5ResetEv", CNavAreaGrid::Reset), // NOXREF + HOOK_SYMBOLDEF(0x01D43230, "_ZN12CNavAreaGrid10InitializeEffff", CNavAreaGrid::Initialize), + HOOK_SYMBOLDEF(0x01D43390, "_ZN12CNavAreaGrid10AddNavAreaEP8CNavArea", CNavAreaGrid::AddNavArea), + HOOK_SYMBOLDEF(0x01D43560, "_ZN12CNavAreaGrid13RemoveNavAreaEP8CNavArea", CNavAreaGrid::RemoveNavArea), + HOOK_SYMBOLDEF(0x01D43710, "_ZNK12CNavAreaGrid10GetNavAreaEPK6Vectorf", CNavAreaGrid::GetNavArea), + HOOK_SYMBOLDEF(0x01D43860, "_ZNK12CNavAreaGrid17GetNearestNavAreaEPK6Vectorb", CNavAreaGrid::GetNearestNavArea), + HOOK_SYMBOLDEF(0x01D439C0, "_ZNK12CNavAreaGrid14GetNavAreaByIDEj", CNavAreaGrid::GetNavAreaByID), + HOOK_SYMBOLDEF(0x01D439F0, "_ZNK12CNavAreaGrid8GetPlaceEPK6Vector", CNavAreaGrid::GetPlace), + HOOK_SYMBOLDEF(0x01D3E4F0, "_Z18ClassifySniperSpotP10HidingSpot", ClassifySniperSpot), + //HOOK_DEF(0x0, buildGoodSizedList), // NOXREF + HOOK_SYMBOLDEF(0x01D37CF0, "_Z18DestroyHidingSpotsv", DestroyHidingSpots), + HOOK_SYMBOLDEF(0x01D40920, "_Z12EditNavAreas14NavEditCmdType", EditNavAreas), + HOOK_SYMBOLDEF(0x01D42540, "_Z15GetGroundHeightPK6VectorPfPS_", GetGroundHeight), + HOOK_SYMBOLDEF(0x01D42740, "_Z21GetSimpleGroundHeightPK6VectorPfPS_", GetSimpleGroundHeight), + //HOOK_DEF(0x0, IsAreaVisible), // NOXREF + HOOK_SYMBOLDEF(0x01D40250, "_Z13GetMarkedAreav", GetMarkedArea), + //HOOK_SYMBOLDEF(0x01D40260, "_Z17EditNavAreasResetv", EditNavAreasReset), // NOXREF + HOOK_SYMBOLDEF(0x01D40290, "_Z15DrawHidingSpotsPK8CNavArea", DrawHidingSpots), + HOOK_SYMBOLDEF(0x01D3EE10, "_Z20IncreaseDangerNearbyifP8CNavAreaPK6Vectorf", IncreaseDangerNearby), + HOOK_SYMBOLDEF(0x01D3F020, "_Z10DrawDangerv", DrawDanger), + HOOK_SYMBOLDEF(0x01D3F1C0, "_Z14IsSpotOccupiedP11CBaseEntityPK6Vector", IsSpotOccupied), + HOOK_SYMBOLDEF(0x01D3F2A0, "_Z20FindNearbyHidingSpotP11CBaseEntityPK6VectorP8CNavAreafbb", FindNearbyHidingSpot), + //HOOK_SYMBOLDEF(0x01D3F650, "_ZN25CollectHidingSpotsFunctorclEP8CNavArea", CollectHidingSpotsFunctor::operator(), bool (CNavArea *area)), + HOOK_SYMBOLDEF(0x01D3FDE0, "_Z21FindNearbyRetreatSpotP11CBaseEntityPK6VectorP8CNavAreafib", FindNearbyRetreatSpot, const Vector *(CBaseEntity *, const Vector *, CNavArea *, float, int, bool)), + HOOK_SYMBOLDEF(0x01D3FAD0, "_Z20IsCrossingLineOfFireRK6VectorS1_P11CBaseEntityi", IsCrossingLineOfFire), + HOOK_SYMBOLDEF(0x01D3F850, "_Z20FindRandomHidingSpotP11CBaseEntityjb", FindRandomHidingSpot), + HOOK_SYMBOLDEF(0x01D37FB0, "_Z17GetHidingSpotByIDj", GetHidingSpotByID), + HOOK_SYMBOLDEF(0x01D39F30, "_Z24ApproachAreaAnalysisPrepv", ApproachAreaAnalysisPrep), + HOOK_SYMBOLDEF(0x01D39FD0, "_Z31CleanupApproachAreaAnalysisPrepv", CleanupApproachAreaAnalysisPrep), + //HOOK_SYMBOLDEF(0x01D3A010, "_Z14DestroyLaddersv", DestroyLadders), // NOXREF + HOOK_SYMBOLDEF(0x01D3A060, "_Z20DestroyNavigationMapv", DestroyNavigationMap), + HOOK_SYMBOLDEF(0x01D3A210, "_Z20StripNavigationAreasv", StripNavigationAreas), + +#ifdef _WIN32 + + HOOK_SYMBOLDEF(0x01D13120, "_ZNK8CNavArea15GetAdjacentAreaE10NavDirTypei", CNavArea::GetAdjacentArea), + HOOK_SYMBOLDEF(0x01D2B2A0, "_ZN8CNavArea11PopOpenListEv", CNavArea::PopOpenList), + HOOK_SYMBOLDEF(0x01D2B2C0, "_ZNK8CNavArea8IsClosedEv", CNavArea::IsClosed), + + HOOK_DEF(0x01D224C0, SnapToGrid, void (Vector *)), + HOOK_DEF(0x01D22460, AddDirectionVector), + HOOK_DEF(0x01D13150, AddAreaToOpenList), + HOOK_DEF(0x01D3A870, FindFirstAreaInDirection), + HOOK_DEF(0x01D3AD20, IsAreaRoughlySquare), + HOOK_DEF(0x01D2B030, IsEntityWalkable), + HOOK_DEF(0x01D2B0B0, IsWalkableTraceLineClear), + HOOK_DEF(0x01D3A9E0, testJumpDown), + +#endif // _WIN32 + + //HOOK_DEF(0x0, findJumpDownArea), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_Z6SplitYP8CNavArea", SplitY), // NOXREF + + HOOK_SYMBOLDEF(0x01D3A330, "_Z21ConnectGeneratedAreasv", ConnectGeneratedAreas), + HOOK_SYMBOLDEF(0x01D3AAF0, "_Z19MergeGeneratedAreasv", MergeGeneratedAreas), + HOOK_SYMBOLDEF(0x01D3AE00, "_Z6SplitXP8CNavArea", SplitX), + HOOK_SYMBOLDEF(0x01D3AEE0, "_Z13SquareUpAreasv", SquareUpAreas), + HOOK_SYMBOLDEF(0x01D3B100, "_Z8TestAreaP8CNavNodeii", TestArea), + HOOK_SYMBOLDEF(0x01D3B2E0, "_Z9BuildAreaP8CNavNodeii", BuildArea), + HOOK_SYMBOLDEF(0x01D3B3F0, "_Z12BuildLaddersv", BuildLadders), + HOOK_SYMBOLDEF(0x01D3C1B0, "_Z13MarkJumpAreasv", MarkJumpAreas), + HOOK_SYMBOLDEF(0x01D3C280, "_Z26GenerateNavigationAreaMeshv", GenerateNavigationAreaMesh), + +#endif // Nav_Region + +#ifndef Hostage_Region + +//HostageState + //HOOK_DEF(0x01D50DA0, MethodThunk::Constructor), + //HOOK_DEF(0x01D56E30, MethodThunk::Destructor), + // virtual func + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56D70, "_ZN14CHostageImprov15OnMoveToSuccessERK6Vector", CHostageImprov::OnMoveToSuccess), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D562D0, "_ZN14CHostageImprov15OnMoveToFailureERK6VectorN12IImprovEvent17MoveToFailureTypeE", CHostageImprov::OnMoveToFailure), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56D80, "_ZN14CHostageImprov8OnInjuryEf", CHostageImprov::OnInjury), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D51040, "_ZNK14CHostageImprov7IsAliveEv", CHostageImprov::IsAlive), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D51060, "_ZN14CHostageImprov6MoveToERK6Vector", CHostageImprov::MoveTo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D51240, "_ZN14CHostageImprov6LookAtERK6Vector", CHostageImprov::LookAt), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D51270, "_ZN14CHostageImprov11ClearLookAtEv", CHostageImprov::ClearLookAt), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D51280, "_ZN14CHostageImprov6FaceToERK6Vector", CHostageImprov::FaceTo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D512B0, "_ZN14CHostageImprov11ClearFaceToEv", CHostageImprov::ClearFaceTo), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D51AC0, "_ZNK14CHostageImprov12IsAtMoveGoalEf", CHostageImprov::IsAtMoveGoal), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56C20, "_ZNK14CHostageImprov9HasLookAtEv", CHostageImprov::HasLookAt), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56C30, "_ZNK14CHostageImprov9HasFaceToEv", CHostageImprov::HasFaceTo), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D51B20, "_ZNK14CHostageImprov12IsAtFaceGoalEv", CHostageImprov::IsAtFaceGoal), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D51B30, "_ZNK14CHostageImprov16IsFriendInTheWayERK6Vector", CHostageImprov::IsFriendInTheWay, bool (const Vector &) const), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D51CB0, "_ZNK14CHostageImprov16IsFriendInTheWayEP11CBaseEntityRK6Vector", CHostageImprov::IsFriendInTheWay, bool (CBaseEntity *, const Vector &) const), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56C40, "_ZN14CHostageImprov11MoveForwardEv", CHostageImprov::MoveForward), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56C50, "_ZN14CHostageImprov12MoveBackwardEv", CHostageImprov::MoveBackward), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56C60, "_ZN14CHostageImprov10StrafeLeftEv", CHostageImprov::StrafeLeft), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56C70, "_ZN14CHostageImprov11StrafeRightEv", CHostageImprov::StrafeRight), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D52260, "_ZN14CHostageImprov4JumpEv", CHostageImprov::Jump), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D56710, "_ZN14CHostageImprov6CrouchEv", CHostageImprov::Crouch), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D567A0, "_ZN14CHostageImprov7StandUpEv", CHostageImprov::StandUp), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D52D80, "_ZN14CHostageImprov9TrackPathERK6Vectorf", CHostageImprov::TrackPath), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D530D0, "_ZN14CHostageImprov11StartLadderEPK10CNavLadder15NavTraverseTypePK6VectorS6_", CHostageImprov::StartLadder), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D530E0, "_ZN14CHostageImprov14TraverseLadderEPK10CNavLadder15NavTraverseTypePK6VectorS6_f", CHostageImprov::TraverseLadder), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D51150, "_ZN14CHostageImprov30GetSimpleGroundHeightWithFloorEPK6VectorPfPS0_", CHostageImprov::GetSimpleGroundHeightWithFloor), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D52350, "_ZN14CHostageImprov3RunEv", CHostageImprov::Run), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D52360, "_ZN14CHostageImprov4WalkEv", CHostageImprov::Walk), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D52380, "_ZN14CHostageImprov4StopEv", CHostageImprov::Stop), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56C80, "_ZNK14CHostageImprov12GetMoveAngleEv", CHostageImprov::GetMoveAngle), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56C90, "_ZNK14CHostageImprov12GetFaceAngleEv", CHostageImprov::GetFaceAngle), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D523F0, "_ZNK14CHostageImprov7GetFeetEv", CHostageImprov::GetFeet), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D52400, "_ZNK14CHostageImprov11GetCentroidEv", CHostageImprov::GetCentroid), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D52430, "_ZNK14CHostageImprov7GetEyesEv", CHostageImprov::GetEyes), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56CA0, "_ZNK14CHostageImprov9IsRunningEv", CHostageImprov::IsRunning), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56CB0, "_ZNK14CHostageImprov9IsWalkingEv", CHostageImprov::IsWalking), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56CC0, "_ZNK14CHostageImprov9IsStoppedEv", CHostageImprov::IsStopped), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56CD0, "_ZNK14CHostageImprov11IsCrouchingEv", CHostageImprov::IsCrouching), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56CE0, "_ZNK14CHostageImprov9IsJumpingEv", CHostageImprov::IsJumping), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56D20, "_ZNK14CHostageImprov13IsUsingLadderEv", CHostageImprov::IsUsingLadder), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D52460, "_ZNK14CHostageImprov10IsOnGroundEv", CHostageImprov::IsOnGround), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D52480, "_ZNK14CHostageImprov8IsMovingEv", CHostageImprov::IsMoving), + //HOOK_SYMBOL_VIRTUAL_DEF(0x0, "_ZNK14CHostageImprov6CanRunEv", CHostageImprov::CanRun), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x0, "_ZNK14CHostageImprov9CanCrouchEv", CHostageImprov::CanCrouch), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x0, "_ZNK14CHostageImprov7CanJumpEv", CHostageImprov::CanJump), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D524C0, "_ZNK14CHostageImprov9IsVisibleERK6Vectorb", CHostageImprov::IsVisible), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D52530, "_ZNK14CHostageImprov19IsPlayerLookingAtMeEP11CBasePlayerf", CHostageImprov::IsPlayerLookingAtMe), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D526A0, "_ZNK14CHostageImprov22IsAnyPlayerLookingAtMeEif", CHostageImprov::IsAnyPlayerLookingAtMe), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D527B0, "_ZNK14CHostageImprov32GetClosestPlayerByTravelDistanceEiPf", CHostageImprov::GetClosestPlayerByTravelDistance), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56D60, "_ZNK14CHostageImprov16GetLastKnownAreaEv", CHostageImprov::GetLastKnownArea), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D54500, "_ZN14CHostageImprov8OnUpdateEf", CHostageImprov::OnUpdate), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D53FF0, "_ZN14CHostageImprov8OnUpkeepEf", CHostageImprov::OnUpkeep), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D52A60, "_ZN14CHostageImprov7OnResetEv", CHostageImprov::OnReset), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D54C10, "_ZN14CHostageImprov11OnGameEventE13GameEventTypeP11CBaseEntityS2_", CHostageImprov::OnGameEvent), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D55280, "_ZN14CHostageImprov7OnTouchEP11CBaseEntity", CHostageImprov::OnTouch), + // non-virtual func + HOOK_SYMBOLDEF(0x01D51900, "_ZN14CHostageImprov12FaceOutwardsEv", CHostageImprov::FaceOutwards), + HOOK_SYMBOLDEF(0x01D51F80, "_ZNK14CHostageImprov16IsFriendInTheWayEv", CHostageImprov::IsFriendInTheWay, bool () const), + //HOOK_SYMBOLDEF(0x01D52150, "_ZN10CheckAheadclEP11CBaseEntity", CheckAhead::operator()), + //HOOK_SYMBOLDEF(0x0, "_ZN15CheckWayFunctorclEP8CHostage", CheckWayFunctor::operator()), + HOOK_SYMBOLDEF(0x01D53E70, "_ZNK17KeepPersonalSpaceclEP11CBaseEntity", KeepPersonalSpace::operator()), + //HOOK_SYMBOLDEF(0x01D52EE0, "_ZN14CHostageImprov20SetKnownGoodPositionERK6Vector", CHostageImprov::SetKnownGoodPosition), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK14CHostageImprov20GetKnownGoodPositionEv", CHostageImprov::GetKnownGoodPosition), + HOOK_SYMBOLDEF(0x01D52F90, "_ZN14CHostageImprov24ResetToKnownGoodPositionEv", CHostageImprov::ResetToKnownGoodPosition), + //HOOK_SYMBOLDEF(0x0, "_ZN14CHostageImprov9ResetJumpEv", CHostageImprov::ResetJump), + HOOK_SYMBOLDEF(0x01D55950, "_ZN14CHostageImprov10ApplyForceE6Vector", CHostageImprov::ApplyForce), + //HOOK_SYMBOLDEF(0x0, "_ZNK14CHostageImprov17GetActualVelocityEv", CHostageImprov::GetActualVelocity), + //HOOK_SYMBOLDEF(0x0, "_ZN14CHostageImprov12SetMoveLimitENS_8MoveTypeE", CHostageImprov::SetMoveLimit), + //HOOK_SYMBOLDEF(0x0, "_ZNK14CHostageImprov12GetMoveLimitEv", CHostageImprov::GetMoveLimit), + //HOOK_SYMBOLDEF(0x0, "_ZN14CHostageImprov7GetPathEv", CHostageImprov::GetPath), + //HOOK_SYMBOLDEF(0x0, "_ZN14CHostageImprov15GetPathFollowerEv", CHostageImprov::GetPathFollower), + //HOOK_SYMBOLDEF(0x0, "_ZN14CHostageImprov4IdleEv", CHostageImprov::Idle), + //HOOK_SYMBOLDEF(0x0, "_ZNK14CHostageImprov6IsIdleEv", CHostageImprov::IsIdle), + //HOOK_SYMBOLDEF(0x0, "_ZN14CHostageImprov6FollowEP11CBasePlayer", CHostageImprov::Follow), + //HOOK_SYMBOLDEF(0x0, "_ZNK14CHostageImprov11IsFollowingEPK11CBaseEntity", CHostageImprov::IsFollowing), + //HOOK_SYMBOLDEF(0x0, "_ZN14CHostageImprov6EscapeEv", CHostageImprov::Escape), + //HOOK_SYMBOLDEF(0x0, "_ZNK14CHostageImprov10IsEscapingEv", CHostageImprov::IsEscaping), + //HOOK_SYMBOLDEF(0x0, "_ZN14CHostageImprov7RetreatEv", CHostageImprov::Retreat), + //HOOK_SYMBOLDEF(0x0, "_ZNK14CHostageImprov12IsRetreatingEv", CHostageImprov::IsRetreating), + HOOK_SYMBOLDEF(0x01D55980, "_ZNK14CHostageImprov8IsAtHomeEv", CHostageImprov::IsAtHome), + HOOK_SYMBOLDEF(0x01D559D0, "_ZNK14CHostageImprov16CanSeeRescueZoneEv", CHostageImprov::CanSeeRescueZone), + //HOOK_SYMBOLDEF(0x0, "_ZNK14CHostageImprov15GetFollowLeaderEv", CHostageImprov::GetFollowLeader), + HOOK_SYMBOLDEF(0x01D55A10, "_ZN14CHostageImprov23GetClosestVisiblePlayerEi", CHostageImprov::GetClosestVisiblePlayer), + HOOK_SYMBOLDEF(0x01D55AD0, "_ZN14CHostageImprov25GetTimeSinceLastSawPlayerEi", CHostageImprov::GetTimeSinceLastSawPlayer), + //HOOK_SYMBOLDEF(0x01D55B90, "_ZN14CHostageImprov22GetTimeSinceLastInjuryEv", CHostageImprov::GetTimeSinceLastInjury), // NOXREF + //HOOK_SYMBOLDEF(0x01D55BC0, "_ZN14CHostageImprov21GetTimeSinceLastNoiseEv", CHostageImprov::GetTimeSinceLastNoise), // NOXREF + HOOK_SYMBOLDEF(0x01D54010, "_ZN14CHostageImprov17IsTerroristNearbyEv", CHostageImprov::IsTerroristNearby), + HOOK_SYMBOLDEF(0x01D55C20, "_ZN14CHostageImprov8FrightenENS_9ScareTypeE", CHostageImprov::Frighten), + HOOK_SYMBOLDEF(0x01D55BF0, "_ZNK14CHostageImprov8IsScaredEv", CHostageImprov::IsScared), + //HOOK_SYMBOLDEF(0x0, "_ZNK14CHostageImprov17GetScareIntensityEv", CHostageImprov::GetScareIntensity), // DEFAULT + //HOOK_SYMBOLDEF(0x0, "_ZNK14CHostageImprov20IsIgnoringTerroristsEv", CHostageImprov::IsIgnoringTerrorists), // DEFAULT + //HOOK_SYMBOLDEF(0x0, "_ZNK14CHostageImprov13GetAggressionEv", CHostageImprov::GetAggression), // DEFAULT + HOOK_SYMBOLDEF(0x01D55ED0, "_ZN14CHostageImprov7ChatterE18HostageChatterTypeb", CHostageImprov::Chatter), + HOOK_SYMBOLDEF(0x01D55F80, "_ZN14CHostageImprov14DelayedChatterEf18HostageChatterTypeb", CHostageImprov::DelayedChatter), + //HOOK_SYMBOLDEF(0x01D55FE0, "_ZN14CHostageImprov20UpdateDelayedChatterEv", CHostageImprov::UpdateDelayedChatter), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK14CHostageImprov9IsTalkingEv", CHostageImprov::IsTalking), // DEFAULT + HOOK_SYMBOLDEF(0x01D54150, "_ZN14CHostageImprov22UpdateGrenadeReactionsEv", CHostageImprov::UpdateGrenadeReactions), + HOOK_SYMBOLDEF(0x01D55D20, "_ZN14CHostageImprov6AfraidEv", CHostageImprov::Afraid), + HOOK_SYMBOLDEF(0x01D56290, "_ZN14CHostageImprov4WaveEv", CHostageImprov::Wave), + HOOK_SYMBOLDEF(0x01D56210, "_ZN14CHostageImprov5AgreeEv", CHostageImprov::Agree), + HOOK_SYMBOLDEF(0x01D56240, "_ZN14CHostageImprov8DisagreeEv", CHostageImprov::Disagree), + //HOOK_SYMBOLDEF(0x01D561E0, "_ZN14CHostageImprov9CrouchDieEv", CHostageImprov::CrouchDie), // NOXREF + HOOK_SYMBOLDEF(0x01D56120, "_ZN14CHostageImprov6FlinchE8Activity", CHostageImprov::Flinch), + HOOK_SYMBOLDEF(0x01D55E20, "_ZN14CHostageImprov18UpdateIdleActivityE8ActivityS0_", CHostageImprov::UpdateIdleActivity), + //HOOK_SYMBOLDEF(0x01D56910, "_ZN14CHostageImprov25UpdateStationaryAnimationEv", CHostageImprov::UpdateStationaryAnimation), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK14CHostageImprov9GetEntityEv", CHostageImprov::GetEntity), + //HOOK_SYMBOLDEF(0x01D540C0, "_ZN14CHostageImprov24CheckForNearbyTerroristsEv", CHostageImprov::CheckForNearbyTerrorists), // NOXREF + HOOK_SYMBOLDEF(0x01D534F0, "_ZN14CHostageImprov14UpdatePositionEf", CHostageImprov::UpdatePosition), + HOOK_SYMBOLDEF(0x01D512C0, "_ZN14CHostageImprov11MoveTowardsERK6Vectorf", CHostageImprov::MoveTowards), + HOOK_SYMBOLDEF(0x01D517A0, "_ZN14CHostageImprov11FaceTowardsERK6Vectorf", CHostageImprov::FaceTowards), + //HOOK_SYMBOLDEF(0x01D52250, "_ZN14CHostageImprov8GetSpeedEv", CHostageImprov::GetSpeed), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN14CHostageImprov12SetMoveAngleEf", CHostageImprov::SetMoveAngle), + HOOK_SYMBOLDEF(0x01D56300, "_ZN14CHostageImprov6WiggleEv", CHostageImprov::Wiggle), + HOOK_SYMBOLDEF(0x01D564E0, "_ZN14CHostageImprov9ClearPathEv", CHostageImprov::ClearPath), + //@HOOK_SYMBOLDEF(0x01D4A890, "_Z16NavAreaBuildPathI15HostagePathCostEbP8CNavAreaS2_PK6VectorRT_PS2_", NavAreaBuildPath__HostagePathCost__wrapper), + //@HOOK_SYMBOLDEF(0x01D15AD0, "_Z16NavAreaBuildPathI16ShortestPathCostEbP8CNavAreaS2_PK6VectorRT_PS2_", NavAreaBuildPath__ShortestPathCost__wrapper), + HOOK_SYMBOLDEF(0x01D4A890, "_Z16NavAreaBuildPathI15HostagePathCostEbP8CNavAreaS2_PK6VectorRT_PS2_", NavAreaBuildPath), + HOOK_SYMBOLDEF(0x01D15AD0, "_Z16NavAreaBuildPathI16ShortestPathCostEbP8CNavAreaS2_PK6VectorRT_PS2_", NavAreaBuildPath), + //HOOK_SYMBOLDEF(0x01D511C0, "_ZN14CHostageImprov17DiscontinuityJumpEfbb", CHostageImprov::DiscontinuityJump), // NOXREF + HOOK_SYMBOLDEF(0x01D52C00, "_ZN14CHostageImprov12UpdateVisionEv", CHostageImprov::UpdateVision), +//HostageState + // virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN12HostageStateD0Ev", HostageState::~HostageState), + //HOOK_SYMBOLDEF(0x0, "_ZN12HostageStateD2Ev", HostageState::~HostageState), + //HOOK_SYMBOLDEF(0x01D569C0, "_ZN12HostageState25UpdateStationaryAnimationEP14CHostageImprov", HostageState::UpdateStationaryAnimation), +//HostageIdleState + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4B3A0, "_ZN16HostageIdleState7OnEnterEP14CHostageImprov", HostageIdleState::OnEnter), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4B3C0, "_ZN16HostageIdleState8OnUpdateEP14CHostageImprov", HostageIdleState::OnUpdate), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4BBB0, "_ZN16HostageIdleState6OnExitEP14CHostageImprov", HostageIdleState::OnExit), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56A30, "_ZNK16HostageIdleState7GetNameEv", HostageIdleState::GetName), // DEFAULT + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4BBD0, "_ZN16HostageIdleState25UpdateStationaryAnimationEP14CHostageImprov", HostageIdleState::UpdateStationaryAnimation), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56A40, "_ZN16HostageIdleState15OnMoveToSuccessERK6Vector", HostageIdleState::OnMoveToSuccess), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56A50, "_ZN16HostageIdleState15OnMoveToFailureERK6VectorN12IImprovEvent17MoveToFailureTypeE", HostageIdleState::OnMoveToFailure), // DEFAULT + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56A60, "_ZN16HostageIdleState8OnInjuryEf", HostageIdleState::OnInjury), // DEFAULT +//HostageStateMachine + // virtual func + //HOOK_SYMBOLDEF(0x01D569D0, "_ZN19HostageStateMachine15OnMoveToSuccessERK6Vector", HostageStateMachine::OnMoveToSuccess), + //HOOK_SYMBOLDEF(0x01D569F0, "_ZN19HostageStateMachine15OnMoveToFailureERK6VectorN12IImprovEvent17MoveToFailureTypeE", HostageStateMachine::OnMoveToFailure), + //HOOK_SYMBOLDEF(0x01D56A10, "_ZN19HostageStateMachine8OnInjuryEf", HostageStateMachine::OnInjury), + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN19HostageStateMachine25UpdateStationaryAnimationEP14CHostageImprov", HostageStateMachine::UpdateStationaryAnimation), +//HostageEscapeToCoverState + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4A200, "_ZN25HostageEscapeToCoverState7OnEnterEP14CHostageImprov", HostageEscapeToCoverState::OnEnter), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4A4A0, "_ZN25HostageEscapeToCoverState8OnUpdateEP14CHostageImprov", HostageEscapeToCoverState::OnUpdate), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D4A590, "_ZN25HostageEscapeToCoverState6OnExitEP14CHostageImprov", HostageEscapeToCoverState::OnExit), // PURE + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56B00, "_ZNK25HostageEscapeToCoverState7GetNameEv", HostageEscapeToCoverState::GetName), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D4A5A0, "_ZN25HostageEscapeToCoverState15OnMoveToFailureERK6VectorN12IImprovEvent17MoveToFailureTypeE", HostageEscapeToCoverState::OnMoveToFailure), // DEFAULT + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN25HostageEscapeToCoverState13SetRescueGoalERK6Vector", HostageEscapeToCoverState::SetRescueGoal), +//HostageEscapeLookAroundState + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4A5E0, "_ZN28HostageEscapeLookAroundState7OnEnterEP14CHostageImprov", HostageEscapeLookAroundState::OnEnter), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4A620, "_ZN28HostageEscapeLookAroundState8OnUpdateEP14CHostageImprov", HostageEscapeLookAroundState::OnUpdate), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4A680, "_ZN28HostageEscapeLookAroundState6OnExitEP14CHostageImprov", HostageEscapeLookAroundState::OnExit), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56B40, "_ZNK28HostageEscapeLookAroundState7GetNameEv", HostageEscapeLookAroundState::GetName), +//HostageEscapeState + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4A690, "_ZN18HostageEscapeState7OnEnterEP14CHostageImprov", HostageEscapeState::OnEnter), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4A720, "_ZN18HostageEscapeState8OnUpdateEP14CHostageImprov", HostageEscapeState::OnUpdate), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4A880, "_ZN18HostageEscapeState6OnExitEP14CHostageImprov", HostageEscapeState::OnExit), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56A80, "_ZNK18HostageEscapeState7GetNameEv", HostageEscapeState::GetName), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56A70, "_ZN18HostageEscapeState15OnMoveToFailureERK6VectorN12IImprovEvent17MoveToFailureTypeE", HostageEscapeState::OnMoveToFailure), // NOXREF + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN18HostageEscapeState7ToCoverEv", HostageEscapeState::ToCover), + //HOOK_SYMBOLDEF(0x0, "_ZN18HostageEscapeState10LookAroundEv", HostageEscapeState::LookAround), +//HostageRetreatState + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4BC30, "_ZN19HostageRetreatState7OnEnterEP14CHostageImprov", HostageRetreatState::OnEnter), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4BC50, "_ZN19HostageRetreatState8OnUpdateEP14CHostageImprov", HostageRetreatState::OnUpdate), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D4BDB0, "_ZN19HostageRetreatState6OnExitEP14CHostageImprov", HostageRetreatState::OnExit), // PURE + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56BD0, "_ZNK19HostageRetreatState7GetNameEv", HostageRetreatState::GetName), // DEFAULT +//HostageFollowState + // virtual func + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4AC70, "_ZN18HostageFollowState7OnEnterEP14CHostageImprov", HostageFollowState::OnEnter), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4ACF0, "_ZN18HostageFollowState8OnUpdateEP14CHostageImprov", HostageFollowState::OnUpdate), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4B320, "_ZN18HostageFollowState6OnExitEP14CHostageImprov", HostageFollowState::OnExit), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56BE0, "_ZNK18HostageFollowState7GetNameEv", HostageFollowState::GetName), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4B330, "_ZN18HostageFollowState25UpdateStationaryAnimationEP14CHostageImprov", HostageFollowState::UpdateStationaryAnimation), + // non-virtual func + //HOOK_SYMBOLDEF(0x0, "_ZN18HostageFollowState9SetLeaderEP11CBaseEntity", HostageFollowState::SetLeader), + //HOOK_SYMBOLDEF(0x0, "_ZNK18HostageFollowState9GetLeaderEv", HostageFollowState::GetLeader), +//HostageAnimateState + // virtual func + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D4A060, "_ZN19HostageAnimateState7OnEnterEP14CHostageImprov", HostageAnimateState::OnEnter), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4A070, "_ZN19HostageAnimateState8OnUpdateEP14CHostageImprov", HostageAnimateState::OnUpdate), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D4A1B0, "_ZN19HostageAnimateState6OnExitEP14CHostageImprov", HostageAnimateState::OnExit), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D56BF0, "_ZNK19HostageAnimateState7GetNameEv", HostageAnimateState::GetName), + // non-virtual func + HOOK_SYMBOLDEF(0x01D49D60, "_ZN19HostageAnimateState5ResetEv", HostageAnimateState::Reset), + HOOK_SYMBOLDEF(0x01D49E10, "_ZN19HostageAnimateState11AddSequenceEP14CHostageImprovPKcff", HostageAnimateState::AddSequence, void (CHostageImprov *, const char *, float, float)), + HOOK_SYMBOLDEF(0x01D49F00, "_ZN19HostageAnimateState11AddSequenceEP14CHostageImproviff", HostageAnimateState::AddSequence, void (CHostageImprov *, int, float, float)), + //HOOK_SYMBOLDEF(0x0, "_ZNK19HostageAnimateState6IsBusyEv", HostageAnimateState::IsBusy), + //HOOK_SYMBOLDEF(0x01D4A1C0, "_ZNK19HostageAnimateState9IsPlayingEP14CHostageImprovPKc", HostageAnimateState::IsPlaying), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN19HostageAnimateState20GetCurrentSequenceIDEv", HostageAnimateState::GetCurrentSequenceID), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK19HostageAnimateState14GetPerformanceEv", HostageAnimateState::GetPerformance), + //HOOK_SYMBOLDEF(0x0, "_ZN19HostageAnimateState14SetPerformanceENS_15PerformanceTypeE", HostageAnimateState::SetPerformance), + //HOOK_SYMBOLDEF(0x01D49D70, "_ZN19HostageAnimateState13StartSequenceEP14CHostageImprovPKNS_7SeqInfoE", HostageAnimateState::StartSequence), // NOXREF + HOOK_SYMBOLDEF(0x01D4A000, "_ZN19HostageAnimateState13IsDoneHoldingEv", HostageAnimateState::IsDoneHolding), +//CHostage + // virtual func + // HOOK_SYMBOL_VIRTUAL_DEF(0x01D4BE60, "_ZN8CHostage5SpawnEv", CHostage::Spawn), // do not use the hook together CHostage::IdleThink + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4C2C0, "_ZN8CHostage8PrecacheEv", CHostage::Precache), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4DB00, "_ZN8CHostage10ObjectCapsEv", CHostage::ObjectCaps), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D50D80, "_ZN8CHostage8ClassifyEv", CHostage::Classify), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4CE30, "_ZN8CHostage10TakeDamageEP9entvars_sS1_fi", CHostage::TakeDamage), + //HOOK_SYMBOL_VIRTUAL_DEF(0x01D50D90, "_ZN8CHostage10BloodColorEv", CHostage::BloodColor), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4DB10, "_ZN8CHostage5TouchEP11CBaseEntity", CHostage::Touch), + HOOK_SYMBOL_VIRTUAL_DEF(0x01D4D710, "_ZN8CHostage3UseEP11CBaseEntityS1_8USE_TYPEf", CHostage::Use), + // non-virtual func + // HOOK_SYMBOLDEF(0x01D4C450, "_ZN8CHostage9IdleThinkEv", CHostage::IdleThink), // export func + HOOK_SYMBOLDEF(0x01D4CBB0, "_ZN8CHostage6RemoveEv", CHostage::Remove), + // HOOK_SYMBOLDEF(0x01D4CC20, "_ZN8CHostage10RePositionEv", CHostage::RePosition), // do not use the hook together CHostage::IdleThink + HOOK_SYMBOLDEF(0x01D4C3E0, "_ZN8CHostage11SetActivityEi", CHostage::SetActivity), + //HOOK_SYMBOLDEF(0x0, "_ZN8CHostage11GetActivityEv", CHostage::GetActivity), // NOXREF + //HOOK_SYMBOLDEF(0x01D4D290, "_ZN8CHostage17GetModifiedDamageEfi", CHostage::GetModifiedDamage), // NOXREF + //HOOK_SYMBOLDEF(0x01D4D390, "_ZN8CHostage17SetFlinchActivityEv", CHostage::SetFlinchActivity), // NOXREF + HOOK_SYMBOLDEF(0x01D4D400, "_ZN8CHostage16SetDeathActivityEv", CHostage::SetDeathActivity), + //HOOK_SYMBOLDEF(0x01D4D310, "_ZN8CHostage13PlayPainSoundEv", CHostage::PlayPainSound), // NOXREF + HOOK_SYMBOLDEF(0x01D4D990, "_ZN8CHostage21PlayFollowRescueSoundEv", CHostage::PlayFollowRescueSound), + HOOK_SYMBOLDEF(0x01D4D580, "_ZN8CHostage13AnnounceDeathEP11CBasePlayer", CHostage::AnnounceDeath), + //HOOK_SYMBOLDEF(0x01D4D6A0, "_ZN8CHostage19ApplyHostagePenaltyEP11CBasePlayer", CHostage::ApplyHostagePenalty), // NOXREF + //HOOK_SYMBOLDEF(0x01D4DA80, "_ZN8CHostage16GiveCTTouchBonusEP11CBasePlayer", CHostage::GiveCTTouchBonus), // NOXREF + HOOK_SYMBOLDEF(0x01D4E580, "_ZN8CHostage22SendHostagePositionMsgEv", CHostage::SendHostagePositionMsg), + HOOK_SYMBOLDEF(0x01D4E6F0, "_ZN8CHostage19SendHostageEventMsgEv", CHostage::SendHostageEventMsg), + // HOOK_SYMBOLDEF(0x01D4DC10, "_ZN8CHostage8DoFollowEv", CHostage::DoFollow), + //HOOK_SYMBOLDEF(0x01D4E380, "_ZN8CHostage10IsOnLadderEv", CHostage::IsOnLadder), // NOXREF + HOOK_SYMBOLDEF(0x01D4E010, "_ZN8CHostage7PointAtERK6Vector", CHostage::PointAt), // NOXREF + // HOOK_SYMBOLDEF(0x01D4E080, "_ZN8CHostage10MoveTowardERK6Vector", CHostage::MoveToward), + HOOK_SYMBOLDEF(0x01D4E3A0, "_ZN8CHostage8NavReadyEv", CHostage::NavReady), + HOOK_SYMBOLDEF(0x01D4E850, "_ZN8CHostage6WiggleEv", CHostage::Wiggle), + HOOK_SYMBOLDEF(0x01D4EAB0, "_ZN8CHostage8PreThinkEv", CHostage::PreThink), + //HOOK_SYMBOLDEF(0x0, "_ZN8CHostage18IsFollowingSomeoneEv", CHostage::IsFollowingSomeone), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN8CHostage9GetLeaderEv", CHostage::GetLeader), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN8CHostage11IsFollowingEPK11CBaseEntity", CHostage::IsFollowing), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN8CHostage7IsValidEv", CHostage::IsValid), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN8CHostage6IsDeadEv", CHostage::IsDead), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK8CHostage8IsAtHomeEv", CHostage::IsAtHome), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZNK8CHostage15GetHomePositionEv", CHostage::GetHomePosition), // NOXREF + HOOK_DEF(0x01D4BDC0, hostage_entity), + HOOK_DEF(0x01D4BE10, monster_scientist), +//CHostageManager + //HOOK_SYMBOLDEF(0x01D4EEE0, "_ZN15CHostageManagerC2Ev", CHostageManager::CHostageManager), + HOOK_SYMBOLDEF(0x01D4EF10, "_ZN15CHostageManager14ServerActivateEv", CHostageManager::ServerActivate), + //HOOK_SYMBOLDEF(0x0, "_ZN15CHostageManager16ServerDeactivateEv", CHostageManager::ServerDeactivate), + HOOK_SYMBOLDEF(0x01D50670, "_ZN15CHostageManager12RestartRoundEv", CHostageManager::RestartRound), + //HOOK_SYMBOLDEF(0x01D506A0, "_ZN15CHostageManager10AddHostageEP8CHostage", CHostageManager::AddHostage), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN15CHostageManager10GetChatterEv", CHostageManager::GetChatter), + HOOK_SYMBOLDEF(0x01D506D0, "_ZNK15CHostageManager22IsNearbyHostageTalkingEP14CHostageImprov", CHostageManager::IsNearbyHostageTalking), + //HOOK_SYMBOLDEF(0x01D50790, "_ZNK15CHostageManager22IsNearbyHostageJumpingEP14CHostageImprov", CHostageManager::IsNearbyHostageJumping), + HOOK_SYMBOLDEF(0x01D50850, "_ZN15CHostageManager7OnEventE13GameEventTypeP11CBaseEntityS2_", CHostageManager::OnEvent), + //HOOK_SYMBOLDEF(0x0, "_ZN15CHostageManager17GetClosestHostageERK6VectorPf", CHostageManager::GetClosestHostage), + //HOOK_SYMBOLDEF(0x01D4EE20, "_Z21Hostage_RegisterCVarsv", Hostage_RegisterCVars), // NOXREF + //HOOK_SYMBOLDEF(0x01D4EE40, "_Z21InstallHostageManagerv", InstallHostageManager), +//SimpleChatter + //HOOK_SYMBOLDEF(0x01D508A0, "_ZN13SimpleChatterC2Ev", SimpleChatter::SimpleChatter), + //HOOK_SYMBOLDEF(0x01D508D0, "_ZN13SimpleChatterD2Ev", SimpleChatter::~SimpleChatter), + HOOK_SYMBOLDEF(0x01D50910, "_ZN13SimpleChatter8AddSoundE18HostageChatterTypePc", SimpleChatter::AddSound), + HOOK_SYMBOLDEF(0x01D50B40, "_ZN13SimpleChatter9PlaySoundEP11CBaseEntity18HostageChatterType", SimpleChatter::PlaySound), + //HOOK_SYMBOLDEF(0x01D50A60, "_ZN13SimpleChatter8GetSoundE18HostageChatterTypePf", SimpleChatter::GetSound), // NOXREF + //HOOK_SYMBOLDEF(0x01D509E0, "_ZN13SimpleChatter7ShuffleEPNS_10ChatterSetE", SimpleChatter::Shuffle), // NOXREF +//CLocalNav + //HOOK_SYMBOLDEF(0x01D56E80, "_ZN9CLocalNavC2EP8CHostage", CLocalNav::CLocalNav), + //HOOK_SYMBOLDEF(0x01D56ED0, "_ZN9CLocalNavD2Ev", CLocalNav::~CLocalNav), + //HOOK_SYMBOLDEF(0x0, "_ZN9CLocalNav12SetTargetEntEP11CBaseEntity", CLocalNav::SetTargetEnt), // NOXREF + HOOK_SYMBOLDEF(0x01D57420, "_ZN9CLocalNav8FindPathER6VectorS1_fi", CLocalNav::FindPath), + HOOK_SYMBOLDEF(0x01D57380, "_ZN9CLocalNav14SetupPathNodesEiP6Vectori", CLocalNav::SetupPathNodes), + HOOK_SYMBOLDEF(0x01D573D0, "_ZN9CLocalNav26GetFurthestTraversableNodeER6VectorPS0_ii", CLocalNav::GetFurthestTraversableNode), + HOOK_SYMBOLDEF(0x01D57AC0, "_ZN9CLocalNav15PathTraversableER6VectorS1_i", CLocalNav::PathTraversable), + //HOOK_SYMBOLDEF(0x01D57A50, "_ZN9CLocalNav9PathClearER6VectorS1_iR11TraceResult", CLocalNav::PathClear, BOOL (Vector &, Vector &, int, TraceResult &)), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN9CLocalNav9PathClearER6VectorS1_i", CLocalNav::PathClear, BOOL (Vector &, Vector &, int)), // NOXREF + HOOK_SYMBOLDEF(0x01D58AC0, "_ZN9CLocalNav5ThinkEv", CLocalNav::Think), + HOOK_SYMBOLDEF(0x01D58D50, "_ZN9CLocalNav10RequestNavEP8CHostage", CLocalNav::RequestNav), + HOOK_SYMBOLDEF(0x01D58E20, "_ZN9CLocalNav5ResetEv", CLocalNav::Reset), + //HOOK_SYMBOLDEF(0x01D58E50, "_ZN9CLocalNav15HostagePrethinkEv", CLocalNav::HostagePrethink), // NOXREF + //HOOK_SYMBOLDEF(0x01D56F20, "_ZN9CLocalNav7AddNodeEiR6Vectoriih", CLocalNav::AddNode), // NOXREF + //HOOK_SYMBOLDEF(0x0, "_ZN9CLocalNav7GetNodeEi", CLocalNav::GetNode), // NOXREF + //HOOK_SYMBOLDEF(0x01D56F80, "_ZN9CLocalNav10NodeExistsEii", CLocalNav::NodeExists), // NOXREF + //HOOK_SYMBOLDEF(0x01D56FC0, "_ZN9CLocalNav12AddPathNodesEii", CLocalNav::AddPathNodes), // NOXREF + HOOK_SYMBOLDEF(0x01D57040, "_ZN9CLocalNav11AddPathNodeEiiii", CLocalNav::AddPathNode), + HOOK_SYMBOLDEF(0x01D57290, "_ZN9CLocalNav11GetBestNodeER6VectorS1_", CLocalNav::GetBestNode), + HOOK_SYMBOLDEF(0x01D57EB0, "_ZN9CLocalNav16SlopeTraversableER6VectorS1_iR11TraceResult", CLocalNav::SlopeTraversable), + HOOK_SYMBOLDEF(0x01D580A0, "_ZN9CLocalNav17LadderTraversableER6VectorS1_iR11TraceResult", CLocalNav::LadderTraversable), + HOOK_SYMBOLDEF(0x01D581D0, "_ZN9CLocalNav15StepTraversableER6VectorS1_iR11TraceResult", CLocalNav::StepTraversable), + HOOK_SYMBOLDEF(0x01D583C0, "_ZN9CLocalNav12StepJumpableER6VectorS1_iR11TraceResult", CLocalNav::StepJumpable), + HOOK_SYMBOLDEF(0x01D57810, "_ZN9CLocalNav14FindDirectPathER6VectorS1_fi", CLocalNav::FindDirectPath), + HOOK_SYMBOLDEF(0x01D585C0, "_ZN9CLocalNav9LadderHitER6VectorS1_R11TraceResult", CLocalNav::LadderHit), + +#endif // Hostage_Region + + { 0, nullptr, 0, 0, false } +}; + +// refs for uncompleted virtual function +VirtualTableRef g_TableRefs[] = +{ + // Weapon shared + VTABLE_LINK(0x01DF46BC, "CKnife", CWEAPON_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF4394, "CGLOCK18", 95), + VTABLE_LINK(0x01DF368C, "CC4", CWEAPON_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF5C6C, "CUSP", 95), + VTABLE_LINK(0x01DF57DC, "CSmokeGrenade", CWEAPON_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF4B8C, "CM4A1", CWEAPON_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF453C, "CHEGrenade", CWEAPON_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF3ED4, "CFlashbang", 95), + VTABLE_LINK(0x01DF3B94, "CFamas", CWEAPON_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF39D4, "CELITE", 95), + VTABLE_LINK(0x01DF3D34, "CFiveSeven", 95), + VTABLE_LINK(0x01DF502C, "CP228", 95), + VTABLE_LINK(0x01DF5DF4, "CXM1014", CWEAPON_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF407C, "CG3SG1", CWEAPON_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF54CC, "CSG550", CWEAPON_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF3824, "CDEAGLE", 95), + VTABLE_LINK(0x01DF34E4, "CAWP", CWEAPON_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF5334, "CSCOUT", CWEAPON_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF5654, "CSG552", CWEAPON_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF49FC, "CM3", CWEAPON_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF333C, "CAUG", CWEAPON_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF420C, "CGalil", CWEAPON_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF3174, "CAK47", CWEAPON_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF4864, "CM249", CWEAPON_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF51AC, "CP90", CWEAPON_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF4D0C, "CMAC10", CWEAPON_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF5AE4, "CUMP45", CWEAPON_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF4E9C, "CMP5N", CWEAPON_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF595C, "CTMP", CWEAPON_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFD984, "CWShield", CBASE_VIRTUAL_COUNT), + + // CBaseEntity + VTABLE_LINK(0x01DF8A94, "CGib", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFD824, "CBaseDelay", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF607C, "CBaseEntity", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFA894, "CGrenade", 77), + VTABLE_LINK(0x01DF67D4, "CBaseToggle", 59), + VTABLE_LINK(0x01DF652C, "CBasePlayer", 88), + VTABLE_LINK(0x01DF6694, "CBaseMonster", 76), + VTABLE_LINK(0x01DFDA84, "CSprayCan", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFDB74, "CBloodSplat", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFDC6C, "CDeadHEV", 76), + VTABLE_LINK(0x01DFDF84, "CInfoIntermission",CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFDE94, "CRevertSaved", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFDDA4, "CStripWeapons", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF69B4, "CBot", 116), + VTABLE_LINK(0x01DF61DC, "CCSBot", 116), + VTABLE_LINK(0x01DF64F0, "CCSBotManager", 12), + VTABLE_LINK(0x01DF6C9C, "CHostage", 76), + VTABLE_LINK(0x01DF6FF4, "CImprov", 56), + VTABLE_LINK(0x01DF6E24, "CHostageImprov", 56), + + // hostage states + VTABLE_LINK(0x01DF6FE4, "HostageStateMachine", 4), + VTABLE_LINK(0x01DF6FC8, "HostageIdleState", 4), + VTABLE_LINK(0x01DF6F9C, "HostageEscapeState", 6), + VTABLE_LINK(0x01DF6F70, "HostageRetreatState", 6), + VTABLE_LINK(0x01DF6F44, "HostageFollowState", 4), + VTABLE_LINK(0x01DF7180, "HostageEscapeToCoverState",4), + VTABLE_LINK(0x01DF6F18, "HostageAnimateState", 4), + + VTABLE_LINK(0x01E00BBC, "CArmoury", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFE4E4, "CSoundEnt", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFE20C, "CAmbientGeneric", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFE2FC, "CEnvSound", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFE3F4, "CSpeaker", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01E00D9C, "CCorpse", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01E00CAC, "CDecal", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01E00E8C, "CWorld", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFE8D4, "CBaseGrenCatch", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFE9C4, "CFuncWeaponCheck", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01E00ACC, "CWeaponBox", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF9F94, "CShower", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFA1BC, "CBreakable", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFA2AC, "CPushable", CBASE_VIRTUAL_COUNT), + + VTABLE_LINK(0x01DF7D1C, "CFuncWall", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF7E0C, "CFuncWallToggle", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF7EFC, "CFuncConveyor", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF7FF4, "CFuncIllusionary", 59), + VTABLE_LINK(0x01DF80E4, "CFuncMonsterClip", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF81D4, "CFuncRotating", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF82C4, "CPendulum", CBASE_VIRTUAL_COUNT), + + VTABLE_LINK(0x01DFAAF4, "CGenericCycler", 76), + VTABLE_LINK(0x01DFAC2C, "CCyclerProbe", 76), + VTABLE_LINK(0x01DFAD64, "CCyclerSprite", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFAFD4, "CWreckage", 76), + + //VTABLE_LINK(0x0, "CFuncTank", 60), + VTABLE_LINK(0x01DFA3BC, "CFuncTankGun", 60), + VTABLE_LINK(0x01DFA4B4, "CFuncTankLaser", 60), + VTABLE_LINK(0x01DFA5AC, "CFuncTankRocket", 60), + VTABLE_LINK(0x01DFA6A4, "CFuncTankMortar", 60), + VTABLE_LINK(0x01DFA79C, "CFuncTankControls",CBASE_VIRTUAL_COUNT), + + VTABLE_LINK(0x01DF83BC, "CEnvGlobal", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF84AC, "CMultiSource", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF859C, "CBaseButton", 59), + VTABLE_LINK(0x01DF868C, "CRotButton", 59), + VTABLE_LINK(0x01DF877C, "CMomentaryRotButton", 59), + VTABLE_LINK(0x01DF886C, "CEnvSpark", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF895C, "CButtonTarget", CBASE_VIRTUAL_COUNT), + + VTABLE_LINK(0x01DFE5D4, "CNullEntity", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFE6C4, "CBaseDMStart", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF8EAC, "CPointEntity", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFEAB4, "CFrictionModifier", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFEBA4, "CAutoTrigger", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFEC94, "CTriggerRelay", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFF6E4, "CTriggerVolume", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFF7D4, "CFireAndDie", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01E00404, "CTriggerChangeTarget", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01E004F4, "CTriggerCamera", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01E006D4, "CClientFog", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFEE74, "CRenderFxManager", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFF324, "CTargetCDAudio", CBASE_VIRTUAL_COUNT), + + VTABLE_LINK(0x01DFCD1C, "CPathCorner", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFCE0C, "CPathTrack", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01E007D4, "CFuncVehicle", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01E009C4, "CFuncVehicleControls", CBASE_VIRTUAL_COUNT), + + VTABLE_LINK(0x01DFBD4C, "CGameScore", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFBE3C, "CGameEnd", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFBF2C, "CGameText", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFC01C, "CGameTeamMaster", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFC10C, "CGameTeamSet", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFC1FC, "CGamePlayerZone", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFC2EC, "CGamePlayerHurt", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFC3DC, "CGameCounter", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFC4CC, "CGameCounterSet", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFC5BC, "CGamePlayerEquip", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFC6AC, "CGamePlayerTeam", CBASE_VIRTUAL_COUNT), + + VTABLE_LINK(0x01DFCEFC, "CFuncPlat", 64), + VTABLE_LINK(0x01DFD0F4, "CFuncPlatRot", 64), + VTABLE_LINK(0x01DFD1FC, "CFuncTrain", 60), + VTABLE_LINK(0x01DFD2F4, "CFuncTrackTrain", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFD3EC, "CFuncTrainControls", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFD4DC, "CFuncTrackChange", 65), + VTABLE_LINK(0x01DFD5E4, "CFuncTrackAuto", 65), + VTABLE_LINK(0x01DFD6EC, "CGunTarget", 76), + VTABLE_LINK(0x01DFD004, "CPlatTrigger", CBASE_VIRTUAL_COUNT), + + VTABLE_LINK(0x01DFED84, "CMultiManager", 59), + VTABLE_LINK(0x01DFEF64, "CBaseTrigger", 59), + VTABLE_LINK(0x01DFF054, "CTriggerHurt", 59), + VTABLE_LINK(0x01DFF144, "CTriggerMonsterJump", 59), + + VTABLE_LINK(0x01DFF234, "CTriggerCDAudio", 59), + VTABLE_LINK(0x01DFF414, "CTriggerMultiple", 59), + VTABLE_LINK(0x01DFF504, "CTriggerOnce", 59), + VTABLE_LINK(0x01DFF5F4, "CTriggerCounter", 59), + VTABLE_LINK(0x01DFF8C4, "CChangeLevel", 59), + VTABLE_LINK(0x01DFF9B4, "CLadder", 59), + VTABLE_LINK(0x01DFFAA4, "CTriggerPush", 59), + VTABLE_LINK(0x01DFFB94, "CTriggerTeleport", 59), + VTABLE_LINK(0x01DFFC84, "CBuyZone", 59), + VTABLE_LINK(0x01DFFD74, "CBombTarget", 59), + VTABLE_LINK(0x01DFFE64, "CHostageRescue", 59), + VTABLE_LINK(0x01DFFF54, "CEscapeZone", 59), + VTABLE_LINK(0x01E00044, "CVIP_SafetyZone", 59), + VTABLE_LINK(0x01E00134, "CTriggerSave", 59), + + VTABLE_LINK(0x01E00224, "CTriggerEndSection", 59), + VTABLE_LINK(0x01E00314, "CTriggerGravity", 59), + VTABLE_LINK(0x01E005E4, "CWeather", 59), + + VTABLE_LINK(0x01DFA084, "CEnvExplosion", 76), + VTABLE_LINK(0x01DFC79C, "CFuncMortarField", 59), + VTABLE_LINK(0x01DF7204, "CAirtank", 77), + VTABLE_LINK(0x01DFC88C, "CMortar", 77), + VTABLE_LINK(0x01DF7344, "C9MMAmmo", 59), + VTABLE_LINK(0x01DF7434, "CBuckShotAmmo", 59), + VTABLE_LINK(0x01DF7524, "C556NatoAmmo", 59), + VTABLE_LINK(0x01DF7614, "C556NatoBoxAmmo", 59), + VTABLE_LINK(0x01DF7704, "C762NatoAmmo", 59), + VTABLE_LINK(0x01DF77F4, "C45ACPAmmo", 59), + VTABLE_LINK(0x01DF78E4, "C50AEAmmo", 59), + VTABLE_LINK(0x01DF79D4, "C338MagnumAmmo", 59), + VTABLE_LINK(0x01DF7AC4, "C57MMAmmo", 59), + VTABLE_LINK(0x01DF7BB4, "C357SIGAmmo", 59), + + // doors + VTABLE_LINK(0x01DF8BDC, "CBaseDoor", 59), + VTABLE_LINK(0x01DF8CCC, "CRotDoor", 59), + VTABLE_LINK(0x01DF8DBC, "CMomentaryDoor", 59), + + // rules + VTABLE_LINK(0x01DFCBFC, "CGameRules", 63), + VTABLE_LINK(0x01DFE10C, "CHalfLifeRules", 63), + VTABLE_LINK(0x01DFCADC, "CHalfLifeMultiplay", 70), + VTABLE_LINK(0x01DFE7B4, "CHalfLifeTraining", 70), + VTABLE_LINK(0x01DFC9D4, "CMapInfo", CBASE_VIRTUAL_COUNT), + + VTABLE_LINK(0x01E01074, "CPreventDefuseTask", 0), + VTABLE_LINK(0x01E01084, "CCareerTask", 0), + + // effects + VTABLE_LINK(0x01DF8F9C, "CBubbling", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF908C, "CBeam", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF917C, "CLightning", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF926C, "CLaser", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF944C, "CGlow", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF953C, "CBombGlow", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF935C, "CSprite", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFB2EC, "CWorldItem", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFBB5C, "CLight", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFBC4C, "CEnvLight", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFEAB4, "CFrictionModifier", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFEBA4, "CAutoTrigger", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DFBA6C, "CItemThighPack", 59), + VTABLE_LINK(0x01DFB97C, "CItemAssaultSuit", 59), + VTABLE_LINK(0x01DFB88C, "CItemKevlar", 59), + VTABLE_LINK(0x01DFB79C, "CItemLongJump", 59), + VTABLE_LINK(0x01DFB6AC, "CItemSecurity", 59), + VTABLE_LINK(0x01DFB5BC, "CItemAntidote", 59), + VTABLE_LINK(0x01DFB4CC, "CItemBattery", 59), + VTABLE_LINK(0x01DFB3DC, "CItemSuit", 59), + VTABLE_LINK(0x01DFB10C, "CHealthKit", 59), + VTABLE_LINK(0x01DFB1FC, "CWallHealth", 59), + VTABLE_LINK(0x01DFA9FC, "CRecharge", 59), + VTABLE_LINK(0x01DF9634, "CGibShooter", 59), + VTABLE_LINK(0x01DF9724, "CEnvShooter", 59), + VTABLE_LINK(0x01DF9814, "CTestEffect", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF9904, "CBlood", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF99F4, "CShake", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF9AE4, "CFade", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF9BD4, "CMessage", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF9CC4, "CEnvFunnel", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF9DB4, "CEnvBeverage", CBASE_VIRTUAL_COUNT), + VTABLE_LINK(0x01DF9EA4, "CItemSoda", CBASE_VIRTUAL_COUNT), + + // tutor + VTABLE_LINK(0x01E00FA4, "CBaseTutor", 12), + VTABLE_LINK(0x01E00F9C, "TutorMessageEvent", 1), + VTABLE_LINK(0x01E01024, "CCSTutor", 12), + VTABLE_LINK(0x01E00FEC, "CCSTutorStateSystem", 4), + VTABLE_LINK(0x01E00F78, "CBaseTutorStateSystem", 4), + VTABLE_LINK(0x01E00F8C, "CBaseTutorState", 3), + VTABLE_LINK(0x01E00FDC, "CCSTutorUndefinedState", 3), + VTABLE_LINK(0x01E01000, "CCSTutorBuyMenuState", 3), + VTABLE_LINK(0x01E01010, "CCSTutorWaitingForStartState", 3), + + VTABLE_LINK(0x01DF6198, "BotFollowMeme", 1), + VTABLE_LINK(0x01DF617C, "BotHelpMeme", 1), + VTABLE_LINK(0x01DF61A0, "BotDefendHereMeme", 1), + VTABLE_LINK(0x01DF61B0, "BotBombsiteStatusMeme", 1), + VTABLE_LINK(0x01DF618C, "BotBombStatusMeme", 1), + VTABLE_LINK(0x01DF61B8, "BotHostageBeingTakenMeme", 1), + VTABLE_LINK(0x01DF61A8, "BotWhereBombMeme", 1), + VTABLE_LINK(0x01DF6184, "BotRequestReportMeme", 1), + + // bot states + VTABLE_LINK(0x01DF64A0, "IdleState", 4), + VTABLE_LINK(0x01DF648C, "HuntState", 4), + VTABLE_LINK(0x01DF6478, "AttackState", 4), + VTABLE_LINK(0x01DF6464, "InvestigateNoiseState", 4), + VTABLE_LINK(0x01DF6450, "BuyState", 4), + VTABLE_LINK(0x01DF643C, "MoveToState", 4), + VTABLE_LINK(0x01DF6428, "FetchBombState", 4), + VTABLE_LINK(0x01DF6414, "PlantBombState", 4), + VTABLE_LINK(0x01DF6400, "DefuseBombState", 4), + VTABLE_LINK(0x01DF63EC, "HideState", 4), + VTABLE_LINK(0x01DF63D8, "EscapeFromBombState", 4), + VTABLE_LINK(0x01DF63C4, "FollowState", 4), + VTABLE_LINK(0x01DF63B0, "UseEntityState", 4), + + { 0, nullptr, 0 } // BaseClass__for_vtbl +}; + +// references +AddressRef g_FunctionRefs[] = +{ +#ifndef Function_References_Region + + GLOBALVAR_LINK(0x01D2EDD0, "_ZN6CCSBot16UpdateLookAnglesEv", pCCSBot__UpdateLookAngles), + GLOBALVAR_LINK(0x01D19C70, "_ZN9BotPhrase9RandomizeEv", pBotPhrase__Randomize), + +#endif // Function_References_Region + + { 0, nullptr, 0, 0, false } +}; + +AddressRef g_DataRefs[] = +{ +#ifndef Data_References_Region + + GLOBALVAR_LINK(0x01E61BD0, "g_engfuncs", pg_engfuncs), + GLOBALVAR_LINK(0x01E61E48, "gpGlobals", pgpGlobals), + GLOBALVAR_LINK(0x01E10768, "GameEventName", pGameEventName), + GLOBALVAR_LINK(0x01E2A3F8, "_ZL14s_shared_token", ps_shared_token), + GLOBALVAR_LINK(0x01E13218, "_ZL14s_shared_quote", ps_shared_quote), + GLOBALVAR_LINK(0x01E61BA4, "g_vecZero", pg_vecZero), + GLOBALVAR_LINK(0x01E61BB4, "g_Language", pg_Language), + //GLOBALVAR_LINK(0x01E61BB8, "g_ulFrameCount", pg_ulFrameCount), // NOXREF + //GLOBALVAR_LINK(0x0, "g_ulModelIndexEyes", pg_ulModelIndexEyes), // NOXREF + GLOBALVAR_LINK(0x01E61BC0, "g_vecAttackDir", pg_vecAttackDir), + GLOBALVAR_LINK(0x01E61BBC, "g_iSkillLevel", pg_iSkillLevel), + GLOBALVAR_LINK(0x01E61B9C, "gDisplayTitle", pgDisplayTitle), + GLOBALVAR_LINK(0x01E61BA0, "g_fGameOver", pg_fGameOver), + GLOBALVAR_LINK(0x01E754B8, "st_szNextMap", pst_szNextMap), + GLOBALVAR_LINK(0x01E75498, "st_szNextSpot", pst_szNextSpot), + GLOBALVAR_LINK(0x01E683A0, "gSkillData", pgSkillData), + GLOBALVAR_LINK(0x01E75EC8, "g_sModelIndexLaser", pg_sModelIndexLaser), + GLOBALVAR_LINK(0x01E227A8, "g_pModelNameLaser", pg_pModelNameLaser), + GLOBALVAR_LINK(0x01E75FD8, "g_sModelIndexLaserDot", pg_sModelIndexLaserDot), + GLOBALVAR_LINK(0x01E75EC6, "g_sModelIndexFireball", pg_sModelIndexFireball), + GLOBALVAR_LINK(0x01E75EB4, "g_sModelIndexSmoke", pg_sModelIndexSmoke), + GLOBALVAR_LINK(0x01E75EB2, "g_sModelIndexWExplosion", pg_sModelIndexWExplosion), + GLOBALVAR_LINK(0x01E76562, "g_sModelIndexBubbles", pg_sModelIndexBubbles), + GLOBALVAR_LINK(0x01E75EB6, "g_sModelIndexBloodDrop", pg_sModelIndexBloodDrop), + GLOBALVAR_LINK(0x01E75ECA, "g_sModelIndexBloodSpray", pg_sModelIndexBloodSpray), + GLOBALVAR_LINK(0x01E76566, "g_sModelIndexSmokePuff", pg_sModelIndexSmokePuff), + GLOBALVAR_LINK(0x01E75ED0, "g_sModelIndexFireball2", pg_sModelIndexFireball2), + GLOBALVAR_LINK(0x01E75ECC, "g_sModelIndexFireball3", pg_sModelIndexFireball3), + GLOBALVAR_LINK(0x01E75ECE, "g_sModelIndexFireball4", pg_sModelIndexFireball4), + GLOBALVAR_LINK(0x01E76564, "g_sModelIndexCTGhost", pg_sModelIndexCTGhost), + GLOBALVAR_LINK(0x01E75EB0, "g_sModelIndexTGhost", pg_sModelIndexTGhost), + GLOBALVAR_LINK(0x01E76560, "g_sModelIndexC4Glow", pg_sModelIndexC4Glow), + GLOBALVAR_LINK(0x01E76568, "giAmmoIndex", pgiAmmoIndex), + GLOBALVAR_LINK(0x01E75EC4, "g_sModelIndexRadio", pg_sModelIndexRadio), + GLOBALVAR_LINK(0x01E75EB8, "gMultiDamage", pgMultiDamage), + GLOBALVAR_LINK(0x01E29880, "_ZL13s_iBeamSprite", ps_iBeamSprite), + GLOBALVAR_LINK(0x01E29480, "_ZL8cosTable", pcosTable), + GLOBALVAR_LINK(0x01E23AA8, "TutorIdentifierList", pTutorIdentifierList), + GLOBALVAR_LINK(0x01E23678, "_ZL19g_TutorStateStrings", pg_TutorStateStrings), + GLOBALVAR_LINK(0x01E61E4C, "WorldGraph", pWorldGraph), + //GLOBALVAR_LINK(0x01E61E5C, "_ZN12CTalkMonster14g_talkWaitTimeE", CTalkMonster::pg_talkWaitTime), + GLOBALVAR_LINK(0x01E61B98, "g_pGameRules", pg_pGameRules), + GLOBALVAR_LINK(0x01E62560, "g_pMPGameRules", pg_pMPGameRules), + GLOBALVAR_LINK(0x01E61E70, "_ZL12mp_com_token", pmp_com_token), + GLOBALVAR_LINK(0x01E636F0, "vec3_origin", pvec3_origin), + GLOBALVAR_LINK(0x01E1F420, "nanmask", pnanmask), + GLOBALVAR_LINK(0x01E0B0B0, "_ZL15weaponAliasInfo", pweaponAliasInfo), + GLOBALVAR_LINK(0x01E0B1E8, "_ZL18weaponBuyAliasInfo", pweaponBuyAliasInfo), + GLOBALVAR_LINK(0x01E0B3F0, "_ZL20weaponClassAliasInfo", pweaponClassAliasInfo), + GLOBALVAR_LINK(0x01E0B560, "g_autoBuyInfo", pg_autoBuyInfo), + GLOBALVAR_LINK(0x01E0B708, "_ZL10weaponInfo", pweaponInfo), + GLOBALVAR_LINK(0x01E6AC80, "gszallsentencenames", pgszallsentencenames), + GLOBALVAR_LINK(0x01E683E0, "rgsentenceg", prgsentenceg), + GLOBALVAR_LINK(0x01E75480, "fSentencesInit", pfSentencesInit), + GLOBALVAR_LINK(0x01E75484, "gcallsentences", pgcallsentences), + GLOBALVAR_LINK(0x01E1F5B0, "rgdpvpreset", prgdpvpreset), + GLOBALVAR_LINK(0x01E75488, "fTextureTypeInit", pfTextureTypeInit), + GLOBALVAR_LINK(0x01E7548C, "gcTextures", pgcTextures, 2), + GLOBALVAR_LINK(0x01E70C80, "grgszTextureName", pgrgszTextureName, 2), + GLOBALVAR_LINK(0x01E75080, "grgchTextureType", pgrgchTextureType, 2), + // implementation at PM_Shared + GLOBALVAR_LINK(0x01E68390, "gcTextures", ppm_gcTextures, 1), + GLOBALVAR_LINK(0x01E63B88, "grgszTextureName", ppm_grgszTextureName, 1), + GLOBALVAR_LINK(0x01E67F88, "grgchTextureType", ppm_grgchTextureType, 1), + GLOBALVAR_LINK(0x01E68388, "pm_shared_initialized", ppm_shared_initialized), + GLOBALVAR_LINK(0x01E63700, "rgv3tStuckTable", prgv3tStuckTable), + GLOBALVAR_LINK(0x01E63A88, "rgStuckLast", prgStuckLast), + GLOBALVAR_LINK(0x01E68394, "g_onladder", pg_onladder), + GLOBALVAR_LINK(0x01E6838C, "pmove", pg_ppmove), + GLOBALVAR_LINK(0x01E76578, "g_flWeaponCheat", pg_flWeaponCheat), + GLOBALVAR_LINK(0x01E62778, "gEvilImpulse101", pgEvilImpulse101), + GLOBALVAR_LINK(0x01E62790, "g_szMapBriefingText", pg_szMapBriefingText), + GLOBALVAR_LINK(0x01E1DD78, "gInitHUD", pgInitHUD), + GLOBALVAR_LINK(0x01E75CFC, "g_groupmask", pg_groupmask), + GLOBALVAR_LINK(0x01E75D00, "g_groupop", pg_groupop), + GLOBALVAR_LINK(0x01E21EF8, "_ZL6gSizes", pgSizes), + GLOBALVAR_LINK(0x01E75490, "pSoundEnt", ppSoundEnt), + GLOBALVAR_LINK(0x01E75CF8, "_ZL6glSeed", pglSeed), + GLOBALVAR_LINK(0x01E21598, "seed_table", pseed_table), + GLOBALVAR_LINK(0x01E21998, "gEntvarsDescription", pgEntvarsDescription), + GLOBALVAR_LINK(0x01E22DBC, "gGlobalEntitySaveData", pgGlobalEntitySaveData), + GLOBALVAR_LINK(0x01E7656C, "g_pBodyQueueHead", pg_pBodyQueueHead), + GLOBALVAR_LINK(0x01E76570, "gGlobalState", pgGlobalState), + GLOBALVAR_LINK(0x01E22C50, "gDecals", pgDecals), + GLOBALVAR_LINK(0x01E31748, "stringsHashTable", pstringsHashTable), + GLOBALVAR_LINK(0x01E312E8, "hashItemMemPool", phashItemMemPool), + //GLOBALVAR_LINK(0x01E3175C, "gTouchDisabled", pgTouchDisabled), + GLOBALVAR_LINK(0x01E6359C, "giPrecacheGrunt", pgiPrecacheGrunt), + GLOBALVAR_LINK(0x01E6360C, "gmsgWeapPickup", pgmsgWeapPickup), + GLOBALVAR_LINK(0x01E635E0, "gmsgHudText", pgmsgHudText), + GLOBALVAR_LINK(0x01E635E4, "gmsgHudTextArgs", pgmsgHudTextArgs), + GLOBALVAR_LINK(0x01E635A0, "gmsgShake", pgmsgShake), + GLOBALVAR_LINK(0x01E635A4, "gmsgFade", pgmsgFade), + GLOBALVAR_LINK(0x01E635A8, "gmsgFlashlight", pgmsgFlashlight), + GLOBALVAR_LINK(0x01E635AC, "gmsgFlashBattery", pgmsgFlashBattery), + GLOBALVAR_LINK(0x01E635B0, "gmsgResetHUD", pgmsgResetHUD), + GLOBALVAR_LINK(0x01E635B4, "gmsgInitHUD", pgmsgInitHUD), + GLOBALVAR_LINK(0x01E635B8, "gmsgViewMode", pgmsgViewMode), + GLOBALVAR_LINK(0x01E635BC, "gmsgShowGameTitle", pgmsgShowGameTitle), + GLOBALVAR_LINK(0x01E635C0, "gmsgCurWeapon", pgmsgCurWeapon), + GLOBALVAR_LINK(0x01E635C4, "gmsgHealth", pgmsgHealth), + GLOBALVAR_LINK(0x01E635C8, "gmsgDamage", pgmsgDamage), + GLOBALVAR_LINK(0x01E635CC, "gmsgBattery", pgmsgBattery), + GLOBALVAR_LINK(0x01E635D0, "gmsgTrain", pgmsgTrain), + GLOBALVAR_LINK(0x01E635D4, "gmsgLogo", pgmsgLogo), + GLOBALVAR_LINK(0x01E635D8, "gmsgWeaponList", pgmsgWeaponList), + GLOBALVAR_LINK(0x01E635DC, "gmsgAmmoX", pgmsgAmmoX), + GLOBALVAR_LINK(0x01E635E8, "gmsgDeathMsg", pgmsgDeathMsg), + GLOBALVAR_LINK(0x01E635EC, "gmsgScoreAttrib", pgmsgScoreAttrib), + GLOBALVAR_LINK(0x01E635F0, "gmsgScoreInfo", pgmsgScoreInfo), + GLOBALVAR_LINK(0x01E635F4, "gmsgTeamInfo", pgmsgTeamInfo), + GLOBALVAR_LINK(0x01E635F8, "gmsgTeamScore", pgmsgTeamScore), + GLOBALVAR_LINK(0x01E635FC, "gmsgGameMode", pgmsgGameMode), + GLOBALVAR_LINK(0x01E63600, "gmsgMOTD", pgmsgMOTD), + GLOBALVAR_LINK(0x01E63604, "gmsgServerName", pgmsgServerName), + GLOBALVAR_LINK(0x01E63608, "gmsgAmmoPickup", pgmsgAmmoPickup), + GLOBALVAR_LINK(0x01E63610, "gmsgItemPickup", pgmsgItemPickup), + GLOBALVAR_LINK(0x01E63614, "gmsgHideWeapon", pgmsgHideWeapon), + GLOBALVAR_LINK(0x01E63618, "gmsgSayText", pgmsgSayText), + GLOBALVAR_LINK(0x01E6361C, "gmsgTextMsg", pgmsgTextMsg), + GLOBALVAR_LINK(0x01E63620, "gmsgSetFOV", pgmsgSetFOV), + GLOBALVAR_LINK(0x01E63624, "gmsgShowMenu", pgmsgShowMenu), + GLOBALVAR_LINK(0x01E63628, "gmsgSendAudio", pgmsgSendAudio), + GLOBALVAR_LINK(0x01E6362C, "gmsgRoundTime", pgmsgRoundTime), + GLOBALVAR_LINK(0x01E63630, "gmsgMoney", pgmsgMoney), + GLOBALVAR_LINK(0x01E63634, "gmsgBlinkAcct", pgmsgBlinkAcct), + GLOBALVAR_LINK(0x01E63638, "gmsgArmorType", pgmsgArmorType), + GLOBALVAR_LINK(0x01E6363C, "gmsgStatusValue", pgmsgStatusValue), + GLOBALVAR_LINK(0x01E63640, "gmsgStatusText", pgmsgStatusText), + GLOBALVAR_LINK(0x01E63644, "gmsgStatusIcon", pgmsgStatusIcon), + GLOBALVAR_LINK(0x01E63648, "gmsgBarTime", pgmsgBarTime), + GLOBALVAR_LINK(0x01E6364C, "gmsgReloadSound", pgmsgReloadSound), + GLOBALVAR_LINK(0x01E63650, "gmsgCrosshair", pgmsgCrosshair), + GLOBALVAR_LINK(0x01E63654, "gmsgNVGToggle", pgmsgNVGToggle), + GLOBALVAR_LINK(0x01E63658, "gmsgRadar", pgmsgRadar), + GLOBALVAR_LINK(0x01E6365C, "gmsgSpectator", pgmsgSpectator), + GLOBALVAR_LINK(0x01E63660, "gmsgVGUIMenu", pgmsgVGUIMenu), + GLOBALVAR_LINK(0x01E63664, "gmsgCZCareer", pgmsgCZCareer), + GLOBALVAR_LINK(0x01E63668, "gmsgCZCareerHUD", pgmsgCZCareerHUD), + GLOBALVAR_LINK(0x01E6366C, "gmsgTaskTime", pgmsgTaskTime), + GLOBALVAR_LINK(0x01E63670, "gmsgTutorText", pgmsgTutorText), + GLOBALVAR_LINK(0x01E63674, "gmsgTutorLine", pgmsgTutorLine), + GLOBALVAR_LINK(0x01E63678, "gmsgShadowIdx", pgmsgShadowIdx), + GLOBALVAR_LINK(0x01E6367C, "gmsgTutorState", pgmsgTutorState), + GLOBALVAR_LINK(0x01E63680, "gmsgTutorClose", pgmsgTutorClose), + GLOBALVAR_LINK(0x01E63684, "gmsgAllowSpec", pgmsgAllowSpec), + GLOBALVAR_LINK(0x01E63688, "gmsgBombDrop", pgmsgBombDrop), + GLOBALVAR_LINK(0x01E6368C, "gmsgBombPickup", pgmsgBombPickup), + GLOBALVAR_LINK(0x01E63690, "gmsgHostagePos", pgmsgHostagePos), + GLOBALVAR_LINK(0x01E63694, "gmsgHostageK", pgmsgHostageK), + GLOBALVAR_LINK(0x01E63698, "gmsgGeigerRange", pgmsgGeigerRange), + GLOBALVAR_LINK(0x01E6369C, "gmsgSendCorpse", pgmsgSendCorpse), + GLOBALVAR_LINK(0x01E636A0, "gmsgHLTV", pgmsgHLTV), + GLOBALVAR_LINK(0x01E636A4, "gmsgSpecHealth", pgmsgSpecHealth), + GLOBALVAR_LINK(0x01E636A8, "gmsgForceCam", pgmsgForceCam), + GLOBALVAR_LINK(0x01E636AC, "gmsgADStop", pgmsgADStop), + GLOBALVAR_LINK(0x01E636B0, "gmsgReceiveW", pgmsgReceiveW), + GLOBALVAR_LINK(0x01E636B4, "gmsgScenarioIcon", pgmsgScenarioIcon), + GLOBALVAR_LINK(0x01E636B8, "gmsgBotVoice", pgmsgBotVoice), + GLOBALVAR_LINK(0x01E636BC, "gmsgBuyClose", pgmsgBuyClose), + GLOBALVAR_LINK(0x01E636C0, "gmsgItemStatus", pgmsgItemStatus), + GLOBALVAR_LINK(0x01E636C4, "gmsgLocation", pgmsgLocation), + GLOBALVAR_LINK(0x01E636C8, "gmsgSpecHealth2", pgmsgSpecHealth2), + GLOBALVAR_LINK(0x01E636CC, "gmsgBarTime2", pgmsgBarTime2), + GLOBALVAR_LINK(0x01E636D0, "gmsgBotProgress", pgmsgBotProgress), + GLOBALVAR_LINK(0x01E636D4, "gmsgBrass", pgmsgBrass), + GLOBALVAR_LINK(0x01E636D8, "gmsgFog", pgmsgFog), + GLOBALVAR_LINK(0x01E636DC, "gmsgShowTimer", pgmsgShowTimer), + GLOBALVAR_LINK(0x01E61B80, "g_psv_gravity", pg_psv_gravity), + GLOBALVAR_LINK(0x01E61B84, "g_psv_aim", pg_psv_aim),//TODO: unused, used cvar_t *sv_aim + GLOBALVAR_LINK(0x01E63598, "sv_aim", psv_aim), + GLOBALVAR_LINK(0x01E61E6C, "sv_clienttrace", psv_clienttrace), + GLOBALVAR_LINK(0x01E61E68, "_ZL15g_GameMgrHelper", pg_GameMgrHelper), + GLOBALVAR_LINK(0x01E22624, "voice_serverdebug", pvoice_serverdebug), + GLOBALVAR_LINK(0x01E22638, "sv_alltalk", psv_alltalk), + GLOBALVAR_LINK(0x01E75D20, "g_PlayerModEnable", pg_PlayerModEnable), + GLOBALVAR_LINK(0x01E75D28, "g_BanMasks", pg_BanMasks), + GLOBALVAR_LINK(0x01E75DA8, "g_SentGameRulesMasks", pg_SentGameRulesMasks), + GLOBALVAR_LINK(0x01E75E30, "g_SentBanMasks", pg_SentBanMasks), + GLOBALVAR_LINK(0x01E75E28, "g_bWantModEnable", pg_bWantModEnable), + GLOBALVAR_LINK(0x01E76580, "_ZL23s_tutorDisabledThisGame", ps_tutorDisabledThisGame), + GLOBALVAR_LINK(0x01E76584, "_ZL19s_nextCvarCheckTime", ps_nextCvarCheckTime), + GLOBALVAR_LINK(0x01E11214, "BotDifficultyName", pBotDifficultyName), + GLOBALVAR_LINK(0x01E61B88, "g_footsteps", pg_footsteps), + GLOBALVAR_LINK(0x01E61B8C, "g_psv_accelerate", pg_psv_accelerate), + GLOBALVAR_LINK(0x01E61B90, "g_psv_friction", pg_psv_friction), + GLOBALVAR_LINK(0x01E61B94, "g_psv_stopspeed", pg_psv_stopspeed), + GLOBALVAR_LINK(0x01E18738, "displaysoundlist", pdisplaysoundlist), + GLOBALVAR_LINK(0x01E18774, "timelimit", ptimelimit), + GLOBALVAR_LINK(0x01E1879C, "flashlight", pflashlight), + GLOBALVAR_LINK(0x01E187B0, "decalfrequency", pdecalfrequency), + GLOBALVAR_LINK(0x01E189A4, "fadetoblack", pfadetoblack), + GLOBALVAR_LINK(0x01E1874C, "fragsleft", pfragsleft), + GLOBALVAR_LINK(0x01E18760, "timeleft", ptimeleft), + GLOBALVAR_LINK(0x01E18788, "friendlyfire", pfriendlyfire), + GLOBALVAR_LINK(0x01E187C4, "allowmonsters", pallowmonsters), + GLOBALVAR_LINK(0x01E187D8, "roundtime", proundtime), + GLOBALVAR_LINK(0x01E187EC, "buytime", pbuytime), + GLOBALVAR_LINK(0x01E18800, "freezetime", pfreezetime), + GLOBALVAR_LINK(0x01E18814, "c4timer", pc4timer), + GLOBALVAR_LINK(0x01E18828, "ghostfrequency", pghostfrequency), + GLOBALVAR_LINK(0x01E1883C, "autokick", pautokick), + GLOBALVAR_LINK(0x01E18850, "autokick_timeout", pautokick_timeout), + GLOBALVAR_LINK(0x01E18864, "restartround", prestartround), + GLOBALVAR_LINK(0x01E18878, "sv_restart", psv_restart), + GLOBALVAR_LINK(0x01E1888C, "limitteams", plimitteams), + GLOBALVAR_LINK(0x01E188A0, "autoteambalance", pautoteambalance), + GLOBALVAR_LINK(0x01E188B4, "tkpunish", ptkpunish), + GLOBALVAR_LINK(0x01E188C8, "hostagepenalty", phostagepenalty), + GLOBALVAR_LINK(0x01E188DC, "mirrordamage", pmirrordamage), + GLOBALVAR_LINK(0x01E188F0, "logmessages", plogmessages), + GLOBALVAR_LINK(0x01E18904, "forcecamera", pforcecamera), + GLOBALVAR_LINK(0x01E18918, "forcechasecam", pforcechasecam), + GLOBALVAR_LINK(0x01E1892C, "mapvoteratio", pmapvoteratio), + GLOBALVAR_LINK(0x01E18940, "logdetail", plogdetail), + GLOBALVAR_LINK(0x01E18954, "startmoney", pstartmoney), + GLOBALVAR_LINK(0x01E18968, "maxrounds", pmaxrounds), + GLOBALVAR_LINK(0x01E1897C, "winlimit", pwinlimit), + GLOBALVAR_LINK(0x01E18990, "windifference", pwindifference), + GLOBALVAR_LINK(0x01E189B8, "playerid", pplayerid), + GLOBALVAR_LINK(0x01E189CC, "allow_spectators", pallow_spectators), + GLOBALVAR_LINK(0x01E189E0, "mp_chattime", pmp_chattime), + GLOBALVAR_LINK(0x01E189F4, "kick_percent", pkick_percent), + GLOBALVAR_LINK(0x01E18A08, "humans_join_team", phumans_join_team), + GLOBALVAR_LINK(0x01E195D4, "sk_plr_9mm_bullet1", psk_plr_9mm_bullet1), + GLOBALVAR_LINK(0x01E195E8, "sk_plr_9mm_bullet2", psk_plr_9mm_bullet2), + GLOBALVAR_LINK(0x01E195FC, "sk_plr_9mm_bullet3", psk_plr_9mm_bullet3), + GLOBALVAR_LINK(0x01E19610, "sk_plr_357_bullet1", psk_plr_357_bullet1), + GLOBALVAR_LINK(0x01E19624, "sk_plr_357_bullet2", psk_plr_357_bullet2), + GLOBALVAR_LINK(0x01E19638, "sk_plr_357_bullet3", psk_plr_357_bullet3), + GLOBALVAR_LINK(0x01E1964C, "sk_plr_9mmAR_bullet1", psk_plr_9mmAR_bullet1), + GLOBALVAR_LINK(0x01E19660, "sk_plr_9mmAR_bullet2", psk_plr_9mmAR_bullet2), + GLOBALVAR_LINK(0x01E19674, "sk_plr_9mmAR_bullet3", psk_plr_9mmAR_bullet3), + GLOBALVAR_LINK(0x01E19688, "sk_plr_9mmAR_grenade1", psk_plr_9mmAR_grenade1), + GLOBALVAR_LINK(0x01E1969C, "sk_plr_9mmAR_grenade2", psk_plr_9mmAR_grenade2), + GLOBALVAR_LINK(0x01E196B0, "sk_plr_9mmAR_grenade3", psk_plr_9mmAR_grenade3), + GLOBALVAR_LINK(0x01E196C4, "sk_plr_buckshot1", psk_plr_buckshot1), + GLOBALVAR_LINK(0x01E196D8, "sk_plr_buckshot2", psk_plr_buckshot2), + GLOBALVAR_LINK(0x01E196EC, "sk_plr_buckshot3", psk_plr_buckshot3), + GLOBALVAR_LINK(0x01E19778, "sk_plr_rpg1", psk_plr_rpg1), + GLOBALVAR_LINK(0x01E1978C, "sk_plr_rpg2", psk_plr_rpg2), + GLOBALVAR_LINK(0x01E197A0, "sk_plr_rpg3", psk_plr_rpg3), + GLOBALVAR_LINK(0x01E1991C, "sk_12mm_bullet1", psk_12mm_bullet1), + GLOBALVAR_LINK(0x01E19930, "sk_12mm_bullet2", psk_12mm_bullet2), + GLOBALVAR_LINK(0x01E19944, "sk_12mm_bullet3", psk_12mm_bullet3), + GLOBALVAR_LINK(0x01E19958, "sk_9mmAR_bullet1", psk_9mmAR_bullet1), + GLOBALVAR_LINK(0x01E1996C, "sk_9mmAR_bullet2", psk_9mmAR_bullet2), + GLOBALVAR_LINK(0x01E19980, "sk_9mmAR_bullet3", psk_9mmAR_bullet3), + GLOBALVAR_LINK(0x01E19994, "sk_9mm_bullet1", psk_9mm_bullet1), + GLOBALVAR_LINK(0x01E199A8, "sk_9mm_bullet2", psk_9mm_bullet2), + GLOBALVAR_LINK(0x01E199BC, "sk_9mm_bullet3", psk_9mm_bullet3), + GLOBALVAR_LINK(0x01E19A0C, "sk_suitcharger1", psk_suitcharger1), + GLOBALVAR_LINK(0x01E19A20, "sk_suitcharger2", psk_suitcharger2), + GLOBALVAR_LINK(0x01E19A34, "sk_suitcharger3", psk_suitcharger3), + GLOBALVAR_LINK(0x01E19A48, "sk_battery1", psk_battery1), + GLOBALVAR_LINK(0x01E19A5C, "sk_battery2", psk_battery2), + GLOBALVAR_LINK(0x01E19A70, "sk_battery3", psk_battery3), + GLOBALVAR_LINK(0x01E19A84, "sk_healthcharger1", psk_healthcharger1), + GLOBALVAR_LINK(0x01E19A98, "sk_healthcharger2", psk_healthcharger2), + GLOBALVAR_LINK(0x01E19AAC, "sk_healthcharger3", psk_healthcharger3), + GLOBALVAR_LINK(0x01E19AC0, "sk_healthkit1", psk_healthkit1), + GLOBALVAR_LINK(0x01E19AD4, "sk_healthkit2", psk_healthkit2), + GLOBALVAR_LINK(0x01E19AE8, "sk_healthkit3", psk_healthkit3), + GLOBALVAR_LINK(0x01E19AFC, "sk_scientist_heal1", psk_scientist_heal1), + GLOBALVAR_LINK(0x01E19B10, "sk_scientist_heal2", psk_scientist_heal2), + GLOBALVAR_LINK(0x01E19B24, "sk_scientist_heal3", psk_scientist_heal3), + GLOBALVAR_LINK(0x01E10738, "g_flBotCommandInterval", pg_flBotCommandInterval), + GLOBALVAR_LINK(0x01E1073C, "g_flBotFullThinkInterval", pg_flBotFullThinkInterval), + GLOBALVAR_LINK(0x01E61B44, "_ZL11gTankSpread", pgTankSpread), + GLOBALVAR_LINK(0x01E28A20, "BotArgs", pBotArgs), + GLOBALVAR_LINK(0x01E28A30, "UseBotArgs", pUseBotArgs), + GLOBALVAR_LINK(0x01E1E040, "g_weaponStruct", pg_weaponStruct), + GLOBALVAR_LINK(0x01E0EFF8, "cv_bot_traceview", pcv_bot_traceview), + GLOBALVAR_LINK(0x01E0F00C, "cv_bot_stop", pcv_bot_stop), + GLOBALVAR_LINK(0x01E0F020, "cv_bot_show_nav", pcv_bot_show_nav), + GLOBALVAR_LINK(0x01E0F034, "cv_bot_show_danger", pcv_bot_show_danger), + GLOBALVAR_LINK(0x01E0F048, "cv_bot_nav_edit", pcv_bot_nav_edit), + GLOBALVAR_LINK(0x01E0F05C, "cv_bot_nav_zdraw", pcv_bot_nav_zdraw), + GLOBALVAR_LINK(0x01E0F070, "cv_bot_walk", pcv_bot_walk), + GLOBALVAR_LINK(0x01E0F084, "cv_bot_difficulty", pcv_bot_difficulty), + GLOBALVAR_LINK(0x01E0F098, "cv_bot_debug", pcv_bot_debug), + GLOBALVAR_LINK(0x01E0F0AC, "cv_bot_quicksave", pcv_bot_quicksave), + GLOBALVAR_LINK(0x01E0F0C0, "cv_bot_quota", pcv_bot_quota), + GLOBALVAR_LINK(0x01E0F0D4, "cv_bot_quota_match", pcv_bot_quota_match), + GLOBALVAR_LINK(0x01E0F0E8, "cv_bot_prefix", pcv_bot_prefix), + GLOBALVAR_LINK(0x01E0F0FC, "cv_bot_allow_rogues", pcv_bot_allow_rogues), + GLOBALVAR_LINK(0x01E0F110, "cv_bot_allow_pistols", pcv_bot_allow_pistols), + GLOBALVAR_LINK(0x01E0F124, "cv_bot_allow_shotguns", pcv_bot_allow_shotguns), + GLOBALVAR_LINK(0x01E0F138, "cv_bot_allow_sub_machine_guns", pcv_bot_allow_sub_machine_guns), + GLOBALVAR_LINK(0x01E0F14C, "cv_bot_allow_rifles", pcv_bot_allow_rifles), + GLOBALVAR_LINK(0x01E0F160, "cv_bot_allow_machine_guns", pcv_bot_allow_machine_guns), + GLOBALVAR_LINK(0x01E0F174, "cv_bot_allow_grenades", pcv_bot_allow_grenades), + GLOBALVAR_LINK(0x01E0F188, "cv_bot_allow_snipers", pcv_bot_allow_snipers), + GLOBALVAR_LINK(0x01E0F19C, "cv_bot_allow_shield", pcv_bot_allow_shield), + GLOBALVAR_LINK(0x01E0F1B0, "cv_bot_join_team", pcv_bot_join_team), + GLOBALVAR_LINK(0x01E0F1C4, "cv_bot_join_after_player", pcv_bot_join_after_player), + GLOBALVAR_LINK(0x01E0F1D8, "cv_bot_auto_vacate", pcv_bot_auto_vacate), + GLOBALVAR_LINK(0x01E0F1EC, "cv_bot_zombie", pcv_bot_zombie), + GLOBALVAR_LINK(0x01E0F200, "cv_bot_defer_to_human", pcv_bot_defer_to_human), + GLOBALVAR_LINK(0x01E0F214, "cv_bot_chatter", pcv_bot_chatter), + GLOBALVAR_LINK(0x01E0F228, "cv_bot_profile_db", pcv_bot_profile_db), + GLOBALVAR_LINK(0x01E233BC, "cv_tutor_message_repeats", pcv_tutor_message_repeats), + GLOBALVAR_LINK(0x01E233D0, "cv_tutor_debug_level", pcv_tutor_debug_level), + GLOBALVAR_LINK(0x01E233E4, "cv_tutor_view_distance", pcv_tutor_view_distance), + GLOBALVAR_LINK(0x01E233F8, "cv_tutor_viewable_check_interval", pcv_tutor_viewable_check_interval), + GLOBALVAR_LINK(0x01E2340C, "cv_tutor_look_distance", pcv_tutor_look_distance), + GLOBALVAR_LINK(0x01E23420, "cv_tutor_look_angle", pcv_tutor_look_angle), + GLOBALVAR_LINK(0x01E23434, "cv_tutor_examine_time", pcv_tutor_examine_time), + GLOBALVAR_LINK(0x01E23448, "cv_tutor_message_minimum_display_time", pcv_tutor_message_minimum_display_time), + GLOBALVAR_LINK(0x01E2345C, "cv_tutor_message_character_display_time_coefficient", pcv_tutor_message_character_display_time_coefficient), + GLOBALVAR_LINK(0x01E23470, "cv_tutor_hint_interval_time", pcv_tutor_hint_interval_time), + GLOBALVAR_LINK(0x01E287F8, "_ZL12navAreaCount", pnavAreaCount), + GLOBALVAR_LINK(0x01E287FC, "_ZL12currentIndex", pcurrentIndex), + GLOBALVAR_LINK(0x01E2A3E8, "_ZN9CLocalNav15flNextCvarCheckE", CLocalNav::pflNextCvarCheck), + GLOBALVAR_LINK(0x01E2A3D8, "_ZN9CLocalNav12s_flStepSizeE", CLocalNav::ps_flStepSize), + GLOBALVAR_LINK(0x01E2A3EC, "_ZN9CLocalNav15flLastThinkTimeE", CLocalNav::pflLastThinkTime), + GLOBALVAR_LINK(0x01E2A3E4, "_ZN9CLocalNav7nodevalE", CLocalNav::pnodeval), + GLOBALVAR_LINK(0x01E2A3F0, "_ZN9CLocalNav12tot_hostagesE", CLocalNav::ptot_hostages), + GLOBALVAR_LINK(0x01E2A298, "_ZN9CLocalNav8hostagesE", CLocalNav::phostages), + GLOBALVAR_LINK(0x01E2A3E0, "_ZN9CLocalNav11tot_inqueueE", CLocalNav::ptot_inqueue), + GLOBALVAR_LINK(0x01E2A3DC, "_ZN9CLocalNav4qptrE", CLocalNav::pqptr), + GLOBALVAR_LINK(0x01E2A338, "_ZN9CLocalNav5queueE", CLocalNav::pqueue), + GLOBALVAR_LINK(0x01E17AD0, "_ZN10CBreakable13pSpawnObjectsE", CBreakable::ppSpawnObjects), + GLOBALVAR_LINK(0x01E17BA0, "_ZN10CBreakable11pSoundsWoodE", CBreakable::ppSoundsWood), + GLOBALVAR_LINK(0x01E17BAC, "_ZN10CBreakable12pSoundsFleshE", CBreakable::ppSoundsFlesh), + GLOBALVAR_LINK(0x01E17BC4, "_ZN10CBreakable12pSoundsMetalE", CBreakable::ppSoundsMetal), + GLOBALVAR_LINK(0x01E17BD0, "_ZN10CBreakable15pSoundsConcreteE", CBreakable::ppSoundsConcrete), + GLOBALVAR_LINK(0x01E17BDC, "_ZN10CBreakable12pSoundsGlassE", CBreakable::ppSoundsGlass), + GLOBALVAR_LINK(0x01E17C08, "_ZN9CPushable12m_soundNamesE", CPushable::pm_soundNames), + GLOBALVAR_LINK(0x01E1E00C, "_ZN8CDeadHEV9m_szPosesE", CDeadHEV::pm_szPoses), + GLOBALVAR_LINK(0x01E1DD88, "_ZN11CBasePlayer16m_playerSaveDataE", CBasePlayer::pm_playerSaveData), + GLOBALVAR_LINK(0x01E14A68, "_ZN11CBaseEntity10m_SaveDataE", CBaseEntity::pm_SaveData), + GLOBALVAR_LINK(0x01E22DAC, "_ZN12CGlobalState10m_SaveDataE", CGlobalState::pm_SaveData), + GLOBALVAR_LINK(0x01E14390, "_ZN9CEnvSpark10m_SaveDataE", CEnvSpark::pm_SaveData), + GLOBALVAR_LINK(0x01E14330, "_ZN19CMomentaryRotButton10m_SaveDataE", CMomentaryRotButton::pm_SaveData), + GLOBALVAR_LINK(0x01E14240, "_ZN10CEnvGlobal10m_SaveDataE", CEnvGlobal::pm_SaveData), + GLOBALVAR_LINK(0x01E1B4C0, "_ZN8CGrenade10m_SaveDataE", CGrenade::pm_SaveData), + GLOBALVAR_LINK(0x01E1B998, "_ZN9CWreckage10m_SaveDataE", CWreckage::pm_SaveData), + GLOBALVAR_LINK(0x01E1B968, "_ZN13CCyclerSprite10m_SaveDataE", CCyclerSprite::pm_SaveData), + GLOBALVAR_LINK(0x01E1B958, "_ZN7CCycler10m_SaveDataE", CCycler::pm_SaveData), + GLOBALVAR_LINK(0x01E1BE38, "_ZN6CLight10m_SaveDataE", CLight::pm_SaveData), + GLOBALVAR_LINK(0x01E1BB00, "_ZN11CWallHealth10m_SaveDataE", CWallHealth::pm_SaveData), + GLOBALVAR_LINK(0x01E1B850, "_ZN9CRecharge10m_SaveDataE", CRecharge::pm_SaveData), + GLOBALVAR_LINK(0x01E1C248, "_ZN16CFuncMortarField10m_SaveDataE", CFuncMortarField::pm_SaveData), + GLOBALVAR_LINK(0x01E17A08, "_ZN13CEnvExplosion10m_SaveDataE", CEnvExplosion::pm_SaveData), + GLOBALVAR_LINK(0x01E13F38, "_ZN13CFuncRotating10m_SaveDataE", CFuncRotating::pm_SaveData), + GLOBALVAR_LINK(0x01E13F88, "_ZN9CPendulum10m_SaveDataE", CPendulum::pm_SaveData), + GLOBALVAR_LINK(0x01E16FB0, "_ZN9CBaseDoor10m_SaveDataE", CBaseDoor::pm_SaveData), + GLOBALVAR_LINK(0x01E17020, "_ZN14CMomentaryDoor10m_SaveDataE", CMomentaryDoor::pm_SaveData), + GLOBALVAR_LINK(0x01E17B50, "_ZN10CBreakable10m_SaveDataE", CBreakable::pm_SaveData), + GLOBALVAR_LINK(0x01E17BE8, "_ZN9CPushable10m_SaveDataE", CPushable::pm_SaveData), + GLOBALVAR_LINK(0x01E18180, "_ZN9CFuncTank10m_SaveDataE", CFuncTank::pm_SaveData), + GLOBALVAR_LINK(0x01E18320, "_ZN14CFuncTankLaser10m_SaveDataE", CFuncTankLaser::pm_SaveData), + GLOBALVAR_LINK(0x01E18340, "_ZN17CFuncTankControls10m_SaveDataE", CFuncTankControls::pm_SaveData), + GLOBALVAR_LINK(0x01E22408, "_ZN12CFuncVehicle10m_SaveDataE", CFuncVehicle::pm_SaveData), + GLOBALVAR_LINK(0x01E1D2D8, "_ZN11CPathCorner10m_SaveDataE", CPathCorner::pm_SaveData), + GLOBALVAR_LINK(0x01E1D2E8, "_ZN10CPathTrack10m_SaveDataE", CPathTrack::pm_SaveData), + GLOBALVAR_LINK(0x01E1E01C, "_ZN12CRevertSaved10m_SaveDataE", CRevertSaved::pm_SaveData), + GLOBALVAR_LINK(0x01E1BF38, "_ZN11CRuleEntity10m_SaveDataE", CRuleEntity::pm_SaveData), + GLOBALVAR_LINK(0x01E1BF48, "_ZN9CGameText10m_SaveDataE", CGameText::pm_SaveData), + GLOBALVAR_LINK(0x01E1BF58, "_ZN15CGamePlayerZone10m_SaveDataE", CGamePlayerZone::pm_SaveData), + GLOBALVAR_LINK(0x01E20B10, "_ZN17CFrictionModifier10m_SaveDataE", CFrictionModifier::pm_SaveData), + GLOBALVAR_LINK(0x01E20B20, "_ZN12CAutoTrigger10m_SaveDataE", CAutoTrigger::pm_SaveData), + GLOBALVAR_LINK(0x01E20B40, "_ZN13CTriggerRelay10m_SaveDataE", CTriggerRelay::pm_SaveData), + GLOBALVAR_LINK(0x01E20B50, "_ZN13CMultiManager10m_SaveDataE", CMultiManager::pm_SaveData), + GLOBALVAR_LINK(0x01E20BA0, "_ZN12CChangeLevel10m_SaveDataE", CChangeLevel::pm_SaveData), + GLOBALVAR_LINK(0x01E20BE0, "_ZN20CTriggerChangeTarget10m_SaveDataE", CTriggerChangeTarget::pm_SaveData), + GLOBALVAR_LINK(0x01E20BF0, "_ZN14CTriggerCamera10m_SaveDataE", CTriggerCamera::pm_SaveData), + GLOBALVAR_LINK(0x01E208D8, "_ZN16CFuncWeaponCheck10m_SaveDataE", CFuncWeaponCheck::pm_SaveData), + GLOBALVAR_LINK(0x01E20888, "_ZN14CBaseGrenCatch10m_SaveDataE", CBaseGrenCatch::pm_SaveData), + GLOBALVAR_LINK(0x01E13228, "_ZN8CAirtank10m_SaveDataE", CAirtank::pm_SaveData), + GLOBALVAR_LINK(0x01E14270, "_ZN12CMultiSource10m_SaveDataE", CMultiSource::pm_SaveData), + GLOBALVAR_LINK(0x01E20538, "_ZN10CBaseDelay10m_SaveDataE", CBaseDelay::pm_SaveData), + GLOBALVAR_LINK(0x01E13438, "_ZN14CBaseAnimating10m_SaveDataE", CBaseAnimating::pm_SaveData), + GLOBALVAR_LINK(0x01E20558, "_ZN11CBaseToggle10m_SaveDataE", CBaseToggle::pm_SaveData), + GLOBALVAR_LINK(0x01E142B0, "_ZN11CBaseButton10m_SaveDataE", CBaseButton::pm_SaveData), + GLOBALVAR_LINK(0x01E20040, "_ZN15CAmbientGeneric10m_SaveDataE", CAmbientGeneric::pm_SaveData), + GLOBALVAR_LINK(0x01E20080, "_ZN9CEnvSound10m_SaveDataE", CEnvSound::pm_SaveData), + GLOBALVAR_LINK(0x01E200A0, "_ZN8CSpeaker10m_SaveDataE", CSpeaker::pm_SaveData), + GLOBALVAR_LINK(0x01E17258, "_ZN9CBubbling10m_SaveDataE", CBubbling::pm_SaveData), + GLOBALVAR_LINK(0x01E17288, "_ZN10CLightning10m_SaveDataE", CLightning::pm_SaveData), + GLOBALVAR_LINK(0x01E17358, "_ZN6CLaser10m_SaveDataE", CLaser::pm_SaveData), + GLOBALVAR_LINK(0x01E17388, "_ZN5CGlow10m_SaveDataE", CGlow::pm_SaveData), + GLOBALVAR_LINK(0x01E173A8, "_ZN7CSprite10m_SaveDataE", CSprite::pm_SaveData), + GLOBALVAR_LINK(0x01E173C8, "_ZN11CGibShooter10m_SaveDataE", CGibShooter::pm_SaveData), + GLOBALVAR_LINK(0x01E227AC, "_ZN15CBasePlayerItem10m_SaveDataE", CBasePlayerItem::pm_SaveData), + GLOBALVAR_LINK(0x01E227E0, "_ZN17CBasePlayerWeapon10m_SaveDataE", CBasePlayerWeapon::pm_SaveData), + GLOBALVAR_LINK(0x01E22850, "_ZN10CWeaponBox10m_SaveDataE", CWeaponBox::pm_SaveData), + GLOBALVAR_LINK(0x01E1D420, "_ZN14CBasePlatTrain10m_SaveDataE", CBasePlatTrain::pm_SaveData), + GLOBALVAR_LINK(0x01E1D450, "_ZN12CFuncPlatRot10m_SaveDataE", CFuncPlatRot::pm_SaveData), + GLOBALVAR_LINK(0x01E1D470, "_ZN10CFuncTrain10m_SaveDataE", CFuncTrain::pm_SaveData), + GLOBALVAR_LINK(0x01E1D4A0, "_ZN15CFuncTrackTrain10m_SaveDataE", CFuncTrackTrain::pm_SaveData), + GLOBALVAR_LINK(0x01E1D560, "_ZN16CFuncTrackChange10m_SaveDataE", CFuncTrackChange::pm_SaveData), + GLOBALVAR_LINK(0x01E1D5F0, "_ZN10CGunTarget10m_SaveDataE", CGunTarget::pm_SaveData), + GLOBALVAR_LINK(0x01E75FE0, "_ZN15CBasePlayerItem13ItemInfoArrayE", CBasePlayerItem::pItemInfoArray), + GLOBALVAR_LINK(0x01E75ED8, "_ZN15CBasePlayerItem13AmmoInfoArrayE", CBasePlayerItem::pAmmoInfoArray), + GLOBALVAR_LINK(0x01E28816, "_ZN13CCSBotManager17m_isMapDataLoadedE", CCSBotManager::pm_isMapDataLoaded), + GLOBALVAR_LINK(0x01E28818, "_ZN13CCSBotManager9m_editCmdE", CCSBotManager::pm_editCmd), + GLOBALVAR_LINK(0x01E2881C, "_ZN13CCSBotManager17m_flNextCVarCheckE", CCSBotManager::pm_flNextCVarCheck), + GLOBALVAR_LINK(0x01E28814, "_ZN13CCSBotManager15m_isLearningMapE", CCSBotManager::pm_isLearningMap), + GLOBALVAR_LINK(0x01E28815, "_ZN13CCSBotManager21m_isAnalysisRequestedE", CCSBotManager::pm_isAnalysisRequested), + GLOBALVAR_LINK(0x01E233BC, "cv_tutor_message_repeats", pcv_tutor_message_repeats), + GLOBALVAR_LINK(0x01E233D0, "cv_tutor_debug_level", pcv_tutor_debug_level), + GLOBALVAR_LINK(0x01E233E4, "cv_tutor_view_distance", pcv_tutor_view_distance), + GLOBALVAR_LINK(0x01E233F8, "cv_tutor_viewable_check_interval", pcv_tutor_viewable_check_interval), + GLOBALVAR_LINK(0x01E2340C, "cv_tutor_look_distance", pcv_tutor_look_distance), + GLOBALVAR_LINK(0x01E23420, "cv_tutor_look_angle", pcv_tutor_look_angle), + GLOBALVAR_LINK(0x01E23434, "cv_tutor_examine_time", pcv_tutor_examine_time), + GLOBALVAR_LINK(0x01E23448, "cv_tutor_message_minimum_display_time", pcv_tutor_message_minimum_display_time), + GLOBALVAR_LINK(0x01E2345C, "cv_tutor_message_character_display_time_coefficient", pcv_tutor_message_character_display_time_coefficient), + GLOBALVAR_LINK(0x01E23470, "cv_tutor_hint_interval_time", pcv_tutor_hint_interval_time), + GLOBALVAR_LINK(0x01E11EE4, "cv_hostage_debug", pcv_hostage_debug), + GLOBALVAR_LINK(0x01E11EF8, "cv_hostage_stop", pcv_hostage_stop), + //GLOBALVAR_LINK(0x01E2A228, "_ZL14placeDirectory", pplaceDirectory), // DONT USE - NOXREF + GLOBALVAR_LINK(0x01E2A0E4, "TheNavLadderList", pTheNavLadderList), + GLOBALVAR_LINK(0x01E2A0F0, "TheHidingSpotList", pTheHidingSpotList), + GLOBALVAR_LINK(0x01E14C5C, "sPlayerModelFiles", psPlayerModelFiles), + GLOBALVAR_LINK(0x01E5D6F0, "g_flTimeLimit", pg_flTimeLimit), + GLOBALVAR_LINK(0x01E5D6F4, "g_flResetTime", pg_flResetTime), + GLOBALVAR_LINK(0x01E14C58, "g_bClientPrintEnable", pg_bClientPrintEnable), + GLOBALVAR_LINK(0x01E5D6F8, "g_skipCareerInitialSpawn", pg_skipCareerInitialSpawn), + GLOBALVAR_LINK(0x01E31768, "m_usResetDecals", pm_usResetDecals), + GLOBALVAR_LINK(0x01E31760, "g_iShadowSprite", pg_iShadowSprite), + GLOBALVAR_LINK(0x01E31770, "_ZL11g_PVSStatus", pg_PVSStatus), + GLOBALVAR_LINK(0x01E14C90, "_ZL18entity_field_alias", pentity_field_alias), + GLOBALVAR_LINK(0x01E14D68, "_ZL18player_field_alias", pplayer_field_alias), + GLOBALVAR_LINK(0x01E14DD8, "custom_entity_field_alias", pcustom_entity_field_alias), + //GLOBALVAR_LINK(0x01E5D718, "_ZL14g_serveractive", pg_serveractive), + GLOBALVAR_LINK(0x01E2A0A8, "_ZL17goodSizedAreaList", pgoodSizedAreaList), + GLOBALVAR_LINK(0x01E2A0D8, "TheNavAreaList", pTheNavAreaList), + GLOBALVAR_LINK(0x01E29888, "TheNavAreaGrid", pTheNavAreaGrid), + GLOBALVAR_LINK(0x01E11E88, "Opposite", pOpposite), + GLOBALVAR_LINK(0x01E2A250, "_ZN8CNavNode6m_listE", CNavNode::pm_list), + GLOBALVAR_LINK(0x01E2A254, "_ZN8CNavNode12m_listLengthE", CNavNode::pm_listLength), + GLOBALVAR_LINK(0x01E11584, "_ZN8CNavArea14m_masterMarkerE", CNavArea::pm_masterMarker), + GLOBALVAR_LINK(0x01E11588, "_ZN10HidingSpot8m_nextIDE", HidingSpot::pm_nextID), + GLOBALVAR_LINK(0x01E2A108, "_ZN10HidingSpot14m_masterMarkerE", HidingSpot::pm_masterMarker), + GLOBALVAR_LINK(0x01E11580, "_ZN8CNavArea8m_nextIDE", CNavArea::pm_nextID), + GLOBALVAR_LINK(0x01E2A100, "_ZN8CNavArea9m_isResetE", CNavArea::pm_isReset), + GLOBALVAR_LINK(0x01E2A0FC, "_ZN8CNavArea10m_openListE", CNavArea::pm_openList), + GLOBALVAR_LINK(0x01E2A104, "lastDrawTimestamp", plastDrawTimestamp), + GLOBALVAR_LINK(0x01E2A118, "_ZL13editTimestamp", peditTimestamp), + GLOBALVAR_LINK(0x01E2A10C, "_ZL10markedArea", pmarkedArea), + GLOBALVAR_LINK(0x01E2A110, "_ZL16lastSelectedArea", plastSelectedArea), + GLOBALVAR_LINK(0x01E1158C, "_ZL12markedCorner", pmarkedCorner), + GLOBALVAR_LINK(0x01E2A114, "_ZL17isCreatingNavArea", pisCreatingNavArea), + GLOBALVAR_LINK(0x01E2A115, "_ZL10isAnchored", pisAnchored), + GLOBALVAR_LINK(0x01E2A0C8, "_ZL6anchor", panchor), + GLOBALVAR_LINK(0x01E2A116, "_ZL11isPlaceMode", pisPlaceMode), + GLOBALVAR_LINK(0x01E2A117, "_ZL15isPlacePainting", pisPlacePainting), + GLOBALVAR_LINK(0x01E29CA4, "_ZL9BlockedID", pBlockedID), + GLOBALVAR_LINK(0x01E2A120, "_ZL14BlockedIDCount", pBlockedIDCount), + GLOBALVAR_LINK(0x01E14988, "_ZL14gFunctionTable", pgFunctionTable), + GLOBALVAR_LINK(0x01E14A50, "gNewDLLFunctions", pgNewDLLFunctions), + GLOBALVAR_LINK(0x01E28810, "TheBots", pTheBots), + GLOBALVAR_LINK(0x01E24950, "_ZL8taskInfo", ptaskInfo), + GLOBALVAR_LINK(0x01E76594, "TheCareerTasks", pTheCareerTasks), + GLOBALVAR_LINK(0x01E28C7C, "TheBotProfiles", pTheBotProfiles), + GLOBALVAR_LINK(0x01E287CC, "g_pSelectedZombieSpawn", pg_pSelectedZombieSpawn), + GLOBALVAR_LINK(0x01E287F0, "TheBotPhrases", pTheBotPhrases), + GLOBALVAR_LINK(0x01E7657C, "TheTutor", pTheTutor), + GLOBALVAR_LINK(0x01E2A25C, "g_pHostages", pg_pHostages), + GLOBALVAR_LINK(0x01E2A258, "g_iHostageNumber", pg_iHostageNumber), + GLOBALVAR_LINK(0x01E16EE0, "_ZL11outputLevel", poutputLevel), + GLOBALVAR_LINK(0x01E61B40, "_ZL19theDebugOutputTypes", ptheDebugOutputTypes), + GLOBALVAR_LINK(0x01E61740, "_ZL14theDebugBuffer", ptheDebugBuffer), + GLOBALVAR_LINK(0x01E75D04, "_ZL9g_LessCtx", pg_LessCtx), + GLOBALVAR_LINK(0x01E62670, "g_pevLastInflictor", pg_pevLastInflictor), + GLOBALVAR_LINK(0x01E62788, "g_pLastSpawn", pg_pLastSpawn), + GLOBALVAR_LINK(0x01E63590, "g_pLastCTSpawn", pg_pLastCTSpawn), + GLOBALVAR_LINK(0x01E63594, "g_pLastTerroristSpawn", pg_pLastTerroristSpawn), + GLOBALVAR_LINK(0x01E62990, "_ZL11zombieSpawn", pzombieSpawn), + GLOBALVAR_LINK(0x01E636E8, "_ZL16zombieSpawnCount", pzombieSpawnCount), + GLOBALVAR_LINK(0x01E13838, "svBlending", psvBlending), + GLOBALVAR_LINK(0x01E312D0, "IEngineStudio", pIEngineStudio), + GLOBALVAR_LINK(0x01E2DAA8, "g_pstudiohdr", pg_pstudiohdr), + GLOBALVAR_LINK(0x01E2F8C0, "g_pRotationMatrix", pg_pRotationMatrix), + GLOBALVAR_LINK(0x01E2F8B0, "g_pBoneTransform", pg_pBoneTransform), + GLOBALVAR_LINK(0x01E0DF70, "primaryWeaponBuyInfoCT", pprimaryWeaponBuyInfoCT), + GLOBALVAR_LINK(0x01E0E00C, "secondaryWeaponBuyInfoCT", psecondaryWeaponBuyInfoCT), + GLOBALVAR_LINK(0x01E0E030, "primaryWeaponBuyInfoT", pprimaryWeaponBuyInfoT), + GLOBALVAR_LINK(0x01E0E0CC, "secondaryWeaponBuyInfoT", psecondaryWeaponBuyInfoT), + GLOBALVAR_LINK(0x01E287E8, "_ZN19BotChatterInterface16m_encourageTimerE", BotChatterInterface::pm_encourageTimer), + GLOBALVAR_LINK(0x01E287E0, "_ZN19BotChatterInterface22m_radioSilenceIntervalE", BotChatterInterface::pm_radioSilenceInterval), + //GLOBALVAR_LINK(0x01E2F8BC, "omega", pomega), // LOCAL + //GLOBALVAR_LINK(0x01E312E0, "cosom", pcosom), // LOCAL + //GLOBALVAR_LINK(0x01E306C8, "sinom", psinom), // LOCAL + //GLOBALVAR_LINK(0x01E2F8B4, "sclp", psclp), // LOCAL + //GLOBALVAR_LINK(0x01E2F8B8, "sclq", psclq), // LOCAL + +#endif // Data_References_Region + + { 0, nullptr, 0, 0, false } +}; diff --git a/regamedll/hookers/hooklist.h b/regamedll/hookers/hooklist.h new file mode 100644 index 00000000..adf983f8 --- /dev/null +++ b/regamedll/hookers/hooklist.h @@ -0,0 +1,26 @@ +#pragma once + +#include "hookers/memory.h" +#include "hookers/helper.h" +#include "hookers/hooker.h" + +#define _LOG_TRACE\ + static int iNumPassed = 0;\ + printf2("%s:: iNumPassed - %d", __FUNCTION__, iNumPassed++); + +#define _LOG_TRACE2\ + static int iNumPassed2 = 0;\ + printf2("%s:: iNumPassed - %d", __FUNCTION__, iNumPassed2++);\ + _logf("%s:: iNumPassed - %d", __FUNCTION__, iNumPassed2++); + +#ifdef HOOK_GAMEDLL + // STL containers Visual Studio 6.0 + #include "stl/vector" + #include "stl/list" + + #define STD_LIST list_vs6 // use STL containers of the old version from Visual Studio 6.0 sp6 + #define STD_VECTOR vector_vs6 +#else + #define STD_LIST list + #define STD_VECTOR vector +#endif // HOOK_GAMEDLL diff --git a/regamedll/hookers/main.cpp b/regamedll/hookers/main.cpp index cea4f6ea..52c7c5bc 100644 --- a/regamedll/hookers/main.cpp +++ b/regamedll/hookers/main.cpp @@ -88,9 +88,9 @@ const char *shrPathGameDLL() #endif if (g_ReGameDLLRuntimeConfig.IsCzero()) - Q_strcat(szDllFilename, "\\czero\\dlls\\"ORIGINAL_GAME_DLL_NAME); + Q_strcat(szDllFilename, "\\czero\\dlls\\" ORIGINAL_GAME_DLL_NAME); else - Q_strcat(szDllFilename, "\\cstrike\\dlls\\"ORIGINAL_GAME_DLL_NAME); + Q_strcat(szDllFilename, "\\cstrike\\dlls\\" ORIGINAL_GAME_DLL_NAME); return (const char *)szDllFilename; } diff --git a/regamedll/hookers/stl/vector b/regamedll/hookers/stl/vector index 27547162..ad3157df 100644 --- a/regamedll/hookers/stl/vector +++ b/regamedll/hookers/stl/vector @@ -236,16 +236,16 @@ protected: _A allocator; iterator _First, _Last, _End; }; - // CLASS vector_vs6<_Bool, allocator> + // CLASS vector_vs6 typedef unsigned int _Vbase; // word type for vector representation const int __VBITS = CHAR_BIT * sizeof (_Vbase); // at least CHAR_BITS bits per word typedef allocator_<_Vbase> _Bool_allocator; template -class vector_vs6<_Bool, _Bool_allocator> { +class vector_vs6 { public: typedef _Bool_allocator _A; - typedef _Bool _Ty; + typedef bool _Ty; typedef vector_vs6<_Ty, _A> _Myt; typedef vector_vs6<_Vbase, _A> _Vbtype; typedef _A allocator_type; @@ -281,7 +281,7 @@ public: typedef bool value_type; // CLASS const_iterator class iterator_; - class const_iterator : public _Ranit<_Bool, difference_type> { + class const_iterator : public _Ranit { public: const_iterator() : _Off(0), _Ptr(0) {} @@ -562,7 +562,7 @@ protected: size_type _Size; _Vbtype _Vec; }; -typedef vector_vs6<_Bool, _Bool_allocator> _Bvector; +typedef vector_vs6 _Bvector; // vector_vs6 TEMPLATE OPERATORS template inline bool operator==(const vector_vs6<_Ty, _A>& _X, diff --git a/regamedll/msvc/ReGameDLL.vcxproj b/regamedll/msvc/ReGameDLL.vcxproj index c96348d7..0085199d 100644 --- a/regamedll/msvc/ReGameDLL.vcxproj +++ b/regamedll/msvc/ReGameDLL.vcxproj @@ -761,12 +761,6 @@ - - true - true - true - true - true true @@ -780,6 +774,12 @@ true true + + true + true + true + true + true true @@ -807,12 +807,6 @@ true true - - true - true - true - true - @@ -866,6 +860,12 @@ precompiled.h + + true + true + true + true + @@ -1005,6 +1005,7 @@ + @@ -1041,7 +1042,6 @@ - @@ -1055,17 +1055,18 @@ + - + + - @@ -1119,6 +1120,7 @@ + @@ -1354,7 +1356,7 @@ true - %(AdditionalDependencies) + $(ProjectDir)../lib/libacof32.lib;%(AdditionalDependencies) diff --git a/regamedll/msvc/ReGameDLL.vcxproj.filters b/regamedll/msvc/ReGameDLL.vcxproj.filters index 5521be91..ef8c4afd 100644 --- a/regamedll/msvc/ReGameDLL.vcxproj.filters +++ b/regamedll/msvc/ReGameDLL.vcxproj.filters @@ -1,10 +1,6 @@  - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hh;hpp;hxx;hm;inl;inc;xsd - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms @@ -126,9 +122,6 @@ dlls - - hookers - dlls @@ -549,9 +542,6 @@ hookers - - hookers - regamedll @@ -564,6 +554,12 @@ dlls + + regamedll + + + hookers + @@ -674,9 +670,6 @@ game_shared\bot - - Header Files - regamedll @@ -686,9 +679,6 @@ dlls - - game_shared - public @@ -1106,9 +1096,6 @@ hookers - - hookers - regamedll @@ -1130,6 +1117,21 @@ public + + game_shared + + + regamedll + + + hookers + + + hookers + + + dlls + diff --git a/regamedll/pm_shared/pm_shared.h b/regamedll/pm_shared/pm_shared.h index f8f7631a..75649719 100644 --- a/regamedll/pm_shared/pm_shared.h +++ b/regamedll/pm_shared/pm_shared.h @@ -80,12 +80,14 @@ void PM_Init(struct playermove_s *ppmove); void PM_Move(struct playermove_s *ppmove, int server); char PM_FindTextureType(char *name); - -void PM_Init_(struct playermove_s *ppmove); -void PM_Move_(struct playermove_s *ppmove, int server); -void PM_AirMove_(int playerIndex = 0); void PM_AirMove_internal(); -void PM_UpdateStepSound_(); + +#ifdef REGAMEDLL_API +void PM_Init_OrigFunc(struct playermove_s *ppmove); +void PM_Move_OrigFunc(struct playermove_s *ppmove, int server); +void PM_AirMove_OrigFunc(int playerIndex = 0); +void PM_UpdateStepSound_OrigFunc(); +#endif extern struct playermove_s *pmove; diff --git a/regamedll/public/regamedll/csbot_dll.h b/regamedll/public/regamedll/csbot_dll.h index f96b7285..4620d053 100644 --- a/regamedll/public/regamedll/csbot_dll.h +++ b/regamedll/public/regamedll/csbot_dll.h @@ -31,7 +31,7 @@ #include "../game_shared/bot/bot_util.h" #include "../game_shared/bot/simple_state_machine.h" #include "../game_shared/steam_util.h" -#include "../game_shared/perf_counter.h" +#include "../game_shared/counter.h" #include "../game_shared/bot/bot_manager.h" #include "../game_shared/bot/bot_constants.h" #include "../game_shared/bot/bot.h" diff --git a/regamedll/hookers/RegameDLLRuntimeConfig.cpp b/regamedll/regamedll/RegameDLLRuntimeConfig.cpp similarity index 100% rename from regamedll/hookers/RegameDLLRuntimeConfig.cpp rename to regamedll/regamedll/RegameDLLRuntimeConfig.cpp diff --git a/regamedll/hookers/RegameDLLRuntimeConfig.h b/regamedll/regamedll/RegameDLLRuntimeConfig.h similarity index 100% rename from regamedll/hookers/RegameDLLRuntimeConfig.h rename to regamedll/regamedll/RegameDLLRuntimeConfig.h diff --git a/regamedll/regamedll/dlls.h b/regamedll/regamedll/dlls.h index e9b1950e..d9342ffe 100644 --- a/regamedll/regamedll/dlls.h +++ b/regamedll/regamedll/dlls.h @@ -28,6 +28,14 @@ #include "extdll.h" +#define CUSTOM_MEMBER + +#if defined(REGAMEDLL_ADD) && !defined(HOOK_GAMEDLL) +#define VFUNC virtual +#else +#define VFUNC +#endif + // declared virtual function's and globals for hooks #ifdef HOOK_GAMEDLL #include "hooker_impl.h" @@ -110,7 +118,7 @@ typedef float& FloatRef; #include "game_shared/bot/simple_state_machine.h" #include "game_shared/steam_util.h" -#include "game_shared/perf_counter.h" +#include "game_shared/counter.h" #include "game_shared/bot/bot_manager.h" #include "game_shared/bot/bot_constants.h" diff --git a/regamedll/regamedll/platform.cpp b/regamedll/regamedll/platform.cpp index 84366493..76c851d2 100644 --- a/regamedll/regamedll/platform.cpp +++ b/regamedll/regamedll/platform.cpp @@ -36,7 +36,7 @@ void NORETURN regamedll_syserror(const char *error, ...) vsnprintf(text, sizeof(text), error, argptr); va_end(argptr); - printf("%s\n", text); + CONSOLE_ECHO("%s\n", text); FILE *fl = fopen("regamedll_error.txt", "w"); fprintf(fl, "%s\n", text); diff --git a/regamedll/regamedll/precompiled.h b/regamedll/regamedll/precompiled.h index 55c04781..1c9a6e0b 100644 --- a/regamedll/regamedll/precompiled.h +++ b/regamedll/regamedll/precompiled.h @@ -4,26 +4,22 @@ #include "osconfig.h" #include "basetypes.h" + #include "archtypes.h" #include "sse_mathfun.h" #include "asmlib.h" #include "MemPool.h" + +// Hook stuff +#include "hookers/hooklist.h" + #include "engine.h" #include "platform.h" +#include "RegameDLLRuntimeConfig.h" #include "regamedll_debug.h" -#ifdef HOOK_GAMEDLL -#include "memory.h" -#include "hooker.h" -#include "RegameDLLRuntimeConfig.h" - -// STL containers Visual Studio 6.0 -#include "stl/vector" -#include "stl/list" -#endif // HOOK_GAMEDLL - -//valve libs stuff +// Valve libs stuff #include "tier0/platform.h" #include "tier0/dbg.h" @@ -33,7 +29,4 @@ #include "regamedll.h" #include "regamedll_interfaces.h" -#include "regamedll_api.h" - -#include "regamedll_interfaces_impl.h" #include "regamedll_api_impl.h" diff --git a/regamedll/regamedll/regamedll_interfaces_impl.h b/regamedll/regamedll/regamedll_interfaces_impl.h index 1f9c40e5..526e7e62 100644 --- a/regamedll/regamedll/regamedll_interfaces_impl.h +++ b/regamedll/regamedll/regamedll_interfaces_impl.h @@ -32,75 +32,67 @@ #if !defined(HOOK_GAMEDLL) && defined(REGAMEDLL_API) -#define __API_VHOOK(fname)\ - fname##_ - -#define __API_HOOK __API_VHOOK -#define __MAKE_VHOOK(fname)\ - fname +#define __API_HOOK(fname)\ + fname##_OrigFunc #define LINK_HOOK_CLASS_VOID_CHAIN(className, functionName, args, ...)\ void className::functionName args {\ - g_ReGameHookchains.m_##className##_##functionName.callChain(&className::functionName##_, this, __VA_ARGS__);\ + g_ReGameHookchains.m_##className##_##functionName.callChain(&className::functionName##_OrigFunc, this, __VA_ARGS__);\ } #define LINK_HOOK_CLASS_VOID_CHAIN2(className, functionName)\ void EXT_FUNC className::functionName() {\ - g_ReGameHookchains.m_##className##_##functionName.callChain(&className::functionName##_, this);\ + g_ReGameHookchains.m_##className##_##functionName.callChain(&className::functionName##_OrigFunc, this);\ } #define LINK_HOOK_CLASS_CHAIN(ret, className, functionName, args, ...)\ ret className::functionName args {\ - return g_ReGameHookchains.m_##className##_##functionName.callChain(&className::functionName##_, this, __VA_ARGS__);\ + return g_ReGameHookchains.m_##className##_##functionName.callChain(&className::functionName##_OrigFunc, this, __VA_ARGS__);\ } #define LINK_HOOK_CLASS_CHAIN2(ret, className, functionName)\ ret className::functionName() {\ - return g_ReGameHookchains.m_##className##_##functionName.callChain(&className::functionName##_, this);\ + return g_ReGameHookchains.m_##className##_##functionName.callChain(&className::functionName##_OrigFunc, this);\ } #define LINK_HOOK_CLASS_VOID_CUSTOM_CHAIN(className, customPrefix, functionName, args, ...)\ void className::functionName args {\ - g_ReGameHookchains.m_##customPrefix##_##functionName.callChain(&className::functionName##_, this, __VA_ARGS__);\ + g_ReGameHookchains.m_##customPrefix##_##functionName.callChain(&className::functionName##_OrigFunc, this, __VA_ARGS__);\ } #define LINK_HOOK_CLASS_VOID_CUSTOM_CHAIN2(className, customPrefix, functionName)\ void className::functionName() {\ - g_ReGameHookchains.m_##customPrefix##_##functionName.callChain(&className::functionName##_, this);\ + g_ReGameHookchains.m_##customPrefix##_##functionName.callChain(&className::functionName##_OrigFunc, this);\ } #define LINK_HOOK_CLASS_CUSTOM_CHAIN(ret, className, customPrefix, functionName, args, ...)\ ret className::functionName args {\ - return g_ReGameHookchains.m_##customPrefix##_##functionName.callChain(&className::functionName##_, this, __VA_ARGS__);\ + return g_ReGameHookchains.m_##customPrefix##_##functionName.callChain(&className::functionName##_OrigFunc, this, __VA_ARGS__);\ } #define LINK_HOOK_CLASS_CUSTOM_CHAIN2(ret, className, customPrefix, functionName)\ ret className::functionName() {\ - return g_ReGameHookchains.m_##customPrefix##_##functionName.callChain(&className::functionName##_, this);\ + return g_ReGameHookchains.m_##customPrefix##_##functionName.callChain(&className::functionName##_OrigFunc, this);\ } #define LINK_HOOK_VOID_CHAIN(functionName, args, ...)\ void functionName args {\ - g_ReGameHookchains.m_##functionName.callChain(functionName##_, __VA_ARGS__);\ + g_ReGameHookchains.m_##functionName.callChain(functionName##_OrigFunc, __VA_ARGS__);\ } #define LINK_HOOK_CHAIN(ret, functionName, args, ...)\ ret functionName args {\ - return g_ReGameHookchains.m_##functionName.callChain(functionName##_, __VA_ARGS__);\ + return g_ReGameHookchains.m_##functionName.callChain(functionName##_OrigFunc, __VA_ARGS__);\ } #define LINK_HOOK_VOID_CHAIN2(functionName)\ void functionName() {\ - g_ReGameHookchains.m_##functionName.callChain(functionName##_);\ + g_ReGameHookchains.m_##functionName.callChain(functionName##_OrigFunc);\ } #define LINK_HOOK_CHAIN2(ret, functionName)\ ret functionName() {\ - return g_ReGameHookchains.m_##functionName.callChain(functionName##_);\ + return g_ReGameHookchains.m_##functionName.callChain(functionName##_OrigFunc);\ } #else -#define __API_VHOOK(fname)\ - fname - -#define __API_HOOK __API_VHOOK -#define __MAKE_VHOOK(fname)\ +#define __API_HOOK(fname)\ fname #define LINK_HOOK_CLASS_VOID_CHAIN(...) diff --git a/regamedll/unittests/animation_tests.cpp b/regamedll/unittests/animation_tests.cpp index 43c00c91..5a1bf22c 100644 --- a/regamedll/unittests/animation_tests.cpp +++ b/regamedll/unittests/animation_tests.cpp @@ -19,7 +19,7 @@ TEST(AngleQuaternion, AnimationFuncs, 10000) { }; for (int i = 0; i < ARRAYSIZE(testdata); i++) { - vec3_t a = { testdata[i].angles[0] * 2.0 / M_PI, testdata[i].angles[1] * 2.0 / M_PI, testdata[i].angles[2] * 2.0 / M_PI, }; + vec3_t a = { testdata[i].angles[0] * 2.0f / float(M_PI), testdata[i].angles[1] * 2.0f / float(M_PI), testdata[i].angles[2] * 2.0f / float(M_PI), }; vec4_t q; AngleQuaternion(a, q); diff --git a/shared_icc.gradle b/shared_icc.gradle index c2e47fc2..4399458c 100644 --- a/shared_icc.gradle +++ b/shared_icc.gradle @@ -16,13 +16,17 @@ rootProject.ext.createIccConfig = { boolean release, BinaryKind binKind -> intelExtensions: false, asmBlocks: true, - positionIndependentCode: false + positionIndependentCode: false, + + extraDefines: [ + '_GLIBCXX_USE_CXX11_ABI': 0, // don't use specific c++11 features from GCC 5.X for backward compatibility to earlier version ABI libstdc++.so.6 + ] ), linkerOptions: new GccToolchainConfig.LinkerOptions( interProceduralOptimizations: true, // -ipo stripSymbolTable: true, staticLibStdCpp: false, - staticLibGcc: true, + staticLibGcc: false, staticIntel: true, ), librarianOptions: new GccToolchainConfig.LibrarianOptions( @@ -41,14 +45,15 @@ rootProject.ext.createIccConfig = { boolean release, BinaryKind binKind -> asmBlocks: true, extraDefines: [ - '_ITERATOR_DEBUG_LEVEL': 0, // for std::list, disable debug iterator in debug mode + '_ITERATOR_DEBUG_LEVEL': 0, // for std::list, disable debug iterator in debug mode + '_GLIBCXX_USE_CXX11_ABI': 0, // don't use specific c++11 features from GCC 5.X for backward compatibility to earlier version ABI libstdc++.so.6 ] ), linkerOptions: new GccToolchainConfig.LinkerOptions( interProceduralOptimizations: false, stripSymbolTable: false, staticLibStdCpp: false, - staticLibGcc: true, + staticLibGcc: false, staticIntel: true, ), librarianOptions: new GccToolchainConfig.LibrarianOptions(