This commit is contained in:
parent
ed42b035d1
commit
3713a14b54
7 changed files with 37 additions and 1 deletions
|
@ -131,7 +131,8 @@ platform_src := platform \
|
||||||
pplayer \
|
pplayer \
|
||||||
pcbubble \
|
pcbubble \
|
||||||
pdrop \
|
pdrop \
|
||||||
psswitch
|
psswitch \
|
||||||
|
plift
|
||||||
|
|
||||||
hazard_src := hazard \
|
hazard_src := hazard \
|
||||||
hfalling \
|
hfalling \
|
||||||
|
|
|
@ -490,6 +490,18 @@ CNpcPlatform::NPC_PLATFORM_DATA CNpcPlatform::m_data[NPC_PLATFORM_TYPE_MAX] =
|
||||||
0,
|
0,
|
||||||
NPC_PLATFORM_TIMER_NONE,
|
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] =
|
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_COLLAPSING_ACRID_PLATFORM,
|
||||||
NPC_DROP_PLATFORM,
|
NPC_DROP_PLATFORM,
|
||||||
NPC_STEAM_SWITCH_PLATFORM,
|
NPC_STEAM_SWITCH_PLATFORM,
|
||||||
|
NPC_LIFT_PLATFORM,
|
||||||
NPC_CONVEYOR_PLATFORM,
|
NPC_CONVEYOR_PLATFORM,
|
||||||
NPC_PLAYER_BUBBLE_PLATFORM,
|
NPC_PLAYER_BUBBLE_PLATFORM,
|
||||||
NPC_CLAM_PLATFORM,
|
NPC_CLAM_PLATFORM,
|
||||||
|
|
|
@ -179,6 +179,10 @@
|
||||||
#include "platform\psswitch.h"
|
#include "platform\psswitch.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __PLATFORM_PLIFT_H__
|
||||||
|
#include "platform\plift.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "fx\fx.h"
|
#include "fx\fx.h"
|
||||||
#include "fx\fxjfish.h"
|
#include "fx\fxjfish.h"
|
||||||
|
|
||||||
|
@ -411,6 +415,12 @@ CNpcPlatform *CNpcPlatform::Create(int Type)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case NPC_LIFT_PLATFORM:
|
||||||
|
{
|
||||||
|
platform = new ("lift platform") CNpcLiftPlatform;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
ASSERT( 0 );
|
ASSERT( 0 );
|
||||||
|
|
|
@ -91,6 +91,7 @@ public:
|
||||||
NPC_COLLAPSING_ACRID_PLATFORM,
|
NPC_COLLAPSING_ACRID_PLATFORM,
|
||||||
NPC_DROP_PLATFORM,
|
NPC_DROP_PLATFORM,
|
||||||
NPC_STEAM_SWITCH_PLATFORM,
|
NPC_STEAM_SWITCH_PLATFORM,
|
||||||
|
NPC_LIFT_PLATFORM,
|
||||||
NPC_PLATFORM_TYPE_MAX,
|
NPC_PLATFORM_TYPE_MAX,
|
||||||
};
|
};
|
||||||
enum
|
enum
|
||||||
|
|
|
@ -123,6 +123,7 @@ LeafRaft=19
|
||||||
OilRigPlatform=1
|
OilRigPlatform=1
|
||||||
RockBridge=32
|
RockBridge=32
|
||||||
SteamSwitch=33
|
SteamSwitch=33
|
||||||
|
LiftPlatform=34
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
# Triggers
|
# Triggers
|
||||||
|
|
|
@ -142,3 +142,5 @@ Gfx=..\..\Graphics\platforms\rockbridge\rockbridge.gin
|
||||||
[SteamSwitch]
|
[SteamSwitch]
|
||||||
Gfx=..\..\Graphics\platforms\steam_switch\steam_switch.gin
|
Gfx=..\..\Graphics\platforms\steam_switch\steam_switch.gin
|
||||||
|
|
||||||
|
[LiftPlatform]
|
||||||
|
Gfx=..\..\Graphics\platforms\Industrial\Industrial.gin
|
||||||
|
|
|
@ -1565,6 +1565,14 @@ SOURCE=..\..\..\source\platform\pleaf.h
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\source\platform\plift.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\source\platform\plift.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\..\..\source\platform\plinear.cpp
|
SOURCE=..\..\..\source\platform\plinear.cpp
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
Loading…
Add table
Reference in a new issue