Nuclide
Software Development Kit for id Technology
Main Page
Related Pages
Modules
Classes
botinfo.h
1
/*
2
* Copyright (c) 2016-2024 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
27
/* we need to keep this an enum so find() does its work faster */
28
typedef
enum
29
{
30
BOTINFO_NONE
,
31
BOTINFO_HEALTH
,
32
BOTINFO_ARMOR
,
33
BOTINFO_AMMO
,
34
BOTINFO_WEAPON
,
35
BOTINFO_SPAWNPOINT
,
36
BOTINFO_TEAM_GOALITEM
,
37
BOTINFO_TEAM_GOALCAPTURE
,
38
BOTINFO_END
39
}
botInfo_t
;
40
41
.float
botinfo
;
42
// end of bot_info
botinfo
float botinfo
Definition:
botinfo.h:41
botInfo_t
botInfo_t
Definition:
botinfo.h:29
BOTINFO_HEALTH
@ BOTINFO_HEALTH
health item
Definition:
botinfo.h:31
BOTINFO_WEAPON
@ BOTINFO_WEAPON
weapon pickup
Definition:
botinfo.h:34
BOTINFO_TEAM_GOALCAPTURE
@ BOTINFO_TEAM_GOALCAPTURE
where to go when goal-item present
Definition:
botinfo.h:37
BOTINFO_NONE
@ BOTINFO_NONE
no info
Definition:
botinfo.h:30
BOTINFO_AMMO
@ BOTINFO_AMMO
ammo pickup
Definition:
botinfo.h:33
BOTINFO_END
@ BOTINFO_END
end destination
Definition:
botinfo.h:38
BOTINFO_TEAM_GOALITEM
@ BOTINFO_TEAM_GOALITEM
team-mode goal item (flag, intel)
Definition:
botinfo.h:36
BOTINFO_ARMOR
@ BOTINFO_ARMOR
armor item
Definition:
botinfo.h:32
BOTINFO_SPAWNPOINT
@ BOTINFO_SPAWNPOINT
place where to find new players
Definition:
botinfo.h:35
src
botlib
botinfo.h
2009-2024 (C) Nuclide is a project by
Vera Visions, L.L.C.
and is available under the
ISC License
.