summaryrefslogtreecommitdiff
path: root/game/shared/episodic/npc_advisor_shared.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/shared/episodic/npc_advisor_shared.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'game/shared/episodic/npc_advisor_shared.h')
-rw-r--r--game/shared/episodic/npc_advisor_shared.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/game/shared/episodic/npc_advisor_shared.h b/game/shared/episodic/npc_advisor_shared.h
new file mode 100644
index 0000000..f275fe8
--- /dev/null
+++ b/game/shared/episodic/npc_advisor_shared.h
@@ -0,0 +1,32 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose: Shared data between client and server side npc_advisor classes.
+//
+// Catchphrase: "It's advising us!!!"
+//
+//=============================================================================//
+
+#ifndef NPC_ADVISOR_SHARED_H
+#define NPC_ADVISOR_SHARED_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+
+// Set this to 0 to disable the advisor's special AI behavior (all that object chucking),
+// which we did in Ep2 to make him a scripted creature.
+#define NPC_ADVISOR_HAS_BEHAVIOR 0
+
+#if NPC_ADVISOR_HAS_BEHAVIOR
+// Message ID constants used for communciation between client and server.
+enum
+{
+ ADVISOR_MSG_START_BEAM = 10,
+ ADVISOR_MSG_STOP_BEAM,
+ ADVISOR_MSG_STOP_ALL_BEAMS,
+ ADVISOR_MSG_START_ELIGHT,
+ ADVISOR_MSG_STOP_ELIGHT,
+};
+#endif
+
+#endif // NPC_ADVISOR_SHARED_H