Hielke Morsink
|
4b4b3333d6
|
Remove unnecessary else blocks
|
2021-09-16 18:31:12 +02:00 |
|
Gymnasiast
|
51a7c2ad44
|
Fix log_warning spam for OBJECT_ENTRY_INDEX_NULL
|
2021-09-15 22:42:32 +02:00 |
|
Gymnasiast
|
ecaf361743
|
Revert porting errors
|
2021-09-15 18:27:15 +02:00 |
|
Gymnasiast
|
adce8c998e
|
Return early in RepositoryItemToObject()
|
2021-09-15 17:58:42 +02:00 |
|
Gymnasiast
|
6a7084aa4d
|
Fix formatting and TODO note
|
2021-09-15 17:54:39 +02:00 |
|
Gymnasiast
|
bdab3219cb
|
Modify object loading for JSON-only objects
|
2021-09-15 11:28:39 +02:00 |
|
ζeh Matt
|
59a6c34db4
|
Make use of std::optional strict
|
2021-09-13 20:02:32 +03:00 |
|
ζeh Matt
|
5868071fbc
|
Merge pull request #15335 from ZehMatt/refactor/object-load
Fix ownership of loaded object data
|
2021-09-04 09:13:45 -07:00 |
|
ζeh Matt
|
6186b29675
|
Apply review suggestion
|
2021-09-03 18:03:19 +03:00 |
|
ζeh Matt
|
cf0425d953
|
Fix building
|
2021-09-03 14:45:48 +03:00 |
|
ζeh Matt
|
a118b16912
|
Remove unused functions
|
2021-09-03 14:45:47 +03:00 |
|
ζeh Matt
|
976c614881
|
Reduce duplicate code
|
2021-09-03 14:45:47 +03:00 |
|
ζeh Matt
|
a44f3017dc
|
Move the log print and remove optional parameter
|
2021-09-03 14:45:47 +03:00 |
|
ζeh Matt
|
1f4f0c015c
|
Fix ownership of loaded object data
|
2021-09-03 14:45:47 +03:00 |
|
Ted John
|
3c451a4af4
|
Use music objects instead of IDs
|
2021-09-01 10:26:23 +02:00 |
|
Duncan
|
c34079acee
|
Refactor LargeSceneryEntry and remove rct_scenery_entry (#14816)
|
2021-06-04 12:41:23 +01:00 |
|
Duncan
|
12c5484f44
|
Refactor SmallSceneryEntry (#14815)
|
2021-06-03 22:14:41 -03:00 |
|
Duncan
|
8f59fe91cb
|
BannerSceneryEntry Refactor (#14810)
* Refactor BannerSceneryEntry to enforce type
* Remove old comment
* Fix incorrect renameing
|
2021-06-03 21:43:30 +01:00 |
|
Duncan
|
6f81248084
|
Rework and refactor PathBitEntry (#14809)
|
2021-06-03 21:23:00 +01:00 |
|
Duncan
|
425f968a67
|
Rearrange WallSceneryEntry to enforce types (#14808)
* Rearrange WallSceneryEntry to enforce types
* Clang format
Correct inverted nullptr check
|
2021-06-03 13:26:00 +01: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
|
383cbe5368
|
Load music into the correct slots
|
2021-01-27 19:26:28 +00:00 |
|
Ted John
|
2f39442d25
|
Implement ride music objects and refactor
|
2021-01-27 18:45:27 +00:00 |
|
Gymnasiast
|
179b50358c
|
Add RCT1 surface styles
|
2020-12-20 21:45:21 +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
|
dc93cacbee
|
bugHunt: correcting code to compile
code does not compile yet
|
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
|
ce15e20c94
|
Use plain std::string_view instead of const &
|
2020-11-06 11:40:52 +01:00 |
|
Gymnasiast
|
6df36127b4
|
Replace calls to LoadObjectLegacy() with new IDs
|
2020-11-05 21:33:13 +01:00 |
|
Gymnasiast
|
bafafa6805
|
Create functions to load objects by JSON id
|
2020-11-05 21:24:43 +01:00 |
|
Haven Kim
|
8a4df108ba
|
Close #12428: Refactor OBJECT_SOURCE_GAME to use strong enum
|
2020-10-17 22:27:02 +02:00 |
|
ζeh Matt
|
92e7b6244b
|
Fix #13192: Crash because of objects not properly loading (#13197)
|
2020-10-14 21:54:22 -03:00 |
|
Vinicius Sa
|
711dd00cde
|
Close #13000: Refactor ObjectFactory to use unique_ptr
Employs the smart pointer unique_ptr for safer memory management.
Classes involved:
- ObjectRepository
- ObjectManager
|
2020-10-14 21:56:48 +02:00 |
|
Aaron van Geffen
|
7b5087f057
|
Update copyright year to 2020
|
2020-07-21 15:04:34 +02:00 |
|
frutiemax
|
77d02c5e2b
|
Close #12290: Refactor of object_manager_unload_objects (#12291)
|
2020-07-17 05:25:35 +01:00 |
|
rdbaris
|
a2493af9ce
|
Part of #11159 (purge malloc() & free()) (#11893)
* Used smart pointers
* Changed functions to take vector as input
|
2020-07-16 22:35:30 +01:00 |
|
Michael Steenbeek
|
9ef8d6da42
|
Convert most remaining C-style casts to C++-style ones (#11867)
|
2020-06-07 23:18:11 +02:00 |
|
Michał Janiszewski
|
2323cc1596
|
Use named casts instead of old-style casts
Change prepared with clang-tidy and google-readability-casting check
|
2020-04-22 17:09:29 +02:00 |
|
Ted John
|
b9e85f6b90
|
Fix #11259: Custom JSON object breaks saves (#11356)
Do not attempt to pack JSON objects into S6 files.
|
2020-04-19 14:18:12 +02:00 |
|
Michael Steenbeek
|
c519512cfe
|
Create ObjectEntryIndex (#10980)
|
2020-03-20 19:28:39 +01:00 |
|
Ted John
|
c89cecb2b5
|
Refactor the ride type to entry map (#10967)
Use C++ vectors and allow larger ride entry indices (> 256)
|
2020-03-20 18:07:31 +01:00 |
|
Michael Steenbeek
|
d86dce17e8
|
Prepare object indices for uint16_t (part 2) (#10966)
|
2020-03-18 21:27:53 +01:00 |
|
Michael Steenbeek
|
18ebe73dfa
|
Replace object_entry_get_type() with method (#10937)
|
2020-03-15 12:07:04 +01:00 |
|
Michael Steenbeek
|
42a1a8704d
|
Use empty() for vectors; clean up bool comparisons (#9118)
|
2019-04-20 20:39:47 +02:00 |
|
Aaron van Geffen
|
2af13904c5
|
Update copyright notices for 2019. (#8903)
|
2019-03-17 07:16:15 +00:00 |
|
Ted John
|
85b443fc15
|
Fix #8411: Save game failed!
Do not try to pack our new object types (stations and surfaces) into saved games.
|
2018-12-10 15:14:50 +00:00 |
|
Ted John
|
06f203a7e7
|
Implement surfaces, edges and stations as objects
|
2018-12-09 23:30:40 +00:00 |
|