Difference between revisions of "CLandscape"
From Project X Wiki
Line 13: | Line 13: | ||
MakeHole - creates hole in terrain (like in explosions)<br/> | MakeHole - creates hole in terrain (like in explosions)<br/> | ||
ApplyMask - applies indexed mask to coordinates<br/> | ApplyMask - applies indexed mask to coordinates<br/> | ||
+ | Indexes on da picture:<br/> | ||
[[File:TerrainMasks.PNG]] | [[File:TerrainMasks.PNG]] | ||
{{Classes}} | {{Classes}} |
Revision as of 15:52, 24 August 2011
class CLandscape { CBitmap* BitMask; void MakeHole(int radius, int x, int y); void ApplyMask(int index, int x, int y); };
BitMask - bit mask for collision checking
MakeHole - creates hole in terrain (like in explosions)
ApplyMask - applies indexed mask to coordinates
Indexes on da picture:
|