Cyro Dubeux
ffa9c87904
PT-BR Translation ( #722 )
5 years ago
M0Rf30
24c190017c
Introducing Italian translation
5 years ago
muzena
a1b4a371e7
Add Croatian translation
5 years ago
Anders Jenbo
3f30b8db60
Add Danish translation and switch to IETF instead of ISO 639-1 codes
5 years ago
John Törnblom
b86743db25
add translation macros to the main menu
...
translate all strings in the main menu
5 years ago
John Törnblom
b4d0503499
add optional cmake target that compiles a Swedish translation of the main menu
...
sync Swedish translation with source code and add missing translations
5 years ago
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
Jonathan Mercier-Ganady
340d111963
Download an archive of fmt instead of cloning it
...
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
5 years ago
Jonathan Mercier-Ganady
bc8f586893
Fix cmake_dependent_option dependency
...
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
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
eb3d8f05e5
add more comments to unittest
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
f51759b827
Include UnitTests
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
Gleb Mazovetskiy
7e9ef03334
🔨 CMake MinGW: Set pkgconfig path and fix prefix
...
1. Make CMake use MinGW's pkgconfig wrapper.
2. Set the correct `prefix` in `pkgconfig` files.
5 years ago
Gleb Mazovetskiy
4f31703b73
🔨 CMake Vita: Set pkgconfig path and fix prefix
...
1. Make CMake use VitaSDK's pkg-config wrapper.
Fix sent upstream: https://github.com/vitasdk/vita-toolchain/pull/182
2. Work around broken `prefix` in `pkgconfig` files:
https://github.com/vitasdk/vdpm/issues/69
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