Commit graph

557 commits

Author SHA1 Message Date
obligaron
3368ff5a3b Introduce iteminfo debug command and remove ItemInfo Keybinding 2021-09-17 21:05:31 +02:00
obligaron
3bd6091297 Rename debug_mode_key_i to DebugDisableNetworkTimeout 2021-09-17 21:05:31 +02:00
obligaron
f9192d2312 Remove debug command line argument -^ (Enable debug tools) and added
scrollview debug command
2021-09-17 21:05:31 +02:00
obligaron
0acaec710c Remove -m debug command line 2021-09-17 21:05:31 +02:00
qndel
b9faf7f60b
fix stuck chargers (#2879) 2021-09-17 00:43:39 +00:00
staphen
fb4f1ed8fd Add structs for virtual gamepad 2021-09-16 19:25:31 +02:00
staphen
b29141048a Move existing touch control logic to Vita platform 2021-09-16 19:25:31 +02:00
Juliano Leal Goncalves
379a27b64a ♻️ Convert 'ItemType' enum to enum class
🎨 Rename 'ItemType' elements to enum class standards
2021-09-13 00:25:49 +02:00
qndel
a3603d824e debug X toggle 2021-09-12 12:15:41 +02:00
ephphatha
87a33097a0 Rename ScrollDirection enum to follow convention
Pretty sure the backing type can be left to the default as well but I haven't had the time to investigate where it's used fully.
2021-09-12 02:27:47 +02:00
Anders Jenbo
7169882b1f Implement new font rendering 2021-09-12 01:37:28 +02:00
ephphatha
6fa3018f05 Move Init/FreeMissileGFX functions alongside MissileSpriteData array definition
Also combined the two free missile graphics functions as they were always called together (just slightly out of order previously).
2021-09-07 01:09:51 +02:00
Juliano Leal Goncalves
a91074d470 🚚 Rename 'LightStruct' struct to 'Light' 2021-09-06 12:49:48 +02:00
Juliano Leal Goncalves
0d3d4c14f6
🚚 Rename 'Dead' concept to 'Corpse' everywhere (#2808) 2021-09-06 12:49:00 +02:00
BC Ko
2cae444eb2 documentation cleanup: diablo 2021-08-30 13:51:42 +02:00
Anders Jenbo
7cb73a6717 Minimize impact of NOSOUND 2021-08-30 10:57:59 +02:00
Juliano Leal Goncalves
01823e1324 ♻️ Replace 'cursmx' and 'cursmy' globals with single 'cursPosition' 2021-08-30 06:45:51 +02:00
Juliano Leal Goncalves
6c21638bee ♻️ Leverage 'Point' in 'SetCursorPos' function 2021-08-30 06:45:51 +02:00
Anders Jenbo
4044fadeb5 Clean up some players references 2021-08-30 03:26:17 +02:00
obligaron
09fcb40948 Allow debug commands from command line (with + prefix) 2021-08-29 19:56:20 +02:00
obligaron
cc881a1c85 Add "seedinfo" debug command 2021-08-29 11:13:59 +02:00
obligaron
ec54654bee Debug command restart can now set a specific seed 2021-08-29 11:13:59 +02:00
obligaron
6325d87e04 Introduce CancelCurrentDiabloMsg and hide msgdelay 2021-08-26 08:28:46 +02:00
obligaron
3c45149cef Introduce IsDiabloMsgAvailable and hide msgflag 2021-08-26 08:28:46 +02:00
BC Ko
4df798808e
2435 refactor global variable Items part 2 (#2673) 2021-08-26 08:06:48 +02:00
Anders Jenbo
722e3870a5 Remove debug button A
Replaced by the visit command
2021-08-22 11:22:03 +02:00
obligaron
55d4b018ae Add "arrow" debug command 2021-08-22 02:03:02 +02:00
Anders Jenbo
783e946fd3 Make enabeling quests a command 2021-08-19 20:36:12 +02:00
Anders Jenbo
47b5527430 Move ToggleLighting() to a command 2021-08-19 20:36:12 +02:00
Anders Jenbo
d07b2204d3 Remove -j argument
Use the changelevel command instead
2021-08-19 20:36:12 +02:00
Anders Jenbo
4a1e4c599b Port debug vision to a command 2021-08-19 20:36:12 +02:00
Anders Jenbo
f931778b90 Remove debug_mode_key_w
Replaced by debug commands
2021-08-19 20:36:12 +02:00
Anders Jenbo
6bc8475e8c Clean up debug commands for loading levels 2021-08-19 20:36:12 +02:00
Anders Jenbo
4c6a5bab56 Clean up god mode 2021-08-19 20:36:12 +02:00
obligaron
6be94ceb3f Move DiabloHotkeyMsg to control.cpp and use IsChatAvailable 2021-08-19 03:44:20 +02:00
Vladimir Olteanu
286eb7144a Get rid of InitHash 2021-08-19 01:44:13 +02:00
obligaron
77f9bded9e Introduce demo namespace 2021-08-19 00:03:58 +02:00
obligaron
82cea78def Apply clang-format 2021-08-11 20:52:32 +02:00
obligaron
6f6412fced diablo_quit also frees game state (and with this sound objects) 2021-08-10 22:01:38 +02:00
Anders Jenbo
8df8b940c4
Handle some clang-tidy issues 2021-08-07 16:30:14 +02:00
Aaron Sun
3ee90ca629 Add options for sub-panel alignment 2021-08-07 16:09:32 +02:00
obligaron
8baa375c1c Fix walking command gets ignored 2021-08-07 14:20:04 +02:00
4aron5un
4c8210df21
Center the sub-panels (Quest, Character, Spell and Inventory) (#2498) 2021-08-05 21:27:07 +02:00
obligaron
fb562b29e9 Timedemo: Regard ProcessInput and gfProgressToNextGameTick 2021-07-31 20:12:31 +02:00
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.
2021-07-31 20:12:31 +02:00
obligaron
fba534de0a Remove unused LastMouseButtonTime 2021-07-30 10:21:53 +02:00
Jmgr
84b8b5828d Keymapper: remove now useless INI access functions 2021-07-27 21:12:22 +02:00
Anders Jenbo
ab8afa7cd7
Fix edge cases in mouse action tracking code (#2452)
Fixes #2431

Also:
- Track spell targets
- Merge repeat walk in to the new repeat action code
- Avoid time based repeats (use action frame instead)
2021-07-25 03:57:42 +00:00
Anders Jenbo
e5fc7fd17c Move remaning symbols in to anonymous namespaces 2021-07-20 02:51:39 +02:00
Anders Jenbo
4260d4cfcc Add OperateObject to MouseAction
For continiously operate fountains etc

Fixes #1133
2021-07-19 02:47:58 +02:00