62c030527f
nix: bump nixpkgs
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I0183e42e1ee52e9e68150b1b42371cf36a6a6964
2026-04-05 00:18:50 +03:00
6fee9b37c9
meta: ignore zig cache files
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Id4fce83201c4c7d717379c09a33b223b6a6a6964
2026-04-05 00:18:49 +03:00
f637bbf5be
nix: add zig to build inputs
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I87b657bbfa7ca420ba7786f6dcc1acd46a6a6964
2026-04-05 00:18:36 +03:00
beb905a054
Merge pull request 'ui: experimental message box width auto-sizing' ( #2 ) from amr/rogged:msgfix into main
...
Reviewed-on: NotAShelf/rogged#2
Reviewed-by: raf <raf@notashelf.dev>
2026-04-04 17:37:18 +00:00
e086ca53e8
Merge pull request 'chore: update .editorconfig to match indentation size in .clang-format' ( #3 ) from amr/rogged:editconfig into main
...
Reviewed-on: NotAShelf/rogged#3
2026-04-04 15:41:47 +00:00
f8b63aafac
chore: update .editorconfig to match indentation size in .clang-format
2026-04-04 00:30:29 -04:00
39b7e01119
formatting: cleaned up formatting of this change, added TODO
2026-04-04 00:23:24 -04:00
b49808a216
ui: experimental message box width auto-sizing
2026-04-04 00:01:22 -04:00
a89d3684ef
ui: add floating damage text and shake screen; streamline action log
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I7a85e496beaf78150c6c1f7ddbb343d96a6a6964
2026-04-03 16:37:13 +03:00
9cbbb9636f
combat: add hit chance & damage variance to make combat more engaging
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ia1e0a503dba03e5df7b863b97db962e36a6a6964
2026-04-03 16:37:12 +03:00
fdc0657237
nix: add direnv manifest
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Idcd1d80b8d1cc8989177415a5f798f076a6a6964
2026-04-03 15:45:17 +03:00
de2ce8ba43
player: add equipment slots and inventory overlay
...
- Weapon/armor equip slots persist until replaced
- Numbered inventory overlay with I key
- E to equip from inventory, U to use potions"
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I474acd676da3b768c1aac24f75f303e86a6a6964
2026-04-03 15:45:16 +03:00
e4926a86fe
player: implement manual pickup and descend confirmation
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Icd8d0ffd9bdf92f5c8943590886543566a6a6964
2026-04-03 15:45:15 +03:00
db21bdacdd
various: add speed/cooldown & initiative system
...
- Goblins act every ~2 turns, skeletons ~1.5, orcs ~1.2
- Enemies accumulate cooldown based on speed, act when <= 0
- Player always acts every turn (speed = 100)"
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Id822579a0326887d91a80bd4ab27a72d6a6a6964
2026-04-03 15:45:14 +03:00
8f6650919d
chore: setup clang-format for formatting
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I322b7dd5dcd699247b58fe9f5db7bcd86a6a6964
2026-04-03 15:45:13 +03:00
786fce3814
various: consolidate game state into a GameState struct
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I9d8998707c02e64cf177a6eeb51e399e6a6a6964
2026-04-03 15:45:12 +03:00
d3798cc99f
map: add is_floor() helper to check walkable tiles
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I7368f74d1cbcf5913e5d8e9331cfa4326a6a6964
2026-04-03 15:45:11 +03:00
c61e31f628
player: correct item pickup order to copy before marking picked_up
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ie226b4a0ae6566ca77ab49b7d22f36726a6a6964
2026-04-03 15:45:10 +03:00
5fbe7c8c60
core: fix enemy movement collision with the player
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I8bfcc0f8816fbc02dbd7ad462b5c0a4e6a6a6964
2026-04-03 15:45:09 +03:00
0894466532
audio: allocate samples dynamically to avoid share static buffer corruption
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I48808e87cf3aea831daff726eb7123a96a6a6964
2026-04-03 15:45:04 +03:00
4908a32661
Merge pull request 'dev: added step_count and health recovery' ( #1 ) from amr/rogged:recover-health into main
...
Reviewed-on: NotAShelf/rogged#1
Reviewed-by: raf <raf@notashelf.dev>
2026-03-20 19:52:19 +00:00
5e3ba209e0
dev: added step_count and health recovery
...
Every 15 steps the player will regain 1 HP,
unless they are at max HP. Also added commented
code for later hunger if this is to be implemented.
Played around with step # and 15 seems okay until
hunger is implemented
2026-03-20 11:59:59 -04:00
cf41ea8dcf
docs: readme?
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ib849df68d2d9778ec865855cf44dc9116a6a6964
2026-03-19 17:01:55 +03:00
b381e2efbd
initial commit
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ie3b66d17f6f660c9b9a719210bd86f9f6a6a6964
2026-03-19 17:01:54 +03:00