Class IsoGridSquare
java.lang.Object
zombie.iso.IsoGridSquare
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static final class
static final class
static interface
static interface
static final class
static final class
static class
static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
static float
float
float
static final IsoGridSquare.CellGetSquare
static final ArrayList
<IsoGridSquare> static boolean
int
static float
static int
long
boolean
boolean
int
static int
boolean
static final ConcurrentLinkedQueue
<IsoGridSquare> static boolean
boolean
boolean
final IsoGridSquare.ILighting[]
int
static ArrayDeque
<IsoGridSquare> protected final PZArrayList
<IsoObject> final IsoGridSquare[]
protected final PZArrayList
<IsoObject> int
int
static final byte
static final byte
static final byte
boolean
static float
static float
long
boolean
boolean
static boolean
static boolean
int
static final int
static final int
static final int
static final int
int
int
int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCorpse
(boolean boolean0) void
addCorpse
(IsoDeadBody body, boolean bRemote) void
void
void
void
void
void
addLoom()
void
void
addPlayerCutawayFlag
(int int2, int int1, long long0) void
void
AddSpecialObject
(IsoObject obj, int index) void
void
AddStairs
(boolean boolean1, int int0, String string0, String string1, se.krka.kahlua.vm.KahluaTable kahluaTable) void
void
addStump()
addTileObject
(String string) void
AddTileObject
(IsoObject obj) void
AddTileObject
(IsoObject obj, int index) addUndergroundBlock
(String string) addWorkstationEntity
(String string0, String string1) void
addWorkstationEntity
(IsoThumpable isoThumpable, GameEntityScript gameEntityScript) addWorkstationEntity
(GameEntityScript gameEntityScript, String string) AddWorldInventoryItem
(String String, float _x, float _y, float height) AddWorldInventoryItem
(String string, float float0, float float1, float float2, boolean boolean0) void
AddWorldInventoryItem
(String String, float _x, float _y, float height, int nbr) AddWorldInventoryItem
(InventoryItem item, float _x, float _y, float height) AddWorldInventoryItem
(InventoryItem item, float _x, float _y, float height, boolean transmit) static boolean
void
Burn()
void
Burn
(boolean explode) void
BurnTick()
void
BurnWalls
(boolean explode) void
void
boolean
CalculateCollide
(IsoGridSquare gridSquare, boolean bVision, boolean bPathfind, boolean bIgnoreSolidTrans) boolean
CalculateCollide
(IsoGridSquare gridSquare, boolean bVision, boolean bPathfind, boolean bIgnoreSolidTrans, boolean bIgnoreSolid) boolean
CalculateCollide
(IsoGridSquare gridSquare, boolean bVision, boolean bPathfind, boolean bIgnoreSolidTrans, boolean bIgnoreSolid, IsoGridSquare.GetSquare getter) boolean
CalculateVisionBlocked
(IsoGridSquare gridSquare) boolean
CalculateVisionBlocked
(IsoGridSquare gridSquare, IsoGridSquare.GetSquare getter) void
CalcVisibility
(int playerIndex) boolean
canReachTo
(IsoGridSquare isoGridSquare0) boolean
void
checkForIntersectingCrops
(BaseVehicle baseVehicle) boolean
boolean
void
checkRoomSeen
(int playerIndex) void
clearPlayerCutawayFlag
(int int2, int int1, long long0) void
void
void
void
boolean
Check if there's at least one solid floor around this tile, used to build wooden floorboolean
createAnimalCorpseFromItem
(InventoryItem inventoryItem) createCorpse
(boolean boolean0) createCorpse
(IsoZombie isoZombie) createCorpse
(IsoZombie isoZombie, boolean boolean0) boolean
damageSpriteSheetRopeFromBottom
(IsoPlayer player, boolean north) void
void
void
void
void
void
discard()
float
DistTo
(int _x, int _y) float
DistTo
(IsoGridSquare sq) float
DistTo
(IsoMovingObject other) float
DistToProper
(int int1, int int0) float
float
DistToProper
(IsoMovingObject other) 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) void
DoCutawayShaderSprite
(IsoSprite isoSprite, IsoDirections isoDirections, int int6, int int9, int int10, int int8, int int7) void
DoSplat
(String id, boolean bFlip, IsoFlagType prop, float offX, float offZ, float alpha) int
DoWallLightingN
(IsoObject isoObject, int int0, int int1, int int3, int int4, int int5, int int6, boolean boolean1, boolean boolean3, Shader shader) 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) int
DoWallLightingW
(IsoObject isoObject, int int0, int int3, int int2, int int5, int int1, int int6, boolean boolean1, boolean boolean3, Shader shader) void
drawCircleExplosion
(int radius, IsoTrap trap, IsoTrap.ExplosionMode explosionMode) void
void
explode()
void
void
FindEnemy
(IsoGameCharacter g, int range, ArrayList<IsoMovingObject> EnemyList) FindEnemy
(IsoGameCharacter g, int range, ArrayList<IsoMovingObject> EnemyList, IsoGameCharacter RangeTest, int TestRangeMax) FindFriend
(IsoGameCharacter g, int range, Stack<IsoGameCharacter> EnemyList) void
void
float
getApparentZ
(float dx, float dy) getBed()
getBedTo
(IsoGridSquare next) int
getBush()
boolean
getCanSee
(int playerIndex) getCell()
getChunk()
boolean
getCollideMatrix
(int dx, int dy, int dz) getContainerItem
(String type) getCurtain
(IsoObjectType curtainType) float
getDarkMulti
(int playerIndex) static float
static ColorInfo
getDoor
(boolean north) getDoorFrameTo
(IsoGridSquare next) getDoorOrWindow
(boolean north) getDoorOrWindowOrWindowFrame
(IsoDirections dir, boolean ignoreOpen) getDoorTo
(IsoGridSquare next) Get the door between this grid and the next in parametergetE()
getFire()
getFirstBlocking
(IsoGridSquareCollisionData isoGridSquareCollisionData, int int2, int int1, int int0, boolean boolean0, boolean boolean1) getFloor()
getGarageDoor
(boolean boolean1) int
getGrass()
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 crouchinglong
Deprecated.int
Deprecated.getHoppable
(boolean north) getHoppableThumpable
(boolean north) getHoppableTo
(IsoGridSquare next) getHoppableWall
(boolean bNorth) int
float
getHutch()
getID()
boolean
getIsDissolved
(int playerIndex, long currentTimeMillis) float
float
float
static int
getLightInfo
(int int0) float
getLightLevel
(int playerIndex) float
se.krka.kahlua.vm.KahluaTable
se.krka.kahlua.vm.KahluaTable
static boolean
getMatrixBit
(int matrix, byte _x, byte _y, byte _z) static boolean
getMatrixBit
(int matrix, int _x, int _y, int _z) se.krka.kahlua.vm.KahluaTable
getN()
static IsoGridSquare
getNew
(ArrayDeque<IsoGridSquare> _isoGridSquareCache, IsoCell cell, SliceY slice, int _x, int _y, int _z) static IsoGridSquare
int
getNextNonItemObjectIndex
(int int1) boolean
getOpenDoor
(IsoDirections dir) boolean
getPathMatrix
(int dx, int dy, int dz) int
getPlayerCutawayFlag
(int int0, long long0) int
float
static float
int
getRoom()
long
int
getS()
boolean
getSeen
(int playerIndex) float
getSlopedSurfaceHeight
(float float0, float float1) float
getSlopedSurfaceHeight
(IsoDirections isoDirections1) float
float
static void
getSquaresForThread
(ArrayDeque<IsoGridSquare> isoGridSquareCacheDest, int count) float
getStairsHeight
(IsoDirections isoDirections1) float
float
float
getTargetDarkMulti
(int playerIndex) getThumpable
(boolean boolean0) getThumpableWall
(boolean bNorth) getThumpableWallOrHoppable
(boolean bNorth) getThumpableWindow
(boolean north) getTileInDirection
(IsoDirections directions) float
int
int
int
getTree()
int
getVertLight
(int i, int playerIndex) boolean
getVisionMatrix
(int dx, int dy, int dz) getW()
getWall()
getWall
(boolean bNorth) getWallExcludingObject
(boolean boolean0, IsoObject isoObject1) getWallHoppable
(boolean north) int
getWater()
getWindow
(boolean north) getWindowFrame
(boolean boolean0) getWindowFrameTo
(IsoGridSquare isoGridSquare0) Get the IsoThumpable window between this grid and the next in parametergetWindowTo
(IsoGridSquare next) Get the IsoWindow window between this grid and the next in parameterint
getX()
int
getY()
int
getZ()
int
getZone()
boolean
Has
(IsoObjectType type) boolean
boolean
hasBlockedDoor
(boolean north) boolean
hasBlockedWindow
(boolean north) boolean
hasBush()
boolean
hasClosedDoorOnEdge
(IsoDirections isoDirections) boolean
hasDirt()
boolean
hasDoorOnEdge
(IsoDirections edge, boolean ignoreOpen) boolean
HasEave()
boolean
boolean
boolean
boolean
boolean
hasFlies()
boolean
hasFloor()
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)boolean
boolean
hasGrave()
int
Deprecated.boolean
hasIdenticalSlopedSurface
(IsoGridSquare isoGridSquare0) boolean
boolean
boolean
boolean
hasOpenDoorOnEdge
(IsoDirections isoDirections) boolean
boolean
boolean
boolean
hasSand()
boolean
boolean
boolean
boolean
boolean
hasSlopedSurfaceToLevelAbove
(IsoDirections isoDirections1) boolean
boolean
boolean
boolean
boolean
boolean
hasTrash()
boolean
boolean
HasTree()
boolean
hasWater()
boolean
boolean
boolean
boolean
boolean
boolean
haveDoor()
boolean
boolean
haveFire()
boolean
boolean
boolean
boolean
boolean
boolean
void
interpolateLight
(ColorInfo inf, float _x, float _y) void
invalidateRenderChunkLevel
(long long0) void
void
boolean
boolean
Is
(IsoFlagType flag) boolean
isAdjacentTo
(IsoGridSquare isoGridSquare1) boolean
boolean
static boolean
boolean
isBlockedTo
(IsoGridSquare other) boolean
boolean
boolean
isCanSee
(int playerIndex) boolean
boolean
isCouldSee
(int playerIndex) boolean
isDoorBlockedTo
(IsoGridSquare other) boolean
boolean
boolean
isDoorTo
(IsoGridSquare other) boolean
boolean
isFree
(boolean bCountOtherCharacters) boolean
isFreeOrMidair
(boolean bCountOtherCharacters) boolean
isFreeOrMidair
(boolean bCountOtherCharacters, boolean bDoZombie) boolean
isFreeWallPair
(IsoDirections isoDirections, boolean boolean1) boolean
boolean
boolean
boolean
isHoppableTo
(IsoGridSquare other) boolean
boolean
isInsideRectangle
(int int2, int int0, int int3, int int1) boolean
isNoGas()
boolean
isNotBlocked
(boolean bCountOtherCharacters) boolean
boolean
IsOnScreen
(boolean halfTileBorder) boolean
boolean
boolean
isRural()
boolean
void
isSafeToSpawn
(IsoGridSquare sq, int depth) boolean
isSameStaircase
(int _x, int _y, int _z) boolean
isSeen
(int playerIndex) boolean
isShop()
boolean
isSlopedSurfaceEdgeBlocked
(IsoDirections isoDirections1) boolean
isSolid()
boolean
boolean
boolean
boolean
isSomethingTo
(IsoGridSquare other) boolean
isSpriteOnSouthOrEastWall
(IsoObject isoObject) boolean
isStairsEdgeBlocked
(IsoDirections isoDirections1) boolean
boolean
boolean
boolean
boolean
boolean
isWallTo
(IsoGridSquare other) boolean
isWallTo
(IsoGridSquare isoGridSquare0, int int0) boolean
boolean
isWindowBlockedTo
(IsoGridSquare other) boolean
isWindowOrWindowFrame
(IsoObject isoObject, boolean boolean0) boolean
isWindowTo
(IsoGridSquare other) void
load
(ByteBuffer b, int WorldVersion) void
load
(ByteBuffer b, int WorldVersion, boolean IS_DEBUG_SAVE) int
placeWallAndDoorCheck
(IsoObject obj, int index) long
long
Deprecated.long
playSoundLocal
(String string) void
void
RecalcAllWithNeighbours
(boolean bDoReverse) void
RecalcAllWithNeighbours
(boolean bDoReverse, IsoGridSquare.GetSquare getter) void
void
Deprecated.void
void
void
ReCalculateCollide
(IsoGridSquare square) void
ReCalculateCollide
(IsoGridSquare square, IsoGridSquare.GetSquare getter) void
ReCalculatePathFind
(IsoGridSquare square) void
ReCalculatePathFind
(IsoGridSquare square, IsoGridSquare.GetSquare getter) void
void
ReCalculateVisionBlocked
(IsoGridSquare square, IsoGridSquare.GetSquare getter) void
void
removeBlood
(boolean remote, boolean onlyWall) void
removeCorpse
(IsoDeadBody body, boolean bRemote) void
removeErosionObject
(String type) void
boolean
void
void
boolean
removeSheetRopeFromBottom
(IsoPlayer player, boolean north) int
int
void
void
void
renderCharacters
(int maxZ, boolean deadRender, boolean doBlendFunc) void
renderDeferredCharacters
(int maxZ) void
renderFishSplash
(int int0, ColorInfo colorInfo) int
renderFloor
(Shader shader) boolean
renderMinusFloor
(int int0, boolean boolean1, boolean boolean2, int int1, int int2, int int3, int int4, int int5, Shader shader) boolean
RenderMinusFloorFxMask
(int maxZ, boolean doSE, boolean vegitationRender) void
void
renderRainSplash
(int int0, ColorInfo colorInfo) void
renderRainSplash
(int int0, ColorInfo colorInfo, float float0, boolean boolean0) void
void
void
save
(ByteBuffer output, ObjectOutputStream outputObj) void
save
(ByteBuffer output, ObjectOutputStream outputObj, boolean IS_DEBUG_SAVE) float
scoreAsWaypoint
(int _x, int _y) static void
setbDoSlowPathfinding
(boolean abDoSlowPathfinding) static void
void
SetBLightLevel
(int int0) void
setCachedIsFree
(boolean _CachedIsFree) void
setCacheIsFree
(boolean _CacheIsFree) void
setCanSee
(int playerIndex, boolean canSee) static void
void
setCouldSee
(int playerIndex, boolean bCouldSee) void
setDarkMulti
(int playerIndex, float darkMulti) static void
setDarkStep
(float aDarkStep) void
setE
(IsoGridSquare _e) void
SetGLightLevel
(int int0) void
setHasFlies
(boolean hasFlies) void
setHaveElectricity
(boolean haveElectricity) Deprecated.void
void
setID
(int _ID) void
setIsDissolved
(int playerIndex, boolean bDissolved, long currentTimeMillis) void
void
setIsSeen
(int playerIndex, boolean bSeen) void
setLampostTotalB
(float lampostTotalB) void
setLampostTotalG
(float lampostTotalG) void
setLampostTotalR
(float lampostTotalR) static void
setLightcache
(int aLightcache) void
setLightInfluenceB
(ArrayList<Float> _LightInfluenceB) void
setLightInfluenceG
(ArrayList<Float> _LightInfluenceG) void
setLightInfluenceR
(ArrayList<Float> _LightInfluenceR) void
static int
setMatrixBit
(int matrix, byte _x, byte _y, byte _z, boolean val) static int
setMatrixBit
(int matrix, int _x, int _y, int _z, boolean val) void
setN
(IsoGridSquare _n) void
setOverlayDone
(boolean _overlayDone) void
setPlayerCutawayFlag
(int int1, int int0, long long0) void
setRainDrop
(IsoRaindrop drop) void
setRainSplash
(IsoRainSplash splash) static void
setRecalcLightTime
(float float0) void
SetRLightLevel
(int int0) void
void
setRoomID
(long long0) void
setS
(IsoGridSquare _s) void
setSolidFloor
(boolean _SolidFloor) void
setSolidFloorCached
(boolean _SolidFloorCached) void
void
setTargetDarkMulti
(int playerIndex, float targetDarkMulti) void
setTrapPositionX
(int _trapPositionX) void
setTrapPositionY
(int _trapPositionY) void
setTrapPositionZ
(int _trapPositionZ) void
setVertLight
(int i, int _col, int playerIndex) void
setW
(IsoGridSquare _w) void
setX
(int _x) void
setY
(int _y) void
setZ
(int _z) boolean
shouldRenderFishSplash
(int int0) boolean
void
smoke()
void
void
void
void
void
void
splatBlood
(int dist, float alpha) void
Deprecated.void
startWaterSplash
(boolean boolean0) void
startWaterSplash
(boolean boolean0, float float0, float float1) void
stopFire()
void
switchLight
(boolean active) void
syncIsoTrap
(HandWeapon weapon) boolean
testCollideAdjacent
(IsoMovingObject collideObject, int _x, int _y, int _z) boolean
testCollideAdjacentAdvanced
(int _x, int _y, int _z, boolean ignoreDoors) boolean
testPathFindAdjacent
(IsoMovingObject mover, int _x, int _y, int _z) boolean
testPathFindAdjacent
(IsoMovingObject mover, int _x, int _y, int _z, IsoGridSquare.GetSquare getter) testVisionAdjacent
(int _x, int _y, int _z, boolean specialDiag, boolean bIgnoreDoors) static boolean
toBoolean
(byte[] byte0) void
transmitAddObjectToSquare
(IsoObject obj, int index) void
int
void
transmitRemoveItemFromSquareOnClients
(IsoObject isoObject) void
boolean
-
Field Details
-
associatedBuilding
-
lightLevel
public int lightLevel -
collideMatrix
public int collideMatrix -
pathMatrix
public int pathMatrix -
visionMatrix
public int visionMatrix -
room
-
w
-
nw
-
sw
-
s
-
n
-
ne
-
se
-
e
-
u
-
d
-
haveSheetRope
public boolean haveSheetRope -
ObjectsSyncCount
public int ObjectsSyncCount -
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
-
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
-
roomID
public long roomID -
ID
-
zone
-
Objects
-
localTemporaryObjects
-
haveRoof
public boolean haveRoof -
isoGridSquareCache
-
loadGridSquareCache
-
ignoreBlockingSprites
-
gridSquareCacheEmptyTimer
public static int gridSquareCacheEmptyTimer -
RecalcLightTime
public static float RecalcLightTime -
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
-
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
-
-
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
-
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
-
clearWater
public void clearWater() -
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
-
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
-
getTransparentWallTo
-
isWallTo
-
isWallTo
-
isWindowTo
-
haveDoor
public boolean haveDoor() -
hasDoorOnEdge
-
hasClosedDoorOnEdge
-
hasOpenDoorOnEdge
-
isDoorTo
-
isBlockedTo
-
canReachTo
-
isWindowBlockedTo
-
hasBlockedWindow
public boolean hasBlockedWindow(boolean north) -
isDoorBlockedTo
-
hasBlockedDoor
public boolean hasBlockedDoor(boolean north) -
getCurtain
-
getHoppable
-
getHoppableTo
-
isHoppableTo
-
discard
public void discard() -
DistTo
public float DistTo(int _x, int _y) -
DistTo
-
DistToProper
public float DistToProper(int int1, int int0) -
DistToProper
-
DistTo
-
DistToProper
-
isSafeToSpawn
public boolean isSafeToSpawn() -
isSafeToSpawn
-
auth
-
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
-
DoWallLightingN
-
DoWallLightingW
-
getLuaMovingObjectList
public se.krka.kahlua.vm.KahluaTable getLuaMovingObjectList() -
Is
-
Is
-
Has
-
DeleteTileObject
-
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
-
hasBush
public boolean hasBush() -
getBush
-
getBushes
-
getGrass
-
hasGrassLike
public boolean hasGrassLike() -
getGrassLike
-
shouldSave
public boolean shouldSave() -
save
- 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
-
getDeadBody
-
getDeadBodys
-
addCorpse
-
getBrokenGlass
-
addBrokenGlass
-
getFire
-
getHiddenStash
-
load
- Throws:
IOException
-
load
- 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
-
getIsoDoor
-
getDoorTo
Get the door between this grid and the next in parameter -
getWindow
-
getWindow
-
getWindowTo
Get the IsoWindow window between this grid and the next in parameter -
isAdjacentToWindow
public boolean isAdjacentToWindow() -
isAdjacentToHoppable
public boolean isAdjacentToHoppable() -
getThumpableWindow
-
getWindowThumpableTo
Get the IsoThumpable window between this grid and the next in parameter -
getThumpable
-
getHoppableThumpable
-
getHoppableThumpableTo
-
getWallHoppable
-
getWallHoppableTo
-
getBedTo
-
getWindowFrame
-
getWindowFrameTo
-
hasWindowFrame
public boolean hasWindowFrame() -
hasWindowOrWindowFrame
public boolean hasWindowOrWindowFrame() -
getSheetRope
-
damageSpriteSheetRopeFromBottom
-
removeSheetRopeFromBottom
-
testCollideSpecialObjects
-
getDoorFrameTo
-
getSquaresForThread
-
getNew
-
getNew
public static IsoGridSquare getNew(ArrayDeque<IsoGridSquare> _isoGridSquareCache, IsoCell cell, SliceY slice, int _x, int _y, int _z) -
getHashCodeObjects
Deprecated. -
getHashCodeObjectsInt
Deprecated. -
recalcHashCodeObjects
Deprecated. -
hashCodeNoOverride
Deprecated. -
getTileInDirection
-
getWall
-
getThumpableWall
-
getHoppableWall
-
getThumpableWallOrHoppable
-
getWallFull
-
getWallExcludingObject
-
getWall
-
getWallSE
-
getWallNW
-
getGarageDoor
-
getFloor
-
getPlayerBuiltFloor
-
getWaterObject
-
interpolateLight
-
EnsureSurroundNotNull
public void EnsureSurroundNotNull() -
setSquareChanged
public void setSquareChanged() -
addFloor
-
addUndergroundBlock
-
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
-
RecalcAllWithNeighboursMineOnly
public void RecalcAllWithNeighboursMineOnly() -
hasSupport
public boolean hasSupport() -
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
-
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
-
RemoveTileObjectErosionNoRecalc
-
AddSpecialObject
-
AddSpecialObject
-
AddTileObject
-
AddTileObject
-
placeWallAndDoorCheck
-
transmitAddObjectToSquare
-
transmitRemoveItemFromSquare
-
transmitRemoveItemFromSquareOnClients
-
transmitModdata
public void transmitModdata() -
AddWorldInventoryItem
-
AddWorldInventoryItem
-
AddWorldInventoryItem
public InventoryItem AddWorldInventoryItem(String string, float float0, float float1, float float2, boolean boolean0) -
AddWorldInventoryItem
-
createAnimalCorpseFromItem
-
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
-
CalculateVisionBlocked
-
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
-
ReCalculateCollide
-
ReCalculatePathFind
-
ReCalculatePathFind
-
ReCalculateVisionBlocked
-
ReCalculateVisionBlocked
-
testCollideAdjacent
-
testCollideAdjacentAdvanced
public boolean testCollideAdjacentAdvanced(int _x, int _y, int _z, boolean ignoreDoors) -
setCollisionMode
public static void setCollisionMode() -
testPathFindAdjacent
-
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
-
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
-
cacheLightInfo
public void cacheLightInfo() -
setLightInfoServerGUIOnly
-
renderFloor
-
renderRainSplash
-
renderRainSplash
-
renderFishSplash
-
isSpriteOnSouthOrEastWall
-
RenderOpenDoorOnly
public void RenderOpenDoorOnly() -
RenderMinusFloorFxMask
public boolean RenderMinusFloorFxMask(int maxZ, boolean doSE, boolean vegitationRender) -
isWindowOrWindowFrame
-
renderMinusFloor
public boolean renderMinusFloor(int int0, boolean boolean1, boolean boolean2, int int1, int int2, int int3, int int4, int int5, Shader shader) -
getContainerItem
-
StartFire
Deprecated. -
explode
public void explode() -
getHourLastSeen
public int getHourLastSeen() -
getHoursSinceLastSeen
public float getHoursSinceLastSeen() -
CalcVisibility
public void CalcVisibility(int playerIndex) -
getZombie
-
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
- Returns:
- the getCell()
-
getE
- Returns:
- the e
-
setE
-
getLightInfluenceB
-
setLightInfluenceB
-
getLightInfluenceG
-
setLightInfluenceG
-
getLightInfluenceR
-
setLightInfluenceR
-
getStaticMovingObjects
- Returns:
- the StaticMovingObjects
-
getMovingObjects
- Returns:
- the MovingObjects
-
getN
- Returns:
- the n
-
setN
-
getObjects
- Returns:
- the Objects
-
getProperties
- Returns:
- the Properties
-
getRoom
- Returns:
- the room
-
setRoom
-
getBuilding
-
getS
- Returns:
- the s
-
setS
-
getSpecialObjects
-
getW
- Returns:
- the w
-
setW
-
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
- Returns:
- the DeferedCharacters
-
addDeferredCharacter
-
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
- 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
-
getDoorOrWindow
-
getDoorOrWindowOrWindowFrame
-
getOpenDoor
-
removeWorldObject
-
removeAllWorldObjects
public void removeAllWorldObjects() -
getWorldObjects
-
getNextNonItemObjectIndex
public int getNextNonItemObjectIndex(int int1) -
getLocalTemporaryObjects
-
getModData
public se.krka.kahlua.vm.KahluaTable getModData() -
hasModData
public boolean hasModData() -
getHasTypes
-
setVertLight
public void setVertLight(int i, int _col, int playerIndex) -
getVertLight
public int getVertLight(int i, int playerIndex) -
setRainDrop
-
getRainDrop
-
setRainSplash
-
getRainSplash
-
getZone
-
getZoneType
-
isOverlayDone
public boolean isOverlayDone() -
setOverlayDone
public void setOverlayDone(boolean _overlayDone) -
getErosionData
-
disableErosion
public void disableErosion() -
removeErosionObject
-
syncIsoTrap
-
drawCircleExplosion
-
explosion
-
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. -
getGenerator
-
stopFire
public void stopFire() -
transmitStopFire
public void transmitStopFire() -
playSound
-
playSoundLocal
-
playSound
Deprecated. -
FixStackableObjects
public void FixStackableObjects() -
fixPlacedItemRenderOffsets
public void fixPlacedItemRenderOffsets() -
getVehicleContainer
-
isVehicleIntersecting
public boolean isVehicleIntersecting() -
isVehicleIntersectingCrops
public boolean isVehicleIntersectingCrops() -
checkForIntersectingCrops
-
getCompost
-
setIsoWorldRegion
-
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
-
getAdjacentSquare
-
getAdjacentPathSquare
-
getApparentZ
public float getApparentZ(float dx, float dy) -
getStairsDirection
-
getStairsHeightMax
public float getStairsHeightMax() -
getStairsHeightMin
public float getStairsHeightMin() -
getStairsHeight
-
isStairsEdgeBlocked
-
hasSlopedSurface
public boolean hasSlopedSurface() -
getSlopedSurfaceDirection
-
hasIdenticalSlopedSurface
-
getSlopedSurfaceHeightMin
public float getSlopedSurfaceHeightMin() -
getSlopedSurfaceHeightMax
public float getSlopedSurfaceHeightMax() -
getSlopedSurfaceHeight
public float getSlopedSurfaceHeight(float float0, float float1) -
getSlopedSurfaceHeight
-
isSlopedSurfaceEdgeBlocked
-
hasSlopedSurfaceToLevelAbove
-
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
-
checkHaveGrass
public boolean checkHaveGrass() -
checkHaveDung
public boolean checkHaveDung() -
removeAllDung
-
removeGrass
public boolean removeGrass() -
getZombieCount
public int getZombieCount() -
getSquareRegion
-
containsVegetation
public boolean containsVegetation() -
getAnimalTrack
-
hasTrashReceptacle
public boolean hasTrashReceptacle() -
hasTrash
public boolean hasTrash() -
getTrashReceptacle
-
isExtraFreeSquare
public boolean isExtraFreeSquare() -
getRandomAdjacentFreeSameRoom
-
getZombiesType
-
getLootZone
-
addTileObject
-
hasSand
public boolean hasSand() -
hasDirt
public boolean hasDirt() -
hasNaturalFloor
public boolean hasNaturalFloor() -
dirtStamp
public void dirtStamp() -
getRandomAdjacent
-
isAdjacentTo
-
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
-
addWorkstationEntity
-
addWorkstationEntity
-
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
-
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
-
getHutch
-
getSquareZombiesType
-
hasRoomDef
public boolean hasRoomDef() -
spawnRandomGenerator
public void spawnRandomGenerator() -
spawnRandomNewGenerator
public void spawnRandomNewGenerator() -
hasGrave
public boolean hasGrave() -
hasFarmingPlant
public boolean hasFarmingPlant() -
getFarmingPlant
-
destroyFarmingPlant
public void destroyFarmingPlant() -
hasLitCampfire
public boolean hasLitCampfire() -
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
-
isShop
public boolean isShop() -
hasFireplace
public boolean hasFireplace() -
addCorpse
-
addCorpse
-
createCorpse
-
createCorpse
-
createCorpse
-
getBed
-
getPuddleFloor
-