doom

a minimalistic implementation of doom
git clone git://ssnf.xyz/doom
Log | Files | Refs

commit 2bc8e02677c424f2b8b4a194243008d53c2b3083
parent 2712c7a085a06cebc09d3ec041dc22fb06407615
Author: ssnf <ssnf@ssnf.xyz>
Date:   Thu, 17 Jun 2021 02:20:23 +0000

remove stupid *unused* string

Diffstat:
Msrc/am_map.c | 1-
Msrc/d_event.h | 2+-
Msrc/d_items.c | 2--
Msrc/d_main.c | 1-
Msrc/d_net.c | 1-
Msrc/doomdef.c | 2--
Msrc/doomstat.c | 40----------------------------------------
Msrc/doomtype.h | 54------------------------------------------------------
Msrc/dstrings.c | 47+----------------------------------------------
Msrc/f_finale.c | 2--
Msrc/f_wipe.c | 1-
Msrc/g_game.c | 2--
Msrc/hu_lib.c | 2--
Msrc/hu_stuff.c | 2--
Msrc/i_main.c | 2--
Msrc/i_net.c | 2--
Msrc/i_sound.c | 6------
Msrc/i_system.c | 2--
Msrc/i_video.c | 2--
Msrc/info.c | 2--
Msrc/m_argv.c | 2--
Msrc/m_bbox.c | 2--
Msrc/m_cheat.c | 2--
Msrc/m_fixed.c | 2--
Msrc/m_menu.c | 2--
Msrc/m_misc.c | 2--
Msrc/m_random.c | 1-
Msrc/m_swap.c | 2--
Msrc/p_ceilng.c | 2--
Msrc/p_doors.c | 2--
Msrc/p_enemy.c | 2--
Msrc/p_floor.c | 2--
Msrc/p_inter.c | 2--
Msrc/p_lights.c | 2--
Msrc/p_map.c | 2--
Msrc/p_maputl.c | 2--
Msrc/p_mobj.c | 2--
Msrc/p_plats.c | 2--
Msrc/p_pspr.c | 2--
Msrc/p_saveg.c | 2--
Msrc/p_setup.c | 2--
Msrc/p_sight.c | 2--
Msrc/p_spec.c | 2--
Msrc/p_switch.c | 2--
Msrc/p_telept.c | 2--
Msrc/p_tick.c | 2--
Msrc/p_user.c | 2--
Msrc/r_bsp.c | 2--
Msrc/r_data.c | 2--
Msrc/r_draw.c | 2--
Msrc/r_main.c | 1-
Msrc/r_plane.c | 2--
Msrc/r_segs.c | 2--
Msrc/r_sky.c | 2--
Msrc/r_things.c | 2--
Msrc/s_sound.c | 2--
Msrc/sounds.c | 1-
Msrc/st_lib.c | 2--
Msrc/st_stuff.c | 2--
Msrc/tables.c | 2--
Msrc/v_video.c | 2--
Msrc/w_wad.c | 2--
Msrc/wi_stuff.c | 2--
Msrc/z_zone.c | 2--
64 files changed, 2 insertions(+), 258 deletions(-)

diff --git a/src/am_map.c b/src/am_map.c @@ -21,7 +21,6 @@ -static const char rcsid[] = "$Id: am_map.c,v 1.4 1997/02/03 21:24:33 b1 Exp $"; #include <stdio.h> diff --git a/src/d_event.h b/src/d_event.h @@ -95,7 +95,7 @@ typedef enum BTS_SAVEMASK = (4+8+16), - BTS_SAVESHIFT = 2, + BTS_SAVESHIFT = 2 } buttoncode_t; diff --git a/src/d_items.c b/src/d_items.c @@ -20,8 +20,6 @@ -static const char -rcsid[] = "$Id:$"; #include "info.h" diff --git a/src/d_main.c b/src/d_main.c @@ -25,7 +25,6 @@ -static const char rcsid[] = "$Id: d_main.c,v 1.8 1997/02/03 22:45:09 b1 Exp $"; #define BGCOLOR 7 #define FGCOLOR 8 diff --git a/src/d_net.c b/src/d_net.c @@ -23,7 +23,6 @@ -static const char rcsid[] = "$Id: d_net.c,v 1.3 1997/02/03 22:01:47 b1 Exp $"; #include "m_menu.h" diff --git a/src/doomdef.c b/src/doomdef.c @@ -22,8 +22,6 @@ -static const char -rcsid[] = "$Id: m_bbox.c,v 1.1 1997/02/03 22:45:10 b1 Exp $"; #ifdef __GNUG__ diff --git a/src/doomstat.c b/src/doomstat.c @@ -1,46 +1,6 @@ - - - - - - - - - - - - - - - - - - - - - - - -static const char -rcsid[] = "$Id: m_bbox.c,v 1.1 1997/02/03 22:45:10 b1 Exp $"; - - -#ifdef __GNUG__ -#pragma implementation "doomstat.h" -#endif #include "doomstat.h" - - GameMode_t gamemode = indetermined; GameMission_t gamemission = doom; - - Language_t language = english; - - boolean modifiedgame; - - - - diff --git a/src/doomtype.h b/src/doomtype.h @@ -1,66 +1,12 @@ - - - - - - - - - - - - - - - - - - - - - - - #ifndef __DOOMTYPE__ #define __DOOMTYPE__ - #ifndef __BYTEBOOL__ #define __BYTEBOOL__ - -#ifdef __cplusplus -typedef bool boolean; -#else typedef enum {false, true} boolean; -#endif typedef unsigned char byte; #endif - - -#ifdef LINUX #include <values.h> -#else -#define MAXCHAR ((char)0x7f) -#define MAXSHORT ((short)0x7fff) - - -#define MAXINT ((int)0x7fffffff) -#define MAXLONG ((long)0x7fffffff) -#define MINCHAR ((char)0x80) -#define MINSHORT ((short)0x8000) - -#define MININT ((int)0x80000000) -#define MINLONG ((long)0x80000000) #endif - - - - -#endif - - - - - diff --git a/src/dstrings.c b/src/dstrings.c @@ -1,40 +1,6 @@ - - - - - - - - - - - - - - - - - - - - - - - -static const char -rcsid[] = "$Id: m_bbox.c,v 1.1 1997/02/03 22:45:10 b1 Exp $"; - - -#ifdef __GNUG__ -#pragma implementation "dstrings.h" -#endif #include "dstrings.h" - - -char* endmsg[NUM_QUITMESSAGES+1]= -{ - +char* endmsg[NUM_QUITMESSAGES+1] = { QUITMSG, "please don't leave, there's more\ndemons to toast!", "let's beat it -- this is turning\ninto a bloodbath!", @@ -43,8 +9,6 @@ char* endmsg[NUM_QUITMESSAGES+1]= "don't leave yet -- there's a\ndemon around that corner!", "ya know, next time you come in here\ni'm gonna toast ya.", "go ahead and leave. see if i care." - - "you want to quit?\nthen, thou hast lost an eighth!", "don't go now, there's a \ndimensional shambler waiting\nat the dos prompt!", "get outta here and go back\nto your boring programs.", @@ -52,8 +16,6 @@ char* endmsg[NUM_QUITMESSAGES+1]= "look, bud. you leave now\nand you forfeit your body count!", "just leave. when you come\nback, i'll be waiting with a bat.", "you're lucky i don't smack\nyou for thinking about leaving." - - "fuck you, pussy!\nget the fuck out!", "you quit and i'll jizz\nin your cystholes!", "if you leave, i'll make\nthe lord drink my jizz.", @@ -61,12 +23,5 @@ char* endmsg[NUM_QUITMESSAGES+1]= "i'd leave: this is just\nmore monsters and levels.\nwhat a load.", "suck it down, asshole!\nyou're a fucking wimp!", "don't quit now! we're \nstill spending your money!", - - "THIS IS NO MESSAGE!\nPage intentionally left blank." }; - - - - - diff --git a/src/f_finale.c b/src/f_finale.c @@ -22,8 +22,6 @@ -static const char -rcsid[] = "$Id: f_finale.c,v 1.5 1997/02/03 21:26:34 b1 Exp $"; #include <ctype.h> diff --git a/src/f_wipe.c b/src/f_wipe.c @@ -22,7 +22,6 @@ -static const char rcsid[] = "$Id: f_wipe.c,v 1.2 1997/02/03 22:45:09 b1 Exp $"; diff --git a/src/g_game.c b/src/g_game.c @@ -21,8 +21,6 @@ -static const char -rcsid[] = "$Id: g_game.c,v 1.8 1997/02/03 22:45:09 b1 Exp $"; #include <string.h> #include <stdlib.h> diff --git a/src/hu_lib.c b/src/hu_lib.c @@ -20,8 +20,6 @@ -static const char -rcsid[] = "$Id: hu_lib.c,v 1.3 1997/01/26 07:44:58 b1 Exp $"; #include <ctype.h> diff --git a/src/hu_stuff.c b/src/hu_stuff.c @@ -20,8 +20,6 @@ -static const char -rcsid[] = "$Id: hu_stuff.c,v 1.4 1997/02/03 16:47:52 b1 Exp $"; #include <ctype.h> diff --git a/src/i_main.c b/src/i_main.c @@ -21,8 +21,6 @@ -static const char -rcsid[] = "$Id: i_main.c,v 1.4 1997/02/03 22:45:10 b1 Exp $"; diff --git a/src/i_net.c b/src/i_net.c @@ -20,8 +20,6 @@ -static const char -rcsid[] = "$Id: m_bbox.c,v 1.1 1997/02/03 22:45:10 b1 Exp $"; #include <stdlib.h> #include <string.h> diff --git a/src/i_sound.c b/src/i_sound.c @@ -21,8 +21,6 @@ -static const char -rcsid[] = "$Id: i_unix.c,v 1.5 1997/02/03 22:45:10 b1 Exp $"; #include <stdio.h> #include <stdlib.h> @@ -33,10 +31,6 @@ rcsid[] = "$Id: i_unix.c,v 1.5 1997/02/03 22:45:10 b1 Exp $"; #include <sys/time.h> #include <sys/types.h> -#ifndef LINUX -#include <sys/filio.h> -#endif - #include <fcntl.h> #include <unistd.h> #include <sys/ioctl.h> diff --git a/src/i_system.c b/src/i_system.c @@ -20,8 +20,6 @@ -static const char -rcsid[] = "$Id: m_bbox.c,v 1.1 1997/02/03 22:45:10 b1 Exp $"; #include <stdlib.h> diff --git a/src/i_video.c b/src/i_video.c @@ -21,8 +21,6 @@ -static const char -rcsid[] = "$Id: i_x.c,v 1.6 1997/02/03 22:45:10 b1 Exp $"; #include <stdlib.h> #include <unistd.h> diff --git a/src/info.c b/src/info.c @@ -23,8 +23,6 @@ -static const char -rcsid[] = "$Id: info.c,v 1.3 1997/01/26 07:45:00 b1 Exp $"; #include "sounds.h" diff --git a/src/m_argv.c b/src/m_argv.c @@ -20,8 +20,6 @@ -static const char -rcsid[] = "$Id: m_argv.c,v 1.1 1997/02/03 22:45:10 b1 Exp $"; #include <string.h> diff --git a/src/m_bbox.c b/src/m_bbox.c @@ -24,8 +24,6 @@ -static const char -rcsid[] = "$Id: m_bbox.c,v 1.1 1997/02/03 22:45:10 b1 Exp $"; #ifdef __GNUG__ diff --git a/src/m_cheat.c b/src/m_cheat.c @@ -22,8 +22,6 @@ -static const char -rcsid[] = "$Id: m_cheat.c,v 1.1 1997/02/03 21:24:34 b1 Exp $"; #include "m_cheat.h" diff --git a/src/m_fixed.c b/src/m_fixed.c @@ -22,8 +22,6 @@ -static const char -rcsid[] = "$Id: m_bbox.c,v 1.1 1997/02/03 22:45:10 b1 Exp $"; #include "stdlib.h" diff --git a/src/m_menu.c b/src/m_menu.c @@ -22,8 +22,6 @@ -static const char -rcsid[] = "$Id: m_menu.c,v 1.7 1997/02/03 22:45:10 b1 Exp $"; #include <unistd.h> #include <sys/types.h> diff --git a/src/m_misc.c b/src/m_misc.c @@ -24,8 +24,6 @@ -static const char -rcsid[] = "$Id: m_misc.c,v 1.6 1997/02/03 22:45:10 b1 Exp $"; #include <sys/stat.h> #include <sys/types.h> diff --git a/src/m_random.c b/src/m_random.c @@ -21,7 +21,6 @@ -static const char rcsid[] = "$Id: m_random.c,v 1.1 1997/02/03 22:45:11 b1 Exp $"; diff --git a/src/m_swap.c b/src/m_swap.c @@ -21,8 +21,6 @@ -static const char -rcsid[] = "$Id: m_bbox.c,v 1.1 1997/02/03 22:45:10 b1 Exp $"; #ifdef __GNUG__ diff --git a/src/p_ceilng.c b/src/p_ceilng.c @@ -20,8 +20,6 @@ -static const char -rcsid[] = "$Id: p_ceilng.c,v 1.4 1997/02/03 16:47:53 b1 Exp $"; #include "z_zone.h" diff --git a/src/p_doors.c b/src/p_doors.c @@ -20,8 +20,6 @@ -static const char -rcsid[] = "$Id: p_doors.c,v 1.4 1997/02/03 16:47:53 b1 Exp $"; #include "z_zone.h" diff --git a/src/p_enemy.c b/src/p_enemy.c @@ -23,8 +23,6 @@ -static const char -rcsid[] = "$Id: p_enemy.c,v 1.5 1997/02/03 22:45:11 b1 Exp $"; #include <stdlib.h> diff --git a/src/p_floor.c b/src/p_floor.c @@ -21,8 +21,6 @@ -static const char -rcsid[] = "$Id: p_floor.c,v 1.4 1997/02/03 16:47:54 b1 Exp $"; #include "z_zone.h" diff --git a/src/p_inter.c b/src/p_inter.c @@ -22,8 +22,6 @@ -static const char -rcsid[] = "$Id: p_inter.c,v 1.4 1997/02/03 22:45:11 b1 Exp $"; diff --git a/src/p_lights.c b/src/p_lights.c @@ -22,8 +22,6 @@ -static const char -rcsid[] = "$Id: p_lights.c,v 1.5 1997/02/03 22:45:11 b1 Exp $"; #include "z_zone.h" diff --git a/src/p_map.c b/src/p_map.c @@ -22,8 +22,6 @@ -static const char -rcsid[] = "$Id: p_map.c,v 1.5 1997/02/03 22:45:11 b1 Exp $"; #include <stdlib.h> diff --git a/src/p_maputl.c b/src/p_maputl.c @@ -24,8 +24,6 @@ -static const char -rcsid[] = "$Id: p_maputl.c,v 1.5 1997/02/03 22:45:11 b1 Exp $"; #include <stdlib.h> diff --git a/src/p_mobj.c b/src/p_mobj.c @@ -21,8 +21,6 @@ -static const char -rcsid[] = "$Id: p_mobj.c,v 1.5 1997/02/03 22:45:12 b1 Exp $"; #include "i_system.h" #include "z_zone.h" diff --git a/src/p_plats.c b/src/p_plats.c @@ -21,8 +21,6 @@ -static const char -rcsid[] = "$Id: p_plats.c,v 1.5 1997/02/03 22:45:12 b1 Exp $"; #include "i_system.h" diff --git a/src/p_pspr.c b/src/p_pspr.c @@ -22,8 +22,6 @@ -static const char -rcsid[] = "$Id: p_pspr.c,v 1.5 1997/02/03 22:45:12 b1 Exp $"; #include "doomdef.h" #include "d_event.h" diff --git a/src/p_saveg.c b/src/p_saveg.c @@ -21,8 +21,6 @@ -static const char -rcsid[] = "$Id: p_tick.c,v 1.4 1997/02/03 16:47:55 b1 Exp $"; #include "i_system.h" #include "z_zone.h" diff --git a/src/p_setup.c b/src/p_setup.c @@ -22,8 +22,6 @@ -static const char -rcsid[] = "$Id: p_setup.c,v 1.5 1997/02/03 22:45:12 b1 Exp $"; #include <math.h> diff --git a/src/p_sight.c b/src/p_sight.c @@ -21,8 +21,6 @@ -static const char -rcsid[] = "$Id: p_sight.c,v 1.3 1997/01/28 22:08:28 b1 Exp $"; #include "doomdef.h" diff --git a/src/p_spec.c b/src/p_spec.c @@ -25,8 +25,6 @@ -static const char -rcsid[] = "$Id: p_spec.c,v 1.6 1997/02/03 22:45:12 b1 Exp $"; #include <stdlib.h> diff --git a/src/p_switch.c b/src/p_switch.c @@ -22,8 +22,6 @@ -static const char -rcsid[] = "$Id: p_switch.c,v 1.3 1997/01/28 22:08:29 b1 Exp $"; #include "i_system.h" diff --git a/src/p_telept.c b/src/p_telept.c @@ -21,8 +21,6 @@ -static const char -rcsid[] = "$Id: p_telept.c,v 1.3 1997/01/28 22:08:29 b1 Exp $"; diff --git a/src/p_tick.c b/src/p_tick.c @@ -22,8 +22,6 @@ -static const char -rcsid[] = "$Id: p_tick.c,v 1.4 1997/02/03 16:47:55 b1 Exp $"; #include "z_zone.h" #include "p_local.h" diff --git a/src/p_user.c b/src/p_user.c @@ -24,8 +24,6 @@ -static const char -rcsid[] = "$Id: p_user.c,v 1.3 1997/01/28 22:08:29 b1 Exp $"; #include "doomdef.h" diff --git a/src/r_bsp.c b/src/r_bsp.c @@ -22,8 +22,6 @@ -static const char -rcsid[] = "$Id: r_bsp.c,v 1.4 1997/02/03 22:45:12 b1 Exp $"; #include "doomdef.h" diff --git a/src/r_data.c b/src/r_data.c @@ -24,8 +24,6 @@ -static const char -rcsid[] = "$Id: r_data.c,v 1.4 1997/02/03 16:47:55 b1 Exp $"; #include "i_system.h" #include "z_zone.h" diff --git a/src/r_draw.c b/src/r_draw.c @@ -24,8 +24,6 @@ -static const char -rcsid[] = "$Id: r_draw.c,v 1.4 1997/02/03 16:47:55 b1 Exp $"; #include "doomdef.h" diff --git a/src/r_main.c b/src/r_main.c @@ -24,7 +24,6 @@ -static const char rcsid[] = "$Id: r_main.c,v 1.5 1997/02/03 22:45:12 b1 Exp $"; diff --git a/src/r_plane.c b/src/r_plane.c @@ -24,8 +24,6 @@ -static const char -rcsid[] = "$Id: r_plane.c,v 1.4 1997/02/03 16:47:55 b1 Exp $"; #include <stdlib.h> diff --git a/src/r_segs.c b/src/r_segs.c @@ -22,8 +22,6 @@ -static const char -rcsid[] = "$Id: r_segs.c,v 1.3 1997/01/29 20:10:19 b1 Exp $"; diff --git a/src/r_sky.c b/src/r_sky.c @@ -25,8 +25,6 @@ -static const char -rcsid[] = "$Id: m_bbox.c,v 1.1 1997/02/03 22:45:10 b1 Exp $"; diff --git a/src/r_things.c b/src/r_things.c @@ -22,8 +22,6 @@ -static const char -rcsid[] = "$Id: r_things.c,v 1.5 1997/02/03 16:47:56 b1 Exp $"; #include <stdio.h> diff --git a/src/s_sound.c b/src/s_sound.c @@ -21,8 +21,6 @@ -static const char -rcsid[] = "$Id: s_sound.c,v 1.6 1997/02/03 22:45:12 b1 Exp $"; diff --git a/src/sounds.c b/src/sounds.c @@ -24,7 +24,6 @@ static const char -rcsid[] = "$Id: sounds.c,v 1.3 1997/01/29 22:40:44 b1 Exp $"; #include "doomtype.h" diff --git a/src/st_lib.c b/src/st_lib.c @@ -22,8 +22,6 @@ -static const char -rcsid[] = "$Id: st_lib.c,v 1.4 1997/02/03 16:47:56 b1 Exp $"; #include <ctype.h> diff --git a/src/st_stuff.c b/src/st_stuff.c @@ -23,8 +23,6 @@ -static const char -rcsid[] = "$Id: st_stuff.c,v 1.6 1997/02/03 22:45:13 b1 Exp $"; #include <stdio.h> diff --git a/src/tables.c b/src/tables.c @@ -36,8 +36,6 @@ -static const char -rcsid[] = "$Id: tables.c,v 1.4 1997/02/03 16:47:57 b1 Exp $"; diff --git a/src/v_video.c b/src/v_video.c @@ -24,8 +24,6 @@ -static const char -rcsid[] = "$Id: v_video.c,v 1.5 1997/02/03 22:45:13 b1 Exp $"; #include "i_system.h" diff --git a/src/w_wad.c b/src/w_wad.c @@ -22,8 +22,6 @@ -static const char -rcsid[] = "$Id: w_wad.c,v 1.5 1997/02/03 16:47:57 b1 Exp $"; #ifdef NORMALUNIX diff --git a/src/wi_stuff.c b/src/wi_stuff.c @@ -21,8 +21,6 @@ -static const char -rcsid[] = "$Id: wi_stuff.c,v 1.7 1997/02/03 22:45:13 b1 Exp $"; #include <stdio.h> diff --git a/src/z_zone.c b/src/z_zone.c @@ -21,8 +21,6 @@ -static const char -rcsid[] = "$Id: z_zone.c,v 1.4 1997/02/03 16:47:58 b1 Exp $"; #include "z_zone.h" #include "i_system.h"