private void Generate() { var luxor = _entityResolver.EntityBySymbol <ICharacter>("CH_LUXOR"); if (luxor == null) { return; } var currentLoc = luxor.Location + Direction.South; var looking = Direction.North; // luxor.Looking; var lookAmount = (float)(looking - 1) * Landscaping.DirAmount; if (lookAmount > Landscaping.FullWidth) { lookAmount -= Landscaping.FullWidth; } var options = new LandscapeOptions { Here = currentLoc, TimeOfDay = luxor.Time, LookAmount = lookAmount, CurrentDirection = looking, CurrentLocation = luxor.Location, AheadLocation = luxor.Location + looking, IsLooking = false, IsMoving = false, IsInTunnel = false, IsLookingDownTunnel = false, IsLookingOutTunnel = false, LookOffsetAdjustment = -512 // centre view in the middle }; _landscapeGenerator.HorizontalOffset = 0; _landscapeGenerator.ViewportWidth = 2048; _landscapeGenerator.Build(options); }