John Törnblom
04269dedcd
add translation macro for msgids defined in the global scope
5 years ago
John Törnblom
51e7a169a6
add initial language support using a simple MO parser
5 years ago
Jmgr
c33182d6de
Modernize deprecated headers
5 years ago
Jmgr
1b7e0d2cb3
Migrate existing log entries
5 years ago
Jmgr
ef0ca794bc
Use system libfmt by default if version >= 7.0.0
...
Allow non-strict ansi functions
Cleanup
5 years ago
Jmgr
af0ea6fdfc
Set Application as the default log category
...
Remove example of logging a container
5 years ago
Jmgr
f3a401b5f6
Add the fmt library as a dependency and add some examples
...
Attempt at fixing missing functions on some platforms
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
d096a85803
🔥 Deduplicate some more drlg code
5 years ago
Anders Jenbo
98cd435fba
♻️ Apply point types to missiles
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
Anders Jenbo
f5012c6b85
🎨 Use feature macro instead of GCC version
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
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