This commit is contained in:
parent
ed42b035d1
commit
3713a14b54
7 changed files with 37 additions and 1 deletions
|
@ -490,6 +490,18 @@ CNpcPlatform::NPC_PLATFORM_DATA CNpcPlatform::m_data[NPC_PLATFORM_TYPE_MAX] =
|
|||
0,
|
||||
NPC_PLATFORM_TIMER_NONE,
|
||||
},
|
||||
|
||||
{ // NPC_LIFT_PLATFORM
|
||||
2,
|
||||
128,
|
||||
true,
|
||||
DAMAGE__NONE,
|
||||
0,
|
||||
2,
|
||||
NPC_PLATFORM_INFINITE_LIFE,
|
||||
0,
|
||||
NPC_PLATFORM_TIMER_NONE,
|
||||
},
|
||||
};
|
||||
|
||||
CNpcPlatform::NPC_PLATFORM_UNIT_TYPE CNpcPlatform::mapEditConvertTable[NPC_PLATFORM_TYPE_MAX] =
|
||||
|
@ -528,6 +540,7 @@ CNpcPlatform::NPC_PLATFORM_UNIT_TYPE CNpcPlatform::mapEditConvertTable[NPC_PLATF
|
|||
NPC_COLLAPSING_ACRID_PLATFORM,
|
||||
NPC_DROP_PLATFORM,
|
||||
NPC_STEAM_SWITCH_PLATFORM,
|
||||
NPC_LIFT_PLATFORM,
|
||||
NPC_CONVEYOR_PLATFORM,
|
||||
NPC_PLAYER_BUBBLE_PLATFORM,
|
||||
NPC_CLAM_PLATFORM,
|
||||
|
|
|
@ -179,6 +179,10 @@
|
|||
#include "platform\psswitch.h"
|
||||
#endif
|
||||
|
||||
#ifndef __PLATFORM_PLIFT_H__
|
||||
#include "platform\plift.h"
|
||||
#endif
|
||||
|
||||
#include "fx\fx.h"
|
||||
#include "fx\fxjfish.h"
|
||||
|
||||
|
@ -411,6 +415,12 @@ CNpcPlatform *CNpcPlatform::Create(int Type)
|
|||
break;
|
||||
}
|
||||
|
||||
case NPC_LIFT_PLATFORM:
|
||||
{
|
||||
platform = new ("lift platform") CNpcLiftPlatform;
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
ASSERT( 0 );
|
||||
|
|
|
@ -91,6 +91,7 @@ public:
|
|||
NPC_COLLAPSING_ACRID_PLATFORM,
|
||||
NPC_DROP_PLATFORM,
|
||||
NPC_STEAM_SWITCH_PLATFORM,
|
||||
NPC_LIFT_PLATFORM,
|
||||
NPC_PLATFORM_TYPE_MAX,
|
||||
};
|
||||
enum
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue