Commit graph

209 commits

Author SHA1 Message Date
Llywelwyn
e8d376fecf cleans up particles, and SFX/ambience w/ placeholders 2023-10-12 08:05:17 +01:00
Llywelwyn
465cd51a60 bloodsplosion 2023-10-11 17:33:51 +01:00
Llywelwyn
f862f00f0b fixes up farlooking - sprite, etc. 2023-10-11 09:46:41 +01:00
Llywelwyn
098617fbf1 log scales - drawn to rendertexture, and then *that* is drawn to draw 2023-10-11 08:48:27 +01:00
Llywelwyn
3c9eb2de27 draws entity hp bars above heads again 2023-10-10 19:07:30 +01:00
Llywelwyn
074e2465d7 draw now uses a projection - log text still needs tweaking
notan::text doesn't seem to use projections, so the log will need to be converted to notan::draw, or a work-around will need to be found.
2023-10-10 19:07:14 +01:00
Llywelwyn
af1040b970 player avatar - currently bare. need a component for avatar_sprite! 2023-10-06 10:06:04 +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
8bb6a54a39 cleans up draw_targeting() with some bitflags 2023-10-05 10:27:43 +01:00
Llywelwyn
95c642d4ef rudimentary ShowTargeting - it needs a visual improvement, but it's back 2023-10-05 09:55:16 +01:00
Llywelwyn
bb775761de Merge branch 'master' into notan
keeping things up to date. lets not have any annoying conflicts to fix later.
2023-10-05 04:30:23 +01:00
Llywelwyn
139e718fd1 more "cleanup" 2023-10-05 04:24:20 +01:00
Llywelwyn
f3af75bf44 ensure key assignments are handled for consumed/deleted items 2023-10-05 01:05:00 +01:00
Llywelwyn
d11971126c static keys - items in inventory will save their assigned key
precursor to cleaning up/modularising inventory display, instead of needing to iterate through every item held to find unique copies, we can just check if the button pressed corresponds to any entity's Key {} index
2023-10-05 00:52:34 +01:00
Llywelwyn
a7b4f621fb better font support 2023-10-03 01:56:38 +01:00
Llywelwyn
4d21bd46d4 add_intr!() macro for adding intrinsics to the Player
If needed, player can just be replaced by another arg to the macro so this works on every other entity - but right now the player is the only thing to gain/lose intrinsics.
2023-10-02 22:14:00 +01:00
Llywelwyn
0d834f5e23 draw showinventory 2023-09-30 08:53:16 +01:00
Llywelwyn
f4d4b414d5 draw_charcreation() 2023-09-30 06:30:48 +01:00
Llywelwyn
ec8793180d mainmenu draw 2023-09-30 03:24:30 +01:00
Llywelwyn
855304abc0 main menu runstate 2023-09-30 01:16:14 +01:00
Llywelwyn
d66bc0d746 de-sprite hp bar 2023-09-29 03:15:33 +01:00
Llywelwyn
046837d9a1 returning the fade2black with distance 2023-09-27 03:39:22 +01:00
Llywelwyn
cfbe4098b7 map memory 2023-09-27 02:32:51 +01:00
Llywelwyn
054468bbae hp bars 2023-09-26 22:44:44 +01:00
Llywelwyn
bd450e806b improved sprites - spriteinfo and methods 2023-09-26 20:40:17 +01:00
Llywelwyn
d6ba6c628c sprites for entities, with text glyph fallback 2023-09-26 17:23:25 +01:00
Llywelwyn
2c4b4ca143 added gameover, added class/ancestry defaults 2023-09-25 22:04:49 +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
8de3648bae notan::text message log tests 2023-09-25 17:40:48 +01:00
Llywelwyn
093f9df86e action w/ direction, and mapgen ctd fix 2023-09-25 16:06:45 +01:00
Llywelwyn
030bda215a icon, wider log 2023-09-25 06:15:20 +01:00
Llywelwyn
c499528616 rem deprecated 2023-09-25 05:18:25 +01:00
Llywelwyn
b459966f95 alt log solution 2023-09-25 05:10:21 +01:00
Llywelwyn
cdf0257598 rudimentary reimplementation of the log 2023-09-25 04:05:57 +01:00
Llywelwyn
1cd9f75ecc curses16x16 to spritesheet 2023-09-25 03:34:53 +01:00
Llywelwyn
6cc659fd23 scuffed entity chars 2023-09-25 03:11:05 +01:00
Llywelwyn
f3e58ad761 started on new ui fn 2023-09-25 00:36:11 +01:00
Llywelwyn
627d33b2d9 pixelfont 2023-09-25 00:05:26 +01:00
Llywelwyn
7f9ba34afa fixes cheatmenu, reimpl particle ticker 2023-09-24 23:56:29 +01:00
Llywelwyn
0d4c0c9558 data to consts, cheatmenu 2023-09-24 23:46:27 +01:00
Llywelwyn
a2fb893f49 mapgen runstate 2023-09-24 22:20:49 +01:00
Llywelwyn
7f02a5a30f draw_bg() 2023-09-24 21:24:11 +01:00
Llywelwyn
e482b29fc6 reimpl farlook (tooltips NYI) 2023-09-24 19:16:47 +01:00
Llywelwyn
e8aa7494a4 fixing the sea of red - entity rendering for things in view 2023-09-24 16:55:47 +01:00
Llywelwyn
643ecfcf3e drawing entities, and map memory 2023-09-24 16:15:24 +01:00
Llywelwyn
d9489e7ddc camera rendering, and breaking things temporarily 2023-09-24 14:23:48 +01:00
Llywelwyn
1299524c91 reimplementing gameloop with notan's App, instead of bracket-lib BTerm 2023-09-24 00:41:02 +01:00
Llywelwyn
683ab95531 removes ctx arg from get_screen_bounds() 2023-09-24 00:01:17 +01:00
Llywelwyn
be1c7aa1c7 draw "tiles" 2023-09-23 23:33:50 +01:00