From f9d08985de6d73e56f7acd86aa37628b66b7265a Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 8 Oct 2005 21:02:55 +0000 Subject: Allow dehacked substitutions on sprite names Subversion-branch: /trunk/chocolate-doom Subversion-revision: 177 --- src/r_things.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/r_things.c b/src/r_things.c index 86dabd6c..4e4b051a 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: r_things.c 45 2005-08-06 18:37:47Z fraggle $ +// $Id: r_things.c 177 2005-10-08 21:02:55Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -22,6 +22,9 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.6 2005/10/08 21:02:55 fraggle +// Allow dehacked substitutions on sprite names +// // Revision 1.5 2005/08/06 18:37:47 fraggle // Fix low resolution mode // @@ -45,13 +48,14 @@ static const char -rcsid[] = "$Id: r_things.c 45 2005-08-06 18:37:47Z fraggle $"; +rcsid[] = "$Id: r_things.c 177 2005-10-08 21:02:55Z fraggle $"; #include #include +#include "deh_main.h" #include "doomdef.h" #include "m_swap.h" @@ -201,7 +205,6 @@ void R_InitSpriteDefs (char** namelist) char** check; int i; int l; - int intname; int frame; int rotation; int start; @@ -228,17 +231,16 @@ void R_InitSpriteDefs (char** namelist) // Just compare 4 characters as ints for (i=0 ; i