Package zombie.iso

Class IsoWorld

java.lang.Object
zombie.iso.IsoWorld

public class IsoWorld
extends java.lang.Object
  • Field Details

    • MetaGrid

      public IsoMetaGrid MetaGrid
    • sky

      public SkyBox sky
    • helicopter

      public Helicopter 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

      public IsoCell CurrentCell
    • instance

      public static IsoWorld 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

      public IsoSpriteManager 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

      public IsoMetaGrid 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

      public void removeZone​(IsoMetaGrid.Zone zone)
    • 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

      public BaseSoundEmitter getFreeEmitter()
    • getFreeEmitter

      public BaseSoundEmitter getFreeEmitter​(float float1, float float2, float float3)
    • 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

      public IsoObject getItemFromXYZIndexBuffer​(java.nio.ByteBuffer byteBuffer)
    • CreateSurvivorGroup

      public void CreateSurvivorGroup​(IsoGridSquare square, IsoPlayer player)
    • 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

      public void LoadTileDefinitions​(IsoSpriteManager spriteManager, java.lang.String string, int int1)
    • 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

      public SurvivorDesc getLuaPlayerDesc()
    • setLuaPlayerDesc

      public void setLuaPlayerDesc​(SurvivorDesc survivorDesc)
    • KillCell

      public void KillCell()
    • setDrawWorld

      public void setDrawWorld​(boolean boolean1)
    • render

      public void render()
    • primUpdate

      public void primUpdate()
    • update

      public void update()
    • getCell

      public IsoCell getCell()
    • getWorldSquareY

      public int getWorldSquareY()
    • getWorldSquareX

      public int getWorldSquareX()
    • getMetaChunk

      public IsoMetaChunk getMetaChunk​(int int1, int int2)
    • getMetaChunkFromTile

      public IsoMetaChunk getMetaChunkFromTile​(int int1, int int2)
    • 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

      public RandomizedBuildingBase getRBBasic()
    • setRBBasic

      public void setRBBasic​(RandomizedBuildingBase randomizedBuildingBase)
    • 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

      public ClimateManager getClimateManager()
    • getWorldVersion

      public static int getWorldVersion()