ephphatha
df8c1a3e8c
Use truthy test for TARGET_OS_IPHONE
...
This constant is defined as 1 when building for iphone, 0 for MacOS, and undefined on other platforms. To get the expected behaviour we need to check it's defined and non-zero.
4 years ago
Andrew James
028c5945b8
Add helpers to change stash pages ( #4287 )
4 years ago
obligaron
7b7cee52db
AddItemToStashGrid: Use PointsInRectangleRange with a starting position ( #4297 )
4 years ago
qndel
a6ebc506a0
refresh stats when sending an item to stash by ctrl + click
4 years ago
ephphatha
e8e20c1159
Min, not max, when clamping stash page...
4 years ago
staphen
f68540f82a
Don't destroy hold item when setting cursor to hourglass
4 years ago
staphen
33338115f6
Don't use HoldItem in CMD_PUTITEM handler
4 years ago
staphen
95329fa72b
Remove calls to NewCursor() from store functions
4 years ago
Anders Jenbo
0fb430ebd5
Update translations
4 years ago
staphen
6a30cd3950
Add gamepad support for stash
4 years ago
Anders Jenbo
9226f1435c
Clean up PotionButtonRenderer
4 years ago
Anders Jenbo
7e83aa1429
Improve item hints for gamepads
4 years ago
Anders Jenbo
0f44da5487
[gamepad] Fix using quick spells with rebound keys
4 years ago
Anders Jenbo
6c97fae5b0
Update translation template
4 years ago
ephphatha
bdf075355c
Address c4244 warning in PointerOrValue
...
This triggers a bunch of warnings in MSVC because the conversion is potentially truncating, despite never being an issue in practice...
4 years ago
ephphatha
2b47f3abcc
Address type conversion warnings in loadsave.cpp
...
Most of this was centred around stash pages being saved/loaded as unsigned values but stored as signed values. Consistently used unsigned since it matches the intended usage.
4 years ago
Gleb Mazovetskiy
a5a8aae368
Fix underflow in `BilinearScale32`
...
Fixes funky hardware cursor colors during fade transitions.
Refs #4206
4 years ago
ephphatha
9326eccbc3
Only attempt to cast heal other/resurrect with a target
4 years ago
ephphatha
92fcdda3a7
Refactor OnHealOther to operate on Player references
4 years ago
ephphatha
25c2123849
Change cursor after acknowledging attempt to cast spell
...
This matches the behaviour of other targeted spells, however the mana is wasted because it is spent when readying the spell.
4 years ago
obligaron
b52a50f2e7
Add OptionEntry for alternative nest art and remove command line parameter --nestart
4 years ago
obligaron
84f19e6b29
Wirt: Ensure _iStatFlag is updated before getTextColorWithStatCheck is called ( #4258 )
4 years ago
Anders Jenbo
3c54925a84
Fix cow quest getting stuck in multiplayer
4 years ago
Anders Jenbo
1d04ac574a
Make game screen ZeroTier aware
4 years ago
DakkJaniels
46dcaf91af
fix comment labels in misdat
...
swap mlSFX and miSFX to match structure definition.
4 years ago
staphen
82f53c53b0
Fix shift-click equipment swapping network messages
4 years ago
staphen
822a0cd22a
Fix auto-equip network messages
4 years ago
Anders Jenbo
8235380ef9
[gamepad] Avoid OOB on empty belt
4 years ago
Anders Jenbo
e2fef44c9f
Close gold withdraw when closing stash
4 years ago
Bubio
036171d7ca
Fixed issue #4217
...
DPI Scale is now included in the calculation.
4 years ago
Anders Jenbo
9d65580294
[gamepad] Fix managing belt
4 years ago
ephphatha
4bbc2e56a0
Restore position of dropped note when recombining fragments
4 years ago
Gleb Mazovetskiy
7de6a25b41
Remove `(un)lock_buf`
...
We do not seem to render from multiple threads, so these calls are
unnecessary.
4 years ago
obligaron
1975d77d12
Change default value for "Show FPS" to off
4 years ago
Gleb Mazovetskiy
e627fc8f10
Fix alpha blending in `BilinearScale32`
...
Fixes #4206
4 years ago
Gleb Mazovetskiy
543f988cc3
Fix hardware cursor initialization
...
Hardware cursor should get initialized even for non mouse control types
(e.g. `ControlTypes::None`), because by the time the control type gets
initialized or changes the cursor is already set up and won't change.
Fixes #4233
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