trace_plugin/engine_api_post.h
branchB-work
changeset 47 3bf8ea9ab02d
parent 0 d15304fcb7a7
child 185 a48b3f190639
     1.1 --- a/trace_plugin/engine_api_post.h	Sat May 29 23:08:59 2004 +0000
     1.2 +++ b/trace_plugin/engine_api_post.h	Sat May 29 23:14:59 2004 +0000
     1.3 @@ -118,9 +118,17 @@
     1.4  extern void CVarSetString_Post(const char *szVarName, const char *szValue);
     1.5  
     1.6  extern void AlertMessage_Post(ALERT_TYPE atype, char *szFmt, ...);
     1.7 +#ifdef HLSDK_3_2_OLD_EIFACE
     1.8  extern void EngineFprintf_Post(FILE *pfile, char *szFmt, ...);
     1.9 +#else
    1.10 +extern void EngineFprintf_Post(void *pfile, char *szFmt, ...);
    1.11 +#endif
    1.12  
    1.13 +#ifdef HLSDK_3_2_OLD_EIFACE
    1.14  extern void *PvAllocEntPrivateData_Post(edict_t *pEdict, long cb);
    1.15 +#else
    1.16 +extern void *PvAllocEntPrivateData_Post(edict_t *pEdict, int32 cb);
    1.17 +#endif
    1.18  extern void *PvEntPrivateData_Post(edict_t *pEdict);
    1.19  extern void FreeEntPrivateData_Post(edict_t *pEdict);
    1.20  
    1.21 @@ -140,8 +148,13 @@
    1.22  extern void AnimationAutomove_Post(const edict_t *pEdict, float flTime);
    1.23  extern void GetBonePosition_Post(const edict_t *pEdict, int iBone, float *rgflOrigin, float *rgflAngles );
    1.24  
    1.25 +#ifdef HLSDK_3_2_OLD_EIFACE
    1.26  extern unsigned long FunctionFromName_Post( const char *pName );
    1.27  extern const char *NameForFunction_Post( unsigned long function );
    1.28 +#else
    1.29 +extern uint32 FunctionFromName_Post( const char *pName );
    1.30 +extern const char *NameForFunction_Post( uint32 function );
    1.31 +#endif
    1.32  
    1.33  extern void ClientPrintf_Post( edict_t *pEdict, PRINT_TYPE ptype, const char *szMsg ); //! JOHN: engine callbacks so game DLL can print messages to individual clients
    1.34  extern void ServerPrint_Post( const char *szMsg );
    1.35 @@ -157,7 +170,11 @@
    1.36  extern void CRC32_ProcessByte_Post(CRC32_t *pulCRC, unsigned char ch);
    1.37  extern CRC32_t CRC32_Final_Post(CRC32_t pulCRC);
    1.38  
    1.39 +#ifdef HLSDK_3_2_OLD_EIFACE
    1.40  extern long RandomLong_Post(long lLow, long lHigh);
    1.41 +#else
    1.42 +extern int32 RandomLong_Post(int32 lLow, int32 lHigh);
    1.43 +#endif
    1.44  extern float RandomFloat_Post(float flLow, float flHigh);
    1.45  
    1.46  extern void SetView_Post(const edict_t *pClient, const edict_t *pViewent );
    1.47 @@ -234,8 +251,8 @@
    1.48  extern const char *GetPlayerAuthId(edict_t *e);
    1.49  
    1.50  // Added 2003/11/10 (no SDK update):
    1.51 -extern void *SequenceGet(const char* fileName, const char* entryName);
    1.52 -extern void *SequencePickSentence(const char* groupName, int pickMethod, int *picked);
    1.53 +extern sequenceEntry_s *SequenceGet(const char* fileName, const char* entryName);
    1.54 +extern sentenceEntry_s *SequencePickSentence(const char* groupName, int pickMethod, int *picked);
    1.55  extern int GetFileSize(char *filename);
    1.56  extern unsigned int GetApproxWavePlayLen(const char *filepath);
    1.57  extern int IsCareerMatch(void);