Codechange: replace InjectDParam/ShiftParameters by setting the right parameter values in the first place

This commit is contained in:
rubidium42
2021-07-03 08:03:33 +02:00
committed by rubidium42
parent 1d9912134d
commit 979783f90e
4 changed files with 13 additions and 36 deletions

View File

@@ -122,8 +122,6 @@ public:
return (int32)this->GetInt64(type);
}
void ShiftParameters(uint amount);
/** Get a pointer to the current element in the data array. */
uint64 *GetDataPointer() const
{
@@ -179,8 +177,6 @@ const char *GetStringPtr(StringID string);
uint ConvertKmhishSpeedToDisplaySpeed(uint speed);
uint ConvertDisplaySpeedToKmhishSpeed(uint speed);
void InjectDParam(uint amount);
/**
* Set a string parameter \a v at index \a n in a given array \a s.
* @param s Array of string parameters.