1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 07:14:31 +01:00

Introduce Limits headers. (#15329)

* Move RCT12 limits to seperate file and namespace

* Remove prefix from constants

* Add rct1 limits file

* Rename constants to remove prefix

* Add RCT2 limits file

* Remove RCT2 prefix from constants

* Move constant to correct header

* Fix rebase mistakes

* Drop prefix
This commit is contained in:
Duncan
2021-11-27 16:20:05 +00:00
committed by GitHub
parent bcb527d331
commit eba42a9584
25 changed files with 490 additions and 433 deletions

View File

@@ -397,7 +397,7 @@ void game_convert_strings_to_rct2(rct_s6_data* s6)
{
if (!str_is_null_or_empty(userString))
{
utf8_to_rct2_self(userString, RCT12_USER_STRING_MAX_LENGTH);
utf8_to_rct2_self(userString, RCT12::Limits::MaxUserStringLength);
}
}
}