Virtual U.org
Get Personal Training on VU Today
    
Top shadow
 
 register/help
User Name:

Password:

COLCODE.H Source File
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

COLCODE.H

Go to the documentation of this file.
00001 // Filename    : COLCODE.H
00002 // Description : C include file for defining special color
00003 //               see/update also COLCODE.INC for assembly
00004 
00005 // for transparent code repeated for 1 to UNIQUE_REPEAT_CODE_NUM times,
00006 // write FEW_TRANSPARENT_CODE(repeated_times)
00007 // for transparent code repeated for UNIQUE_REPEAT_CODE_NUM+1 to 255 times,
00008 // write two bytes, MANY_TRANSPARENT_CODE and repeated_times
00009 
00010 #define TRANSPARENT_CODE      255
00011 #define UNIQUE_REPEAT_CODE_NUM    7               // total no. of bytes used by transparent pixels and compressed transparent pixels is 7+1 (the last 1 is the first byte of the 2 bytes compression code)
00012 #define FEW_TRANSPARENT_CODE(n) (0xFF-n+1)
00013 #define MANY_TRANSPARENT_CODE   0xf8
00014 #define MIN_TRANSPARENT_CODE    0xf8
00015 #define MAX_TRANSPARENT_CODE    0xff
00016 
00017 #define SHADOW_CODE           0x00
00018 
00019 extern "C" {
00020     extern short transparent_code_w;
00021 }

Generated on Fri Aug 23 01:37:01 2002 for VirtualU by doxygen1.2.17