Arreglada la cárrega de opcions i recursos

Modificats els parametros dels fitxers .ani a snake_case
This commit is contained in:
2025-02-26 08:50:12 +01:00
parent a07a08adb7
commit a8e5517a77
67 changed files with 244 additions and 217 deletions

View File

@@ -563,7 +563,7 @@ void Player::move()
setState(s_standing);
#ifdef DEBUG
debugColor = {255, 255, 0};
debugPoint = {(int)x + (w / 2), p};
debugPoint = {(int)x_ + (w_ / 2), p};
#endif
}
else
@@ -631,7 +631,7 @@ void Player::playJumpSound()
}
#ifdef DEBUG
debug_->add("JUMP: " + std::to_string(jumpCounter / 4));
debug_->add("JUMP: " + std::to_string(jumping_counter_ / 4));
#endif
}
@@ -644,7 +644,7 @@ void Player::playFallSound()
}
#ifdef DEBUG
debug_->add("FALL: " + std::to_string(fallCounter / 4));
debug_->add("FALL: " + std::to_string(falling_counter_ / 4));
#endif
}