Codechange: rename byte to uint8_t (#12308)
This commit is contained in:
@@ -32,7 +32,7 @@ struct RailTypeScopeResolver : public ScopeResolver {
|
||||
}
|
||||
|
||||
uint32_t GetRandomBits() const override;
|
||||
uint32_t GetVariable(byte variable, [[maybe_unused]] uint32_t parameter, bool *available) const override;
|
||||
uint32_t GetVariable(uint8_t variable, [[maybe_unused]] uint32_t parameter, bool *available) const override;
|
||||
};
|
||||
|
||||
/** Resolver object for rail types. */
|
||||
@@ -41,7 +41,7 @@ struct RailTypeResolverObject : public ResolverObject {
|
||||
|
||||
RailTypeResolverObject(const RailTypeInfo *rti, TileIndex tile, TileContext context, RailTypeSpriteGroup rtsg, uint32_t param1 = 0, uint32_t param2 = 0);
|
||||
|
||||
ScopeResolver *GetScope(VarSpriteGroupScope scope = VSG_SCOPE_SELF, byte relative = 0) override
|
||||
ScopeResolver *GetScope(VarSpriteGroupScope scope = VSG_SCOPE_SELF, uint8_t relative = 0) override
|
||||
{
|
||||
switch (scope) {
|
||||
case VSG_SCOPE_SELF: return &this->railtype_scope;
|
||||
|
||||
Reference in New Issue
Block a user