Major refactor part 1.

This commit is contained in:
Storm Dragon
2026-01-23 21:09:54 -05:00
parent 9ded17873d
commit cb8f028d1b
35 changed files with 1070 additions and 1526 deletions
+2 -1
View File
@@ -82,6 +82,7 @@ void main()
show_window("Draugnorak");
init_flying_creature_configs();
init_item_registry();
bool game_started = false;
while (!game_started) {
@@ -400,7 +401,7 @@ void main()
// Sling charge detection
if (sling_equipped && (key_down(KEY_LCTRL) || key_down(KEY_RCTRL)) && !sling_charging) {
if (inv_stones > 0) {
if (get_personal_count(ITEM_STONES) > 0) {
sling_charging = true;
sling_charge_timer.restart();
sling_sound_handle = p.play_stationary("sounds/weapons/sling_swing.ogg", true);