ref: 27901a5b8a8536ff0c236c96f24970a09821fc31
parent: cbe3f178b8c314a6b66c04f26906b06153e59c3a
author: Simon Howard <[email protected]>
date: Mon Oct 3 07:08:16 EDT 2005
Replace end of section functions with NULLs as they arent currently being used for anything. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 157
--- a/src/deh_ammo.c
+++ b/src/deh_ammo.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: deh_ammo.c 153 2005-10-02 23:49:01Z fraggle $
+// $Id: deh_ammo.c 157 2005-10-03 11:08:16Z fraggle $
//
// Copyright(C) 2005 Simon Howard
//
@@ -21,6 +21,10 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.2 2005/10/03 11:08:16 fraggle
+// Replace end of section functions with NULLs as they arent currently being
+// used for anything.
+//
// Revision 1.1 2005/10/02 23:49:01 fraggle
// The beginnings of dehacked support
//
@@ -40,10 +44,6 @@
return NULL;
}
-static void DEH_AmmoEnd(deh_context_t *context, void *tag)
-{
-}
-
static void DEH_AmmoParseLine(deh_context_t *context, char *line, void *tag)
{
}
@@ -54,6 +54,6 @@
NULL,
DEH_AmmoStart,
DEH_AmmoParseLine,
- DEH_AmmoEnd,
+ NULL,
};
--- a/src/deh_frame.c
+++ b/src/deh_frame.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: deh_frame.c 155 2005-10-03 10:25:37Z fraggle $
+// $Id: deh_frame.c 157 2005-10-03 11:08:16Z fraggle $
//
// Copyright(C) 2005 Simon Howard
//
@@ -21,6 +21,10 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.4 2005/10/03 11:08:16 fraggle
+// Replace end of section functions with NULLs as they arent currently being
+// used for anything.
+//
// Revision 1.3 2005/10/03 10:25:37 fraggle
// Add mapping code to map out structures and switch thing/frame code to use
// this.
@@ -72,10 +76,6 @@
return state;
}
-static void DEH_FrameEnd(deh_context_t *context, void *tag)
-{
-}
-
static void DEH_FrameParseLine(deh_context_t *context, char *line, void *tag)
{
state_t *state;
@@ -113,6 +113,6 @@
NULL,
DEH_FrameStart,
DEH_FrameParseLine,
- DEH_FrameEnd,
+ NULL,
};
--- a/src/deh_main.c
+++ b/src/deh_main.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: deh_main.c 153 2005-10-02 23:49:01Z fraggle $
+// $Id: deh_main.c 157 2005-10-03 11:08:16Z fraggle $
//
// Copyright(C) 2005 Simon Howard
//
@@ -21,6 +21,10 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.2 2005/10/03 11:08:16 fraggle
+// Replace end of section functions with NULLs as they arent currently being
+// used for anything.
+//
// Revision 1.1 2005/10/02 23:49:01 fraggle
// The beginnings of dehacked support
//
@@ -201,7 +205,11 @@
{
// end of section
- current_section->end(context, tag);
+ if (current_section->end != NULL)
+ {
+ current_section->end(context, tag);
+ }
+
//printf("end %s tag\n", current_section->name);
current_section = NULL;
}
--- a/src/deh_ptr.c
+++ b/src/deh_ptr.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: deh_ptr.c 154 2005-10-03 00:42:45Z fraggle $
+// $Id: deh_ptr.c 157 2005-10-03 11:08:16Z fraggle $
//
// Copyright(C) 2005 Simon Howard
//
@@ -21,6 +21,10 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.3 2005/10/03 11:08:16 fraggle
+// Replace end of section functions with NULLs as they arent currently being
+// used for anything.
+//
// Revision 1.2 2005/10/03 00:42:45 fraggle
// Frame numbers are indexed from 0
//
@@ -71,10 +75,6 @@
return &states[frame_number];
}
-static void DEH_PointerEnd(deh_context_t *context, void *tag)
-{
-}
-
static void DEH_PointerParseLine(deh_context_t *context, char *line, void *tag)
{
state_t *state;
@@ -128,6 +128,6 @@
DEH_PointerInit,
DEH_PointerStart,
DEH_PointerParseLine,
- DEH_PointerEnd,
+ NULL,
};
--- a/src/deh_text.c
+++ b/src/deh_text.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: deh_text.c 153 2005-10-02 23:49:01Z fraggle $
+// $Id: deh_text.c 157 2005-10-03 11:08:16Z fraggle $
//
// Copyright(C) 2005 Simon Howard
//
@@ -21,6 +21,10 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.2 2005/10/03 11:08:16 fraggle
+// Replace end of section functions with NULLs as they arent currently being
+// used for anything.
+//
// Revision 1.1 2005/10/02 23:49:01 fraggle
// The beginnings of dehacked support
//
@@ -40,10 +44,6 @@
return NULL;
}
-static void DEH_TextEnd(deh_context_t *context, void *tag)
-{
-}
-
static void DEH_TextParseLine(deh_context_t *context, char *line, void *tag)
{
}
@@ -54,6 +54,6 @@
NULL,
DEH_TextStart,
DEH_TextParseLine,
- DEH_TextEnd,
+ NULL,
};
--- a/src/deh_thing.c
+++ b/src/deh_thing.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: deh_thing.c 155 2005-10-03 10:25:37Z fraggle $
+// $Id: deh_thing.c 157 2005-10-03 11:08:16Z fraggle $
//
// Copyright(C) 2005 Simon Howard
//
@@ -21,6 +21,10 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.3 2005/10/03 11:08:16 fraggle
+// Replace end of section functions with NULLs as they arent currently being
+// used for anything.
+//
// Revision 1.2 2005/10/03 10:25:37 fraggle
// Add mapping code to map out structures and switch thing/frame code to use
// this.
@@ -90,10 +94,6 @@
return mobj;
}
-static void DEH_ThingEnd(deh_context_t *context, void *tag)
-{
-}
-
static void DEH_ThingParseLine(deh_context_t *context, char *line, void *tag)
{
mobjinfo_t *mobj;
@@ -131,6 +131,6 @@
NULL,
DEH_ThingStart,
DEH_ThingParseLine,
- DEH_ThingEnd,
+ NULL,
};
--- a/src/deh_weapon.c
+++ b/src/deh_weapon.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: deh_weapon.c 156 2005-10-03 11:02:08Z fraggle $
+// $Id: deh_weapon.c 157 2005-10-03 11:08:16Z fraggle $
//
// Copyright(C) 2005 Simon Howard
//
@@ -21,6 +21,10 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.3 2005/10/03 11:08:16 fraggle
+// Replace end of section functions with NULLs as they arent currently being
+// used for anything.
+//
// Revision 1.2 2005/10/03 11:02:08 fraggle
// Add a weaponinfo_t mapping
//
@@ -56,10 +60,6 @@
return NULL;
}
-static void DEH_WeaponEnd(deh_context_t *context, void *tag)
-{
-}
-
static void DEH_WeaponParseLine(deh_context_t *context, char *line, void *tag)
{
}
@@ -70,6 +70,6 @@
NULL,
DEH_WeaponStart,
DEH_WeaponParseLine,
- DEH_WeaponEnd,
+ NULL,
};