1 /*---------------------------------------------------------------------*
2 Project:  tc library
3 File:     TCLayerInternal.h
4 
5 Copyright 1998-2001 Nintendo.  All rights reserved.
6 
7 These coded instructions, statements and computer programs contain
8 proprietary information of Nintendo of America Inc. and/or Nintendo
9 Company Ltd., and are protected by Federal copyright law.  They may
10 not be disclosed to third parties or copied or duplicated in any form,
11 in whole or in part, without the prior written consent of Nintendo.
12 
13 Change History:
14 
15    $Log: TCLayerInternal.h,v $
16    Revision 1.1  2006/02/17 09:02:16  mitu
17    1st version
18 
19 
20     2     4/11/01 3:04p John
21     Updated header copyrights and pathname.
22 
23     1     12/03/99 3:44p Ryan
24 
25     9     10/08/99 2:44p Mikepc
26     update for tplConv portability: altered data structures, replaced
27     references to 'read tga code' with ' *fileFn, removed redundant
28     functions.
29 
30     8     9/16/99 8:48p Mikepc
31 
32     7     8/26/99 4:56p Mikepc
33     added namespace protection to remove potential name collisions with
34     tool code.  Exceptions are CreateTplFile and QuickConvert.  These are
35     extern "C" linked.
36 
37     6     8/26/99 11:37a Mikepc
38 
39     5     8/26/99 11:01a Mikepc
40     tplConv rewrite for memory usage efficiency, batch file processing
41     ability.
42 
43   $NoKeywords: $
44 
45 -----------------------------------------------------------------------*/
46 
47 // API to create lists of layer data
48 // 1 list for each of image color, image alpha, palette color, palette alpha.
49 
50 #ifndef __TCLAYERINTERNAL_H__
51 #define __TCLAYERINTERNAL_H__
52 
53 /********************************/
54 #include <charPipeline/tc/TCLayer.h>
55 #include <charPipeline/tc/TCFile.h>
56 
57 #include "TCImageList.h"
58 
59 /********************************/
60 #define LY_IMAGE_COLOR_CMP	0x0008
61 
62 /*>*******************************(*)*******************************<*/
63 void TCMakeImColorLayer		( TCFile* dfPtr, TCLayer* newLy );
64 void TCMakeImAlphaLayer		( TCFile* dfPtr, TCLayer* newLy );
65 void TCConvertCI_To_RGB		( TCFile* dfPtr, TCImage* imPtr );
66 
67 /*>*******************************(*)*******************************<*/
68 
69 #endif  // __TCLAYERINTERNAL_H__
70