67 lines
1.4 KiB
C++
67 lines
1.4 KiB
C++
/*=========================================================================
|
|
|
|
tspeech.h
|
|
|
|
Author: CRB
|
|
Created:
|
|
Project: Spongebob
|
|
Purpose:
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
===========================================================================*/
|
|
|
|
#ifndef __TRIGGERS_TSPEECH_H__
|
|
#define __TRIGGERS_TSPEECH_H__
|
|
|
|
/*----------------------------------------------------------------------
|
|
Includes
|
|
-------- */
|
|
|
|
#ifndef __THING_THING_H__
|
|
#include "thing/thing.h"
|
|
#endif
|
|
|
|
#ifndef __TRIGGER_TRIGGER_HEADER__
|
|
#include "triggers\trigger.h"
|
|
#endif
|
|
|
|
#include "fx\fx.h"
|
|
|
|
/* Std Lib
|
|
------- */
|
|
|
|
/*----------------------------------------------------------------------
|
|
Tyepdefs && Defines
|
|
------------------- */
|
|
|
|
/*----------------------------------------------------------------------
|
|
Structure defintions
|
|
-------------------- */
|
|
|
|
class CSpeechTrigger : public CTrigger
|
|
{
|
|
public:
|
|
void setData(int newData) {m_data=newData;}
|
|
protected:
|
|
virtual void collidedWith(CThing *_thisThing);
|
|
|
|
int m_data;
|
|
static int s_speechRef[9];
|
|
};
|
|
|
|
/*----------------------------------------------------------------------
|
|
Globals
|
|
------- */
|
|
|
|
/*----------------------------------------------------------------------
|
|
Functions
|
|
--------- */
|
|
|
|
/*---------------------------------------------------------------------- */
|
|
|
|
#endif
|
|
|
|
/*===========================================================================
|
|
end */
|