Anders Jenbo
916a12ff3d
🐛 Fix missing sounds
...
When playing the same sound twice with in a short duration then the
sound it self, the secound request would go unfulfilled. The solution is
to simply rewind the stream pointer before requesting a playback.
5 years ago
Anders Jenbo
ff1bcb0d03
♻️ Clean up ItemDoppel
5 years ago
Anders Jenbo
bd515ac75d
♻️ Apply Point equality operator
5 years ago
Vladimir Olteanu
ebd57e4bc6
Operators for Point: +, -, +=, -= ( #1739 )
5 years ago
Xadhoom
b4f2beed6d
Network fixes suggested by glebm
5 years ago
qndel
0af36dc416
rename upper->uper
5 years ago
obligaron
401a820998
Rename GameTick to Tick (for variables)
5 years ago
obligaron
26601c98dc
Simplify GetFrameToUseForRendering (remove local variables and use member variables)
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
0414871265
Cleanup VerifyGoldSeeds
5 years ago
thebigMuh
f41fdedbc7
🐛 [hellfire] Fix missing braziers in crypt (causing instability)
...
- Crypt candles (braziers) around the storybook were occasionally missing
- Marked OFILE_CANDLE2 to load for all levels 1 through 12, so it is always loaded for crypt as well
- Made search for object graphics a bit more secure, as in the bugged case it would run off past the end of an array
5 years ago
Anders Jenbo
48dbb47d70
🌐 Apply static translations
5 years ago
Vladimir Olteanu
bea21a5e20
Replace LOAD_LE32 & LOAD_BE32 with signedness- and endian-agnostic equivalents
5 years ago
Ivan Epifanov
e9d4c85fab
Remove vita workaround
5 years ago
Xadhoom
6c4bad0af1
ZeroTier networking fixes
5 years ago
Vladimir Olteanu
4d5b9ac023
Coding style changes for dead.h, dead.cpp
5 years ago
Vladimir Olteanu
2a3cf98850
Slight cleanup of dead{.h,.cpp}
5 years ago
Gleb Mazovetskiy
144dd6cd93
♻️ engine.cpp: Minor cleanup in draw functions
...
1. Introduce a couple of constants.
2. Extract a helper function for getting the light table pointer.
5 years ago
Gleb Mazovetskiy
0dd9aeea69
♻️ Cleanup DISABLE_STREAMING_MUSIC handling
...
Extracts `LoadMusic` and `CleanupMusic` functions.
5 years ago
qndel
bdf4b848a9
🐛 Fix queuing operating object when clicking during attack ( #1678 )
5 years ago
Anders Jenbo
5517bb05bd
✏️ Correct name of Black Jade
5 years ago
Anders Jenbo
e3526a5ff6
🌐 Convert all src to UTF8
5 years ago
Anders Jenbo
187d547fb8
🌐 Remove unused string from the translation list
5 years ago
Gleb Mazovetskiy
4b7409a8bf
🎶 Loop the music
...
Follow-up to #1651
5 years ago
Gleb Mazovetskiy
46a5dc147b
🔨 Restore GCC 5 compatibility
...
We can support this much older compiler with just these few minor
changes.
5 years ago
Gleb Mazovetskiy
7a1d3100ec
🎨 Fix line endings in Source/dvlnet/zerotier*
5 years ago
Mathieu Maret
8d8711a966
Apply static menu translations ( #1728 )
5 years ago
Gleb Mazovetskiy
ff03f932bf
Add messages to `static_assert`
...
Single-argument version is allegedly not supported by GCC < 9.1, though
it seemed to work fine.
https://www.gnu.org/software/gnulib/manual/html_node/assert_002eh.html
5 years ago
thebigMuh
5f288cbd43
Fixes small AC malus of less than 1 resulting in a bonus of 1 AC
5 years ago
Gleb Mazovetskiy
2f9e5f9d28
⚙️ Show FPS option
...
On some platforms, editing command-line flags is difficult.
This adds a `Show FPS` option to the ini file.
If set, FPS is shown even without the `-f` flag.
5 years ago
Gleb Mazovetskiy
acee2ef14c
🎉 Switch from SDL_mixer to SDL_audiolib
...
SDL_mixer can only stream a single music track
SDL_audiolib has unlimited streams.
With this change, we finally have streaming sounds (respecting
sfx_STREAM).
Audio options can now also be set via diablo.ini, which should help us
better diagnose the static noise issues.
5 years ago
Gleb Mazovetskiy
961047ca9e
🐞 Joystick::IsHatButtonPressed should not be static
...
Follow-up to def7ba5a50
5 years ago
Jmgr
17c85814bf
Fix a few remaining C-style format in Log calls
5 years ago
thebigMuh
ad8f342db0
Adding constness
5 years ago
obligaron
a2a54dec34
Remove AnimLenFromClass
5 years ago
thebigMuh
7ce3957a8a
Split of QoL features into separate files
5 years ago
Yuri Pourre
1ec46931e1
Add blacksmith's missing transcriptions ( #1203 )
5 years ago
Gleb Mazovetskiy
83292c8e67
♻️ Fix -Wunused-variable in pfile.cpp
5 years ago
obligaron
a3229741d1
🖌️ Refurbish tables in source code (clang-format off)
5 years ago
Anders Jenbo
93e42b9b8c
🌐 Add missing translation string
5 years ago
Jmgr
d4f62870b8
Remove globals from paths.h
...
Fix for Vita
Update to use free functions
Use std::optional to allow setting empty paths
Change header inclusion order
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
Use std::optional to allow setting empty paths
Apply clang-format
Temporary commit
5 years ago
Jmgr
2b672289e1
Fix optional being in experimental/ with some compilers
5 years ago
Anders Jenbo
b69d18f12d
🌐 Enable translation of all remaning strings
5 years ago
John Törnblom
e0dddf508a
Add automatically translated string literals ( #1694 )
5 years ago
Gleb Mazovetskiy
807d8528b1
🐞 Fix fmt includes "" -> <>
5 years ago
Gleb Mazovetskiy
c49de0b5f1
🎨 Source/utils/log.hpp: Fix newlines
5 years ago