This commit is contained in:
parent
c27dd4413b
commit
e7a4db50cc
11 changed files with 381 additions and 2 deletions
68
source/triggers/tplatfrm.h
Normal file
68
source/triggers/tplatfrm.h
Normal file
|
@ -0,0 +1,68 @@
|
|||
/*=========================================================================
|
||||
|
||||
tplatfrm.h
|
||||
|
||||
Author: Charles Blair
|
||||
Created:
|
||||
Project: Spongebob
|
||||
Purpose:
|
||||
|
||||
Copyright (c) 2001 Climax Development Ltd
|
||||
|
||||
===========================================================================*/
|
||||
|
||||
#ifndef __TRIGGERS_TPLATFRM_H__
|
||||
#define __TRIGGERS_TPLATFRM_H__
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Includes
|
||||
-------- */
|
||||
|
||||
#ifndef __THING_THING_H__
|
||||
#include "thing/thing.h"
|
||||
#endif
|
||||
|
||||
#ifndef __PLATFORM_PLATFORM_H__
|
||||
#include "platform\platform.h"
|
||||
#endif
|
||||
|
||||
|
||||
/* Std Lib
|
||||
------- */
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Tyepdefs && Defines
|
||||
------------------- */
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Structure defintions
|
||||
-------------------- */
|
||||
|
||||
class CPlatformTrigger : public CTriggerThing
|
||||
{
|
||||
public:
|
||||
#if defined (__USER_art__) || defined (__USER_sbart__)
|
||||
virtual void render();
|
||||
#endif
|
||||
virtual void setPlatform( CNpcPlatform *platform ) {m_platform = platform;}
|
||||
|
||||
protected:
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
|
||||
CNpcPlatform *m_platform;
|
||||
};
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Globals
|
||||
------- */
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Functions
|
||||
--------- */
|
||||
|
||||
/*---------------------------------------------------------------------- */
|
||||
|
||||
#endif /* __TRIGGERS_TPLATFRM_H__ */
|
||||
|
||||
/*===========================================================================
|
||||
end */
|
Loading…
Add table
Add a link
Reference in a new issue