sp/src/game/shared/of2/of2_gamerules.cpp
//-----------------------------------------------------------------------------
// Returns whether or not Alyx cares about light levels in order to see.
//-----------------------------------------------------------------------------
Returns whether or not Alyx cares about light levels in order to see.
Returns whether or not Alyx cares about light levels in order to see .
bool COpposingForce2::IsAlyxInDarknessMode()
{
#ifdef HL2_EPISODIC
	if ( alyx_darkness_force.GetBool() )
		return true;
	return ( GlobalEntity_GetState( "ep_alyx_darknessmode" ) == GLOBAL_ON );
#else
	return false;
#endif 
}
bool COpposingForce2 :: IsAlyxInDarknessMode ( ) { #ifdef HL2_EPISODIC if ( alyx_darkness_force . GetBool ( ) ) return true ; return ( GlobalEntity_GetState ( " " ) == GLOBAL_ON ) ; #else return false ; #endif }
Returns whether or not Alyx cares about light levels in order to see.
Returns whether or not Alyx cares about light levels in order to see .
// HL2_EPISODIC