We need hook "GL_LoadTexture" engine function. GL_LOADTEXTURE_SIG from hw.dll(3266) engine, can not use for other engine version. #include <metahook.h> #include "qgl.h" #include "surface.h" extern DWORD g_dwEngineBase,…
If you want to play Bink video in game, maybe you need this code. QBink.h #ifndef QBINK_H #define QBINK_H #include "bink.h" extern void PTR4* (RADEXPLINK *qBinkLogoAddress)(void); extern void (RADEXPLINK *qBinkSetError)(const char PTR4* err); ex…