rem: else printf ("It's dead, Jim! (%d >= %d)\n", life_var, SysInfoPtr->PlanetInfo.LifeChance);
add: else fprintf (stderr, "It's dead, Jim! (%d >= %d)\n", life_var, SysInfoPtr->PlanetInfo.LifeChance);
context: CalcLifeForms (SYSTEM_INFOPTR SysInfoPtr, COUNT which_life){	COUNT num_life_forms;	num_life_forms = 0;	if (PLANSIZE (SysInfoPtr->PlanetInfo.PlanDataPtr->Type) == GAS_GIANT)		SysInfoPtr->PlanetInfo.LifeChance = -1;	else	{#define MIN_LIFE_CHANCE 10		SIZE life_var;		life_var = 0;		if (SysInfoPtr->PlanetInfo.SurfaceTemperature < -151)			life_var -= 300;		else if (SysInfoPtr->PlanetInfo.SurfaceTemperature < -51)			life_var -= 100;		else if (SysInfoPtr->PlanetInfo.SurfaceTemperature < 0)			life_var += 100;		else if (SysInfoPtr->PlanetInfo.SurfaceTemperature < 50)			life_var += 300;		else if (SysInfoPtr->PlanetInfo.SurfaceTemperature < 150)			life_var += 50;		else if (SysInfoPtr->PlanetInfo.SurfaceTemperature < 250)			life_var -= 100;		else if (SysInfoPtr->PlanetInfo.SurfaceTemperature < 500)			life_var -= 400;		else			life_var -= 800;		if (SysInfoPtr->PlanetInfo.AtmoDensity == 0)			life_var -= 1000;		else if (SysInfoPtr->PlanetInfo.AtmoDensity < 15)			life_var += 100;		else if (SysInfoPtr->PlanetInfo.AtmoDensity < 30)			life_var += 200;		else if (SysInfoPtr->PlanetInfo.AtmoDensity < 100)			life_var += 300;		else if (SysInfoPtr->PlanetInfo.AtmoDensity < 1000)			life_var += 150;		else if (SysInfoPtr->PlanetInfo.AtmoDensity < 2500)			;		else			life_var -= 100;#ifndef NOTYET		life_var += 200 + 80 + 80;#else /* NOTYET */		if (SysInfoPtr->PlanetInfo.SurfaceGravity < 10)			;		else if (SysInfoPtr->PlanetInfo.SurfaceGravity < 35)			life_var += 50;		else if (SysInfoPtr->PlanetInfo.SurfaceGravity < 75)			life_var += 100;		else if (SysInfoPtr->PlanetInfo.SurfaceGravity < 150)			life_var += 200;		else if (SysInfoPtr->PlanetInfo.SurfaceGravity < 400)			life_var += 50;		else if (SysInfoPtr->PlanetInfo.SurfaceGravity < 800)			;		else			life_var -= 100;		if (SysInfoPtr->PlanetInfo.Tectonics < 1)			life_var += 80;		else if (SysInfoPtr->PlanetInfo.Tectonics < 2)			life_var += 70;		else if (SysInfoPtr->PlanetInfo.Tectonics < 3)			life_var += 60;		else if (SysInfoPtr->PlanetInfo.Tectonics < 4)			life_var += 50;		else if (SysInfoPtr->PlanetInfo.Tectonics < 5)			life_var += 25;		else if (SysInfoPtr->PlanetInfo.Tectonics < 6)			;		else			life_var -= 100;		if (SysInfoPtr->PlanetInfo.Weather < 1)			life_var += 80;		else if (SysInfoPtr->PlanetInfo.Weather < 2)			life_var += 70;		else if (SysInfoPtr->PlanetInfo.Weather < 3)			life_var += 60;		else if (SysInfoPtr->PlanetInfo.Weather < 4)			life_var += 50;		else if (SysInfoPtr->PlanetInfo.Weather < 5)			life_var += 25;		else if (SysInfoPtr->PlanetInfo.Weather < 6)			;		else			life_var -= 100;#endif /* NOTYET */		SysInfoPtr->PlanetInfo.LifeChance = life_var;		life_var = (COUNT)Random () & 1023;		if (life_var < SysInfoPtr->PlanetInfo.LifeChance				|| (SysInfoPtr->PlanetInfo.LifeChance < MIN_LIFE_CHANCE				&& life_var < MIN_LIFE_CHANCE))		{			BYTE num_types;			num_types = (BYTE)(((BYTE)Random () % MAX_LIFE_VARIATION) + 1);			do			{				BYTE index, num_creatures;				UWORD rand_val;				rand_val = (UWORD)Random ();				index = LOBYTE (rand_val) % NUM_CREATURE_TYPES;				num_creatures = (BYTE)((HIBYTE (rand_val) % 10) + 1);				do				{					rand_val = (UWORD)Random ();					SysInfoPtr->PlanetInfo.CurPt.x =							(LOBYTE (rand_val) % (MAP_WIDTH - (8 << 1))) + 8;					SysInfoPtr->PlanetInfo.CurPt.y =							(HIBYTE (rand_val) % (MAP_HEIGHT - (8 << 1))) + 8;					SysInfoPtr->PlanetInfo.CurType = index;					if ((num_life_forms >= which_life							&& !(SysInfoPtr->PlanetInfo.ScanRetrieveMask[BIOLOGICAL_SCAN]							& (1L << num_life_forms)))							|| ++num_life_forms == sizeof (DWORD) * 8)					{						num_types = 1;						break;					}				} while (--num_creatures);			} while (--num_types);		}#ifdef DEBUGelse	printf ("It's dead, Jim! (%d >= %d)\n", life_var, SysInfoPtr->PlanetInfo.LifeChance);#endif /* DEBUG */	}	return (num_life_forms);}