Juliano Leal Goncalves
f54cc5aa95
♻️ Convert 'attribute_id' to a scoped enumeration
5 years ago
Anders Jenbo
f0a6561b09
📝 Add hellfire bugfixes to 1.2.1
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
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
Juliano Leal Goncalves
660fbfd4c1
♻️ Use 'plr_class' enum as argument on 'selhero_GenerateName'
...
This improves type-safety by using a stronger, more specific type.
5 years ago
Anders Jenbo
da077e3b0c
📝 1.2.1 changelog ( #1499 )
5 years ago
Gleb Mazovetskiy
77632cd83e
`world_draw_black_tile`: Stop relying on buffer padding
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
Michael Saunders
3c28d637a9
Copy devilutionx.mpq to the build directory when performing CMake. #1472
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
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
qndel
516fc4e83d
fix vanilla premium items going over 140k
5 years ago
Anders Jenbo
a6292e23ff
🐛 Set the default save game state
5 years ago
Anders Jenbo
a1dabf3aba
🐛 Fix Hellfire save games corrupting game state in Windows
5 years ago
Stephen C. Wills
a80aa286d3
Fixed data type of quest _qmsg in save files. ( #1475 )
5 years ago
qndel
b94ef06791
fix enums
5 years ago
Gleb Mazovetskiy
26a9930a70
Stop relying on buffer padding in CelBlitSafeTo
5 years ago
Gleb Mazovetskiy
db3eaacfcf
Stop relying on buffer padding in cursor rendering
...
Follow-up to #1173
5 years ago
Anders Jenbo
c4a5a5af3b
📈 Add Better Code Hub config
5 years ago
Anders Jenbo
53a3657b29
🚚 Move tests to a standard folder
5 years ago
Anders Jenbo
224f06ca03
Split up OperateShrine ( #1459 )
5 years ago
Anders Jenbo
819fd40376
🎨 Consistent enum value style ( #1458 )
5 years ago
Anders Jenbo
e7ae8ddd04
🚚 Move all enums to there respective headers
5 years ago
Anders Jenbo
76c8f776c4
Revert "Remove top and bottom buffer borders"
...
This reverts commit effaf68ec6 .
5 years ago
Gleb Mazovetskiy
effaf68ec6
Remove top and bottom buffer borders
...
They're no longer needed
5 years ago
Anders Jenbo
52401c9677
💚 Correct include headers
5 years ago
Anders Jenbo
dc84643fe6
🚚 Move dx.cpp and sound.cpp back in to Source now that the name space is clean
5 years ago
Anders Jenbo
ba6b031fa1
✅ Enable all remaning assertions ( #1453 )
5 years ago
Anders Jenbo
9d037bafff
🚨 Fix remaning clang warnings
5 years ago
Anders Jenbo
b7c06834f8
🔥 Goodby TravisCI
5 years ago
Anders Jenbo
b46750ace3
♻️ Change _qflags to a meaningful bool
5 years ago
Anders Jenbo
6530780980
🎨 Apply enums to towners
5 years ago
Anders Jenbo
2732aea1b2
♻️ Use GameInfo instead of individual globals
5 years ago
Anders Jenbo
61244c4d93
♻️ Rearange and apply more enums
5 years ago
Gleb Mazovetskiy
7ce1deb514
Migrate game_controller.cpp to SDLUniquePtr
5 years ago
Gleb Mazovetskiy
218aab57f1
Remove the raw pointer ScaleSurfaceToOutput
5 years ago
Gleb Mazovetskiy
d966a1380e
Migrate DiabloUI/art to SDLSurfaceUniquePtr
5 years ago