mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-30 21:20:54 +00:00
Updated ACZ cacti.
This commit is contained in:
parent
284ced06ec
commit
c81452211d
3 changed files with 113 additions and 49 deletions
|
@ -5744,6 +5744,8 @@ static const char *const STATE_LIST[] = { // array length left dynamic for sanit
|
|||
"S_CACTI9",
|
||||
"S_CACTI10",
|
||||
"S_CACTI11",
|
||||
"S_CACTITINYSEG",
|
||||
"S_CACTISMALLSEG",
|
||||
|
||||
// Warning signs sprites
|
||||
"S_ARIDSIGN_CAUTION",
|
||||
|
@ -7530,6 +7532,8 @@ static const char *const MOBJTYPE_LIST[] = { // array length left dynamic for s
|
|||
"MT_CACTI9",
|
||||
"MT_CACTI10",
|
||||
"MT_CACTI11",
|
||||
"MT_CACTITINYSEG",
|
||||
"MT_CACTISMALLSEG",
|
||||
"MT_ARIDSIGN_CAUTION",
|
||||
"MT_ARIDSIGN_CACTI",
|
||||
"MT_ARIDSIGN_SHARPTURN",
|
||||
|
|
128
src/info.c
128
src/info.c
|
@ -2330,18 +2330,20 @@ state_t states[NUMSTATES] =
|
|||
{SPR_STBL, 6, 5, {NULL}, 0, 0, S_LITTLETUMBLEWEED_ROLL8}, // S_LITTLETUMBLEWEED_ROLL7
|
||||
{SPR_STBL, 7, 5, {NULL}, 0, 0, S_LITTLETUMBLEWEED_ROLL1}, // S_LITTLETUMBLEWEED_ROLL8
|
||||
|
||||
// Cacti Sprites
|
||||
{SPR_CACT, 0, -1, {NULL}, 0, 0, S_NULL}, // S_CACTI1
|
||||
{SPR_CACT, 1, -1, {NULL}, 0, 0, S_NULL}, // S_CACTI2
|
||||
{SPR_CACT, 2, -1, {NULL}, 0, 0, S_NULL}, // S_CACTI3
|
||||
{SPR_CACT, 3, -1, {NULL}, 0, 0, S_NULL}, // S_CACTI4
|
||||
// Cacti
|
||||
{SPR_CACT, 0, -1, {A_ConnectToGround}, MT_CACTITINYSEG, 0, S_NULL}, // S_CACTI1
|
||||
{SPR_CACT, 1, -1, {A_ConnectToGround}, MT_CACTISMALLSEG, 0, S_NULL}, // S_CACTI2
|
||||
{SPR_CACT, 2, -1, {A_ConnectToGround}, MT_CACTITINYSEG, 0, S_NULL}, // S_CACTI3
|
||||
{SPR_CACT, 3, -1, {A_ConnectToGround}, MT_CACTISMALLSEG, 0, S_NULL}, // S_CACTI4
|
||||
{SPR_CACT, 4, -1, {NULL}, 0, 0, S_NULL}, // S_CACTI5
|
||||
{SPR_CACT, 5, -1, {NULL}, 0, 0, S_NULL}, // S_CACTI6
|
||||
{SPR_CACT, 6, -1, {NULL}, 0, 0, S_NULL}, // S_CACTI7
|
||||
{SPR_CACT, 7, -1, {NULL}, 0, 0, S_NULL}, // S_CACTI8
|
||||
{SPR_CACT, 8, -1, {NULL}, 0, 0, S_NULL}, // S_CACTI9
|
||||
{SPR_CACT, 9, -1, {NULL}, 0, 0, S_NULL}, // S_CACTI10
|
||||
{SPR_CACT, 10, -1, {NULL}, 0, 0, S_NULL}, // S_CACTI11
|
||||
{SPR_CACT, 9, -1, {A_ConnectToGround}, MT_CACTITINYSEG, 0, S_NULL}, // S_CACTI10
|
||||
{SPR_CACT, 10, -1, {A_ConnectToGround}, MT_CACTISMALLSEG, 0, S_NULL}, // S_CACTI11
|
||||
{SPR_CACT, 11, -1, {NULL}, 0, 0, S_NULL}, // S_CACTITINYSEG
|
||||
{SPR_CACT, 12, -1, {NULL}, 0, 0, S_NULL}, // S_CACTISMALLSEG
|
||||
|
||||
// Warning Signs
|
||||
{SPR_WWSG, FF_PAPERSPRITE, -1, {NULL}, 0, 0, S_NULL}, // S_ARIDSIGN_CAUTION
|
||||
|
@ -11522,13 +11524,13 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
|||
S_NULL, // xdeathstate
|
||||
sfx_None, // deathsound
|
||||
0, // speed
|
||||
16*FRACUNIT, // radius
|
||||
32*FRACUNIT, // height
|
||||
13*FRACUNIT, // radius
|
||||
24*FRACUNIT, // height
|
||||
0, // display offset
|
||||
100, // mass
|
||||
DMG_SPIKE, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_NOTHINK|MF_NOBLOCKMAP|MF_NOCLIP|MF_SCENERY, // flags
|
||||
MF_SCENERY|MF_PAIN|MF_NOGRAVITY|MF_RUNSPAWNFUNC, // flags
|
||||
S_NULL // raisestate
|
||||
},
|
||||
|
||||
|
@ -11549,13 +11551,13 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
|||
S_NULL, // xdeathstate
|
||||
sfx_None, // deathsound
|
||||
0, // speed
|
||||
16*FRACUNIT, // radius
|
||||
64*FRACUNIT, // height
|
||||
15*FRACUNIT, // radius
|
||||
52*FRACUNIT, // height
|
||||
0, // display offset
|
||||
100, // mass
|
||||
DMG_SPIKE, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_NOTHINK|MF_NOBLOCKMAP|MF_NOCLIP|MF_SCENERY, // flags
|
||||
MF_SCENERY|MF_PAIN|MF_NOGRAVITY|MF_RUNSPAWNFUNC, // flags
|
||||
S_NULL // raisestate
|
||||
},
|
||||
|
||||
|
@ -11576,13 +11578,13 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
|||
S_NULL, // xdeathstate
|
||||
sfx_None, // deathsound
|
||||
0, // speed
|
||||
16*FRACUNIT, // radius
|
||||
32*FRACUNIT, // height
|
||||
13*FRACUNIT, // radius
|
||||
24*FRACUNIT, // height
|
||||
0, // display offset
|
||||
100, // mass
|
||||
DMG_SPIKE, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_NOTHINK|MF_NOBLOCKMAP|MF_NOCLIP|MF_SCENERY, // flags
|
||||
MF_SCENERY|MF_PAIN|MF_NOGRAVITY|MF_RUNSPAWNFUNC, // flags
|
||||
S_NULL // raisestate
|
||||
},
|
||||
|
||||
|
@ -11603,13 +11605,13 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
|||
S_NULL, // xdeathstate
|
||||
sfx_None, // deathsound
|
||||
0, // speed
|
||||
16*FRACUNIT, // radius
|
||||
80*FRACUNIT, // height
|
||||
15*FRACUNIT, // radius
|
||||
52*FRACUNIT, // height
|
||||
0, // display offset
|
||||
100, // mass
|
||||
DMG_SPIKE, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_NOTHINK|MF_NOBLOCKMAP|MF_NOCLIP|MF_SCENERY, // flags
|
||||
MF_SCENERY|MF_PAIN|MF_NOGRAVITY|MF_RUNSPAWNFUNC, // flags
|
||||
S_NULL // raisestate
|
||||
},
|
||||
|
||||
|
@ -11633,7 +11635,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
|||
32*FRACUNIT, // radius
|
||||
96*FRACUNIT, // height
|
||||
0, // display offset
|
||||
100, // mass
|
||||
DMG_SPIKE, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_SOLID|MF_SCENERY|MF_PAIN, // flags
|
||||
|
@ -11660,7 +11662,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
|||
20*FRACUNIT, // radius
|
||||
128*FRACUNIT, // height
|
||||
0, // display offset
|
||||
100, // mass
|
||||
DMG_SPIKE, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_SOLID|MF_SCENERY|MF_PAIN, // flags
|
||||
|
@ -11687,7 +11689,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
|||
24*FRACUNIT, // radius
|
||||
224*FRACUNIT, // height
|
||||
0, // display offset
|
||||
100, // mass
|
||||
DMG_SPIKE, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_SOLID|MF_SCENERY|MF_PAIN, // flags
|
||||
|
@ -11714,7 +11716,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
|||
24*FRACUNIT, // radius
|
||||
256*FRACUNIT, // height
|
||||
0, // display offset
|
||||
100, // mass
|
||||
DMG_SPIKE, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_SOLID|MF_SCENERY|MF_PAIN, // flags
|
||||
|
@ -11741,7 +11743,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
|||
48*FRACUNIT, // radius
|
||||
96*FRACUNIT, // height
|
||||
0, // display offset
|
||||
100, // mass
|
||||
DMG_SPIKE, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_SOLID|MF_SCENERY|MF_PAIN, // flags
|
||||
|
@ -11765,13 +11767,13 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
|||
S_NULL, // xdeathstate
|
||||
sfx_None, // deathsound
|
||||
0, // speed
|
||||
16*FRACUNIT, // radius
|
||||
64*FRACUNIT, // height
|
||||
13*FRACUNIT, // radius
|
||||
28*FRACUNIT, // height
|
||||
0, // display offset
|
||||
100, // mass
|
||||
DMG_SPIKE, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_SOLID|MF_SCENERY|MF_PAIN, // flags
|
||||
MF_SCENERY|MF_PAIN|MF_NOGRAVITY|MF_RUNSPAWNFUNC, // flags
|
||||
S_NULL // raisestate
|
||||
},
|
||||
|
||||
|
@ -11792,13 +11794,67 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
|||
S_NULL, // xdeathstate
|
||||
sfx_None, // deathsound
|
||||
0, // speed
|
||||
16*FRACUNIT, // radius
|
||||
32*FRACUNIT, // height
|
||||
15*FRACUNIT, // radius
|
||||
60*FRACUNIT, // height
|
||||
0, // display offset
|
||||
100, // mass
|
||||
DMG_SPIKE, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_SOLID|MF_SCENERY|MF_PAIN, // flags
|
||||
MF_SCENERY|MF_PAIN|MF_NOGRAVITY|MF_RUNSPAWNFUNC, // flags
|
||||
S_NULL // raisestate
|
||||
},
|
||||
|
||||
{ // MT_CACTITINYSEG
|
||||
-1, // doomednum
|
||||
S_CACTITINYSEG, // 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
|
||||
13*FRACUNIT, // radius
|
||||
28*FRACUNIT, // height
|
||||
0, // display offset
|
||||
DMG_SPIKE, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_NOTHINK|MF_SCENERY|MF_PAIN|MF_NOGRAVITY, // flags
|
||||
S_NULL // raisestate
|
||||
},
|
||||
|
||||
{ // MT_CACTISMALLSEG
|
||||
-1, // doomednum
|
||||
S_CACTISMALLSEG, // 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
|
||||
15*FRACUNIT, // radius
|
||||
60*FRACUNIT, // height
|
||||
0, // display offset
|
||||
DMG_SPIKE, // mass
|
||||
0, // damage
|
||||
sfx_None, // activesound
|
||||
MF_NOTHINK|MF_SCENERY|MF_PAIN|MF_NOGRAVITY, // flags
|
||||
S_NULL // raisestate
|
||||
},
|
||||
|
||||
|
|
30
src/info.h
30
src/info.h
|
@ -2445,7 +2445,7 @@ typedef enum state
|
|||
S_LITTLETUMBLEWEED_ROLL7,
|
||||
S_LITTLETUMBLEWEED_ROLL8,
|
||||
|
||||
// Cacti Sprites
|
||||
// Cacti
|
||||
S_CACTI1,
|
||||
S_CACTI2,
|
||||
S_CACTI3,
|
||||
|
@ -2457,8 +2457,10 @@ typedef enum state
|
|||
S_CACTI9,
|
||||
S_CACTI10,
|
||||
S_CACTI11,
|
||||
S_CACTITINYSEG,
|
||||
S_CACTISMALLSEG,
|
||||
|
||||
// Warning signs sprites
|
||||
// Warning signs
|
||||
S_ARIDSIGN_CAUTION,
|
||||
S_ARIDSIGN_CACTI,
|
||||
S_ARIDSIGN_SHARPTURN,
|
||||
|
@ -4254,17 +4256,19 @@ typedef enum mobj_type
|
|||
// Arid Canyon Scenery
|
||||
MT_BIGTUMBLEWEED,
|
||||
MT_LITTLETUMBLEWEED,
|
||||
MT_CACTI1,
|
||||
MT_CACTI2,
|
||||
MT_CACTI3,
|
||||
MT_CACTI4,
|
||||
MT_CACTI5, // Harmful Cactus 1
|
||||
MT_CACTI6, // Harmful Cactus 2
|
||||
MT_CACTI7, // Harmful Cactus 3
|
||||
MT_CACTI8, // Harmful Cactus 4
|
||||
MT_CACTI9, // Harmful Cactus 5
|
||||
MT_CACTI10, // Harmful Cactus 6
|
||||
MT_CACTI11, // Harmful Cactus 7
|
||||
MT_CACTI1, // Tiny Red Flower Cactus
|
||||
MT_CACTI2, // Small Red Flower Cactus
|
||||
MT_CACTI3, // Tiny Blue Flower Cactus
|
||||
MT_CACTI4, // Small Blue Flower Cactus
|
||||
MT_CACTI5, // Prickly Pear
|
||||
MT_CACTI6, // Barrel Cactus
|
||||
MT_CACTI7, // Tall Barrel Cactus
|
||||
MT_CACTI8, // Armed Cactus
|
||||
MT_CACTI9, // Ball Cactus
|
||||
MT_CACTI10, // Tiny Cactus
|
||||
MT_CACTI11, // Small Cactus
|
||||
MT_CACTITINYSEG, // Tiny Cactus Segment
|
||||
MT_CACTISMALLSEG, // Small Cactus Segment
|
||||
MT_ARIDSIGN_CAUTION, // Caution Sign
|
||||
MT_ARIDSIGN_CACTI, // Cacti Sign
|
||||
MT_ARIDSIGN_SHARPTURN, // Sharp Turn Sign
|
||||
|
|
Loading…
Reference in a new issue