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