Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

trigger.h

Go to the documentation of this file.
00001 // ----------------------------------------------------------------------- //
00002 //
00003 // MODULE  : trigger.h
00004 //
00005 // PURPOSE : CTrigger - Definition and constants
00006 //
00007 // CREATED : 08/02/01
00008 //
00009 // (c) 2001 LithTech, Inc.  All Rights Reserved
00010 //
00011 // ----------------------------------------------------------------------- //
00012 
00013 #ifndef __TRIGGER_H__
00014 #define __TRIGGER_H__
00015 
00016 
00017 // Engine includes
00018 #include <ltbasedefs.h>
00019 #include <ltengineobjects.h>
00020 
00021 
00023 class CTrigger : public BaseClass
00024 {
00025   public:
00026     // Construction / destruction
00027     CTrigger();
00028     ~CTrigger();
00029 
00030     // Overridden functions
00031 
00032     uint32      EngineMessageFn(uint32 messageID, void *pData, float fData);
00033 
00034     // Accessors
00035 
00036   private:
00037     // EngineMessageFn handlers
00038 
00039     uint32      PreCreate(void *pData, float fData);
00040     void        ObjectCreated();
00041     void        AllObjectsCreated();
00042     void        TouchNotify(LTContactInfo* info);
00043 
00044     // Other functions
00045 
00046     void        ReadProps(ObjectCreateStruct* pStruct);
00047 
00048     // Members
00049 
00050     HOBJECT     m_hTargetObj;
00051     char        m_szTargetObj[MAX_CS_FILENAME_LEN];
00052 
00053     char        m_szActivateCmd[MAX_CS_FILENAME_LEN];
00054     char        m_szDeactivateCmd[MAX_CS_FILENAME_LEN];
00055 };
00056 
00057 
00058 #endif // __TRIGGER_H__

Generated on Mon Mar 4 08:42:23 2002 for Aria by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002