diff --git a/Makefile b/Makefile index f45e109..ddd24f6 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,2 @@ default: - g++ -o build/main -fsanitize=undefined -fsanitize=address src/main.cpp + g++ -o build/main -I include -fsanitize=undefined -fsanitize=address src/main.cpp diff --git a/include/building.hpp b/include/building.hpp index ef0c46f..3cac997 100644 --- a/include/building.hpp +++ b/include/building.hpp @@ -1,7 +1,6 @@ -#include #ifndef BUILDING_HPP #define BUILDING_HPP -namespace e //placeholder namespace name because i don't have a copyright-free username; IEEE might not like me if i release commercial software under my current one +namespace e // placeholder namespace name because i don't have a copyright-free username; IEEE might not like me if i release commercial software under my current one { class Building { diff --git a/src/main.cpp b/src/main.cpp index 53bb9c1..c5fa2ed 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,13 +1,13 @@ #include +#include "resource.hpp" +#include "resource.cpp" const std::string version = "0.01a"; -int termLength, termHeight; +bool gotShitWorkin = false; + int main() { - std::cout << "welcome! please set your terminal window's size in characters: " << std::endl; - std::cout << "length: "; - std::cin >> termLength; - std::cout << "\nheight: "; - std::cin >> termHeight; - + std::cout << "welcome! current version is " << version << " and "; + if (gotShitWorkin) std::cout << "the UI thing is working, hopefully"; else std::cout << "i still have yet to get the UI system functioning"; + return 0; }