См. определение в файле Land_Underground_WaterReservoir.c строка 495
Перекрестные ссылки AnimateValve(), g_Game и m_ValveManipulatedIndex.