1 /* Pongix - clone of the "Pong" video game with net support
2  * Copyright (C) 2005 - Hugo Ruscitti (see AUTHORS file)
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
17  */
18 
19 #ifndef MARCADOR_H
20 #define MARCADOR_H
21 
22 typedef struct
23 {
24 	int puntos1;
25 	int puntos2;
26 } Marcador;
27 
28 
29 #include "mundo.h"
30 
31 Marcador * marcador_iniciar (void);
32 void marcador_sumar (Marcador * data, int jugador);
33 void marcador_terminar (Marcador * data);
34 void marcador_imprimir (Marcador * data, struct mundo * mundo);
35 void marcador_reiniciar (Marcador * data);
36 
37 #endif
38