This commit is contained in:
parent
d9b8e0ce6b
commit
c271683bc3
7 changed files with 43 additions and 1 deletions
|
@ -232,6 +232,20 @@ CNpcPlatform::NPC_PLATFORM_DATA CNpcPlatform::m_data[NPC_PLATFORM_TYPE_MAX] =
|
|||
NPC_PLATFORM_TIMER_NONE,
|
||||
},
|
||||
|
||||
{ // NPC_BOUNCE_PLATFORM
|
||||
ACTORS_CLAM_SBK,
|
||||
ANIM_CLAM_SIDESNAP,
|
||||
3,
|
||||
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,
|
||||
|
@ -264,5 +278,6 @@ CNpcPlatform::NPC_PLATFORM_UNIT_TYPE CNpcPlatform::mapEditConvertTable[NPC_PLATF
|
|||
NPC_SEESAW_PLATFORM,
|
||||
NPC_OILDRUM_PLATFORM,
|
||||
NPC_CRATE_PLATFORM,
|
||||
NPC_BOUNCE_PLATFORM,
|
||||
NPC_PLAYER_BUBBLE_PLATFORM,
|
||||
};
|
||||
|
|
|
@ -95,6 +95,10 @@
|
|||
#include "platform\pseesaw.h"
|
||||
#endif
|
||||
|
||||
#ifndef __PLATFORM_PBOUNCE_H__
|
||||
#include "platform\pbounce.h"
|
||||
#endif
|
||||
|
||||
#ifndef __PLATFORM_PPLAYER_H__
|
||||
#include "platform\pplayer.h"
|
||||
#endif
|
||||
|
@ -205,6 +209,12 @@ CNpcPlatform *CNpcPlatform::Create(sThingPlatform *ThisPlatform)
|
|||
break;
|
||||
}
|
||||
|
||||
case NPC_BOUNCE_PLATFORM:
|
||||
{
|
||||
platform = new ("bounce platform") CNpcBouncePlatform;
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
ASSERT( 0 );
|
||||
|
|
|
@ -57,6 +57,7 @@ public:
|
|||
NPC_SEESAW_PLATFORM,
|
||||
NPC_OILDRUM_PLATFORM,
|
||||
NPC_CRATE_PLATFORM,
|
||||
NPC_BOUNCE_PLATFORM,
|
||||
NPC_PLAYER_BUBBLE_PLATFORM,
|
||||
NPC_PLATFORM_TYPE_MAX,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue