Eric Robinson
e6032a69a8
Split control.cpp ( #8347 )
3 months ago
Anders Jenbo
a60768a73f
SDL3: Backport to SDL 3.2.0
5 months ago
Anders Jenbo
1c76897f2c
Apply simple const rules using clang-tidy
7 months ago
staphen
e21efc26aa
Trigger deactivate event for virtual gamepad
1 year ago
staphen
3caa80f453
Fix double to float conversion warnings in virtual gamepad logic
1 year ago
Gleb Mazovetskiy
1a32a705fe
Replaces uses of doubles with floats
...
Looks like the KallistiOS Dreamcast SDK disables double support
by default: 495e77fd60/environ_dreamcast.sh (L16)
We don't really need doubles in this code.
The one place where we might have needed them is the SMK video
decoder, handled in a separate PR.
1 year ago
Eric Robinson
6396af1ff5
Cleanup panel code (Part 2) ( #7421 )
2 years ago
obligaron
c8b8996cdd
Fix MSVC warnings in controls\*
2 years ago
ephphatha
c68fcf3cb1
Apply MethodCase config to Rectangle::Contains
...
Also included Circle and VirtualButton classes due to the shared use.
4 years ago
ephphatha
7f15aa730d
Move definition of ghMainWnd to utils/display.cpp
...
This variable is controlled/set by the code in that file, this also lets other files have more specific/relevant includes instead of the monolith that is diablo.h
4 years ago
staphen
d193b90101
Don't deactivate gamepad when graphics settings change
4 years ago
Anders Jenbo
d3a7c36d1d
Correct DPI on devices that apply extra scaling
4 years ago
staphen
08e4e8c254
Implement virtual gamepad activation/deactivation
4 years ago
staphen
85f0e7b8c3
Add button for standing still to attack
4 years ago
staphen
ccd8f114f8
[Virtual Gamepad] Add menu panel to top-right corner
4 years ago
staphen
06801789e2
Move potion buttons to the left side
4 years ago
staphen
b8950877c5
Add buttons for using potions from belt
5 years ago
staphen
4e93de5ee1
Remove unnecessary precompiler check in virtual gamepad initialization
5 years ago
staphen
fb4f1ed8fd
Add structs for virtual gamepad
5 years ago