tron@1309: #ifndef STRINGS_H tron@1309: #define STRINGS_H tron@1309: tron@1553: static inline char* InlineString(char* buf, uint16 string) tron@1553: { tron@1553: *buf++ = '\x81'; tron@1553: *buf++ = string & 0xFF; tron@1553: *buf++ = string >> 8; tron@1553: return buf; tron@1553: } tron@1553: tron@1312: char *GetString(char *buffr, uint16 string); tron@1309: tron@1309: void InjectDParam(int amount); tron@1309: tron@1309: int32 GetParamInt32(void); tron@1309: int GetParamInt16(void); tron@1309: int GetParamInt8(void); tron@1309: int GetParamUint16(void); tron@1309: tron@1309: uint GetCurrentCurrencyRate(void); tron@1309: tron@1309: #endif