From c35f88d6de45f8bc1e95afe50817db44357211eb Mon Sep 17 00:00:00 2001 From: Paul Date: Mon, 25 Jun 2001 21:17:41 +0000 Subject: [PATCH] --- source/triggers/tboss.cpp | 70 +++++++++++++++++++++++++++++++++++++++ source/triggers/tboss.h | 57 +++++++++++++++++++++++++++++++ 2 files changed, 127 insertions(+) create mode 100644 source/triggers/tboss.cpp create mode 100644 source/triggers/tboss.h diff --git a/source/triggers/tboss.cpp b/source/triggers/tboss.cpp new file mode 100644 index 000000000..9703148fd --- /dev/null +++ b/source/triggers/tboss.cpp @@ -0,0 +1,70 @@ +/*========================================================================= + + tboss.cpp + + Author: PKG + Created: + Project: Spongebob + Purpose: + + Copyright (c) 2001 Climax Development Ltd + +===========================================================================*/ + +/*---------------------------------------------------------------------- + Includes + -------- */ + +#include "triggers\trigger.h" +#include "triggers\tboss.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 CBossArenaTrigger::collidedWith(CThing *_thisThing) +{ + switch( _thisThing->getThingType() ) + { + case TYPE_PLAYER: + { + break; + } + + default: + break; + } +} + +/*=========================================================================== +end */ diff --git a/source/triggers/tboss.h b/source/triggers/tboss.h new file mode 100644 index 000000000..c36edaf06 --- /dev/null +++ b/source/triggers/tboss.h @@ -0,0 +1,57 @@ +/*========================================================================= + + tboss.h + + Author: PKG + Created: + Project: Spongebob + Purpose: + + Copyright (c) 2001 Climax Development Ltd + +===========================================================================*/ + +#ifndef __TRIGGERS_TBOSS_H__ +#define __TRIGGERS_TBOSS_H__ + +/*---------------------------------------------------------------------- + Includes + -------- */ + +#ifndef __THING_THING_H__ +#include "thing/thing.h" +#endif + + +/* Std Lib + ------- */ + +/*---------------------------------------------------------------------- + Tyepdefs && Defines + ------------------- */ + +/*---------------------------------------------------------------------- + Structure defintions + -------------------- */ + +class CBossArenaTrigger : public CTrigger +{ +protected: + virtual void collidedWith(CThing *_thisThing); + +}; + +/*---------------------------------------------------------------------- + Globals + ------- */ + +/*---------------------------------------------------------------------- + Functions + --------- */ + +/*---------------------------------------------------------------------- */ + +#endif /* __TRIGGERS_TBOSS_H__ */ + +/*=========================================================================== + end */