2 * Graphics Routines Header -- graphics.h
3 * $Id: graphics.h,v 1.1.2.10 2004/01/14 05:08:58 sparrow_hawk Exp $
5 * Copyright (C) 2003 Kevin Riggle
6 * http://cmancala.sourcefoge.net
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2, or (at your option) any
13 * This program is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details, a copy of which may be found in
17 * the file COPYING provided in the main directory of this release.
21 extern SDL_Surface *LoadRes(char *filename);
22 extern SDL_Rect SurfaceToRect(SDL_Surface *src);
23 extern SDL_Surface *DrawBoard(int *aiBoard, int *humanBoard,
24 TTF_Font *board_font, TTF_Font *home_font,
25 SDL_Surface *tile, SDL_Surface **stone_gfx,
26 int active, int highlight);