Class IsoChunk
java.lang.Object
zombie.iso.IsoChunk
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanfinal boolean[]booleanstatic final intbooleanbooleanfinal BoundedQueue<IsoFloorBloodSplat> final ArrayList<IsoFloorBloodSplat> static final shortfinal boolean[]intshortlongstatic final ConcurrentLinkedQueue<IsoChunk> intintintintfinal NearestWalls.ChunkDataintintfinal ArrayList<IsoChunkMap> static final byte[][]longlongfinal ArrayList<IsoRoomLight> IsoGridSquare[][]final ArrayList<BaseVehicle> static final Objectintint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAddBlood(int _wx, int _wy) voidaddBloodSplat(float x, float y, float z, int Type) voidAddCorpses(int _wx, int _wy) static voidvoidaddGeneratorPos(int x, int y, int z) voidaddModded(ChunkGenerationStatus chunkGenerationStatusx) voidaddObjectAmbientEmitter(IsoObject object, ObjectAmbientEmitters.PerObjectLogic logic) voidaddRandomCarCrash(Zone zone, boolean addToWorld) voidaddSpawnedRoom(long long0) voidaddSurvivorInHorde(boolean forced) voidvoidvoidBlam(int _wx, int _wy) booleancanAddRandomCarCrash(Zone zone, boolean force) voidvoidvoidcheckLightingLater_AllPlayers_OneLevel(int int0) voidcheckLightingLater_OnePlayer_AllLevels(int int0) voidcheckLightingLater_OnePlayer_OneLevel(int int1, int int0) voidcheckPhysicsLater(int int0) voidcheckPhysicsLaterForActiveRagdoll(IsoChunkLevel chunkLevel) booleancontainsPoint(float float1, float float0) voidvoidvoidstatic booleanstatic booleanFileExists(int _wx, int _wy) static Stringstatic intFix2x(IsoGridSquare square, int spriteID) voidgetAttachmentsPartial(int int0) boolean[]getCutawayDataForLevel(int int0) getGridSquare(int x, int y, int z) longDeprecated.getLevelData(int int0) shortintintbytegetModifDepth(BlendDirection blendDirection) intgetRenderLevels(int int0) getRoom(long long0) getSquaresForLevel(int int0) getVispolyDataForLevel(int int0) booleanhasAttachmentsPartial(SquareCoord squareCoord) booleanhasFence()intDeprecated.booleanhasObjectAmbientEmitter(IsoObject object) booleanvoidvoidinvalidateRenderChunkLevel(int int1, long long0) voidinvalidateRenderChunkLevels(long long0) voidinvalidateVispolyChunkLevel(int int0) booleanisAttachmentsDone(int int0) booleanbooleanisBlendingDone(int int0) booleanbooleanstatic booleanbooleanisGeneratorPoweringSquare(int x, int y, int z) isModded()voidisModded(EnumSet<ChunkGenerationStatus> enumSet) voidisModded(ChunkGenerationStatus chunkGenerationStatusx) booleanbooleanIsOnScreen(boolean var1) booleanisSpawnedRoom(long long0) booleanisValidLevel(int int0) booleanLoadBrandNew(int _wx, int _wy) booleanLoadFromBuffer(int _wx, int _wy, ByteBuffer bb) voidvoidvoidvoidvoidbooleanLoadOrCreate(int _wx, int _wy, ByteBuffer fromServer) booleanRandomizeModel(BaseVehicle v, Zone zone, String name, VehicleType type) Randomize a model with his corresponding texture defined in VehicleTypevoidDeprecated.voidDeprecated.static voidvoidvoidremoveGeneratorPos(int x, int y, int z) voidremoveObjectAmbientEmitter(IsoObject object) static voidReset()voidvoidrmModded(ChunkGenerationStatus chunkGenerationStatusx) static ByteBufferSafeRead(String _prefix, int _wx, int _wy, ByteBuffer bb) static voidSafeWrite(int int0, int int1, ByteBuffer byteBuffer) static voidSafeWrite(String _prefix, int _wx, int _wy, ByteBuffer bb) voidSave(boolean bSaveQuit) Save(ByteBuffer byteBuffer, CRC32 crc32, boolean boolean0) voidSaveLoadedChunk(ClientChunkRequest.Chunk ccrc, CRC32 crc32) booleanvoidsetAttachmentsDoneFull(boolean boolean0) voidsetAttachmentsPartial(SquareCoord squareCoord) voidsetAttachmentsState(int int0, boolean boolean0) voidsetBlendingDoneFull(boolean boolean0) voidsetBlendingDonePartial(boolean boolean0) voidsetBlendingModified(int int0) voidsetCache()voidvoidsetMinMaxLevel(int int1, int int0) voidsetModifDepth(BlendDirection blendDirection, byte byte0) voidsetModifDepth(BlendDirection blendDirection, int int0) voidvoidsetSquare(int x, int y, int z, IsoGridSquare square) intsquaresIndexOfLevel(int int0) voidupdate()voidvoidupdatePhysicsForLevel(int int0) static voidvoidvoid
-
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 -
bRequiresHotSave
public boolean bRequiresHotSave -
bPreventHotSave
public boolean bPreventHotSave -
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 -
ragdollControllersForAddToWorld
-
loadGridSquare
-
BLOCK_SIZE
public static final int BLOCK_SIZE- See Also:
-
WriteLock
-
randomID
public int randomID -
revision
public long revision
-
-
Constructor Details
-
IsoChunk
-
IsoChunk
-
-
Method Details
-
flagForHotSave
public void flagForHotSave() -
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
Randomize a model with his corresponding texture defined in VehicleType- Parameters:
v- vehiclezone- zone we're spawning onname-type-- Returns:
- true if succed
-
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
-
doPathfind
public void doPathfind() -
ignorePathfind
public void ignorePathfind() -
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
-
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) -
invalidateRenderChunkLevels
public void invalidateRenderChunkLevels(long long0) -
getCutawayData
-
getCutawayDataForLevel
-
invalidateVispolyChunkLevel
public void invalidateVispolyChunkLevel(int int0) -
getVispolyData
-
getVispolyDataForLevel
-
hasWaterSquare
public boolean hasWaterSquare() -
checkPhysicsLaterForActiveRagdoll
-
hasFence
public boolean hasFence()
-