This commit is contained in:
Charles 2001-07-13 14:50:05 +00:00
parent d49821f1d6
commit b8fa79c2d7
2 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1,33 @@
/*=========================================================================
pghost.cpp
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PLATFORM_PGHOST_H__
#include "platform\pghost.h"
#endif
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void CNpcGhostTrainPlatform::postInit()
{
CNpcCartPlatform::postInit();
m_speedSetting = 0;
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void CNpcGhostTrainPlatform::processMovement( int _frames )
{
CNpcCartPlatform::processMovement( _frames );
}

31
source/platform/pghost.h Normal file
View File

@ -0,0 +1,31 @@
/*=========================================================================
pghost.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PLATFORM_PGHOST_H__
#define __PLATFORM_PGHOST_H__
#ifndef __PLATFORM_PCART_H__
#include "platform\pcart.h"
#endif
class CNpcGhostTrainPlatform : public CNpcCartPlatform
{
public:
void postInit();
protected:
void processMovement( int _frames );
u8 m_speedSetting;
};
#endif