Difference between revisions of "Targa.c"

From Organic Design wiki
(add defaults generated by "the shop")
m
Line 1: Line 1:
 +
 +
 
typedef struct {
 
typedef struct {
 
   char  idlength = 0;
 
   char  idlength = 0;
 
   char  colourmaptype = 0;
 
   char  colourmaptype = 0;
 
   char  datatypecode = 0;
 
   char  datatypecode = 0;
   short int colourmaporigin = 512;
+
   short int colourmaporigin = 0;
 
   short int colourmaplength = 0;
 
   short int colourmaplength = 0;
 
   char  colourmapdepth = 0;
 
   char  colourmapdepth = 0;

Revision as of 09:41, 3 July 2006


typedef struct {

  char  idlength = 0;
  char  colourmaptype = 0;
  char  datatypecode = 0;
  short int colourmaporigin = 0;
  short int colourmaplength = 0;
  char  colourmapdepth = 0;
  short int x_origin = 0;
  short int y_origin = 0;
  short width = 400;
  short height = 300;
  char  bitsperpixel = 8;
  char  imagedescriptor = ' ';

} HEADER;