ephphatha
32d397eb2a
Add max_size checks when adding missiles to allow for limited size containers
...
This doesn't handle failed allocations (e.g. if the platform runs out of memory) but makes it easier to use a fixed size container on limited memory devices.
4 years ago
ephphatha
d3c42544a6
Address warnings/dead code
4 years ago
staphen
ca93d852d2
Fix comparison checking for invalid quest state in DeltaSyncJunk
4 years ago
Trihedraf
cf15e2cdc7
Improve Visual Studio Instructions
4 years ago
staphen
dcb376d284
Fix blinking when position desyncs during E/W movement
4 years ago
obligaron
c68eeb25cc
Add additional missiles to save game
4 years ago
obligaron
234a053863
Change Missiles Array to std::list
4 years ago
obligaron
a45eca5d40
Remove unused ChainStruct
4 years ago
obligaron
0ed8c941de
Replace FindParent and use of var4 to identify parent with pParent member in AddMissileParameter
4 years ago
obligaron
1aabcf295b
Add AddMissileParameter
4 years ago
obligaron
ed5a3b3dcb
Remove SyncPositionWithParent
4 years ago
KPhoenix
707d8a1379
Mana Shield 1.07 bugfix revision
...
This is a bugfix for the vanilla 1.06 and earlier Mana Shield logic. In 1.07 Blizzard North "fixed" the Mana Shield logic since the damage reduction would decrease in effectiveness with increased spell level instead of increase. As a fix, they set the damage reduction to a flat value regardless of spell level. Originally, damage reduction started at 1/3 and capped at 1/21 at spell level 7. This fix reverses the order and gives 1/21 damage reduction at spell level 1, and caps at 1/3 damage reduction at spell level 7.
4 years ago
M0Rf30
85ea90c2c4
Update Italian localization
4 years ago
egonzalez
f0ad46066c
Add missing translations
4 years ago
staphen
eea5a94ab3
Don't sync position on dead monsters
4 years ago
ephphatha
3bc2eb8471
Use ObjectAtPosition when highlighting from gamepad movement
4 years ago
ephphatha
5c4f6d80e8
Use Point/range iterator in FindItemOrObject
...
This addresses a todo comment, though not in the way that was originally intended as we no longer use Direction::Omni
4 years ago
ephphatha
fb21ffb635
Define a column major iterator for code requiring that iteration order.
...
GCC and specifically GCC6 really don't like inheriting common code, requires redefining almost everything.
4 years ago
ephphatha
8a0f81ec12
Pass regionId to TFit_Obj3 to extract reference to themes global
4 years ago
ephphatha
3e991fc9a8
Use Point/range iterator in CheckThemeObj3
...
This does introduce a slight behaviour difference for some callers. It was possible to read out of bounds due to the bounds check only guarding against negative indexes (e.g. Theme_Library uses 1, MAXDUN - 1 as the bounds, but Theme_ArmorStand includes boundary tiles so could read off the right/bottom edge). Given the way vanilla levels are generated with a border this has no impact in practice.
4 years ago
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
1ca5e5681b
Added UWP to appveyor.yaml ( #3959 )
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
Gleb Mazovetskiy
8ce55bab6c
tools/build_and_install_smpq.sh: Bump StormLib
...
Includes
a5ef7a850a ,
which should fix issues on some platforms. Refs #3930
4 years ago
staphen
5b21e0188f
Fix order of operations during game initialization
4 years ago
Gleb Mazovetskiy
0287faeb13
Work around MSVC+CMake+LTO bug
...
Disables tests in MSVC LTO configurations. Refs #3778
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