--- ./multiplayer/engine/eiface.h.orig Sat May 29 19:10:21 2004 +++ ./multiplayer/engine/eiface.h Wed May 15 21:44:56 2013 @@ -275,7 +275,7 @@ // LH: Give access to filesize via filesystem int (*pfnGetFileSize) ( char *filename ); - unsigned int (*pfnGetApproxWavePlayLen) (const char *filepath); + unsigned int (*pfnGetApproxWavePlayLen) (const char *filepath); // MDC: Added for CZ career-mode int (*pfnIsCareerMatch) ( void ); @@ -285,11 +285,14 @@ // BGC: added to facilitate persistent storage of tutor message decay values for // different career game profiles. Also needs to persist regardless of mp.dll being // destroyed and recreated. - void (*pfnRegisterTutorMessageShown) (int mid); - int (*pfnGetTimesTutorMessageShown) (int mid); - void (*pfnProcessTutorMessageDecayBuffer) (int *buffer, int bufferLength); - void (*pfnConstructTutorMessageDecayBuffer) (int *buffer, int bufferLength); - void (*pfnResetTutorMessageDecayData) ( void ); + void (*pfnRegisterTutorMessageShown) (int mid); + int (*pfnGetTimesTutorMessageShown) (int mid); + void (*pfnProcessTutorMessageDecayBuffer) (int *buffer, int bufferLength); + void (*pfnConstructTutorMessageDecayBuffer) (int *buffer, int bufferLength); + void (*pfnResetTutorMessageDecayData) ( void ); + void (*pfnQueryClientCvarValue) ( const edict_t *player, const char *cvarName ); + void (*pfnQueryClientCvarValue2) ( const edict_t *player, const char *cvarName, int requestID ); + int (*pfnEngCheckParm) ( const char *pchCmdLineToken, char **pchNextVal ); } enginefuncs_t; @@ -512,6 +515,8 @@ void (*pfnOnFreeEntPrivateData)(edict_t *pEnt); void (*pfnGameShutdown)(void); int (*pfnShouldCollide)( edict_t *pentTouched, edict_t *pentOther ); + void (*pfnCvarValue)( const edict_t *pEnt, const char *value ); + void (*pfnCvarValue2)( const edict_t *pEnt, int requestID, const char *cvarName, const char *value ); } NEW_DLL_FUNCTIONS; typedef int (*NEW_DLL_FUNCTIONS_FN)( NEW_DLL_FUNCTIONS *pFunctionTable, int *interfaceVersion ); @@ -521,4 +526,4 @@ typedef int (*APIFUNCTION)( DLL_FUNCTIONS *pFunctionTable, int interfaceVersion ); typedef int (*APIFUNCTION2)( DLL_FUNCTIONS *pFunctionTable, int *interfaceVersion ); -#endif EIFACE_H +#endif /* EIFACE_H */