Commit Graph

22746 Commits

Author SHA1 Message Date
Michael Steenbeek f43a4344ce
Remove platform_get_user_directory() (#16530) 2022-01-29 09:01:05 -03:00
OpenRCT2 git bot df77222390 Merge Localisation/master into OpenRCT2/develop 2022-01-29 04:08:33 +00:00
Michael Steenbeek 14374478a7
Use u8string_view in CSG functions (#16532) 2022-01-28 23:57:31 -03:00
Tulio Leao e0da662ff5
Merge pull request #16482 from AtkinsSJ/news-options-window 2022-01-28 23:54:26 -03:00
Michael Steenbeek 723401612f
Merge pull request #16521 from Gymnasiast/refactor/path-u8string
Use u8string in Path/File; replace Path::Append with Path::Combine
2022-01-28 22:39:36 +01:00
Gymnasiast 3ea0e2fea2
Remove no-longer-needed ifdef 2022-01-28 22:14:53 +01:00
Gymnasiast f8c74fe2f8
Use u8string in Path/File; replace Path::Append with Path::Combine 2022-01-28 21:52:44 +01:00
Sam Atkins f4dfde39e7 Refactor NewsOptions as a Window subclass
Closes #13789.
2022-01-28 12:08:57 +00:00
Sam Atkins b2a1c72867 Add Window::InitScrollWidgets()
This is just a wrapper around WindowInitScrollWidgets(), but better
matches the code style.
2022-01-28 12:08:57 +00:00
Michael Steenbeek 149b164ee8
Use u8string for custom paths 2022-01-27 14:21:46 +01:00
Michael Steenbeek 2c8c940caa
Refactor get_file_extension_type() 2022-01-27 11:14:19 +00:00
Michael Steenbeek 3359dc4509
Merge pull request #16518 from Gymnasiast/refactor/absolute-path
Clean up Path::GetAbsolute and platform_get_absolute_path()
2022-01-27 11:38:55 +01:00
Michael Steenbeek 46abcda068
Make File/Path calls more robust 2022-01-27 00:33:17 +01:00
Michael Steenbeek 3752a5ab05
Merge pull request #16490 from Gymnasiast/fix/16363
Close #16363: Allow listing .DAT files in JSON scenery groups
2022-01-26 17:13:35 +01:00
Gymnasiast f7adac3de2
Replace Platform::GetAbsolutePath() with fs:: equivalent 2022-01-26 15:19:15 +01:00
Gymnasiast d7dcffbee8
Remove C string overload for Path::GetAbsolute() 2022-01-26 14:54:49 +01:00
Gymnasiast 0577497c32
Remove platform_get_absolute_path() 2022-01-26 14:47:45 +01:00
OpenRCT2 git bot 79eca16ad4 Merge Localisation/master into OpenRCT2/develop 2022-01-26 04:09:02 +00:00
Hielke Morsink 5dd01f5511
Remove unused includes 2022-01-26 00:09:57 +01:00
Michael Steenbeek 9f74c7081b
Create definitions for u8string and u8string_view 2022-01-25 16:41:45 +01:00
Michael Steenbeek 28b10f6787
Merge pull request #16498 from Gymnasiast/remove/scaling-dropdown
Always use SNN for non-integer scaling
2022-01-25 10:55:17 +01:00
Michael Steenbeek c903d95512
Replace platform_open_directory_browser() with ShowDirectoryDialog() 2022-01-25 10:54:12 +01:00
Duncan 98fa424e7b
Merge pull request #16503 from Gymnasiast/refactor/replace-path-get-extension
Replace path_get_extension() with Path::GetExtension()
2022-01-25 08:35:38 +00:00
Duncan 6eec7b8d48
Merge pull request #16472 from duncanspumpkin/editor
Refactor Editor Object Selection Flags
2022-01-25 07:43:39 +00:00
OpenRCT2 git bot 9a37b31306 Merge Localisation/master into OpenRCT2/develop 2022-01-25 04:08:57 +00:00
Gymnasiast 8ba0c7d1ee
Replace path_get_extension() with Path::GetExtension() 2022-01-24 23:40:37 +01:00
Michael Steenbeek a2ad00f0b8
Merge pull request #16500 from Gymnasiast/remove-unused
Remove 3 unused functions
2022-01-24 23:32:58 +01:00
Gymnasiast fd0788fc7f
Remove MAX_ZLIB_REALLOC 2022-01-24 23:12:29 +01:00
Gymnasiast 615c07977d
Remove util_zlib_deflate() 2022-01-24 23:12:22 +01:00
Gymnasiast 93f3e94b3f
Remove util_zlib_inflate() 2022-01-24 23:12:14 +01:00
Gymnasiast 0a46a960de
Remove utf8_is_bom() 2022-01-24 23:12:08 +01:00
Michael Steenbeek 4192fc5cc8
Fix leftover references to SC6 2022-01-24 20:03:20 +01:00
Gymnasiast 2c7d0a6dd4
Fix spelling of ‘colour’ in changelog [ci skip] 2022-01-24 18:09:45 +01:00
Gymnasiast 3bcd53daf9
Fix typo in changelog [ci skip] 2022-01-24 18:08:32 +01:00
Gymnasiast 9191a8f884
Fix positioning of Steam overlay option 2022-01-24 17:48:05 +01:00
Gymnasiast 98cd39a375
Always use SNN for non-integer scaling 2022-01-24 17:46:22 +01:00
Gymnasiast a16d548b69
Clean up rct_object_entry creation code 2022-01-24 12:30:22 +01:00
Silent 4172f3eb4e
Close #16493: Boat Hide and Submarine Ride have odd support costs 2022-01-24 11:40:29 +01:00
Michael Steenbeek c5654de8aa
Merge pull request #16491 from Gymnasiast/refactor/name-sub_68B3FB
Rename sub_68B3FB to PaintTileElementBase
2022-01-23 15:41:18 +01:00
Gymnasiast 9228cde8cd
Add comments to explain the numbers 2022-01-23 15:40:37 +01:00
Gymnasiast b1637e1199
Use IReadObjectContext for error log 2022-01-23 15:40:08 +01:00
Gymnasiast 202999a8b4
Pass CoordsXY into PaintTileElementBase 2022-01-23 14:53:03 +01:00
Gymnasiast 573a28f835
Rename sub_68B3FB to PaintTileElementBase 2022-01-23 14:50:16 +01:00
Gymnasiast 7c68cf96e5
Close #16363: Allow listing .DAT files in JSON scenery groups 2022-01-23 14:37:13 +01:00
Michael Steenbeek a6042b8903
Merge pull request #16153 from IntelOrca/embed-duktape
Resolve #14259: Embed our own duktape library
2022-01-23 13:45:42 +01:00
GalBr 85a1e96f94
Change glyphOffset type to uint32_t (#16481)
This variable used to be uint32_t before a refactor, but was changed to
auto, which means it's uint8_t. The offset calculation in this function
can cause an overflow with uint8_t, which causes the wrong character to
be printed on the sign.
2022-01-22 17:36:28 +01:00
Ted John 7fd780e758 Disable warnings for duktape in vcxproj 2022-01-22 10:35:37 +00:00
Duncan b3bae9429c
Fix #16427. Actually copy banners when using tile inspector (#16450) 2022-01-22 08:22:46 +00:00
OpenRCT2 git bot 131763143d Merge Localisation/master into OpenRCT2/develop 2022-01-22 04:08:35 +00:00
OpenRCT2 git bot e503603018 Merge Localisation/master into OpenRCT2/develop 2022-01-21 04:09:04 +00:00