7836 Commits
Author SHA1 Message Date
Anders Jenbo 1616318bb1 Bump version to 1.5.1 2023-09-01 22:54:19 +02:00
ephphatha bd8aab0aff handle stash item swapping using the gamepad a bit better 2023-09-01 15:26:52 +02:00
ephphatha c85fcbdfb1 fix cursor alignment following gamepad movement in stash
align the cursor to the middle of the cell/region when moving through the stash to match the way we simulate mouse movement for inventory cells
2023-09-01 15:26:52 +02:00
ephphatha 0d292b10c4 Move to the first inventory column from the left hand while holding wide items 2023-08-31 15:53:43 +02:00
ephphatha 070a11901f Fix handling of gamepad cursor movement following item cursor change 2023-08-31 15:53:43 +02:00
Eric Robinson d4682082e2 Add duration parameter to InitDiabloMsg() (#6514) 2023-08-31 08:03:46 +02:00
Eric Robinson e3d79ae1c1 Fix automap (#6513) 2023-08-29 13:43:13 +02:00
staphen 4deae11871 Fix PlayerNetPack validation and tests 2023-08-27 21:34:38 +02:00
Eric Robinson 9995c00323 Validate Item Locations (#6427) 2023-08-27 18:22:24 +02:00
ephphatha fb97eb7114 Clean up hit detection for inventory slots when pasting large items 2023-08-27 18:16:04 +02:00
ephphatha dd296d25e0 Find the closest point when pasting items on the edge of the stash 2023-08-27 18:11:44 +02:00
Stephen C. Wills 45dbe6aa61 Shift software cursor graphic and remove special casing (#6512) 2023-08-26 16:45:36 +02:00
Anders Jenbo c91e69384a Revert "Fix cursor jitter when clicking inv items (#6510)"
This reverts commit 2a393397a1.
2023-08-26 04:00:38 +02:00
Eric Robinson 2a393397a1 Fix cursor jitter when clicking inv items (#6510) 2023-08-26 01:27:48 +02:00
KPhoenix 00e8d8d75b Add Save Game confirmation 2023-08-26 01:10:27 +02:00
Eric Robinson 9277aa72de Fix Floating Numbers after death (#6505) 2023-08-26 01:06:10 +02:00
KPhoenix cb5537083d Fix right click during dialogue 2023-08-26 01:05:05 +02:00
Stephen C. Wills 7b06703842 Add tests for net player validation (#6492) 2023-08-21 00:18:03 +02:00
Anders Jenbo 02ca96ba67 Bump Android build chain to the latest from Google to not upset them 2023-08-19 21:41:23 +02:00
staphen ab1af87bc9 Fix issues with light offset calculation 2023-08-17 11:07:28 +02:00
staphen 98927e7a6e Sync potion drops from Divine shrine 2023-08-12 20:17:14 +02:00
staphen 69c4fde052 Don't use walk animation as preview frame for standing attack 2023-08-12 18:47:55 +02:00
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.
2023-08-11 22:58:44 +01:00
qndel 1b42a17153 dont show hit indicator for 1 player 2023-08-05 16:22:56 +02:00
staphen 21af333d90 Fix missiles passing through enemies on SW/NE diagonal 2023-08-04 18:38:05 +02:00
staphen 36186ca9b5 Don't extrapolate missile position in collision interpolation logic 2023-08-03 06:52:41 +02:00
Stephen C. Wills 94c7e7fc01 Add bounds check to MonsterIdle() to prevent var2 overflow (#6395) 2023-07-26 21:48:02 +02:00
Anders Jenbo 64d7af2937 Fix loading new demo files and give better error messages when failing 2023-07-24 02:45:26 +02:00
obligaron 09bc43b0ed Ensure warp and teleport target position is free 2023-07-21 14:23:49 +02:00
staphen 470c028c17 Make Bucklers available in shareware 2023-07-21 04:19:34 +02:00
staphen b1711739c6 Immediately drop player who sends invalid player data 2023-07-20 05:44:19 +02:00
staphen b43a8dc904 Fix empty item slot validation in UnPackNetItem() 2023-07-20 02:38:42 +02:00
obligaron 0eda8d9367 Convert town portal level type to vanilla hellfire logic 2023-07-18 23:39:23 +02:00
Anders Jenbo b01670e1e4 Correct fields being validated 2023-07-17 04:23:22 +02:00
46824261f9 Validate iCreateInfo (#6377)
Co-authored-by: staphen <[email protected]>
Co-authored-by: Anders Jenbo <[email protected]>
Co-authored-by: Stephen C. Wills <[email protected]>
2023-07-17 04:17:26 +02:00
Gleb MazovetskiyandStephen C. Wills 9d96eea86b De-duplicate extra fonts version check code
Co-authored-by: Stephen C. Wills <[email protected]>
2023-07-16 06:02:19 +02:00
staphen 22fdeaf2f0 Use JNI to check VERSION file in fonts.mpq 2023-07-16 06:02:19 +02:00
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
2023-07-16 06:02:19 +02:00
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.
2023-07-16 09:49:18 +09:00
staphen a090ab7d5c Apply position-based quest completion logic to Single Player 2023-07-16 00:02:06 +02:00
ikonomov ee91d9ecf5 update arenas
Removed the murky pools, simplified the areas and made them accessible without teleport.
2023-07-15 02:23:01 +02:00
Stephen C. Wills f0f317e685 Log validation errors in UnPackNetPlayer() (#6363) 2023-07-14 20:07:42 +02:00
DakkJaniels ad19caf667 Move hp/mana display and item graphics to gameplay options 2023-07-14 03:12:29 +02:00
Eric Robinson b835460541 Fix iCreateInfo comment (#6354) 2023-07-13 12:53:00 +02:00
ikonomov db7ca59738 Update discord link in support 2023-07-13 05:24:53 +02:00
Gleb Mazovetskiy 4187a34896 Fix -Wshift-negative-value 2023-07-13 04:23:25 +01:00
Gleb Mazovetskiy 6230ab34b6 Fix -Wunused-result for std::fread calls
Check the result of `fread` and friends explicitly rather than
calling `ferror`.
2023-07-13 04:23:25 +01:00
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
2023-07-13 01:44:16 +01:00
Gleb Mazovetskiy de081b7080 Fix a few compilation warnings 2023-07-12 12:35:06 +01:00
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
2023-07-11 09:08:51 +01:00