OBS_FIRST_PERSON, // Following the player's view in first-person. OBS_FIXED, // From a camera placed in the map. OBS_FREEZECAME, // Get killed by someone, you zoom in on them. OBS_DEATHCAM, // Not sure what this is, but it's here. Return getvfunc( this, 8 )( this ) //Return the pointer to the head CClientClass. You can also call them as _stdcalls, but you won't have access to the _thisptr. Typedef ClientClass* ( _thiscall* OriginalFn )( PVOID ) //Anything inside a VTable is a _thiscall unless it completly disregards the thisptr. Int m_WritableBones // Which bones can be written. Int m_ReadableBones // Which bones can be read. Void SetBoneArrayForWrite(matrix3x4* pBoneArray) _asm mov eax, esi // asm("mov eax, esi") # define FL_ONGROUND ( 1 inline T get_SI() # define GetBaseEntity gInts.EntList->GetClientEntity # define me gInts.Engine-> GetLocalPlayer() # define IMPORT( DLL, FUNC) GetProcAddress(GetModuleHandle(DLL), FUNC) # define streql( x,y) strcmp( (x), (y) ) = 0
Typedef void* (*CreateInterfaceFn)( const char *pName, int *pReturnCode) Typedef void* ( _cdecl* CreateInterface_t )( const char*, int* ) # pragma warning( disable : 4244 ) //Possible loss of data