rogged/src
NotAShelf e048e02475
stats: add stat tracking fields to GameState
We can now track kills, items, damage dealt/taken, crits, times hit,
potions used, floors reached, and final score in `GameState` for
end-game display. This is rather basic for now, but I intend to extend
the tracked statistics as we introduce more mechanics. 

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I4dcd3e1effd0209268dc56fe4bba4b696a6a6964
2026-04-08 15:38:16 +03:00
..
audio.c audio: remove duplicate sound 2026-04-07 13:54:29 -04:00
audio.h audio: refactor audio asset loading, add crit sound 2026-04-06 17:51:07 -04:00
combat.h combat: rewrite in Zig; add basic damage types and weapon archetypes 2026-04-05 20:29:12 +03:00
common.h stats: add stat tracking fields to GameState 2026-04-08 15:38:16 +03:00
enemy.c combat: tune damage math and enemy scaling 2026-04-05 22:36:33 +03:00
enemy.h various: add speed/cooldown & initiative system 2026-04-03 15:45:14 +03:00
items.c combat: rewrite in Zig; add basic damage types and weapon archetypes 2026-04-05 20:29:12 +03:00
items.h combat: rewrite in Zig; add basic damage types and weapon archetypes 2026-04-05 20:29:12 +03:00
main.c audio: refactor audio asset loading, add crit sound 2026-04-06 17:51:07 -04:00
map.c map: add is_floor() helper to check walkable tiles 2026-04-03 15:45:11 +03:00
map.h map: add is_floor() helper to check walkable tiles 2026-04-03 15:45:11 +03:00
player.c refactor: split player_move and decompose handle_input 2026-04-05 22:36:32 +03:00
player.h refactor: split player_move and decompose handle_input 2026-04-05 22:36:32 +03:00
render.c combat: nicer UI with floating labels, HP bar colors, world shake & audio 2026-04-05 22:36:38 +03:00
render.h ui: add floating damage text and shake screen; streamline action log 2026-04-03 16:37:13 +03:00
rng.c various: consolidate game state into a GameState struct 2026-04-03 15:45:12 +03:00
rng.h various: consolidate game state into a GameState struct 2026-04-03 15:45:12 +03:00
settings.c initial commit 2026-03-19 17:01:54 +03:00
settings.h combat: buff status effects 2026-04-05 22:36:34 +03:00
utils.c initial commit 2026-03-19 17:01:54 +03:00
utils.h various: consolidate game state into a GameState struct 2026-04-03 15:45:12 +03:00