diff --git a/data/launcher/bigboiii.jpg b/data/launcher/bigboiii.jpg new file mode 100644 index 00000000..da49e9fa Binary files /dev/null and b/data/launcher/bigboiii.jpg differ diff --git a/data/launcher/main.html b/data/launcher/main.html new file mode 100644 index 00000000..3099198e --- /dev/null +++ b/data/launcher/main.html @@ -0,0 +1,127 @@ + + + + + + BOIII + + + + + +
+ +
+
Play
+
+ About +
+
+ + + + diff --git a/data/launcher/noise.jpg b/data/launcher/noise.jpg new file mode 100644 index 00000000..073a7025 Binary files /dev/null and b/data/launcher/noise.jpg differ diff --git a/src/client/launcher/launcher.cpp b/src/client/launcher/launcher.cpp index a85c2b3c..6f05f519 100644 --- a/src/client/launcher/launcher.cpp +++ b/src/client/launcher/launcher.cpp @@ -4,7 +4,8 @@ #include "launcher.hpp" #include "html/html_window.hpp" -#include "resource.hpp" +#include +#include namespace launcher { @@ -35,7 +36,9 @@ namespace launcher return {}; }); - window.get_html_frame()->load_html(utils::nt::load_resource(MENU_MAIN)); + //window.get_html_frame()->load_html(utils::nt::load_resource(MENU_MAIN)); + window.get_html_frame()->load_url( + utils::string::va("file:///%s/data/launcher/main.html", game::get_appdata_path().generic_string().data())); window::run(); return run_game;