Gleb Mazovetskiy
0bfc147b78
🧹 Remove `DiabloAllocPtr` and friends ( #1824 )
5 years ago
obligaron
9cfbea4c8b
ADL: Fix calculation of fast/faster/fastest combination (Bard)
5 years ago
Anders Jenbo
5745f099ba
♻️ Use Point for positions in msg.cpp functions
5 years ago
obligaron
ff995adc2b
Move ProcessPlayerAnimation to AnimationInfo
5 years ago
obligaron
16b3b38908
Move NewPlrAnim logic to AnimationInfo
...
Adjust SetNewAnimation-Parameter Names to Class Member
Adjust NewPlrAnim-Parameter Names to SetNewAnimation-Parameter Names
5 years ago
obligaron
3b87433fc2
Move GetFrameToUseForPlayerRendering to AnimationInfo
5 years ago
obligaron
1de46a8495
Rename member variables
5 years ago
obligaron
0b5183f63e
Introduce AnimationInfo
...
Update AnimationInfo.DelayLen comment
5 years ago
Vladimir Olteanu
2a3cf98850
Slight cleanup of dead{.h,.cpp}
5 years ago
qndel
bdf4b848a9
🐛 Fix queuing operating object when clicking during attack ( #1678 )
5 years ago
obligaron
a2a54dec34
Remove AnimLenFromClass
5 years ago
thebigMuh
7ce3957a8a
Split of QoL features into separate files
5 years ago
John Törnblom
e0dddf508a
Add automatically translated string literals ( #1694 )
5 years ago
obligaron
239a43cc1c
Remove "AnimWidth2" expect for missiles ( #1680 )
5 years ago
Jmgr
c33182d6de
Modernize deprecated headers
5 years ago
Jmgr
1b7e0d2cb3
Migrate existing log entries
5 years ago
Anders Jenbo
f77c52941a
♻️ Make GetDirection take Points instead of ints
5 years ago
Anders Jenbo
2bd13451a1
♻️ Apply point positioning to all remaning entities
5 years ago
Anders Jenbo
efbe8a8338
♻️ add possition points to monsters
5 years ago
Anders Jenbo
7912e510f0
🎨 Clean up overuse of SDL types
5 years ago
Anders Jenbo
275404029e
♻️ Cleanup player temp variables
5 years ago
obligaron
b1ee8c00b3
change AnimationDistributionFlags to enum class and rename to AnimationDistributionParams
5 years ago
obligaron
ab28255c68
temporary: use normal animation logic for walk
5 years ago
obligaron
93d487d3ed
move comments to own line
5 years ago
obligaron
1930b0f1a6
rename enum AnimationFlags to AnimationDistributionFlags
5 years ago
obligaron
2f2e48abf5
check the result of &-operator for enum flag explicitly
5 years ago
obligaron
e0aec0b153
Rename _pAnimRelevantAnimationFramesForDistributen to _pAnimRelevantAnimationFramesForDistributing
5 years ago
obligaron
9834e4849b
player.cpp: Rename absolutAnimationFrame to absoluteAnimationFrame
5 years ago
obligaron
fa6bf63dd3
Introduce AnimationFlags::SkipsDelayOfLastFrame and handle it
5 years ago
obligaron
4fc7a4c8aa
Change Logic from Frames to GameTicks
5 years ago
obligaron
c9b506d334
Introduce AnimationFlags::ProcessAnimationPending and stop passing skipped Frames cause of ProcessAnimationPending as skipped Frames
5 years ago
obligaron
f908f47751
Move the original logic to NewPlrAnim and introduce _pAnimGameTickModifier and _pAnimRelevantAnimationFramesForDistributen
5 years ago
Robin Eklind
4610915124
player: add BUGFIX for CheckNewPath
...
Without this BUGFIX, pathing towards and attacking a hostile
player with player index 0 (through 3) would trigger the speech
dialogue of a corresponding monster 0 (through 3), should they
have speeches activated. Given that the first 4 monster indices
are reserved for Golems, this BUG would trigger if a golem was
killed, and given the incorrect implementation of pseudo delete
of golems in DeleteMonsterList failing to reserve the golem
monster indices, and a new monster was spawned (e.g. by King
Leoric) thus taking a "golem" monster index. Given this scenario,
attacking a player could trigger a speech dialogue (well, that is
if the spawned monsters had speech dialogues activated).
5 years ago
Anders Jenbo
e4cfad3196
♻️ Use points instead of individual fileds for player structure
5 years ago
Gleb Mazovetskiy
00bc7cb302
🧹 GetPlrGFXSize: unordered_set -> direct test
...
The use of `unordered_set` here is a bit gratuitous and doesn't do much
for readability.
5 years ago
qndel
118d480be7
🐛 Fix loading monk block animations
5 years ago
Anders Jenbo
d99522b9a5
♻️ Clean up direction related code
5 years ago
Anders Jenbo
a32ac83090
🎨 cleanup trivial trype comparisons
5 years ago
Anders Jenbo
1e3ed903be
🎨 strip redundant else
5 years ago
Anders Jenbo
aa290b6f63
🎨 Add missing braces
5 years ago
Anders Jenbo
593c6a6f17
🎨 Drop unused param and rename random_ to GenerateRnd
5 years ago
Anders Jenbo
f004c78824
🧹 performance-unnecessary-value-param
5 years ago
Jmgr
1d84156509
Simplify bitshift divisions/multiplications
5 years ago
Anders Jenbo
97d7171123
🔥 Get rid of _ptargx/y
5 years ago
qndel
ec74917cb4
class sounds cleanup
5 years ago
FluffyQuack
4f417d2fdc
Fix to one desync related to player movement (queuing moving after attacking).
5 years ago
Anders Jenbo
a9874d65c1
♻️ Remove SDL types from player header
5 years ago
Anders Jenbo
373f28736f
🎨 Acceptable parts of modernize-*
5 years ago
Anders Jenbo
bb4e1960e7
🎨 modernize-use-nullptr
5 years ago
Anders Jenbo
c89bd9c001
🚨 Fix remaning warnings for clang and gcc
5 years ago