From f9b29073f787a7ddbd7f73b80eb360915ebef4ae Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 9 Mar 2008 03:02:48 +0000 Subject: Split out configuration file code from m_misc.c into m_config.c. Move screenshot code into v_video.c Add M_FileLength common function for finding the length of an open file. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1102 --- src/m_config.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/m_config.h (limited to 'src/m_config.h') diff --git a/src/m_config.h b/src/m_config.h new file mode 100644 index 00000000..747569cd --- /dev/null +++ b/src/m_config.h @@ -0,0 +1,37 @@ +// Emacs style mode select -*- C++ -*- +//----------------------------------------------------------------------------- +// +// Copyright(C) 1993-1996 Id Software, Inc. +// Copyright(C) 2005 Simon Howard +// +// 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., 59 Temple Place - Suite 330, Boston, MA +// 02111-1307, USA. +// +// DESCRIPTION: +// Configuration file interface. +// +//----------------------------------------------------------------------------- + + +#ifndef __M_CONFIG__ +#define __M_CONFIG__ + +void M_LoadDefaults(void); +void M_SaveDefaults(void); +void M_SetConfigDir(void); + +extern char *configdir; + +#endif -- cgit v1.2.3