Nuclide
Software Development Kit for id Tech
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
hitmesh.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
20
typedef
enum
21
{
22
BODY_DEFAULT
,
23
BODY_HEAD
,
24
BODY_CHEST
,
25
BODY_STOMACH
,
26
BODY_ARMLEFT
,
27
BODY_ARMRIGHT
,
28
BODY_LEGLEFT
,
29
BODY_LEGRIGHT
30
}
bodyType_t
;
bodyType_t
bodyType_t
Hitmesh types that models can support.
Definition:
hitmesh.h:21
BODY_LEGLEFT
@ BODY_LEGLEFT
trace hit the left leg
Definition:
hitmesh.h:28
BODY_ARMRIGHT
@ BODY_ARMRIGHT
trace hit the right arm
Definition:
hitmesh.h:27
BODY_DEFAULT
@ BODY_DEFAULT
No specific body part.
Definition:
hitmesh.h:22
BODY_LEGRIGHT
@ BODY_LEGRIGHT
trace hit the right leg
Definition:
hitmesh.h:29
BODY_ARMLEFT
@ BODY_ARMLEFT
trace hit the left arm
Definition:
hitmesh.h:26
BODY_HEAD
@ BODY_HEAD
trace hit the head
Definition:
hitmesh.h:23
BODY_STOMACH
@ BODY_STOMACH
trace hit the stomach
Definition:
hitmesh.h:25
BODY_CHEST
@ BODY_CHEST
trace hit the chest
Definition:
hitmesh.h:24
src
shared
hitmesh.h
Generated by
1.9.3