1 /*---------------------------------------------------------------------------*
2   Project:  NitroSDK - SPI - demos - pm-1
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   Revision 1.2  2005/02/28 05:26:12  yosizaki
18   do-indent.
19 
20   Revision 1.1  2004/08/07 01:59:51  yada
21   modified much
22 
23   $NoKeywords: $
24  *---------------------------------------------------------------------------*/
25 
26 #ifndef	SCREEN_H_
27 #define	SCREEN_H_
28 
29 #ifdef	__cplusplus
30 extern "C" {
31 #endif
32 
33 /*===========================================================================*/
34 #include	<nitro/types.h>
35 
36 extern u16 gScreen[32 * 32];
37 
38 void    ClearScreen(void);
39 void    PrintString(s16 x, s16 y, u8 palette, char *text, ...);
40 void    ColorString(s16 x, s16 y, s16 length, u8 palette);
41 
42 /*===========================================================================*/
43 
44 #ifdef	__cplusplus
45 }          /* extern "C" */
46 #endif
47 
48 #endif /* SCREEN_H_ */
49 
50 /*---------------------------------------------------------------------------*
51   End of file
52  *---------------------------------------------------------------------------*/
53