mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-20 04:30:12 +02:00
Initial Prey Game integration support.
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#ifndef __PREY_GIBBABLE_H
|
||||
#define __PREY_GIBBABLE_H
|
||||
|
||||
class hhGibbable : public hhAnimatedEntity {
|
||||
public:
|
||||
CLASS_PROTOTYPE( hhGibbable );
|
||||
|
||||
void Spawn( void );
|
||||
void Save( idSaveGame *savefile ) const;
|
||||
void Restore( idRestoreGame *savefile );
|
||||
void Explode(idEntity *activator);
|
||||
virtual bool Pain( idEntity *inflictor, idEntity *attacker, int damage, const idVec3 &dir, int location );
|
||||
virtual void Killed( idEntity *inflictor, idEntity *attacker, int damage, const idVec3 &dir, int location );
|
||||
virtual void SetModel( const char *modelname );
|
||||
|
||||
protected:
|
||||
void Event_Activate( idEntity *activator );
|
||||
void Event_PlayIdle( void );
|
||||
void Event_Respawn( void );
|
||||
int DetermineThinnestAxis();
|
||||
|
||||
protected:
|
||||
int idleAnim;
|
||||
int painAnim;
|
||||
|
||||
int idleChannel;
|
||||
int painChannel;
|
||||
bool bVertexColorFade;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user