Michael Steenbeek
b4480b344e
Rename snake_case functions from localisation folder
2023-01-16 23:12:35 +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
Duncan
7f5934cc95
Remove snake_case from second chunk of Drawing ( #19166 )
2023-01-16 18:52:17 +00:00
Chris Dolan
16729c2b61
Close #19032 : Use RAII for crash registration when loading park file ( #19100 )
...
Co-authored-by: Christopher G. Dolan <cgdolan@users.noreply.github.com >
2023-01-10 17:27:40 -03:00
Gymnasiast
b6d422ff95
Migrate remaining C strings in config handling
2023-01-08 15:41:10 +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
Michael Steenbeek
a0a3d33472
Fix #18024 : Confusing error message on loading incompatible .park files ( #18837 )
...
Now shows the version the current build supports, and doesn’t mention the minimum version if it’s equal to the target version.
2022-12-14 13:09:16 +01:00
Duncan
482971710d
Apply code style to context functions
2022-11-06 21:49:07 +01:00
Hielke Morsink
5fa53ad528
Rename global config functions to use TitleCase
2022-10-16 21:46:08 +02:00
Hielke Morsink
bff430805f
Rename public network config data members
2022-10-16 21:46:06 +02:00
Hielke Morsink
371470b5d5
Rename public sound config data members
2022-10-16 21:46:05 +02:00
Hielke Morsink
abac080d3e
Rename public general config data members
2022-10-16 21:46:01 +02:00
Gymnasiast
d5f6a5b285
Replace context_load_park_from_file() with object equivalent
2022-10-08 20:12:35 +02:00
duncanspumpkin
16581e9288
Address snakes in mapgen and map animation
2022-10-05 20:22:51 +01:00
Ted John
bf85e6de4c
Implement loading / saving asset pack config
2022-10-01 13:06:55 +01:00
Ted John
331a5961b1
Implement asset packs for audio
2022-10-01 13:06:52 +01: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
Michael Steenbeek
8709b7800f
Merge pull request #17878 from Gymnasiast/feature/flag15-import
...
Close #6326 : Add support for RCTC SV6 files with 15000 entities
2022-09-04 14:10:48 +02:00
spacek531
8c8dc632b8
Implement #17806 : Warn user if fallback images are used
...
Warns user on the object debug info, when closing the object selection window after selecting objects, and when opening a park.
2022-09-03 13:56:23 +00:00
Gymnasiast
624d6ee752
Remove UnsupportedRCTCFlagException
2022-08-31 22:44:12 +02:00
Hielke Morsink
7f29e4e39c
Make rct_windowclass strong type WindowClass
...
This already revealed some places where implicit conversions were done, including some where its use was nonsense (MouseInput.cpp).
The changes to the Intent class were necessary to keep things working, and this splits things up more neatly.
2022-08-21 18:38:25 +02:00
Michał Janiszewski
0be5c9d720
Register park being loaded for crash upload
2022-08-04 19:48:47 +02:00
Gymnasiast
d3fd31c611
Rename rct_string_id to StringId
2022-07-31 22:30:13 +02:00
Michael Steenbeek
2b859c7099
Remove __ENABLE_LIGHTFX__ define
...
It is already enabled for all our builds, and upcoming changes to RTD would add a slew more.
Discussed in team chat with Duncan and Hielke.
2022-07-28 21:34:02 +00:00
Ted John
a2e6691ac2
Add new audio objects for loading sounds
2022-05-23 22:24:56 +01:00
Ted John
ed00228e58
Log errors to stderr if park load fails
2022-05-15 20:58:30 +02:00
Gymnasiast
fe9b211894
Allow park files v0
2022-04-24 16:12:25 +02:00
Ted John
3c09e60273
Add error if park version is too old
2022-04-23 15:28:13 +01:00
Ted John
65878dda81
Warn or error if incompatible park version is loaded
2022-04-23 14:45:40 +01:00
Ted John
e4a10b8eb4
Fix and improve plugin startup / shutdown
2022-03-21 21:43:02 +00:00
Ted John
84fdd44e6a
Add map changed hook
2022-03-21 21:42:30 +00:00
Gymnasiast
ffe8b4b45d
Undo fspath() workaround for Android
2022-03-18 23:21:23 +01:00
Silent
3773fa4cb0
Refactor uses of path_append_extension
2022-03-10 20:18:17 +01:00
Hielke Morsink
6ba0a3bd49
Use u8 strings when dealing with file paths
2022-03-01 22:12:39 +01:00
Ted John
d93f4bdc1d
Fix #12774 : Plugin: Scripts are not reloaded after new scenario ( #16686 )
2022-02-20 23:14:51 -03:00
Michael Steenbeek
5edc561715
Close #11437 : Migrate old platform methods
2022-02-18 21:57:00 +01: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
Silent
09897ede9e
Refactor last_*_directory and last_run_version to use u8string
...
Fixes a regression from #16631 causing a crash when
constructing u8string from a nullptr
2022-02-13 21:34:26 +01:00
ζeh Matt
aed98b5d82
Initialize track data table at compile time
2022-02-02 21:10:32 +02:00
Michael Steenbeek
657f13fec0
Merge pull request #16531 from Gymnasiast/refactor/file_dialog_desc
...
Merge old and new FileDialogDesc
2022-01-29 14:32:19 +01:00
ζeh Matt
269673e3aa
Profiler update ( #16463 )
...
* Add more functions to be profiled
* Add isEnabled method to Profiler scripting interface
* Bump up scripting version
* Apply review suggestions
2022-01-29 15:29:08 +02:00
Gymnasiast
55591b1b2f
Merge old and new FileDialogDesc
2022-01-29 13:55:10 +01:00
Michael Steenbeek
f43a4344ce
Remove platform_get_user_directory() ( #16530 )
2022-01-29 09:01:05 -03:00
Gymnasiast
f8c74fe2f8
Use u8string in Path/File; replace Path::Append with Path::Combine
2022-01-28 21:52:44 +01:00
Michael Steenbeek
149b164ee8
Use u8string for custom paths
2022-01-27 14:21:46 +01:00
Michael Steenbeek
c903d95512
Replace platform_open_directory_browser() with ShowDirectoryDialog()
2022-01-25 10:54:12 +01: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