Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script
SetLandscapePixel
Category:
Landscape
Since engine version:
4.9.1.0 GWE
Description
Sets a pixel in the landscape. Not available in the old 8 bit graphics system.
Syntax
void
SetLandscapePixel (
int
iX,
int
iY,
int
dwValue);
Parameters
iX:
X position of the pixel to be set; relative coordinates in local calls
iY:
Y position of the pixel to be set; relative coordinates in local calls
dwValue:
32 bit color value of the pixel.
Example
SetLandscapePixel(0, 0,
RGB
(185, 127, 0));
Colors the landscape pixel directly behind the calling object brown.
See also:
RGB
Sven2, April 2002
Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script