Debian Codegraph @

src/fuente.h

raw symbols SCIP
1 /*
2 * Don Ceferino Hazaña - video game similary to Super Pang!
3 * Copyright (c) 2004, 2005 Hugo Ruscitti
4 * web site: http://www.loosersjuegos.com.ar
5 *
6 * This file is part of Don Ceferino Hazaña (ceferino).
7 * Written by Hugo Ruscitti <[email protected]>
8 *
9 * Don Ceferino Hazaña is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * Don Ceferino Hazaña is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 *
23 */
24 #ifndef _FUENTE_H
25 #define _FUENTE_H
26
27 #include "grafico.h"
28
29 /*!
30 * \brief Una letra
31 */
32 class fuente
33 {
34 public:
35 void iniciar (class fuente2 *_fuente, int x, int y, \
36 char * cadena, int animacion);
37 void actualizar(void);
38 void imprimir(SDL_Surface *screen, SDL_Rect *rect);
39 int get_estado(void) {return estado;}
40 int get_h (void);
41
42 private:
43 class fuente2 * fuente;
44 int x;
45 int y;
46 int paso;
47 char cadena [256];
48 int estado;
49 };
50
51 #endif