Home
last modified time | relevance | path

Searched refs:UNIT_VAR_START (Results 1 – 2 of 2) sorted by relevance

/dports/games/spring/spring_98.0/rts/Sim/Units/Scripts/
H A DUnitScript.h36 static const int UNIT_VAR_START = 1024; variable
41 static const int UNIT_VAR_END = UNIT_VAR_START + UNIT_VAR_COUNT - 1;
H A DUnitScript.cpp1355 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()