@@ -376,7 +376,7 @@ struct GSConfigWindow : public Window {
|
||||
void OnQueryTextFinished(char *str) override
|
||||
{
|
||||
if (StrEmpty(str)) return;
|
||||
int32 value = atoi(str);
|
||||
int32_t value = atoi(str);
|
||||
SetValue(value);
|
||||
}
|
||||
|
||||
|
@@ -88,7 +88,7 @@ void GameInstance::Died()
|
||||
* @param p3 p3 as given to DoCommandPInternal.
|
||||
* @param cmd cmd as given to DoCommandPInternal.
|
||||
*/
|
||||
void CcGame(const CommandCost &result, TileIndex tile, uint32 p1, uint32 p2, uint64 p3, uint32 cmd)
|
||||
void CcGame(const CommandCost &result, TileIndex tile, uint32_t p1, uint32_t p2, uint64_t p3, uint32_t cmd)
|
||||
{
|
||||
if (Game::GetGameInstance()->DoCommandCallback(result, tile, p1, p2, p3, cmd)) {
|
||||
Game::GetGameInstance()->Continue();
|
||||
|
@@ -18,9 +18,9 @@ struct StringParam {
|
||||
};
|
||||
|
||||
ParamType type;
|
||||
uint8 consumes;
|
||||
uint8_t consumes;
|
||||
|
||||
StringParam(ParamType type, uint8 consumes) : type(type), consumes(consumes) {}
|
||||
StringParam(ParamType type, uint8_t consumes) : type(type), consumes(consumes) {}
|
||||
};
|
||||
using StringParams = std::vector<StringParam>;
|
||||
using StringParamsList = std::vector<StringParams>;
|
||||
|
Reference in New Issue
Block a user