Commit Graph
7645 Commits
Author SHA1 Message Date
Anders Jenbo 4db65d94de Add glow to Crypt lava tiles 2023-04-24 14:20:06 +02:00
staphen f30c42c3a8 Use symlinks to work around lack of Unicode support for paths in ZeroTier 2023-04-24 14:09:58 +02:00
Anders Jenbo eef0b10e1f Hellfire: Fix light fall off not with in it's radious 2023-04-24 13:33:06 +02:00
Anders Jenbo 6ba5998a97 Unset all vision before updating current ones 2023-04-22 18:06:55 +02:00
Anders Jenbo d8b5c3a970 Fix light brightness pop on load 2023-04-22 11:32:26 -04:00
Anders Jenbo 0f7713bad8 Fix lighting when debugging 2023-04-22 11:32:26 -04:00
Anders Jenbo 828a52dc6d Clean up ProcessLightsList() 2023-04-22 17:14:19 +02:00
qndel 216febfe8a fix rotating right (#6020) 2023-04-22 16:14:01 +02:00
qndel 731ad1ada5 use std::rotate (#6019) 2023-04-22 13:53:03 +02:00
staphen 3e60df5111 Apply u8path() to paths passed into std::filesystem API calls 2023-04-22 05:53:47 +02:00
Anders Jenbo e969a8ad01 Invert player to vision relation 2023-04-21 21:25:19 +02:00
Anders Jenbo 231f6814f7 Use rectangle logic in vision and lighting updates 2023-04-21 21:25:19 +02:00
Anders Jenbo a997f8d597 Only update vision in dungeon 2023-04-21 21:25:19 +02:00
Anders Jenbo 382212b98c Remove DisableLighting from release builds 2023-04-21 21:25:19 +02:00
Anders Jenbo 13c5c09990 Clean up Light related naming
A few are left unchanged as they will be removed in a later commit
2023-04-21 21:25:19 +02:00
Anders Jenbo 3304e8a542 Clean up lighting_color_cycling() 2023-04-21 07:40:19 +02:00
Anders Jenbo 0b19c2fd4f Assert correct use of LightFalloffs 2023-04-21 07:40:19 +02:00
Anders Jenbo 3723fb2cf0 Clean up light table generation 2023-04-21 07:40:19 +02:00
Anders Jenbo 53d4e72e19 Fix Hell modification of the light table
There was a precission issue that caused some jitter in the light table.
This is solved and made made more redable by using a shift instead of
tricky use of remander from a devision.
2023-04-21 07:40:19 +02:00
Anders Jenbo b36709666b Clean up Nest and Crypt modifications to the light table 2023-04-21 07:40:19 +02:00
Anders Jenbo 8ef94f7cc0 Only generate the relevant version of LightFalloffs 2023-04-21 07:40:19 +02:00
Anders Jenbo 2afcd9e654 Cleanup generation of LightConeInterpolations 2023-04-21 07:40:19 +02:00
Anders Jenbo 5d57d5a323 Rename lightradius and lightblock 2023-04-21 07:40:19 +02:00
Anders Jenbo dc2d97c112 Split lighting shades from trn tables 2023-04-21 07:40:19 +02:00
staphen 8b6b898493 Defer d-pad inputs to movement handlers 2023-04-21 02:45:10 +02:00
obligaron 2e7125fe65 Multiplayer: Sync Lazarus stand 2023-04-20 22:34:49 +02:00
Anders Jenbo f9b5c61f68 Extract pause translations table as a data file 2023-04-19 23:28:33 +02:00
Anders Jenbo ec9d1b5550 Rename _oLight to applyLighting 2023-04-19 19:41:10 +02:00
Anders Jenbo a1df95d580 Do not manipulate lights when saving and also correct save state 2023-04-19 07:53:36 +02:00
Anders Jenbo 7aee0b311b Fix light smearing when walking (#6002) 2023-04-19 01:16:13 +02:00
Anders Jenbo 3af438db93 Debug: Improve rendering of light gird
LightsMax is the darkest value, and the most common so lets not have that rendered all over the screen.
2023-04-19 01:13:49 +02:00
Anders Jenbo 779f16280c Consistently use uint8_t for lighting values 2023-04-18 23:53:04 +02:00
obligaron a0fca12d22 Only reset _oVar1 for dynamic lights 2023-04-18 21:29:54 +02:00
Anders Jenbo 6c893e4977 Remove unused code 2023-04-18 21:21:53 +02:00
ThomasChr c91feb71f9 make light objects unseen when saving level change data, because level change data (instead of real save data) does not save light source and if the light objects will be marked as seen there lights won't be created and they stay dark 2023-04-18 15:27:18 +02:00
DakkJaniels 64d5a328e7 modify SpawnOnePremium in items.dat for readability (#4095) 2023-04-18 03:12:21 +02:00
DakkJaniels 24bb409086 Remove extra entry in experience level table and cap experience at level 50 requirement (#5782) 2023-04-18 03:10:14 +02:00
obligaron 1a3e72bf17 Unify normal casting and casting from inventory 2023-04-17 03:22:50 +02:00
obligaron b87711bc08 Reintroduce Player::spellFrom to seperate teleport cursor from queued spell 2023-04-17 03:22:50 +02:00
obligaron e1cdec438e When player position desyncs ensure position.old is also updated 2023-04-17 01:35:34 +02:00
staphen b537f677f9 Improve d-pad handling for in-game menus 2023-04-17 00:55:01 +02:00
Trihedraf 7baaa3c35e Fix monster health to +100 for NM and +200 for Hell instead of +1 and +3 (#5987) 2023-04-16 19:26:16 +02:00
FluffyQuack d27eafaf15 Gradually turn durability icon from gold to red 2023-04-16 17:10:44 +02:00
staphen 71ccd415c5 Update gamepad motion state regardless of the active event handler 2023-04-16 08:49:30 +02:00
ephphatha 829d6b0d4a address clang-format violations 2023-04-16 08:44:22 +02:00
ephphatha 2ce420425e Remake talkbutton.clx as a sheet of two sprites 2023-04-16 08:44:22 +02:00
ephphatha a9f9e2b451 Unroll loop for building alt button states to allow optimising talkbutton.clx 2023-04-16 08:44:22 +02:00
ephphatha 3690759eb9 Add comments for the logic used when drawing voice buttons 2023-04-16 08:44:22 +02:00
obligaron e9e959cc7c Improve debug drop(u) command (multiplayer compatible, support quest uniques and don't drop items on failure) 2023-04-15 13:13:13 +02:00
staphen 6bcb4d70e4 Use padmapper bindings on spell icons 2023-04-15 09:53:49 +02:00