1 /*---------------------------------------------------------------------* 2 Project: tc library 3 File: TCMipmap.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: TCMipmap.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 2 11/23/99 2:51p Mikepc 26 changed CreateNextMipMapLyer, BoxFilter prototypes to include alpha 27 layer when mipmapping color layer 28 29 14 10/08/99 2:44p Mikepc 30 update for tplConv portability: altered data structures, replaced 31 references to 'read tga code' with ' *fileFn, removed redundant 32 functions. 33 34 13 10/01/99 1:27p Mikepc 35 changed CreateNextMipMapLayer() prototype- 'level' param was redundant. 36 37 12 10/01/99 12:16p Mikepc 38 changed CreateNextMipmapLayer, BoxFilter prototypes. 39 40 11 9/22/99 3:36p Mikepc 41 42 10 9/16/99 8:48p Mikepc 43 44 9 8/26/99 4:56p Mikepc 45 added namespace protection to remove potential name collisions with 46 tool code. Exceptions are CreateTplFile and QuickConvert. These are 47 extern "C" linked. 48 49 8 8/26/99 11:37a Mikepc 50 51 7 8/26/99 11:01a Mikepc 52 tplConv rewrite for memory usage efficiency, batch file processing 53 ability. 54 55 $NoKeywords: $ 56 57 -----------------------------------------------------------------------*/ 58 59 #ifndef __TCMIPMAP_H__ 60 #define __TCMIPMAP_H__ 61 62 /********************************/ 63 #include <charPipeline/tc/TCLayer.h> 64 65 #include "TCImageList.h" 66 67 /*>*******************************(*)*******************************<*/ 68 u32 TCWriteTplImageMipMaps ( FILE* fp, TCImage* thisImage ); 69 u32 TCComputeTplMipMapImageBufferSize ( TCImage* thisImage ); 70 71 /*>*******************************(*)*******************************<*/ 72 73 #endif // __TCMIPMAP_H__ 74 75