Initial Prey Game integration support.

This commit is contained in:
Justin Marshall
2026-05-05 15:01:01 -07:00
parent a6c6f1ed26
commit 8d5f678b25
552 changed files with 265551 additions and 209 deletions
+49
View File
@@ -0,0 +1,49 @@
#ifndef __GAME_AFS_H__
#define __GAME_AFS_H__
extern const idEventDef EV_CursorDrop;
extern const idEventDef EV_CursorDone;
/***********************************************************************
hhAFEntity
***********************************************************************/
class hhAFEntity : public idAFEntity_Generic {
public:
CLASS_PROTOTYPE( hhAFEntity );
void Spawn();
virtual void Damage( idEntity *inflictor, idEntity *attacker, const idVec3 &dir, const char *damageDefName, const float damageScale, const int location );
virtual void DormantBegin();
virtual void DormantEnd();
void Event_EnableRagdoll( void );
void Event_DisableRagdoll( void );
};
/***********************************************************************
hhAFEntity_WithAttachedHead
***********************************************************************/
class hhAFEntity_WithAttachedHead : public idAFEntity_WithAttachedHead {
public:
CLASS_PROTOTYPE( hhAFEntity_WithAttachedHead );
void Spawn();
virtual void Damage( idEntity *inflictor, idEntity *attacker, const idVec3 &dir, const char *damageDefName, const float damageScale, const int location );
virtual void DormantBegin();
virtual void DormantEnd();
void Event_EnableRagdoll();
void Event_DisableRagdoll();
};
#endif // __GAME_AFS_H__