obligaron
92993ad039
Ctrl+click stash item swap: if there is no room left, don't drop the item on the ground
4 years ago
obligaron
e52fa46687
Disable scrolls in UseStashItem
4 years ago
obligaron
69e61192ee
Add UseStashItem to RightMouseDown
4 years ago
obligaron
5659525ed2
Simplify RightMouseDown handling
4 years ago
Anders Jenbo
d0014b0414
Fix untranlsatable strings
4 years ago
obligaron
ef7966393b
Enable apply oil on stash items
4 years ago
obligaron
9183b6fa57
Enable recharge on stash items
4 years ago
obligaron
1f866bd53b
Enable repair on stash items
4 years ago
obligaron
ae5423ad68
Enable identify on stash items
4 years ago
obligaron
b495cabeb5
Allow to swap items with ctrl+click between inventory and stash
4 years ago
obligaron
05658de4e9
Make GetInventorySize public
4 years ago
Anders Jenbo
be57d62684
Use UTF8 aware string copying
4 years ago
Anders Jenbo
718c46e7fe
Remove use of tempstr
4 years ago
obligaron
2617332a41
Allow only one gold input panel to be open
4 years ago
Anders Jenbo
fbabb96464
[gamepad] Align cursor after using item
4 years ago
staphen
66d9604923
Only load stash on New Game and Load Game
4 years ago
Anders Jenbo
a48f89007d
Implement stash
4 years ago
staphen
dcfd057200
Add two-way handshake between ZeroTier peers
4 years ago
Anders Jenbo
770727b5a0
Correct Leave Pepin menu posision
4 years ago
Anders Jenbo
422f2bae9d
Fix build warnings
4 years ago
qndel
220e9f092b
ignore auric amulet of other players in MP ( #4151 )
4 years ago
obligaron
e0ef3a2307
Init monster TRN after monster load
4 years ago
obligaron
973ce9d46e
Use original position for DrawPlayerIconHelper
4 years ago
qndel
b8fc442210
fix chatlog translation entry ( #4140 )
4 years ago
staphen
b14fda976f
Fix IsGameHost() function for ZeroTier
4 years ago
Stephen C. Wills
ef1821ce57
Apply sequence number to net turns ( #4122 )
4 years ago
staphen
16f82226eb
[ZeroTier] Send PT_CONNECT to all players when new player joins
4 years ago
Gleb Mazovetskiy
f4b43c478a
Fix reflect icon offset ( #4133 )
...
Regression introduced in f4bce38875
4 years ago
ikonomov
a6c33a19cd
AddHeal converted to use GenerateRndSum ( #4108 )
4 years ago
ephphatha
2a09d7f561
Dedupe network call when dropping items on death
4 years ago
ephphatha
ca1ec8548f
Move GoldAutoPlaceInInventorySlot to anonymous namespace
4 years ago
ephphatha
f5da32a21c
Don't assume holdItem when auto-placing gold
4 years ago
Andrew James
f64d17bfa9
Initial clean up of code related to creating items ( #2943 )
...
* Move declaration of dItems to items.cpp
This array is never used in dungeon generation, it's closely related to Items so should be kept together. Ideally managing dItems can become responsibility of a container for Items, which will handle adding/removing items from the list and keeping the positions in sync.
* Rename SetPlrHandItem to match purpose/use
* Give more descriptive name to GetPlrHandSeed
This function sets a new seed on a given item struct, not just the held item.
* Don't use HoldItem as a temporary for the players initial inventory
* Take Item by reference in RespawnItem
* Don't use holdItem as a temporary when dropping gold on death
* Update DeadItem to take item by reference, and refer to it consistently
Move code which invalidates the source of dropped items to the caller
Most call sites use a temporary item instance or remove the item from the container, so there's no real point invalidating the item after it's been copied to the drop list.
Update DeadItem to take position instead of player references
4 years ago
Gleb Mazovetskiy
f4bce38875
Use `uint16_t` for sprite widths
4 years ago
Gleb Mazovetskiy
11aaf2a441
Fix `MissileFileData#GetFrame` for a null missile
...
Fixes the following warning:
/usr/include/c++/11/bits/unique_ptr.h:660:14: runtime error: reference binding to null pointer of type 'byte'
4 years ago
Gleb Mazovetskiy
7fede6c4cb
Clean up owned/unowned CelSprite ambiguity
...
Makes `CelSprite` unowned and adds a new `OwnedCelSprite` class for
owned sprites.
This clarifies ownership and makes the code cleaner in a number of
places.
Additionally, because the `CelSprite` class is now tiny (1 less
pointer), we can pass it by-value instead of by-reference, removing a
pointer indirection in the rendering functions.
4 years ago
DakkJaniels
0bae1ea3a1
switch affix_item_type bit flag enum to class format ( #4123 )
4 years ago
staphen
3b3419d519
Treat firstpeer as a recognized source of packets
4 years ago
DakkJaniels
7bc19ee91a
add enum for the spell flags. Adjust code to use them.
4 years ago
qndel
48f102eff1
Chat log
4 years ago
staphen
e877a8ff0a
Filter out ZeroTier packets that do not come from an expected source
4 years ago
qndel
be0845f41d
barb 2h cleanup
4 years ago
Felipe Wannmacher
6a6fd404dc
improved hints and added icons
4 years ago
DakkJaniels
6e9fd1b18b
Max Resist Item Formatting ( #4104 )
...
Change to use MAXRESIST instead of hardcoded 75 when printing resists to panel, in case someone were to change the MAXRESIST number.
4 years ago
KPhoenix
8d71a48b70
Remove MAX from Char Panel Resists ( #4103 )
...
* Remove MAX from Char Panel Resists
Co-authored-by: obligaron <obligaron@live.com>
Co-authored-by: qndel <stefan551@o2.pl>
4 years ago
obligaron
e48b949dad
Stop music on diablo exit
4 years ago
qndel
81800e64bb
MAXCHARLEVEL cleanup
4 years ago
obligaron
d765fad1cc
Continue playing music in menus
4 years ago
obligaron
75ee55af8d
Don't restart music if the same track is played
4 years ago
qndel
2b53c5f857
Update Source/missiles.h
...
Co-authored-by: obligaron <obligaron@live.com>
4 years ago