Merge branch 'mace-place' into 'master'

Make maces normally placeable in maps.

See merge request STJr/SRB2Internal!390
This commit is contained in:
toaster 2019-10-22 13:29:06 -04:00
commit 386ac78600
3 changed files with 59 additions and 18 deletions

View file

@ -4141,6 +4141,34 @@ thingtypes
angletext = "Retraction interval"; angletext = "Retraction interval";
parametertext = "Initial delay"; parametertext = "Initial delay";
} }
1130
{
title = "Small Mace";
sprite = "SMCEA0";
width = 17;
height = 34;
}
1131
{
title = "Big Mace";
sprite = "BMCEA0";
width = 34;
height = 68;
}
1136
{
title = "Small Fireball";
sprite = "SFBRA0";
width = 17;
height = 34;
}
1137
{
title = "Large Fireball";
sprite = "BFBRA0";
width = 34;
height = 68;
}
} }
springs springs
@ -4257,6 +4285,20 @@ thingtypes
width = 16; width = 16;
height = 32; height = 32;
} }
1134
{
title = "Yellow Spring Ball";
sprite = "YSPBA0";
width = 17;
height = 34;
}
1135
{
title = "Red Spring Ball";
sprite = "RSPBA0";
width = 17;
height = 34;
}
} }
patterns patterns
@ -4837,7 +4879,7 @@ thingtypes
} }
1104 1104
{ {
title = "Mace"; title = "Mace Spawnpoint";
sprite = "SMCEA0"; sprite = "SMCEA0";
width = 17; width = 17;
height = 34; height = 34;
@ -4847,7 +4889,7 @@ thingtypes
} }
1105 1105
{ {
title = "Chain & Maces"; title = "Chain with Maces Spawnpoint";
sprite = "SMCEA0"; sprite = "SMCEA0";
width = 17; width = 17;
height = 34; height = 34;
@ -4857,7 +4899,7 @@ thingtypes
} }
1106 1106
{ {
title = "Chained Spring"; title = "Chained Spring Spawnpoint";
sprite = "YSPBA0"; sprite = "YSPBA0";
width = 17; width = 17;
height = 34; height = 34;
@ -4867,7 +4909,7 @@ thingtypes
} }
1107 1107
{ {
title = "Chain"; title = "Chain Spawnpoint";
sprite = "BMCHA0"; sprite = "BMCHA0";
width = 17; width = 17;
height = 34; height = 34;
@ -4877,7 +4919,7 @@ thingtypes
1108 1108
{ {
arrow = 1; arrow = 1;
title = "Chain (Hidden)"; title = "Hidden Chain Spawnpoint";
sprite = "internal:chain3"; sprite = "internal:chain3";
width = 17; width = 17;
height = 34; height = 34;
@ -4885,7 +4927,7 @@ thingtypes
} }
1109 1109
{ {
title = "Firebar"; title = "Firebar Spawnpoint";
sprite = "BFBRA0"; sprite = "BFBRA0";
width = 17; width = 17;
height = 34; height = 34;
@ -4895,7 +4937,7 @@ thingtypes
} }
1110 1110
{ {
title = "Custom Mace"; title = "Custom Mace Spawnpoint";
sprite = "SMCEA0"; sprite = "SMCEA0";
width = 17; width = 17;
height = 34; height = 34;

View file

@ -11104,7 +11104,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
}, },
{ // MT_SMALLMACE { // MT_SMALLMACE
-1, // doomednum 1130, // doomednum
S_SMALLMACE, // spawnstate S_SMALLMACE, // spawnstate
1000, // spawnhealth 1000, // spawnhealth
S_NULL, // seestate S_NULL, // seestate
@ -11131,7 +11131,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
}, },
{ // MT_BIGMACE { // MT_BIGMACE
-1, // doomednum 1131, // doomednum
S_BIGMACE, // spawnstate S_BIGMACE, // spawnstate
1000, // spawnhealth 1000, // spawnhealth
S_NULL, // seestate S_NULL, // seestate
@ -11212,7 +11212,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
}, },
{ // MT_YELLOWSPRINGBALL { // MT_YELLOWSPRINGBALL
-1, // doomednum 1134, // doomednum
S_YELLOWSPRINGBALL, // spawnstate S_YELLOWSPRINGBALL, // spawnstate
1000, // spawnhealth 1000, // spawnhealth
S_YELLOWSPRINGBALL2, // seestate S_YELLOWSPRINGBALL2, // seestate
@ -11239,7 +11239,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
}, },
{ // MT_REDSPRINGBALL { // MT_REDSPRINGBALL
-1, // doomednum 1135, // doomednum
S_REDSPRINGBALL, // spawnstate S_REDSPRINGBALL, // spawnstate
1000, // spawnhealth 1000, // spawnhealth
S_REDSPRINGBALL2, // seestate S_REDSPRINGBALL2, // seestate
@ -11266,7 +11266,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
}, },
{ // MT_SMALLFIREBAR { // MT_SMALLFIREBAR
-1, // doomednum 1136, // doomednum
S_SMALLFIREBAR1, // spawnstate S_SMALLFIREBAR1, // spawnstate
1000, // spawnhealth 1000, // spawnhealth
S_NULL, // seestate S_NULL, // seestate
@ -11293,7 +11293,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
}, },
{ // MT_BIGFIREBAR { // MT_BIGFIREBAR
-1, // doomednum 1137, // doomednum
S_BIGFIREBAR1, // spawnstate S_BIGFIREBAR1, // spawnstate
1000, // spawnhealth 1000, // spawnhealth
S_NULL, // seestate S_NULL, // seestate

View file

@ -4345,7 +4345,6 @@ void P_DoJump(player_t *player, boolean soundandstate)
{ {
player->mo->momz = 9*FRACUNIT; player->mo->momz = 9*FRACUNIT;
player->powers[pw_carry] = CR_NONE; player->powers[pw_carry] = CR_NONE;
player->mo->tracer->flags |= MF_PUSHABLE;
P_SetTarget(&player->mo->tracer->target, NULL); P_SetTarget(&player->mo->tracer->target, NULL);
P_SetTarget(&player->mo->tracer, NULL); P_SetTarget(&player->mo->tracer, NULL);
} }