Class IsoGridSquare

java.lang.Object
zombie.iso.IsoGridSquare

public final class IsoGridSquare extends Object
  • Field Details

    • associatedBuilding

      public BuildingDef associatedBuilding
    • lightLevel

      public int lightLevel
    • collideMatrix

      public int collideMatrix
    • pathMatrix

      public int pathMatrix
    • visionMatrix

      public int visionMatrix
    • room

      public IsoRoom room
    • w

      public IsoGridSquare w
    • nw

      public IsoGridSquare nw
    • sw

      public IsoGridSquare sw
    • s

      public IsoGridSquare s
    • n

      public IsoGridSquare n
    • ne

      public IsoGridSquare ne
    • se

      public IsoGridSquare se
    • e

      public IsoGridSquare e
    • u

      public IsoGridSquare u
    • d

      public IsoGridSquare d
    • haveSheetRope

      public boolean haveSheetRope
    • ObjectsSyncCount

      public int ObjectsSyncCount
    • roofHideBuilding

      public IsoBuilding roofHideBuilding
    • bFlattenGrassEtc

      public boolean bFlattenGrassEtc
    • PCF_NONE

      public static final byte PCF_NONE
      See Also:
    • PCF_NORTH

      public static final byte PCF_NORTH
      See Also:
    • PCF_WEST

      public static final byte PCF_WEST
      See Also:
    • lighting

      public final IsoGridSquare.ILighting[] lighting
    • x

      public int x
    • y

      public int y
    • z

      public int z
    • CachedScreenX

      public float CachedScreenX
    • CachedScreenY

      public float CachedScreenY
    • SolidFloorCached

      public boolean SolidFloorCached
    • SolidFloor

      public boolean SolidFloor
    • chunk

      public IsoChunk chunk
    • roomID

      public long roomID
    • ID

      public Integer ID
    • zone

      public Zone zone
    • Objects

      protected final PZArrayList<IsoObject> Objects
    • localTemporaryObjects

      protected final PZArrayList<IsoObject> localTemporaryObjects
    • haveRoof

      public boolean haveRoof
    • isoGridSquareCache

      public static final ConcurrentLinkedQueue<IsoGridSquare> isoGridSquareCache
    • loadGridSquareCache

      public static ArrayDeque<IsoGridSquare> loadGridSquareCache
    • ignoreBlockingSprites

      public static final ArrayList<String> ignoreBlockingSprites
    • gridSquareCacheEmptyTimer

      public static int gridSquareCacheEmptyTimer
    • RecalcLightTime

      public static float RecalcLightTime
    • choices

      public static final ArrayList<IsoGridSquare> choices
    • USE_WALL_SHADER

      public static boolean USE_WALL_SHADER
    • isSolidFloorCache

      public boolean isSolidFloorCache
    • isExteriorCache

      public boolean isExteriorCache
    • isVegitationCache

      public boolean isVegitationCache
    • hourLastSeen

      public int hourLastSeen
    • IDMax

      public static int IDMax
    • hashCodeObjects

      public long hashCodeObjects
    • cellGetSquare

      public static final IsoGridSquare.CellGetSquare cellGetSquare
    • propertiesDirty

      public boolean propertiesDirty
    • UseSlowCollision

      public static boolean UseSlowCollision
    • isOnScreenLast

      public static boolean isOnScreenLast
    • CircleStencil

      public static boolean CircleStencil
    • rmod

      public static float rmod
    • gmod

      public static float gmod
    • bmod

      public static float bmod
    • WALL_TYPE_N

      public static final int WALL_TYPE_N
      See Also:
    • WALL_TYPE_S

      public static final int WALL_TYPE_S
      See Also:
    • WALL_TYPE_W

      public static final int WALL_TYPE_W
      See Also:
    • WALL_TYPE_E

      public static final int WALL_TYPE_E
      See Also:
  • Constructor Details

    • IsoGridSquare

      public IsoGridSquare(IsoCell cell, SliceY slice, int _x, int _y, int _z)
  • Method Details

    • getMatrixBit

      public static boolean getMatrixBit(int matrix, int _x, int _y, int _z)
    • getMatrixBit

      public static boolean getMatrixBit(int matrix, byte _x, byte _y, byte _z)
    • setMatrixBit

      public static int setMatrixBit(int matrix, int _x, int _y, int _z, boolean val)
    • setMatrixBit

      public static int setMatrixBit(int matrix, byte _x, byte _y, byte _z, boolean val)
    • GetRLightLevel

      public int GetRLightLevel()
    • GetGLightLevel

      public int GetGLightLevel()
    • GetBLightLevel

      public int GetBLightLevel()
    • SetRLightLevel

      public void SetRLightLevel(int int0)
    • SetGLightLevel

      public void SetGLightLevel(int int0)
    • SetBLightLevel

      public void SetBLightLevel(int int0)
    • getCoords

      public SquareCoord getCoords()
    • setPlayerCutawayFlag

      public void setPlayerCutawayFlag(int int1, int int0, long long0)
    • addPlayerCutawayFlag

      public void addPlayerCutawayFlag(int int2, int int1, long long0)
    • clearPlayerCutawayFlag

      public void clearPlayerCutawayFlag(int int2, int int1, long long0)
    • getPlayerCutawayFlag

      public int getPlayerCutawayFlag(int int0, long long0)
    • setIsDissolved

      public void setIsDissolved(int playerIndex, boolean bDissolved, long currentTimeMillis)
    • getIsDissolved

      public boolean getIsDissolved(int playerIndex, long currentTimeMillis)
    • hasWater

      public boolean hasWater()
    • getWater

      public IsoWaterGeometry getWater()
    • clearWater

      public void clearWater()
    • getPuddles

      public IsoPuddlesGeometry getPuddles()
    • clearPuddles

      public void clearPuddles()
    • getPuddlesInGround

      public float getPuddlesInGround()
    • removeUnderground

      public void removeUnderground()
    • isInsideRectangle

      public boolean isInsideRectangle(int int2, int int0, int int3, int int1)
    • getOcclusionData

      public IsoGridOcclusionData getOcclusionData()
    • getOrCreateOcclusionData

      public IsoGridOcclusionData getOrCreateOcclusionData()
    • softClear

      public void softClear()
    • getGridSneakModifier

      public float getGridSneakModifier(boolean onlySolidTrans)
      Check if there's any object on this grid that has a sneak modifier, we use this to check if we reduce the chance of being spotted while crouching
    • isSomethingTo

      public boolean isSomethingTo(IsoGridSquare other)
    • getTransparentWallTo

      public IsoObject getTransparentWallTo(IsoGridSquare other)
    • isWallTo

      public boolean isWallTo(IsoGridSquare other)
    • isWallTo

      public boolean isWallTo(IsoGridSquare isoGridSquare0, int int0)
    • isWindowTo

      public boolean isWindowTo(IsoGridSquare other)
    • haveDoor

      public boolean haveDoor()
    • hasDoorOnEdge

      public boolean hasDoorOnEdge(IsoDirections edge, boolean ignoreOpen)
    • hasClosedDoorOnEdge

      public boolean hasClosedDoorOnEdge(IsoDirections isoDirections)
    • hasOpenDoorOnEdge

      public boolean hasOpenDoorOnEdge(IsoDirections isoDirections)
    • isDoorTo

      public boolean isDoorTo(IsoGridSquare other)
    • isBlockedTo

      public boolean isBlockedTo(IsoGridSquare other)
    • canReachTo

      public boolean canReachTo(IsoGridSquare isoGridSquare0)
    • isWindowBlockedTo

      public boolean isWindowBlockedTo(IsoGridSquare other)
    • hasBlockedWindow

      public boolean hasBlockedWindow(boolean north)
    • isDoorBlockedTo

      public boolean isDoorBlockedTo(IsoGridSquare other)
    • hasBlockedDoor

      public boolean hasBlockedDoor(boolean north)
    • getCurtain

      public IsoCurtain getCurtain(IsoObjectType curtainType)
    • getHoppable

      public IsoObject getHoppable(boolean north)
    • getHoppableTo

      public IsoObject getHoppableTo(IsoGridSquare next)
    • isHoppableTo

      public boolean isHoppableTo(IsoGridSquare other)
    • discard

      public void discard()
    • DistTo

      public float DistTo(int _x, int _y)
    • DistTo

      public float DistTo(IsoGridSquare sq)
    • DistToProper

      public float DistToProper(int int1, int int0)
    • DistToProper

      public float DistToProper(IsoGridSquare sq)
    • DistTo

      public float DistTo(IsoMovingObject other)
    • DistToProper

      public float DistToProper(IsoMovingObject other)
    • isSafeToSpawn

      public boolean isSafeToSpawn()
    • isSafeToSpawn

      public void isSafeToSpawn(IsoGridSquare sq, int depth)
    • auth

      public static boolean auth(String string0, char[] char0)
    • DoCutawayShader

      public void DoCutawayShader(IsoObject isoObject, IsoDirections isoDirections, int int3, int int6, int int7, int int5, int int4, boolean boolean1, boolean boolean3, boolean boolean2, boolean boolean4, WallShaper wallShaper)
    • DoCutawayShaderSprite

      public void DoCutawayShaderSprite(IsoSprite isoSprite, IsoDirections isoDirections, int int6, int int9, int int10, int int8, int int7)
    • DoWallLightingNW

      public int DoWallLightingNW(IsoObject isoObject, int int0, int int1, int int3, int int4, int int5, int int6, boolean boolean7, boolean boolean8, boolean boolean9, boolean boolean10, Shader shader)
    • DoWallLightingN

      public int DoWallLightingN(IsoObject isoObject, int int0, int int1, int int3, int int4, int int5, int int6, boolean boolean1, boolean boolean3, Shader shader)
    • DoWallLightingW

      public int DoWallLightingW(IsoObject isoObject, int int0, int int3, int int2, int int5, int int1, int int6, boolean boolean1, boolean boolean3, Shader shader)
    • getLuaMovingObjectList

      public se.krka.kahlua.vm.KahluaTable getLuaMovingObjectList()
    • Is

      public boolean Is(IsoFlagType flag)
    • Is

      public boolean Is(String flag)
    • Has

      public boolean Has(IsoObjectType type)
    • DeleteTileObject

      public void DeleteTileObject(IsoObject obj)
    • getLuaTileObjectList

      public se.krka.kahlua.vm.KahluaTable getLuaTileObjectList()
    • HasStairs

      public boolean HasStairs()
    • HasStairsNorth

      public boolean HasStairsNorth()
    • HasStairsWest

      public boolean HasStairsWest()
    • HasStairsBelow

      public boolean HasStairsBelow()
    • HasElevatedFloor

      public boolean HasElevatedFloor()
    • isSameStaircase

      public boolean isSameStaircase(int _x, int _y, int _z)
    • hasRainBlockingTile

      public boolean hasRainBlockingTile()
    • haveRoofFull

      public boolean haveRoofFull()
    • HasSlopedRoof

      public boolean HasSlopedRoof()
    • HasSlopedRoofWest

      public boolean HasSlopedRoofWest()
    • HasSlopedRoofNorth

      public boolean HasSlopedRoofNorth()
    • HasEave

      public boolean HasEave()
    • HasTree

      public boolean HasTree()
    • getTree

      public IsoTree getTree()
    • hasBush

      public boolean hasBush()
    • getBush

      public IsoObject getBush()
    • getBushes

      public List<IsoObject> getBushes()
    • getGrass

      public IsoObject getGrass()
    • hasGrassLike

      public boolean hasGrassLike()
    • getGrassLike

      public List<IsoObject> getGrassLike()
    • shouldSave

      public boolean shouldSave()
    • save

      public void save(ByteBuffer output, ObjectOutputStream outputObj) throws IOException
      Throws:
      IOException
    • save

      public void save(ByteBuffer output, ObjectOutputStream outputObj, boolean IS_DEBUG_SAVE) throws IOException
      Throws:
      IOException
    • isCommonGrass

      public boolean isCommonGrass()
    • toBoolean

      public static boolean toBoolean(byte[] byte0)
    • removeCorpse

      public void removeCorpse(IsoDeadBody body, boolean bRemote)
    • getDeadBody

      public IsoDeadBody getDeadBody()
    • getDeadBodys

      public List<IsoDeadBody> getDeadBodys()
    • addCorpse

      public void addCorpse(IsoDeadBody body, boolean bRemote)
    • getBrokenGlass

      public IsoBrokenGlass getBrokenGlass()
    • addBrokenGlass

      public IsoBrokenGlass addBrokenGlass()
    • getFire

      public IsoFire getFire()
    • getHiddenStash

      public IsoObject getHiddenStash()
    • load

      public void load(ByteBuffer b, int WorldVersion) throws IOException
      Throws:
      IOException
    • load

      public void load(ByteBuffer b, int WorldVersion, boolean IS_DEBUG_SAVE) throws IOException
      Throws:
      IOException
    • scoreAsWaypoint

      public float scoreAsWaypoint(int _x, int _y)
    • InvalidateSpecialObjectPaths

      public void InvalidateSpecialObjectPaths()
    • isSolid

      public boolean isSolid()
    • isSolidTrans

      public boolean isSolidTrans()
    • isFree

      public boolean isFree(boolean bCountOtherCharacters)
    • isFreeOrMidair

      public boolean isFreeOrMidair(boolean bCountOtherCharacters)
    • isFreeOrMidair

      public boolean isFreeOrMidair(boolean bCountOtherCharacters, boolean bDoZombie)
    • connectedWithFloor

      public boolean connectedWithFloor()
      Check if there's at least one solid floor around this tile, used to build wooden floor
    • hasFloor

      public boolean hasFloor(boolean north)
      Check if a tile has a solid floor, used to build stuff at z level > 0 Also gonna check the tile "behind" the one winvalid input: '<'e're trying to build something has a floor (only one is required)
      Parameters:
      north - is the item we're trying to place facing north or not
    • hasFloor

      public boolean hasFloor()
    • isNotBlocked

      public boolean isNotBlocked(boolean bCountOtherCharacters)
    • getDoor

      public IsoObject getDoor(boolean north)
    • getIsoDoor

      public IsoDoor getIsoDoor()
    • getDoorTo

      public IsoObject getDoorTo(IsoGridSquare next)
      Get the door between this grid and the next in parameter
    • getWindow

      public IsoWindow getWindow(boolean north)
    • getWindow

      public IsoWindow getWindow()
    • getWindowTo

      public IsoWindow getWindowTo(IsoGridSquare next)
      Get the IsoWindow window between this grid and the next in parameter
    • isAdjacentToWindow

      public boolean isAdjacentToWindow()
    • isAdjacentToHoppable

      public boolean isAdjacentToHoppable()
    • getThumpableWindow

      public IsoThumpable getThumpableWindow(boolean north)
    • getWindowThumpableTo

      public IsoThumpable getWindowThumpableTo(IsoGridSquare next)
      Get the IsoThumpable window between this grid and the next in parameter
    • getThumpable

      public IsoThumpable getThumpable(boolean boolean0)
    • getHoppableThumpable

      public IsoThumpable getHoppableThumpable(boolean north)
    • getHoppableThumpableTo

      public IsoThumpable getHoppableThumpableTo(IsoGridSquare next)
    • getWallHoppable

      public IsoObject getWallHoppable(boolean north)
    • getWallHoppableTo

      public IsoObject getWallHoppableTo(IsoGridSquare next)
    • getBedTo

      public IsoObject getBedTo(IsoGridSquare next)
    • getWindowFrame

      public IsoWindowFrame getWindowFrame(boolean boolean0)
    • getWindowFrameTo

      public IsoWindowFrame getWindowFrameTo(IsoGridSquare isoGridSquare0)
    • hasWindowFrame

      public boolean hasWindowFrame()
    • hasWindowOrWindowFrame

      public boolean hasWindowOrWindowFrame()
    • getSheetRope

      public IsoObject getSheetRope()
    • damageSpriteSheetRopeFromBottom

      public boolean damageSpriteSheetRopeFromBottom(IsoPlayer player, boolean north)
    • removeSheetRopeFromBottom

      public boolean removeSheetRopeFromBottom(IsoPlayer player, boolean north)
    • testCollideSpecialObjects

      public IsoObject testCollideSpecialObjects(IsoGridSquare next)
    • getDoorFrameTo

      public IsoObject getDoorFrameTo(IsoGridSquare next)
    • getSquaresForThread

      public static void getSquaresForThread(ArrayDeque<IsoGridSquare> isoGridSquareCacheDest, int count)
    • getNew

      public static IsoGridSquare getNew(IsoCell cell, SliceY slice, int _x, int _y, int _z)
    • getNew

      public static IsoGridSquare getNew(ArrayDeque<IsoGridSquare> _isoGridSquareCache, IsoCell cell, SliceY slice, int _x, int _y, int _z)
    • getHashCodeObjects

      @Deprecated public long getHashCodeObjects()
      Deprecated.
    • getHashCodeObjectsInt

      @Deprecated public int getHashCodeObjectsInt()
      Deprecated.
    • recalcHashCodeObjects

      @Deprecated public void recalcHashCodeObjects()
      Deprecated.
    • hashCodeNoOverride

      @Deprecated public int hashCodeNoOverride()
      Deprecated.
    • getTileInDirection

      public IsoGridSquare getTileInDirection(IsoDirections directions)
    • getWall

      public IsoObject getWall()
    • getThumpableWall

      public IsoObject getThumpableWall(boolean bNorth)
    • getHoppableWall

      public IsoObject getHoppableWall(boolean bNorth)
    • getThumpableWallOrHoppable

      public IsoObject getThumpableWallOrHoppable(boolean bNorth)
    • getWallFull

      public Boolean getWallFull()
    • getWallExcludingObject

      public IsoObject getWallExcludingObject(boolean boolean0, IsoObject isoObject1)
    • getWall

      public IsoObject getWall(boolean bNorth)
    • getWallSE

      public IsoObject getWallSE()
    • getWallNW

      public IsoObject getWallNW()
    • getGarageDoor

      public IsoObject getGarageDoor(boolean boolean1)
    • getFloor

      public IsoObject getFloor()
    • getPlayerBuiltFloor

      public IsoObject getPlayerBuiltFloor()
    • getWaterObject

      public IsoObject getWaterObject()
    • interpolateLight

      public void interpolateLight(ColorInfo inf, float _x, float _y)
    • EnsureSurroundNotNull

      public void EnsureSurroundNotNull()
    • setSquareChanged

      public void setSquareChanged()
    • addFloor

      public IsoObject addFloor(String sprite)
    • addUndergroundBlock

      public IsoObject addUndergroundBlock(String string)
    • isUndergroundBlock

      public boolean isUndergroundBlock()
    • AddStairs

      public IsoThumpable AddStairs(boolean boolean1, int int0, String string0, String string1, se.krka.kahlua.vm.KahluaTable kahluaTable)
    • getOpenAir

      public boolean getOpenAir()
    • RecalcAllWithNeighbours

      public void RecalcAllWithNeighbours(boolean bDoReverse)
    • RecalcAllWithNeighbours

      public void RecalcAllWithNeighbours(boolean bDoReverse, IsoGridSquare.GetSquare getter)
    • RecalcAllWithNeighboursMineOnly

      public void RecalcAllWithNeighboursMineOnly()
    • hasSupport

      public boolean hasSupport()
    • getID

      public Integer getID()
      Returns:
      the ID
    • setID

      public void setID(int _ID)
    • DirtySlice

      public void DirtySlice()
    • setHourSeenToCurrent

      public void setHourSeenToCurrent()
    • splatBlood

      public void splatBlood(int dist, float alpha)
    • haveBlood

      public boolean haveBlood()
    • haveBloodWall

      public boolean haveBloodWall()
    • haveBloodFloor

      public boolean haveBloodFloor()
    • haveGrime

      public boolean haveGrime()
    • haveGrimeWall

      public boolean haveGrimeWall()
    • haveGrimeFloor

      public boolean haveGrimeFloor()
    • haveGraffiti

      public boolean haveGraffiti()
    • getGraffitiObject

      public IsoObject getGraffitiObject()
    • haveStains

      public boolean haveStains()
    • removeGrime

      public void removeGrime()
    • removeGraffiti

      public void removeGraffiti()
    • removeBlood

      public void removeBlood(boolean remote, boolean onlyWall)
    • DoSplat

      public void DoSplat(String id, boolean bFlip, IsoFlagType prop, float offX, float offZ, float alpha)
    • ClearTileObjects

      public void ClearTileObjects()
    • ClearTileObjectsExceptFloor

      public void ClearTileObjectsExceptFloor()
    • RemoveTileObject

      public int RemoveTileObject(IsoObject obj)
    • RemoveTileObjectErosionNoRecalc

      public int RemoveTileObjectErosionNoRecalc(IsoObject obj)
    • AddSpecialObject

      public void AddSpecialObject(IsoObject obj)
    • AddSpecialObject

      public void AddSpecialObject(IsoObject obj, int index)
    • AddTileObject

      public void AddTileObject(IsoObject obj)
    • AddTileObject

      public void AddTileObject(IsoObject obj, int index)
    • placeWallAndDoorCheck

      public int placeWallAndDoorCheck(IsoObject obj, int index)
    • transmitAddObjectToSquare

      public void transmitAddObjectToSquare(IsoObject obj, int index)
    • transmitRemoveItemFromSquare

      public int transmitRemoveItemFromSquare(IsoObject obj)
    • transmitRemoveItemFromSquareOnClients

      public void transmitRemoveItemFromSquareOnClients(IsoObject isoObject)
    • transmitModdata

      public void transmitModdata()
    • AddWorldInventoryItem

      public void AddWorldInventoryItem(String String, float _x, float _y, float height, int nbr)
    • AddWorldInventoryItem

      public InventoryItem AddWorldInventoryItem(String String, float _x, float _y, float height)
    • AddWorldInventoryItem

      public InventoryItem AddWorldInventoryItem(String string, float float0, float float1, float float2, boolean boolean0)
    • AddWorldInventoryItem

      public InventoryItem AddWorldInventoryItem(InventoryItem item, float _x, float _y, float height)
    • createAnimalCorpseFromItem

      public IsoDeadBody createAnimalCorpseFromItem(InventoryItem inventoryItem)
    • AddWorldInventoryItem

      public InventoryItem AddWorldInventoryItem(InventoryItem item, float _x, float _y, float height, boolean transmit)
    • restackSheetRope

      public void restackSheetRope()
    • Burn

      public void Burn()
    • Burn

      public void Burn(boolean explode)
    • BurnWalls

      public void BurnWalls(boolean explode)
    • BurnWallsTCOnly

      public void BurnWallsTCOnly()
    • BurnTick

      public void BurnTick()
    • CalculateCollide

      public boolean CalculateCollide(IsoGridSquare gridSquare, boolean bVision, boolean bPathfind, boolean bIgnoreSolidTrans)
    • CalculateCollide

      public boolean CalculateCollide(IsoGridSquare gridSquare, boolean bVision, boolean bPathfind, boolean bIgnoreSolidTrans, boolean bIgnoreSolid)
    • CalculateCollide

      public boolean CalculateCollide(IsoGridSquare gridSquare, boolean bVision, boolean bPathfind, boolean bIgnoreSolidTrans, boolean bIgnoreSolid, IsoGridSquare.GetSquare getter)
    • CalculateVisionBlocked

      public boolean CalculateVisionBlocked(IsoGridSquare gridSquare)
    • CalculateVisionBlocked

      public boolean CalculateVisionBlocked(IsoGridSquare gridSquare, IsoGridSquare.GetSquare getter)
    • FindFriend

      public IsoGameCharacter FindFriend(IsoGameCharacter g, int range, Stack<IsoGameCharacter> EnemyList)
    • FindEnemy

      public IsoGameCharacter FindEnemy(IsoGameCharacter g, int range, ArrayList<IsoMovingObject> EnemyList, IsoGameCharacter RangeTest, int TestRangeMax)
    • FindEnemy

      public IsoGameCharacter FindEnemy(IsoGameCharacter g, int range, ArrayList<IsoMovingObject> EnemyList)
    • getX

      public int getX()
    • getY

      public int getY()
    • getZ

      public int getZ()
    • RecalcProperties

      public void RecalcProperties()
    • RecalcPropertiesIfNeeded

      public void RecalcPropertiesIfNeeded()
    • ReCalculateCollide

      public void ReCalculateCollide(IsoGridSquare square)
    • ReCalculateCollide

      public void ReCalculateCollide(IsoGridSquare square, IsoGridSquare.GetSquare getter)
    • ReCalculatePathFind

      public void ReCalculatePathFind(IsoGridSquare square)
    • ReCalculatePathFind

      public void ReCalculatePathFind(IsoGridSquare square, IsoGridSquare.GetSquare getter)
    • ReCalculateVisionBlocked

      public void ReCalculateVisionBlocked(IsoGridSquare square)
    • ReCalculateVisionBlocked

      public void ReCalculateVisionBlocked(IsoGridSquare square, IsoGridSquare.GetSquare getter)
    • testCollideAdjacent

      public boolean testCollideAdjacent(IsoMovingObject collideObject, int _x, int _y, int _z)
    • testCollideAdjacentAdvanced

      public boolean testCollideAdjacentAdvanced(int _x, int _y, int _z, boolean ignoreDoors)
    • setCollisionMode

      public static void setCollisionMode()
    • testPathFindAdjacent

      public boolean testPathFindAdjacent(IsoMovingObject mover, int _x, int _y, int _z)
    • testPathFindAdjacent

      public boolean testPathFindAdjacent(IsoMovingObject mover, int _x, int _y, int _z, IsoGridSquare.GetSquare getter)
    • testVisionAdjacent

      public LosUtil.TestResults testVisionAdjacent(int _x, int _y, int _z, boolean specialDiag, boolean bIgnoreDoors)
    • TreatAsSolidFloor

      public boolean TreatAsSolidFloor()
    • AddSpecialTileObject

      public void AddSpecialTileObject(IsoObject obj)
    • renderCharacters

      public void renderCharacters(int maxZ, boolean deadRender, boolean doBlendFunc)
    • renderDeferredCharacters

      public void renderDeferredCharacters(int maxZ)
    • switchLight

      public void switchLight(boolean active)
    • removeLightSwitch

      public void removeLightSwitch()
    • IsOnScreen

      public boolean IsOnScreen()
    • IsOnScreen

      public boolean IsOnScreen(boolean halfTileBorder)
    • startWaterSplash

      public void startWaterSplash(boolean boolean0, float float0, float float1)
    • startWaterSplash

      public void startWaterSplash(boolean boolean0)
    • shouldRenderFishSplash

      public boolean shouldRenderFishSplash(int int0)
    • getLightInfo

      public ColorInfo getLightInfo(int int0)
    • cacheLightInfo

      public void cacheLightInfo()
    • setLightInfoServerGUIOnly

      public void setLightInfoServerGUIOnly(ColorInfo c)
    • renderFloor

      public int renderFloor(Shader shader)
    • renderRainSplash

      public void renderRainSplash(int int0, ColorInfo colorInfo)
    • renderRainSplash

      public void renderRainSplash(int int0, ColorInfo colorInfo, float float0, boolean boolean0)
    • renderFishSplash

      public void renderFishSplash(int int0, ColorInfo colorInfo)
    • isSpriteOnSouthOrEastWall

      public boolean isSpriteOnSouthOrEastWall(IsoObject isoObject)
    • RenderOpenDoorOnly

      public void RenderOpenDoorOnly()
    • RenderMinusFloorFxMask

      public boolean RenderMinusFloorFxMask(int maxZ, boolean doSE, boolean vegitationRender)
    • isWindowOrWindowFrame

      public boolean isWindowOrWindowFrame(IsoObject isoObject, boolean boolean0)
    • renderMinusFloor

      public boolean renderMinusFloor(int int0, boolean boolean1, boolean boolean2, int int1, int int2, int int3, int int4, int int5, Shader shader)
    • getContainerItem

      public IsoObject getContainerItem(String type)
    • StartFire

      @Deprecated public void StartFire()
      Deprecated.
    • explode

      public void explode()
    • getHourLastSeen

      public int getHourLastSeen()
    • getHoursSinceLastSeen

      public float getHoursSinceLastSeen()
    • CalcVisibility

      public void CalcVisibility(int playerIndex)
    • getZombie

      public IsoZombie getZombie()
    • getPlayer

      public IsoPlayer getPlayer()
    • getDarkStep

      public static float getDarkStep()
      Returns:
      the darkStep
    • setDarkStep

      public static void setDarkStep(float aDarkStep)
    • getRecalcLightTime

      public static float getRecalcLightTime()
    • setRecalcLightTime

      public static void setRecalcLightTime(float float0)
    • getLightcache

      public static int getLightcache()
      Returns:
      the lightcache
    • setLightcache

      public static void setLightcache(int aLightcache)
    • isCouldSee

      public boolean isCouldSee(int playerIndex)
      Returns:
      the bCouldSee
    • setCouldSee

      public void setCouldSee(int playerIndex, boolean bCouldSee)
    • isCanSee

      public boolean isCanSee(int playerIndex)
      Returns:
      the canSee
    • setCanSee

      public void setCanSee(int playerIndex, boolean canSee)
    • getCell

      public IsoCell getCell()
      Returns:
      the getCell()
    • getE

      public IsoGridSquare getE()
      Returns:
      the e
    • setE

      public void setE(IsoGridSquare _e)
    • getLightInfluenceB

      public ArrayList<Float> getLightInfluenceB()
      Returns:
      the LightInfluenceB
    • setLightInfluenceB

      public void setLightInfluenceB(ArrayList<Float> _LightInfluenceB)
    • getLightInfluenceG

      public ArrayList<Float> getLightInfluenceG()
      Returns:
      the LightInfluenceG
    • setLightInfluenceG

      public void setLightInfluenceG(ArrayList<Float> _LightInfluenceG)
    • getLightInfluenceR

      public ArrayList<Float> getLightInfluenceR()
      Returns:
      the LightInfluenceR
    • setLightInfluenceR

      public void setLightInfluenceR(ArrayList<Float> _LightInfluenceR)
    • getStaticMovingObjects

      public ArrayList<IsoMovingObject> getStaticMovingObjects()
      Returns:
      the StaticMovingObjects
    • getMovingObjects

      public ArrayList<IsoMovingObject> getMovingObjects()
      Returns:
      the MovingObjects
    • getN

      public IsoGridSquare getN()
      Returns:
      the n
    • setN

      public void setN(IsoGridSquare _n)
    • getObjects

      public PZArrayList<IsoObject> getObjects()
      Returns:
      the Objects
    • getProperties

      public PropertyContainer getProperties()
      Returns:
      the Properties
    • getRoom

      public IsoRoom getRoom()
      Returns:
      the room
    • setRoom

      public void setRoom(IsoRoom _room)
    • getBuilding

      public IsoBuilding getBuilding()
    • getS

      public IsoGridSquare getS()
      Returns:
      the s
    • setS

      public void setS(IsoGridSquare _s)
    • getSpecialObjects

      public ArrayList<IsoObject> getSpecialObjects()
      Returns:
      the SpecialObjects
    • getW

      public IsoGridSquare getW()
      Returns:
      the w
    • setW

      public void setW(IsoGridSquare _w)
    • getLampostTotalR

      public float getLampostTotalR()
      Returns:
      the lampostTotalR
    • setLampostTotalR

      public void setLampostTotalR(float lampostTotalR)
    • getLampostTotalG

      public float getLampostTotalG()
      Returns:
      the lampostTotalG
    • setLampostTotalG

      public void setLampostTotalG(float lampostTotalG)
    • getLampostTotalB

      public float getLampostTotalB()
      Returns:
      the lampostTotalB
    • setLampostTotalB

      public void setLampostTotalB(float lampostTotalB)
    • isSeen

      public boolean isSeen(int playerIndex)
      Returns:
      the bSeen
    • setIsSeen

      public void setIsSeen(int playerIndex, boolean bSeen)
    • getDarkMulti

      public float getDarkMulti(int playerIndex)
      Returns:
      the darkMulti
    • setDarkMulti

      public void setDarkMulti(int playerIndex, float darkMulti)
    • getTargetDarkMulti

      public float getTargetDarkMulti(int playerIndex)
      Returns:
      the targetDarkMulti
    • setTargetDarkMulti

      public void setTargetDarkMulti(int playerIndex, float targetDarkMulti)
    • setX

      public void setX(int _x)
    • setY

      public void setY(int _y)
    • setZ

      public void setZ(int _z)
    • getDeferedCharacters

      public ArrayList<IsoGameCharacter> getDeferedCharacters()
      Returns:
      the DeferedCharacters
    • addDeferredCharacter

      public void addDeferredCharacter(IsoGameCharacter chr)
    • isCacheIsFree

      public boolean isCacheIsFree()
      Returns:
      the CacheIsFree
    • setCacheIsFree

      public void setCacheIsFree(boolean _CacheIsFree)
    • isCachedIsFree

      public boolean isCachedIsFree()
      Returns:
      the CachedIsFree
    • setCachedIsFree

      public void setCachedIsFree(boolean _CachedIsFree)
    • isbDoSlowPathfinding

      public static boolean isbDoSlowPathfinding()
      Returns:
      the bDoSlowPathfinding
    • setbDoSlowPathfinding

      public static void setbDoSlowPathfinding(boolean abDoSlowPathfinding)
    • isSolidFloorCached

      public boolean isSolidFloorCached()
      Returns:
      the SolidFloorCached
    • setSolidFloorCached

      public void setSolidFloorCached(boolean _SolidFloorCached)
    • isSolidFloor

      public boolean isSolidFloor()
      Returns:
      the SolidFloor
    • setSolidFloor

      public void setSolidFloor(boolean _SolidFloor)
    • getDefColorInfo

      public static ColorInfo getDefColorInfo()
      Returns:
      the defColorInfo
    • isOutside

      public boolean isOutside()
    • HasPushable

      public boolean HasPushable()
    • setRoomID

      public void setRoomID(long long0)
    • getRoomID

      public long getRoomID()
    • getCanSee

      public boolean getCanSee(int playerIndex)
    • getSeen

      public boolean getSeen(int playerIndex)
    • getChunk

      public IsoChunk getChunk()
    • getDoorOrWindow

      public IsoObject getDoorOrWindow(boolean north)
    • getDoorOrWindowOrWindowFrame

      public IsoObject getDoorOrWindowOrWindowFrame(IsoDirections dir, boolean ignoreOpen)
    • getOpenDoor

      public IsoObject getOpenDoor(IsoDirections dir)
    • removeWorldObject

      public void removeWorldObject(IsoWorldInventoryObject object)
    • removeAllWorldObjects

      public void removeAllWorldObjects()
    • getWorldObjects

      public ArrayList<IsoWorldInventoryObject> getWorldObjects()
    • getNextNonItemObjectIndex

      public int getNextNonItemObjectIndex(int int1)
    • getLocalTemporaryObjects

      public PZArrayList<IsoObject> getLocalTemporaryObjects()
    • getModData

      public se.krka.kahlua.vm.KahluaTable getModData()
    • hasModData

      public boolean hasModData()
    • getHasTypes

      public ZomboidBitFlag getHasTypes()
    • setVertLight

      public void setVertLight(int i, int _col, int playerIndex)
    • getVertLight

      public int getVertLight(int i, int playerIndex)
    • setRainDrop

      public void setRainDrop(IsoRaindrop drop)
    • getRainDrop

      public IsoRaindrop getRainDrop()
    • setRainSplash

      public void setRainSplash(IsoRainSplash splash)
    • getRainSplash

      public IsoRainSplash getRainSplash()
    • getZone

      public Zone getZone()
    • getZoneType

      public String getZoneType()
    • isOverlayDone

      public boolean isOverlayDone()
    • setOverlayDone

      public void setOverlayDone(boolean _overlayDone)
    • getErosionData

      public ErosionData.Square getErosionData()
    • disableErosion

      public void disableErosion()
    • removeErosionObject

      public void removeErosionObject(String type)
    • syncIsoTrap

      public void syncIsoTrap(HandWeapon weapon)
    • drawCircleExplosion

      public void drawCircleExplosion(int radius, IsoTrap trap, IsoTrap.ExplosionMode explosionMode)
    • explosion

      public void explosion(IsoTrap trap)
    • smoke

      public void smoke()
    • explodeTrap

      public void explodeTrap()
    • getTrapPositionX

      public int getTrapPositionX()
    • setTrapPositionX

      public void setTrapPositionX(int _trapPositionX)
    • getTrapPositionY

      public int getTrapPositionY()
    • setTrapPositionY

      public void setTrapPositionY(int _trapPositionY)
    • getTrapPositionZ

      public int getTrapPositionZ()
    • setTrapPositionZ

      public void setTrapPositionZ(int _trapPositionZ)
    • haveElectricity

      public boolean haveElectricity()
    • setHaveElectricity

      @Deprecated public void setHaveElectricity(boolean haveElectricity)
      Deprecated.
    • getGenerator

      public IsoGenerator getGenerator()
    • stopFire

      public void stopFire()
    • transmitStopFire

      public void transmitStopFire()
    • playSound

      public long playSound(String file)
    • playSoundLocal

      public long playSoundLocal(String string)
    • playSound

      @Deprecated public long playSound(String file, boolean doWorldSound)
      Deprecated.
    • FixStackableObjects

      public void FixStackableObjects()
    • fixPlacedItemRenderOffsets

      public void fixPlacedItemRenderOffsets()
    • getVehicleContainer

      public BaseVehicle getVehicleContainer()
    • isVehicleIntersecting

      public boolean isVehicleIntersecting()
    • isVehicleIntersectingCrops

      public boolean isVehicleIntersectingCrops()
    • checkForIntersectingCrops

      public void checkForIntersectingCrops(BaseVehicle baseVehicle)
    • getCompost

      public IsoCompost getCompost()
    • setIsoWorldRegion

      public void setIsoWorldRegion(IsoWorldRegion mr)
    • getIsoWorldRegion

      public IWorldRegion getIsoWorldRegion()
    • ResetIsoWorldRegion

      public void ResetIsoWorldRegion()
    • isInARoom

      public boolean isInARoom()
    • getRoomSize

      public int getRoomSize()
    • getWallType

      public int getWallType()
    • getPuddlesDir

      public int getPuddlesDir()
    • haveFire

      public boolean haveFire()
    • getRoofHideBuilding

      public IsoBuilding getRoofHideBuilding()
    • getAdjacentSquare

      public IsoGridSquare getAdjacentSquare(IsoDirections dir)
    • getAdjacentPathSquare

      public IsoGridSquare getAdjacentPathSquare(IsoDirections dir)
    • getApparentZ

      public float getApparentZ(float dx, float dy)
    • getStairsDirection

      public IsoDirections getStairsDirection()
    • getStairsHeightMax

      public float getStairsHeightMax()
    • getStairsHeightMin

      public float getStairsHeightMin()
    • getStairsHeight

      public float getStairsHeight(IsoDirections isoDirections1)
    • isStairsEdgeBlocked

      public boolean isStairsEdgeBlocked(IsoDirections isoDirections1)
    • hasSlopedSurface

      public boolean hasSlopedSurface()
    • getSlopedSurfaceDirection

      public IsoDirections getSlopedSurfaceDirection()
    • hasIdenticalSlopedSurface

      public boolean hasIdenticalSlopedSurface(IsoGridSquare isoGridSquare0)
    • getSlopedSurfaceHeightMin

      public float getSlopedSurfaceHeightMin()
    • getSlopedSurfaceHeightMax

      public float getSlopedSurfaceHeightMax()
    • getSlopedSurfaceHeight

      public float getSlopedSurfaceHeight(float float0, float float1)
    • getSlopedSurfaceHeight

      public float getSlopedSurfaceHeight(IsoDirections isoDirections1)
    • isSlopedSurfaceEdgeBlocked

      public boolean isSlopedSurfaceEdgeBlocked(IsoDirections isoDirections1)
    • hasSlopedSurfaceToLevelAbove

      public boolean hasSlopedSurfaceToLevelAbove(IsoDirections isoDirections1)
    • getTotalWeightOfItemsOnFloor

      public float getTotalWeightOfItemsOnFloor()
    • getCollideMatrix

      public boolean getCollideMatrix(int dx, int dy, int dz)
    • getPathMatrix

      public boolean getPathMatrix(int dx, int dy, int dz)
    • getVisionMatrix

      public boolean getVisionMatrix(int dx, int dy, int dz)
    • checkRoomSeen

      public void checkRoomSeen(int playerIndex)
    • hasFlies

      public boolean hasFlies()
    • setHasFlies

      public void setHasFlies(boolean hasFlies)
    • getLightLevel

      public float getLightLevel(int playerIndex)
    • getLightLevel2

      public float getLightLevel2()
    • getAnimals

      public ArrayList<IsoAnimal> getAnimals()
    • checkHaveGrass

      public boolean checkHaveGrass()
    • checkHaveDung

      public boolean checkHaveDung()
    • removeAllDung

      public ArrayList<InventoryItem> removeAllDung()
    • removeGrass

      public boolean removeGrass()
    • getZombieCount

      public int getZombieCount()
    • getSquareRegion

      public String getSquareRegion()
    • containsVegetation

      public boolean containsVegetation()
    • getAnimalTrack

      public IsoAnimalTrack getAnimalTrack()
    • hasTrashReceptacle

      public boolean hasTrashReceptacle()
    • hasTrash

      public boolean hasTrash()
    • getTrashReceptacle

      public IsoObject getTrashReceptacle()
    • isExtraFreeSquare

      public boolean isExtraFreeSquare()
    • getRandomAdjacentFreeSameRoom

      public IsoGridSquare getRandomAdjacentFreeSameRoom()
    • getZombiesType

      public String getZombiesType()
    • getLootZone

      public String getLootZone()
    • addTileObject

      public IsoObject addTileObject(String string)
    • hasSand

      public boolean hasSand()
    • hasDirt

      public boolean hasDirt()
    • hasNaturalFloor

      public boolean hasNaturalFloor()
    • dirtStamp

      public void dirtStamp()
    • getRandomAdjacent

      public IsoGridSquare getRandomAdjacent()
    • isAdjacentTo

      public boolean isAdjacentTo(IsoGridSquare isoGridSquare1)
    • hasFireObject

      public boolean hasFireObject()
    • hasAdjacentFireObject

      public boolean hasAdjacentFireObject()
    • addGrindstone

      public void addGrindstone()
    • addMetalBandsaw

      public void addMetalBandsaw()
    • addStandingDrillPress

      public void addStandingDrillPress()
    • addFreezer

      public void addFreezer()
    • addFloodLights

      public void addFloodLights()
    • addSpinningWheel

      public void addSpinningWheel()
    • addLoom

      public void addLoom()
    • addHandPress

      public void addHandPress()
    • addWorkstationEntity

      public IsoThumpable addWorkstationEntity(String string0, String string1)
    • addWorkstationEntity

      public IsoThumpable addWorkstationEntity(GameEntityScript gameEntityScript, String string)
    • addWorkstationEntity

      public void addWorkstationEntity(IsoThumpable isoThumpable, GameEntityScript gameEntityScript)
    • isDoorSquare

      public boolean isDoorSquare()
    • isWallSquare

      public boolean isWallSquare()
    • isWallSquareNW

      public boolean isWallSquareNW()
    • isFreeWallSquare

      public boolean isFreeWallSquare()
    • isDoorOrWallSquare

      public boolean isDoorOrWallSquare()
    • spawnRandomRuralWorkstation

      public void spawnRandomRuralWorkstation()
    • spawnRandomWorkstation

      public void spawnRandomWorkstation()
    • isRural

      public boolean isRural()
    • isFreeWallPair

      public boolean isFreeWallPair(IsoDirections isoDirections, boolean boolean1)
    • isGoodSquare

      public boolean isGoodSquare()
    • isWaterSquare

      public boolean isWaterSquare()
    • isGoodOutsideSquare

      public boolean isGoodOutsideSquare()
    • addStump

      public void addStump()
    • setBlendFunc

      public static void setBlendFunc()
    • invalidateRenderChunkLevel

      public void invalidateRenderChunkLevel(long long0)
    • invalidateVispolyChunkLevel

      public void invalidateVispolyChunkLevel()
    • getHutchTiles

      public ArrayList<IsoHutch> getHutchTiles()
    • getHutch

      public IsoHutch getHutch()
    • getSquareZombiesType

      public String getSquareZombiesType()
    • hasRoomDef

      public boolean hasRoomDef()
    • spawnRandomGenerator

      public void spawnRandomGenerator()
    • spawnRandomNewGenerator

      public void spawnRandomNewGenerator()
    • hasGrave

      public boolean hasGrave()
    • hasFarmingPlant

      public boolean hasFarmingPlant()
    • getFarmingPlant

      public GlobalObject getFarmingPlant()
    • destroyFarmingPlant

      public void destroyFarmingPlant()
    • hasLitCampfire

      public boolean hasLitCampfire()
    • getCampfire

      public GlobalObject getCampfire()
    • putOutCampfire

      public void putOutCampfire()
    • getFirstBlocking

      public IsoGridSquareCollisionData getFirstBlocking(IsoGridSquareCollisionData isoGridSquareCollisionData, int int2, int int1, int int0, boolean boolean0, boolean boolean1)
    • canSpawnVermin

      public boolean canSpawnVermin()
    • isNoGas

      public boolean isNoGas()
    • getButcherHook

      public IsoButcherHook getButcherHook()
    • isShop

      public boolean isShop()
    • hasFireplace

      public boolean hasFireplace()
    • addCorpse

      public IsoDeadBody addCorpse()
    • addCorpse

      public IsoDeadBody addCorpse(boolean boolean0)
    • createCorpse

      public IsoDeadBody createCorpse(boolean boolean0)
    • createCorpse

      public IsoDeadBody createCorpse(IsoZombie isoZombie)
    • createCorpse

      public IsoDeadBody createCorpse(IsoZombie isoZombie, boolean boolean0)
    • getBed

      public IsoObject getBed()
    • getPuddleFloor

      public IsoObject getPuddleFloor()