diff --git a/README.md b/README.md index 1c8d9b4..bbfdd45 100644 --- a/README.md +++ b/README.md @@ -102,9 +102,6 @@ cd roguish # first compile takes a while make -# will play a sound and open windows -make test - # this copies the binary so you can run it make run ``` diff --git a/gui.cpp b/gui.cpp index 242073b..ca74125 100644 --- a/gui.cpp +++ b/gui.cpp @@ -32,7 +32,6 @@ using namespace ftxui; using namespace components; GUI::GUI(DinkyECS::World &world, Map& game_map) : - $darkness({1600,800}), $game_map(game_map), $log({{"Welcome to the game!"}}), $status_ui(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT), @@ -49,9 +48,6 @@ GUI::GUI(DinkyECS::World &world, Map& game_map) : $sounds.load("combat_enemy_hit", "combat_enemy_hit.mp3"); $sounds.load("combat_miss", "combat_miss.mp3"); - $light_test.loadFromFile("./assets/light_test.png"); - $darkness.setTexture(&$light_test); - resize_map(MAX_FONT_SIZE); } diff --git a/gui.hpp b/gui.hpp index e91d02e..5da2b65 100644 --- a/gui.hpp +++ b/gui.hpp @@ -41,8 +41,6 @@ struct ActionLog { const int GAME_MAP_POS = 600; class GUI { - sf::RectangleShape $darkness; - sf::Texture $light_test; string $status_text = "NOT DEAD"; Canvas $canvas; Map& $game_map;