1 /*---------------------------------------------------------------------------* 2 Project: TwlSDK - demos - CTRDG - pullout-1 3 File: screen.h 4 5 Copyright 2008 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 $Date:: $ 14 $Rev: $ 15 $Author: $ 16 *---------------------------------------------------------------------------*/ 17 18 #ifndef SCREEN_H_ 19 #define SCREEN_H_ 20 21 #ifdef __cplusplus 22 extern "C" { 23 #endif 24 25 /*===========================================================================*/ 26 #include <nitro/types.h> 27 28 extern u16 gScreen[32 * 32]; 29 30 void ClearScreen(void); 31 void PrintString(s16 x, s16 y, u8 palette, char *text, ...); 32 void ColorString(s16 x, s16 y, s16 length, u8 palette); 33 34 /*===========================================================================*/ 35 36 #ifdef __cplusplus 37 } /* extern "C" */ 38 #endif 39 40 #endif /* SCREEN_H_ */ 41 42 /*---------------------------------------------------------------------------* 43 End of file 44 *---------------------------------------------------------------------------*/ 45