From f8abf2b8ec3357e17aa427c9a0de1092f960e9fc Mon Sep 17 00:00:00 2001 From: momo5502 Date: Thu, 29 Dec 2016 15:59:46 +0100 Subject: [PATCH] [Functions] Add Vec3UnpackUnitVec --- src/Game/Functions.cpp | 2 ++ src/Game/Functions.hpp | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/Game/Functions.cpp b/src/Game/Functions.cpp index beec05aa..5ee3cfbd 100644 --- a/src/Game/Functions.cpp +++ b/src/Game/Functions.cpp @@ -248,6 +248,8 @@ namespace Game Win_GetLanguage_t Win_GetLanguage = (Win_GetLanguage_t)0x45CBA0; + Vec3UnpackUnitVec_t Vec3UnpackUnitVec = (Vec3UnpackUnitVec_t)0x45CA90; + XAssetHeader* DB_XAssetPool = (XAssetHeader*)0x7998A8; unsigned int* g_poolSize = (unsigned int*)0x7995E8; diff --git a/src/Game/Functions.hpp b/src/Game/Functions.hpp index 462f8441..c72bb8cc 100644 --- a/src/Game/Functions.hpp +++ b/src/Game/Functions.hpp @@ -584,6 +584,9 @@ namespace Game typedef const char * (__cdecl * Win_GetLanguage_t)(); extern Win_GetLanguage_t Win_GetLanguage; + typedef void (__cdecl * Vec3UnpackUnitVec_t)(PackedUnitVec, vec3_t *); + extern Vec3UnpackUnitVec_t Vec3UnpackUnitVec; + extern XAssetHeader* DB_XAssetPool; extern unsigned int* g_poolSize;