qndel
7bc329446d
fix sender's name getting trashed in chat history
2 years ago
qndel
43766daa50
fix mem leak in pasting name
2 years ago
Eric Robinson
dac2e0318e
Fix Item Validation ( #6723 )
...
Co-authored-by: staphen <staphen@gmail.com>
2 years ago
qndel
4467b8424a
simplify message.from initialization ( #6721 )
2 years ago
lithraal
9123f01a96
Hotkeys: Support more keybindings ( #6719 )
...
* Extend F keys with F13-F24 range
* Add more possible keybindings
* Removed hardcoded keys that are used elsewhere
* Put PAUSE back where it was before
* Remove hardcoded logic for PAUSE key
* Hotkeys: Support more keybindings
This patch adds more keybindings, so we can map multiple keys.
It also adds a possibility to bind an alternate key to pause game
(currently mapped to P and Pause key by default).
Co-authored-by: n <neube.github@gmail.com>
Co-authored-by: staphen <staphen@gmail.com>
2 years ago
Gleb Mazovetskiy
3ac2f05671
Disable a couple of clang-tidy checks
...
These are very noisy and not particularly helpful.
2 years ago
Gleb Mazovetskiy
ddc3a9e54e
lua: re-enable drawString
2 years ago
Oleksandr Kalko
8b1ca4d457
Upgrade vcpkg baseline commit
...
Upgrades fmt to 10.1.1 and SDL2 to 2.28.4
2 years ago
Gleb Mazovetskiy
64b94f9661
lua: add log{Verbose,Debug,Warn,Error}
2 years ago
Gleb Mazovetskiy
493aaf554e
Add a lua debug command
...
Ideally we should have a better UI for this in the future.
2 years ago
tetektoza
e0291b6f58
HotkeyMessages: Add more quick message slots
...
Resolves https://github.com/diasurgical/devilutionX/issues/6542
Currently we only have 4 quick message slots, this patch adds more of
them resizing the total amount to 10.
2 years ago
tetektoza
fbc542433f
Hotkeys: Support binding to keypad numbers (0-9)
...
This patch adds support to bind actions in settings to keypad numbers
(0-9).
2 years ago
Gleb Mazovetskiy
5b62bf7eec
Lua improvements
...
1. A conformant `print`.
2. `drawString`.
3. `OnGameDrawComplete` event for drawing things on screen.
2 years ago
Gleb Mazovetskiy
60b12dcb2c
lua: Register globals in a more efficient way
2 years ago
Gleb Mazovetskiy
5c1ff18bd3
`LuaEvent`: Use `traverse_get`
2 years ago
Gleb Mazovetskiy
ae27dc2bc8
Keymapper: Reduce log spam in verbose mode
...
If a key is not bound, do not log "no name found for key".
2 years ago
Gleb Mazovetskiy
72b49abef4
Add sol2 for Lua <-> C++ bindings
2 years ago
qndel
ad3a20692c
add trap sound to trapped chests
2 years ago
staphen
61e51f2349
Additional cleanup for WordWrapString()
2 years ago
staphen
99bf0e4e3c
Insert newline for words longer than width in WordWrapString()
2 years ago
Stephen C. Wills
7470862b14
Fix alignment on AiProc values ( #6704 )
2 years ago
qndel
9abfa51898
fix typo in comment
2 years ago
Gleb Mazovetskiy
88bbf4f913
Improve DiabloMsg handling
...
1. Simplified implementation.
2. Now adjusts the box size to fit the content (e.g. when wrapping
failed or when there are too many lines).
2 years ago
Gleb Mazovetskiy
d1d27c8368
Rename error -> diablo_msg
2 years ago
tetektoza
a387f73aa7
Refactor: simplify logic in items.h
...
Currently some of the "isItem" functions add an unnecessary check of
isEmpty which is redundant, because a few lines lower they also check
for item type inside the same object.
This patch removes those unnecessary checks.
2 years ago
Gleb Mazovetskiy
9e2608bd98
Fix DiabloMsg rendering for CJK
...
Fixes #6675
2 years ago
Gleb Mazovetskiy
1bcdd17e34
Reduce verbose SDL_WINDOWEVENT event log spam
2 years ago
Gleb Mazovetskiy
270a064fe6
Fix "Level Up" label in French
...
Fixes #6615
2 years ago
Gleb Mazovetskiy
4a02188588
Fix -Wmissing-field-initializers in playerdat.cpp
...
```
playerdat.cpp:262:1: warning: missing initializer for member ‘devilution::PlayerData::skill’ [-Wmissing-field-initializers]
262 | };
```
2 years ago
tetektoza
41c5175444
Clip parsed level from debug console to 50
...
Currently, in givelvl command user can type lvl above 50, which is a
level cap. This patch clips it to 50, so we can prevent an accidential
freeze of the game caused by NetSendCmd loop if user types a really big
number.
2 years ago
Anders Jenbo
706010ee45
Add Lua support
2 years ago
KPhoenix
e18b37a7df
Bugfix: Automap Grates not rendering correctly
2 years ago
staphen
b82081d883
Prevent softlock when removing Auric Amulet
2 years ago
Anders Jenbo
9c6902b2c4
Fix missing return value in tcp_server::send()
2 years ago
staphen
ed7b8e794f
Fix missing return value in tcp_server::StartSend()
2 years ago
KPhoenix
db1ab771d6
Bugfix: Indestructible Items at Smith Repair
2 years ago
Bubio
80d8524979
Updated Japanese translation.
2 years ago
Anders Jenbo
b318d702e5
Enable VCPKG dependency graph
3 years ago
staphen
444ac9d820
Use memmove when shifting data in high/low priority buffers
3 years ago
Eric Robinson
ffc7190898
Automap: Add minimap display option ( #6612 )
3 years ago
staphen
9d34cb2795
Remove frame queue exceptions from the network layer
3 years ago
KPhoenix
fec9bc7f40
Bugfix: Speed spell on item swap
3 years ago
Eric Robinson
4c7e2edd06
Automap: Transparency ( #6607 )
3 years ago
Anders Jenbo
d725fdb4f3
Add screen reader support
3 years ago
Gleb Mazovetskiy
fa155d4ffd
Dungeon tiles: Port over some cleanups from #6636
3 years ago
Gleb Mazovetskiy
3477d2f33f
Revert "dun_render: Add `DunTileColorMap` for baked light"
...
This reverts commit 827eb9705d .
3 years ago
Gleb Mazovetskiy
48a66c29af
Win9x: Fix MinSizeRel and binary stripping
3 years ago
Gleb Mazovetskiy
2e6847556e
Bump libfmt
3 years ago
Eric Robinson
ae926c1e99
Debug: Add DrawVision to automap ( #6649 )
3 years ago
Stephen C. Wills
064d7ca003
Fix starting spell for Sorcerer ( #6650 )
3 years ago