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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user