staphen
32311d4835
Fix Diablo's HP
4 years ago
Gleb Mazovetskiy
56de0a6566
Fix modifier + D-Pad triggering a D-Pad event
...
Also fixes build with `HAS_KBCTRL=1`
Fixes #1977
4 years ago
Gleb Mazovetskiy
8138121e39
Fix endianness handling in language.cpp
4 years ago
Bubio
44a16fb83f
Update Source/discord/discord.cpp
...
Thank you.
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
4 years ago
Bubio
a3d941011c
Fix : #4285 Discord incomplete translation
...
- Fixed so that Class is translated
4 years ago
ephphatha
eb45b3708b
Only save stash pages containing items
...
Viewing a stash page results in an entry being created in the stashGrids map. If the player flicks through the entire stash without actually storing an item they end up with ~20kb of unnecessary data in the stash file when they next save.
4 years ago
Felipe Wannmacher
889cc04f95
Enhanced attack using controllers ( #4019 )
4 years ago
qndel
6e4542f444
increase max stash pages from 50 to 100
4 years ago
Anders Jenbo
73194b58a9
Correct spacing for font 22-*
...
Fixes #3523
4 years ago
Gleb Mazovetskiy
79c7eee10a
Mouse/Gamepad fixes
...
Introduces a `ControlDevice` global which is distinct from `ControlMode`
in that it is set to `Gamepad` even when simulating a mouse.
This allows us to avoid a number of edge cases related to mode changes.
Fixes #4242
4 years ago
staphen
e6182709d1
Allow casting Town Portal, Teleport, and Guardian scrolls from inventory
4 years ago
qndel
4f491cba6f
allow remapping P for pause and always treat pause button as pause
4 years ago
Anders Jenbo
2575f76bbd
Make 'quit game' return to the main menu when NOEXIT is set
4 years ago
ephphatha
93068de918
Address type conversion warnings in WordWrapString
4 years ago
Gleb Mazovetskiy
40b1cd6d8a
Fix a negative shift exponent sanitizer warning
...
Source/spells.h:53:14: runtime error: shift exponent -1 is negative
Fixes #4319
4 years ago
obligaron
7d1e2d738e
Ensure Reflect + Thorn don't kill a monster twice ( #4318 )
4 years ago
ephphatha
ea6774d468
Remove unnecessary string copies
4 years ago
ephphatha
6bfe5fd564
set statflag after recreating potion
4 years ago
Anders Jenbo
2d2362d035
Avoid using HoldItem in OperateShrineEldritch
4 years ago
Anders Jenbo
e29bf228fd
Correctly center panel text when holding red item
4 years ago
Anders Jenbo
0c6f130e5d
Avoid using HoldItem in AddStealPotions
4 years ago
staphen
6250067283
Touchscreen navigation for stash
4 years ago
Drakker
3039b760e1
Added more Quickspell hotkeys for a total of 16. Saving will write the number of configured quickspell slots at the beginning of the hotkeys file. The loader will check the size, if its bigger than older saves should be it will load the header and read the hotkeys, otherwise it will load 4 quickspells for compatibility.
4 years ago
Bubio
57d5fd0e62
Fix #4251 macOS mouse grab issue ( #4298 )
4 years ago
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