1 /*---------------------------------------------------------------------* 2 Project: tc library 3 File: TCPalTable.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: TCPalTable.h,v $ 16 Revision 1.1 2006/02/17 09:04:06 mitu 17 1st version 18 19 20 2 4/11/01 3:30p John 21 Updated header for copyright and pathname. 22 23 1 12/03/99 4:15p Ryan 24 25 $NoKeywords: $ 26 27 -----------------------------------------------------------------------*/ 28 29 #ifndef __TCPALTABLE_H__ 30 #define __TCPALTABLE_H__ 31 32 /********************************/ 33 #include <dolphin/types.h> 34 35 /********************************/ 36 typedef struct 37 { 38 u32 numEntry; 39 u8* rgba; 40 41 } TCPalTable, *TCPalTablePtr; 42 43 /*>*******************************(*)*******************************<*/ 44 TCPalTable* TCCreatePalTable ( u32 numEntry ); 45 void TCSetPalTableValue ( TCPalTable* ptPtr, u32 index, u8 r, 46 u8 g, u8 b, u8 a ); 47 48 void TCGetPalTableValue ( TCPalTable* ptPtr, u32 index, u8* rPtr, 49 u8* gPtr, u8* bPtr, u8* aPtr ); 50 51 /*>*******************************(*)*******************************<*/ 52 53 #endif // __TCPALTABLE_H__ 54