Nuclide
Software Development Kit for id Tech
botinfo.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2016-2022 Vera Visions LLC.
3 *
4 * Permission to use, copy, modify, and distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
13 * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
14 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15*/
16
17/* we need to keep this an enum so find() does its work faster */
18enum
19{
20 BOTINFO_NONE, /* no info */
21 BOTINFO_HEALTH, /* health item */
22 BOTINFO_ARMOR, /* armor item */
23 BOTINFO_AMMO, /* ammo pickup */
24 BOTINFO_WEAPON, /* weapon pickup */
25 BOTINFO_SPAWNPOINT, /* place where to find new players */
26 BOTINFO_TEAM_GOALITEM, /* team-mode goal item (flag, intel) */
27 BOTINFO_TEAM_GOALCAPTURE, /* where to go when goal-item present */
28 BOTINFO_END /* end destination */
29};
30
31.float botinfo;
@ BOTINFO_HEALTH
Definition: botinfo.h:21
@ BOTINFO_WEAPON
Definition: botinfo.h:24
@ BOTINFO_TEAM_GOALCAPTURE
Definition: botinfo.h:27
@ BOTINFO_NONE
Definition: botinfo.h:20
@ BOTINFO_AMMO
Definition: botinfo.h:23
@ BOTINFO_END
Definition: botinfo.h:28
@ BOTINFO_TEAM_GOALITEM
Definition: botinfo.h:26
@ BOTINFO_ARMOR
Definition: botinfo.h:22
@ BOTINFO_SPAWNPOINT
Definition: botinfo.h:25
float botinfo
Definition: botinfo.h:31