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