Commit graph

344 commits

Author SHA1 Message Date
Llywelwyn
8a44c94272 adds damage types and mods (weak/resist/immune), for all damage events 2023-09-21 00:52:54 +01:00
Llywelwyn
66013667d8 gamelog events unit tests 2023-09-20 23:21:38 +01:00
Llywelwyn
727ca09e74 defaults placeholder player to human ancestry 2023-09-20 21:56:50 +01:00
Llywelwyn
954991fd9c defaults vision range in raws, only needs specifying if abnormal 2023-09-20 20:33:05 +01:00
Llywelwyn
c4aa3de640 more linter clean-up 2023-09-18 21:54:29 +01:00
Llywelwyn
27c1fe9a48 cleans up linter warns 2023-09-18 21:54:18 +01:00
Llywelwyn
6d80b80a82 adds some abstractions for readability 2023-09-11 00:01:34 +01:00
Llywelwyn
85efe13dc5 made the switch to using bracket-lib directly, instead of rltk wrapper
this should solve the build issues; it makes using the non-crashing github build a lot easier, because it lets the explicit rltk dependency be removed.
2023-09-05 02:23:31 +01:00
Llywelwyn
6d0ae8edf8 spellcheck 2023-09-03 23:54:04 +01:00
Llywelwyn
a29a7f5be4 formatting 2023-09-03 22:47:59 +01:00
Llywelwyn
ae3e061ce8 back to curses -- still needs tweaking
box drawing glyphs are misaligned, etc
2023-09-03 08:42:10 +01:00
Llywelwyn
ebcce3183b fixes off-by-one pixels with a small gutter
not sure why this fixes it - but it does. needs some testing.
2023-09-03 06:56:05 +01:00
Llywelwyn
1bea2c0026 testing resizing
strange artifacts with this size of font. seems to be an OpenGL issue (on specific hardware?) - issue is present on two different devices, with different screen resolutions, but disappears when running the WASM build. might be easiest to return to something which doesn't have this issue.
2023-09-03 06:40:27 +01:00
Llywelwyn
4e0ed95a22 infinite font variations for testing - huge wip 2023-09-03 05:10:17 +01:00
Llywelwyn
2a3c59ad33 first steps - extreme wip
1. need to finish curses12x24 first of all
2. bind everything to the viewport, and make scalable
2023-09-03 01:45:18 +01:00
Llywelwyn
d018d9077d fixes negative starting mana 2023-09-02 22:37:21 +01:00
Llywelwyn
fcb2bd2815 swapped over to bracket-lib geometry's Rects, improved feature spawning 2023-08-31 20:07:15 +01:00
Llywelwyn
5a8114ec7e removes debugging msg 2023-08-31 03:49:37 +01:00
Llywelwyn
56071a1537 w 2023-08-31 03:47:09 +01:00
Llywelwyn
1b12d70b23 various fixes: moved turnloss handling into energy system, anims 2023-08-31 03:44:04 +01:00
Llywelwyn
7b5cd0ec70 write config file if not present 2023-08-31 02:18:07 +01:00
Llywelwyn
cb7d9082d1 bugfix 2023-08-31 02:00:47 +01:00
Llywelwyn
45312108af bleeding 2 save 2023-08-31 01:28:44 +01:00
Llywelwyn
3464e9447c imports to lib.rs, creating unit tests 2023-08-31 01:20:21 +01:00
Llywelwyn
568df55795 restricts overmap actions (item use/drop/kick/open/close) 2023-08-30 23:54:28 +01:00
Llywelwyn
a038a3f586 chance to log dungeon features per clock turn 2023-08-30 12:08:03 +01:00
Llywelwyn
050973eae4 barracks dungeon feature 2023-08-30 11:41:39 +01:00
Llywelwyn
1f95bf14ee slows treants back down, reduces spawnrate in grassy rooms 2023-08-30 09:19:48 +01:00
Llywelwyn
64caf0dc1a less blocking - targets will try to path to any space around their tar 2023-08-30 09:15:45 +01:00
Llywelwyn
207f3b7671 fixes traffic jams - if path is blocked, npcs will recalc path to dest 2023-08-30 06:15:29 +01:00
Llywelwyn
454c2aab63 player now blockstile 2023-08-30 06:07:40 +01:00
Llywelwyn
8eb98b5baa player turn awaits empty particle queue 2023-08-30 05:58:08 +01:00
Llywelwyn
b5c4cb1fb5 ticker awaits an empty particle queue 2023-08-30 05:57:03 +01:00
Llywelwyn
9427ebd7c1 better ranged targeting visuals 2023-08-30 05:40:45 +01:00
Llywelwyn
e22261d012 see tolocal() tile descs in chat 2023-08-30 05:02:51 +01:00
Llywelwyn
9fb791039f map shortnames/identifiers 2023-08-30 04:51:32 +01:00
Llywelwyn
849a554055 foliage on world map 2023-08-30 03:55:12 +01:00
Llywelwyn
d6b9be628a targeting -> kb control 2023-08-30 03:53:14 +01:00
Llywelwyn
7da00ed2b1 x to farlook, now playable with 0 mouse input 2023-08-30 03:13:46 +01:00
Llywelwyn
81a48d5a6e reduces carry capacity per pt of strength 2023-08-30 02:16:49 +01:00
Llywelwyn
7d201b5736 removes wait on comma 2023-08-30 02:16:41 +01:00
Llywelwyn
fdb5156a48 reduces item spawns 2023-08-30 02:14:16 +01:00
Llywelwyn
3301feaae0 forest tweaks - foliage and proper grass 2023-08-30 02:01:29 +01:00
Llywelwyn
d032c847a0 some more options to config - colour offsets, and all-black tile bgs 2023-08-30 01:35:53 +01:00
Llywelwyn
72ec24c6b6 combat log to config 2023-08-27 23:53:54 +01:00
Llywelwyn
038e616500 cleans up chatlog colours - renderables for non-item, beatitude for item 2023-08-27 22:26:58 +01:00
Llywelwyn
96e69d5c5e unused vars cleanup 2023-08-27 18:08:29 +01:00
Llywelwyn
537e19c4e7 tooltips for overmap tiles, and distinct fg-bg offsets 2023-08-27 18:04:53 +01:00
Llywelwyn
2890c16a3c FillEdges map builder, to fill walkable edges with overmap transition 2023-08-27 16:36:33 +01:00
Llywelwyn
8e3ed5cead huge refactor of overmap-local map travel 2023-08-27 16:21:15 +01:00