1 /* 2 =========================================================================== 3 4 Return to Castle Wolfenstein single player GPL Source Code 5 Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. 6 7 This file is part of the Return to Castle Wolfenstein single player GPL Source Code (RTCW SP Source Code). 8 9 RTCW SP Source Code is free software: you can redistribute it and/or modify 10 it under the terms of the GNU General Public License as published by 11 the Free Software Foundation, either version 3 of the License, or 12 (at your option) any later version. 13 14 RTCW SP Source Code is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU General Public License for more details. 18 19 You should have received a copy of the GNU General Public License 20 along with RTCW SP Source Code. If not, see <http://www.gnu.org/licenses/>. 21 22 In addition, the RTCW SP Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the RTCW SP Source Code. If not, please request a copy in writing from id Software at the address below. 23 24 If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 25 26 =========================================================================== 27 */ 28 29 //=========================================================================== 30 // 31 // Name: match.h 32 // Function: match template defines 33 // Programmer: Mr Elusive (MrElusive@idsoftware.com) 34 // Last update: 1999-10-01 35 // Tab Size: 4 (real tabs) 36 // 37 //=========================================================================== 38 39 //match template contexts 40 #define MTCONTEXT_ENTERGAME 2 41 #define MTCONTEXT_INITIALTEAMCHAT 4 42 #define MTCONTEXT_TIME 8 43 #define MTCONTEXT_TEAMMATE 16 44 #define MTCONTEXT_ADDRESSEE 32 45 #define MTCONTEXT_PATROLKEYAREA 64 46 #define MTCONTEXT_REPLYCHAT 128 47 #define MTCONTEXT_CTF 256 48 49 //message types 50 #define MSG_ENTERGAME 2 //enter game message 51 #define MSG_HELP 3 //help someone 52 #define MSG_ACCOMPANY 4 //accompany someone 53 #define MSG_DEFENDKEYAREA 5 //defend a key area 54 #define MSG_RUSHBASE 6 //everyone rush to base 55 #define MSG_GETFLAG 7 //get the enemy flag 56 #define MSG_STARTTEAMLEADERSHIP 8 //someone wants to become the team leader 57 #define MSG_STOPTEAMLEADERSHIP 9 //someone wants to stop being the team leader 58 #define MSG_WHOISTEAMLAEDER 10 //who is the team leader 59 #define MSG_WAIT 11 //wait for someone 60 #define MSG_WHATAREYOUDOING 12 //what are you doing? 61 #define MSG_JOINSUBTEAM 13 //join a sub-team 62 #define MSG_LEAVESUBTEAM 14 //leave a sub-team 63 #define MSG_CREATENEWFORMATION 15 //create a new formation 64 #define MSG_FORMATIONPOSITION 16 //tell someone his/her position in a formation 65 #define MSG_FORMATIONSPACE 17 //set the formation intervening space 66 #define MSG_DOFORMATION 18 //form a known formation 67 #define MSG_DISMISS 19 //dismiss commanded team mates 68 #define MSG_CAMP 20 //camp somewhere 69 #define MSG_CHECKPOINT 21 //remember a check point 70 #define MSG_PATROL 22 //patrol between certain keypoints 71 #define MSG_LEADTHEWAY 23 //lead the way 72 #define MSG_GETITEM 24 //get an item 73 #define MSG_KILL 25 //kill someone 74 #define MSG_WHEREAREYOU 26 //where is someone 75 #define MSG_RETURNFLAG 27 //return the flag 76 #define MSG_WHATISMYCOMMAND 28 //ask the team leader what to do 77 #define MSG_WHICHTEAM 29 //ask which team a bot is in 78 // 79 #define MSG_ME 100 80 #define MSG_EVERYONE 101 81 #define MSG_MULTIPLENAMES 102 82 #define MSG_NAME 103 83 #define MSG_PATROLKEYAREA 104 84 #define MSG_MINUTES 105 85 #define MSG_SECONDS 106 86 #define MSG_FOREVER 107 87 // 88 #define MSG_CHATALL 200 89 #define MSG_CHATTEAM 201 90 // 91 #define MSG_CTF 300 //ctf message 92 93 //command sub types 94 #define ST_SOMEWHERE 0 95 #define ST_NEARITEM 1 96 #define ST_ADDRESSED 2 97 #define ST_METER 4 98 #define ST_FEET 8 99 #define ST_TIME 16 100 #define ST_HERE 32 101 #define ST_THERE 64 102 #define ST_I 128 103 #define ST_MORE 256 104 #define ST_BACK 512 105 #define ST_REVERSE 1024 106 #define ST_SOMEONE 2048 107 #define ST_GOTFLAG 4096 108 #define ST_CAPTUREDFLAG 8192 109 #define ST_RETURNEDFLAG 16384 110 #define ST_TEAM 32768 111 112 113 //word replacement variables 114 #define THE_ENEMY 7 115 #define THE_TEAM 7 116 //team message variables 117 #define NETNAME 0 118 #define PLACE 1 119 #define FLAG 1 120 #define MESSAGE 2 121 #define ADDRESSEE 2 122 #define ITEM 3 123 #define TEAMMATE 4 124 #define TEAMNAME 4 125 #define ENEMY 4 126 #define KEYAREA 5 127 #define FORMATION 5 128 #define POSITION 5 129 #define NUMBER 5 130 #define TIME 6 131 #define NAME 6 132 #define MORE 6 133 134 135