This commit is contained in:
parent
44bb303853
commit
2297e73b3c
@ -60,6 +60,7 @@ void CNpcFallingPlatformGenerator::think( int _frames )
|
||||
{
|
||||
case NPC_OILDRUM_PLATFORM:
|
||||
case NPC_CRATE_PLATFORM:
|
||||
case NPC_VERTICAL_OILDRUM_PLATFORM:
|
||||
{
|
||||
newPlatform = new ("falling platform") CNpcFallingNoRespawnPlatform;
|
||||
break;
|
||||
|
@ -302,6 +302,34 @@ CNpcPlatform::NPC_PLATFORM_DATA CNpcPlatform::m_data[NPC_PLATFORM_TYPE_MAX] =
|
||||
NPC_PLATFORM_TIMER_NONE,
|
||||
},
|
||||
|
||||
{ // NPC_VERTICAL_OILDRUM_GENERATOR
|
||||
ACTORS_CLAM_SBK,
|
||||
ANIM_CLAM_SIDESNAP,
|
||||
2,
|
||||
128,
|
||||
true,
|
||||
DAMAGE__NONE,
|
||||
0,
|
||||
4,
|
||||
NPC_PLATFORM_INFINITE_LIFE,
|
||||
2,
|
||||
NPC_PLATFORM_TIMER_NONE,
|
||||
},
|
||||
|
||||
{ // NPC_VERTICAL_OILDRUM_PLATFORM
|
||||
ACTORS_CLAM_SBK,
|
||||
ANIM_CLAM_SIDESNAP,
|
||||
2,
|
||||
128,
|
||||
true,
|
||||
DAMAGE__NONE,
|
||||
0,
|
||||
4,
|
||||
NPC_PLATFORM_INFINITE_LIFE,
|
||||
4,
|
||||
NPC_PLATFORM_TIMER_NONE,
|
||||
},
|
||||
|
||||
{ // NPC_PLAYER_BUBBLE_PLATFORM
|
||||
ACTORS_CLAM_SBK,
|
||||
ANIM_CLAM_SIDESNAP,
|
||||
@ -339,5 +367,6 @@ CNpcPlatform::NPC_PLATFORM_UNIT_TYPE CNpcPlatform::mapEditConvertTable[NPC_PLATF
|
||||
NPC_OILDRUM_GENERATOR,
|
||||
NPC_CRATE_GENERATOR,
|
||||
NPC_RAFT_PLATFORM,
|
||||
NPC_VERTICAL_OILDRUM_GENERATOR,
|
||||
NPC_PLAYER_BUBBLE_PLATFORM,
|
||||
};
|
||||
|
@ -255,6 +255,15 @@ CNpcPlatform *CNpcPlatform::Create(sThingPlatform *ThisPlatform)
|
||||
break;
|
||||
}
|
||||
|
||||
case NPC_VERTICAL_OILDRUM_GENERATOR:
|
||||
{
|
||||
CNpcFallingPlatformGenerator *generator;
|
||||
generator = new ("vertical oildrum generator") CNpcFallingPlatformGenerator;
|
||||
generator->setTargetType( NPC_VERTICAL_OILDRUM_PLATFORM );
|
||||
platform = generator;
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
ASSERT( 0 );
|
||||
|
@ -72,6 +72,8 @@ public:
|
||||
NPC_OILDRUM_GENERATOR,
|
||||
NPC_CRATE_GENERATOR,
|
||||
NPC_RAFT_PLATFORM,
|
||||
NPC_VERTICAL_OILDRUM_GENERATOR,
|
||||
NPC_VERTICAL_OILDRUM_PLATFORM,
|
||||
NPC_PLAYER_BUBBLE_PLATFORM,
|
||||
NPC_PLATFORM_TYPE_MAX,
|
||||
};
|
||||
|
@ -101,6 +101,7 @@ BouncyTyre=15
|
||||
DualPlatform=16
|
||||
Wooden=6
|
||||
Raft=19
|
||||
VertOilDrumGenerator=20
|
||||
|
||||
################################################
|
||||
# Triggers
|
||||
|
@ -78,3 +78,7 @@ Gfx=..\..\Graphics\platforms\wooden\wooden.gin
|
||||
|
||||
[Raft]
|
||||
Gfx=..\..\Graphics\platforms\raft\raft.gin
|
||||
|
||||
[VertOildrumGenerator]
|
||||
Gfx=..\..\Graphics\platforms\vert_Oildrum\vert_Oildrum.gin
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user