Anders Jenbo
02ca96ba67
Bump Android build chain to the latest from Google to not upset them
3 years ago
staphen
ab1af87bc9
Fix issues with light offset calculation
3 years ago
staphen
98927e7a6e
Sync potion drops from Divine shrine
3 years ago
staphen
69c4fde052
Don't use walk animation as preview frame for standing attack
3 years ago
Gleb Mazovetskiy
999f44cf07
Point: Safer `operator-`
...
1. Require both operands to have the same signedness to avoid surprises.
2. Only allow unary negation on signed points.
Fixes #6409
Also fixes a potential bug in the sound position calculation.
3 years ago
qndel
1b42a17153
dont show hit indicator for 1 player
3 years ago
staphen
21af333d90
Fix missiles passing through enemies on SW/NE diagonal
3 years ago
staphen
36186ca9b5
Don't extrapolate missile position in collision interpolation logic
3 years ago
Stephen C. Wills
94c7e7fc01
Add bounds check to MonsterIdle() to prevent var2 overflow ( #6395 )
3 years ago
Anders Jenbo
64d7af2937
Fix loading new demo files and give better error messages when failing
3 years ago
obligaron
09bc43b0ed
Ensure warp and teleport target position is free
3 years ago
staphen
470c028c17
Make Bucklers available in shareware
3 years ago
staphen
b1711739c6
Immediately drop player who sends invalid player data
3 years ago
staphen
b43a8dc904
Fix empty item slot validation in UnPackNetItem()
3 years ago
obligaron
0eda8d9367
Convert town portal level type to vanilla hellfire logic
3 years ago
Anders Jenbo
b01670e1e4
Correct fields being validated
3 years ago
Eric Robinson
46824261f9
Validate iCreateInfo ( #6377 )
...
Co-authored-by: staphen <staphen@gmail.com>
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
Co-authored-by: Stephen C. Wills <swills@gridprotectionalliance.org>
3 years ago
Gleb Mazovetskiy
9d96eea86b
De-duplicate extra fonts version check code
...
Co-authored-by: Stephen C. Wills <swills@gridprotectionalliance.org>
3 years ago
staphen
22fdeaf2f0
Use JNI to check VERSION file in fonts.mpq
3 years ago
Gleb Mazovetskiy
d6b7949dab
Fonts: Use pre-cropped CLX sprites
...
Built-in font size decreased by 121,587 bytes
(2,287,332 -> 2,165,745).
Fixes #6361
3 years ago
Gleb Mazovetskiy
fee948b9c5
Fix character panel label for CJK
...
We fixed clipping in text rendering between 1.4 and 1.5.
This surfaced a bug in the char panel label height.
3 years ago
staphen
a090ab7d5c
Apply position-based quest completion logic to Single Player
3 years ago
ikonomov
ee91d9ecf5
update arenas
...
Removed the murky pools, simplified the areas and made them accessible without teleport.
3 years ago
Stephen C. Wills
f0f317e685
Log validation errors in UnPackNetPlayer() ( #6363 )
3 years ago
DakkJaniels
ad19caf667
Move hp/mana display and item graphics to gameplay options
3 years ago
Eric Robinson
b835460541
Fix iCreateInfo comment ( #6354 )
3 years ago
ikonomov
db7ca59738
Update discord link in support
3 years ago
Gleb Mazovetskiy
4187a34896
Fix `-Wshift-negative-value`
3 years ago
Gleb Mazovetskiy
6230ab34b6
Fix `-Wunused-result` for `std::fread` calls
...
Check the result of `fread` and friends explicitly rather than
calling `ferror`.
3 years ago
Gleb Mazovetskiy
d8cd147ac7
Re-encode CL2 on load
...
Original Blizzard encoder is slightly less optimal than our encoder.
While size in RAM in less of a concern for the non-`UNPACKED_MPQS`
build, smaller files are faster to render.
Savings for unpacked and minified MPQs:
* diabdat.mpq: 918,311 bytes.
* hellfire.mpq: 313,882 bytes.
Example player graphics (note that only a few are loaded at any given time for single player):
* diabdat/plrgfx/warrior/: 366,564 bytes.
Example monster graphics savings:
* diabdat/monsters/skelbow: 5,391 bytes.
Based on the implementation from https://github.com/diasurgical/devilutionx-graphics-tools/pull/6
3 years ago
Gleb Mazovetskiy
de081b7080
Fix a few compilation warnings
3 years ago
Gleb Mazovetskiy
14ce84b056
Fix CLX outline clipped rendering on the right
...
The actual fix is the diff in `RenderClxOutlineRowClipped`.
The rest is a refactorings that make the code easier to
follow.
Fixes #6199
3 years ago
Anders Jenbo
97ee615a8a
Avoid durability overflow when packing items. ( #6342 )
3 years ago
Anders Jenbo
09595cde5e
Only apply relevant oils in multiplayer
3 years ago
Anders Jenbo
01d2a46a8d
Validate items when unpacking importing
3 years ago
Gleb Mazovetskiy
65fc1008c6
player.cpp: Avoid redundant copies of `PlayerData`
...
Follow-up to #6288
3 years ago
Eric Robinson
2c7704bfe0
Validate Base Life and Mana ( #6289 )
3 years ago
Eric Robinson
a2af3b5942
Refactor CreatePlayer() ( #6288 )
3 years ago
staphen
11e0ccd854
Invoke padmap release handler in menus
3 years ago
staphen
2068d66c85
Stop streaming sfx when exiting the game
3 years ago
staphen
c577b6a6bf
Only warp to Lazarus' chamber when red portal is active
3 years ago
KPhoenix
9dcf264d65
Fix Book requirements not updating from Objects #2
3 years ago
Eric Robinson
5ebedafd83
Fix Book requirements not updating from Objects ( #6316 )
3 years ago
staphen
cc5261fa15
Support for ears in PlayerNetPack
3 years ago
KPhoenix
3354689a5d
Fix Book requirements not updating
3 years ago
Eric Robinson
074a1f2e0c
Rename: Loopback -> Offline ( #6300 )
3 years ago
Anders Jenbo
8e7c29ecd3
Remove unused player property _pISplDur
3 years ago
staphen
c2814088d2
Add fields to PlayerNetPack for validation
3 years ago
Anders Jenbo
ad7020be20
Change syntax for optional and required arguments to match various CLI tools
3 years ago
obligaron
8832c26955
Fix PoolFix() to always replace dirt ceiling tiles if they are adjacent to a ground lava tile ( #6266 )
3 years ago