mirror of https://github.com/OpenRCT2/OpenRCT2.git
Make `scale` a float
There's no problem in `scale` being a floating point value, however, since it's only NN scaling so far, it looks best for integer values
This commit is contained in:
parent
681723869f
commit
6e63519bce
|
@ -197,7 +197,7 @@ config_property_definition _generalDefinitions[] = {
|
|||
{ offsetof(general_configuration, upper_case_banners), "upper_case_banners", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL },
|
||||
{ offsetof(general_configuration, allow_loading_with_incorrect_checksum),"allow_loading_with_incorrect_checksum", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL },
|
||||
{ offsetof(general_configuration, steam_overlay_pause), "steam_overlay_pause", CONFIG_VALUE_TYPE_BOOLEAN, true, NULL },
|
||||
{ offsetof(general_configuration, scale), "scale", CONFIG_VALUE_TYPE_SINT8, 1, NULL },
|
||||
{ offsetof(general_configuration, scale), "scale", CONFIG_VALUE_TYPE_FLOAT, 1.0f, NULL },
|
||||
};
|
||||
|
||||
config_property_definition _interfaceDefinitions[] = {
|
||||
|
|
|
@ -167,7 +167,7 @@ typedef struct {
|
|||
uint8 upper_case_banners;
|
||||
uint8 allow_loading_with_incorrect_checksum;
|
||||
uint8 steam_overlay_pause;
|
||||
sint8 scale;
|
||||
float scale;
|
||||
} general_configuration;
|
||||
|
||||
typedef struct {
|
||||
|
|
Loading…
Reference in New Issue