Package zombie.iso
Class IsoChunk
java.lang.Object
zombie.iso.IsoChunk
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanfinal boolean[]booleanfinal BoundedQueuefinal ArrayListfinal boolean[]static final ConcurrentLinkedQueueintintintfinal NearestWalls.ChunkDataintprotected booleanintfinal ArrayListstatic final byte[][]longfinal ArrayListfinal ArrayListfinal IsoGridSquare[][]final ArrayListfinal Objectstatic final Objectintint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAddBlood(int int1, int int2) voidaddBloodSplat(float float1, float float2, float float3, int int1) voidAddCorpses(int int1, int int2) static voidaddFromCheckedVehicles(BaseVehicle baseVehicle) voidaddGeneratorPos(int int1, int int2, int int3) voidaddObjectAmbientEmitter(IsoObject object, ObjectAmbientEmitters.PerObjectLogic perObjectLogic) voidaddRandomCarCrash(IsoMetaGrid.Zone zone, boolean boolean1) voidaddSpawnedRoom(int int1) voidaddSurvivorInHorde(boolean boolean1) voidvoidBlam(int int1, int int2) booleancanAddRandomCarCrash(IsoMetaGrid.Zone zone, boolean boolean1) voidvoidvoidstatic booleandoSpawnedVehiclesInInvalidPosition(BaseVehicle baseVehicle) static booleanFileExists(int int1, int int2) static Stringstatic intFix2x(IsoGridSquare square, int int1) getGridSquare(int int1, int int2, int int3) longDeprecated.intgetRoom(int int1) intDeprecated.booleanhasObjectAmbientEmitter(IsoObject object) static booleanbooleanisGeneratorPoweringSquare(int int1, int int2, int int3) booleanbooleanisSpawnedRoom(int int1) booleanLoadBrandNew(int int1, int int2) booleanLoadFromBuffer(int int1, int int2, ByteBuffer byteBuffer) voidvoidLoadFromDiskOrBuffer(ByteBuffer byteBuffer) voidvoidvoidloadObjectState(ByteBuffer byteBuffer) booleanLoadOrCreate(int int1, int int2, ByteBuffer byteBuffer) booleanRandomizeModel(BaseVehicle baseVehicle, IsoMetaGrid.Zone zone, String string, VehicleType vehicleType) voidDeprecated.voidDeprecated.static voidremoveFromCheckedVehicles(BaseVehicle baseVehicle) voidvoidremoveGeneratorPos(int int1, int int2, int int3) voidremoveObjectAmbientEmitter(IsoObject object) static voidReset()voidstatic ByteBufferSafeRead(String string, int int1, int int2, ByteBuffer byteBuffer) static voidSafeWrite(String string, int int1, int int2, ByteBuffer byteBuffer) voidSave(boolean boolean1) Save(ByteBuffer byteBuffer, CRC32 cRC32) voidSaveLoadedChunk(ClientChunkRequest.Chunk chunk, CRC32 cRC32) booleansaveObjectState(ByteBuffer byteBuffer) voidsetCache()voidvoidsetRandomVehicleStoryToSpawnLater(VehicleStorySpawnData vehicleStorySpawnData) voidsetSquare(int int1, int int2, int int3, IsoGridSquare square) voidupdate()voidstatic voidvoidvoid
-
Field Details
-
bDoServerRequests
public static boolean bDoServerRequests -
wx
public int wx -
wy
public int wy -
squares
-
corpseData
-
nearestWalls
-
maxLevel
public int maxLevel -
SoundList
-
next
-
collision
-
m_adjacentChunkLoadedCounter
public int m_adjacentChunkLoadedCounter -
m_vehicleStorySpawnData
-
m_loadVehiclesObject
-
m_objectEmitterData
-
jobType
-
lotheader
-
FloorBloodSplats
-
FloorBloodSplatsFade
-
renderByIndex
public static final byte[][] renderByIndex -
refs
-
bLoaded
public boolean bLoaded -
lightCheck
public final boolean[] lightCheck -
bLightingNeverDone
public final boolean[] bLightingNeverDone -
roomLights
-
vehicles
-
lootRespawnHour
public int lootRespawnHour -
ObjectsSyncCount
public int ObjectsSyncCount -
physicsCheck
protected boolean physicsCheck -
vehiclesForAddToWorldLock
-
vehiclesForAddToWorld
-
loadGridSquare
-
WriteLock
-
randomID
public int randomID -
revision
public long revision
-
-
Constructor Details
-
IsoChunk
-
-
Method Details
-
updateSounds
public void updateSounds() -
getHashCodeObjects
Deprecated. -
recalcHashCodeObjects
Deprecated. -
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
-
addFromCheckedVehicles
-
Reset
public static void Reset() -
doSpawnedVehiclesInInvalidPosition
-
RandomizeModel
public boolean RandomizeModel(BaseVehicle baseVehicle, IsoMetaGrid.Zone zone, String string, VehicleType vehicleType) -
AddVehicles
public void AddVehicles() -
addSurvivorInHorde
public void addSurvivorInHorde(boolean boolean1) -
canAddRandomCarCrash
-
addRandomCarCrash
-
FileExists
public static boolean FileExists(int int1, int int2) -
LoadBrandNew
public boolean LoadBrandNew(int int1, int int2) -
LoadOrCreate
-
LoadFromBuffer
-
loadInWorldStreamerThread
public void loadInWorldStreamerThread() -
loadInMainThread
public void loadInMainThread() -
recalcNeighboursNow
Deprecated. -
updateBuildings
public void updateBuildings() -
updatePlayerInBullet
public static void updatePlayerInBullet() -
update
public void update() -
updateVehicleStory
public void updateVehicleStory() -
setSquare
-
getGridSquare
-
getRoom
-
removeFromWorld
public void removeFromWorld() -
doReuseGridsquares
public void doReuseGridsquares() -
LoadFromDisk
- Throws:
IOException
-
LoadFromDiskOrBuffer
- Throws:
IOException
-
doLoadGridsquare
public void doLoadGridsquare() -
setCache
public void setCache() -
setCacheIncludingNull
public void setCacheIncludingNull() -
Save
- 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
- Throws:
IOException
-
IsDebugSave
public static boolean IsDebugSave() -
Save
- Throws:
IOException
-
saveObjectState
- Throws:
IOException
-
loadObjectState
- Throws:
IOException
-
Blam
public void Blam(int int1, int int2) -
getErosionData
-
Fix2x
-
Fix2x
-
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
-
resetForStore
public void resetForStore() -
getNumberOfWaterTiles
public int getNumberOfWaterTiles() -
setRandomVehicleStoryToSpawnLater
-
hasObjectAmbientEmitter
-
addObjectAmbientEmitter
public void addObjectAmbientEmitter(IsoObject object, ObjectAmbientEmitters.PerObjectLogic perObjectLogic) -
removeObjectAmbientEmitter
-