summaryrefslogtreecommitdiff
path: root/game/client/tf/halloween/c_eyeball_boss.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/client/tf/halloween/c_eyeball_boss.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'game/client/tf/halloween/c_eyeball_boss.h')
-rw-r--r--game/client/tf/halloween/c_eyeball_boss.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/game/client/tf/halloween/c_eyeball_boss.h b/game/client/tf/halloween/c_eyeball_boss.h
new file mode 100644
index 0000000..b4c8315
--- /dev/null
+++ b/game/client/tf/halloween/c_eyeball_boss.h
@@ -0,0 +1,55 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+#ifndef C_EYEBALL_BOSS_H
+#define C_EYEBALL_BOSS_H
+
+#include "c_ai_basenpc.h"
+
+#define EYEBALL_ANGRY 2
+#define EYEBALL_GRUMPY 1
+#define EYEBALL_CALM 0
+
+//--------------------------------------------------------------------------------------------------------
+/**
+ * The client-side implementation of the Halloween Eyeball Boss
+ */
+class C_EyeballBoss : public C_NextBotCombatCharacter
+{
+public:
+ DECLARE_CLASS( C_EyeballBoss, C_NextBotCombatCharacter );
+ DECLARE_CLIENTCLASS();
+
+ C_EyeballBoss();
+ virtual ~C_EyeballBoss();
+
+ virtual void Spawn( void );
+ virtual void OnPreDataChanged( DataUpdateType_t updateType );
+ virtual void OnDataChanged( DataUpdateType_t updateType );
+ virtual bool IsNextBot() { return true; }
+
+ virtual void FireEvent( const Vector& origin, const QAngle& angles, int event, const char *options );
+ virtual void ClientThink();
+ virtual void SetDormant( bool bDormant );
+
+ virtual QAngle const &GetRenderAngles( void );
+ virtual int InternalDrawModel( int flags );
+
+private:
+ C_EyeballBoss( const C_EyeballBoss & ); // not defined, not accessible
+
+ Vector m_lookAtSpot;
+ int m_attitude;
+ int m_priorAttitude;
+
+ QAngle m_myAngles;
+
+ int m_leftRightPoseParameter;
+ int m_upDownPoseParameter;
+
+ HPARTICLEFFECT m_ghostEffect;
+
+ HPARTICLEFFECT m_auraEffect;
+
+ CMaterialReference m_InvulnerableMaterial;
+};
+
+#endif // C_EYEBALL_BOSS_H