//===========================================================================// // File: l4audwtr.hpp // // Project: MUNGA Brick: Audio Renderer // // Contents: // //---------------------------------------------------------------------------// // Date Who Modification // // -------- --- -----------------------------------------------------------// // 04/17/95 ECH Initial coding. // //---------------------------------------------------------------------------// // Copyright (C) 1995, Virtual World Entertainment, Inc. // // All Rights reserved worldwide // // This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL // //===========================================================================// #if !defined(l4AUDWTR_HPP) # define l4AUDWTR_HPP # if !defined(AUDWTHR_HPP) # include # endif # if !defined(L4AUDIO_HPP) # include # endif # if !defined(NORMAL_HPP) # include # endif //########################################################################## //##################### L4AudioCollisionTrigger ###################### //########################################################################## class L4AudioCollisionTrigger: public AudioStateWatcher { public: // //-------------------------------------------------------------------- // Constructor, Destructor //-------------------------------------------------------------------- // #if 0 L4AudioCollisionTrigger( StateIndicator *state_attribute_ptr, Normal *normal_attribute_ptr, Static3DPatchSource *audio_source, Enumeration trigger_state, AudioControlID control_ID, AudioControlValue control_value, Logical dump_value ); #endif L4AudioCollisionTrigger( PlugStream *stream, Entity *entity ); ~L4AudioCollisionTrigger(); Logical TestInstance() const; // //-------------------------------------------------------------------- // BuildFromPage //-------------------------------------------------------------------- // static void BuildFromPage( PlugStream *stream, NameList *name_list, RegisteredClass::ClassID class_ID, ObjectID object_ID ); protected: // //-------------------------------------------------------------------- // StateChanged //-------------------------------------------------------------------- // void StateChanged( Enumeration old_state, Enumeration new_state ); private: // //----------------------------------------------------------------------- // DumpValue //----------------------------------------------------------------------- // void DumpValue(const StateIndicator *state_attribute_ptr); // //-------------------------------------------------------------------- // Private data //-------------------------------------------------------------------- // Normal* normalAttributePtr; Enumeration triggerState; AudioControlID controlID; AudioControlValue controlValue; }; #endif