bygfoot/src/debug.h

60 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
debug.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.
*/
2005-05-13 20:20:47 +02:00
#ifndef DEBUG_H
#define DEBUG_H
2009-04-29 19:18:54 +02:00
#include <gtk/gtk.h>
#include "bygfoot_struct.h"
2009-04-29 19:18:54 +02:00
//#include "bygfoot.h"
enum DebugOutput
{
DEBUG_OUT_STDOUT = 0,
DEBUG_OUT_LOGFILE,
DEBUG_OUT_STDOUT_LOGFILE
};
2005-05-13 20:20:47 +02:00
void
2005-12-10 13:21:19 +01:00
debug_action(const gchar *text);
2005-05-13 20:20:47 +02:00
gboolean
debug_reset_counter(gpointer data);
2005-10-27 23:10:15 +02:00
void
debug_calibrate_betting_odds(gint skilldiffmax, gint matches_per_skilldiff, Bygfoot *bygfoot);
2005-05-13 20:20:47 +02:00
void
debug_writer_out(const gchar *file_name,
const gchar *method_name,
const gchar *text,
gint debuglevel);
2009-04-29 19:18:54 +02:00
void
debug_print_message(gchar *format, ...);
2005-05-13 20:20:47 +02:00
#endif