Gleb Mazovetskiy
9fc0baf014
CMakeLists.txt: Fix boolean define handling
6 years ago
Gleb Mazovetskiy
3c56e5aef5
Controller: Support SDL1 joystick hat
6 years ago
Gleb Mazovetskiy
6d7014b0a9
Controller: Support SDL1 joystick axes
6 years ago
Gleb Mazovetskiy
d3be0ed6f7
Define RetroFW controls via the build script
6 years ago
Gleb Mazovetskiy
882e9f0fbf
Game controller: Fix spell selection
6 years ago
Gleb Mazovetskiy
113ef2e283
Fix item flickering
6 years ago
Gleb Mazovetskiy
6f3cc2a440
SDL1 fixes
6 years ago
Gleb Mazovetskiy
93203fa445
Controller: implement spellcasting
6 years ago
Gleb Mazovetskiy
a2e821d241
Game controller support
...
Initial game controller support.
Actions are based on the Switch branch but the controller code itself is
implemented differently, allowing for easy remapping and minimizing
changes to the Source/ directory.
Many subtle and not so subtle controller bugs have been fixed
in this implementation, including:
1. Smoother & more responsive movement with the joysticks.
2. Consistent controls for all the menus in the game (stores, quest log,
etc).
3. Cursor appearance / disappearance at appropriate times.
Low-level controls are abstracted and 3 SDL interfaces are supported:
game controller, joystick, and keyboard. See SourceX/controls/ for more
details on this.
Wishlist for the future:
1. Primary button and use button should attack continously.
This is hard as it requires checking the cooldowns / attack speed.
2. Quick spell menu navigation is very buggy. It is also buggy in the
switch branch. I haven't had a change to investigate.
6 years ago
rsn8887
a1d7fe196a
Fix increasing player stats infinitely
6 years ago
erfg12
3e03404ebb
Keyboard and Controller support for Diablo 1
...
- Hide cursor on joystick move, show cursor on mouse move.
- Auto aim at closest monsters, objs or items.
- Inventory grid snap navigation
- Speed spell grid snap navigation
- Char stat snaps navigation
- Town portal auto casts if using a controller
- Can now identify and repair items via controller
- Can dropping items in inventory via controller
6 years ago
Anders Jenbo
b6695fe26b
Merge branch 'master' of github.com:diasurgical/devilution
6 years ago
Gleb Mazovetskiy
a4a302c4ed
Fix OOB in lighting.cpp
6 years ago
Anders Jenbo
3638381b48
SetCursor CURSOR_NONE
6 years ago
galaxyhaxz
3bd28cc0c1
Fix function order [spells+pack.cpp]
6 years ago
Bryan Steele
d830969898
Compiling instructions for OpenBSD
...
Pointed out by @AJenbo in #413 .
6 years ago
Bryan Steele
0086927ee1
Upstream support for OpenBSD. ( #414 )
6 years ago
Anders Jenbo
95bec150c2
Fix load path
...
Fixes #412
6 years ago
Mathieu Maret
bfe4759745
Loading screen ( #1836 )
6 years ago
Anders Jenbo
a9ffe83760
Merge branch 'centerGui' of https://github.com/mmaret/devilutionX
6 years ago
Anders Jenbo
a91f4e76ba
Fix bad merge
6 years ago
Mathieu Maret
66fe4ab77b
Use PANEL_X instead of SCREENX+PANEL_LEFT
...
Co-Authored-By: Anders Jenbo <anders@jenbo.dk>
6 years ago
Anders Jenbo
215ff59e65
Merge branch 'master' of github.com:diasurgical/devilution
6 years ago
Mathieu Maret
90e60654fe
fix rest on the GUI
6 years ago
Mathieu Maret
fdf4384640
Center Loading screen
6 years ago
galaxyhaxz
67fedd9e99
Fix unknown struct field and drawpanflag
6 years ago
Mathieu Maret
982b1148d8
monster: use some enums
6 years ago
Mathieu Maret
e79b1afe84
Fix S_TalkEnter
...
To mirror commit 1c9801986c559417b7889708b2ce9cc2e27d9ba9: "Fix
S_StartTalk"
6 years ago
Anders Jenbo
c34d3e7177
Update bugfix note
6 years ago
Gleb Mazovetskiy
b18fe49d0a
Fix OOB in DrawSpell ( #405 )
...
The OOB here was in `_pSplLvl[spl]`.
The value of SPL_INVALID is is `-1`.
The fix is to not access the array when `spl == SPL_INVALID`.
6 years ago
Anders Jenbo
72fbb97dc4
Merge branch 'master' of github.com:diasurgical/devilution
6 years ago
Anders Jenbo
e396aafa3b
Add bugfix note
6 years ago
Gleb Mazovetskiy
d6eeb3cb47
StormPort: Suppress `min/max` macros from windows
...
Upstream PR: https://github.com/ladislav-zezula/StormLib/pull/163
6 years ago
Gleb Mazovetskiy
329c6b89bc
Source/drlg_l[23].cpp: Use std::min/max instead of ternaries
...
Follow-up to #169
Also fixes a typo in drlg_l3.cpp
6 years ago
Gleb Mazovetskiy
be0f092ff7
Fix OOB in M_CheckEFlag
6 years ago
Xadhoom
a1b7b8522a
Bugfixes
6 years ago
Gleb Mazovetskiy
1b24dac942
Add BUGFIX comment in DrawSpell
6 years ago
Gleb Mazovetskiy
16a154f062
Change _INVALID enum values from 0xFFFFFFFF to -1
...
Some of these are assigned to `char` (assumed to be signed), and 0xFFFFFFFF is `-1` only when sizeof(int) == 4.
6 years ago
Gleb Mazovetskiy
9ba62e26bc
Fix OOB in DRLG_L5TransFix ( #399 )
6 years ago
Gleb Mazovetskiy
9a58d42108
Fix OOB in dungeon lvl2 Dark Passage generation ( #400 )
...
Dark Passage entrance index is 206 but the BSTYPES and L5BTYPES array
only contained 206 elements.
6 years ago
Gleb Mazovetskiy
5fdac5cfd9
Fix multiple OOB in L5tileFix
...
Refs #396
6 years ago
Gleb Mazovetskiy
f2afd88633
Fix OOBs in DRLG_L5Subs ( #402 )
...
Refs #396
6 years ago
Anders Jenbo
cc78e12cc5
Merge branch 'master' of github.com:diasurgical/devilution
6 years ago
Gleb Mazovetskiy
25011ef55b
Fix OOB in dungeon lvl2 Dark Passage generation
...
Dark Passage entrance index is 206 but the BSTYPES and L5BTYPES array only contain 206 elements.
6 years ago
Gleb Mazovetskiy
48c399c453
Fix OOBs in DRLG_L5Subs
6 years ago
Gleb Mazovetskiy
08fd0dce60
Fix multiple OOB in L5tileFix
...
Refs https://github.com/diasurgical/devilutionX/pull/401
6 years ago
Anders Jenbo
1d87872d25
Re introduce a safe margin on the bottom boarder
...
macOS 10.13 debug crashes with out this, so oviously stuff is still being rendered down here.
6 years ago
Gleb Mazovetskiy
63a0c70652
DRLG_L5TransFix: Add BUGFIX comments
6 years ago
Anders Jenbo
4cc4cd011c
Merge branch 'master' of github.com:diasurgical/devilution
7 years ago
Anders Jenbo
195ac2a4a7
Apply music enums
7 years ago