Quake-III-Arena

Quake III Arena GPL Source Release
Log | Files | Refs

IEpairs.h (2704B)


      1 /*
      2 ===========================================================================
      3 Copyright (C) 1999-2005 Id Software, Inc.
      4 
      5 This file is part of Quake III Arena source code.
      6 
      7 Quake III Arena source code is free software; you can redistribute it
      8 and/or modify it under the terms of the GNU General Public License as
      9 published by the Free Software Foundation; either version 2 of the License,
     10 or (at your option) any later version.
     11 
     12 Quake III Arena source code is distributed in the hope that it will be
     13 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 GNU General Public License for more details.
     16 
     17 You should have received a copy of the GNU General Public License
     18 along with Foobar; if not, write to the Free Software
     19 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     20 ===========================================================================
     21 */
     22 //-----------------------------------------------------------------------------
     23 //
     24 // $LogFile$
     25 // $Revision: 1.1.1.4 $
     26 // $Author: ttimo $
     27 // $Date: 2000/01/18 00:17:12 $
     28 // $Log: IEpairs.h,v $
     29 // Revision 1.1.1.4  2000/01/18 00:17:12  ttimo
     30 // merging in for RC
     31 //
     32 // Revision 1.3  2000/01/17 23:53:42  TBesset
     33 // ready for merge in sourceforge (RC candidate)
     34 //
     35 // Revision 1.2  2000/01/07 16:40:10  TBesset
     36 // merged from BSP frontend
     37 //
     38 // Revision 1.1.1.3  1999/12/29 18:31:26  TBesset
     39 // Q3Radiant public version
     40 //
     41 // Revision 1.1.1.1.2.1  1999/12/29 21:39:35  TBesset
     42 // updated to update3 from Robert
     43 //
     44 // Revision 1.1.1.3  1999/12/29 18:31:26  TBesset
     45 // Q3Radiant public version
     46 //
     47 // Revision 1.1.1.3  1999/12/29 18:31:26  TBesset
     48 // Q3Radiant public version
     49 //
     50 //
     51 // Revision 1.2  1999/11/22 17:46:45  Timo & Christine
     52 // merged EARadiant into the main tree
     53 // bug fixes for Q3Plugin / EAPlugin
     54 // export for Robert
     55 //
     56 // Revision 1.1.2.1  1999/11/03 20:37:59  Timo & Christine
     57 // MEAN plugin for Q3Radiant, alpha version
     58 //
     59 //
     60 // DESCRIPTION:
     61 // virtual class to allow plugin operations on entities epairs
     62 //
     63 
     64 #ifndef _IEPAIRS_H_
     65 #define _IEPAIRS_H_
     66 
     67 class IEpair
     68 {
     69 public:
     70 	// Increment the number of references to this object
     71 	virtual void IncRef () = 0;
     72 	// Decrement the reference count
     73 	virtual void DecRef () = 0;
     74 	virtual void GetVectorForKey( char* key, vec3_t vec ) = 0;
     75 	virtual float FloatForKey( char *key ) = 0;
     76 	virtual char* ValueForKey( char *key ) = 0;
     77 	virtual void SetKeyValue( char *key, char *value ) = 0;
     78 	virtual void GetEntityOrigin( vec3_t vec ) = 0;
     79 	// compute the rotated bounds of the BBox based on "angle" and "angles" keys
     80 	virtual void CalculateRotatedBounds( vec3_t mins, vec3_t maxs ) = 0;
     81 };
     82 
     83 #endif