Package zombie.iso
Class IsoWorld
java.lang.Object
zombie.iso.IsoWorld
public final class IsoWorld
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
IsoWorld.Frame
static class
IsoWorld.MetaCell
-
Field Summary
-
Constructor Summary
Constructors Constructor Description IsoWorld()
-
Method Summary
Modifier and Type Method Description void
addLuaTrait(java.lang.String string)
void
checkVehiclesZones()
IsoSurvivor
CreateRandomSurvivor(SurvivorDesc survivorDesc, IsoGridSquare square, IsoPlayer player)
void
CreateSwarm(int int1, int int2, int int3, int int4, int int5)
void
ForceKillAllZombies()
java.util.HashMap
getAllTiles()
java.util.ArrayList
getAllTiles(java.lang.String string)
java.util.ArrayList
getAllTilesName()
IsoCell
getCell()
ClimateManager
getClimateManager()
java.lang.String
getDifficulty()
int
getFrameNo()
BaseSoundEmitter
getFreeEmitter()
BaseSoundEmitter
getFreeEmitter(float float1, float float2, float float3)
java.lang.String
getGameMode()
float
getGlobalTemperature()
IsoObject
getItemFromXYZIndexBuffer(java.nio.ByteBuffer byteBuffer)
SurvivorDesc
getLuaPlayerDesc()
int
getLuaPosX()
int
getLuaPosY()
int
getLuaPosZ()
int
getLuaSpawnCellX()
int
getLuaSpawnCellY()
java.util.ArrayList
getLuaTraits()
java.lang.String
getMap()
IsoMetaChunk
getMetaChunk(int int1, int int2)
IsoMetaChunk
getMetaChunkFromTile(int int1, int int2)
IsoMetaGrid
getMetaGrid()
IsoPuddles
getPuddlesManager()
java.util.ArrayList
getRandomizedBuildingList()
RandomizedVehicleStoryBase
getRandomizedVehicleStoryByName(java.lang.String string)
java.util.ArrayList
getRandomizedVehicleStoryList()
java.util.ArrayList
getRandomizedZoneList()
RandomizedBuildingBase
getRBBasic()
java.util.HashMap
getSpawnedZombieZone()
int
getTimeSinceLastSurvivorInHorde()
java.lang.String
getWeather()
java.lang.String
getWorld()
float
getWorldAgeDays()
int
getWorldSquareX()
int
getWorldSquareY()
static int
getWorldVersion()
static boolean
getZombiesDisabled()
static boolean
getZombiesEnabled()
void
init()
static boolean
isAnimRecorderActive()
static boolean
isAnimRecorderDiscardTriggered()
boolean
isValidSquare(int int1, int int2, int int3)
void
KillCell()
boolean
LoadPlayerForInfo()
void
LoadTileDefinitions(IsoSpriteManager spriteManager, java.lang.String string, int int1)
void
LoadTileDefinitionsPropertyStrings(IsoSpriteManager spriteManager, java.lang.String string, int int1)
static int
readInt(java.io.InputStream inputStream)
static int
readInt(java.io.RandomAccessFile randomAccessFile)
static java.lang.String
readString(java.io.InputStream inputStream)
static java.lang.String
readString(java.io.RandomAccessFile randomAccessFile)
IsoMetaGrid.Zone
registerMannequinZone(java.lang.String string, java.lang.String string2, int int1, int int2, int int3, int int4, int int5, KahluaTable kahluaTable)
void
registerSpawnOrigin(int int1, int int2, int int3, int int4, KahluaTable kahluaTable)
IsoMetaGrid.Zone
registerVehiclesZone(java.lang.String string, java.lang.String string2, int int1, int int2, int int3, int int4, int int5, KahluaTable kahluaTable)
void
registerWaterFlow(float float1, float float2, float float3, float float4)
void
registerWaterZone(float float1, float float2, float float3, float float4, float float5, float float6)
IsoMetaGrid.Zone
registerZone(java.lang.String string, java.lang.String string2, int int1, int int2, int int3, int int4, int int5)
IsoMetaGrid.Zone
registerZoneNoOverlap(java.lang.String string, java.lang.String string2, int int1, int int2, int int3, int int4, int int5)
void
removeZonesForLotDirectory(java.lang.String string)
void
render()
void
renderTerrain()
void
returnOwnershipOfEmitter(BaseSoundEmitter baseSoundEmitter)
void
sceneCullZombies()
void
setDifficulty(java.lang.String string)
void
setDrawWorld(boolean boolean1)
void
setEmitterOwner(BaseSoundEmitter baseSoundEmitter, IsoObject object)
void
setGameMode(java.lang.String string)
void
setGlobalTemperature(float float1)
Deprecated.void
setLuaPlayerDesc(SurvivorDesc survivorDesc)
void
setLuaPosX(int int1)
void
setLuaPosY(int int1)
void
setLuaPosZ(int int1)
void
setLuaSpawnCellX(int int1)
void
setLuaSpawnCellY(int int1)
void
setMap(java.lang.String string)
void
setTimeSinceLastSurvivorInHorde(int int1)
void
setWeather(java.lang.String string)
void
setWorld(java.lang.String string)
void
takeOwnershipOfEmitter(BaseSoundEmitter baseSoundEmitter)
void
transmitWeather()
void
update()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
MetaGrid
-
sky
-
helicopter
-
Characters
public final java.util.ArrayList Characters -
x
public int x -
y
public int y -
CurrentCell
-
instance
-
TotalSurvivorsDead
public int TotalSurvivorsDead -
TotalSurvivorNights
public int TotalSurvivorNights -
SurvivorSurvivalRecord
public int SurvivorSurvivalRecord -
SurvivorDescriptors
public java.util.HashMap SurvivorDescriptors -
AddCoopPlayers
public java.util.ArrayList AddCoopPlayers -
mapPath
public static java.lang.String mapPath -
mapUseJar
public static boolean mapUseJar -
PropertyValueMap
public static final java.util.HashMap PropertyValueMap -
WorldVersion
public static final int WorldVersion- See Also:
- Constant Field Values
-
WorldVersion_Barricade
public static final int WorldVersion_Barricade- See Also:
- Constant Field Values
-
WorldVersion_SandboxOptions
public static final int WorldVersion_SandboxOptions- See Also:
- Constant Field Values
-
WorldVersion_FliesSound
public static final int WorldVersion_FliesSound- See Also:
- Constant Field Values
-
WorldVersion_LootRespawn
public static final int WorldVersion_LootRespawn- See Also:
- Constant Field Values
-
WorldVersion_OverlappingGenerators
public static final int WorldVersion_OverlappingGenerators- See Also:
- Constant Field Values
-
WorldVersion_ItemContainerIdenticalItems
public static final int WorldVersion_ItemContainerIdenticalItems- See Also:
- Constant Field Values
-
WorldVersion_VehicleSirenStartTime
public static final int WorldVersion_VehicleSirenStartTime- See Also:
- Constant Field Values
-
WorldVersion_CompostLastUpdated
public static final int WorldVersion_CompostLastUpdated- See Also:
- Constant Field Values
-
WorldVersion_DayLengthHours
public static final int WorldVersion_DayLengthHours- See Also:
- Constant Field Values
-
WorldVersion_LampOnPillar
public static final int WorldVersion_LampOnPillar- See Also:
- Constant Field Values
-
WorldVersion_AlarmClockRingSince
public static final int WorldVersion_AlarmClockRingSince- See Also:
- Constant Field Values
-
WorldVersion_ClimateAdded
public static final int WorldVersion_ClimateAdded- See Also:
- Constant Field Values
-
WorldVersion_VehicleLightFocusing
public static final int WorldVersion_VehicleLightFocusing- See Also:
- Constant Field Values
-
WorldVersion_GeneratorFuelFloat
public static final int WorldVersion_GeneratorFuelFloat- See Also:
- Constant Field Values
-
WorldVersion_InfectionTime
public static final int WorldVersion_InfectionTime- See Also:
- Constant Field Values
-
WorldVersion_ClimateColors
public static final int WorldVersion_ClimateColors- See Also:
- Constant Field Values
-
WorldVersion_BodyLocation
public static final int WorldVersion_BodyLocation- See Also:
- Constant Field Values
-
WorldVersion_CharacterModelData
public static final int WorldVersion_CharacterModelData- See Also:
- Constant Field Values
-
WorldVersion_CharacterModelData2
public static final int WorldVersion_CharacterModelData2- See Also:
- Constant Field Values
-
WorldVersion_CharacterModelData3
public static final int WorldVersion_CharacterModelData3- See Also:
- Constant Field Values
-
WorldVersion_HumanVisualBlood
public static final int WorldVersion_HumanVisualBlood- See Also:
- Constant Field Values
-
WorldVersion_ItemContainerIdenticalItemsInt
public static final int WorldVersion_ItemContainerIdenticalItemsInt- See Also:
- Constant Field Values
-
WorldVersion_PerkName
public static final int WorldVersion_PerkName- See Also:
- Constant Field Values
-
WorldVersion_Thermos
public static final int WorldVersion_Thermos- See Also:
- Constant Field Values
-
WorldVersion_AllPatches
public static final int WorldVersion_AllPatches- See Also:
- Constant Field Values
-
WorldVersion_ZombieRotStage
public static final int WorldVersion_ZombieRotStage- See Also:
- Constant Field Values
-
WorldVersion_NewSandboxLootModifier
public static final int WorldVersion_NewSandboxLootModifier- See Also:
- Constant Field Values
-
WorldVersion_KateBobStorm
public static final int WorldVersion_KateBobStorm- See Also:
- Constant Field Values
-
WorldVersion_DeadBodyAngle
public static final int WorldVersion_DeadBodyAngle- See Also:
- Constant Field Values
-
WorldVersion_ChunkSpawnedRooms
public static final int WorldVersion_ChunkSpawnedRooms- See Also:
- Constant Field Values
-
WorldVersion_DeathDragDown
public static final int WorldVersion_DeathDragDown- See Also:
- Constant Field Values
-
WorldVersion_CanUpgradePerk
public static final int WorldVersion_CanUpgradePerk- See Also:
- Constant Field Values
-
WorldVersion_ItemVisualFullType
public static final int WorldVersion_ItemVisualFullType- See Also:
- Constant Field Values
-
WorldVersion_VehicleBlood
public static final int WorldVersion_VehicleBlood- See Also:
- Constant Field Values
-
WorldVersion_DeadBodyZombieRotStage
public static final int WorldVersion_DeadBodyZombieRotStage- See Also:
- Constant Field Values
-
WorldVersion_Fitness
public static final int WorldVersion_Fitness- See Also:
- Constant Field Values
-
WorldVersion_DeadBodyFakeDead
public static final int WorldVersion_DeadBodyFakeDead- See Also:
- Constant Field Values
-
WorldVersion_Fitness2
public static final int WorldVersion_Fitness2- See Also:
- Constant Field Values
-
WorldVersion_NewFog
public static final int WorldVersion_NewFog- See Also:
- Constant Field Values
-
WorldVersion_DeadBodyPersistentOutfitID
public static final int WorldVersion_DeadBodyPersistentOutfitID- See Also:
- Constant Field Values
-
WorldVersion_VehicleTowingID
public static final int WorldVersion_VehicleTowingID- See Also:
- Constant Field Values
-
WorldVersion_VehicleJNITransform
public static final int WorldVersion_VehicleJNITransform- See Also:
- Constant Field Values
-
WorldVersion_VehicleTowAttachment
public static final int WorldVersion_VehicleTowAttachment- See Also:
- Constant Field Values
-
WorldVersion_ContainerMaxCapacity
public static final int WorldVersion_ContainerMaxCapacity- See Also:
- Constant Field Values
-
WorldVersion_TimedActionInstantCheat
public static final int WorldVersion_TimedActionInstantCheat- See Also:
- Constant Field Values
-
WorldVersion_ClothingPatchSaveLoad
public static final int WorldVersion_ClothingPatchSaveLoad- See Also:
- Constant Field Values
-
WorldVersion_AttachedSlotType
public static final int WorldVersion_AttachedSlotType- See Also:
- Constant Field Values
-
WorldVersion_NoiseMakerDuration
public static final int WorldVersion_NoiseMakerDuration- See Also:
- Constant Field Values
-
WorldVersion_ChunkVehicles
public static final int WorldVersion_ChunkVehicles- See Also:
- Constant Field Values
-
WorldVersion_PlayerVehicleSeat
public static final int WorldVersion_PlayerVehicleSeat- See Also:
- Constant Field Values
-
WorldVersion_MediaDisksAndTapes
public static final int WorldVersion_MediaDisksAndTapes- See Also:
- Constant Field Values
-
WorldVersion_AlreadyReadBooks1
public static final int WorldVersion_AlreadyReadBooks1- See Also:
- Constant Field Values
-
WorldVersion_LampOnPillar2
public static final int WorldVersion_LampOnPillar2- See Also:
- Constant Field Values
-
WorldVersion_AlreadyReadBooks2
public static final int WorldVersion_AlreadyReadBooks2- See Also:
- Constant Field Values
-
WorldVersion_PolygonZone
public static final int WorldVersion_PolygonZone- See Also:
- Constant Field Values
-
WorldVersion_PolylineZone
public static final int WorldVersion_PolylineZone- See Also:
- Constant Field Values
-
SavedWorldVersion
public static int SavedWorldVersion -
NoZombies
public static boolean NoZombies -
TotalWorldVersion
public static int TotalWorldVersion -
saveoffsetx
public static int saveoffsetx -
saveoffsety
public static int saveoffsety -
bDoChunkMapUpdate
public boolean bDoChunkMapUpdate -
emitterUpdate
public boolean emitterUpdate
-
-
Constructor Details
-
IsoWorld
public IsoWorld()
-
-
Method Details
-
getMetaGrid
-
registerZone
public IsoMetaGrid.Zone registerZone(java.lang.String string, java.lang.String string2, int int1, int int2, int int3, int int4, int int5) -
registerZoneNoOverlap
public IsoMetaGrid.Zone registerZoneNoOverlap(java.lang.String string, java.lang.String string2, int int1, int int2, int int3, int int4, int int5) -
removeZonesForLotDirectory
public void removeZonesForLotDirectory(java.lang.String string) -
getFreeEmitter
-
getFreeEmitter
-
takeOwnershipOfEmitter
-
setEmitterOwner
-
returnOwnershipOfEmitter
-
registerVehiclesZone
public IsoMetaGrid.Zone registerVehiclesZone(java.lang.String string, java.lang.String string2, int int1, int int2, int int3, int int4, int int5, KahluaTable kahluaTable) -
registerMannequinZone
public IsoMetaGrid.Zone registerMannequinZone(java.lang.String string, java.lang.String string2, int int1, int int2, int int3, int int4, int int5, KahluaTable kahluaTable) -
registerSpawnOrigin
-
registerWaterFlow
public void registerWaterFlow(float float1, float float2, float float3, float float4) -
registerWaterZone
public void registerWaterZone(float float1, float float2, float float3, float float4, float float5, float float6) -
checkVehiclesZones
public void checkVehiclesZones() -
setGameMode
public void setGameMode(java.lang.String string) -
getGameMode
public java.lang.String getGameMode() -
setWorld
public void setWorld(java.lang.String string) -
setMap
public void setMap(java.lang.String string) -
getMap
public java.lang.String getMap() -
renderTerrain
public void renderTerrain() -
getFrameNo
public int getFrameNo() -
getItemFromXYZIndexBuffer
-
isAnimRecorderActive
public static boolean isAnimRecorderActive() -
isAnimRecorderDiscardTriggered
public static boolean isAnimRecorderDiscardTriggered() -
CreateRandomSurvivor
public IsoSurvivor CreateRandomSurvivor(SurvivorDesc survivorDesc, IsoGridSquare square, IsoPlayer player) -
CreateSwarm
public void CreateSwarm(int int1, int int2, int int3, int int4, int int5) -
ForceKillAllZombies
public void ForceKillAllZombies() -
readInt
public static int readInt(java.io.RandomAccessFile randomAccessFile) throws java.io.EOFException, java.io.IOException- Throws:
java.io.EOFException
java.io.IOException
-
readString
public static java.lang.String readString(java.io.RandomAccessFile randomAccessFile) throws java.io.EOFException, java.io.IOException- Throws:
java.io.EOFException
java.io.IOException
-
readInt
public static int readInt(java.io.InputStream inputStream) throws java.io.EOFException, java.io.IOException- Throws:
java.io.EOFException
java.io.IOException
-
readString
public static java.lang.String readString(java.io.InputStream inputStream) throws java.io.IOException- Throws:
java.io.IOException
-
LoadTileDefinitions
-
LoadTileDefinitionsPropertyStrings
public void LoadTileDefinitionsPropertyStrings(IsoSpriteManager spriteManager, java.lang.String string, int int1) -
LoadPlayerForInfo
public boolean LoadPlayerForInfo() throws java.io.FileNotFoundException, java.io.IOException- Throws:
java.io.FileNotFoundException
java.io.IOException
-
init
public void init() throws java.io.FileNotFoundException, java.io.IOException, WorldDictionaryException- Throws:
java.io.FileNotFoundException
java.io.IOException
WorldDictionaryException
-
getLuaTraits
public java.util.ArrayList getLuaTraits() -
addLuaTrait
public void addLuaTrait(java.lang.String string) -
getLuaPlayerDesc
-
setLuaPlayerDesc
-
KillCell
public void KillCell() -
setDrawWorld
public void setDrawWorld(boolean boolean1) -
sceneCullZombies
public void sceneCullZombies() -
render
public void render() -
update
public void update() -
getCell
-
getWorldSquareY
public int getWorldSquareY() -
getWorldSquareX
public int getWorldSquareX() -
getMetaChunk
-
getMetaChunkFromTile
-
getGlobalTemperature
public float getGlobalTemperature() -
setGlobalTemperature
@Deprecated public void setGlobalTemperature(float float1)Deprecated. -
getWeather
public java.lang.String getWeather() -
setWeather
public void setWeather(java.lang.String string) -
getLuaSpawnCellX
public int getLuaSpawnCellX() -
setLuaSpawnCellX
public void setLuaSpawnCellX(int int1) -
getLuaSpawnCellY
public int getLuaSpawnCellY() -
setLuaSpawnCellY
public void setLuaSpawnCellY(int int1) -
getLuaPosX
public int getLuaPosX() -
setLuaPosX
public void setLuaPosX(int int1) -
getLuaPosY
public int getLuaPosY() -
setLuaPosY
public void setLuaPosY(int int1) -
getLuaPosZ
public int getLuaPosZ() -
setLuaPosZ
public void setLuaPosZ(int int1) -
getWorld
public java.lang.String getWorld() -
transmitWeather
public void transmitWeather() -
isValidSquare
public boolean isValidSquare(int int1, int int2, int int3) -
getRandomizedZoneList
public java.util.ArrayList getRandomizedZoneList() -
getRandomizedBuildingList
public java.util.ArrayList getRandomizedBuildingList() -
getRandomizedVehicleStoryList
public java.util.ArrayList getRandomizedVehicleStoryList() -
getRandomizedVehicleStoryByName
-
getRBBasic
-
getDifficulty
public java.lang.String getDifficulty() -
setDifficulty
public void setDifficulty(java.lang.String string) -
getZombiesDisabled
public static boolean getZombiesDisabled() -
getZombiesEnabled
public static boolean getZombiesEnabled() -
getClimateManager
-
getPuddlesManager
-
getWorldVersion
public static int getWorldVersion() -
getSpawnedZombieZone
public java.util.HashMap getSpawnedZombieZone() -
getTimeSinceLastSurvivorInHorde
public int getTimeSinceLastSurvivorInHorde() -
setTimeSinceLastSurvivorInHorde
public void setTimeSinceLastSurvivorInHorde(int int1) -
getWorldAgeDays
public float getWorldAgeDays() -
getAllTiles
public java.util.HashMap getAllTiles() -
getAllTilesName
public java.util.ArrayList getAllTilesName() -
getAllTiles
public java.util.ArrayList getAllTiles(java.lang.String string)
-