11-08-2011, 12:39
PHP Code:
RegisterFont = 0x4105F0
RegisterShader = 0x481620
DrawStretchPicFlipSt = 0x537B30
DrawText = 0x52CAD0
WritePacket = 0x490B40
GetTagPos = 0x569510
CG_Trace = 0x48A8C0
TraceFlag = 0x803003
RefDef = 0x967184;
EntitiesStruct = 0xA05530
EntitiesSize= 0x1F8
ClientInfo = 0x9F9648
ClientInfoSize= 0x560
struct trace_t
{
float fraction;
char szUnknown0[44];
}; //size 0x2C
class CRefDef
{
public:
char unknown0[8]; //0x0000
__int32 x; //0x0008
__int32 y; //0x000C
float fov_x; //0x0010
float fov_y; //0x0014
vec3_t Location; //0x0018
vec3_t ViewAxis[3]; //0x0024
char unknown72[24]; //0x0048
__int32 iMenu; //0x0060
};
PHP Code:
bool __cdecl sub_514820 //engine w2s
int __cdecl sub_52CAD0(int a1, int a2, int a3, float a4, float a5, float a6, float a7, float a8, int a9, int a10) //drawtext
int __cdecl sub_44B5F0(int a1);//registerfont
PHP Code:
enum eTypes
{
ET_GENERAL,
ET_PLAYER,
ET_PLAYER_CORPSE,
ET_ITEM,
ET_MISSILE,
ET_INVISIBLE,
ET_SCRIPTMOVER,
ET_SOUND_BLEND,
ET_FX,
ET_LOOP_FX,
ET_PRIMARY_LIGHT,
ET_TURRET,
ET_HELICOPTER,
ET_PLANE,
ET_VEHICLE,
ET_VEHICLE_COLLMAP,
ET_VEHICLE_CORPSE,
ET_VEHICLE_SPAWNER,
};
PHP Code:
Offset_Entities = 0xA05530;
Offset_ViewMatrix = 0x10606CC;
Offset_RefDef = 0x967184;
RegisterTag = 0x498570;
GetPlayerTag = 0x569510;
CG_Trace = 0x48A8C0;
isEntityVisible = 0x432F90;
Credits:
caardow
Poink
Tom M