Commit graph

89 commits

Author SHA1 Message Date
Llywelwyn
f862f00f0b fixes up farlooking - sprite, etc. 2023-10-11 09:46:41 +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
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
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
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
71576f36c3 fixes reversed menu controls 2023-10-01 00:11:21 +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
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
4d614daad5 better attributes 2023-09-27 19:21:22 +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
2c4b4ca143 added gameover, added class/ancestry defaults 2023-09-25 22:04:49 +01:00
Llywelwyn
e258767405 finalised gamelog 2023-09-25 20:38:52 +01:00
Llywelwyn
093f9df86e action w/ direction, and mapgen ctd fix 2023-09-25 16:06:45 +01:00
Llywelwyn
0586c2cdad map and turns 2023-09-25 02:16:06 +01:00
Llywelwyn
1038573a3a backpack 2023-09-25 01:47:40 +01:00
Llywelwyn
4e24a9b50a equip list - placeholder 2023-09-25 01:41:01 +01:00
Llywelwyn
df211c5c10 ui bulk 2023-09-25 01:30:05 +01:00
Llywelwyn
f3e58ad761 started on new ui fn 2023-09-25 00:36:11 +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
e8aa7494a4 fixing the sea of red - entity rendering for things in view 2023-09-24 16:55:47 +01:00
Llywelwyn
683ab95531 removes ctx arg from get_screen_bounds() 2023-09-24 00:01:17 +01:00
Llywelwyn
670b365def refining the sprites 2023-09-23 19:35:51 +01:00
Llywelwyn
d58614b106 optional sprites for entities 2023-09-23 19:01:39 +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
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
ae3e061ce8 back to curses -- still needs tweaking
box drawing glyphs are misaligned, etc
2023-09-03 08:42:10 +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
9427ebd7c1 better ranged targeting visuals 2023-08-30 05:40:45 +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
96e69d5c5e unused vars cleanup 2023-08-27 18:08:29 +01:00