Austin Wagner
1b5b8e3ef1
Fix manual gold stacking when max is modified
...
Affects dragging and dropping gold in inventory and gaining gold via
purchases when the Auric Amulet is equipped
5 years ago
Anders Jenbo
eb45544f84
🐛 Fix gold pickup still working the old way in Diablo
5 years ago
Juliano Leal Goncalves
bcf63dfc1a
🐛 Allow shift+click to equip weapons on monk
5 years ago
FluffyQuack
c0f57f3020
🐮 Draw outline for color in index 0 for inventory icons. ( #1318 )
5 years ago
Anders Jenbo
bba73ea20f
✨ Handle mixed item origins in multiplayer
5 years ago
Anders Jenbo
c659afa9d6
🐛 [hellfire] Fix "0 gold" sometimes spawning on the corner stone
5 years ago
Anders Jenbo
ca2c2ba5e7
🚨 Handle a bunch of warnings from CLang
5 years ago
Anders Jenbo
bb7d0368d0
🐛 Correctly initialize empty objects
5 years ago
Anders Jenbo
2362ff82f7
✨ Add black text color
5 years ago
Juliano Leal Goncalves
800dbce066
♻️ Move options-related structs to new 'options.h' file
5 years ago
Anders Jenbo
38fdf34c14
💄 Apply code style
5 years ago
Anders Jenbo
1d537e0a93
🚨 Add missing cases to most switches
5 years ago
Gleb Mazovetskiy
70d1d633bd
Get rid of SCREEN_X / SCREEN_Y
...
GlobalOutputBuffer() now returns a clipped subregion
5 years ago
Gleb Mazovetskiy
cd59a1c323
Completely replace gpBuffer with CelOutputBuffer
...
`CelOutputBuffer` now contains an `SDL_Surface` and an `SDL_Rect`.
We now have access to SDL surface manipulation functions.
`gpBuffer` and `gpBufEnd` are completely gone 🧹
This results in some FPS loss (250 -> 195) recovered in a subsequent
commit.
5 years ago
Gleb Mazovetskiy
764781e111
Migrate InvDrawSlotBack away from gpBuffer
5 years ago
Juliano Leal Goncalves
95ae8fd5c6
✨ Autoequip items on purchase
5 years ago
Juliano Goncalves
53e1d6b50d
✨ Equip & unequip items with shift click.
5 years ago
Juliano Goncalves
68de2388cb
♻️ Leverage C++ references in 'CheckInvCut'
5 years ago
Juliano Goncalves
8166dfa137
♻️ Generalize 'moveToFromBelt' variable name to 'automaticMove'
...
This will allow better reuse of this flag for new behavior.
5 years ago
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