Now mostly working with GUECS but shaders are still busted. Have to find out why they stopped working.

This commit is contained in:
Zed A. Shaw 2025-05-10 11:06:38 -04:00
parent a5f6a82611
commit ac22a11c9f
27 changed files with 162 additions and 1210 deletions

View file

@ -12,8 +12,10 @@ const auto ERROR = fmt::emphasis::bold | fg(fmt::color::red);
using namespace std;
GameEngine::GameEngine(int hp) : starting_hp(hp) {
hit_points = max_hp();
GameEngine::GameEngine(int hp, int max_hp) :
hit_points(hp), starting_hp(max_hp)
{
}
int GameEngine::determine_damage(string &type) {