Anders Jenbo
a76e24d386
Clean ups
4 years ago
Anders Jenbo
5757562341
Clean up inventory code
4 years ago
Anders Jenbo
ef669d3469
Invalidate removed inventory items
4 years ago
Anders Jenbo
d0f351db12
Fix splitting gold
4 years ago
Gleb Mazovetskiy
c884f1a354
An option to RLE-compress masked art
...
Saves about 200 KiB RAM in dungeon at a large performance cost.
Almost never a good idea, except for severely RAM-constrained devices (e.g. RG99).
4 years ago
Gleb Mazovetskiy
2f22d94e0d
Remove `OwnedCelSprite::Unowned` method
...
Conversion is already provided by the `CelSprite(const OwnedCelSprite &)` constructor.
4 years ago
Gleb Mazovetskiy
e2dbbb3d95
CelSprite: Unify width storage
...
Reduces the size of a CelSprite by taking advantage of the fact that
16-bit pointers are aligned, so the last bit is always 0.
4 years ago
Anders Jenbo
8a3cfb5acf
Enable buying with gold from stash ( #4218 )
4 years ago
Anders Jenbo
1ba817ca53
Unify gold handling (withdraw any amount from stash)
4 years ago
staphen
c27364dd86
Do not exit game on network timeout
4 years ago
Anders Jenbo
3060a6ee4b
Remove unessesery .c_str() from UiEdit
4 years ago
Andrew James
308ac7d7ad
Use PointsInRectangleRange with a starting position ( #4202 )
4 years ago
ephphatha
5d3f161e7b
Use string_view for UiEdit hint
...
Now that platforms with C APIs have been updated to take string_views in the C++ wrappers
4 years ago
ephphatha
19478b9aea
Use string_view for vita keyboard input
4 years ago
ephphatha
9a07c734eb
Remove unnecessary copy
...
Was this meant to reset the output? It should never be changed unless the user confirms input. In practice this was calling memcpy with the same src and dest pointers, which is undefined behaviour.
4 years ago
ephphatha
8cfd530acf
Use string_view for 3ds keyboard input
4 years ago
ephphatha
f9ce2108f6
Use string_view for switch keyboard input
4 years ago
obligaron
3e9ca60460
Update _iStatFlag for stash items
4 years ago
obligaron
481f15ded5
Introduce StashStruct.GetPage/SetPage
4 years ago
obligaron
299469c710
Sync mana between clients
4 years ago
Anders Jenbo
6d28810dc7
Change infostr from char[128] to std::string
4 years ago
Anders Jenbo
55a0b71b1c
Only spawn loot once
4 years ago
Anders Jenbo
1409e604f5
Reduce string conversions
4 years ago
Anders Jenbo
f5872005a4
Avoid resetting monster health and mWhoHit
4 years ago
ephphatha
88d9d0ffab
Use string_view for UiArtTextButton, UiButton
4 years ago
ephphatha
a2f85ab894
Use a viewport size of 1 when displaying a list of actions for the ok dialog
...
Having a size 0 viewport made the action invisible, forcing the player to use the Esc action.
4 years ago
Andrew James
4ff83431d2
Remove the use of HoldItem in AutoGetItem ( #4178 )
4 years ago
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