From b8fa79c2d7c022c1281736a72556484c9f4fd7ee Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 13 Jul 2001 14:50:05 +0000 Subject: [PATCH] --- source/platform/pghost.cpp | 33 +++++++++++++++++++++++++++++++++ source/platform/pghost.h | 31 +++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 source/platform/pghost.cpp create mode 100644 source/platform/pghost.h 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