Commit graph

22 commits

Author SHA1 Message Date
Llywelwyn
098617fbf1 log scales - drawn to rendertexture, and then *that* is drawn to draw 2023-10-11 08:48:27 +01:00
Llywelwyn
40b048fd65 tweaks to make zoomfactor better - centred @ 2x zoom 2023-10-06 10:33:25 +01:00
Llywelwyn
44b0674b5a the oryx-ening - zoom factor, and renderables refactor
currently extremely unfinished - half the sprites are gnomes, and tiles have no colours
2023-10-06 09:22:11 +01:00
Llywelwyn
a7b4f621fb better font support 2023-10-03 01:56:38 +01:00
Llywelwyn
d6ba6c628c sprites for entities, with text glyph fallback 2023-09-26 17:23:25 +01:00
Llywelwyn
65ec5c1b15 cleanup 2023-09-25 20:50:30 +01:00
Llywelwyn
e258767405 finalised gamelog 2023-09-25 20:38:52 +01:00
Llywelwyn
cdf0257598 rudimentary reimplementation of the log 2023-09-25 04:05:57 +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
c2c7e0bd52 sorry - swapping from rustfmt to prettier-rust 2023-08-23 01:22:09 +01:00
Llywelwyn
1002844098 cleans up comment 2023-08-17 08:37:40 +01:00
Llywelwyn
03ae8992f6 extraordinarily hacky solution to a logstore bug 2023-08-17 08:34:26 +01:00
Llywelwyn
945242bc42 deletes deprecated damage system 2023-08-17 05:42:19 +01:00
Llywelwyn
a3ffb7d251 logs now print char-by-char, and have "perfect" wrapping
wraps will happen mid-word, but this is is intentional. hard wrapping doesn't look very good in my opinion

this has deprecated descending message logs for now
2023-07-28 22:25:25 +01:00
Llywelwyn
650afaf821 fixes message log wrapping - sort of
it's an improvement - messages will wrap if the added fragment is longer than the maximum width, but it still causes issues if an *individual* fragment is longer than the width. the proper solution here, i think, is to get rid of the whole fragment system and just log words and newlines, and not have to bother with any of this.
2023-07-28 21:06:08 +01:00
Llywelwyn
f53b767376 overhaul: data-driven architecture 2023-07-25 03:50:50 +01:00
Llywelwyn
b80c3ac9d1 FillEdges builder, and a welcome message 2023-07-24 19:16:20 +01:00
Llywelwyn
ec9127573c fastfov and telepathy
currently no way to *gain* telepathy, but it works
2023-07-11 11:12:11 +01:00
Llywelwyn
42901b984e extends log builder, swaps away from textblocks
line wrapping no longer works, but in return the message log can easily be swapped between ascending/descending, and spaces/no spaces between entries.

realistically nobody wants to read a huge wrapped line anyway so those can just be avoided
2023-07-11 02:41:01 +01:00
Llywelwyn
c10eda695a logs + events refactor 2023-07-10 13:09:01 +01:00
Llywelwyn
4f899d329e initial 2023-07-10 12:48:56 +01:00
Llywelwyn
85881db62f pre-api removal 2023-07-10 11:46:21 +01:00