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
Eric Robinson
81e3c7abaa
Remove fixed bugfix comments, apply golem fix
3 years ago
staphen
60c32abd03
Simulate Shift key for simulated mouse interaction
3 years ago
obligaron
a50d4a93ee
Revert "Fix duplicate affix name (Crimson)"
...
This reverts commit 34ac4ec707 .
3 years ago
obligaron
eeca953615
Introduce UpdateHellfireFlag to set missing CF_HELLFIRE flag
3 years ago
obligaron
2f5a236c4c
Store only none translated names in Item::_iName/_iIName
3 years ago
obligaron
0426908988
Introduce GetTranslatedItemName/GetTranslatedItemNameMagical
3 years ago
obligaron
8c49524aa3
GenerateMagicItemName make translation configurable
3 years ago
obligaron
6f9453c00e
Introduce GenerateStaffName/GenerateStaffNameMagical
3 years ago
obligaron
590c990c80
Introduce Item::getName
3 years ago
obligaron
f65152c556
Introduce GetItemBLevel
3 years ago
obligaron
f154bad1bd
IsPrefixValidForItemType/IsSuffixValidForItemType doesn't rely on gbIsHellfire
3 years ago
obligaron
0d7711ee63
Introduce GetItemPowerPrefixAndSuffix
3 years ago
obligaron
085f98c9a1
Introduce GetStaffPrefixId
3 years ago
Gleb Mazovetskiy
ac0627f029
Add a debug function that describes a CLX
...
Example output (also demonstrates a bug in our encoder):
CLX sprite: 16x20 pixelDataSize=97b
command | width | bytes | color(s)
--------|------:|------:|---------
Transp. | 80 | 1 |
Pixels | 2 | 3 | 203 199
Fill | 3 | 2 | 202
Pixels | 2 | 3 | 199 201
Fill | 1 | 2 | 205
Transp. | 8 | 1 |
Pixels | 3 | 4 | 205 199 196
Fill | 4 | 2 | 197
Fill | 1 | 2 | 202
Transp. | 9 | 1 |
Pixels | 6 | 7 | 206 199 197 203 206 202
Fill | 1 | 2 | 204
Transp. | 10 | 1 |
Pixels | 4 | 5 | 206 199 197 205
Fill | 1 | 2 | 207
Transp. | 12 | 1 |
Pixels | 3 | 4 | 206 197 197
Fill | 1 | 2 | 205
Transp. | 9 | 1 |
Pixels | 7 | 8 | 207 205 203 206 206 197 197
Fill | 1 | 2 | 206
Transp. | 8 | 1 |
Pixels | 3 | 4 | 204 197 199
Fill | 1 | 2 | 205
Transp. | 1 | 1 |
Pixels | 2 | 3 | 202 197
Fill | 1 | 2 | 204
Transp. | 8 | 1 |
Pixels | 7 | 8 | 206 197 199 207 206 199 196
Fill | 1 | 2 | 205
Transp. | 9 | 1 |
Pixels | 1 | 2 | 203
Fill | 4 | 2 | 197
Fill | 1 | 2 | 202
Transp. | 10 | 1 |
Pixels | 5 | 6 | 207 205 199 199 203
Fill | 1 | 2 | 207
Transp. | 89 | 1 |
3 years ago
Gleb Mazovetskiy
f616214020
Fix suboptimal CLX encoding
...
See https://github.com/diasurgical/devilutionx-graphics-tools/pull/3 for
details
3 years ago
obligaron
0e663a8d64
Multiplayer: Sync circles in Lazarus' Lair
3 years ago
staphen
151564f46d
Remove optimization that skips quest sync at game start
3 years ago
obligaron
1a150ed193
Multiplayer: Ensure monster hitpoints are calculated reproducable in quest/set-maps ( #5958 )
...
* Always use the same seed for generating set/quest maps
* Use setlvltype for loading quest/set-map (instead of leveltype)
* Ensure dungeon flags are reset when loading a quest/set-map
3 years ago
obligaron
cb5e2b252c
Multiplayer: Enable Slain Hero
3 years ago