Logo Search packages:      
Sourcecode: scummvm version File versions

gp32std.h

/* ScummVM - Scumm Interpreter
 * Copyright (C) 2001-2006 The ScummVM project
 * Copyright (C) 2002 Ph0x - GP32 Backend
 * Copyright (C) 2003/2004 DJWillis - GP32 Backend
 * Copyright (C) 2005 Won Star - GP32 Backend
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.

 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 *
 * $URL: https://svn.sourceforge.net/svnroot/scummvm/scummvm/tags/release-0-9-1/backends/gp32/gp32std.h $
 * $Id: gp32std.h 23341 2006-06-29 08:22:45Z wonst719 $
 *
 */

#ifndef __GP32STD_H
#define __GP32STD_H

#include <gpfont.h>
#include <gpfont_port.h>
#include <gpgraphic.h>
#include <gpmm.h>
#include <gpmem.h>
#include <gpos_def.h>
#include <gpstdio.h>
#include <gpstdlib.h>
#include <gpdef.h>

#define LCD_WIDTH 320
#define LCD_HEIGHT 240

extern char *     gp_strcpy(char *dst, const char *src);
extern char *     gp_strncpy(char *dst, const char *src, size_t count);
extern char *     gp_strcat(char *dst, const char *src);
extern char *     gp_strdup(const char *str);
extern int        gp_strcasecmp(const char *dst, const char *src);
extern int        gp_strncasecmp(const char *dst, const char *src, size_t count);
extern void       gp_sprintf(char *str, const char *fmt, ...);

extern void       gp_setCpuSpeed(int freq);
extern int        gp_printf(const char *fmt, ...);
extern void       gp_delay(unsigned long msecs);
extern void       gp_exit(int code);

extern void GPDEBUG(const char *fmt, ...);
extern void LP(const char *fmt, ...);
extern void NP(const char *fmt, ...);
extern void SP(const char *fmt, ...);
extern void BP(const char *fmt, ...);

#endif

Generated by  Doxygen 1.6.0   Back to index