#pragma once #include "Company.h" #include "Types.hpp" #include #include namespace openloco::companymgr { constexpr size_t max_companies = 15; company_id_t updatingCompanyId(); void updatingCompanyId(company_id_t id); std::array& companies(); company* get(company_id_t id); company_id_t getControllingId(); uint8_t getCompanyColour(company_id_t id); uint8_t getPlayerCompanyColour(); void update(); struct owner_status { string_id string; uint32_t argument1; uint32_t argument2; }; company* getOpponent(); string_id getOwnerStatus(company_id_t id, FormatArguments& args); owner_status getOwnerStatus(company_id_t id); void updateOwnerStatus(); }