L3DT documentation
Large 3D terrain generator

Differences

This shows you the differences between two versions of the page.

zeolite:types:colourpixel [2011/01/13 03:29]
127.0.0.1 external edit
zeolite:types:colourpixel [2017/08/31 07:12] (current)
Line 3: Line 3:
 ===== Description ===== ===== Description =====
  
-ColourPixel is both the the map pixel data type for maps initialised as MAP_24bit, as well as the data type used to represent RGB colour in Zeolite variables initialised as VarID_colour.+''ColourPixel'' is both the the map pixel data type for maps initialised as ''MAP_24bit'', as well as the data type used to represent RGB colour in Zeolite variables initialised as ''VarID_colour''.
  
 ===== Definition ===== ===== Definition =====
  
-//In ExtAPI_defines.h: //+//In Zeolite_defines.h: //
  
 <code="C"> <code="C">
Line 20: Line 20:
  
 ^ Member name ^ Type ^ Comments ^ ^ Member name ^ Type ^ Comments ^
-| //r// | unsigned char | The red component of the colour (0...255). | + //r//   ''unsigned char''  | The red component of the colour (0...255). | 
-| //g// | unsigned char | The green component of the colour (0...255). | + //g//   ''unsigned char''  | The green component of the colour (0...255). | 
-| //b// | unsigned char | The blue component of the colour (0...255). |+ //b//   ''unsigned char''  | The blue component of the colour (0...255). |
  
 ===== Type identifiers ===== ===== Type identifiers =====
 
zeolite/types/colourpixel.txt · Last modified: 2017/08/31 07:12 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki