shithub: choc

Download patch

ref: f306694f46938ef70804d5709feccac36c302e77
parent: 2248db293f0a0adebcee8b59d928a36b20957d84
author: Simon Howard <[email protected]>
date: Wed Mar 15 13:53:06 EST 2006

fix DEH_UNSUPPORTED_MAPPING, add frame::codepointer as an unsupported
mapping

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 420

--- a/src/deh_frame.c
+++ b/src/deh_frame.c
@@ -1,7 +1,7 @@
 // Emacs style mode select   -*- C++ -*- 
 //-----------------------------------------------------------------------------
 //
-// $Id: deh_frame.c 175 2005-10-08 20:54:16Z fraggle $
+// $Id: deh_frame.c 420 2006-03-15 18:53:06Z fraggle $
 //
 // Copyright(C) 2005 Simon Howard
 //
@@ -63,6 +63,7 @@
   DEH_MAPPING("Next frame",       nextstate)
   DEH_MAPPING("Unknown 1",        misc1)
   DEH_MAPPING("Unknown 2",        misc2)
+  DEH_UNSUPPORTED_MAPPING("Codep frame")
 DEH_END_MAPPING
 
 static void *DEH_FrameStart(deh_context_t *context, char *line)
--- a/src/deh_mapping.h
+++ b/src/deh_mapping.h
@@ -1,7 +1,7 @@
 // Emacs style mode select   -*- C++ -*- 
 //-----------------------------------------------------------------------------
 //
-// $Id: deh_mapping.h 175 2005-10-08 20:54:16Z fraggle $
+// $Id: deh_mapping.h 420 2006-03-15 18:53:06Z fraggle $
 //
 // Copyright(C) 2005 Simon Howard
 //
@@ -58,7 +58,7 @@
                  sizeof(deh_mapping_base.fieldname)},
 
 #define DEH_UNSUPPORTED_MAPPING(deh_name)                     \
-             {deh_name, NULL, -1}
+             {deh_name, NULL, -1},
             
 #define DEH_END_MAPPING                                       \
              {NULL}                                           \
--- a/src/deh_sound.c
+++ b/src/deh_sound.c
@@ -1,7 +1,7 @@
 // Emacs style mode select   -*- C++ -*- 
 //-----------------------------------------------------------------------------
 //
-// $Id: deh_sound.c 175 2005-10-08 20:54:16Z fraggle $
+// $Id: deh_sound.c 420 2006-03-15 18:53:06Z fraggle $
 //
 // Copyright(C) 2005 Simon Howard
 //
@@ -47,7 +47,7 @@
 #include "sounds.h"
 
 DEH_BEGIN_MAPPING(sound_mapping, sfxinfo_t)
-    DEH_UNSUPPORTED_MAPPING("Offset"),
+    DEH_UNSUPPORTED_MAPPING("Offset")
     DEH_MAPPING("Zero/One", singularity)
     DEH_MAPPING("Value", priority)
     DEH_MAPPING("Zero 1", link)