basic cli args parsing, working plugin paths and semi working configs

This commit is contained in:
2024-05-30 11:46:58 +02:00
parent df449a475c
commit 04191858de
8 changed files with 135 additions and 6 deletions

View File

@ -12,8 +12,9 @@
#include <memory>
#include <cmath>
MainScreen::MainScreen(SDL_Renderer* renderer_, Theme& theme_, std::string save_path, std::string save_password, std::string new_username, std::vector<std::string> plugins) :
MainScreen::MainScreen(SimpleConfigModel&& conf_, SDL_Renderer* renderer_, Theme& theme_, std::string save_path, std::string save_password, std::string new_username, std::vector<std::string> plugins) :
renderer(renderer_),
conf(std::move(conf_)),
rmm(cr),
msnj{cr, {}, {}},
mts(rmm),