DECLARE SUB DQBcopyHitLayer (BYVAL SourceLayer, BYVAL DestLayer, BYVAL Col)
SourceLayer - Source layer to copy data from
DestLayer - Destination layer where to copy data
Col - Filling color
none
Works exactly like DQBcopyLayer, except for the fact than all the non-0 pixels of the source layer are drawn onto the destination layer with the same color specified with the "Col" parameter.
Useful to create collision layers, to be used in conjunction with the DQBcollideOnLayer function.