Commit graph

477 commits

Author SHA1 Message Date
Llywelwyn
0ee2a80715 tile variants, and applying colour offsets again 2023-10-07 10:36:36 +01:00
Llywelwyn
396d548bf2 .col() and .offset() impls for TileTypes - and some more sprites in 2023-10-07 00:56:02 +01:00
Llywelwyn
40b048fd65 tweaks to make zoomfactor better - centred @ 2x zoom 2023-10-06 10:33:25 +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
a92f60bb15 makes keyhandling debug msgs optional 2023-10-05 04:38:34 +01:00
Llywelwyn
bc4f960d88 fixes missing borrow 2023-10-05 04:38:22 +01:00
Llywelwyn
a9dd729a2b removes mapgen debug msg 2023-10-05 04:38:09 +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
9c1298df6b itemtypes, and filtering items by itemtype/buc/etc. 2023-10-05 03:54:31 +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
46bbe14bea added effects for adding intrinsics 2023-10-02 23:02:46 +01:00
Llywelwyn
fa4612cf1f changed get_noncursed() to helper on BUC struct 2023-10-02 23:02:34 +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
b5743819ec .describe() for Intrinsics, for use in tooltips later 2023-10-02 21:11:12 +01:00
Llywelwyn
190543a361 move all doors to the ends of corridors 2023-10-02 07:39:45 +01:00
Llywelwyn
7a27321bec initial tweaks - starting room w/ corridors + doors 2023-10-02 07:00:28 +01:00
Llywelwyn
97ca3a25e3 doors and door directions - RA 2023-10-02 04:43:01 +01:00
Llywelwyn
1fa7432dfe room accretion - initial 2023-10-01 20:56:46 +01:00
Llywelwyn
71576f36c3 fixes reversed menu controls 2023-10-01 00:11:21 +01:00
Llywelwyn
a99f16b8db Icingdeath 2023-09-30 09:16:22 +01:00
Llywelwyn
0d834f5e23 draw showinventory 2023-09-30 08:53:16 +01:00
Llywelwyn
b524cc3b08 showinventory runstate (draw nyi) 2023-09-30 08:13:20 +01:00
Llywelwyn
56f6cb6ae8 attributes pad left so they stay aligned 2023-09-30 06:49:24 +01:00
Llywelwyn
c80cb01816 charcreation runstate 2023-09-30 06:40:35 +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
ac0da55d14 temporarily making the gui code a mess, and fixing it later 2023-09-29 03:39:58 +01:00
Llywelwyn
d66bc0d746 de-sprite hp bar 2023-09-29 03:15:33 +01:00
Llywelwyn
719cedf526 viewport-sized dungeons 2023-09-29 02:53:14 +01:00
Llywelwyn
c757466df1 attribute exercising 2023-09-27 22:12:53 +01:00
Llywelwyn
4d614daad5 better attributes 2023-09-27 19:21:22 +01:00
Llywelwyn
1e5f565824 exercising/abusing attributes 2023-09-27 18:08:40 +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
e723f27375 scroll sprites 2023-09-26 22:26:57 +01:00
Llywelwyn
0d230c7721 sanity check to ensure .swap() isn't being called for no reason 2023-09-26 22:11:48 +01:00
Llywelwyn
ae9f6b6ac6 proper alt sprite and render order swaps 2023-09-26 22:08:05 +01:00
Llywelwyn
06d5674199 trapdoors 2023-09-26 21:09:47 +01:00
Llywelwyn
bd450e806b improved sprites - spriteinfo and methods 2023-09-26 20:40:17 +01:00
Llywelwyn
849c400497 hp/mp bars 2023-09-26 18:27:41 +01:00
Llywelwyn
4094d3535c hunger to ui 2023-09-26 18:05:59 +01:00
Llywelwyn
d6ba6c628c sprites for entities, with text glyph fallback 2023-09-26 17:23:25 +01:00