Debug

### Debug Flags

Enable capability mask | CAPMASK |
Full RECT Blit | FULLRECTBLT | Causes every blit operation on primary surface to be applied to the full surface (NULL RECT coordinates). It could be handy to recover wrong surface handling.
Center to Window | CENTERTOWIN |
Force D3DCMP_ALWAYS setting | ZBUFFERALWAYS |
Force hot patching | HOTPATCHALWAYS |
Freeze injected son process | FREEZEINJECTEDSON |
Stress resources | STRESSRESOURCES |

### Debug Mode Logs

Start with toggle | STARTWITHTOGGLE | Initializes custom key toggle to active status. Checking this flag will turn on all flagged Dump functions from the start of hook with no need to press the custom key toggle.
Assert Dialog | ASSERTDIALOG |
Dump bitmaps | DUMPBITMAP | Debug utility to make images of HBITMAP resources in "bmp.out" game folder.
Dump DIB Sections | DUMPDIBSECTION | Debug utility to make images of DIB resources in "bmp.out" game folder. Note: Images of DIBs with negative height will be upside down.
Dump Device Context | DUMPDEVCONTEXT |
Dump CPUID | DUMPCPUID |
Capture screenshots | CAPTURESCREENS |

### Visual Flags

Suppress ddraw Blt to primary | NODDRAWBLT |
Suppress ddraw Flip | NODDRAWFLIP |
Suppress GDI Blt | NOGDIBLT |
Do not Blt to primary | NOBLT |
Use FastBlt to primary | DOFASTBLT |
Highlight blit to primary | MARKBLIT |
Highlight Locked surfaces | MARKLOCK |
Highlight WinG32 operations | MARKWING32 | Highlight WinG32 operations by drawing a colored line all around the rectangular area that is the target of the operation: red: WinGStretchBlt green:WinGBitBlt

Highlight GDI32 operations

MARKGDI32

Highlight GDI32 operations by drawing a colored line all around the rectangular area that is the target of the operation:

light-blue: StretchBlt

yellow: PatBlt
magenta: StretchDIBits
white: SetDIBits, SetDIBitsToDevice, TransparentBlt
blue: BitBlt
red: DrawIcon

### D3D tweaks

Patch execute buffer | PATCHEXECUTEBUFFER |
Force ZBuffer ON | FORCEZBUFFERON |
Force ZBuffer OFF | FORCEZBUFFEROFF |