Bernd Stellwag
f1a0aa3b49
Replace broken link with @see annotation to text representation of the linked image
4 years ago
Yuri Pourre
7d74336e6b
Enhance ctrl + drop
5 years ago
ephphatha
4198a19787
Remove debug assert after picking up an item
...
Doesn't really do anything useful. If the target position doesn't contain an item on the local client the code looks for a matching dropped item and tries to pick that up instead. It doesn't really make sense to assert that an item exists at the target position or that it matches, a desync has already happened by this point if the checks on lines 1647 or 1649 are false.
5 years ago
Anders Jenbo
31ba8e2bc6
Validate additional network messages
5 years ago
Yuri Pourre
b8450dc792
Assign ctrl to drop items
5 years ago
obligaron
24c5ee8bd2
Draw belt item number for unusable scrolls
5 years ago
Gleb Mazovetskiy
ec13c333a9
Refactor: Use item iterators for scroll checks
...
Refs #2586
5 years ago
qndel
70dc796287
proper fix
5 years ago
qndel
81199b14af
fix wrong armor display in multiplayer
5 years ago
Anders Jenbo
7771a08d03
Translatable mainpanel
5 years ago
Juliano Leal Goncalves
379a27b64a
♻️ Convert 'ItemType' enum to enum class
...
🎨 Rename 'ItemType' elements to enum class standards
5 years ago
Juliano Leal Goncalves
e39b33971f
♻️ Leverage 'IsAnyOf'
5 years ago
Juliano Leal Goncalves
094f308d22
🐛 Use 'Spell' instead of 'RSpell' for clearing used staff charges
...
Readied spell can be swapped to something else in between the cast and the hit frame, resulting in incorrect removal.
This is how currently belt and inventory scrolls are checked so we are now using a consistent strategy.
5 years ago
Juliano Leal Goncalves
776a3d4e84
🐛 Use 'Spell' instead of 'RSpell' for clearing used inventory scrolls
...
Readied spell can be swapped to something else in between the cast and the hit frame, resulting in incorrect removal.
This is how currently belt scrolls are checked so we are now using a consistent strategy.
5 years ago
ephphatha
b12de6fe12
Use scoped enum for Direction
...
Identified and removed an instance of Direction being used as an argument for a bool parameter
Removed a single-use temporary variable being cast from sprite frame to direction to size_t
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
Fix alignment of WalkSettings array
5 years ago
Anders Jenbo
7169882b1f
✨ Implement new font rendering
5 years ago
BC Ko
9345c7cac7
Remove duplicate documentation
5 years ago
BC Ko
51f50570da
documentation cleanup : inv
5 years ago
Juliano Leal Goncalves
bb2dfdfb73
🚚 Rename 'ItemStruct' to 'Item'
5 years ago
Juliano Leal Goncalves
01823e1324
♻️ Replace 'cursmx' and 'cursmy' globals with single 'cursPosition'
5 years ago
Juliano Leal Goncalves
05d206720a
♻️ Replace 'icursW' and 'icursH' globals with single 'icursSize'
5 years ago
Juliano Leal Goncalves
317ebcdd3e
♻️ Replace 'icursW28' and 'icursH28' globals with single 'icursSize28'
5 years ago
Juliano Leal Goncalves
a469f7906e
♻️ Replace 'cursW' and 'cursH' globals with single 'cursSize'
5 years ago
Juliano Leal Goncalves
6c21638bee
♻️ Leverage 'Point' in 'SetCursorPos' function
5 years ago
Juliano Leal Goncalves
bbf529c65a
🚚 Rename 'PlayerStruct' to 'Player'
5 years ago
Anders Jenbo
4044fadeb5
Clean up some players references
5 years ago
Gleb Mazovetskiy
032eaf7491
External iterators for player items
...
Implements external iterators for player items.
5 years ago
Robin
62a33c61d9
objects: deduplicate logic in OperateShrineGloomy using ForEachItem function
5 years ago
BC Ko
4df798808e
2435 refactor global variable Items part 2 ( #2673 )
5 years ago
Thomas Christlieb
8f92248250
don't play 'Uh uh' sound everytime you pick up the cathedral map. fixes #1354
5 years ago
Anders Jenbo
5ddcd90ff9
Make NetSendCmdQuest() take a quest structure as input
5 years ago
Anders Jenbo
4a7fecb9c1
Fix OOB in inventory code
5 years ago
BC Ko
a02eaeecda
use abs
5 years ago
BC Ko
a293abc2a6
cleanup manual value clamping: inv.cpp
5 years ago
Juliano Leal Goncalves
f64521a722
🐛 Centralize readied spell update on equipment change
...
This ensures all equipment changes will undergo the check to see if the readied spell needs to change, including auto-equipping items on pickup and with shift click.
5 years ago
Juliano Leal Goncalves
022502660d
♻️ Extract logic to ready spell from staff to player function
5 years ago
Anders Jenbo
8df8b940c4
Handle some clang-tidy issues
5 years ago
Aaron Sun
3ee90ca629
Add options for sub-panel alignment
5 years ago
4aron5un
4c8210df21
Center the sub-panels (Quest, Character, Spell and Inventory) ( #2498 )
5 years ago
ephphatha
0575716eac
Rename UiFlags members to group related options
5 years ago
ephphatha
4ad53232a0
Convert the UiFlags enum to a scoped enum type
...
Replace operator&& with named function
5 years ago
Anders Jenbo
a19e7b2a3b
Remove some more use of miniwin
5 years ago
qndel
4f4bef623c
fix upper left inventory corner ( #2394 )
5 years ago
Anders Jenbo
77b72da276
♻️ Use monster by reference when possible
5 years ago
Anders Jenbo
35ccc8eb1c
Apply clang-tidy to code
5 years ago
Anders Jenbo
74b57558c9
🚚 Move local code to anonymous namespace
5 years ago
Anders Jenbo
903d4bd2e1
Scope all for loops
...
This caused 7 of the loops to be rewriteen using range by clang-tidy
5 years ago
Anders Jenbo
467b74dc06
Rename object globals
5 years ago
Anders Jenbo
9b8bf92575
Rename quest globals
5 years ago
Anders Jenbo
96bf75b502
Rename player globals
5 years ago