1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 12:03:07 +01:00
Commit Graph

24 Commits

Author SHA1 Message Date
Michał Janiszewski
a6d0e6916e Fix function definitions to match their declarations
This makes sure every function is properly declared, which includes
proper `extern` wrappers.
2016-07-14 14:11:49 +02:00
Ted John
edb4a4a822 fix get capacity string for vehicles 2016-07-11 22:50:55 +01:00
Ted John
4bf9748143 fix drawing of object preview
We can't use dpi->width and dpi->height as they only define the clip region, not the viewport
2016-07-11 22:09:15 +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
5b9cb813e7 fix load_object cc 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
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
faf1f08b7f fix loading object via console 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
7e1f948e19 remove required flag (unused) and fix scenery selection 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
f6d6d93580 fix highlight object in object selection 2016-07-08 22:58:38 +01:00
Ted John
554d445db4 migrate more of object selection 2016-07-08 22:58:38 +01:00
Ted John
343623c815 move more code from old object list to new repository 2016-07-08 22:58:38 +01:00
Ted John
db304cdfcb fix filtering on object selection 2016-07-08 22:58:38 +01:00
Ted John
840179299c scrap object exetended and add sort ability
Not yet sure if we need to sort object repository, but add code for it anyway.
2016-07-08 22:58:38 +01:00
Ted John
6c7bc9b158 add methods to get object repo items 2016-07-08 22:58:38 +01:00
Ted John
01cd37316c prepare unpacking objects 2016-07-08 22:58:38 +01:00
Ted John
50b7e4222f remove a lot of old object code 2016-07-08 22:58:38 +01:00
Ted John
78e15b1d56 start getting object loading working 2016-07-08 22:58:38 +01:00
Ted John
06bf6bb39d settle for ObjectRepository and write load / save 2016-07-08 22:58:38 +01:00