Commit graph

169 commits

Author SHA1 Message Date
obligaron
3368ff5a3b Introduce iteminfo debug command and remove ItemInfo Keybinding 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
5d315b46b0 Merge coords and cursorcoords in tiledata debug command 2021-09-16 19:18:06 +02:00
obligaron
9678d002d3 Reduce exported functions in debug.h 2021-09-16 19:18:06 +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
a0461bd1c0 stop displaying 0's in tiledata debug command 2021-09-12 18:15:45 +02:00
qndel
d05316c67d tiledata debug command 2021-09-12 15:20:27 +02:00
qndel
a3603d824e debug X toggle 2021-09-12 12:15:41 +02:00
Anders Jenbo
064a70a9b1 Fix double encoding of monster names 2021-09-12 01:37:28 +02:00
Anders Jenbo
cd79f0204d 🚨 Fix compiler warnings 2021-09-12 01:37:28 +02:00
obligaron
f957c3a099 Allow to spawn more than 8 monsters 2021-09-11 14:41:30 +02:00
obligaron
7d86991534 debug spawn command with configurable monster count 2021-09-11 14:41:30 +02:00
qndel
d47d2e3030 debug monster commands 2021-09-11 14:41:30 +02:00
Juliano Leal Goncalves
ce23cd6bce 🚚 Rename 'QuestData' global array to 'QuestsData'
This will allow us to disambiguate from the 'QuestDataStruct' after the 'Struct' suffix is removed.
2021-09-06 12:54:40 +02:00
obligaron
be4aeca196 DebugCmdWarpToLevel: Use correct WM_DIABTOWNWARP instead of the up-to-town WM_DIABTWARPUP 2021-09-02 21:55:37 +02:00
obligaron
2e07a59582 DebugCmdLoadMap: Fix transition from level to map 2021-09-02 21:55:37 +02:00
obligaron
82a5af7332 DebugCmdWarpToLevel: Fix transition from map to level 2021-09-02 21:55:37 +02:00
qndel
96d784912f fix currlevel in map command 2021-09-01 09:58:07 +02:00
Juliano Leal Goncalves
01823e1324 ♻️ Replace 'cursmx' and 'cursmy' globals with single 'cursPosition' 2021-08-30 06:45:51 +02:00
Anders Jenbo
4044fadeb5 Clean up some players references 2021-08-30 03:26:17 +02:00
Anders Jenbo
eb04c5f554 Fix GCC 6.2 builds 2021-08-29 18:05:28 +02:00
Anders Jenbo
de01f15398 Make debug compatible with GCC 6.2 2021-08-29 17:54:40 +02:00
obligaron
369829164d DebugCmdResetLevel: Use stoul for parameter seed parsing 2021-08-29 14:13:18 +02:00
obligaron
d954a9751c Log executed debug commands with result 2021-08-29 11:13:59 +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
qndel
8436e1f641
Merge pull request #2711 from qndel/show_coords 2021-08-28 17:15:24 +02:00
obligaron
a40bd8d3b9 DebugCmdLoadMap: Show Map Ids 2021-08-26 08:28:46 +02:00
obligaron
b83528161f DebugCmdQuest: Show Quest ids 2021-08-26 08:28:46 +02:00
obligaron
a27ab517dc Enable multiline DiabloMsg and use it in debug.cpp 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
7ed3db5f68 Add command for revealing the map 2021-08-22 02:54:31 +02:00
Anders Jenbo
83cce4bb69 Improve quest debug command
Add quest to quest log
take all as the quest id for activating all quests
2021-08-22 02:54:31 +02:00
qndel
58367c7e32
talkto debug command (#2666) 2021-08-22 02:32:51 +02:00
obligaron
55d4b018ae Add "arrow" debug command 2021-08-22 02:03:02 +02:00
obligaron
036f387682 Add "exit" debug command 2021-08-22 02:03:02 +02:00
obligaron
be21eebb08 Add "visit" debug command 2021-08-22 02:03:02 +02:00
obligaron
b5090ac817 Fix debug help command string length check 2021-08-22 02:03:02 +02:00
qndel
6fca66ad8a debug commands: dropitem/dropunique 2021-08-21 20:42:07 +02:00
qndel
ed6e7a661b debug command: refill 2021-08-21 20:42:07 +02:00
qndel
0ca5b4af34 stop gold from displaying red 2021-08-21 17:13:05 +02:00
qndel
22dcca798e
tweak debug spells command (#2642) 2021-08-21 09:13:42 +02:00
obligaron
46844c03cb Debug Commands: Ensure that between command and parameters only a space is allowed 2021-08-20 19:32:41 +02:00
Anders Jenbo
5ddcd90ff9 Make NetSendCmdQuest() take a quest structure as input 2021-08-20 12:13:17 +02:00
qndel
a97d64af1b Update Source/debug.cpp 2021-08-19 20:36:12 +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
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