diff --git a/source/platform/pghost.cpp b/source/platform/pghost.cpp new file mode 100644 index 000000000..671922611 --- /dev/null +++ b/source/platform/pghost.cpp @@ -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 ); +} diff --git a/source/platform/pghost.h b/source/platform/pghost.h new file mode 100644 index 000000000..3ac617f71 --- /dev/null +++ b/source/platform/pghost.h @@ -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 \ No newline at end of file