Package zombie.iso

Class IsoCell

java.lang.Object
zombie.iso.IsoCell

public final class IsoCell extends Object
  • Field Details

    • MaxHeight

      public static int MaxHeight
    • Trees

      public ArrayList Trees
    • ChunkMap

      public final IsoChunkMap[] ChunkMap
    • BuildingList

      public final ArrayList BuildingList
    • ProcessWorldItemsRemove

      public final ArrayList ProcessWorldItemsRemove
    • ENABLE_SQUARE_CACHE

      public static final boolean ENABLE_SQUARE_CACHE
      See Also:
    • DangerScore

      public IntGrid DangerScore
    • roomLights

      public final ArrayList roomLights
    • addVehicles

      public final ArrayList addVehicles
    • vehicles

      public final ArrayList vehicles
    • ISOANGLEFACTOR

      public static final int ISOANGLEFACTOR
      See Also:
    • RTF_SolidFloor

      public static final int RTF_SolidFloor
      See Also:
    • RTF_VegetationCorpses

      public static final int RTF_VegetationCorpses
      See Also:
    • RTF_MinusFloorCharacters

      public static final int RTF_MinusFloorCharacters
      See Also:
    • RTF_ShadedFloor

      public static final int RTF_ShadedFloor
      See Also:
    • RTF_Shadows

      public static final int RTF_Shadows
      See Also:
    • perPlayerRender

      public static final IsoCell.PerPlayerRender[] perPlayerRender
    • StencilX1

      public int StencilX1
    • StencilY1

      public int StencilY1
    • StencilX2

      public int StencilX2
    • StencilY2

      public int StencilY2
    • DeferredCharacterTick

      public int DeferredCharacterTick
    • recalcFloors

      public boolean recalcFloors
    • rainIntensity

      protected int rainIntensity
    • rainSpeed

      protected int rainSpeed
    • bRendering

      public boolean bRendering
  • Constructor Details

    • IsoCell

      public IsoCell(int int1, int int2)
  • Method Details

    • getMaxHeight

      public static int getMaxHeight()
    • getCurrentLotHeader

      public LotHeader getCurrentLotHeader()
    • getChunkMap

      public IsoChunkMap getChunkMap(int int1)
    • getFreeTile

      public IsoGridSquare getFreeTile(RoomDef roomDef)
    • getBuildings

      public static Stack getBuildings()
    • setBuildings

      public static void setBuildings(Stack stack)
    • getNearestVisibleZombie

      public IsoZombie getNearestVisibleZombie(int int1)
    • getChunkForGridSquare

      public IsoChunk getChunkForGridSquare(int int1, int int2, int int3)
    • getChunk

      public IsoChunk getChunk(int int1, int int2)
    • getStencilValue

      public short getStencilValue(int int1, int int2, int int3)
    • setStencilValue

      public void setStencilValue(int int1, int int2, int int3, int int4)
    • getStencilValue2z

      public short getStencilValue2z(int int1, int int2, int int3)
    • setStencilValue2z

      public void setStencilValue2z(int int1, int int2, int int3, int int4)
    • CalculateVertColoursForTile

      public void CalculateVertColoursForTile(IsoGridSquare square, int int1, int int2, int int3, int int4)
    • DrawStencilMask

      public void DrawStencilMask()
    • RenderTiles

      public void RenderTiles(int int1)
    • RenderFloorShading

      public void RenderFloorShading(int int1)
    • IsPlayerWindowPeeking

      public boolean IsPlayerWindowPeeking(int int1)
    • CanBuildingSquareOccludePlayer

      public boolean CanBuildingSquareOccludePlayer(IsoGridSquare square, int int1)
    • GetEffectivePlayerRoomId

      public int GetEffectivePlayerRoomId()
    • setSnowTarget

      public void setSnowTarget(int int1)
    • gridSquareIsSnow

      public boolean gridSquareIsSnow(int int1, int int2, int int3)
    • getClosestBuildingExcept

      public IsoBuilding getClosestBuildingExcept(IsoGameCharacter gameCharacter, IsoRoom room)
    • getDangerScore

      public int getDangerScore(int int1, int int2)
    • addToProcessIsoObject

      public void addToProcessIsoObject(IsoObject object)
    • addToProcessIsoObjectRemove

      public void addToProcessIsoObjectRemove(IsoObject object)
    • addToStaticUpdaterObjectList

      public void addToStaticUpdaterObjectList(IsoObject object)
    • addToProcessItems

      public void addToProcessItems(InventoryItem inventoryItem)
    • addToProcessItems

      public void addToProcessItems(ArrayList arrayList)
    • addToProcessItemsRemove

      public void addToProcessItemsRemove(InventoryItem inventoryItem)
    • addToProcessItemsRemove

      public void addToProcessItemsRemove(ArrayList arrayList)
    • addToProcessWorldItems

      public void addToProcessWorldItems(IsoWorldInventoryObject worldInventoryObject)
    • addToProcessWorldItemsRemove

      public void addToProcessWorldItemsRemove(IsoWorldInventoryObject worldInventoryObject)
    • getNetworkPlayer

      public IsoSurvivor getNetworkPlayer(int int1)
    • DoGridNav

      public void DoGridNav(IsoGridSquare square, IsoGridSquare.GetSquare getSquare)
    • ConnectNewSquare

      public IsoGridSquare ConnectNewSquare(IsoGridSquare square, boolean boolean1)
    • PlaceLot

      public void PlaceLot(String string, int int1, int int2, int int3, boolean boolean1)
    • PlaceLot

      public void PlaceLot(IsoLot lot, int int1, int int2, int int3, boolean boolean1)
    • PlaceLot

      public void PlaceLot(IsoLot lot, int int1, int int2, int int3, IsoChunk chunk, int int4, int int5)
    • setDrag

      public void setDrag(KahluaTable kahluaTable, int int1)
    • getDrag

      public KahluaTable getDrag(int int1)
    • DoBuilding

      public boolean DoBuilding(int int1, boolean boolean1)
    • DistanceFromSupport

      public float DistanceFromSupport(int int1, int int2, int int3)
    • getBuildingList

      public ArrayList getBuildingList()
    • getWindowList

      public ArrayList getWindowList()
    • addToWindowList

      public void addToWindowList(IsoWindow window)
    • removeFromWindowList

      public void removeFromWindowList(IsoWindow window)
    • getObjectList

      public ArrayList getObjectList()
    • getRoom

      public IsoRoom getRoom(int int1)
    • getPushableObjectList

      public ArrayList getPushableObjectList()
    • getBuildingScores

      public HashMap getBuildingScores()
    • getRoomList

      public ArrayList getRoomList()
    • getStaticUpdaterObjectList

      public ArrayList getStaticUpdaterObjectList()
    • getZombieList

      public ArrayList getZombieList()
    • getRemoteSurvivorList

      public ArrayList getRemoteSurvivorList()
    • getRemoveList

      public ArrayList getRemoveList()
    • getAddList

      public ArrayList getAddList()
    • addMovingObject

      public void addMovingObject(IsoMovingObject movingObject)
    • getProcessItems

      public ArrayList getProcessItems()
    • getProcessWorldItems

      public ArrayList getProcessWorldItems()
    • getProcessIsoObjects

      public ArrayList getProcessIsoObjects()
    • getProcessItemsRemove

      public ArrayList getProcessItemsRemove()
    • getVehicles

      public ArrayList getVehicles()
    • getHeight

      public int getHeight()
    • setHeight

      public void setHeight(int int1)
    • getWidth

      public int getWidth()
    • setWidth

      public void setWidth(int int1)
    • getWorldX

      public int getWorldX()
    • setWorldX

      public void setWorldX(int int1)
    • getWorldY

      public int getWorldY()
    • setWorldY

      public void setWorldY(int int1)
    • isSafeToAdd

      public boolean isSafeToAdd()
    • setSafeToAdd

      public void setSafeToAdd(boolean boolean1)
    • getLamppostPositions

      public Stack getLamppostPositions()
    • getLightSourceAt

      public IsoLightSource getLightSourceAt(int int1, int int2, int int3)
    • addLamppost

      public void addLamppost(IsoLightSource lightSource)
    • addLamppost

      public IsoLightSource addLamppost(int int1, int int2, int int3, float float1, float float2, float float3, int int4)
    • removeLamppost

      public void removeLamppost(int int1, int int2, int int3)
    • removeLamppost

      public void removeLamppost(IsoLightSource lightSource)
    • getCurrentLightX

      public int getCurrentLightX()
    • setCurrentLightX

      public void setCurrentLightX(int int1)
    • getCurrentLightY

      public int getCurrentLightY()
    • setCurrentLightY

      public void setCurrentLightY(int int1)
    • getCurrentLightZ

      public int getCurrentLightZ()
    • setCurrentLightZ

      public void setCurrentLightZ(int int1)
    • getMinX

      public int getMinX()
    • setMinX

      public void setMinX(int int1)
    • getMaxX

      public int getMaxX()
    • setMaxX

      public void setMaxX(int int1)
    • getMinY

      public int getMinY()
    • setMinY

      public void setMinY(int int1)
    • getMaxY

      public int getMaxY()
    • setMaxY

      public void setMaxY(int int1)
    • getMinZ

      public int getMinZ()
    • setMinZ

      public void setMinZ(int int1)
    • getMaxZ

      public int getMaxZ()
    • setMaxZ

      public void setMaxZ(int int1)
    • getDangerUpdate

      public OnceEvery getDangerUpdate()
    • setDangerUpdate

      public void setDangerUpdate(OnceEvery onceEvery)
    • getLightInfoUpdate

      public Thread getLightInfoUpdate()
    • setLightInfoUpdate

      public void setLightInfoUpdate(Thread thread)
    • getSurvivorList

      public ArrayList getSurvivorList()
    • getRComponent

      public static int getRComponent(int int1)
    • getGComponent

      public static int getGComponent(int int1)
    • getBComponent

      public static int getBComponent(int int1)
    • toIntColor

      public static int toIntColor(float float1, float float2, float float3, float float4)
    • getRandomOutdoorTile

      public IsoGridSquare getRandomOutdoorTile()
    • getBestBuildings

      public Stack getBestBuildings(IsoCell.BuildingSearchCriteria buildingSearchCriteria, int int1)
    • blocked

      public boolean blocked(Mover mover, int int1, int int2, int int3, int int4, int int5, int int6)
    • Dispose

      public void Dispose()
    • getGridSquare

      public IsoGridSquare getGridSquare(double double1, double double2, double double3)
    • getOrCreateGridSquare

      public IsoGridSquare getOrCreateGridSquare(double double1, double double2, double double3)
    • setCacheGridSquare

      public void setCacheGridSquare(int int1, int int2, int int3, IsoGridSquare square)
    • setCacheChunk

      public void setCacheChunk(IsoChunk chunk)
    • setCacheChunk

      public void setCacheChunk(IsoChunk chunk, int int1)
    • clearCacheGridSquare

      public void clearCacheGridSquare(int int1)
    • setCacheGridSquareLocal

      public void setCacheGridSquareLocal(int int1, int int2, int int3, IsoGridSquare square, int int4)
    • getGridSquare

      public IsoGridSquare getGridSquare(Double Double1, Double Double2, Double Double3)
    • getGridSquare

      public IsoGridSquare getGridSquare(int int1, int int2, int int3)
    • EnsureSurroundNotNull

      public void EnsureSurroundNotNull(int int1, int int2, int int3)
    • DeleteAllMovingObjects

      public void DeleteAllMovingObjects()
    • getMaxFloors

      public int getMaxFloors()
    • getLuaObjectList

      public KahluaTable getLuaObjectList()
    • getHeightInTiles

      public int getHeightInTiles()
    • getWidthInTiles

      public int getWidthInTiles()
    • isNull

      public boolean isNull(int int1, int int2, int int3)
    • Remove

      public void Remove(IsoMovingObject movingObject)
    • getInstance

      public static IsoCell getInstance()
    • render

      public void render()
    • invalidatePeekedRoom

      public void invalidatePeekedRoom(int int1)
    • getWeatherFX

      public IsoWeatherFX getWeatherFX()
    • setRainAlpha

      public void setRainAlpha(int int1)
    • setRainIntensity

      public void setRainIntensity(int int1)
    • setRainSpeed

      public void setRainSpeed(int int1)
    • reloadRainTextures

      public void reloadRainTextures()
    • FromMouseTile

      public static IsoDirections FromMouseTile()
    • update

      public void update()
    • getRandomFreeTileInRoom

      public IsoGridSquare getRandomFreeTileInRoom()
    • roomSpotted

      public void roomSpotted(IsoRoom room)
    • ProcessSpottedRooms

      public void ProcessSpottedRooms()
    • savePlayer

      public void savePlayer() throws IOException
      Throws:
      IOException
    • save

      public void save(DataOutputStream dataOutputStream, boolean boolean1) throws IOException
      Throws:
      IOException
    • LoadPlayer

      public boolean LoadPlayer(int int1) throws FileNotFoundException, IOException
      Throws:
      FileNotFoundException
      IOException
    • getRelativeGridSquare

      public IsoGridSquare getRelativeGridSquare(int int1, int int2, int int3)
    • createNewGridSquare

      public IsoGridSquare createNewGridSquare(int int1, int int2, int int3, boolean boolean1)
    • getGridSquareDirect

      public IsoGridSquare getGridSquareDirect(int int1, int int2, int int3, int int4)
    • isInChunkMap

      public boolean isInChunkMap(int int1, int int2)
    • getProcessIsoObjectRemove

      public ArrayList getProcessIsoObjectRemove()
    • checkHaveRoof

      public void checkHaveRoof(int int1, int int2)
    • getFakeZombieForHit

      public IsoZombie getFakeZombieForHit()
    • addHeatSource

      public void addHeatSource(IsoHeatSource heatSource)
    • removeHeatSource

      public void removeHeatSource(IsoHeatSource heatSource)
    • updateHeatSources

      public void updateHeatSources()
    • getHeatSourceTemperature

      public int getHeatSourceTemperature(int int1, int int2, int int3)
    • getHeatSourceHighestTemperature

      public float getHeatSourceHighestTemperature(float float1, int int1, int int2, int int3)
    • putInVehicle

      public void putInVehicle(IsoGameCharacter gameCharacter)
    • resumeVehicleSounds

      @Deprecated public void resumeVehicleSounds(IsoGameCharacter gameCharacter)
      Deprecated.
    • getSpriteManager

      public IsoSpriteManager getSpriteManager()