Package zombie.iso
Class IsoChunk
java.lang.Object
zombie.iso.IsoChunk
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic boolean
final boolean[]
boolean
final BoundedQueue
final ArrayList
final boolean[]
static final ConcurrentLinkedQueue
int
int
int
final NearestWalls.ChunkData
int
protected boolean
int
final ArrayList
static final byte[][]
long
final ArrayList
final ArrayList
final IsoGridSquare[][]
final ArrayList
final Object
static final Object
int
int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
AddBlood
(int int1, int int2) void
addBloodSplat
(float float1, float float2, float float3, int int1) void
AddCorpses
(int int1, int int2) static void
addFromCheckedVehicles
(BaseVehicle baseVehicle) void
addGeneratorPos
(int int1, int int2, int int3) void
addObjectAmbientEmitter
(IsoObject object, ObjectAmbientEmitters.PerObjectLogic perObjectLogic) void
addRandomCarCrash
(IsoMetaGrid.Zone zone, boolean boolean1) void
addSpawnedRoom
(int int1) void
addSurvivorInHorde
(boolean boolean1) void
void
Blam
(int int1, int int2) boolean
canAddRandomCarCrash
(IsoMetaGrid.Zone zone, boolean boolean1) void
void
void
static boolean
doSpawnedVehiclesInInvalidPosition
(BaseVehicle baseVehicle) static boolean
FileExists
(int int1, int int2) static String
static int
Fix2x
(IsoGridSquare square, int int1) getGridSquare
(int int1, int int2, int int3) long
Deprecated.int
getRoom
(int int1) int
Deprecated.boolean
hasObjectAmbientEmitter
(IsoObject object) static boolean
boolean
isGeneratorPoweringSquare
(int int1, int int2, int int3) boolean
boolean
isSpawnedRoom
(int int1) boolean
LoadBrandNew
(int int1, int int2) boolean
LoadFromBuffer
(int int1, int int2, ByteBuffer byteBuffer) void
void
LoadFromDiskOrBuffer
(ByteBuffer byteBuffer) void
void
void
loadObjectState
(ByteBuffer byteBuffer) boolean
LoadOrCreate
(int int1, int int2, ByteBuffer byteBuffer) boolean
RandomizeModel
(BaseVehicle baseVehicle, IsoMetaGrid.Zone zone, String string, VehicleType vehicleType) void
Deprecated.void
Deprecated.static void
removeFromCheckedVehicles
(BaseVehicle baseVehicle) void
void
removeGeneratorPos
(int int1, int int2, int int3) void
removeObjectAmbientEmitter
(IsoObject object) static void
Reset()
void
static ByteBuffer
SafeRead
(String string, int int1, int int2, ByteBuffer byteBuffer) static void
SafeWrite
(String string, int int1, int int2, ByteBuffer byteBuffer) void
Save
(boolean boolean1) Save
(ByteBuffer byteBuffer, CRC32 cRC32) void
SaveLoadedChunk
(ClientChunkRequest.Chunk chunk, CRC32 cRC32) boolean
saveObjectState
(ByteBuffer byteBuffer) void
setCache()
void
void
setRandomVehicleStoryToSpawnLater
(VehicleStorySpawnData vehicleStorySpawnData) void
setSquare
(int int1, int int2, int int3, IsoGridSquare square) void
update()
void
static void
void
void
-
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
-