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 \ pcart \
pretract \ pretract \
pbranch \ pbranch \
ppendulm ppendulm \
pseesaw
hazard_src := hazard \ hazard_src := hazard \
hfalling \ hfalling \

View File

@ -91,6 +91,10 @@
#include "platform\pcart.h" #include "platform\pcart.h"
#endif #endif
#ifndef __PLATFORM_PSEESAW_H__
#include "platform\pseesaw.h"
#endif
#ifndef __PLATFORM_PPLAYER_H__ #ifndef __PLATFORM_PPLAYER_H__
#include "platform\pplayer.h" #include "platform\pplayer.h"
#endif #endif
@ -192,6 +196,12 @@ CNpcPlatform *CNpcPlatform::Create(sThingPlatform *ThisPlatform)
platform = new ("cart platform") CNpcCartPlatform; platform = new ("cart platform") CNpcCartPlatform;
break; break;
} }
case NPC_SEESAW_PLATFORM:
{
platform = new ("seesaw platform") CNpcSeesawPlatform;
break;
}
default: default:
{ {

View File

@ -54,6 +54,7 @@ public:
NPC_CART_PLATFORM, NPC_CART_PLATFORM,
NPC_FISH_HOOK_2_PLATFORM, NPC_FISH_HOOK_2_PLATFORM,
NPC_BRANCH_PLATFORM, NPC_BRANCH_PLATFORM,
NPC_SEESAW_PLATFORM,
NPC_PLAYER_BUBBLE_PLATFORM, NPC_PLAYER_BUBBLE_PLATFORM,
NPC_PLATFORM_TYPE_MAX, NPC_PLATFORM_TYPE_MAX,
}; };

View File

@ -1471,6 +1471,14 @@ SOURCE=..\..\..\source\platform\pretract.cpp
SOURCE=..\..\..\source\platform\pretract.h SOURCE=..\..\..\source\platform\pretract.h
# End Source File # 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 # End Group
# Begin Group "hazard" # Begin Group "hazard"