ephphatha
4eec1bd40c
Refactor trap target loop to use range iterator
4 years ago
ephphatha
c4c664c6be
Add class to allow iterating over all points in a rectangle
...
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
4 years ago
ephphatha
c1c56c111f
Handle runtime_errors thrown by std::locale constructor
...
Appears some implementations don't support unknown locales and throw errors instead, causing the language detection to error and not complete.
4 years ago
Robin
b2a623f229
msg: add documentation of cmd_id enum ( #3960 )
4 years ago
Felipe Wannmacher
6e32bf9794
changed spell circle ui ( #3963 )
4 years ago
staphen
e0a3c553b4
Add window focus logic for SDL1
4 years ago
staphen
6418d7a2f0
Detect window focus state to mute automatically when starting audio
4 years ago
staphen
a7bca3a1ec
Extend window focus mute to cinematic audio
4 years ago
staphen
470c8c47f4
Force unpause when window focus gained in UI menus
4 years ago
staphen
f085aa1aad
Use mute()/unmute() instead of setVolume()
4 years ago
Felipe Wannmacher
8efbcf2058
Xbox One/Series support ( #3946 )
4 years ago
KPhoenix
b01d939d29
Fix LArrow Behavior
...
Fixes collision detection for the fire/lightning sprite that causes element base damage on collision with players and monsters, and removed Damage Mod on items from changing elemental damage.
4 years ago
staphen
b85485b8f3
Resolve game crash when syncing Diablo items in Hellfire games
4 years ago
obligaron
6d7334886d
Fix preview frame when player can't walk to desired location
4 years ago
KPhoenix
e0cd19c011
Fix death animation frames for Warrior/Barbarian ( #3954 )
4 years ago
KPhoenix
34266ff4c7
Show correct death animation ( #3953 )
...
Shows death animation based on what armor you are wearing while dying. Dropping items on death results in showing light armor animation.
4 years ago
obligaron
b3a9760bda
Keymapper: Add mouse support
4 years ago
obligaron
2843d99485
Fix walk stuttering with Preview Frame
4 years ago
staphen
5b21e0188f
Fix order of operations during game initialization
4 years ago
staphen
597cde8ff2
Fix item cursor graphic used when generating Rogue's reward from the Slain Hero quest
4 years ago
obligaron
aaeee3018f
Add Item Highlighting, Screenshot, Pause, Automap and Hide Info Screens Actions to KeyMapper
4 years ago
obligaron
be943df46e
Keymapper: Add key released support
4 years ago
obligaron
75760382ef
Regard preview frame in AnimationInfo
4 years ago
obligaron
a7f361de41
AnimationInfo: Change TicksSinceSequenceStarted and relevantAnimationTicksWithSkipping to float
4 years ago
obligaron
35dc64312e
Show preview CelSprite for player actions (Introduce PlayerStruct.pPreviewCelSprite and UpdatePreviewFrame)
4 years ago
obligaron
7b535d886e
Make LoadPlrGFX check if graphics are already loaded
4 years ago
obligaron
5b9f0f4aaa
Introduce GetPlayerGraphicForSpell
4 years ago
obligaron
ac0bd7bb58
DrawPlayer: Calculate Width2 later
4 years ago
Stephen C. Wills
7525193a9f
Calculate Fireball missile damage in collision logic
...
Co-authored-by: Andrew James <ephphatha@thelettereph.com>
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
4 years ago
SoundChaser83
a7041bb435
Fix Torchant and Hellbat damage range being ignored
...
Monsters like weren't using their min/max damage from the monster data table to determine Fireball damage
4 years ago
SoundChaser83
b52724a15e
Fix monster damage potentially being off by 63/64th
...
Monster damage values from melee/missile hits could potentially add or subtract up to 63/64ths of damage over and above a monster's usual damage range
Co-authored-by: Stephen C. Wills <staphen@gmail.com>
4 years ago
ephphatha
8bf05571a1
Dedupe code which determines how much life/mana to restore for potions
...
This is very similar to the code used when casting heal other, except for how the amount to heal is chosen. Could potentially reuse it there as well with a bit of work.
4 years ago
Andrew James
d3aedf5df1
Split loading of MPQs to handle translations and voice packs ( #3922 )
4 years ago
Andrew James
8fa04ce651
address performance-unnecessary-value-param
...
clang-tidy warns about the unnecessary copy for these params
Could also potentially use std::make_unique if the Action constructor wasn't declared private?
4 years ago
staphen
aeddbb7f98
Reset game info after failing to join game
4 years ago
Gleb Mazovetskiy
c43aead8d1
Cleanup Diablo-SHA and codec.cpp
...
1. Switches to 32-bit based calculation throughout. This is faster and
less error-prone as we only byte-swap once when reading and writing.
2. Removes global state from Diablo-SHA implementation.
4 years ago
Gleb Mazovetskiy
9c084dcb29
codec.cpp: Fix alignment and endianness issues
4 years ago
obligaron
150a4edfdb
Settingsmenu: Use two lines if text doesn't fix in one line
4 years ago
obligaron
1fc40aa211
DiabloUI: Fix Handling of UiFlags::NeedsNextElement
4 years ago
obligaron
a6842e7340
Reorder options in settingsmenu
4 years ago
Gleb Mazovetskiy
e12adf689e
Fix windows build
4 years ago
obligaron
5861340925
ZeroTier Submenu: Show "Loading..." info for public games and display if none are found
4 years ago
obligaron
0888546d62
Make DvlNet_SendInfoRequest non blocking
4 years ago
KPhoenix
02dc1f193e
Cleanup missiles.cpp ( #3883 )
4 years ago
KPhoenix
8e6433f400
Enable Dungeon Messages in Multiplayer ( #3872 )
...
* Enable Dungeon Messages in Multiplayer
4 years ago
staphen
9b32c8d541
Update libzt to the latest version
4 years ago
ephphatha
6a1091ce09
Rename Korean/Romanian translation files so they are used in fallback resolution
4 years ago
Anders Jenbo
2e0a73e967
Disable stand button when in town
...
Fixes #3290
4 years ago
ephphatha
14aeeaa24d
Don't count invalid items as active items
4 years ago
ephphatha
5fa0dfbc28
Skip loading item locations from file
...
It's safer and easier to rebuild this as we load each item.
4 years ago