1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 16:54:52 +01:00

Make -force-scan command run without starting game

reformat object_list_load to use parameter instead of external flag boolean

remove object_list_load_force_scan, call directly from RootCommands
This commit is contained in:
wolfreak99
2016-10-29 09:32:55 -04:00
parent 5cd6c864a5
commit 6ba51e36da
4 changed files with 18 additions and 21 deletions

View File

@@ -63,7 +63,7 @@ interface IObjectRepository
{
virtual ~IObjectRepository() { }
virtual void LoadOrConstruct() abstract;
virtual void LoadOrConstruct(bool forceScan) abstract;
virtual size_t GetNumObjects() const abstract;
virtual const ObjectRepositoryItem * GetObjects() const abstract;
virtual const ObjectRepositoryItem * FindObject(const utf8 * name) const abstract;
@@ -88,8 +88,6 @@ extern "C"
{
#endif
extern bool object_repository_force_scan_flag;
size_t object_repository_get_items_count();
const ObjectRepositoryItem * object_repository_get_items();
const ObjectRepositoryItem * object_repository_find_object_by_entry(const rct_object_entry * entry);