diff --git a/source/triggers/tlook.cpp b/source/triggers/tlook.cpp new file mode 100644 index 000000000..749c80b27 --- /dev/null +++ b/source/triggers/tlook.cpp @@ -0,0 +1,61 @@ +/*========================================================================= + + tlook.cpp + + Author: PKG + Created: + Project: Spongebob + Purpose: + + Copyright (c) 2001 Climax Development Ltd + +===========================================================================*/ + +/*---------------------------------------------------------------------- + Includes + -------- */ + +#include "triggers\tlook.h" + +#ifndef __GAME_GAME_H__ +#include "game\game.h" +#endif + + +/* Std Lib + ------- */ + +/* Data + ---- */ + +/*---------------------------------------------------------------------- + Tyepdefs && Defines + ------------------- */ + +/*---------------------------------------------------------------------- + Structure defintions + -------------------- */ + +/*---------------------------------------------------------------------- + Function Prototypes + ------------------- */ + +/*---------------------------------------------------------------------- + Vars + ---- */ + +/*---------------------------------------------------------------------- + Function: + Purpose: + Params: + Returns: + ---------------------------------------------------------------------- */ +void CLookTrigger::collidedWith(CThing *_thisThing) +{ + ASSERT(_thisThing->getThingType()==TYPE_PLAYER); + + +} + +/*=========================================================================== +end */ diff --git a/source/triggers/tlook.h b/source/triggers/tlook.h new file mode 100644 index 000000000..a56f66b46 --- /dev/null +++ b/source/triggers/tlook.h @@ -0,0 +1,57 @@ +/*========================================================================= + + tlook.h + + Author: PKG + Created: + Project: Spongebob + Purpose: + + Copyright (c) 2001 Climax Development Ltd + +===========================================================================*/ + +#ifndef __TRIGGERS_TLOOK_H__ +#define __TRIGGERS_TLOOK_H__ + +/*---------------------------------------------------------------------- + Includes + -------- */ + +#ifndef __THING_THING_H__ +#include "thing/thing.h" +#endif + + +/* Std Lib + ------- */ + +/*---------------------------------------------------------------------- + Tyepdefs && Defines + ------------------- */ + +/*---------------------------------------------------------------------- + Structure defintions + -------------------- */ + +class CLookTrigger : public CTriggerThing +{ +protected: + virtual void collidedWith(CThing *_thisThing); + +}; + +/*---------------------------------------------------------------------- + Globals + ------- */ + +/*---------------------------------------------------------------------- + Functions + --------- */ + +/*---------------------------------------------------------------------- */ + +#endif /* __TRIGGERS_TLOOK_H__ */ + +/*=========================================================================== + end */