summaryrefslogtreecommitdiff
path: root/src/d_iwad.h
diff options
context:
space:
mode:
authorSimon Howard2006-12-21 21:43:47 +0000
committerSimon Howard2006-12-21 21:43:47 +0000
commit37c6b72103cc9d7965a669cdca01edae83f765e4 (patch)
tree829da412a95f0138e21ea1122bf756c1bf28d69f /src/d_iwad.h
parentf7a83bd1057494c688acfaff9c1453ac4be34711 (diff)
downloadchocolate-doom-37c6b72103cc9d7965a669cdca01edae83f765e4.tar.gz
chocolate-doom-37c6b72103cc9d7965a669cdca01edae83f765e4.tar.bz2
chocolate-doom-37c6b72103cc9d7965a669cdca01edae83f765e4.zip
Split off IWAD-related code into separate d_iwad.c. On Windows, search
the registry to automatically find the locations of installed IWADs. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 791
Diffstat (limited to 'src/d_iwad.h')
-rw-r--r--src/d_iwad.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/d_iwad.h b/src/d_iwad.h
new file mode 100644
index 00000000..404d7efb
--- /dev/null
+++ b/src/d_iwad.h
@@ -0,0 +1,36 @@
+// Emacs style mode select -*- C++ -*-
+//-----------------------------------------------------------------------------
+//
+// Copyright(C) 2006 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:
+// Find IWAD and initialise according to IWAD type.
+//
+//-----------------------------------------------------------------------------
+
+
+#ifndef __D_IWAD__
+#define __D_IWAD__
+
+char *D_FindIWAD(void);
+void D_SetSaveGameDir(void);
+void D_IdentifyVersion(void);
+void D_SetGameDescription(void);
+
+#endif
+