Skip to content

Commit

Permalink
add more info in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
UtoECat committed Feb 1, 2024
1 parent 312f505 commit bf6ea1e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions game/tools/master.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@
*/

#include <memory>
#include "SDL_misc.h"
#include "imgui.h"
#include "base/base.hpp"
#include "game/tools/tools.hpp"
#include "imgui_internal.h"
#include "game/version.hpp"

namespace pb {

Expand Down Expand Up @@ -107,6 +109,16 @@ class Master : public Tool {

if (ImGui::BeginTabBar("master_tabs")) {

if (ImGui::BeginTabItem("About")) {
ImGui::TextWrapped("Pixelbox ver %s", VERSION_STR.c_str());
ImGui::TextWrapped("Infinite sandbox game. Prototyping stage");

if (ImGui::Button("Star me on GitHub!")) {
SDL_OpenURL("https://github.com/UtoOpenSource/pixelbox2");
}
ImGui::EndTabItem();
}

if (ImGui::BeginTabItem("Execute")) {
ImGui::TextWrapped("Here will be a list of all the tools you can run :p");
ImGui::InputText("search", search_buf, 254);
Expand Down

0 comments on commit bf6ea1e

Please sign in to comment.