From 9036214d0bf5989b45da52d112b8ee72060eaab3 Mon Sep 17 00:00:00 2001 From: Kp Date: Sat, 9 Mar 2013 20:29:20 +0000 Subject: [PATCH] Remove unused main/desc_id.h --- main/desc_id.h | 33 --------------------------------- main/game.c | 1 - main/gamecntl.c | 1 - main/inferno.c | 2 -- 4 files changed, 37 deletions(-) delete mode 100644 main/desc_id.h diff --git a/main/desc_id.h b/main/desc_id.h deleted file mode 100644 index 668c38679..000000000 --- a/main/desc_id.h +++ /dev/null @@ -1,33 +0,0 @@ -/* -THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX -SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO -END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A -ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS -IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS -SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE -FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE -CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS -AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE. -COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED. -*/ - -/* - * - * Header file which contains string for id and timestamp information - * - */ - -#ifndef _DESC_ID_H -#define _DESC_ID_H - -#define DESC_ID_LEN 40 //how long the id string can be -#define DESC_CHECKSUM_LEN 4 //checksum is 4 bytes -#define DESC_DEAD_TIME_LEN 8 //dead time is 8 bytes - -#define DESC_ID_TAG "Midway in our life's journey, I went astray" -#define DESC_ID_CHKSUM_TAG "alone in a dark wood." -#define DESC_DEAD_TIME_TAG "from the straight road and woke to find myself" - -extern char desc_id_exit_num; - -#endif /* _DESC_ID_H */ diff --git a/main/game.c b/main/game.c index 7972e36e0..c0cbb2d68 100644 --- a/main/game.c +++ b/main/game.c @@ -82,7 +82,6 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED. #include "gamepal.h" #include "multi.h" -#include "desc_id.h" #include "cntrlcen.h" #include "pcx.h" #include "state.h" diff --git a/main/gamecntl.c b/main/gamecntl.c index 259391a38..15f39de4d 100644 --- a/main/gamecntl.c +++ b/main/gamecntl.c @@ -79,7 +79,6 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED. #include "scores.h" #include "multi.h" -#include "desc_id.h" #include "cntrlcen.h" #include "fuelcen.h" #include "pcx.h" diff --git a/main/inferno.c b/main/inferno.c index 05641228d..07662700e 100644 --- a/main/inferno.c +++ b/main/inferno.c @@ -71,7 +71,6 @@ char copyright[] = "DESCENT II COPYRIGHT (C) 1994-1996 PARALLAX SOFTWARE CORPOR #include "kconfig.h" #include "mouse.h" #include "newmenu.h" -#include "desc_id.h" #include "config.h" #include "multi.h" #include "songs.h" @@ -101,7 +100,6 @@ char copyright[] = "DESCENT II COPYRIGHT (C) 1994-1996 PARALLAX SOFTWARE CORPOR //Current version number -char desc_id_exit_num = 0; int Screen_mode=-1; //game screen or editor screen? int descent_critical_error = 0; unsigned int descent_critical_deverror = 0;