Permalink
Browse files

Mark old Info functions as deprecated

  • Loading branch information...
mbasaglia committed Nov 11, 2015
1 parent c211fc4 commit f768523ad418a78f8ee0f44b452e970990eb9f83
@@ -82,6 +82,7 @@ namespace Cvar {
// Used by the C API
cvar_t* FindCCvar(const std::string& cvarName);
std::string GetCvarConfigText();
// DEPRECATED: Use PopulateInfoMap
char* InfoString(int flag, bool big);
void PopulateInfoMap(int flag, InfoMap& map);
void SetValueCProxy(const std::string& cvarName, std::string value);
@@ -1651,12 +1651,19 @@ void ByteToDir( int b, vec3_t dir );
*/
InfoMap InfoStringToMap( const std::string& string );
// DEPRECATED: Use InfoMap
const char *Info_ValueForKey( const char *s, const char *key );
// DEPRECATED: Use InfoMap
void Info_RemoveKey( char *s, const char *key , bool big );
// DEPRECATED: Use InfoMap
void Info_RemoveKey_big( char *s, const char *key );
// DEPRECATED: Use InfoMap
void Info_SetValueForKey( char *s, const char *key, const char *value , bool big );
// DEPRECATED: Use InfoMap
void Info_SetValueForKeyRocket( char *s, const char *key, const char *value, bool big );
// DEPRECATED: Use InfoMap
bool Info_Validate( const char *s );
// DEPRECATED: Use InfoMap
void Info_NextPair( const char **s, char *key, char *value );
//=============================================
@@ -622,6 +622,7 @@ MISC
// centralized and cleaned, that's the max string you can send to a Com_Printf / Com_DPrintf (above gets truncated)
#define MAXPRINTMSG 4096
// DEPRECATED: Use InfoMap
void Info_Print( const char *s );
// *INDENT-OFF*

0 comments on commit f768523

Please sign in to comment.