if rNode flags Node HasScale Node HasDeadZone Node Ranged Node Inverte

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
if (rNode.flags & (Node::HasScale|Node::HasDeadZone|Node::Ranged|Node::Inverted)) {
char buff[10];
U32 curr = 0;
buff[curr++] = ',';
buff[curr++] = ' ';
if (rNode.flags & Node::HasScale)
buff[curr++] = 'S';
if (rNode.flags & Node::Ranged)
buff[curr++] = 'R';
if (rNode.flags & Node::HasDeadZone)
buff[curr++] = 'D';
if (rNode.flags & Node::Inverted)
buff[curr++] = 'I';
buff[curr] = '\0';
dStrcat(lineBuffer, buff);
}