mirror of
https://github.com/UberGames/RPG-X2.git
synced 2024-11-22 04:21:43 +00:00
112 lines
3.7 KiB
C
112 lines
3.7 KiB
C
// Copyright (C) 1999-2000 Id Software, Inc.
|
|
//
|
|
//===========================================================================
|
|
//
|
|
// Name: match.h
|
|
// Function: match template defines
|
|
// Programmer: Mr Elusive
|
|
// Last update: 1999-10-01
|
|
// Tab Size: 4 (real tabs)
|
|
//===========================================================================
|
|
|
|
//match template contexts
|
|
#define MTCONTEXT_ENTERGAME 2
|
|
#define MTCONTEXT_INITIALTEAMCHAT 4
|
|
#define MTCONTEXT_TIME 8
|
|
#define MTCONTEXT_TEAMMATE 16
|
|
#define MTCONTEXT_ADDRESSEE 32
|
|
#define MTCONTEXT_PATROLKEYAREA 64
|
|
#define MTCONTEXT_REPLYCHAT 128
|
|
#define MTCONTEXT_CTF 256
|
|
|
|
//message types
|
|
#define MSG_ENTERGAME 2 //!<enter game message
|
|
#define MSG_HELP 3 //!<help someone
|
|
#define MSG_ACCOMPANY 4 //!<accompany someone
|
|
#define MSG_DEFENDKEYAREA 5 //!<defend a key area
|
|
#define MSG_RUSHBASE 6 //!<everyone rush to base
|
|
#define MSG_GETFLAG 7 //!<get the enemy flag
|
|
#define MSG_STARTTEAMLEADERSHIP 8 //!<someone wants to become the team leader
|
|
#define MSG_STOPTEAMLEADERSHIP 9 //!<someone wants to stop being the team leader
|
|
#define MSG_WHOISTEAMLAEDER 10 //!<who is the team leader
|
|
#define MSG_WAIT 11 //!<wait for someone
|
|
#define MSG_WHATAREYOUDOING 12 //!<what are you doing?
|
|
#define MSG_JOINSUBTEAM 13 //!<join a sub-team
|
|
#define MSG_LEAVESUBTEAM 14 //!<leave a sub-team
|
|
#define MSG_CREATENEWFORMATION 15 //!<create a new formation
|
|
#define MSG_FORMATIONPOSITION 16 //!<tell someone his/her position in a formation
|
|
#define MSG_FORMATIONSPACE 17 //!<set the formation intervening space
|
|
#define MSG_DOFORMATION 18 //!<form a known formation
|
|
#define MSG_DISMISS 19 //!<dismiss commanded team mates
|
|
#define MSG_CAMP 20 //!<camp somewhere
|
|
#define MSG_CHECKPOINT 21 //!<remember a check point
|
|
#define MSG_PATROL 22 //!<patrol between certain keypoints
|
|
#define MSG_LEADTHEWAY 23 //!<lead the way
|
|
#define MSG_GETITEM 24 //!<get an item
|
|
#define MSG_KILL 25 //!<kill someone
|
|
#define MSG_WHEREAREYOU 26 //!<where is someone
|
|
#define MSG_RETURNFLAG 27 //!<return the flag
|
|
#define MSG_WHATISMYCOMMAND 28 //!<ask the team leader what to do
|
|
#define MSG_WHICHTEAM 29 //!<ask which team a bot is in
|
|
#define MSG_CTFTASKPREFERENCE 30 //!<tell your CTF task preference
|
|
//
|
|
#define MSG_ME 100
|
|
#define MSG_EVERYONE 101
|
|
#define MSG_MULTIPLENAMES 102
|
|
#define MSG_NAME 103
|
|
#define MSG_PATROLKEYAREA 104
|
|
#define MSG_MINUTES 105
|
|
#define MSG_SECONDS 106
|
|
#define MSG_FOREVER 107
|
|
//
|
|
#define MSG_CHATALL 200
|
|
#define MSG_CHATTEAM 201
|
|
//
|
|
#define MSG_CTF 300 //!<ctf message
|
|
|
|
//command sub types
|
|
#define ST_SOMEWHERE 0
|
|
#define ST_NEARITEM 1
|
|
#define ST_ADDRESSED 2
|
|
#define ST_METER 4
|
|
#define ST_FEET 8
|
|
#define ST_TIME 16
|
|
#define ST_HERE 32
|
|
#define ST_THERE 64
|
|
#define ST_I 128
|
|
#define ST_MORE 256
|
|
#define ST_BACK 512
|
|
#define ST_REVERSE 1024
|
|
#define ST_SOMEONE 2048
|
|
#define ST_GOTFLAG 4096
|
|
#define ST_CAPTUREDFLAG 8192
|
|
#define ST_RETURNEDFLAG 16384
|
|
#define ST_TEAM 32768
|
|
//ctf task preferences
|
|
#define ST_DEFENDER 1
|
|
#define ST_ATTACKER 2
|
|
#define ST_ROAMER 4
|
|
|
|
|
|
//word replacement variables
|
|
#define THE_ENEMY 7
|
|
#define THE_TEAM 7
|
|
//team message variables
|
|
#define NETNAME 0
|
|
#define PLACE 1
|
|
#define FLAG 1
|
|
#define MESSAGE 2
|
|
#define ADDRESSEE 2
|
|
#define ITEM 3
|
|
#define TEAMMATE 4
|
|
#define TEAMNAME 4
|
|
#define ENEMY 4
|
|
#define KEYAREA 5
|
|
#define FORMATION 5
|
|
#define POSITION 5
|
|
#define NUMBER 5
|
|
#define TIME 6
|
|
#define NAME 6
|
|
#define MORE 6
|
|
|
|
|