You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+ this->context =+ Ship::Context::CreateUninitializedInstance("Starship", "ship", "starship.cfg.json");++ this->context->InitConfiguration(); // without this line InitConsoleVariables fails at Config::Reload()+ this->context->InitConsoleVariables(); // without this line the controldeck constructor failes in ShipDeviceIndexMappingManager::UpdateControllerNamesFromConfig()++ auto controlDeck = std::make_shared<LUS::ControlDeck>();++ this->context->InitResourceManager(OTRFiles, {}, 3); // without this line InitWindow fails in Gui::Init()+ this->context->InitConsole(); // without this line the GuiWindow constructor fails in ConsoleWindow::InitElement()++ auto window = std::make_shared<Fast::Fast3dWindow>(std::vector<std::shared_ptr<Ship::GuiWindow>>({}));+- this->context =- Ship::Context::CreateInstance("Starship", "ship", "starship.cfg.json", OTRFiles, {}, 3, { 44100, 1024*2, 2480*2 }, window, controlDeck);+ this->context->Init(OTRFiles, {}, 3, { 44100, 1024*2, 2480*2 }, window, controlDeck);
The text was updated successfully, but these errors were encountered:
some constructors expect things to be initialized which is breaking the ability to call
from HarbourMasters/Starship#74
The text was updated successfully, but these errors were encountered: