If Abs(OffsetX) > RangeX * 4 Then OffsetX = OffsetX * 0.85
If Abs(OffsetY) > RangeY * 4 Then OffsetY = OffsetY * 0.85
LowerX = LowerX + OffsetX
LowerY = LowerY + OffsetY
UpperX = UpperX + OffsetX
UpperY = UpperY + OffsetY
picLife.Cls
drawGrid
End Sub
Private Sub mChkAllowPlagues_Click()
mChkAllowPlagues.Checked = Not mChkAllowPlagues.Checked
End Sub
Private Sub mChkAllowPollen_Click()
mChkAllowPollen.Checked = Not mChkAllowPollen.Checked
End Sub
Private Sub mChkAllowSpores_Click()
mChkAllowSpores.Checked = Not mChkAllowSpores.Checked
End Sub
Private Sub mChkBreakRules_Click()
mChkBreakRules.Checked = Not mChkBreakRules.Checked
End Sub
Private Sub mChkEnableSounds_Click()
mChkEnableSounds.Checked = Not mChkEnableSounds.Checked
End Sub
Private Sub mChkFastEvolve_Click()
mChkFastEvolve.Checked = Not mChkFastEvolve.Checked
End Sub
Private Sub mChkInvertGreen_Click()
mChkInvertGreen.Checked = Not mChkInvertGreen.Checked
setBackgroundColor
drawGrid
End Sub
Private Sub mChkInvertBlue_Click()
mChkInvertBlue.Checked = Not mChkInvertBlue.Checked
setBackgroundColor
drawGrid
End Sub
Private Sub mChkInvertRed_Click()
mChkInvertRed.Checked = Not mChkInvertRed.Checked
setBackgroundColor
drawGrid
End Sub
Private Sub mChkNoAntEatAnt_Click()
mChkNoAntEatAnt.Checked = Not mChkNoAntEatAnt.Checked
End Sub
Private Sub mChkNoAntEatCarion_Click()
mChkNoAntEatCarion.Checked = Not mChkNoAntEatCarion.Checked
End Sub
Private Sub mChkNoAntEatDirt_Click()
mChkNoAntEatDirt.Checked = Not mChkNoAntEatDirt.Checked
End Sub
Private Sub mChkNoAntEatPlant_Click()
mChkNoAntEatPlant.Checked = Not mChkNoAntEatPlant.Checked
End Sub
Private Sub mChkNoCloneAnt_Click()
mChkNoCloneAnt.Checked = Not mChkNoCloneAnt.Checked
End Sub
Private Sub mChkNoClonePlant_Click()
mChkNoClonePlant.Checked = Not mChkNoClonePlant.Checked
End Sub
Private Sub mChkNoFatalAge_Click()
mChkNoFatalAge.Checked = Not mChkNoFatalAge.Checked
End Sub
Private Sub mChkNoFatalHunger_Click()
mChkNoFatalHunger.Checked = Not mChkNoFatalHunger.Checked
End Sub
Private Sub mChkNoMateAntAnt_Click()
mChkNoMateAntAnt.Checked = Not mChkNoMateAntAnt.Checked
End Sub
Private Sub mChkNoMateAntPlant_Click()
mChkNoMateAntPlant.Checked = Not mChkNoMateAntPlant.Checked
End Sub
Private Sub mChkNoMatePlantAnt_Click()
mChkNoMatePlantAnt.Checked = Not mChkNoMatePlantAnt.Checked
End Sub
Private Sub mChkNoMatePlantPlant_Click()
mChkNoMatePlantPlant.Checked = Not mChkNoMatePlantPlant.Checked
End Sub
Private Sub mChkNoPlantEatAnt_Click()
mChkNoPlantEatAnt.Checked = Not mChkNoPlantEatAnt.Checked
End Sub
Private Sub mChkNoPlantEatCarion_Click()
mChkNoPlantEatCarion.Checked = Not mChkNoPlantEatCarion.Checked
End Sub
Private Sub mChkNoPlantEatPlant_Click()
mChkNoPlantEatPlant.Checked = Not mChkNoPlantEatPlant.Checked
End Sub
Private Sub mChkQuickStart_Click()
mChkQuickStart.Checked = Not mChkQuickStart.Checked
End Sub
Private Sub mChkZoomFactor_Click()
Dim s As String
Dim c As String
'On Error Resume Next
If ZoomFactor = 1 Then
c = "You may choose to zoom in on the center, but note that life-forms outside of the area displayed will be suspended in time until you zoom back out."
c = c + vbCrLf + vbCrLf + "Please enter the desired zoom factor, in the range of 1 to 20"
s = InputBox(c, "Set Zoom Factor", "2")
ZoomFactor = Val(s)
If (ZoomFactor < 1) Or (ZoomFactor > 20) Then ZoomFactor = 1