This commit is contained in:
parent
2a450517ee
commit
b3cb1ea759
4 changed files with 21 additions and 1 deletions
|
@ -97,7 +97,8 @@ platform_src := platform \
|
|||
pcart \
|
||||
pretract \
|
||||
pbranch \
|
||||
ppendulm
|
||||
ppendulm \
|
||||
pseesaw
|
||||
|
||||
hazard_src := hazard \
|
||||
hfalling \
|
||||
|
|
|
@ -91,6 +91,10 @@
|
|||
#include "platform\pcart.h"
|
||||
#endif
|
||||
|
||||
#ifndef __PLATFORM_PSEESAW_H__
|
||||
#include "platform\pseesaw.h"
|
||||
#endif
|
||||
|
||||
#ifndef __PLATFORM_PPLAYER_H__
|
||||
#include "platform\pplayer.h"
|
||||
#endif
|
||||
|
@ -193,6 +197,12 @@ CNpcPlatform *CNpcPlatform::Create(sThingPlatform *ThisPlatform)
|
|||
break;
|
||||
}
|
||||
|
||||
case NPC_SEESAW_PLATFORM:
|
||||
{
|
||||
platform = new ("seesaw platform") CNpcSeesawPlatform;
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
ASSERT( 0 );
|
||||
|
|
|
@ -54,6 +54,7 @@ public:
|
|||
NPC_CART_PLATFORM,
|
||||
NPC_FISH_HOOK_2_PLATFORM,
|
||||
NPC_BRANCH_PLATFORM,
|
||||
NPC_SEESAW_PLATFORM,
|
||||
NPC_PLAYER_BUBBLE_PLATFORM,
|
||||
NPC_PLATFORM_TYPE_MAX,
|
||||
};
|
||||
|
|
|
@ -1471,6 +1471,14 @@ SOURCE=..\..\..\source\platform\pretract.cpp
|
|||
|
||||
SOURCE=..\..\..\source\platform\pretract.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\source\platform\pseesaw.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\source\platform\pseesaw.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "hazard"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue