mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-19 20:19:50 +02:00
Added typeinfogen with state system
This commit is contained in:
+10
-2
@@ -422,7 +422,6 @@ protected:
|
||||
void Think(void);
|
||||
void Activate(idEntity* activator);
|
||||
int ReactionTo(const idEntity* ent);
|
||||
bool CheckForEnemy(void);
|
||||
void EnemyDead(void);
|
||||
virtual bool CanPlayChatterSounds(void) const;
|
||||
void SetChatSound(void);
|
||||
@@ -485,7 +484,6 @@ protected:
|
||||
// effects
|
||||
const idDeclParticle* SpawnParticlesOnJoint(particleEmitter_t& pe, const char* particleName, const char* jointName);
|
||||
void SpawnParticles(const char* keyName);
|
||||
bool ParticlesActive(void);
|
||||
|
||||
// turning
|
||||
bool FacingIdeal(void);
|
||||
@@ -801,4 +799,14 @@ private:
|
||||
void Event_MarkUsed(void);
|
||||
};
|
||||
|
||||
class idAI_Vagary : public idAI {
|
||||
public:
|
||||
CLASS_PROTOTYPE(idAI_Vagary);
|
||||
|
||||
private:
|
||||
void Event_ChooseObjectToThrow(const idVec3& mins, const idVec3& maxs, float speed, float minDist, float offset);
|
||||
void Event_ThrowObjectAtEnemy(idEntity* ent, float speed);
|
||||
};
|
||||
|
||||
|
||||
#endif /* !__AI_H__ */
|
||||
|
||||
@@ -38,15 +38,6 @@ Vagary specific AI code
|
||||
|
||||
#include "../Game_local.h"
|
||||
|
||||
class idAI_Vagary : public idAI {
|
||||
public:
|
||||
CLASS_PROTOTYPE( idAI_Vagary );
|
||||
|
||||
private:
|
||||
void Event_ChooseObjectToThrow( const idVec3 &mins, const idVec3 &maxs, float speed, float minDist, float offset );
|
||||
void Event_ThrowObjectAtEnemy( idEntity *ent, float speed );
|
||||
};
|
||||
|
||||
const idEventDef AI_Vagary_ChooseObjectToThrow( "vagary_ChooseObjectToThrow", "vvfff", 'e' );
|
||||
const idEventDef AI_Vagary_ThrowObjectAtEnemy( "vagary_ThrowObjectAtEnemy", "ef" );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user