Anders Jenbo
6e1a106a38
🚚 Move header we implement into the project
5 years ago
Anders Jenbo
f04b5501ef
🚚 Desolve types.h
5 years ago
Anders Jenbo
67a7ff98c5
🚨 Clean up compiler warnings
5 years ago
Anders Jenbo
f450d6a125
🚚 Move defines to there proper files
5 years ago
FluffyQuack
051ac249db
🐮 Fixed a legacy bug causing network desync if a player tries to swap sword+shield with a two-handed weapon without sufficient inventory space.
5 years ago
obligaron
f2c7446134
bugfix idle animation after equipping/unequipping
5 years ago
qndel
edda16cb47
DrawInv cleanup ( #1306 )
5 years ago
qndel
e24f3c83de
fix automap
5 years ago
qndel
7cc64dd2c4
fix double zhar aggro message
5 years ago
qndel
2677cc14dc
fix loading golem
5 years ago
Yuri Pourre
ed1ddfdece
Exposes player id from multi_send_packet
5 years ago
FluffyQuack
7c5646a475
Rewrote two identical code snippets in inv.cpp into one function. ( #1528 )
5 years ago
FluffyQuack
8365998b49
🐮 Slightly altered RemoveInvItem() so a mostly identical code snippet could be replaced with a call to that function. Also added some documentation to the function.
5 years ago
Gleb Mazovetskiy
9382153228
init_test_access: Remove platform workarounds
...
No longer necessary as of https://github.com/diasurgical/devilutionX/pull/1314
5 years ago
Juliano Leal Goncalves
cc5f2a8f49
🎨 Rename 'attribute_id' enum to 'CharacterAttribute'
...
Members were renamed as well for readability.
5 years ago
Juliano Leal Goncalves
f54cc5aa95
♻️ Convert 'attribute_id' to a scoped enumeration
5 years ago
Anders Jenbo
3e61cb8269
🐛 [hellfire] Sparkling Shrine deals a random amount of damage
...
If cast by traps flash would look in memory a bit before the monster
array for what value to use as damage, no one knows what might have been
there waiting so could deal anything form -254 to 254 damage.
Fixes #1500
5 years ago
Anders Jenbo
007a3256bf
🐛 [hellfire] Sparkling Shrine deals a random amount of damage
...
If cast by traps flash would look in memory a bit before the monster
array for what value to use as damage, no one knows what might have been
there waiting so could deal anything form -254 to 254 damage.
Fixes #1500
5 years ago
thebigMuh
f0080a6f36
Fix Search/Rage/Lightningwall ignoring clvl of player 0 ( #1501 )
5 years ago
thebigMuh
120383d232
Fix Search/Rage/Lightningwall ignoring clvl of player 0 ( #1501 )
5 years ago
Juliano Leal Goncalves
8cf972e843
♻️ Move 'HeroClass::ClassCount' to external tracking template
...
This eliminates the problem where the compiler complains we are not handling all enumeration values by moving the "hack" counting member into somewhere else external to the enum.
5 years ago
obligaron
9fbe139f64
cache ProgressToNextGameTick and update it only once before rendering
5 years ago
obligaron
c7b9ffec1f
Decouple Animations from Gamelogi (Smooth Animations for skipped Frames).
...
NewPlrAnim: Use default arguments instead of overloads
StartPlrHit: Fix skippedAnimationFrames - Frames starts with 1
Add missing comment for StartPlrHit
Fix GotHit-Animation: Skipping Frames corrected and adjusted _pAnimGameTicksSinceSequenceStarted for animations that don't start with a additional tick.
Thanks @StephenCWills for the gothit skipping frame calculation logic :-)
Update StartWalk: calculated numSkippedFrames in own line.
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
StartPlrHit: always initialize skippedAnimationFrames
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
Update nthread_GetProgressToNextGameTick comment
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
fix spelling "lenght" instead of "length"
Update NewPlrAnim comment
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
GetFrameToUseForPlayerRendering: avoid one "else"
5 years ago
Juliano Leal Goncalves
28ad9d43c5
🎨 Rename 'plr_class' enum to 'HeroClass'
...
Members were renamed as well for readability.
5 years ago
Juliano Leal Goncalves
7d95bfed39
♻️ Convert 'plr_class' to a scoped enumeration
5 years ago
Gleb Mazovetskiy
77632cd83e
`world_draw_black_tile`: Stop relying on buffer padding
5 years ago
Anders Jenbo
1ff91b3aca
🐛 [hellfire] Items with negative AC morphing in to high positive AC in multiplayer
5 years ago
Austin Wagner
1b5b8e3ef1
Fix manual gold stacking when max is modified
...
Affects dragging and dropping gold in inventory and gaining gold via
purchases when the Auric Amulet is equipped
5 years ago
qndel
40d33f6778
fix gharbad and vision
5 years ago
Anders Jenbo
eb45544f84
🐛 Fix gold pickup still working the old way in Diablo
5 years ago
qndel
ced74f76f9
fix gharbad and vision
5 years ago
Gleb Mazovetskiy
135f5e03c7
Only write to the file once when saving
5 years ago
Austin Wagner
c46d31c993
Fix manual gold stacking when max is modified
...
Affects dragging and dropping gold in inventory and gaining gold via
purchases when the Auric Amulet is equipped
5 years ago
Gleb Mazovetskiy
2f3e0cb18e
SDL1: Backport SDL2 logging
...
1. Backports SDL2 logging.
2. Adds a `--verbose` flag.
3. As an example, adds logging priority and category to a few log calls.
5 years ago
qndel
25095b2ee6
fix uninitialized
5 years ago
Anders Jenbo
6cfcc4708e
♻️ Simplify Diablos health adjusment.
5 years ago
Anders Jenbo
9331d4b3d3
🐛 Some Hellfire monsters not having the correct HP
...
Bone Demon
Flesh Thing
Reaper
Na-Krul
5 years ago
Anders Jenbo
fe84f83895
🐛 Some Hellfire monsters not having the correct HP
...
Bone Demon
Flesh Thing
Reaper
Na-Krul
5 years ago
qndel
8dbdc9c315
fix wirt price bug
5 years ago
qndel
adacce3303
fix wirt
5 years ago
qndel
1907b11cee
fix vanilla premium items going over 140k
5 years ago
Anders Jenbo
84ad58b910
🐛 Set the default save game state
5 years ago
Anders Jenbo
6eb609ac8b
🐛 Fix Hellfire save games corrupting game state in Windows
5 years ago
Stephen C. Wills
f062032e19
Fixed data type of quest _qmsg in save files. ( #1475 )
5 years ago
Gleb Mazovetskiy
a8e7bdfc81
loadsave: Fix off-by-one in RemoveEmptyLevelItems
...
Refs #1367
5 years ago
qndel
53e928e785
proper heroitems size
5 years ago
Anders Jenbo
b28a5d2d08
🔨 Align .clang-format files
5 years ago
Gleb Mazovetskiy
77d0bb6690
Enable compiler checks for printf-like functions
5 years ago
qndel
a69c1ceebf
fix wirt price bug
5 years ago
qndel
99de12dfd8
fix wirt + some code cleanup
5 years ago