summaryrefslogtreecommitdiff
path: root/src/m_config.h
diff options
context:
space:
mode:
authorSimon Howard2008-03-09 03:02:48 +0000
committerSimon Howard2008-03-09 03:02:48 +0000
commitf9b29073f787a7ddbd7f73b80eb360915ebef4ae (patch)
tree5e0a9dc8e7a52a578ae32d135fd6077756bc2aec /src/m_config.h
parent6121dd5eb9cc18e673cb1b82a71e7f76e82e6518 (diff)
downloadchocolate-doom-f9b29073f787a7ddbd7f73b80eb360915ebef4ae.tar.gz
chocolate-doom-f9b29073f787a7ddbd7f73b80eb360915ebef4ae.tar.bz2
chocolate-doom-f9b29073f787a7ddbd7f73b80eb360915ebef4ae.zip
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
Diffstat (limited to 'src/m_config.h')
-rw-r--r--src/m_config.h37
1 files changed, 37 insertions, 0 deletions
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