diff --git a/src/strings_func.h b/src/strings_func.h --- a/src/strings_func.h +++ b/src/strings_func.h @@ -11,8 +11,6 @@ char *InlineString(char *buf, StringID s char *GetString(char *buffr, StringID string, const char *last); const char *GetStringPtr(StringID string); -extern char _userstring[128]; - void InjectDParam(int amount); static inline void SetDParamX(uint64 *s, uint n, uint64 v) @@ -28,16 +26,8 @@ static inline void SetDParam(uint n, uin _decode_parameters[n] = v; } -/* Used to bind a C string name to a dparam number. - * NOTE: This has a short lifetime. You can't - * use this string much later or it will be gone. */ void SetDParamStr(uint n, const char *str); -/** This function takes a C-string and allocates a temporary string ID. - * The duration of the bound string is valid only until the next call to GetString, - * so be careful. */ -StringID BindCString(const char *str); - static inline uint64 GetDParamX(const uint64 *s, uint n) { return s[n];