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 final IsoGridSquare[][] squares
    • corpseData

      public FliesSound.ChunkData corpseData
    • maxLevel

      public int maxLevel
    • SoundList

      public java.util.ArrayList SoundList
    • next

      public IsoChunk next
    • jobType

      public IsoChunk.JobType jobType
    • 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
    • bFixed2x

      public boolean bFixed2x
    • lightCheck

      public boolean[] lightCheck
    • bLightingNeverDone

      public boolean[] bLightingNeverDone
    • roomLights

      public java.util.ArrayList roomLights
    • vehicles

      public java.util.ArrayList vehicles
    • lootRespawnHour

      public int lootRespawnHour
    • hashCodeObjects

      public long hashCodeObjects
    • ObjectsSyncCount

      public int ObjectsSyncCount
    • physicsCheck

      protected boolean physicsCheck
    • MAX_SHAPES

      protected static final int MAX_SHAPES
      See Also:
      Constant Field Values
    • loadedPhysics

      public boolean loadedPhysics
    • loadGridSquare

      public static java.util.concurrent.ConcurrentLinkedQueue loadGridSquare
    • randomID

      public int randomID
    • revision

      public long revision
    • modificationTime

      public long modificationTime
  • Constructor Details

    • IsoChunk

      public IsoChunk​(IsoCell cell)
  • Method Details

    • updateSounds

      public void updateSounds()
    • getHashCodeObjects

      public long getHashCodeObjects()
    • recalcHashCodeObjects

      public void recalcHashCodeObjects()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • addBloodSplat

      public void addBloodSplat​(float float1, float float2, float float3, int int1)
    • AddCorpses

      public void AddCorpses​(int int1, int int2)
    • AddBlood

      public void AddBlood​(int int1, int int2)
    • removeFromCheckedVehicles

      public static void removeFromCheckedVehicles​(BaseVehicle baseVehicle)
    • addFromCheckedVehicles

      public static void addFromCheckedVehicles​(BaseVehicle baseVehicle)
    • Reset

      public static void Reset()
    • doSpawnedVehiclesInInvalidPosition

      public static boolean doSpawnedVehiclesInInvalidPosition​(BaseVehicle baseVehicle)
    • AddVehicles

      public void AddVehicles()
    • canAddRandomCarCrash

      public boolean canAddRandomCarCrash​(IsoMetaGrid.Zone zone, boolean boolean1)
    • addRandomCarCrash

      public void addRandomCarCrash​(IsoMetaGrid.Zone zone, boolean boolean1)
    • FileExists

      public static boolean FileExists​(int int1, int int2)
    • LoadBrandNew

      public boolean LoadBrandNew​(int int1, int int2)
    • LoadOrCreate

      public boolean LoadOrCreate​(int int1, int int2, java.nio.ByteBuffer byteBuffer)
    • LoadFromBuffer

      public boolean LoadFromBuffer​(int int1, int int2, java.nio.ByteBuffer byteBuffer)
    • loadInWorldStreamerThread

      public void loadInWorldStreamerThread()
    • loadInMainThread

      public void loadInMainThread()
    • recalcNeighboursNow

      @Deprecated public void recalcNeighboursNow()
      Deprecated.
    • updateBuildings

      public void updateBuildings()
    • updatePlayerInBullet

      public static void updatePlayerInBullet()
    • update

      public void update()
    • setSquare

      public void setSquare​(int int1, int int2, int int3, IsoGridSquare square)
    • getGridSquare

      public IsoGridSquare getGridSquare​(int int1, int int2, int int3)
    • getRoom

      public IsoRoom getRoom​(int int1)
    • removeFromWorld

      public void removeFromWorld()
    • doReuseGridsquares

      public void doReuseGridsquares()
    • LoadFromDisk

      public void LoadFromDisk() throws java.io.IOException
      Throws:
      java.io.IOException
    • LoadFromDiskOrBuffer

      public void LoadFromDiskOrBuffer​(java.nio.ByteBuffer byteBuffer) throws java.io.IOException
      Throws:
      java.io.IOException
    • doLoadGridsquare

      public void doLoadGridsquare()
    • setCache

      public void setCache()
    • setCacheIncludingNull

      public void setCacheIncludingNull()
    • Save

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

      public static void SafeWrite​(java.lang.String string, int int1, int int2, java.nio.ByteBuffer byteBuffer) throws java.io.IOException
      Throws:
      java.io.IOException
    • SafeRead

      public static java.nio.ByteBuffer SafeRead​(java.lang.String string, int int1, int int2, java.nio.ByteBuffer byteBuffer) throws java.io.IOException
      Throws:
      java.io.IOException
    • SaveLoadedChunk

      public void SaveLoadedChunk​(ClientChunkRequest.Chunk chunk, java.util.zip.CRC32 cRC32) throws java.io.IOException
      Throws:
      java.io.IOException
    • Save

      public java.nio.ByteBuffer Save​(java.nio.ByteBuffer byteBuffer, java.util.zip.CRC32 cRC32) throws java.io.IOException
      Throws:
      java.io.IOException
    • saveObjectState

      public boolean saveObjectState​(java.nio.ByteBuffer byteBuffer)
    • loadObjectState

      public void loadObjectState​(java.nio.ByteBuffer byteBuffer)
    • Blam

      public void Blam​(int int1, int int2)
    • getErosionData

      public ErosionData.Chunk getErosionData()
    • Fix2x

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

      public static java.lang.String Fix2x​(java.lang.String string)
    • addGeneratorPos

      public void addGeneratorPos​(int int1, int int2, int int3)
    • removeGeneratorPos

      public void removeGeneratorPos​(int int1, int int2, int int3)
    • isGeneratorPoweringSquare

      public boolean isGeneratorPoweringSquare​(int int1, int int2, int int3)
    • checkForMissingGenerators

      public void checkForMissingGenerators()
    • resetForStore

      public void resetForStore()