CLandscape
From Project X Wiki
class CLandscape { CBitmap* BitMask; bool sx; bool sy; void MakeHole(int radius, int x, int y); void ApplyMask(int index, int x, int y); };
BitMask - bit mask for collision checking
sx - x size of the landscape, usually the same as GS->LevelSX.
sy - y size of the landscape, usually the same as GS->LevelSY.
MakeHole - creates hole in terrain (like in explosions).
ApplyMask - applies indexed mask to coordinates.
Indexes on da picture:
|