Commit graph

158 commits

Author SHA1 Message Date
Llywelwyn
670b365def refining the sprites 2023-09-23 19:35:51 +01:00
Llywelwyn
cee4d02ce2 sprites init 2023-09-23 18:02:51 +01:00
Llywelwyn
ddcfd72318 fixing up some post-merge errors 2023-09-23 10:43:32 +01:00
Llywelwyn
441b22439f Merge branch 'master' into switching_to_draw_batches 2023-09-23 10:12:26 +01:00
Llywelwyn
921fee2ecc intrinsic speed + regeneration 2023-09-21 05:06:52 +01:00
Llywelwyn
8a44c94272 adds damage types and mods (weak/resist/immune), for all damage events 2023-09-21 00:52:54 +01:00
Llywelwyn
727ca09e74 defaults placeholder player to human ancestry 2023-09-20 21:56:50 +01:00
Llywelwyn
27c1fe9a48 cleans up linter warns 2023-09-18 21:54:18 +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
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
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
64caf0dc1a less blocking - targets will try to path to any space around their tar 2023-08-30 09:15:45 +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
9fb791039f map shortnames/identifiers 2023-08-30 04:51:32 +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
038e616500 cleans up chatlog colours - renderables for non-item, beatitude for item 2023-08-27 22:26:58 +01:00
Llywelwyn
537e19c4e7 tooltips for overmap tiles, and distinct fg-bg offsets 2023-08-27 18:04:53 +01:00
Llywelwyn
8e3ed5cead huge refactor of overmap-local map travel 2023-08-27 16:21:15 +01:00
Llywelwyn
e1eae7efaf overmap travel - needs refactoring urgently, but it works for now 2023-08-27 03:00:48 +01:00
Llywelwyn
38eed3e483 refactor, and overmap (heavy wip) 2023-08-27 00:06:29 +01:00
Llywelwyn
746de971f0 overmap, refactor offsets 2023-08-26 22:46:04 +01:00
Llywelwyn
738484436b significant events in morgue file, better event logging 2023-08-25 22:43:50 +01:00
Llywelwyn
3023a33cc5 i/o stuff: skeleton framework for morgue files, and a config.toml file 2023-08-24 22:34:05 +01:00
Llywelwyn
ff344ccee4 returns the option for scanlines, cleans up config 2023-08-23 21:14:07 +01:00
Llywelwyn
e62a081103 increases systems robustness
- most systems run twice per tick, and the effects queue is processes on sub-tick intervals (after any relevant systems).

1. PLAYER TURN ->
i. Map/viewsheds are refreshed, effects queue is run.
ii. RunState takes player input.
iii. Player input is resolved/effects queue is run.
2. AI TURNS ->
i. Map/viewsheds refreshed.
ii. AI decision-making.
iii. AI decisions resolved/effects queue is run.
3. OTHER ->
i. If the start of a new turn, hunger clock is run.
ii. particles are created/deleted every frame.
2023-08-23 18:58:11 +01:00
Llywelwyn
02a4f33d11 more framework for spells 2023-08-23 18:17:04 +01:00
Llywelwyn
15e8ae13d0 char creation to config 2023-08-23 01:57:35 +01:00
Llywelwyn
424bf43ed5 config stuff to config folder 2023-08-23 01:31:02 +01:00
Llywelwyn
c2c7e0bd52 sorry - swapping from rustfmt to prettier-rust 2023-08-23 01:22:09 +01:00
Llywelwyn
281396f9ce starting on config files 2023-08-23 00:58:01 +01:00
Llywelwyn
4118783597 mp regeneration
using nethack calcs as a placeholder for now
2023-08-22 19:07:50 +01:00
Llywelwyn
51081c7c9c Identification scrolls 2023-08-22 17:38:30 +01:00
Llywelwyn
1714b94397 blindness improves telepathy, and reduces to-hit 2023-08-22 16:16:56 +01:00
Llywelwyn
bd90c3f760 removes monster to-hit bonus from player 2023-08-22 13:11:21 +01:00
Llywelwyn
f55f4504db beatitude identification 2023-08-22 11:55:09 +01:00
Llywelwyn
e76a03633b remove curse - with full BUC impl 2023-08-22 10:50:44 +01:00
Llywelwyn
5a42ee283d scroll of remove curse - NYI 2023-08-22 08:56:06 +01:00
Llywelwyn
366c5d6543 fancy particle effects 2023-08-21 22:43:19 +01:00
Llywelwyn
5f23822f62 runs effects queue immediately before/after player turn
precaution against the effects queue unordering itself, etc.
2023-08-21 21:02:50 +01:00
Llywelwyn
f325d39f4c particle effect on items/traps 2023-08-21 20:20:46 +01:00