[chocolate-doom] 18/83: Add missing null to end of sprite names list
Jonathan Dowland
jmtd at moszumanska.debian.org
Mon Jan 30 15:06:22 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 5795f86ba16e2a425b4ea3a87b96da446fed30b4
Author: Simon Howard <fraggle at gmail.com>
Date: Sat Jul 23 21:42:52 2005 +0000
Add missing null to end of sprite names list
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 24
---
src/info.c | 13 +++++++++----
src/info.h | 7 +++++--
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/src/info.c b/src/info.c
index 86e51be..81ef2e9 100644
--- a/src/info.c
+++ b/src/info.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: info.c 18 2005-07-23 18:56:07Z fraggle $
+// $Id: info.c 24 2005-07-23 21:42:52Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -22,6 +22,9 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.4 2005/07/23 21:42:52 fraggle
+// Add missing null to end of sprite names list
+//
// Revision 1.3 2005/07/23 18:56:07 fraggle
// Remove unneccessary pragmas
//
@@ -40,7 +43,9 @@
//-----------------------------------------------------------------------------
static const char
-rcsid[] = "$Id: info.c 18 2005-07-23 18:56:07Z fraggle $";
+rcsid[] = "$Id: info.c 24 2005-07-23 21:42:52Z fraggle $";
+
+#include <stdlib.h>
// Data.
#include "sounds.h"
@@ -50,7 +55,7 @@ rcsid[] = "$Id: info.c 18 2005-07-23 18:56:07Z fraggle $";
#include "p_mobj.h"
-char *sprnames[NUMSPRITES] = {
+char *sprnames[] = {
"TROO","SHTG","PUNG","PISG","PISF","SHTF","SHT2","CHGG","CHGF","MISG",
"MISF","SAWG","PLSG","PLSF","BFGG","BFGF","BLUD","PUFF","BAL1","BAL2",
"PLSS","PLSE","MISL","BFS1","BFE1","BFE2","TFOG","IFOG","PLAY","POSS",
@@ -64,7 +69,7 @@ char *sprnames[NUMSPRITES] = {
"POL3","POL1","POL6","GOR2","GOR3","GOR4","GOR5","SMIT","COL1","COL2",
"COL3","COL4","CAND","CBRA","COL6","TRE1","TRE2","ELEC","CEYE","FSKU",
"COL5","TBLU","TGRN","TRED","SMBT","SMGT","SMRT","HDB1","HDB2","HDB3",
- "HDB4","HDB5","HDB6","POB1","POB2","BRS1","TLMP","TLP2"
+ "HDB4","HDB5","HDB6","POB1","POB2","BRS1","TLMP","TLP2", NULL
};
diff --git a/src/info.h b/src/info.h
index 3109651..f67bc69 100644
--- a/src/info.h
+++ b/src/info.h
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: info.h 8 2005-07-23 16:44:57Z fraggle $
+// $Id: info.h 24 2005-07-23 21:42:52Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -1163,7 +1163,7 @@ typedef struct
} state_t;
extern state_t states[NUMSTATES];
-extern char *sprnames[NUMSPRITES];
+extern char *sprnames[];
@@ -1343,6 +1343,9 @@ extern mobjinfo_t mobjinfo[NUMMOBJTYPES];
//-----------------------------------------------------------------------------
//
// $Log$
+// Revision 1.3 2005/07/23 21:42:52 fraggle
+// Add missing null to end of sprite names list
+//
// Revision 1.2 2005/07/23 16:44:55 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