OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
UseAnimDestination Class Reference
Inheritance diagram for UseAnimDestination:
Entity SimpleEntity Listener Class LightClass

Public Member Functions

 CLASS_PROTOTYPE (UseAnimDestination)
 
void SetAnim (Event *ev)
 
void SetState (Event *ev)
 
void SetNumLoops (Event *ev)
 
int GetNumLoops (void)
 
str GetAnim (void)
 
str GetState (void)
 
void Archive (Archiver &arc) override
 
- Public Member Functions inherited from Entity
 CLASS_PROTOTYPE (Entity)
 
void EventGetNormalHealth (Event *ev)
 
void EventNormalDamage (Event *ev)
 
void ClassnameEvent (Event *ev)
 
void SpawnFlagsEvent (Event *ev)
 
void EventRevive (Event *ev)
 
virtual void ShowInfo (float fDot, float fDist)
 
qboolean DistanceTo (Vector pos) const
 
qboolean DistanceTo (Entity *ent) const
 
qboolean WithinDistance (Vector pos, float dist) const
 
qboolean WithinDistance (Entity *ent, float dist) const
 
Vector GetControllerAngles (int num)
 
void SetControllerAngles (int num, vec3_t angles)
 
void SetControllerAngles (Event *ev)
 
void GetControllerAngles (Event *ev)
 
void SetControllerTag (int num, int tag_num)
 
int GetControllerTag (int num) const
 
qboolean GetTagPositionAndOrientation (str tagname, orientation_t *new_or)
 
void GetTagPositionAndOrientation (int tagnum, orientation_t *new_or)
 
void GetTagPosition (Event *ev)
 
void GetTagAngles (Event *ev)
 
void EventTrace (Event *ev)
 
void EventSightTrace (Event *ev)
 
void EventInPVS (Event *ev)
 
void IsTouching (Event *ev)
 
void IsInside (Event *ev)
 
void CanSeeInternal (Event *ev, bool bNoEnts)
 
void CanSee (Event *ev)
 
void CanSeeNoEnts (Event *ev)
 
void SetKillTarget (const char *killtarget)
 
const char * KillTarget (void)
 
void AlwaysDraw (Event *ev)
 
void NormalDraw (Event *ev)
 
void NeverDraw (Event *ev)
 
const char * getModel () const
 
void GetModelEvent (Event *ev)
 
void GetBrushModelEvent (Event *ev)
 
virtual qboolean setModel (void)
 
void SetSize (void)
 
void setModel (const str &mdl)
 
void SetModelEvent (Event *ev)
 
void SetTeamEvent (Event *ev)
 
virtual void TriggerEvent (Event *ev)
 
void hideModel (void)
 
void EventHideModel (Event *ev)
 
virtual void showModel (void)
 
void EventShowModel (Event *ev)
 
qboolean hidden (void)
 
void ProcessInitCommands (void)
 
void setAlpha (float alpha)
 
float alpha (void)
 
void setMoveType (int type)
 
int getMoveType (void)
 
void setSolidType (solid_t type)
 
int getSolidType (void)
 
virtual void setContentsSolid (void)
 
virtual Vector getParentVector (Vector vec)
 
Vector getLocalVector (Vector vec)
 
virtual void setSize (Vector min, Vector max)
 
virtual void updateOrigin (void)
 
virtual void setLocalOrigin (Vector org)
 
void setOrigin (Vector org) override
 
void setOriginEvent (Vector org) override
 
virtual void setOrigin (void)
 
virtual void addOrigin (Vector org)
 
void GetRawTag (int tagnum, orientation_t *orient)
 
qboolean GetRawTag (const char *tagname, orientation_t *orient)
 
void GetTag (int tagnum, orientation_t *orient)
 
qboolean GetTag (const char *name, orientation_t *orient)
 
void GetTag (int tagnum, Vector *pos, Vector *forward=NULL, Vector *left=NULL, Vector *up=NULL)
 
qboolean GetTag (const char *name, Vector *pos, Vector *forward=NULL, Vector *left=NULL, Vector *up=NULL)
 
virtual int CurrentAnim (int slot=0) const
 
virtual float CurrentTime (int slot=0) const
 
void ClearAnimSlot (int slot)
 
void StartAnimSlot (int slot, int index, float weight)
 
void RestartAnimSlot (int slot)
 
void setAngles (Vector ang) override
 
virtual void setAngles (void)
 
void link (void)
 
void unlink (void)
 
void setContents (int type)
 
int getContents (void)
 
void setScale (float scale)
 
qboolean droptofloor (float maxfall)
 
qboolean isClient (void)
 
virtual void SetDeltaAngles (void)
 
virtual void DamageEvent (Event *event)
 
void Damage (Entity *inflictor, Entity *attacker, float damage, Vector position, Vector direction, Vector normal, int knockback, int flags, int meansofdeath, int location=-1)
 
void DamageType (Event *ev)
 
qboolean IsTouching (Entity *e1)
 
qboolean IsInside (Entity *e1)
 
qboolean FovCheck (float *delta, float fovdot)
 
virtual bool CanSee (Entity *ent, float fov, float vision_distance, bool bNoEnts=false)
 
virtual bool CanSee (const Vector &org, float fov, float vision_distance, bool bNoEnts=false)
 
bool AreasConnected (const Entity *other)
 
void FadeNoRemove (Event *ev)
 
void FadeOut (Event *ev)
 
void FadeIn (Event *ev)
 
void Fade (Event *ev)
 
void Sink (Event *ev)
 
virtual void CheckGround (void)
 
virtual qboolean HitSky (trace_t *trace)
 
virtual qboolean HitSky (void)
 
void SafeSolid (Event *ev)
 
void BecomeSolid (Event *ev)
 
void BecomeNonSolid (Event *ev)
 
void SetSize (Event *ev)
 
void SetMins (Event *ev)
 
void SetMaxs (Event *ev)
 
void GetMins (Event *ev)
 
void GetMaxs (Event *ev)
 
void SetScale (Event *ev)
 
void GetScale (Event *ev)
 
void SetAlpha (Event *ev)
 
void SetKillTarget (Event *ev)
 
void TouchTriggersEvent (Event *ev)
 
str GetRandomAlias (str name, AliasListNode_t **ret)
 
void SetWaterType (void)
 
qboolean attach (int parent_entity_num, int tag_num, qboolean use_angles=qtrue, Vector attach_offset=Vector("0 0 0"))
 
void detach (void)
 
void ProcessSoundEvent (Event *ev, qboolean checkSubtitle)
 
void Sound (Event *ev)
 
virtual void Sound (str sound_name, int channel=CHAN_BODY, float volume=-1.0, float min_dist=-1.0, Vector *origin=NULL, float pitch=-1.0f, int argstype=0, int doCallback=0, int checkSubtitle=1, float max_dist=-1.0f)
 
void StopSound (int channel)
 
void StopSound (Event *ev)
 
void LoopSound (Event *ev)
 
void LoopSound (str sound_name, float volume=-1.0, float min_dist=-1.0, float max_dist=-1.0, float pitch=-1.0)
 
void StopLoopSound (Event *ev)
 
void StopLoopSound (void)
 
void StopAllSounds ()
 
void SetLight (Event *ev)
 
void LightOn (Event *ev)
 
void LightOff (Event *ev)
 
void LightRed (Event *ev)
 
void LightGreen (Event *ev)
 
void LightBlue (Event *ev)
 
void LightRadius (Event *ev)
 
void LightStyle (Event *ev)
 
void Flags (Event *ev)
 
void Effects (Event *ev)
 
void RenderEffects (Event *ev)
 
void SVFlags (Event *ev)
 
void BroadcastAIEvent (int iType=AI_EVENT_MISC, float rad=SOUND_RADIUS)
 
void BroadcastAIEvent (Event *ev)
 
void Kill (Event *ev)
 
virtual void Killed (Event *ev)
 
void SurfaceModelEvent (Event *ev)
 
void SurfaceCommand (const char *surf_name, const char *token)
 
virtual void Postthink (void)
 
virtual void Think (void)
 
void DamageSkin (trace_t *trace, float damage)
 
void AttachEvent (Event *ev)
 
void AttachModelEvent (Event *ev)
 
void RemoveAttachedModelEvent (Event *ev)
 
void AttachedModelAnimEvent (Event *ev)
 
void DetachEvent (Event *ev)
 
void TakeDamageEvent (Event *ev)
 
void NoDamageEvent (Event *ev)
 
void Gravity (Event *ev)
 
void GiveOxygen (float time)
 
void UseBoundingBoxEvent (Event *ev)
 
void HurtEvent (Event *ev)
 
void HealEvent (Event *ev)
 
void SetMassEvent (Event *ev)
 
void Censor (Event *ev)
 
void Ghost (Event *ev)
 
void StationaryEvent (Event *ev)
 
void TossEvent (Event *ev)
 
void Explosion (Event *ev)
 
void Shader (Event *ev)
 
void KillAttach (Event *ev)
 
void SetBloodModel (Event *ev)
 
void DropToFloorEvent (Event *ev)
 
void joinTeam (Entity *teammember)
 
void quitTeam (void)
 
qboolean isBoundTo (Entity *master)
 
virtual void bind (Entity *master, qboolean use_my_angles=qfalse)
 
virtual void unbind (void)
 
virtual void glue (Entity *master, qboolean use_my_angles=qtrue, qboolean can_duck=qfalse)
 
virtual void unglue (void)
 
void GlueEvent (Event *ev)
 
void DuckableGlueEvent (Event *ev)
 
void MakeClayPidgeon (Event *ev)
 
void EventUnglue (Event *ev)
 
void JoinTeam (Event *ev)
 
void EventQuitTeam (Event *ev)
 
void BindEvent (Event *ev)
 
void EventUnbind (Event *ev)
 
void AddToSoundManager (Event *ev)
 
void NoLerpThisFrame (void)
 
virtual void addAngles (Vector add)
 
void DeathSinkStart (Event *ev)
 
void DeathSink (Event *ev)
 
void DetachAllChildren (Event *ev)
 
void SetMovementStealth (float fStealthScale)
 
void EventMovementStealth (Event *ev)
 
virtual void VelocityModified (void)
 
qboolean CheckEventFlags (Event *event)
 
void PusherEvent (Event *ev)
 
void SetShaderData (Event *ev)
 
void GetVelocity (Event *ev)
 
void SetVelocity (Event *ev)
 
void GetAVelocity (Event *ev)
 
void DoForceActivate (void)
 
void ForceActivate (Event *ev)
 
void ConnectPaths (void)
 
void DisconnectPaths (void)
 
void EventConnectPaths (Event *ev)
 
void EventDisconnectPaths (Event *ev)
 
virtual void Delete (void)
 
void Remove (Event *ev)
 
void EventSoundDone (Event *ev)
 
void VolumeDamage (float damage)
 
void EventVolumeDamage (Event *ev)
 
virtual qboolean IsDead () const
 
virtual void AddImmunity (Event *ev)
 
virtual void RemoveImmunity (Event *ev)
 
qboolean Immune (int meansofdeath)
 
virtual void ClientThink (void)
 
virtual void EndFrame (void)
 
virtual void CalcBlend (void)
 
virtual bool AutoArchiveModel (void)
 
virtual void PathnodeClaimRevoked (class PathNode *node)
 
virtual qboolean BlocksAIMovement () const
 
virtual qboolean AIDontFace (void) const
 
void SetHealth (Event *ev)
 
void GetHealth (Event *ev)
 
void EventSetMaxHealth (Event *ev)
 
void EventGetMaxHealth (Event *ev)
 
void EventSetHealthOnly (Event *ev)
 
void GetYaw (Event *ev)
 
virtual void PreAnimate (void)
 
virtual void PostAnimate (void)
 
virtual bool HasVehicle (void) const
 
void EventGetEntnum (Event *ev)
 
void EventGetClassname (Event *ev)
 
void EventSetRadnum (Event *ev)
 
void EventGetRadnum (Event *ev)
 
void EventSetRotatedBbox (Event *ev)
 
void EventGetRotatedBbox (Event *ev)
 
void MPrintf (const char *msg,...)
 
void DrawBoundingBox (int showbboxes)
 
void EventSinglePlayerCommand (Event *ev)
 
void EventMultiPlayerCommand (Event *ev)
 
void EventRealismModeCommand (Event *ev)
 
void EventSPRealismModeCommand (Event *ev)
 
void EventDMRealismModeCommand (Event *ev)
 
void GetLocalYawFromVector (Event *ev)
 
void EventShootableOnly (Event *ev)
 
void SetShaderTime (Event *ev)
 
void NoTarget (Event *ev)
 
void ProcessHint (gentity_t *client, bool bShow)
 
void GetZone (Event *ev)
 
void IsInZone (Event *ev)
 
void SetDepthHack (Event *ev)
 
void PlayNonPvsSound (const str &soundName, float volume=1)
 
- Public Member Functions inherited from SimpleEntity
 CLASS_PROTOTYPE (SimpleEntity)
 
const strTarget ()
 
qboolean Targeted (void)
 
strTargetName ()
 
virtual void SetTargetName (str targetname)
 
int IsSubclassOfEntity (void) const
 
int IsSubclassOfAnimate (void) const
 
int IsSubclassOfSentient (void) const
 
int IsSubclassOfPlayer (void) const
 
int IsSubclassOfActor (void) const
 
int IsSubclassOfItem (void) const
 
int IsSubclassOfInventoryItem (void) const
 
int IsSubclassOfWeapon (void) const
 
int IsSubclassOfProjectile (void) const
 
int IsSubclassOfDoor (void) const
 
int IsSubclassOfCamera (void) const
 
int IsSubclassOfVehicle (void) const
 
int IsSubclassOfVehicleTank (void) const
 
int IsSubclassOfVehicleTurretGun (void) const
 
int IsSubclassOfTurretGun (void) const
 
int IsSubclassOfPathNode (void) const
 
int IsSubclassOfWaypoint (void) const
 
int IsSubclassOfTempWaypoint (void) const
 
int IsSubclassOfVehiclePoint (void) const
 
int IsSubclassOfSplinePath (void) const
 
int IsSubclassOfCrateObject (void) const
 
void GetOrigin (Event *ev)
 
void SetOrigin (Event *ev)
 
void GetCentroid (Event *ev)
 
void SetTargetname (Event *ev)
 
void GetTargetname (Event *ev)
 
void SetTarget (Event *ev)
 
void GetTarget (Event *ev)
 
void SetAngles (Event *ev)
 
void GetAngles (Event *ev)
 
void SetAngleEvent (Event *ev)
 
void GetAngleEvent (Event *ev)
 
void GetForwardVector (Event *ev)
 
void GetLeftVector (Event *ev)
 
void GetRightVector (Event *ev)
 
void GetUpVector (Event *ev)
 
SimpleEntityNext (void)
 
void MPrintf (const char *msg,...)
 
void SimpleArchive (Archiver &arc)
 
- Public Member Functions inherited from Listener
 CLASS_PROTOTYPE (Listener)
 
virtual ListenerGetScriptOwner (void)
 
virtual void SetScriptOwner (Listener *newOwner)
 
void CancelEventsOfType (Event *ev)
 
void CancelEventsOfType (Event &ev)
 
void CancelFlaggedEvents (int flags)
 
void CancelPendingEvents (void)
 
qboolean EventPending (Event &ev)
 
void PostEvent (Event *ev, float delay, int flags=0)
 
void PostEvent (const Event &ev, float delay, int flags=0)
 
qboolean PostponeAllEvents (float time)
 
qboolean PostponeEvent (Event &ev, float time)
 
bool ProcessEvent (const Event &ev)
 
bool ProcessEvent (Event *ev)
 
bool ProcessEvent (Event &ev)
 
ScriptVariableProcessEventReturn (Event *ev)
 
void ProcessContainerEvent (const Container< Event * > &conev)
 
qboolean ProcessPendingEvents (void)
 
bool ProcessScriptEvent (Event &ev)
 
bool ProcessScriptEvent (Event *ev)
 
int GetFlags (Event *event) const
 
qboolean ValidEvent (str name) const
 
void CommandDelay (Event *ev)
 
void Remove (Event *ev)
 
void ScriptRemove (Event *ev)
 
void EventInheritsFrom (Event *ev)
 
void EventIsInheritedBy (Event *ev)
 
void GetClassname (Event *ev)
 
- Public Member Functions inherited from Class
virtual ClassDefclassinfo (void) const
 
void warning (const char *function, const char *format,...) const
 
void error (const char *function, const char *format,...) const
 
qboolean inheritsFrom (ClassDef *c) const
 
qboolean inheritsFrom (const char *name) const
 
qboolean isInheritedBy (const char *name) const
 
qboolean isInheritedBy (ClassDef *c) const
 
const char * getClassname (void) const
 
const char * getClassID (void) const
 
const char * getSuperclass (void) const
 
- Public Member Functions inherited from LightClass
void * operator new (size_t s)
 
void operator delete (void *ptr)
 
void * operator new (size_t size, void *placement)
 
void operator delete (void *ptr, void *placement)
 
template<typename T>
void * operator new (size_t size, T &placement)
 
template<typename T>
void operator delete (void *ptr, T &placement)
 

Public Attributes

int num_loops
 
str state
 
str anim
 
- Public Attributes inherited from Entity
int entnum
 
int radnum
 
gentity_tedict
 
gclient_tclient
 
int spawnflags
 
str model
 
Vector mins
 
Vector maxs
 
Vector absmin
 
Vector absmax
 
Vector velocity
 
Vector accel
 
Vector avelocity
 
Vector aaccel
 
Vector size
 
int movetype
 
int mass
 
float gravity
 
float orientation [3][3]
 
gentity_tgroundentity
 
cplane_t groundplane
 
int groundcontents
 
int numchildren
 
int children [MAX_MODEL_CHILDREN]
 
float lightRadius
 
str moveteam
 
class Entityteamchain
 
class Entityteammaster
 
class Entitybindmaster
 
qboolean bind_use_my_angles
 
Vector localorigin
 
Vector localangles
 
str killtarget
 
float health
 
float max_health
 
int deadflag
 
int flags
 
int watertype
 
int waterlevel
 
damage_t takedamage
 
EntityPtr enemy
 
float pain_finished
 
float damage_debounce_time
 
int damage_type
 
int m_iNumGlues
 
EntityPtr m_pGlues [MAX_GLUE_CHILDREN]
 
int m_pGluesFlags [MAX_GLUE_CHILDREN]
 
class Entitym_pGlueMaster
 
bool m_bGlueAngles
 
bool m_bGlueDuckable
 
qboolean detach_at_death
 
float stealthMovementScale
 
class pathway_refm_BlockedPaths
 
int m_iNumBlockedPaths
 
Container< int > immunities
 
MulticastDelegate< void(const Event &ev)> delegate_damage
 
MulticastDelegate< void(const Event &ev)> delegate_killed
 
MulticastDelegate< void(const Event &ev)> delegate_gotKill
 
- Public Attributes inherited from SimpleEntity
Vector origin
 
Vector angles
 
entflags_t entflags
 
str target
 
str targetname
 
Vector centroid
 

Additional Inherited Members

- Static Public Member Functions inherited from Class
static void * _newInstance (void)
 
static ClassDefclassinfostatic (void)
 
- Static Public Attributes inherited from Listener
static bool EventSystemStarted = false
 
static bool ProcessingEvents = false
 
- Static Public Attributes inherited from Class
static ClassDef ClassInfo
 
static ClassDefHook _ClassInfo_
 
static ResponseDef< ClassResponses []
 
- Protected Member Functions inherited from Class
void ClearSafePointers ()
 

Member Function Documentation

◆ Archive()

void UseAnimDestination::Archive ( Archiver & arc)
inlineoverridevirtual

Reimplemented from Entity.


The documentation for this class was generated from the following files: