bygfoot/src/table.h

61 lines
1.5 KiB
C
Raw Normal View History

2005-10-20 17:45:00 +02:00
/*
2005-11-26 17:52:51 +01:00
table.h
2005-10-20 17:45:00 +02:00
Bygfoot Football Manager -- a small and simple GTK2-based
football management game.
http://bygfoot.sourceforge.net
Copyright (C) 2005 Gyözö Both (gyboth@bygfoot.com)
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.
*/
#ifndef TABLE_H
#define TABLE_H
#include "bygfoot.h"
#include "fixture_struct.h"
#include "table_struct.h"
2005-04-04 12:36:04 +02:00
Table
table_new(void);
TableElement
2005-05-02 16:39:30 +02:00
table_element_new(Team *team, gint old_rank);
void
table_update(const Fixture *fix);
void
table_update_get_elements(TableElement **elements, const Fixture *fix, gboolean non_cumulative);
gint
table_element_compare_func(gconstpointer a,
gconstpointer b,
gpointer clid_round);
2005-09-19 23:13:36 +02:00
gboolean
query_tables_in_country(void);
Table
table_copy(const Table *table);
2009-01-11 15:51:12 +01:00
void
table_refresh_team_pointers(Table *table);
#endif