Matthias Moninger
14f007c049
Merge pull request #20489 from ZehMatt/code-overhaul
...
Remove TestPaint and remove benchmark code
2023-07-05 01:55:46 +03:00
Matthias Moninger
379287ed0f
Remove legacy stuff in common.h ( #20523 )
...
* Remove old interop macro
* Remove legacy string macro things
* Unbreak the posix/linux/unix builds
* Add String::IEquals and use it for case insensitive compare
* Add missing include for posix
* Replace _strnicmp with String::StartsWith
* Add LoByte and HiByte into Util.h, swap macros
* Fix android build
* Hopefully last of the string things
* Replace STUB directly with the warning
2023-07-02 12:59:20 +03:00
ζeh Matt
d61ce4e38c
Remove BenchGfx
2023-06-30 16:37:11 +03:00
ζeh Matt
ac583569da
Remove Platform::CoreInit
2023-06-27 23:35:11 +03:00
Silent
c4b70358c8
More MAX_PATH removals ( #20113 )
...
* Refactor FileScanner to lift a MAX_PATH limit
* Replace Platform::EnsureDirectoryExists with Path::CreateDirectory
* Remove MAX_PATH from Platform.Posix.cpp
2023-05-09 20:08:46 +01:00
Gymnasiast
16c5c1b752
Use dpi ref in interface folder
2023-04-11 22:57:25 +01:00
Gymnasiast
fd4c9a7b9d
Close #19176 , close #19273 : Consistent “CmdLine” naming
2023-02-23 00:03:30 +01:00
Duncan
e09f27df3c
Rename snake_case Class names (Remaining Bits) ( #19237 )
...
* Rename snake_case Class names
* Clang format
* Fix build issues
2023-01-21 19:57:17 +00:00
Duncan
9deed6d98a
Replace snakes in Class names OpenRCT2/N*-P* ( #19227 )
...
* Replace snakes in Class names OpenRCT2/N*-P*
* Rename PODDate (and TimeOfDay for good measure)
Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com >
2023-01-20 05:24:44 +00:00
Duncan
859b071ddc
Rename classes with snakes OpenRCT2/A*-F* ( #19215 )
...
* Rename classes with snakes OpenRCT2/A*-F*
* Clang format files
2023-01-19 08:16:44 +00:00
Hielke Morsink
6b7dc8fcdb
Rename snake_case functions in openrct2/src folder
...
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk >
2023-01-17 13:24:51 +01:00
Michael Steenbeek
bf5f7e8e71
Rename format_string(2) and is_user_string_id() ( #19178 )
...
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk >
2023-01-17 08:59:07 +00:00
Duncan
8504c8d05e
Finish Removing snake_case from Drawing Methods
2023-01-16 22:31:34 +00:00
Gymnasiast
5309c80e29
Remove snake_case in interface folder
2023-01-16 22:20:41 +01:00
Hielke Morsink
6dafbbfb65
Rename global window functions to TitleCase ( #19167 )
2023-01-16 20:13:42 +00:00
Stephan Spengler
f8ab17749d
Rename CheatSetAction to fit naming pattern
2023-01-06 22:57:15 +01:00
James103
73738bbdc8
Replace 2022 with 2023 in copyright headers
...
Replace all instances of the year 2022 with 2023 in all copyright headers
2023-01-01 11:58:01 +01:00
Duncan
482971710d
Apply code style to context functions
2022-11-06 21:49:07 +01:00
Hielke Morsink
abac080d3e
Rename public general config data members
2022-10-16 21:46:01 +02:00
Duncan
406b73d904
Remove final snakes from map and world ( #18304 )
2022-10-12 09:14:45 -03:00
Duncan
7dd8989e70
Next chunk of World/Map.h snakes ( #18296 )
...
* Next chunk of World/Map.h snakes
* Apply clang-format
2022-10-12 06:35:20 +01:00
Duncan
67bbc8560d
Code style: Remove snakes from everything world apart from Map.h ( #18273 )
...
* Remove remaining snakes from world (outside of map)
* Initial few desnaking of Map.h
2022-10-11 19:39:24 +01:00
Duncan
3565a0172d
Attack snakes in banners and climate ( #18163 )
2022-10-01 18:54:15 +02:00
73
b9e677945d
Replace 20XX with 2022 ( #18158 )
...
* Replace 2020 with 2022
Replace all 2020 headers with 2022
* replace other years with 2022
add missing years
2022-10-01 08:42:14 +01:00
Gymnasiast
d3fd31c611
Rename rct_string_id to StringId
2022-07-31 22:30:13 +02:00
Huu Kim Nguyen
c949edd591
Crop giant screenshot to horizontal view-clip area
2022-07-06 23:11:43 +02:00
Ted John
f909be7a43
Merge pull request #16797 from IntelOrca/feature/enhanced-transparency
...
Introduce more transparency toggles and allow each one to be set to either an invisible or ghost state which is a persisted user setting.
A new window is introduced to control these settings and is inspired by OpenTTD.
2022-03-20 17:56:08 +00:00
Gymnasiast
ffe8b4b45d
Undo fspath() workaround for Android
2022-03-18 23:21:23 +01:00
Ted John
61f1e13c0b
Refactor viewport flags
2022-03-14 21:57:05 +00:00
Kane
2e93e42a71
More finishing touches
...
- Changes all references of `VIEWPORT_FLAG_INVISIBLE_PEEPS` to `VIEWPORT_FLAG_INVISIBLE_GUESTS` and `VIEWPORT_FLAG_INVISIBLE_STAFF`
- Updates Invisible People menu item and shortcut.
- Added new viewport flags into the `viewport_set_visibility` function
- Invisible options only work if see-through is activated as well
- Added see-through supports
- Regression: Exclude ride from invisible no longer works (ride is still see-through)
2022-03-14 21:40:27 +00:00
Michael Steenbeek
c334c7a176
Merge pull request #16724 from Gymnasiast/refactor/remove-path_get_filename
...
Remove four old path functions
2022-03-02 22:25:08 +01:00
Hielke Morsink
ba85cf4873
Close #15896 : Refactor out the ZoomLevel operators
2022-02-26 23:14:59 +01:00
Gymnasiast
49b414a40e
Replace calls to path_get_filename()
2022-02-26 17:20:07 +01:00
Michael Steenbeek
5edc561715
Close #11437 : Migrate old platform methods
2022-02-18 21:57:00 +01:00
Ted John
44294119c9
More code review changes
2022-02-14 23:20:19 +00:00
Ted John
3d2420c86c
More code review changes
2022-02-14 23:15:59 +00:00
Ted John
454bfb0a8f
Refactor map size to allow for rectangle maps
2022-02-14 23:15:59 +00:00
Michael Steenbeek
f43a4344ce
Remove platform_get_user_directory() ( #16530 )
2022-01-29 09:01:05 -03:00
Michael Steenbeek
730364da1b
Use .u8string() in ResolveFilenameForCapture()
2022-01-16 16:18:59 +01:00
Gymnasiast
6bcf848b2f
Use C++ filesystem for more file/path functions
2022-01-08 19:07:48 +01:00
Gymnasiast
10301507a9
Fix Android
2022-01-08 16:58:57 +01:00
Gymnasiast
e4496c41bd
Upgrade platform_sanitise_filename()
2022-01-05 15:26:52 +01:00
frutiemax
adb692b74e
Forward declare Formatter
2021-12-30 12:17:51 -05:00
Hielke Morsink
1ba75205e9
Add comment and use more consistent naming
2021-12-01 00:17:49 +01:00
Hielke Morsink
0f2dffcc16
Apply review suggestions
2021-12-01 00:11:45 +01:00
Hielke Morsink
dbd50d08c6
Split double meaning of "max zoom" in screenshot code
...
One being the max value, the other being the max amount of zoom levels.
2021-12-01 00:08:41 +01:00
Hielke Morsink
53d9bfa8b4
Update implicit zoom conversions
2021-12-01 00:08:35 +01:00
Sijmen
cec8447c6f
Refactor Viewport.cpp to use ScreenRect ( #15790 )
2021-10-27 00:13:38 -03:00
Hielke Morsink
4b4b3333d6
Remove unnecessary else blocks
2021-09-16 18:31:12 +02:00
ζeh Matt
59a6c34db4
Make use of std::optional strict
2021-09-13 20:02:32 +03:00