Gleb Mazovetskiy
7fede6c4cb
Clean up owned/unowned CelSprite ambiguity
...
Makes `CelSprite` unowned and adds a new `OwnedCelSprite` class for
owned sprites.
This clarifies ownership and makes the code cleaner in a number of
places.
Additionally, because the `CelSprite` class is now tiny (1 less
pointer), we can pass it by-value instead of by-reference, removing a
pointer indirection in the rendering functions.
4 years ago
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.
4 years ago
qndel
46ed79ad42
add megatiles to tiledata ( #3211 )
4 years ago
qndel
5193abebcb
add objectindex to tiledata
4 years ago
obligaron
a99a824647
Introduce playerinfo debug command and remove d hotkey
5 years ago
obligaron
ccbdf3bf55
Introduce questinfo debug command and remove PrintDebugQuest Keybinding
5 years ago
obligaron
f9192d2312
Remove debug command line argument -^ (Enable debug tools) and added
...
scrollview debug command
5 years ago
obligaron
9678d002d3
Reduce exported functions in debug.h
5 years ago
qndel
a0461bd1c0
stop displaying 0's in tiledata debug command
5 years ago
qndel
d05316c67d
tiledata debug command
5 years ago
qndel
a3603d824e
debug X toggle
5 years ago
Anders Jenbo
de01f15398
Make debug compatible with GCC 6.2
5 years ago
obligaron
cc881a1c85
Add "seedinfo" debug command
5 years ago
qndel
8436e1f641
Merge pull request #2711 from qndel/show_coords
5 years ago
Anders Jenbo
7ed3db5f68
Add command for revealing the map
5 years ago
Anders Jenbo
4a1e4c599b
Port debug vision to a command
5 years ago
Anders Jenbo
f931778b90
Remove debug_mode_key_w
...
Replaced by debug commands
5 years ago
Anders Jenbo
4c6a5bab56
Clean up god mode
5 years ago
obligaron
36f13b34dc
Add debug text commands
5 years ago
Anders Jenbo
90960f0c14
Remove dead code
5 years ago
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.
5 years ago
Anders Jenbo
5fdb9ce459
🎨 Format code
5 years ago
Anders Jenbo
8c821e98d3
🚚 Restructure files
5 years ago
Anders Jenbo
997c1dba55
🚚 Split up all.h in to proper header relations
5 years ago
Anders Jenbo
e7ae8ddd04
🚚 Move all enums to there respective headers
5 years ago
Anders Jenbo
93d42b62b8
♻️ Change BOOL to bool
5 years ago
Anders Jenbo
433edc63ea
♻️ Consistently use pragma once to guard the headers
5 years ago
Anders Jenbo
bfb3c11c2b
🎨 Change namespace to devilution
5 years ago
Anders Jenbo
630e507f63
🚚 Apply namespace
5 years ago
Anders Jenbo
327042c2e5
Strip out debug features from the release builds
...
leveldebug and lightmax still remains
5 years ago
Anders Jenbo
0c96e32f19
Unify all defines, enums and structs
5 years ago
Anders Jenbo
926b2ee2ae
Cleanup debug.h
5 years ago
Joel Falcou
c4223d4c29
Per file basis use of extern C
6 years ago
Joel Falcou
64d26a7934
Sanitize use of namespace
...
Wrap individual headers in dvl namespace to prevent
including standard header in another namespace.
6 years ago
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)
6 years ago
Anders Jenbo
263ab2bb48
Remove unused debug functions
7 years ago
Anders Jenbo
810b12a37d
Drop unused code
7 years ago
Anders Jenbo
6fba17eec5
Correct GLOBAL types based on PSX SYM 3
7 years ago
galaxyhaxz
c3630c6a55
Implement debug seed sync
7 years ago
Anders Jenbo
a5c4efa8c3
Remove alignment hack
7 years ago
Anders Jenbo
47fa5d46d9
Clean up debug.cpp
7 years ago
Anders Jenbo
7ea77e8d56
Clean up SpawnHealer
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
7 years ago
aperturesecurity
42ce77ce05
Rebirth and Nuke
8 years ago
galaxyhaxz
fa64b2148d
Add defines [W.I.P] ( #160 )
8 years ago
galaxyhaxz
0c233e45da
Implement debug stuff from 1.00 ( #148 )
8 years ago
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef ( #28 )
...
Add definitions, other junk.
8 years ago
galaxyhaxz
bb01c6f084
Remove the "fear factor" ( #21 )
...
Snakes, spiders, Demons, what scares you?
8 years ago
galaxyhaxz
dde68ff89e
Add files via upload
8 years ago