aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/shared/episodic/npc_advisor_shared.h
diff options
context:
space:
mode:
authorJoe Ludwig <[email protected]>2013-06-26 15:22:04 -0700
committerJoe Ludwig <[email protected]>2013-06-26 15:22:04 -0700
commit39ed87570bdb2f86969d4be821c94b722dc71179 (patch)
treeabc53757f75f40c80278e87650ea92808274aa59 /mp/src/game/shared/episodic/npc_advisor_shared.h
downloadsource-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.tar.xz
source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.zip
First version of the SOurce SDK 2013
Diffstat (limited to 'mp/src/game/shared/episodic/npc_advisor_shared.h')
-rw-r--r--mp/src/game/shared/episodic/npc_advisor_shared.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/mp/src/game/shared/episodic/npc_advisor_shared.h b/mp/src/game/shared/episodic/npc_advisor_shared.h
new file mode 100644
index 00000000..481b3c23
--- /dev/null
+++ b/mp/src/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