1 /*---------------------------------------------------------------------* 2 Project: TexConv 3 File: tga.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: tga.h,v $ 16 Revision 1.1 2006/02/17 09:03:28 mitu 17 1st version 18 19 20 2 4/11/01 3:16p John 21 Updated header copyrights and pathname. 22 23 1 12/03/99 3:48p Ryan 24 25 3 10/12/99 10:18p Howardc 26 setup system/local includes correctly 27 28 2 10/12/99 7:55p Mikepc 29 changed include paths to vcc relative. 30 31 1 10/08/99 2:59p Mikepc 32 prototypes for user-defined image file-reading function(s). This code 33 has been moved to tc from tplConv.lib for portability. 34 tga.cpp, .h provide a working example of a user-defined file-reading 35 function. 36 37 6 9/16/99 8:48p Mikepc 38 39 5 8/26/99 4:56p Mikepc 40 added namespace protection to remove potential name collisions with 41 tool code. Exceptions are CreateTplFile and QuickConvert. These are 42 extern "C" linked. 43 44 4 8/26/99 11:37a Mikepc 45 46 3 8/26/99 11:01a Mikepc 47 tplConv rewrite for memory usage efficiency, batch file processing 48 ability. 49 50 $NoKeywords: $ 51 52 -----------------------------------------------------------------------*/ 53 54 55 56 #ifndef __TGA_H__ 57 #define __TGA_H__ 58 59 60 61 #include <charPipeline/tc.h> 62 63 64 65 u32 ReadTgaFile( u32 rawSize, u8* rawBits, TCFile* dfPtr ); 66 67 68 69 #endif // __TGA_H__ 70