Nikolas Parshook
ef35dfa40a
Expose obj image offset and num images to plugins ( #17567 )
...
Co-authored-by: Duncan <duncans_pumpkin@hotmail.co.uk >
2023-04-13 19:09:15 +00:00
Gymnasiast
af167552fb
Add flag to mark an object as a compatibility object
2023-03-25 14:40:03 +01:00
Michael Steenbeek
049164c400
Pass dpi as ref when drawing object preview
2023-03-13 16:52:49 +01:00
Michael Steenbeek
be52b55980
Remove some unused stuff ( #19474 )
...
* Remove unused symbols
* Remove unused SceneryObject.cpp
* Remove GetScgWallsHeader() and GetScgPiratHeader()
2023-02-23 22:27:21 +00:00
Duncan
85b72c766e
Spin off Object Type into standalone header ( #19278 )
...
* Split off object type into standalone header
* Include missing header
* Rename to ObjectTypes.h
2023-01-26 21:39:20 +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
Michael Steenbeek
bb55c6ce66
Remove loadsasnakes ( #19192 )
...
* Rename snake_case methods in scenario folder
* Rename snake_case methods in title folder
* Rename snake_case methods in object folder
* Rename snake_case methods in platform folder
* Rename snake_case methods in windows folder
* Rename tile_inspector.h to TileInspectorGlobals.h
* Rename snake_case methods in ui/windows folder
2023-01-17 19:46:55 +00:00
spacek531
c82c4ca3a3
Load object version into a tuple
2023-01-07 23:25:39 +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
spacek531
a617d393ed
Read and write version field of .park
2022-11-23 23:20:44 +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
a07daae770
Remove some unused symbols ( #17808 )
2022-08-13 21:24:15 +00:00
Michael Steenbeek
d9e23e9dfa
Use ride_type_t instead of uint8_t in more places ( #17803 )
...
Part of preparation for making ride types into objects.
2022-08-13 21:49:19 +02:00
Hielke Morsink
8e509d9669
Remove ObjectType++ operator, ensure ObjectTypes size
2022-06-30 23:13:40 +02:00
Ted John
a2e6691ac2
Add new audio objects for loading sounds
2022-05-23 22:24:56 +01:00
Michael Steenbeek
9f74c7081b
Create definitions for u8string and u8string_view
2022-01-25 16:41:45 +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
Gymnasiast
fcd704ed47
Create fallback system for csg1 images
2021-12-08 16:18:33 +01:00
IntelOrca
34128dc262
Add new .park save format
...
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com >
Co-authored-by: duncanspumpkin <duncanspumpkin@users.noreply.github.com >
Co-authored-by: ZehMatt <Zehmatt@users.noreply.github.com >
Co-authored-by: Broxzier <Broxzier@users.noreply.github.com >
2021-11-21 22:43:22 +01:00
Duncan
50118ae039
Move function for NSF use
2021-09-27 22:54:41 +02:00
Gymnasiast
bdab3219cb
Modify object loading for JSON-only objects
2021-09-15 11:28:39 +02:00
Michał Janiszewski
1a35cdafb3
Add limits include to Object.h ( #15415 )
...
PPA builds seem to complain about this
2021-09-15 08:25:55 +02:00
Gymnasiast
bcba227430
Add footpath surface and railings objects from NSF
2021-08-29 17:07:38 +02:00
Hielke Morsink
956e77f4c3
Use [[nodiscard]] for allocator and RAII functions ( #15244 )
2021-08-23 20:09:43 +02:00
Michael Steenbeek
9a76224a22
Downgrade “Image table longer than expected” to a verbose warning ( #14722 )
...
There are lots of custom objects like this and there is little point spewing the console full of them, since they’re unlikely to cause many problems.
2021-05-23 15:43:57 +02:00
Silent
95388cfbb1
Add File::GetSize to get object size in a simpler way
...
Drastically reduces startup speed because of the
optimization applied to ObjectAsset::GetSize - now the file
size is obtained without reading the entire file into memory.
2021-05-21 19:55:42 +02:00
Gymnasiast
b3bbdcbfd5
Remove hardcoded terrain style constants from RCT1 and MapGen
2021-03-27 17:34:10 +01:00
Michael Steenbeek
f0dc28e9fc
Update objects to v1.0.21
2021-03-12 11:04:04 +01:00
Ted John
28f4ec2b43
Implement code review suggestions
2021-01-27 18:45:28 +00:00
Ted John
d9b8413ec4
Use IStream for zip streaming
2021-01-27 18:45:27 +00:00
Ted John
2f39442d25
Implement ride music objects and refactor
2021-01-27 18:45:27 +00:00
skdltmxn
7ef4d7762f
Refactor to avoid unnecessary copies ( #13736 )
...
* Refactor to avoid unnecessary copies
* Fix dangling references
2021-01-11 18:14:15 -03:00
skdltmxn
c093a50f3f
Refactor to use string_view more properly
2021-01-07 01:52:10 +09:00
Michael Steenbeek
406967c71f
Refactor object_entry_get_entry() to return Object
2021-01-03 23:01:52 +01:00
Michael Steenbeek
90964b38bb
Fix #13574 : Object selection crashes if 'originalId' missing
2020-12-23 20:12:25 +01:00
Duncan
a9ed5d6536
Fix ObjectEntryDescriptor ( #13506 )
2020-12-06 09:28:06 +00:00
Ted John
8ce924bd64
Fix Docker CI, explicit copy constructor
2020-12-03 22:05:24 +00:00
Gymnasiast
596aa71093
Create ObjectEntryDescriptor to properly handle mixed DAT and JSON
2020-12-02 17:17:25 +01:00
Łukasz Pękalski
fc4ad82ac1
resolve: integrated changes from comments
2020-11-11 16:08:39 +01:00
Łukasz Pękalski
7648feeba2
Close #12427 : Refactor OBJECT_TYPE to use strong enum
2020-11-11 16:07:01 +01:00
Łukasz Pękalski
832fd69822
refactor: changed ObjectType enum to strong enum
...
code does not compile yet
2020-11-11 16:07:01 +01:00
Łukasz Pękalski
6e5105ab3b
refactor: ObjectType to use strong enum
...
enum renaming complete
2020-11-11 16:07:01 +01:00
Gymnasiast
13fb0b43da
Refactor legacy GetSourceGame() to method
2020-10-17 22:45:12 +02:00
Haven Kim
8a4df108ba
Close #12428 : Refactor OBJECT_SOURCE_GAME to use strong enum
2020-10-17 22:27:02 +02:00
Julia Pinheiro
b628bba704
Close #12429 : Refactor OBJECT_ERROR to use strong enum and typo fix in build.sh ( #13145 )
...
* Close #12429 : Refactor OBJECT_ERROR to use strong enum
* Typo Fix in build.sh: Unknown
2020-10-10 16:21:07 +01:00
Simon Jarrett
134371f03c
Change includes of nlohmann/json_fwd.hpp to new core/JsonFwd.hpp
2020-10-06 00:16:21 +02:00
Simon Jarrett
9c5e9f8dbc
Replace includes of Json.hpp in header files with json_fwd.hpp
2020-10-02 11:31:20 +01:00