Class IsoChunk
java.lang.Object
zombie.iso.IsoChunk
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic boolean
final boolean[]
boolean
final BoundedQueue
<IsoFloorBloodSplat> final ArrayList
<IsoFloorBloodSplat> static final short
final boolean[]
int
short
long
static final ConcurrentLinkedQueue
<IsoChunk> int
int
int
int
final NearestWalls.ChunkData
int
int
final ArrayList
<IsoChunkMap> static final byte[][]
long
long
final ArrayList
<IsoRoomLight> IsoGridSquare[][]
final ArrayList
<BaseVehicle> final Object
static final Object
int
int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
AddBlood
(int _wx, int _wy) void
addBloodSplat
(float x, float y, float z, int Type) void
AddCorpses
(int _wx, int _wy) static void
void
addGeneratorPos
(int x, int y, int z) void
addModded
(ChunkGenerationStatus chunkGenerationStatusx) void
addObjectAmbientEmitter
(IsoObject object, ObjectAmbientEmitters.PerObjectLogic logic) void
addRandomCarCrash
(Zone zone, boolean var2) void
addSpawnedRoom
(long long0) void
addSurvivorInHorde
(boolean forced) void
void
void
Blam
(int _wx, int _wy) boolean
canAddRandomCarCrash
(Zone zone, boolean boolean0) void
void
void
checkLightingLater_AllPlayers_OneLevel
(int int0) void
checkLightingLater_OnePlayer_AllLevels
(int int0) void
checkLightingLater_OnePlayer_OneLevel
(int int1, int int0) void
checkPhysicsLater
(int int0) boolean
containsPoint
(float float1, float float0) void
void
static boolean
static boolean
FileExists
(int _wx, int _wy) static String
static int
Fix2x
(IsoGridSquare square, int spriteID) getAttachmentsPartial
(int int0) boolean[]
getCutawayDataForLevel
(int int0) getGridSquare
(int x, int y, int z) long
Deprecated.getLevelData
(int int0) short
int
int
byte
getModifDepth
(BlendDirection blendDirection) int
getRenderLevels
(int int0) getRoom
(long long0) getSquaresForLevel
(int int0) getVispolyDataForLevel
(int int0) boolean
hasAttachmentsPartial
(SquareCoord squareCoord) int
Deprecated.boolean
hasObjectAmbientEmitter
(IsoObject object) boolean
void
invalidateRenderChunkLevel
(int int1, long long0) void
invalidateVispolyChunkLevel
(int int0) boolean
isAttachmentsDone
(int int0) boolean
boolean
isBlendingDone
(int int0) boolean
boolean
static boolean
boolean
isGeneratorPoweringSquare
(int x, int y, int z) isModded()
void
isModded
(EnumSet<ChunkGenerationStatus> enumSet) void
isModded
(ChunkGenerationStatus chunkGenerationStatusx) boolean
boolean
IsOnScreen
(boolean var1) boolean
isSpawnedRoom
(long long0) boolean
isValidLevel
(int int0) boolean
LoadBrandNew
(int _wx, int _wy) boolean
LoadFromBuffer
(int _wx, int _wy, ByteBuffer bb) void
void
void
void
void
boolean
LoadOrCreate
(int _wx, int _wy, ByteBuffer fromServer) boolean
RandomizeModel
(BaseVehicle baseVehicle, Zone var2, String string0, VehicleType vehicleType) void
Deprecated.void
Deprecated.static void
void
void
removeGeneratorPos
(int x, int y, int z) void
removeObjectAmbientEmitter
(IsoObject object) static void
Reset()
void
void
rmModded
(ChunkGenerationStatus chunkGenerationStatusx) static ByteBuffer
SafeRead
(String _prefix, int _wx, int _wy, ByteBuffer bb) static void
SafeWrite
(String _prefix, int _wx, int _wy, ByteBuffer bb) void
Save
(boolean bSaveQuit) Save
(ByteBuffer bb, CRC32 crc) void
SaveLoadedChunk
(ClientChunkRequest.Chunk ccrc, CRC32 crc32) boolean
void
setAttachmentsDoneFull
(boolean boolean0) void
setAttachmentsPartial
(SquareCoord squareCoord) void
setAttachmentsState
(int int0, boolean boolean0) void
setBlendingDoneFull
(boolean boolean0) void
setBlendingDonePartial
(boolean boolean0) void
setBlendingModified
(int int0) void
setCache()
void
void
setMinMaxLevel
(int int1, int int0) void
setModifDepth
(BlendDirection blendDirection, byte byte0) void
setModifDepth
(BlendDirection blendDirection, int int0) void
void
setSquare
(int x, int y, int z, IsoGridSquare square) int
squaresIndexOfLevel
(int int0) void
update()
void
void
updatePhysicsForLevel
(int int0) 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 -
minLevel
public int minLevel -
SoundList
-
lightingUpdateCounter
public int lightingUpdateCounter -
next
-
collision
-
m_adjacentChunkLoadedCounter
public int m_adjacentChunkLoadedCounter -
m_vehicleStorySpawnData
-
m_loadVehiclesObject
-
m_objectEmitterData
-
m_cutawayData
-
m_vispolyData
-
loadedFrame
public long loadedFrame -
renderFrame
public long renderFrame -
jobType
-
lotheader
-
FloorBloodSplats
-
FloorBloodSplatsFade
-
renderByIndex
public static final byte[][] renderByIndex -
refs
-
bLoaded
public boolean bLoaded -
proceduralZombieSquares
-
lightCheck
public final boolean[] lightCheck -
bLightingNeverDone
public final boolean[] bLightingNeverDone -
roomLights
-
vehicles
-
lootRespawnHour
public int lootRespawnHour -
LB_PATHFIND
public static final short LB_PATHFIND- See Also:
-
loadedBits
public short loadedBits -
ObjectsSyncCount
public int ObjectsSyncCount -
vehiclesForAddToWorldLock
-
ragdollControllersForAddToWorld
-
loadGridSquare
-
WriteLock
-
randomID
public int randomID -
revision
public long revision
-
-
Constructor Details
-
IsoChunk
-
-
Method Details
-
updateSounds
public void updateSounds() -
IsOnScreen
public boolean IsOnScreen(boolean var1) -
getHashCodeObjects
Deprecated. -
recalcHashCodeObjects
Deprecated. -
hashCodeNoOverride
Deprecated. -
checkLightingLater_AllPlayers_AllLevels
public void checkLightingLater_AllPlayers_AllLevels() -
checkLightingLater_AllPlayers_OneLevel
public void checkLightingLater_AllPlayers_OneLevel(int int0) -
checkLightingLater_OnePlayer_AllLevels
public void checkLightingLater_OnePlayer_AllLevels(int int0) -
checkLightingLater_OnePlayer_OneLevel
public void checkLightingLater_OnePlayer_OneLevel(int int1, int int0) -
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) -
removeFromCheckedVehicles
-
addFromCheckedVehicles
-
Reset
public static void Reset() -
doSpawnedVehiclesInInvalidPosition
-
RandomizeModel
public boolean RandomizeModel(BaseVehicle baseVehicle, Zone var2, String string0, VehicleType vehicleType) -
AddVehicles
public void AddVehicles() -
addSurvivorInHorde
public void addSurvivorInHorde(boolean forced) -
canAddRandomCarCrash
-
addRandomCarCrash
-
FileExists
public static boolean FileExists(int _wx, int _wy) -
checkPhysicsLater
public void checkPhysicsLater(int int0) -
updatePhysicsForLevel
public void updatePhysicsForLevel(int int0) -
setBlendingDoneFull
public void setBlendingDoneFull(boolean boolean0) -
isBlendingDoneFull
public boolean isBlendingDoneFull() -
setBlendingDonePartial
public void setBlendingDonePartial(boolean boolean0) -
isBlendingDonePartial
public boolean isBlendingDonePartial() -
setBlendingModified
public void setBlendingModified(int int0) -
isBlendingDone
public boolean isBlendingDone(int int0) -
setModifDepth
-
setModifDepth
-
getModifDepth
-
setAttachmentsDoneFull
public void setAttachmentsDoneFull(boolean boolean0) -
isAttachmentsDoneFull
public boolean isAttachmentsDoneFull() -
setAttachmentsState
public void setAttachmentsState(int int0, boolean boolean0) -
isAttachmentsDone
public boolean isAttachmentsDone(int int0) -
getAttachmentsState
public boolean[] getAttachmentsState() -
setAttachmentsPartial
-
getAttachmentsPartial
-
hasAttachmentsPartial
-
attachmentsPartialSize
-
isModded
-
isModded
-
isModded
-
addModded
-
rmModded
-
LoadBrandNew
public boolean LoadBrandNew(int _wx, int _wy) -
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() -
squaresIndexOfLevel
public int squaresIndexOfLevel(int int0) -
getSquaresForLevel
-
setSquare
-
getMinLevel
public int getMinLevel() -
getMaxLevel
public int getMaxLevel() -
isValidLevel
public boolean isValidLevel(int int0) -
setMinMaxLevel
public void setMinMaxLevel(int int1, int int0) -
getLevelData
-
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
- Throws:
IOException
-
SafeRead
public static ByteBuffer SafeRead(String _prefix, int _wx, int _wy, ByteBuffer bb) 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 _wx, int _wy) -
getErosionData
-
Fix2x
-
Fix2x
-
addGeneratorPos
public void addGeneratorPos(int x, int y, int z) -
removeGeneratorPos
public void removeGeneratorPos(int x, int y, int z) -
isGeneratorPoweringSquare
public boolean isGeneratorPoweringSquare(int x, int y, int z) -
checkForMissingGenerators
public void checkForMissingGenerators() -
isNewChunk
public boolean isNewChunk() -
addSpawnedRoom
public void addSpawnedRoom(long long0) -
isSpawnedRoom
public boolean isSpawnedRoom(long long0) -
getScavengeZone
-
resetForStore
public void resetForStore() -
getNumberOfWaterTiles
public int getNumberOfWaterTiles() -
setRandomVehicleStoryToSpawnLater
-
hasObjectAmbientEmitter
-
addObjectAmbientEmitter
-
removeObjectAmbientEmitter
-
assignLoadID
public void assignLoadID() -
getLoadID
public short getLoadID() -
containsPoint
public boolean containsPoint(float float1, float float0) -
getRenderLevels
-
invalidateRenderChunkLevel
public void invalidateRenderChunkLevel(int int1, long long0) -
getCutawayData
-
getCutawayDataForLevel
-
invalidateVispolyChunkLevel
public void invalidateVispolyChunkLevel(int int0) -
getVispolyData
-
getVispolyDataForLevel
-
hasWaterSquare
public boolean hasWaterSquare()
-