Commit graph

493 commits

Author SHA1 Message Date
Llywelwyn
be7ff6b895 initial hit sounds 2023-10-14 21:04:24 +01:00
Llywelwyn
7ac2e14471 wav to ogg for ambient tracks 2023-10-12 15:33:26 +01:00
Llywelwyn
b105a415d5 door sounds, ambient tracks 2023-10-12 15:22:13 +01:00
Llywelwyn
0c74531c5b ambient track storing/replacing 2023-10-12 09:28:16 +01:00
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
1de0c20b76 rm deprecated log 2023-10-11 15:35:39 +01:00
Llywelwyn
6c359a0780 as last commit - should have been included 2023-10-11 09:48:09 +01:00
Llywelwyn
13322eb2a1 adds viewport_to_px and viewport_to_idx
used for converting a viewport (x, y) value to the correct pixel location on the screen, and to the correct map index
2023-10-11 09:47:56 +01:00
Llywelwyn
f862f00f0b fixes up farlooking - sprite, etc. 2023-10-11 09:46:41 +01:00
Llywelwyn
deb9988935 removes some unneeded vision ranges 2023-10-11 08:48:44 +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
72a6ff6d14 up/downstair sprites 2023-10-10 19:07:38 +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
59f7e9a8f7 clamps colour offsets to +-50%, rather than -50% to +100% 2023-10-07 11:05:37 +01:00
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