Anders Jenbo
e969a8ad01
Invert player to vision relation
3 years ago
Anders Jenbo
231f6814f7
Use rectangle logic in vision and lighting updates
3 years ago
Anders Jenbo
a997f8d597
Only update vision in dungeon
3 years ago
Anders Jenbo
382212b98c
Remove DisableLighting from release builds
3 years ago
Anders Jenbo
13c5c09990
Clean up Light related naming
...
A few are left unchanged as they will be removed in a later commit
3 years ago
Anders Jenbo
3304e8a542
Clean up lighting_color_cycling()
3 years ago
Anders Jenbo
0b19c2fd4f
Assert correct use of LightFalloffs
3 years ago
Anders Jenbo
3723fb2cf0
Clean up light table generation
3 years ago
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.
3 years ago
Anders Jenbo
b36709666b
Clean up Nest and Crypt modifications to the light table
3 years ago
Anders Jenbo
8ef94f7cc0
Only generate the relevant version of LightFalloffs
3 years ago
Anders Jenbo
2afcd9e654
Cleanup generation of LightConeInterpolations
3 years ago
Anders Jenbo
5d57d5a323
Rename lightradius and lightblock
3 years ago
Anders Jenbo
dc2d97c112
Split lighting shades from trn tables
3 years ago
staphen
8b6b898493
Defer d-pad inputs to movement handlers
3 years ago
obligaron
2e7125fe65
Multiplayer: Sync Lazarus stand
3 years ago
Anders Jenbo
f9b5c61f68
Extract pause translations table as a data file
3 years ago
Anders Jenbo
ec9d1b5550
Rename _oLight to applyLighting
3 years ago
Anders Jenbo
a1df95d580
Do not manipulate lights when saving and also correct save state
3 years ago
Anders Jenbo
7aee0b311b
Fix light smearing when walking ( #6002 )
3 years ago
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.
3 years ago
Anders Jenbo
779f16280c
Consistently use uint8_t for lighting values
3 years ago
obligaron
a0fca12d22
Only reset _oVar1 for dynamic lights
3 years ago
Anders Jenbo
6c893e4977
Remove unused code
3 years ago
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
3 years ago
DakkJaniels
64d5a328e7
modify SpawnOnePremium in items.dat for readability ( #4095 )
3 years ago
DakkJaniels
24bb409086
Remove extra entry in experience level table and cap experience at level 50 requirement ( #5782 )
3 years ago
obligaron
1a3e72bf17
Unify normal casting and casting from inventory
3 years ago
obligaron
b87711bc08
Reintroduce Player::spellFrom to seperate teleport cursor from queued spell
3 years ago
obligaron
e1cdec438e
When player position desyncs ensure position.old is also updated
3 years ago
staphen
b537f677f9
Improve d-pad handling for in-game menus
3 years ago
Trihedraf
7baaa3c35e
Fix monster health to +100 for NM and +200 for Hell instead of +1 and +3 ( #5987 )
3 years ago
FluffyQuack
d27eafaf15
Gradually turn durability icon from gold to red
3 years ago
staphen
71ccd415c5
Update gamepad motion state regardless of the active event handler
3 years ago
ephphatha
829d6b0d4a
address clang-format violations
3 years ago
ephphatha
2ce420425e
Remake talkbutton.clx as a sheet of two sprites
3 years ago
ephphatha
a9f9e2b451
Unroll loop for building alt button states to allow optimising talkbutton.clx
3 years ago
ephphatha
3690759eb9
Add comments for the logic used when drawing voice buttons
3 years ago
obligaron
e9e959cc7c
Improve debug drop(u) command (multiplayer compatible, support quest uniques and don't drop items on failure)
3 years ago
staphen
6bcb4d70e4
Use padmapper bindings on spell icons
3 years ago
obligaron
9697c82487
Ensure PM_DEATH is reset when restarting in town for remote players
3 years ago
obligaron
be82cff1ef
Ensure we don't load graphics for players that aren't on our level
3 years ago
obligaron
f6aae56a28
Refactor StartPlayerKill
3 years ago
obligaron
40bb3aeb45
Replace earflag with DeathReason
3 years ago
staphen
bfc54c9bd3
Add arena potions to the virtual gamepad renderer
3 years ago
qndel
ce2ce86070
inspect players command
3 years ago
obligaron
b916c8e428
Introduce Open/Close/ToggleCharPanel
3 years ago
obligaron
c4388b0d41
Remove unused pnum from UseInvItem
3 years ago
obligaron
c945dc8a46
Make SpellPages const
3 years ago
obligaron
1522dc7031
Multiplayer: Add arena potions
3 years ago