Commit Graph
14 Commits
Author SHA1 Message Date
duncanspumpkin 90dbcdb3c1 Fix #4820. Fix banner signs build cost.
Issue was caused by an incorrect read (only 1 byte instead of 2) of the legacy banner data during object loading. Note this would have caused the scenery_tab_id and string table to possibly have corrupted data.
2016-11-22 19:36:24 +00:00
Michał Janiszewski 9fed68bf6f Merge OBJ_STRING_ID enums into one 2016-11-13 20:31:19 +01: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 440c021951 create base scenery object for scenery objects 2016-07-09 19:16:38 +01:00
Ted John 2824224710 use overridden object strings 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 2cade7dd13 add object property validation 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 8ce9a66286 add better object read error logging 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 a0d8b9ccbf handle empty string tables 2016-07-08 22:58:38 +01:00
Ted John 1af6242381 Fix GCC by not naming field same as type 2016-07-08 22:58:38 +01:00
Ted John a07bbc6bce add banner object loading 2016-07-08 22:58:38 +01:00