staphen
6a30cd3950
Add gamepad support for stash
4 years ago
Anders Jenbo
e2fef44c9f
Close gold withdraw when closing stash
4 years ago
Anders Jenbo
a48f89007d
Implement stash
4 years ago
Anders Jenbo
422f2bae9d
Fix build warnings
4 years ago
staphen
e0a3c553b4
Add window focus logic for SDL1
4 years ago
obligaron
b3a9760bda
Keymapper: Add mouse support
4 years ago
Anders Jenbo
b0252b3339
Make Gamepad cursor independant of hardware mouse
...
The gamepad cursor (inventory, spells etc) no longer relies on warping a
real mouse cursor. This should make things work better on platforms that
do not support this, like Wayland.
4 years ago
Anders Jenbo
576d946581
Allow use of touch to select world objects
4 years ago
Anders Jenbo
6b2481a76c
Touch support on all SDL2 platforms
4 years ago
staphen
74a77666b9
Improve behavior of ToControllerButtonEvent()
4 years ago
obligaron
18fb40ee32
Settingsmenu: Implement KeyInput
4 years ago
Gleb Mazovetskiy
b4afe50dd1
misc_msg.cpp: include order
4 years ago
Gleb Mazovetskiy
db7c9d08f5
Move DoSpeedBook to the right header
4 years ago
Gleb Mazovetskiy
7e1fea6f76
clang-format all files in {Source,test}/
...
Also includes a few manual tweaks to comments and newlines for better results.
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
4 years ago
staphen
40cc894630
Force VIRTUAL_GAMEPAD=OFF when USE_SDL1=ON
4 years ago
Gleb Mazovetskiy
e9a9daa794
DrawString: Stop allocating
...
Switch to a state-machine UTF-8 decoder from the branchless one.
This allows us to avoid copying the string on every `DrawString` call.
4 years ago
Gleb Mazovetskiy
3d308983a8
Migrate to libmpq
...
libmpq is a much simpler alternative to StormLib for reading MPQ archives.
We use our own fork of libmpq: https://github.com/diasurgical/libmpq
Impact:
* DevilutionX is now a lot more portable. Unlike StormLib, libmpq only
needs platform-specific code for Windows.
* Locks around file access **removed** (instead we duplicate the file descriptor for streamed audio only).
* RAM usage is **300 KiB** lower than StormLib.
* Stripped release linux_x86_64 binary is **32 KiB** smaller.
* Amiga build now hangs instead of crashing.
4 years ago
Stephen C. Wills
423441c3dc
Fix speedbook navigation on gamepad
4 years ago
obligaron
2158faadab
Use SDL_StartTextInput for gold drop dialog
4 years ago
Anders Jenbo
b3a9a2ddce
[gamepad] Allow for mixed mode navigation in inventory
4 years ago
Yuri Pourre
b8450dc792
Assign ctrl to drop items
5 years ago
Anders Jenbo
7959b04573
SDL1 Unicode input support
5 years ago
Anders Jenbo
704a04ae4d
Add support for Unicode fonts
5 years ago
obligaron
98eb863ea1
Use SDL Textinput for ingame chat
5 years ago
staphen
1b2d4d9478
Add comment to logic that skips handling touch-generated mouse events
5 years ago
staphen
3df85b70ce
Add virtual gamepad event handlers and implement touch controls
5 years ago
staphen
b29141048a
Move existing touch control logic to Vita platform
5 years ago
Juliano Leal Goncalves
b80859c021
♻️ Leverage 'Rectangle.Center' in 'FocusOnCharInfo' function implementation
5 years ago
Juliano Leal Goncalves
6c21638bee
♻️ Leverage 'Point' in 'SetCursorPos' function
5 years ago
qndel
1ad950e088
FocusOnCharInfo cleanup
5 years ago
obligaron
77f9bded9e
Introduce demo namespace
5 years ago
Anders Jenbo
96db759ba2
Disable mouse movment during demo playback
5 years ago
Anders Jenbo
38b1c96150
Control game speed during demo playback
5 years ago
Anders Jenbo
d523fc1e81
Cleanups
5 years ago
obligaron
fb562b29e9
Timedemo: Regard ProcessInput and gfProgressToNextGameTick
5 years ago
Anders Jenbo
eda4a5061e
Implement demo recording and playback
...
This records all keyboard and mouse events to a file and lets you play
it back at a later point with a differen game speed.
5 years ago
Jonathan Bergeron
57d445d32f
made pause / unpause safer and fixed issue with autopause when losing focus during the loading screen
5 years ago
JoBergeron
be3f1ba928
Pause game and mute music when game window loses focus ( #2337 )
5 years ago
Anders Jenbo
2ca6e37c46
Clean up sub folders using clang-tidy/Android Studio
5 years ago
Anders Jenbo
9b8bf92575
Rename quest globals
5 years ago
Anders Jenbo
96bf75b502
Rename player globals
5 years ago
Juliano Leal Goncalves
14429e2b23
♻️ Leverage 'Point' to represent mouse position warping
5 years ago
Juliano Leal Goncalves
fd9f2099d0
♻️ Leverage 'Point' to represent mouse position
5 years ago
Anders Jenbo
f167bd4dfb
Clang-tidy: llvm-include-order
5 years ago
Anders Jenbo
2bdb6caa07
Cleanup majority of remaning implicit bool conversions ( #2234 )
5 years ago
Anders Jenbo
22b632f04a
♻️ Clean up implicit bool conversions
5 years ago
Anders Jenbo
ee7b32d8f6
Player by reference part 3
5 years ago
Gleb Mazovetskiy
1bc9c3973f
🚚 engine.h: Extract `Rectangle`
5 years ago
Juliano Leal Goncalves
25eaac78c1
♻️ Leverage 'Size' to represent a 'Rectangle's width/height
5 years ago
Juliano Leal Goncalves
e3ea6a9042
♻️ Leverage 'Point' to represent a 'Rectangle's position
5 years ago