mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 12:21:19 +00:00
MT_POKEY, MT_ENEMYFLIP and the fancharacters - and the associated states/thinker modifications - gone.
This commit is contained in:
parent
77d6e578f5
commit
e958dfc909
5 changed files with 2 additions and 379 deletions
|
@ -6553,17 +6553,6 @@ static const char *const STATE_LIST[] = { // array length left dynamic for sanit
|
|||
// DEZ respawn laser
|
||||
"S_DEZLASER",
|
||||
|
||||
// Pokey
|
||||
"S_POKEY1",
|
||||
"S_POKEY2",
|
||||
"S_POKEY3",
|
||||
"S_POKEY4",
|
||||
"S_POKEY5",
|
||||
"S_POKEY6",
|
||||
"S_POKEY7",
|
||||
"S_POKEY8",
|
||||
"S_POKEYIDLE",
|
||||
|
||||
// Audience Members
|
||||
"S_RANDOMAUDIENCE",
|
||||
"S_AUDIENCE_CHAO_CHEER1",
|
||||
|
@ -6572,15 +6561,6 @@ static const char *const STATE_LIST[] = { // array length left dynamic for sanit
|
|||
"S_AUDIENCE_CHAO_WIN2",
|
||||
"S_AUDIENCE_CHAO_LOSE",
|
||||
|
||||
"S_FANCHAR_KOTE",
|
||||
"S_FANCHAR_RYAN",
|
||||
"S_FANCHAR_WENDY",
|
||||
"S_FANCHAR_FREEZOR",
|
||||
"S_FANCHAR_METALKO",
|
||||
"S_FANCHAR_BLACKOUT",
|
||||
"S_FANCHAR_BLADE",
|
||||
"S_FANCHAR_HINOTE",
|
||||
|
||||
// 1.0 Kart Decoratives
|
||||
"S_FLAYM1",
|
||||
"S_FLAYM2",
|
||||
|
@ -7671,20 +7651,9 @@ static const char *const MOBJTYPE_LIST[] = { // array length left dynamic for s
|
|||
|
||||
"MT_DEZLASER",
|
||||
|
||||
"MT_POKEY", // Huh, thought this was a default asset for some reason, guess not.
|
||||
|
||||
"MT_ENEMYFLIP",
|
||||
"MT_WAYPOINT",
|
||||
|
||||
"MT_RANDOMAUDIENCE",
|
||||
"MT_FANCHAR_KOTE",
|
||||
"MT_FANCHAR_RYAN",
|
||||
"MT_FANCHAR_WENDY",
|
||||
"MT_FANCHAR_FREEZOR",
|
||||
"MT_FANCHAR_METALKO",
|
||||
"MT_FANCHAR_BLACKOUT",
|
||||
"MT_FANCHAR_BLADE",
|
||||
"MT_FANCHAR_HINOTE",
|
||||
|
||||
"MT_FLAYM",
|
||||
"MT_DEVIL",
|
||||
|
|
289
src/info.c
289
src/info.c
|
@ -2850,16 +2850,6 @@ state_t states[NUMSTATES] =
|
|||
|
||||
{SPR_DEZL, FF_FULLBRIGHT|FF_PAPERSPRITE, 8, {NULL}, 0, 0, S_NULL}, // S_DEZLASER
|
||||
|
||||
{SPR_POKE, 0, 2, {A_MoveAbsolute}, 0, 2, S_POKEY2}, // S_POKEY1
|
||||
{SPR_POKE, 1, 2, {A_MoveAbsolute}, 0, 2, S_POKEY3}, // S_POKEY2
|
||||
{SPR_POKE, 2, 2, {A_MoveAbsolute}, 0, 2, S_POKEY4}, // S_POKEY3
|
||||
{SPR_POKE, 3, 2, {A_MoveAbsolute}, 0, 2, S_POKEY1}, // S_POKEY4
|
||||
{SPR_POKE, 0, 2, {A_MoveAbsolute}, 180, 2, S_POKEY6}, // S_POKEY5
|
||||
{SPR_POKE, 1, 2, {A_MoveAbsolute}, 180, 2, S_POKEY7}, // S_POKEY6
|
||||
{SPR_POKE, 2, 2, {A_MoveAbsolute}, 180, 2, S_POKEY8}, // S_POKEY7
|
||||
{SPR_POKE, 3, 2, {A_MoveAbsolute}, 180, 2, S_POKEY5}, // S_POKEY8
|
||||
{SPR_NULL, 0, -1, {NULL}, 0, 0, S_NULL}, // S_POKEYIDLE
|
||||
|
||||
{SPR_NULL, 0, 1, {A_RandomStateRange}, S_AUDIENCE_CHAO_CHEER1, S_AUDIENCE_CHAO_CHEER2, S_RANDOMAUDIENCE}, // S_RANDOMAUDIENCE
|
||||
|
||||
{SPR_AUDI, 0, 5, {NULL}, 0, 0, S_AUDIENCE_CHAO_CHEER2}, // S_AUDIENCE_CHAO_CHEER1
|
||||
|
@ -2870,15 +2860,6 @@ state_t states[NUMSTATES] =
|
|||
|
||||
{SPR_AUDI, 4|FF_ANIMATE, -1, {NULL}, 1, 17, S_NULL}, // S_AUDIENCE_CHAO_LOSE
|
||||
|
||||
{SPR_NULL, 0, 0, {NULL}, 0, 0, S_NULL}, // S_FANCHAR_KOTE
|
||||
{SPR_NULL, 0, 0, {NULL}, 0, 0, S_NULL}, // S_FANCHAR_RYAN
|
||||
{SPR_NULL, 0, 0, {NULL}, 0, 0, S_NULL}, // S_FANCHAR_WENDY
|
||||
{SPR_NULL, 0, 0, {NULL}, 0, 0, S_NULL}, // S_FANCHAR_FREEZOR
|
||||
{SPR_NULL, 0, 0, {NULL}, 0, 0, S_NULL}, // S_FANCHAR_METALKO
|
||||
{SPR_NULL, 0, 0, {NULL}, 0, 0, S_NULL}, // S_FANCHAR_BLACKOUT
|
||||
{SPR_NULL, 0, 0, {NULL}, 0, 0, S_NULL}, // S_FANCHAR_BLADE
|
||||
{SPR_NULL, 0, 0, {NULL}, 0, 0, S_NULL}, // S_FANCHAR_HINOTE
|
||||
|
||||
{SPR_FLAM, 0, 3, {NULL}, 0, 0, S_FLAYM2}, // S_FLAYM1,
|
||||
{SPR_FLAM, 1, 3, {NULL}, 0, 0, S_FLAYM3}, // S_FLAYM2,
|
||||
{SPR_FLAM, 2, 3, {NULL}, 0, 0, S_FLAYM4}, // S_FLAYM3,
|
||||
|
@ -16045,60 +16026,6 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
|||
S_NULL // raisestate
|
||||
},
|
||||
|
||||
{ // MT_POKEY
|
||||
2100, // doomednum
|
||||
S_POKEY1, // spawnstate
|
||||
1000, // spawnhealth
|
||||
S_POKEY1, // seestate
|
||||
sfx_None, // seesound
|
||||
32, // reactiontime
|
||||
sfx_None, // attacksound
|
||||
S_NULL, // painstate
|
||||
100, // painchance
|
||||
sfx_None, // painsound
|
||||
S_NULL, // meleestate
|
||||
S_NULL, // missilestate
|
||||
S_NULL, // deathstate
|
||||
S_NULL, // xdeathstate
|
||||
sfx_None, // deathsound
|
||||
3, // speed
|
||||
21*FRACUNIT, // radius
|
||||
69*FRACUNIT, // height
|
||||
0, // display offset
|
||||
100, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_SPECIAL|MF_SHOOTABLE, // flags
|
||||
S_NULL // raisestate
|
||||
},
|
||||
|
||||
{ // MT_ENEMYFLIP
|
||||
2101, // doomednum
|
||||
S_NULL, // spawnstate
|
||||
1000, // spawnhealth
|
||||
S_NULL, // seestate
|
||||
sfx_None, // seesound
|
||||
8, // reactiontime
|
||||
sfx_None, // attacksound
|
||||
S_NULL, // painstate
|
||||
100, // painchance
|
||||
sfx_None, // painsound
|
||||
S_NULL, // meleestate
|
||||
S_NULL, // missilestate
|
||||
S_NULL, // deathstate
|
||||
S_NULL, // xdeathstate
|
||||
sfx_None, // deathsound
|
||||
8, // speed
|
||||
32*FRACUNIT, // radius
|
||||
64*FRACUNIT, // height
|
||||
0, // display offset
|
||||
100, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_SCENERY, // flags
|
||||
S_NULL // raisestate
|
||||
},
|
||||
|
||||
{ // MT_WAYPOINT
|
||||
2001, // doomednum
|
||||
S_NULL, // spawnstate
|
||||
|
@ -16153,222 +16080,6 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
|||
S_NULL // raisestate
|
||||
},
|
||||
|
||||
{ // MT_FANCHAR_KOTE
|
||||
-1, // doomednum
|
||||
S_FANCHAR_KOTE, // spawnstate
|
||||
-1, // spawnhealth
|
||||
S_NULL, // seestate
|
||||
sfx_None, // seesound
|
||||
0, // 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
|
||||
1048576, // radius
|
||||
3670016, // height
|
||||
0, // display offset
|
||||
1000, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_NOTHINK|MF_NOBLOCKMAP|MF_DONTENCOREMAP, // flags
|
||||
S_NULL // raisestate
|
||||
},
|
||||
|
||||
{ // MT_FANCHAR_RYAN
|
||||
-1, // doomednum
|
||||
S_FANCHAR_RYAN, // spawnstate
|
||||
-1, // spawnhealth
|
||||
S_NULL, // seestate
|
||||
sfx_None, // seesound
|
||||
0, // 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
|
||||
1048576, // radius
|
||||
3670016, // height
|
||||
0, // display offset
|
||||
1000, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_NOTHINK|MF_NOBLOCKMAP|MF_DONTENCOREMAP, // flags
|
||||
S_NULL // raisestate
|
||||
},
|
||||
|
||||
{ // MT_FANCHAR_WENDY
|
||||
-1, // doomednum
|
||||
S_FANCHAR_WENDY, // spawnstate
|
||||
-1, // spawnhealth
|
||||
S_NULL, // seestate
|
||||
sfx_None, // seesound
|
||||
0, // 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
|
||||
1048576, // radius
|
||||
3670016, // height
|
||||
0, // display offset
|
||||
1000, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_NOTHINK|MF_NOBLOCKMAP|MF_DONTENCOREMAP, // flags
|
||||
S_NULL // raisestate
|
||||
},
|
||||
|
||||
{ // MT_FANCHAR_FREEZOR
|
||||
-1, // doomednum
|
||||
S_FANCHAR_FREEZOR, // spawnstate
|
||||
-1, // spawnhealth
|
||||
S_NULL, // seestate
|
||||
sfx_None, // seesound
|
||||
0, // 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
|
||||
1048576, // radius
|
||||
3670016, // height
|
||||
0, // display offset
|
||||
1000, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_NOTHINK|MF_NOBLOCKMAP|MF_DONTENCOREMAP, // flags
|
||||
S_NULL // raisestate
|
||||
},
|
||||
|
||||
{ // MT_FANCHAR_METALKO
|
||||
-1, // doomednum
|
||||
S_FANCHAR_METALKO, // spawnstate
|
||||
-1, // spawnhealth
|
||||
S_NULL, // seestate
|
||||
sfx_None, // seesound
|
||||
0, // 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
|
||||
1048576, // radius
|
||||
3670016, // height
|
||||
0, // display offset
|
||||
1000, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_NOTHINK|MF_NOBLOCKMAP|MF_DONTENCOREMAP, // flags
|
||||
S_NULL // raisestate
|
||||
},
|
||||
|
||||
{ // MT_FANCHAR_BLACKOUT
|
||||
-1, // doomednum
|
||||
S_FANCHAR_BLACKOUT, // spawnstate
|
||||
-1, // spawnhealth
|
||||
S_NULL, // seestate
|
||||
sfx_None, // seesound
|
||||
0, // 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
|
||||
1048576, // radius
|
||||
3670016, // height
|
||||
0, // display offset
|
||||
1000, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_NOTHINK|MF_NOBLOCKMAP|MF_DONTENCOREMAP, // flags
|
||||
S_NULL // raisestate
|
||||
},
|
||||
|
||||
{ // MT_FANCHAR_BLADE
|
||||
-1, // doomednum
|
||||
S_FANCHAR_BLADE, // spawnstate
|
||||
-1, // spawnhealth
|
||||
S_NULL, // seestate
|
||||
sfx_None, // seesound
|
||||
0, // 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
|
||||
1048576, // radius
|
||||
3670016, // height
|
||||
0, // display offset
|
||||
1000, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_NOTHINK|MF_NOBLOCKMAP|MF_DONTENCOREMAP, // flags
|
||||
S_NULL // raisestate
|
||||
},
|
||||
|
||||
{ // MT_FANCHAR_HINOTE
|
||||
-1, // doomednum
|
||||
S_FANCHAR_HINOTE, // spawnstate
|
||||
-1, // spawnhealth
|
||||
S_NULL, // seestate
|
||||
sfx_None, // seesound
|
||||
0, // 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
|
||||
1048576, // radius
|
||||
3670016, // height
|
||||
0, // display offset
|
||||
1000, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_NOTHINK|MF_NOBLOCKMAP|MF_DONTENCOREMAP, // flags
|
||||
S_NULL // raisestate
|
||||
},
|
||||
|
||||
{ // MT_FLAYM
|
||||
1479, // doomednum
|
||||
S_FLAYM1, // spawnstate
|
||||
|
|
31
src/info.h
31
src/info.h
|
@ -3517,17 +3517,6 @@ typedef enum state
|
|||
// DEZ Laser respawn
|
||||
S_DEZLASER,
|
||||
|
||||
// Pokey
|
||||
S_POKEY1,
|
||||
S_POKEY2,
|
||||
S_POKEY3,
|
||||
S_POKEY4,
|
||||
S_POKEY5,
|
||||
S_POKEY6,
|
||||
S_POKEY7,
|
||||
S_POKEY8,
|
||||
S_POKEYIDLE,
|
||||
|
||||
// Audience Members
|
||||
S_RANDOMAUDIENCE,
|
||||
S_AUDIENCE_CHAO_CHEER1,
|
||||
|
@ -3536,15 +3525,6 @@ typedef enum state
|
|||
S_AUDIENCE_CHAO_WIN2,
|
||||
S_AUDIENCE_CHAO_LOSE,
|
||||
|
||||
S_FANCHAR_KOTE,
|
||||
S_FANCHAR_RYAN,
|
||||
S_FANCHAR_WENDY,
|
||||
S_FANCHAR_FREEZOR,
|
||||
S_FANCHAR_METALKO,
|
||||
S_FANCHAR_BLACKOUT,
|
||||
S_FANCHAR_BLADE,
|
||||
S_FANCHAR_HINOTE,
|
||||
|
||||
// 1.0 Kart Decoratives
|
||||
S_FLAYM1,
|
||||
S_FLAYM2,
|
||||
|
@ -4668,20 +4648,9 @@ typedef enum mobj_type
|
|||
|
||||
MT_DEZLASER,
|
||||
|
||||
MT_POKEY, // Huh, thought this was a default asset for some reason, guess not.
|
||||
|
||||
MT_ENEMYFLIP,
|
||||
MT_WAYPOINT,
|
||||
|
||||
MT_RANDOMAUDIENCE,
|
||||
MT_FANCHAR_KOTE,
|
||||
MT_FANCHAR_RYAN,
|
||||
MT_FANCHAR_WENDY,
|
||||
MT_FANCHAR_FREEZOR,
|
||||
MT_FANCHAR_METALKO,
|
||||
MT_FANCHAR_BLACKOUT,
|
||||
MT_FANCHAR_BLADE,
|
||||
MT_FANCHAR_HINOTE,
|
||||
|
||||
MT_FLAYM,
|
||||
MT_DEVIL,
|
||||
|
|
|
@ -3150,13 +3150,6 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
|
|||
return false;
|
||||
}
|
||||
|
||||
// SRB2kart 011617 - Special Case for Pokey so it doesn't die.
|
||||
if (target->type == MT_POKEY)
|
||||
{
|
||||
target->threshold = 1;
|
||||
return false;
|
||||
}
|
||||
|
||||
// Special case for Crawla Commander
|
||||
if (target->type == MT_CRAWLACOMMANDER)
|
||||
{
|
||||
|
|
23
src/p_map.c
23
src/p_map.c
|
@ -1112,25 +1112,6 @@ static boolean PIT_CheckThing(mobj_t *thing)
|
|||
return true;
|
||||
}
|
||||
|
||||
if (thing->type == MT_POKEY)
|
||||
{
|
||||
// see if it went over / under
|
||||
if (tmthing->z > thing->z + thing->height)
|
||||
return true; // overhead
|
||||
if (tmthing->z + tmthing->height < thing->z)
|
||||
return true; // underneath
|
||||
|
||||
if (tmthing->type == MT_ENEMYFLIP)
|
||||
{
|
||||
if (tmthing->angle)
|
||||
P_SetMobjState(thing, S_POKEY5);
|
||||
else
|
||||
P_SetMobjState(thing, S_POKEY1);
|
||||
}
|
||||
if (tmthing->type == MT_PLAYER && !thing->threshold)
|
||||
P_DamageMobj(tmthing, thing, thing->target, 1);
|
||||
}
|
||||
|
||||
//}
|
||||
|
||||
if ((thing->type == MT_FALLINGROCK && (tmthing->player || tmthing->type == MT_FALLINGROCK))
|
||||
|
@ -1380,13 +1361,13 @@ static boolean PIT_CheckThing(mobj_t *thing)
|
|||
}*/
|
||||
|
||||
// check for special pickup
|
||||
if (thing->flags & MF_SPECIAL && tmthing->player && thing->type != MT_POKEY)
|
||||
if (thing->flags & MF_SPECIAL && tmthing->player)
|
||||
{
|
||||
P_TouchSpecialThing(thing, tmthing, true); // can remove thing
|
||||
return true;
|
||||
}
|
||||
// check again for special pickup
|
||||
if (tmthing->flags & MF_SPECIAL && thing->player && tmthing->type != MT_POKEY)
|
||||
if (tmthing->flags & MF_SPECIAL && thing->player)
|
||||
{
|
||||
P_TouchSpecialThing(tmthing, thing, true); // can remove thing
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue