Package zombie.iso

Class IsoChunk

java.lang.Object
zombie.iso.IsoChunk

public final class IsoChunk extends 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
    • nearestWalls

      public final NearestWalls.ChunkData nearestWalls
    • maxLevel

      public int maxLevel
    • SoundList

      public final ArrayList SoundList
    • next

      public IsoChunk next
    • collision

      public final CollideWithObstaclesPoly.ChunkData collision
    • m_adjacentChunkLoadedCounter

      public int m_adjacentChunkLoadedCounter
    • m_vehicleStorySpawnData

      public VehicleStorySpawnData m_vehicleStorySpawnData
    • m_loadVehiclesObject

      public Object m_loadVehiclesObject
    • m_objectEmitterData

      public final ObjectAmbientEmitters.ChunkData m_objectEmitterData
    • jobType

      public IsoChunk.JobType jobType
    • lotheader

      public LotHeader lotheader
    • FloorBloodSplats

      public final BoundedQueue FloorBloodSplats
    • FloorBloodSplatsFade

      public final ArrayList FloorBloodSplatsFade
    • renderByIndex

      public static final byte[][] renderByIndex
    • refs

      public final ArrayList refs
    • bLoaded

      public boolean bLoaded
    • lightCheck

      public final boolean[] lightCheck
    • bLightingNeverDone

      public final boolean[] bLightingNeverDone
    • roomLights

      public final ArrayList roomLights
    • vehicles

      public final ArrayList vehicles
    • lootRespawnHour

      public int lootRespawnHour
    • ObjectsSyncCount

      public int ObjectsSyncCount
    • physicsCheck

      protected boolean physicsCheck
    • vehiclesForAddToWorldLock

      public final Object vehiclesForAddToWorldLock
    • vehiclesForAddToWorld

      public ArrayList vehiclesForAddToWorld
    • loadGridSquare

      public static final ConcurrentLinkedQueue loadGridSquare
    • WriteLock

      public static final Object WriteLock
    • randomID

      public int randomID
    • revision

      public long revision
  • Constructor Details

    • IsoChunk

      public IsoChunk(IsoCell cell)
  • Method Details

    • updateSounds

      public void updateSounds()
    • getHashCodeObjects

      @Deprecated public long getHashCodeObjects()
      Deprecated.
    • recalcHashCodeObjects

      @Deprecated public void recalcHashCodeObjects()
      Deprecated.
    • hashCodeNoOverride

      @Deprecated public int hashCodeNoOverride()
      Deprecated.
    • 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)
    • RandomizeModel

      public boolean RandomizeModel(BaseVehicle baseVehicle, IsoMetaGrid.Zone zone, String string, VehicleType vehicleType)
    • AddVehicles

      public void AddVehicles()
    • addSurvivorInHorde

      public void addSurvivorInHorde(boolean boolean1)
    • 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, ByteBuffer byteBuffer)
    • LoadFromBuffer

      public boolean LoadFromBuffer(int int1, int int2, 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()
    • updateVehicleStory

      public void updateVehicleStory()
    • 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 IOException
      Throws:
      IOException
    • LoadFromDiskOrBuffer

      public void LoadFromDiskOrBuffer(ByteBuffer byteBuffer) throws IOException
      Throws:
      IOException
    • doLoadGridsquare

      public void doLoadGridsquare()
    • setCache

      public void setCache()
    • setCacheIncludingNull

      public void setCacheIncludingNull()
    • Save

      public void Save(boolean boolean1) throws IOException
      Throws:
      IOException
    • SafeWrite

      public static void SafeWrite(String string, int int1, int int2, ByteBuffer byteBuffer) throws IOException
      Throws:
      IOException
    • SafeRead

      public static ByteBuffer SafeRead(String string, int int1, int int2, ByteBuffer byteBuffer) throws IOException
      Throws:
      IOException
    • SaveLoadedChunk

      public void SaveLoadedChunk(ClientChunkRequest.Chunk chunk, CRC32 cRC32) throws IOException
      Throws:
      IOException
    • IsDebugSave

      public static boolean IsDebugSave()
    • Save

      public ByteBuffer Save(ByteBuffer byteBuffer, CRC32 cRC32) throws IOException
      Throws:
      IOException
    • saveObjectState

      public boolean saveObjectState(ByteBuffer byteBuffer) throws IOException
      Throws:
      IOException
    • loadObjectState

      public void loadObjectState(ByteBuffer byteBuffer) throws IOException
      Throws:
      IOException
    • 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 String Fix2x(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()
    • isNewChunk

      public boolean isNewChunk()
    • addSpawnedRoom

      public void addSpawnedRoom(int int1)
    • isSpawnedRoom

      public boolean isSpawnedRoom(int int1)
    • getScavengeZone

      public IsoMetaGrid.Zone getScavengeZone()
    • resetForStore

      public void resetForStore()
    • getNumberOfWaterTiles

      public int getNumberOfWaterTiles()
    • setRandomVehicleStoryToSpawnLater

      public void setRandomVehicleStoryToSpawnLater(VehicleStorySpawnData vehicleStorySpawnData)
    • hasObjectAmbientEmitter

      public boolean hasObjectAmbientEmitter(IsoObject object)
    • addObjectAmbientEmitter

      public void addObjectAmbientEmitter(IsoObject object, ObjectAmbientEmitters.PerObjectLogic perObjectLogic)
    • removeObjectAmbientEmitter

      public void removeObjectAmbientEmitter(IsoObject object)