[chocolate-doom] 10/83: Use standard C functions for WAD code

Jonathan Dowland jmtd at moszumanska.debian.org
Mon Jan 30 15:06:21 UTC 2017


This is an automated email from the git hooks/post-receive script.

jmtd pushed a commit to annotated tag chocolate-doom-0.0.1
in repository chocolate-doom.

commit 50a842586467d4311ad59cc34aa8076ff619a8e4
Author: Simon Howard <fraggle at gmail.com>
Date:   Sat Jul 23 18:54:06 2005 +0000

    Use standard C functions for WAD code
    
    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 16
---
 src/w_wad.h | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/w_wad.h b/src/w_wad.h
index 01d6060..f0c3139 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
 //

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/chocolate-doom.git



More information about the Pkg-games-commits mailing list