This commit is contained in:
Charles 2001-04-30 16:05:49 +00:00
parent 2a450517ee
commit b3cb1ea759
4 changed files with 21 additions and 1 deletions

View File

@ -97,7 +97,8 @@ platform_src := platform \
pcart \
pretract \
pbranch \
ppendulm
ppendulm \
pseesaw
hazard_src := hazard \
hfalling \

View File

@ -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
@ -192,6 +196,12 @@ CNpcPlatform *CNpcPlatform::Create(sThingPlatform *ThisPlatform)
platform = new ("cart platform") CNpcCartPlatform;
break;
}
case NPC_SEESAW_PLATFORM:
{
platform = new ("seesaw platform") CNpcSeesawPlatform;
break;
}
default:
{

View File

@ -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,
};

View File

@ -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"