src/strings.cpp
changeset 10197 fa185196aef1
parent 10135 21b4050a479b
child 10207 c291a21b304e
equal deleted inserted replaced
10196:889b923bbb96 10197:fa185196aef1
   189 void SetDParamStr(uint n, const char *str)
   189 void SetDParamStr(uint n, const char *str)
   190 {
   190 {
   191 	SetDParam(n, (uint64)(size_t)str);
   191 	SetDParam(n, (uint64)(size_t)str);
   192 }
   192 }
   193 
   193 
   194 void InjectDParam(int amount)
   194 void InjectDParam(uint amount)
   195 {
   195 {
       
   196 	assert((uint)amount < lengthof(_decode_parameters));
   196 	memmove(_decode_parameters + amount, _decode_parameters, sizeof(_decode_parameters) - amount * sizeof(uint64));
   197 	memmove(_decode_parameters + amount, _decode_parameters, sizeof(_decode_parameters) - amount * sizeof(uint64));
   197 }
   198 }
   198 
   199 
   199 // TODO
   200 // TODO
   200 static char *FormatCommaNumber(char *buff, int64 number, const char *last)
   201 static char *FormatCommaNumber(char *buff, int64 number, const char *last)