Xonotic
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
+
Functions
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
+
Enumerator
i
m
o
p
r
s
t
+
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
▼
Xonotic
Deprecated List
►
Classes
▼
Files
►
File List
►
File Members
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerator
Macros
Pages
damagetext.qh
Go to the documentation of this file.
1
#pragma once
2
3
#define DAMAGETEXT_PRECISION_MULTIPLIER 128
4
#define DAMAGETEXT_SHORT_LIMIT 256 // the smallest value that we can't send as short - 2^15 (signed short) / DAMAGETEXT_PRECISION_MULTIPLIER
5
6
const
int
DTFLAG_SAMETEAM
=
BIT
(0);
7
const
int
DTFLAG_BIG_HEALTH
=
BIT
(1);
8
const
int
DTFLAG_BIG_ARMOR
=
BIT
(2);
9
const
int
DTFLAG_BIG_POTENTIAL
=
BIT
(3);
10
const
int
DTFLAG_NO_ARMOR
=
BIT
(4);
11
const
int
DTFLAG_NO_POTENTIAL
=
BIT
(5);
DTFLAG_NO_POTENTIAL
const int DTFLAG_NO_POTENTIAL
Definition:
damagetext.qh:11
DTFLAG_NO_ARMOR
const int DTFLAG_NO_ARMOR
Definition:
damagetext.qh:10
DTFLAG_BIG_POTENTIAL
const int DTFLAG_BIG_POTENTIAL
Definition:
damagetext.qh:9
BIT
#define BIT(n)
Only ever assign into the first 24 bits in QC (so max is BIT(23)).
Definition:
bits.qh:8
DTFLAG_SAMETEAM
const int DTFLAG_SAMETEAM
Definition:
damagetext.qh:6
DTFLAG_BIG_HEALTH
const int DTFLAG_BIG_HEALTH
Definition:
damagetext.qh:7
DTFLAG_BIG_ARMOR
const int DTFLAG_BIG_ARMOR
Definition:
damagetext.qh:8
common
mutators
mutator
damagetext
damagetext.qh
Generated on Thu Mar 17 2022 17:26:28 for Xonotic by
1.8.13