Juliano Goncalves
fc1d9b684f
✨ Allow shift+click moving to inventory
5 years ago
Juliano Goncalves
5287d6e329
✨ Allow shift+click moving to belt
5 years ago
Juliano Goncalves
15f48da070
♻️ Extract function for inventory placement logic
5 years ago
Juliano Goncalves
a7cd58e670
♻️ Reuse belt logic inside 'AutoGetItem'
5 years ago
Anders Jenbo
d6ec6395e0
♻️ change QuestTalkData in to an array of _speech_id
...
This gets rid of casting QuestTalkData to DWORD/int in various parts of
the code.
5 years ago
Juliano Leal Goncalves
6ec679319e
🚩 Add ini toggle for auto-equip item sounds. Disabled by default.
5 years ago
Juliano Leal Goncalves
d67cfe1cca
✨ Play item sound on auto-equip
5 years ago
Juliano Leal Goncalves
103cde53ff
♻️ Make options struct hierarchical
5 years ago
Juliano Leal Goncalves
eef97eaabb
🚩 Add ini toggle for auto-equipping jewelry. Disabled by default.
5 years ago
Juliano Leal Goncalves
8bf5ef131e
🚩 Add ini toggle for auto-equipping shields. Disabled by default.
5 years ago
Juliano Leal Goncalves
08eff92412
🚩 Add ini toggle for auto-equipping helms. Disabled by default.
5 years ago
Juliano Leal Goncalves
70db53644e
🚩 Add ini toggle for auto-equipping armor. Disabled by default.
5 years ago
Juliano Leal Goncalves
b8a6e0ebfe
🚩 Add ini toggle for auto-equipping weapons. Enabled by default.
5 years ago
Juliano Leal Goncalves
08ffaa978c
♻️ Extract 'ItemStruct.isEquipment' method
5 years ago
Anders Jenbo
1284333765
♻️ Use explicit types and remove globals from save file logic
5 years ago
Andi
7368778cb2
Remove items dropping before entering level ( #1010 )
5 years ago
Juliano Leal Goncalves
5862451e3b
✨ Autoequip all items on pickup
...
Extend behavior of weapons to all items types except for Monk, which will still not auto-equip weapons.
5 years ago
Gleb Mazovetskiy
9ca1fd8996
Migrate `CelBlitOutline` to `CelBlitOutlineTo`
5 years ago
Gleb Mazovetskiy
242341c0b3
Migrate `CelClippedDraw` to `CelClippedDrawTo`
5 years ago
Gleb Mazovetskiy
2f68e8e74e
Migrate `CelDrawLightRed` to `CelDrawLightRedTo`
5 years ago
Gleb Mazovetskiy
88bf59f355
Migrate `CelClippedBlitLightTrans` to `CelClippedBlitLightTransTo`
5 years ago
Gleb Mazovetskiy
b43325028f
Migrate `CelDraw` to `CelDrawTo`
5 years ago
Juliano Leal Goncalves
37466890e0
♻️ Extract 'ItemStruct.isEmpty()' function
5 years ago
Gleb Mazovetskiy
d55a1c8a7d
Pass CelOutputBuffer to game text printing ( #1095 )
...
* Pass CelOutputBuffer to game text printing
* DrawHalfTransparentRectTo: minor cleanup
5 years ago
Anders Jenbo
ee3cbdc6ee
🐛 Clear item before reusing it in all cases
...
This will undoubtly also fix some issues with original items contaning
garbage data that could lead to morphing
5 years ago
Anders Jenbo
a85ffabc25
Fix Monk inventory in release versions of the game
...
Fixes #1081
5 years ago
Gleb Mazovetskiy
0a6640397b
Fix two-handed weapons in inventory
...
Fixes #1070
Follow-up to #964
5 years ago
Juliano Leal Goncalves
68f31ef0f6
🐛 Block buying "red" consumables with full inventory
5 years ago
Juliano Leal Goncalves
3de338e5b6
♻️ Pass item referece on SpecialAutoPlace
...
This simplifies and decouples the logic for determining the size of the
item from ambient variables and makes the function easier to use.
5 years ago
Anders Jenbo
f87bc0ca8b
Clea up some duplicate item code
5 years ago
Gleb Mazovetskiy
8283f85e24
Engine: Functions to render to any buffer
...
Refactor the rendering functions to allow rendering to any output
buffer.
New functions that accept a buffer have the `To` suffix.
The functions that render to the global buffer now always accept
coordinates.
5 years ago
Anders Jenbo
70ca20b59f
Clean up Hellfire special cases
5 years ago
Anders Jenbo
60d3e9ceb1
Clean up rendering
5 years ago
Anders Jenbo
772d51c126
[diablo] Fill gold stacks before creating new ones
...
Before if you had a stack of 4990 and picked up 12 gold you would end up
with one of 4990 and one of 12. Now you will have one of 5000 and one of
2.
5 years ago
qndel
ab9911064f
unify checks for single and multiplayer
5 years ago
Anders Jenbo
7d39c4c9d1
Remove checks for duplicate items
...
- We fixed the normal way of duplicating items.
- Legit items can be seen as duplicates in some instances.
- It doesn't fix the issue since the player has to drop both for it to
trigger.
5 years ago
Anders Jenbo
c08a10e44b
Unify calculation of gold icon
5 years ago
pionere
78f1cae1e3
fixed memory corruption when using an item
5 years ago
Juliano Goncalves
a6eb92c185
Remove item persistence from 'inv.SpecialAutoPlace'
...
The 'saveFlag' argument used for persisting the changes into the
inventory is never leveraged on this function: all existing consumers
provide 'FALSE'. It was probably a copy-paste leftover from the
standard 'AutoPlace'.
5 years ago
galaxyhaxz
fcb7873d06
Fix quest items from previous games breaking dungeon
5 years ago
Anders Jenbo
247d7497ce
Unify item sync code
5 years ago
Anders Jenbo
9894bffc95
Unify another chunk of Hellfire code
5 years ago
Anders Jenbo
c3b4b5193f
Unify a chunk of Hellfire code
5 years ago
Anders Jenbo
00e3ff08ae
Unify majorty of monster.cpp
5 years ago
Anders Jenbo
8c261d0966
Merge remaning clean Hellfire code paths
5 years ago
Anders Jenbo
ba484f5a7e
Deduplicate GoldAutoPlace
5 years ago
Anders Jenbo
01590d3757
Merge a section of the Hellfire item and quest code
5 years ago
Anders Jenbo
e609e170d0
Merge a large chunk of Hellfire the code paths
5 years ago
Anders Jenbo
a2a3729491
Enable loading hellfire games form main menu
5 years ago
Anders Jenbo
d20eddf48e
Unifcy a chunk of Hellfire's code pathts
5 years ago