summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2005-07-23 18:54:06 +0000
committerSimon Howard2005-07-23 18:54:06 +0000
commit50a842586467d4311ad59cc34aa8076ff619a8e4 (patch)
treecc67c854ac7f822e9077b00ed66d03eded9a44db /src
parentcce6e2644265e45ba140b5a2c5d8cbeccf093874 (diff)
downloadchocolate-doom-50a842586467d4311ad59cc34aa8076ff619a8e4.tar.gz
chocolate-doom-50a842586467d4311ad59cc34aa8076ff619a8e4.tar.bz2
chocolate-doom-50a842586467d4311ad59cc34aa8076ff619a8e4.zip
Use standard C functions for WAD code
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 16
Diffstat (limited to 'src')
-rw-r--r--src/w_wad.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/w_wad.h b/src/w_wad.h
index 01d60601..f0c31391 100644
--- a/src/w_wad.h
+++ b/src/w_wad.h
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: w_wad.h 8 2005-07-23 16:44:57Z fraggle $
+// $Id: w_wad.h 16 2005-07-23 18:54:06Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -30,10 +30,8 @@
#ifndef __W_WAD__
#define __W_WAD__
+#include <stdio.h>
-#ifdef __GNUG__
-#pragma interface
-#endif
//
@@ -63,7 +61,7 @@ typedef struct
typedef struct
{
char name[8];
- int handle;
+ FILE *handle;
int position;
int size;
} lumpinfo_t;
@@ -92,6 +90,9 @@ void* W_CacheLumpName (char* name, int tag);
//-----------------------------------------------------------------------------
//
// $Log$
+// Revision 1.3 2005/07/23 18:54:06 fraggle
+// Use standard C functions for WAD code
+//
// Revision 1.2 2005/07/23 16:44:57 fraggle
// Update copyright to GNU GPL
//