This commit is contained in:
Charles 2001-04-25 20:52:36 +00:00
parent f5e5b23f6e
commit 96c04a2228
3 changed files with 16 additions and 0 deletions

View File

@ -87,6 +87,10 @@
#include "platform\pbranch.h"
#endif
#ifndef __PLATFORM_PCART_H__
#include "platform\pcart.h"
#endif
#ifndef __PLATFORM_PPLAYER_H__
#include "platform\pplayer.h"
#endif
@ -171,6 +175,12 @@ CNpcPlatform *CNpcPlatform::Create(sThingPlatform *ThisPlatform)
break;
}
case NPC_CART_PLATFORM:
{
platform = new ("cart platform") CNpcCartPlatform;
break;
}
default:
{
ASSERT( 0 );
@ -269,6 +279,8 @@ void CNpcPlatform::init()
m_lifetime = 0;
m_lifetimeType = m_data[m_type].lifetimeType;
m_isShuttingDown = false;
m_npcPath.initPath();
}

View File

@ -84,6 +84,7 @@ FishHook1=5
FishHook2=5
SwingingFishHook=10
BendyBranch=11
CoasterCar=9
################################################
# Triggers

View File

@ -29,3 +29,6 @@ Gfx=..\..\Graphics\platforms\FishHook3\FishHook3.gin
[BendyBranch]
Gfx=..\..\Graphics\platforms\Bendybranch\bendybranch.gin
[CoasterCar]
Gfx=..\..\Graphics\platforms\CoasterCar\coastercar.gin