Searched refs:UNIT_VAR_START (Results 1 – 2 of 2) sorted by relevance
36 static const int UNIT_VAR_START = 1024; variable41 static const int UNIT_VAR_END = UNIT_VAR_START + UNIT_VAR_COUNT - 1;
1355 else if ((val >= UNIT_VAR_START) && (val <= UNIT_VAR_END)) { in GetUnitVal()1356 const int varID = val - UNIT_VAR_START; in GetUnitVal()1644 else if ((val >= UNIT_VAR_START) && (val <= UNIT_VAR_END)) { in SetUnitVal()1645 unitVars[val - UNIT_VAR_START] = param; in SetUnitVal()