Package zombie.iso
Class IsoWorld
java.lang.Object
zombie.iso.IsoWorld
public 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()
static byte[]
createChecksum(java.lang.String string)
IsoSurvivor
CreateRandomSurvivor(SurvivorDesc survivorDesc, IsoGridSquare square, IsoPlayer player)
void
CreateSurvivorGroup(IsoGridSquare square, IsoPlayer player)
void
CreateSwarm(int int1, int int2, int int3, int int4, int int5)
static boolean
DoChecksumCheck()
static boolean
DoChecksumCheck(java.lang.String string, java.lang.String string2)
void
ForceKillAllZombies()
IsoCell
getCell()
ClimateManager
getClimateManager()
java.lang.String
getDifficulty()
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()
static java.lang.String
getMD5Checksum(java.lang.String string)
IsoMetaChunk
getMetaChunk(int int1, int int2)
IsoMetaChunk
getMetaChunkFromTile(int int1, int int2)
IsoMetaGrid
getMetaGrid()
java.util.ArrayList
getRandomizedBuildingList()
RandomizedBuildingBase
getRBBasic()
java.lang.String
getWeather()
java.lang.String
getWorld()
int
getWorldSquareX()
int
getWorldSquareY()
static int
getWorldVersion()
static boolean
getZombiesDisabled()
static boolean
getZombiesEnabled()
void
init()
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)
void
primUpdate()
static int
readInt(java.io.RandomAccessFile randomAccessFile)
static java.lang.String
readString(java.io.RandomAccessFile randomAccessFile)
IsoMetaGrid.Zone
registerVehiclesZone(java.lang.String string, java.lang.String string2, int int1, int int2, int int3, int int4, int int5, KahluaTable kahluaTable)
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
removeZone(IsoMetaGrid.Zone zone)
void
removeZonesForLotDirectory(java.lang.String string)
void
render()
void
setDifficulty(java.lang.String string)
void
setDrawWorld(boolean boolean1)
void
setGameMode(java.lang.String string)
void
setGlobalTemperature(float float1)
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
setRandomizedBuildingList(java.util.ArrayList arrayList)
void
setRBBasic(RandomizedBuildingBase randomizedBuildingBase)
void
setWeather(java.lang.String string)
void
setWorld(java.lang.String string)
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
-
freeEmitters
public java.util.ArrayDeque freeEmitters -
currentEmitters
public java.util.ArrayList currentEmitters -
x
public int x -
y
public int y -
playerCell
public java.lang.String playerCell -
CurrentCell
-
instance
-
Groups
public java.util.Stack Groups -
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 java.util.HashMap PropertyValueMap -
spriteManager
-
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_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
-
SavedWorldVersion
public static int SavedWorldVersion -
cellMap
public java.lang.String[][] cellMap -
bDrawWorld
public boolean bDrawWorld -
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) -
removeZone
-
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
-
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) -
checkVehiclesZones
public void checkVehiclesZones() -
createChecksum
public static byte[] createChecksum(java.lang.String string) throws java.lang.Exception- Throws:
java.lang.Exception
-
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() -
getMD5Checksum
public static java.lang.String getMD5Checksum(java.lang.String string) throws java.lang.Exception- Throws:
java.lang.Exception
-
DoChecksumCheck
public static boolean DoChecksumCheck(java.lang.String string, java.lang.String string2) -
DoChecksumCheck
public static boolean DoChecksumCheck() -
getItemFromXYZIndexBuffer
-
CreateSurvivorGroup
-
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
-
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- Throws:
java.io.FileNotFoundException
java.io.IOException
-
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) -
render
public void render() -
primUpdate
public void primUpdate() -
update
public void update() -
getCell
-
getWorldSquareY
public int getWorldSquareY() -
getWorldSquareX
public int getWorldSquareX() -
getMetaChunk
-
getMetaChunkFromTile
-
getGlobalTemperature
public float getGlobalTemperature() -
setGlobalTemperature
public void setGlobalTemperature(float float1) -
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) -
getRandomizedBuildingList
public java.util.ArrayList getRandomizedBuildingList() -
setRandomizedBuildingList
public void setRandomizedBuildingList(java.util.ArrayList arrayList) -
getRBBasic
-
setRBBasic
-
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
-
getWorldVersion
public static int getWorldVersion()
-