From 583ef41ac9fa1fcf4ec5c8b22d8114d885749270 Mon Sep 17 00:00:00 2001 From: James R Date: Mon, 21 Nov 2022 11:46:37 -0800 Subject: [PATCH] Add MT_LOOPENDPOINT, MT_LOOPCENTERPOINT Doomednum 2020, 2021 --- src/deh_tables.c | 3 +++ src/info.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++ src/info.h | 3 +++ 3 files changed, 60 insertions(+) diff --git a/src/deh_tables.c b/src/deh_tables.c index 07c69f687..ab5e7959c 100644 --- a/src/deh_tables.c +++ b/src/deh_tables.c @@ -5664,6 +5664,9 @@ const char *const MOBJTYPE_LIST[] = { // array length left dynamic for sanity t "MT_SPECIAL_UFO", "MT_SPECIAL_UFO_PIECE", + + "MT_LOOPENDPOINT", + "MT_LOOPCENTERPOINT", }; const char *const MOBJFLAG_LIST[] = { diff --git a/src/info.c b/src/info.c index 4807869e6..d0509e731 100644 --- a/src/info.c +++ b/src/info.c @@ -29311,6 +29311,60 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] = MF_NOBLOCKMAP|MF_NOCLIP|MF_NOCLIPHEIGHT|MF_NOCLIPTHING|MF_NOGRAVITY|MF_DONTENCOREMAP|MF_NOSQUISH, // flags S_NULL // raisestate }, + + { // MT_LOOPENDPOINT + 2020, // doomednum + S_INVISIBLE, // spawnstate + 1000, // spawnhealth + S_NULL, // seestate + sfx_None, // seesound + 8, // reactiontime + sfx_None, // attacksound + S_NULL, // painstate + 0, // painchance + sfx_None, // painsound + S_NULL, // meleestate + S_NULL, // missilestate + S_NULL, // deathstate + S_NULL, // xdeathstate + sfx_None, // deathsound + 0, // speed + MAXRADIUS, // radius + 2*MAXRADIUS, // height + 0, // display offset + 100, // mass + 1, // damage + sfx_None, // activesound + MF_SPECIAL|MF_NOGRAVITY|MF_DONTENCOREMAP, // flags + S_NULL // raisestate + }, + + { // MT_LOOPCENTERPOINT + 2021, // doomednum + S_INVISIBLE, // spawnstate + 1000, // spawnhealth + S_NULL, // seestate + sfx_None, // seesound + 8, // reactiontime + sfx_None, // attacksound + S_NULL, // painstate + 0, // painchance + sfx_None, // painsound + S_NULL, // meleestate + S_NULL, // missilestate + S_NULL, // deathstate + S_NULL, // xdeathstate + sfx_None, // deathsound + 0, // speed + 48*FRACUNIT, // radius + 32*FRACUNIT, // height + 0, // display offset + 100, // mass + 1, // damage + sfx_None, // activesound + MF_NOSECTOR|MF_NOBLOCKMAP|MF_NOCLIPHEIGHT|MF_NOGRAVITY|MF_DONTENCOREMAP, // flags + S_NULL // raisestate + }, }; skincolor_t skincolors[MAXSKINCOLORS] = { diff --git a/src/info.h b/src/info.h index 1bac859b1..02e194cb6 100644 --- a/src/info.h +++ b/src/info.h @@ -6736,6 +6736,9 @@ typedef enum mobj_type MT_SPECIAL_UFO, MT_SPECIAL_UFO_PIECE, + MT_LOOPENDPOINT, + MT_LOOPCENTERPOINT, + MT_FIRSTFREESLOT, MT_LASTFREESLOT = MT_FIRSTFREESLOT + NUMMOBJFREESLOTS - 1, NUMMOBJTYPES