Binary-compatible const char fixes to support newer compilers.
authorDavid Anderson <dvander@alliedmods.net>
Sat Feb 02 21:55:56 2013 -0800 (2013-02-02)
changeset 44434434b399f
parent 3 0ef753efd252
child 5 b1abd5d0c860
Binary-compatible const char fixes to support newer compilers.
multiplayer/engine/eiface.h
     1.1 --- a/multiplayer/engine/eiface.h	Sat Feb 02 21:55:29 2013 -0800
     1.2 +++ b/multiplayer/engine/eiface.h	Sat Feb 02 21:55:56 2013 -0800
     1.3 @@ -145,7 +145,7 @@
     1.4  	void		(*pfnGetAimVector)			(edict_t* ent, float speed, float *rgflReturn);
     1.5  	void		(*pfnServerCommand)			(char* str);
     1.6  	void		(*pfnServerExecute)			(void);
     1.7 -	void		(*pfnClientCommand)			(edict_t* pEdict, char* szFmt, ...);
     1.8 +	void		(*pfnClientCommand)			(edict_t* pEdict, const char* szFmt, ...);
     1.9  	void		(*pfnParticleEffect)		(const float *org, const float *dir, float color, float count);
    1.10  	void		(*pfnLightStyle)			(int style, char* val);
    1.11  	int			(*pfnDecalIndex)			(const char *name);
    1.12 @@ -165,7 +165,7 @@
    1.13  	const char*	(*pfnCVarGetString)			(const char *szVarName);
    1.14  	void		(*pfnCVarSetFloat)			(const char *szVarName, float flValue);
    1.15  	void		(*pfnCVarSetString)			(const char *szVarName, const char *szValue);
    1.16 -	void		(*pfnAlertMessage)			(ALERT_TYPE atype, char *szFmt, ...);
    1.17 +	void		(*pfnAlertMessage)			(ALERT_TYPE atype, const char *szFmt, ...);
    1.18  	void		(*pfnEngineFprintf)			(void *pfile, char *szFmt, ...);
    1.19  	void*		(*pfnPvAllocEntPrivateData)	(edict_t *pEdict, int32 cb);
    1.20  	void*		(*pfnPvEntPrivateData)		(edict_t *pEdict);