Nuclide
Software Development Kit for id Tech
Main Page
Related Pages
Classes
Files
File List
File Members
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 */
18
enum
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
@ BOTINFO_HEALTH
Definition:
botinfo.h:21
BOTINFO_WEAPON
@ BOTINFO_WEAPON
Definition:
botinfo.h:24
BOTINFO_TEAM_GOALCAPTURE
@ BOTINFO_TEAM_GOALCAPTURE
Definition:
botinfo.h:27
BOTINFO_NONE
@ BOTINFO_NONE
Definition:
botinfo.h:20
BOTINFO_AMMO
@ BOTINFO_AMMO
Definition:
botinfo.h:23
BOTINFO_END
@ BOTINFO_END
Definition:
botinfo.h:28
BOTINFO_TEAM_GOALITEM
@ BOTINFO_TEAM_GOALITEM
Definition:
botinfo.h:26
BOTINFO_ARMOR
@ BOTINFO_ARMOR
Definition:
botinfo.h:22
BOTINFO_SPAWNPOINT
@ BOTINFO_SPAWNPOINT
Definition:
botinfo.h:25
botinfo
float botinfo
Definition:
botinfo.h:31
src
botlib
botinfo.h
Generated by
1.9.3