1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00
Commit Graph

6207 Commits

Author SHA1 Message Date
Ted John
3c64010fe1 Make Console::Error::WriteLine formattable 2016-07-09 15:02:05 +01:00
Ted John
8c2393f5c5 don't export invalid objects 2016-07-09 14:52:56 +01:00
Ted John
a25d7aa535 check for LoadObjects failure 2016-07-09 14:13:46 +01:00
Michał Janiszewski
abda262b13 Add missing override specifier 2016-07-09 12:14:46 +01:00
Ted John
7c8fbf3588 fix scenery group population 2016-07-09 02:01:27 +01:00
Ted John
5785020b07 fix clip size of preview 2016-07-09 01:28:57 +01:00
Ted John
3d291b027a load objects with larger than expected image data 2016-07-09 01:28:48 +01:00
Ted John
4d3fca767d document and name G1 flags 2016-07-09 00:27:21 +01:00
Ted John
a8c1c451d5 fix freeing of non-pointer / union issue 2016-07-08 22:58:38 +01:00
Ted John
78c6b6a251 remove all unnecessary object resets 2016-07-08 22:58:38 +01:00
Ted John
4664b73488 remove object_unload_all 2016-07-08 22:58:38 +01:00
Ted John
8b03b996c0 ensure _objectRepository and _objectManager are freed 2016-07-08 22:58:38 +01:00
Ted John
3f19becc2b remove object_unload_all 2016-07-08 22:58:38 +01:00
Ted John
60098aeef0 remove last use of object_load_chunk 2016-07-08 22:58:38 +01:00
Ted John
03674a450f improve performance of objects.idx loading 2016-07-08 22:58:38 +01:00
Ted John
65e14fb1df fix, not adding end tile to large scenery 2016-07-08 22:58:38 +01:00
Ted John
9801e92d79 fix track manager object filtering 2016-07-08 22:58:38 +01:00
Ted John
d7e1933f12 fix track manager preview 2016-07-08 22:58:38 +01:00
Ted John
fa951a29cd use object manager for S4Importer 2016-07-08 22:58:38 +01:00
Ted John
f59d6b7a00 implement unloading arbitrary objects 2016-07-08 22:58:38 +01:00
Ted John
488da7942c use object_manager_get_loaded_object instead 2016-07-08 22:58:38 +01:00
Ted John
c672cb920b read ride objects field by field
This will help with x64 port
2016-07-08 22:58:38 +01:00
Ted John
5b9cb813e7 fix load_object cc 2016-07-08 22:58:38 +01:00
Ted John
e51c96d67a comment out object load / unload logging 2016-07-08 22:58:38 +01:00
Ted John
793e83779f handle RCT2 language encoding properly 2016-07-08 22:58:38 +01:00
Ted John
2824224710 use overridden object strings 2016-07-08 22:58:38 +01:00
Ted John
13e9a76732 force a object repo reload if language changes 2016-07-08 22:58:38 +01:00
Ted John
82d90fe350 use pointer for smallscenery/var10 2016-07-08 22:58:38 +01:00
Ted John
42ad4ddfd1 fix minor errors 2016-07-08 22:58:38 +01:00
Ted John
2f8f10cd11 improve object loading efficiency 2016-07-08 22:58:38 +01:00
Ted John
e8635c1307 prepare for better object loading 2016-07-08 22:58:38 +01:00
Ted John
4e259920b1 fix and detect freeing invalid image lists 2016-07-08 22:58:38 +01:00
Ted John
52928e1e08 protect objects against invalid allocation ids 2016-07-08 22:58:38 +01:00
Ted John
80381cfaa0 fix objects always been packed into saves 2016-07-08 22:58:38 +01:00
Ted John
6f97ec798e remove object entry addresses and use constants 2016-07-08 22:58:38 +01:00
Ted John
3bfa747ce4 implement a proper image list allocation 2016-07-08 22:58:38 +01:00
Ted John
7124143b89 do more cleanup of old object code 2016-07-08 22:58:38 +01:00
Ted John
faf1f08b7f fix loading object via console 2016-07-08 22:58:38 +01:00
Ted John
8d168fb2ce remove more old object code 2016-07-08 22:58:38 +01:00
Ted John
a47c039f22 remove lots of old object code 2016-07-08 22:58:38 +01:00
Ted John
2cade7dd13 add object property validation 2016-07-08 22:58:38 +01:00
Ted John
7e1f948e19 remove required flag (unused) and fix scenery selection 2016-07-08 22:58:38 +01:00
Ted John
4bed693344 fix basic object selection 2016-07-08 22:58:38 +01:00
Ted John
aa62c3f03f add drawing of other object previews 2016-07-08 22:58:38 +01:00
Ted John
ebcbb085d2 add ride previews 2016-07-08 22:58:38 +01:00
Ted John
52c11267bc add small scenery preview 2016-07-08 22:58:38 +01:00
Ted John
13a560fb1d fix ride type sorting and add water preview 2016-07-08 22:58:38 +01:00
Ted John
72f7f0f329 refactor object factory loading 2016-07-08 22:58:38 +01:00
Ted John
8ce9a66286 add better object read error logging 2016-07-08 22:58:38 +01:00
Ted John
6b353346b9 read footpath objects correctly 2016-07-08 22:58:38 +01:00