diff options
author | zakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-08-26 05:42:38 +0000 |
---|---|---|
committer | zakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-08-26 05:42:38 +0000 |
commit | 2177daffd38e1b372613a716d6d18d274d4b6b48 (patch) | |
tree | 266f200f6e994b58cd2edd1977e38f33ae8d1432 /q3radiant/ENTITY.H | |
parent | 66e25509ada30d13e64db67df8365c75f1ccd059 (diff) | |
download | ioquake3-aero-2177daffd38e1b372613a716d6d18d274d4b6b48.tar.gz ioquake3-aero-2177daffd38e1b372613a716d6d18d274d4b6b48.zip |
See the readme.
git-svn-id: svn://svn.icculus.org/quake3/trunk@4 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'q3radiant/ENTITY.H')
-rwxr-xr-x | q3radiant/ENTITY.H | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/q3radiant/ENTITY.H b/q3radiant/ENTITY.H deleted file mode 100755 index df929c0..0000000 --- a/q3radiant/ENTITY.H +++ /dev/null @@ -1,76 +0,0 @@ -/* -=========================================================================== -Copyright (C) 1999-2005 Id Software, Inc. - -This file is part of Quake III Arena source code. - -Quake III Arena source code is free software; you can redistribute it -and/or modify it under the terms of the GNU General Public License as -published by the Free Software Foundation; either version 2 of the License, -or (at your option) any later version. - -Quake III Arena source code is distributed in the hope that it will be -useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with Foobar; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -=========================================================================== -*/ - // entity.h
-
- void Eclass_InitForSourceDirectory (char *path);
- eclass_t *Eclass_ForName (char *name, qboolean has_brushes);
-
- // forward declare this one
- class IPluginEntity;
-
- typedef struct entity_s
- {
- struct entity_s *prev, *next;
- brush_t brushes; // head/tail of list
- int undoId, redoId, entityId; // used for undo/redo
- vec3_t origin;
- eclass_t *eclass;
- epair_t *epairs;
- eclass_t *md3Class;
- IPluginEntity *pPlugEnt;
- vec3_t vRotation; // valid for misc_models only
- vec3_t vScale; // valid for misc_models only
- } entity_t;
-
- char *ValueForKey (entity_t *ent, const char *key);
- void SetKeyValue (entity_t *ent, const char *key, const char *value);
- void SetKeyValue (epair_t *&e, const char *key, const char *value);
- void DeleteKey (entity_t *ent, const char *key);
- void DeleteKey (epair_t *&e, const char *key);
- float FloatForKey (entity_t *ent, const char *key);
- int IntForKey (entity_t *ent, const char *key);
- void GetVectorForKey (entity_t *ent, const char *key, vec3_t vec);
-
- void Entity_Free (entity_t *e);
- void Entity_FreeEpairs(entity_t *e);
- int Entity_MemorySize(entity_t *e);
- entity_t *Entity_Parse (qboolean onlypairs, brush_t* pList = NULL);
- void Entity_Write (entity_t *e, FILE *f, qboolean use_region);
- void Entity_WriteSelected(entity_t *e, FILE *f);
- void Entity_WriteSelected(entity_t *e, CMemFile*);
- entity_t *Entity_Create (eclass_t *c);
- entity_t *Entity_Clone (entity_t *e);
- void Entity_AddToList(entity_t *e, entity_t *list);
- void Entity_RemoveFromList(entity_t *e);
-
- void Entity_LinkBrush (entity_t *e, brush_t *b);
- void Entity_UnlinkBrush (brush_t *b);
- entity_t *FindEntity(char *pszKey, char *pszValue);
- entity_t *FindEntityInt(char *pszKey, int iValue);
-
- int GetUniqueTargetId(int iHint);
- qboolean Eclass_hasModel(eclass_t *e, vec3_t &vMin, vec3_t &vMax);
- eclass_t* GetCachedModel(entity_t *pEntity, const char *pName, vec3_t &vMin, vec3_t &vMax);
-
- //Timo : used for parsing epairs in brush primitive
- epair_t* ParseEpair(void);
- char *ValueForKey ( epair_t *&e, const char *key);
|