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
erikjanp
fbc6106e81
Fix #16426 : Empty changelog when installed to non-standard prefix
2022-01-23 14:04:31 +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
Michael Steenbeek
d97ecdd981
Fix #13336 : Can no longer place Bumble Bee track design
2022-01-20 10:56:27 +01:00
OpenRCT2 git bot
5badf735e5
Merge Localisation/master into OpenRCT2/develop
2022-01-20 04:08:43 +00:00
Michael Steenbeek
160e4280d7
Merge pull request #16458 from Gymnasiast/music-check-fix
...
Fix music style check for ‘niceness’
2022-01-19 18:52:06 +01:00
duncanspumpkin
eb58e498e4
Rename type to conform to coding style
2022-01-19 17:45:51 +00:00
duncanspumpkin
6f9283a7f6
Refactor to remove double usage of flag
2022-01-19 17:33:54 +00:00
Michał Janiszewski
98114c91c6
Report CNG error codes in hex ( #16465 )
2022-01-19 14:11:07 +01:00
Gymnasiast
2cf380f7fe
Rename NotNice to Overbearing
2022-01-19 13:25:24 +01:00
Gymnasiast
2fb3a41e1c
Include new objects release
2022-01-19 13:25:23 +01:00
Gymnasiast
92f38c566a
Fix music style check for ‘niceness’
2022-01-19 13:25:00 +01:00
MaxMallon
9d29de1444
Fix NPE due to missing scenery
2022-01-19 13:20:38 +01:00
Ted John
992ece4a4c
Fix #16449 : Viewport doesn't close when switching tabs
2022-01-19 10:23:44 +01:00
OpenRCT2 git bot
8e8f2be93f
Merge Localisation/master into OpenRCT2/develop
2022-01-19 04:08:47 +00:00
Ted John
c57a046a31
Update cmakelists to be compatible with MSVC
2022-01-18 18:47:07 +00:00
Ted John
0b207a170d
Add readme file for duktape sources
2022-01-18 18:43:34 +00:00
Ted John
b5d66e099e
Embed our own duktape library
...
Duktape is geared around compile time switches. We can't rely on shared libraries.
2022-01-18 18:29:27 +00:00
ζeh Matt
993b168bfd
Implement profiler ( #16194 )
...
* Implement profiling API
* Add console commands for the profiler
* Remove accidental line
* Correct csv output
* Add copyright notice
* Add missing override
* Add default virtual destructor
* Explicitly pass template argument
* Use static
* Add plugin API for profiler
* Add more profile calls
* Workaround for GCC hopefully
* Add missing static keyword
* Use uint64 for call count
* Reduce name length see if CI passes
* Improve handling of function names
* Work around (broken) static inline variables
* Fix missing include
* Disable profiler for clang 5 and older
* Update copyright date
* Profile UpdateAllMiscEntities
* Apply review suggestions
Co-authored-by: Ted John <ted@brambles.org>
2022-01-18 20:21:20 +02:00
OpenRCT2 git bot
e78704f48f
Merge Localisation/master into OpenRCT2/develop
2022-01-18 04:10:04 +00:00
Michał Janiszewski
225ecccd7d
Hide unused symbols when building with TTF support disabled ( #16459 )
2022-01-17 23:08:35 +01:00
ζeh Matt
f4c30ba63a
Correct scripting documentation for guest.generation
2022-01-17 15:09:21 +01:00
Gymnasiast
b0df7d9334
Fix TI visibility column text
2022-01-17 14:55:24 +01:00
Michael Steenbeek
730364da1b
Use .u8string() in ResolveFilenameForCapture()
2022-01-16 16:18:59 +01:00
Michael Steenbeek
fac52b7322
Move more platform functions ( #16416 )
...
* Upgrade platform_get_locale_measurement_format()
* Upgrade platform_get_locale_date_format()
* Upgrade platform_get_locale_temperature_format()
* Move platform_directory_delete() to Path
* Upgrade platform_process_is_elevated()
* Move platform_update_palette() to Drawing.cpp
* Upgrade platform_get_steam_dir()
* Upgrade platform_get_font_path()
* Remove now-empty platform files
* Fix formatting
* Upgrade platform_get_default_scale()
* Move remaining stuff in Android.cpp
* Use return {} instead of return ""
2022-01-16 14:06:55 +01:00
GalBr
df5c4dd91c
Fix #15947 , #15960 : Cannot remove rotated flat rides
...
Replace _currentTrackPieceDirection with local variable. This change
fixes a problem where when trying to remove a rotated ride,
_currentTrackPieceDirection would be reset back to 0 by calling
ride_initialise_construction_window, causing TrackRemoveAction to not
being able to find and remove the ride.
Using a local variable with the current direction, saved before resetting
the global variable, fixes this issue.
2022-01-16 14:04:00 +01:00
Gymnasiast
c69ef062ab
Use return {} instead of return ""
2022-01-16 13:18:41 +01:00