This commit is contained in:
parent
d49821f1d6
commit
b8fa79c2d7
2 changed files with 64 additions and 0 deletions
33
source/platform/pghost.cpp
Normal file
33
source/platform/pghost.cpp
Normal 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
31
source/platform/pghost.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue