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
613c54496d
player.h: change comment styles (doxygen)
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
Anders Jenbo
433fc9fa8d
💚 Packport std::clamp for pre GCC 7.1
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
a5f062b747
🎨 Use stdint instead of SDL types
5 years ago
Anders Jenbo
72ad648e9a
♻️ Cleanup some min/max/clamp logic
...
Apply suggestions from code review
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
Co-authored-by: thebigMuh <81810641+thebigMuh@users.noreply.github.com>
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
thebigMuh
281533e82d
This fixes exclusively the panning bug, where after a certain distance is exceeded, sound samples get played without panning.
5 years ago
Anders Jenbo
d99522b9a5
♻️ Clean up direction related code
5 years ago
Anders Jenbo
4b4d757514
🐛 Update drop position
5 years ago
Anders Jenbo
e9fe8e986d
♻️ Deduplicate DRLG_LPass3
5 years ago
Anders Jenbo
e2aa3d1c57
♻️ Deduplicate LineClear
5 years ago
Anders Jenbo
f20828706e
♻️ Deduplicate PutItem
5 years ago
Anders Jenbo
235d6f6d06
♻️ Deduplicate fireball
5 years ago
Anders Jenbo
8fa0612433
🐛 Fix loading chosen hero
5 years ago
Anders Jenbo
a32ac83090
🎨 cleanup trivial trype comparisons
5 years ago
Anders Jenbo
bd389e9ef6
♻️ Clean up bool logic in engine.cpp
5 years ago
Anders Jenbo
69a70b77f8
🚚 Move enum_traits.h to utils
5 years ago
Anders Jenbo
cc164985a3
🎨 Correct type checks in src sub-folder
5 years ago
Anders Jenbo
41f35840af
🐛 Fix size of m_game_data
5 years ago
Gleb Mazovetskiy
a043aa4dd8
GetSFXLength: Respect streaming flag ( #1640 )
5 years ago
Trihedraf
cfd63a9ad0
Fix SDL1 Builds
5 years ago
Anders Jenbo
2969b80163
🎨 Run readability-identifier-naming on all src sub-folders
5 years ago
Anders Jenbo
def7ba5a50
🎨 readability-convert-member-functions-to-static
5 years ago
Anders Jenbo
191d98207b
🎨 readability-identifier-naming on DiabloUI
5 years ago
Anders Jenbo
1e3ed903be
🎨 strip redundant else
5 years ago
Anders Jenbo
c9af65affe
🎨 Use empty instead of size to check for empty lists
5 years ago
Anders Jenbo
aa290b6f63
🎨 Add missing braces
5 years ago
Anders Jenbo
d392f70509
🎨 Do not pass item lists by value
5 years ago
Anders Jenbo
7c054bc005
🎨 push_back -> emplace_back
5 years ago
Anders Jenbo
664e888cdd
🎨 Remove double negatives
5 years ago
Anders Jenbo
8cb2f9ff61
🧹 Add define for chance a wall is added to the dungeon
5 years ago
Anders Jenbo
251dce6c89
🧹 Use empty to check if vector is empty
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
Anders Jenbo
e3e8b4b4f0
🧹 llvm-include-order
5 years ago
Anders Jenbo
d846a30157
🧹 acceptable parts of bugprone-*
5 years ago
Anders Jenbo
d024f79b0e
🧹 performance-unnecessary-value-param
5 years ago
Anders Jenbo
ec166c8214
🧹 performance-move-const-arg
5 years ago