This commit is contained in:
parent
f5e5b23f6e
commit
96c04a2228
3 changed files with 16 additions and 0 deletions
|
@ -87,6 +87,10 @@
|
||||||
#include "platform\pbranch.h"
|
#include "platform\pbranch.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __PLATFORM_PCART_H__
|
||||||
|
#include "platform\pcart.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef __PLATFORM_PPLAYER_H__
|
#ifndef __PLATFORM_PPLAYER_H__
|
||||||
#include "platform\pplayer.h"
|
#include "platform\pplayer.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -171,6 +175,12 @@ CNpcPlatform *CNpcPlatform::Create(sThingPlatform *ThisPlatform)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case NPC_CART_PLATFORM:
|
||||||
|
{
|
||||||
|
platform = new ("cart platform") CNpcCartPlatform;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
ASSERT( 0 );
|
ASSERT( 0 );
|
||||||
|
@ -269,6 +279,8 @@ void CNpcPlatform::init()
|
||||||
m_lifetime = 0;
|
m_lifetime = 0;
|
||||||
m_lifetimeType = m_data[m_type].lifetimeType;
|
m_lifetimeType = m_data[m_type].lifetimeType;
|
||||||
|
|
||||||
|
m_isShuttingDown = false;
|
||||||
|
|
||||||
m_npcPath.initPath();
|
m_npcPath.initPath();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -84,6 +84,7 @@ FishHook1=5
|
||||||
FishHook2=5
|
FishHook2=5
|
||||||
SwingingFishHook=10
|
SwingingFishHook=10
|
||||||
BendyBranch=11
|
BendyBranch=11
|
||||||
|
CoasterCar=9
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
# Triggers
|
# Triggers
|
||||||
|
|
|
@ -29,3 +29,6 @@ Gfx=..\..\Graphics\platforms\FishHook3\FishHook3.gin
|
||||||
|
|
||||||
[BendyBranch]
|
[BendyBranch]
|
||||||
Gfx=..\..\Graphics\platforms\Bendybranch\bendybranch.gin
|
Gfx=..\..\Graphics\platforms\Bendybranch\bendybranch.gin
|
||||||
|
|
||||||
|
[CoasterCar]
|
||||||
|
Gfx=..\..\Graphics\platforms\CoasterCar\coastercar.gin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue