Commit graph

50 commits

Author SHA1 Message Date
ephphatha
903b661307 Use ObjectAtPosition for debug object type display
The other use of dObject is displaying the contents of that array so makes sense to leave as is. We're also able to remove the map since we can reference the current object type value directly on the returned object.
2021-12-28 16:01:37 +01:00
qndel
46ed79ad42
add megatiles to tiledata (#3211) 2021-11-06 18:53:53 +01:00
qndel
5193abebcb add objectindex to tiledata 2021-10-20 22:30:18 +02:00
obligaron
a99a824647 Introduce playerinfo debug command and remove d hotkey 2021-09-17 21:05:31 +02:00
obligaron
ccbdf3bf55 Introduce questinfo debug command and remove PrintDebugQuest 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
9678d002d3 Reduce exported functions in debug.h 2021-09-16 19:18:06 +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
de01f15398 Make debug compatible with GCC 6.2 2021-08-29 17:54:40 +02:00
obligaron
cc881a1c85 Add "seedinfo" debug command 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
Anders Jenbo
7ed3db5f68 Add command for revealing the map 2021-08-22 02:54:31 +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
4c6a5bab56 Clean up god mode 2021-08-19 20:36:12 +02:00
obligaron
36f13b34dc Add debug text commands 2021-08-19 03:44:20 +02:00
Anders Jenbo
90960f0c14 Remove dead code 2021-08-07 00:36:38 +02:00
Gleb Mazovetskiy
1b8b62a8c2 ♻️ Store CEL width with the sprite itself
Instead of passing the CEL sprite width when drawing, store the CEL
width at load time in the new `CelSprite` struct.

Implemented for most sprites except towners, missiles, or monsters.
2021-05-01 20:51:55 +02:00
Anders Jenbo
5fdb9ce459 🎨 Format code 2021-04-19 00:37:33 +02:00
Anders Jenbo
8c821e98d3 🚚 Restructure files 2021-04-16 03:57:22 +02:00
Anders Jenbo
997c1dba55 🚚 Split up all.h in to proper header relations 2021-04-16 01:04:54 +02:00
Anders Jenbo
e7ae8ddd04 🚚 Move all enums to there respective headers 2021-04-10 16:30:00 +02:00
Anders Jenbo
93d42b62b8 ♻️ Change BOOL to bool 2021-04-09 15:13:02 +02:00
Anders Jenbo
433edc63ea ♻️ Consistently use pragma once to guard the headers 2021-04-06 15:21:25 +02:00
Anders Jenbo
bfb3c11c2b 🎨 Change namespace to devilution 2021-04-06 15:21:25 +02:00
Anders Jenbo
630e507f63 🚚 Apply namespace 2021-04-06 15:21:25 +02:00
Anders Jenbo
327042c2e5 Strip out debug features from the release builds
leveldebug and lightmax still remains
2021-02-19 22:04:11 +01:00
Anders Jenbo
0c96e32f19 Unify all defines, enums and structs 2021-01-08 20:53:06 +01:00
Anders Jenbo
4794c8357c Merge branch 'master' of github.com:diasurgical/devilution 2020-11-02 03:59:47 +01:00
Anders Jenbo
926b2ee2ae Cleanup debug.h 2020-11-02 02:56:37 +01:00
Joel Falcou
c4223d4c29 Per file basis use of extern C 2020-04-22 13:15:29 +02:00
Joel Falcou
64d26a7934 Sanitize use of namespace
Wrap individual headers in dvl namespace to prevent
including standard header in another namespace.
2020-04-22 13:15:29 +02:00
Anders Jenbo
776ab10476 Merge branch 'master' of github.com:diasurgical/devilution 2020-03-29 23:40:05 +02:00
Anders Jenbo
3c276a3cd3 Add documentation
- Add file documentation to about 1/4 of the files in Source
- Copy over a lot of the documentation from the sanctuary/notes repo
- Standardise all the existing documentation
- Create a configuration for Doxygen
- Add more documentation (engine.cpp is now fully documented)
2020-03-01 22:18:00 +01:00
Anders Jenbo
263ab2bb48 Remove unused debug functions 2019-10-13 03:40:45 +02:00
Anders Jenbo
810b12a37d Drop unused code 2019-10-13 00:08:24 +02:00
Anders Jenbo
6fba17eec5 Correct GLOBAL types based on PSX SYM 3 2019-07-21 04:10:31 +02:00
galaxyhaxz
c3630c6a55 Implement debug seed sync 2019-05-21 08:54:10 +01:00
Anders Jenbo
a5c4efa8c3 Remove alignment hack 2019-05-02 01:27:41 +02:00
Anders Jenbo
47fa5d46d9 Clean up debug.cpp 2019-05-02 00:16:46 +01:00
Anders Jenbo
7ea77e8d56 Clean up SpawnHealer 2019-04-16 07:03:01 +02:00
galaxyhaxz
4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
Anders Jenbo
ab3a6208d2 Use "BOOLEAN" instead of "bool"
bool is not defined in C
2018-11-26 12:35:03 +01:00
galaxyhaxz
fa64b2148d
Add defines [W.I.P] (#160) 2018-08-15 22:13:15 -05:00
galaxyhaxz
0c233e45da
Implement debug stuff from 1.00 (#148) 2018-07-23 02:03:21 -05:00
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef (#28)
Add definitions, other junk.
2018-06-20 05:17:44 -05:00
galaxyhaxz
bb01c6f084
Remove the "fear factor" (#21)
Snakes, spiders, Demons, what scares you?
2018-06-18 19:16:32 -05:00
galaxyhaxz
dde68ff89e
Add files via upload 2018-06-06 21:25:54 -05:00