Package zombie.iso

Class IsoChunk

java.lang.Object
zombie.iso.IsoChunk

public class IsoChunk
extends java.lang.Object
  • Field Details

    • bDoServerRequests

      public static boolean bDoServerRequests
    • wx

      public int wx
    • wy

      public int wy
    • squares

      public IsoGridSquare[][] squares
    • corpseData

      public FliesSound.ChunkData corpseData
    • jobType

      public IsoChunk.JobType jobType
    • seen

      public double seen
    • visited

      public double visited
    • lotheader

      public LotHeader lotheader
    • FloorBloodSplats

      public BoundedQueue FloorBloodSplats
    • FloorBloodSplatsFade

      public java.util.ArrayList FloorBloodSplatsFade
    • MAX_BLOOD_SPLATS

      public static final int MAX_BLOOD_SPLATS
      See Also:
      Constant Field Values
    • nextSplatIndex

      public int nextSplatIndex
    • renderByIndex

      public static final byte[][] renderByIndex
    • refs

      public java.util.ArrayList refs
    • bLoaded

      public boolean bLoaded
    • okToLoad

      public boolean okToLoad
    • bFixed2x

      public boolean bFixed2x
    • lightCheck

      public boolean[] lightCheck
    • bLightingNeverDone

      public boolean[] bLightingNeverDone
    • roomLights

      public java.util.ArrayList roomLights
    • loadGridSquare

      public static java.util.Stack loadGridSquare
    • randomID

      public int randomID
    • revision

      public long revision
    • modificationTime

      public long modificationTime
  • Constructor Details

    • IsoChunk

      public IsoChunk​(IsoCell cell)
  • Method Details

    • addBloodSplat

      public void addBloodSplat​(float x, float y, float z, int Type)
    • AddCorpses

      public void AddCorpses​(int wx, int wy)
    • AddBlood

      public void AddBlood​(int wx, int wy)
    • FileExists

      public static boolean FileExists​(int wx, int wy)
    • Load

      public boolean Load​(int wx, int wy)
    • loadInWorldStreamerThread

      public void loadInWorldStreamerThread()
    • loadInMainThread

      public void loadInMainThread()
    • recalcNeighboursNow

      @Deprecated public void recalcNeighboursNow()
      Deprecated.
    • updateBuildings

      public void updateBuildings()
    • update

      public void update()
    • setSquare

      public void setSquare​(int x, int y, int z, IsoGridSquare square)
    • getGridSquare

      public IsoGridSquare getGridSquare​(int x, int y, int z)
    • getRoom

      public IsoRoom getRoom​(int roomID)
    • removeFromWorld

      public void removeFromWorld()
    • doReuseGridsquares

      public void doReuseGridsquares()
    • See

      public void See()
    • Load

      public void Load​(java.io.File inFile, boolean bDoSurrounds) throws java.io.IOException
      Throws:
      java.io.IOException
    • doLoadGridsquare

      public void doLoadGridsquare()
    • setCache

      public void setCache()
    • Save

      public void Save​(boolean bSaveQuit) throws java.io.IOException
      Throws:
      java.io.IOException
    • SafeWrite

      public static void SafeWrite​(int wx, int wy, java.nio.ByteBuffer bb) throws java.io.IOException
      Throws:
      java.io.IOException
    • SafeRead

      public static void SafeRead​(java.io.File inFile, ClientChunkRequest.Chunk ccrc) throws java.io.IOException
      Throws:
      java.io.IOException
    • SaveLoadedChunk

      public void SaveLoadedChunk​(ClientChunkRequest.Chunk ccrc) throws java.io.IOException
      Throws:
      java.io.IOException
    • Blam

      public void Blam​(int wx, int wy)
    • getErosionData

      public ErosionData.Chunk getErosionData()
    • Fix2x

      public static int Fix2x​(IsoGridSquare square, int spriteID)
    • Fix2x

      public static java.lang.String Fix2x​(java.lang.String tileName)
    • resetForStore

      public void resetForStore()