Package zombie.iso
Class IsoGridSquare
java.lang.Object
zombie.iso.IsoGridSquare
public final class IsoGridSquare
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IsoGridSquare.CellGetSquare
static class
IsoGridSquare.CircleStencilShader
static interface
IsoGridSquare.GetSquare
static interface
IsoGridSquare.ILighting
static class
IsoGridSquare.Lighting
static class
IsoGridSquare.NoCircleStencilShader
static class
IsoGridSquare.PuddlesDirection
static class
IsoGridSquare.ResultLight
-
Field Summary
-
Constructor Summary
Constructors Constructor Description IsoGridSquare(IsoCell cell, SliceY sliceY, int int1, int int2, int int3)
-
Method Summary
Modifier and Type Method Description IsoBrokenGlass
addBrokenGlass()
void
addCorpse(IsoDeadBody deadBody, boolean boolean1)
void
addDeferredCharacter(IsoGameCharacter gameCharacter)
IsoObject
addFloor(java.lang.String string)
void
AddSpecialObject(IsoObject object)
void
AddSpecialObject(IsoObject object, int int1)
void
AddSpecialTileObject(IsoObject object)
IsoThumpable
AddStairs(boolean boolean1, int int1, java.lang.String string, java.lang.String string2, KahluaTable kahluaTable)
void
AddTileObject(IsoObject object)
void
AddTileObject(IsoObject object, int int1)
InventoryItem
AddWorldInventoryItem(java.lang.String string, float float1, float float2, float float3)
void
AddWorldInventoryItem(java.lang.String string, float float1, float float2, float float3, int int1)
InventoryItem
AddWorldInventoryItem(InventoryItem inventoryItem, float float1, float float2, float float3)
InventoryItem
AddWorldInventoryItem(InventoryItem inventoryItem, float float1, float float2, float float3, boolean boolean1)
static boolean
auth(java.lang.String string, char[] charArray)
void
Burn()
void
Burn(boolean boolean1)
void
BurnTick()
void
BurnWalls(boolean boolean1)
void
BurnWallsTCOnly()
boolean
CalculateCollide(IsoGridSquare square, boolean boolean1, boolean boolean2, boolean boolean3)
boolean
CalculateCollide(IsoGridSquare square, boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4)
boolean
CalculateCollide(IsoGridSquare square, boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4, IsoGridSquare.GetSquare getSquare)
boolean
CalculateVisionBlocked(IsoGridSquare square)
boolean
CalculateVisionBlocked(IsoGridSquare square, IsoGridSquare.GetSquare getSquare)
void
CalcVisibility(int int1)
void
checkRoomSeen(int int1)
void
clearPuddles()
void
ClearTileObjects()
void
ClearTileObjectsExceptFloor()
void
clearWater()
boolean
connectedWithFloor()
boolean
damageSpriteSheetRopeFromBottom(IsoPlayer player, boolean boolean1)
void
DeleteTileObject(IsoObject object)
void
DirtySlice()
void
disableErosion()
void
discard()
float
DistTo(int int1, int int2)
float
DistTo(IsoGridSquare square)
float
DistTo(IsoMovingObject movingObject)
float
DistToProper(IsoGridSquare square)
float
DistToProper(IsoMovingObject movingObject)
void
DoCutawayShader(IsoObject object, IsoDirections directions, boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4, boolean boolean5, boolean boolean6, boolean boolean7, WallShaperWhole wallShaperWhole)
void
DoCutawayShaderSprite(IsoSprite sprite, IsoDirections directions, boolean boolean1, boolean boolean2, boolean boolean3)
void
DoSplat(java.lang.String string, boolean boolean1, IsoFlagType flagType, float float1, float float2, float float3)
int
DoWallLightingN(IsoObject object, int int1, boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4, Shader shader)
int
DoWallLightingNW(IsoObject object, int int1, boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4, boolean boolean5, boolean boolean6, boolean boolean7, Shader shader)
int
DoWallLightingW(IsoObject object, int int1, boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4, Shader shader)
void
drawCircleExplosion(int int1, IsoTrap trap, IsoTrap.ExplosionMode explosionMode)
void
EnsureSurroundNotNull()
void
explode()
void
explodeTrap()
void
explosion(IsoTrap trap)
IsoGameCharacter
FindEnemy(IsoGameCharacter gameCharacter, int int1, java.util.ArrayList arrayList)
IsoGameCharacter
FindEnemy(IsoGameCharacter gameCharacter, int int1, java.util.ArrayList arrayList, IsoGameCharacter gameCharacter2, int int2)
IsoGameCharacter
FindFriend(IsoGameCharacter gameCharacter, int int1, java.util.Stack stack)
void
FixStackableObjects()
IsoGridSquare
getAdjacentPathSquare(IsoDirections directions)
IsoGridSquare
getAdjacentSquare(IsoDirections directions)
float
getApparentZ(float float1, float float2)
IsoObject
getBedTo(IsoGridSquare square)
IsoBrokenGlass
getBrokenGlass()
IsoBuilding
getBuilding()
boolean
getCanSee(int int1)
IsoCell
getCell()
IsoChunk
getChunk()
boolean
getCollideMatrix(int int1, int int2, int int3)
IsoCompost
getCompost()
IsoObject
getContainerItem(java.lang.String string)
IsoCurtain
getCurtain(IsoObjectType objectType)
float
getDarkMulti(int int1)
static float
getDarkStep()
IsoDeadBody
getDeadBody()
java.util.List
getDeadBodys()
static ColorInfo
getDefColorInfo()
java.util.ArrayList
getDeferedCharacters()
IsoObject
getDoor(boolean boolean1)
IsoObject
getDoorFrameTo(IsoGridSquare square)
IsoObject
getDoorOrWindow(boolean boolean1)
IsoObject
getDoorOrWindowOrWindowFrame(IsoDirections directions, boolean boolean1)
IsoObject
getDoorTo(IsoGridSquare square)
IsoGridSquare
getE()
ErosionData.Square
getErosionData()
IsoObject
getFloor()
IsoGenerator
getGenerator()
float
getGridSneakModifier(boolean boolean1)
long
getHashCodeObjects()
Deprecated.int
getHashCodeObjectsInt()
Deprecated.ZomboidBitFlag
getHasTypes()
IsoObject
getHoppable(boolean boolean1)
IsoThumpable
getHoppableThumpable(boolean boolean1)
IsoThumpable
getHoppableThumpableTo(IsoGridSquare square)
IsoObject
getHoppableTo(IsoGridSquare square)
IsoObject
getHoppableWall(boolean boolean1)
int
getHourLastSeen()
float
getHoursSinceLastSeen()
java.lang.Integer
getID()
boolean
getIsDissolved(int int1, long long1)
IsoDoor
getIsoDoor()
IWorldRegion
getIsoWorldRegion()
float
getLampostTotalB()
float
getLampostTotalG()
float
getLampostTotalR()
static int
getLightcache()
java.util.ArrayList
getLightInfluenceB()
java.util.ArrayList
getLightInfluenceG()
java.util.ArrayList
getLightInfluenceR()
float
getLightLevel(int int1)
PZArrayList
getLocalTemporaryObjects()
KahluaTable
getLuaMovingObjectList()
KahluaTable
getLuaTileObjectList()
static boolean
getMatrixBit(int int1, byte byte1, byte byte2, byte byte3)
static boolean
getMatrixBit(int int1, int int2, int int3, int int4)
KahluaTable
getModData()
java.util.ArrayList
getMovingObjects()
IsoGridSquare
getN()
static IsoGridSquare
getNew(java.util.ArrayDeque arrayDeque, IsoCell cell, SliceY sliceY, int int1, int int2, int int3)
static IsoGridSquare
getNew(IsoCell cell, SliceY sliceY, int int1, int int2, int int3)
PZArrayList
getObjects()
IsoGridOcclusionData
getOcclusionData()
IsoObject
getOpenDoor(IsoDirections directions)
IsoGridOcclusionData
getOrCreateOcclusionData()
boolean
getPathMatrix(int int1, int int2, int int3)
IsoPlayer
getPlayer()
IsoObject
getPlayerBuiltFloor()
boolean
getPlayerCutawayFlag(int int1, long long1)
PropertyContainer
getProperties()
IsoPuddlesGeometry
getPuddles()
int
getPuddlesDir()
float
getPuddlesInGround()
IsoRaindrop
getRainDrop()
IsoRainSplash
getRainSplash()
static int
getRecalcLightTime()
IsoBuilding
getRoofHideBuilding()
IsoRoom
getRoom()
int
getRoomID()
IsoGridSquare
getS()
boolean
getSeen(int int1)
IsoObject
getSheetRope()
java.util.ArrayList
getSpecialObjects()
static void
getSquaresForThread(java.util.ArrayDeque arrayDeque, int int1)
java.util.ArrayList
getStaticMovingObjects()
float
getTargetDarkMulti(int int1)
IsoObject
getThumpableWall(boolean boolean1)
IsoObject
getThumpableWallOrHoppable(boolean boolean1)
IsoThumpable
getThumpableWindow(boolean boolean1)
IsoGridSquare
getTileInDirection(IsoDirections directions)
float
getTotalWeightOfItemsOnFloor()
IsoObject
getTransparentWallTo(IsoGridSquare square)
int
getTrapPositionX()
int
getTrapPositionY()
int
getTrapPositionZ()
IsoTree
getTree()
BaseVehicle
getVehicleContainer()
int
getVertLight(int int1, int int2)
boolean
getVisionMatrix(int int1, int int2, int int3)
IsoGridSquare
getW()
IsoObject
getWall(boolean boolean1)
java.lang.Boolean
getWallFull()
IsoObject
getWallHoppable(boolean boolean1)
IsoObject
getWallHoppableTo(IsoGridSquare square)
IsoObject
getWallSE()
int
getWallType()
IsoWaterGeometry
getWater()
IsoWindow
getWindow()
IsoWindow
getWindow(boolean boolean1)
IsoObject
getWindowFrame(boolean boolean1)
IsoObject
getWindowFrameTo(IsoGridSquare square)
IsoThumpable
getWindowThumpableTo(IsoGridSquare square)
IsoWindow
getWindowTo(IsoGridSquare square)
java.util.ArrayList
getWorldObjects()
int
getX()
int
getY()
int
getZ()
IsoZombie
getZombie()
IsoMetaGrid.Zone
getZone()
java.lang.String
getZoneType()
boolean
Has(IsoObjectType objectType)
boolean
hasBlockedDoor(boolean boolean1)
boolean
hasBlockedWindow(boolean boolean1)
boolean
HasElevatedFloor()
boolean
hasFlies()
boolean
hasFloor(boolean boolean1)
int
hashCodeNoOverride()
Deprecated.boolean
hasModData()
boolean
HasPushable()
boolean
HasSlopedRoof()
boolean
HasSlopedRoofNorth()
boolean
HasSlopedRoofWest()
boolean
HasStairs()
boolean
HasStairsBelow()
boolean
HasStairsNorth()
boolean
HasStairsWest()
boolean
hasSupport()
boolean
HasTree()
boolean
hasWindowFrame()
boolean
hasWindowOrWindowFrame()
boolean
haveBlood()
boolean
haveDoor()
boolean
haveElectricity()
boolean
haveFire()
void
interpolateLight(ColorInfo colorInfo, float float1, float float2)
void
InvalidateSpecialObjectPaths()
boolean
Is(java.lang.String string)
boolean
Is(IsoFlagType flagType)
boolean
isAdjacentToWindow()
static boolean
isbDoSlowPathfinding()
boolean
isBlockedTo(IsoGridSquare square)
boolean
isCachedIsFree()
boolean
isCacheIsFree()
boolean
isCanSee(int int1)
boolean
isCommonGrass()
boolean
isCouldSee(int int1)
boolean
isDoorBlockedTo(IsoGridSquare square)
boolean
isDoorTo(IsoGridSquare square)
boolean
isFree(boolean boolean1)
boolean
isFreeOrMidair(boolean boolean1)
boolean
isFreeOrMidair(boolean boolean1, boolean boolean2)
boolean
isHoppableTo(IsoGridSquare square)
boolean
isInARoom()
boolean
isNotBlocked(boolean boolean1)
boolean
IsOnScreen()
boolean
IsOnScreen(boolean boolean1)
boolean
isOutside()
boolean
isOverlayDone()
boolean
isSafeToSpawn()
void
isSafeToSpawn(IsoGridSquare square, int int1)
boolean
isSameStaircase(int int1, int int2, int int3)
boolean
isSeen(int int1)
boolean
isSolid()
boolean
isSolidFloor()
boolean
isSolidFloorCached()
boolean
isSolidTrans()
boolean
isSomethingTo(IsoGridSquare square)
boolean
isVehicleIntersecting()
boolean
isWallTo(IsoGridSquare square)
boolean
isWindowBlockedTo(IsoGridSquare square)
boolean
isWindowTo(IsoGridSquare square)
void
load(java.nio.ByteBuffer byteBuffer, int int1)
void
load(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1)
int
placeWallAndDoorCheck(IsoObject object, int int1)
long
playSound(java.lang.String string)
long
playSound(java.lang.String string, boolean boolean1)
Deprecated.void
RecalcAllWithNeighbours(boolean boolean1)
void
RecalcAllWithNeighbours(boolean boolean1, IsoGridSquare.GetSquare getSquare)
void
RecalcAllWithNeighboursMineOnly()
void
recalcHashCodeObjects()
Deprecated.void
RecalcProperties()
void
RecalcPropertiesIfNeeded()
void
ReCalculateCollide(IsoGridSquare square)
void
ReCalculateCollide(IsoGridSquare square, IsoGridSquare.GetSquare getSquare)
void
ReCalculatePathFind(IsoGridSquare square)
void
ReCalculatePathFind(IsoGridSquare square, IsoGridSquare.GetSquare getSquare)
void
ReCalculateVisionBlocked(IsoGridSquare square)
void
ReCalculateVisionBlocked(IsoGridSquare square, IsoGridSquare.GetSquare getSquare)
void
removeAllWorldObjects()
void
removeBlood(boolean boolean1, boolean boolean2)
void
removeCorpse(IsoDeadBody deadBody, boolean boolean1)
void
removeErosionObject(java.lang.String string)
boolean
removeSheetRopeFromBottom(IsoPlayer player, boolean boolean1)
int
RemoveTileObject(IsoObject object)
int
RemoveTileObjectErosionNoRecalc(IsoObject object)
void
removeWorldObject(IsoWorldInventoryObject worldInventoryObject)
void
renderCharacters(int int1, boolean boolean1, boolean boolean2)
void
renderDeferredCharacters(int int1)
boolean
RenderMinusFloorFxMask(int int1, boolean boolean1, boolean boolean2)
void
RenderOpenDoorOnly()
void
ResetIsoWorldRegion()
void
restackSheetRope()
void
save(java.nio.ByteBuffer byteBuffer, java.io.ObjectOutputStream objectOutputStream)
void
save(java.nio.ByteBuffer byteBuffer, java.io.ObjectOutputStream objectOutputStream, boolean boolean1)
float
scoreAsWaypoint(int int1, int int2)
static void
setbDoSlowPathfinding(boolean boolean1)
void
setCachedIsFree(boolean boolean1)
void
setCacheIsFree(boolean boolean1)
void
setCanSee(int int1, boolean boolean1)
static void
setCollisionMode()
void
setCouldSee(int int1, boolean boolean1)
void
setDarkMulti(int int1, float float1)
static void
setDarkStep(float float1)
void
setE(IsoGridSquare square)
void
setHasFlies(boolean boolean1)
void
setHaveElectricity(boolean boolean1)
void
setHourSeenToCurrent()
void
setID(int int1)
void
setIsDissolved(int int1, boolean boolean1, long long1)
void
setIsoWorldRegion(IsoWorldRegion worldRegion)
void
setIsSeen(int int1, boolean boolean1)
void
setLampostTotalB(float float1)
void
setLampostTotalG(float float1)
void
setLampostTotalR(float float1)
static void
setLightcache(int int1)
void
setLightInfluenceB(java.util.ArrayList arrayList)
void
setLightInfluenceG(java.util.ArrayList arrayList)
void
setLightInfluenceR(java.util.ArrayList arrayList)
void
setLightInfoServerGUIOnly(ColorInfo colorInfo)
static int
setMatrixBit(int int1, byte byte1, byte byte2, byte byte3, boolean boolean1)
static int
setMatrixBit(int int1, int int2, int int3, int int4, boolean boolean1)
void
setN(IsoGridSquare square)
void
setOverlayDone(boolean boolean1)
void
setPlayerCutawayFlag(int int1, boolean boolean1, long long1)
void
setRainDrop(IsoRaindrop raindrop)
void
setRainSplash(IsoRainSplash rainSplash)
static void
setRecalcLightTime(int int1)
void
setRoom(IsoRoom room)
void
setRoomID(int int1)
void
setS(IsoGridSquare square)
void
setSolidFloor(boolean boolean1)
void
setSolidFloorCached(boolean boolean1)
void
setTargetDarkMulti(int int1, float float1)
void
setTrapPositionX(int int1)
void
setTrapPositionY(int int1)
void
setTrapPositionZ(int int1)
void
setVertLight(int int1, int int2, int int3)
void
setW(IsoGridSquare square)
void
setX(int int1)
void
setY(int int1)
void
setZ(int int1)
boolean
shouldSave()
void
smoke()
void
softClear()
void
splatBlood(int int1, float float1)
void
StartFire()
void
stopFire()
void
switchLight(boolean boolean1)
void
syncIsoTrap(HandWeapon handWeapon)
boolean
testCollideAdjacent(IsoMovingObject movingObject, int int1, int int2, int int3)
boolean
testCollideAdjacentAdvanced(int int1, int int2, int int3, boolean boolean1)
IsoObject
testCollideSpecialObjects(IsoGridSquare square)
boolean
testPathFindAdjacent(IsoMovingObject movingObject, int int1, int int2, int int3)
boolean
testPathFindAdjacent(IsoMovingObject movingObject, int int1, int int2, int int3, IsoGridSquare.GetSquare getSquare)
LosUtil.TestResults
testVisionAdjacent(int int1, int int2, int int3, boolean boolean1, boolean boolean2)
static boolean
toBoolean(byte[] byteArray)
void
transmitAddObjectToSquare(IsoObject object, int int1)
void
transmitModdata()
int
transmitRemoveItemFromSquare(IsoObject object)
void
transmitRemoveItemFromSquareOnServer(IsoObject object)
void
transmitStopFire()
boolean
TreatAsSolidFloor()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
collideMatrix
public int collideMatrix -
pathMatrix
public int pathMatrix -
visionMatrix
public int visionMatrix -
room
-
w
-
nw
-
sw
-
s
-
n
-
ne
-
se
-
e
-
haveSheetRope
public boolean haveSheetRope -
ObjectsSyncCount
public int ObjectsSyncCount -
roofHideBuilding
-
bFlattenGrassEtc
public boolean bFlattenGrassEtc -
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 int roomID -
ID
public java.lang.Integer ID -
zone
-
Objects
-
localTemporaryObjects
-
haveRoof
public boolean haveRoof -
isoGridSquareCache
public static final java.util.concurrent.ConcurrentLinkedQueue isoGridSquareCache -
loadGridSquareCache
public static java.util.ArrayDeque loadGridSquareCache -
gridSquareCacheEmptyTimer
public static int gridSquareCacheEmptyTimer -
RecalcLightTime
public static int RecalcLightTime -
choices
public static final java.util.ArrayList 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:
- Constant Field Values
-
WALL_TYPE_S
public static final int WALL_TYPE_S- See Also:
- Constant Field Values
-
WALL_TYPE_W
public static final int WALL_TYPE_W- See Also:
- Constant Field Values
-
WALL_TYPE_E
public static final int WALL_TYPE_E- See Also:
- Constant Field Values
-
Constructor Details
-
IsoGridSquare
-
-
Method Details
-
getMatrixBit
public static boolean getMatrixBit(int int1, int int2, int int3, int int4) -
getMatrixBit
public static boolean getMatrixBit(int int1, byte byte1, byte byte2, byte byte3) -
setMatrixBit
public static int setMatrixBit(int int1, int int2, int int3, int int4, boolean boolean1) -
setMatrixBit
public static int setMatrixBit(int int1, byte byte1, byte byte2, byte byte3, boolean boolean1) -
setPlayerCutawayFlag
public void setPlayerCutawayFlag(int int1, boolean boolean1, long long1) -
getPlayerCutawayFlag
public boolean getPlayerCutawayFlag(int int1, long long1) -
setIsDissolved
public void setIsDissolved(int int1, boolean boolean1, long long1) -
getIsDissolved
public boolean getIsDissolved(int int1, long long1) -
getWater
-
clearWater
public void clearWater() -
getPuddles
-
clearPuddles
public void clearPuddles() -
getPuddlesInGround
public float getPuddlesInGround() -
getOcclusionData
-
getOrCreateOcclusionData
-
softClear
public void softClear() -
getGridSneakModifier
public float getGridSneakModifier(boolean boolean1) -
isSomethingTo
-
getTransparentWallTo
-
isWallTo
-
isWindowTo
-
haveDoor
public boolean haveDoor() -
isDoorTo
-
isBlockedTo
-
isWindowBlockedTo
-
hasBlockedWindow
public boolean hasBlockedWindow(boolean boolean1) -
isDoorBlockedTo
-
hasBlockedDoor
public boolean hasBlockedDoor(boolean boolean1) -
getCurtain
-
getHoppable
-
getHoppableTo
-
isHoppableTo
-
discard
public void discard() -
DistTo
public float DistTo(int int1, int int2) -
DistTo
-
DistToProper
-
DistTo
-
DistToProper
-
isSafeToSpawn
public boolean isSafeToSpawn() -
isSafeToSpawn
-
auth
public static boolean auth(java.lang.String string, char[] charArray) -
DoCutawayShader
public void DoCutawayShader(IsoObject object, IsoDirections directions, boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4, boolean boolean5, boolean boolean6, boolean boolean7, WallShaperWhole wallShaperWhole) -
DoCutawayShaderSprite
public void DoCutawayShaderSprite(IsoSprite sprite, IsoDirections directions, boolean boolean1, boolean boolean2, boolean boolean3) -
DoWallLightingNW
-
DoWallLightingN
-
DoWallLightingW
-
getLuaMovingObjectList
-
Is
-
Is
public boolean Is(java.lang.String string) -
Has
-
DeleteTileObject
-
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 int1, int int2, int int3) -
HasSlopedRoof
public boolean HasSlopedRoof() -
HasSlopedRoofWest
public boolean HasSlopedRoofWest() -
HasSlopedRoofNorth
public boolean HasSlopedRoofNorth() -
HasTree
public boolean HasTree() -
getTree
-
shouldSave
public boolean shouldSave() -
save
public void save(java.nio.ByteBuffer byteBuffer, java.io.ObjectOutputStream objectOutputStream) throws java.io.IOException- Throws:
java.io.IOException
-
save
public void save(java.nio.ByteBuffer byteBuffer, java.io.ObjectOutputStream objectOutputStream, boolean boolean1) throws java.io.IOException- Throws:
java.io.IOException
-
isCommonGrass
public boolean isCommonGrass() -
toBoolean
public static boolean toBoolean(byte[] byteArray) -
removeCorpse
-
getDeadBody
-
getDeadBodys
public java.util.List getDeadBodys() -
addCorpse
-
getBrokenGlass
-
addBrokenGlass
-
load
public void load(java.nio.ByteBuffer byteBuffer, int int1) throws java.io.IOException- Throws:
java.io.IOException
-
load
public void load(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1) throws java.io.IOException- Throws:
java.io.IOException
-
scoreAsWaypoint
public float scoreAsWaypoint(int int1, int int2) -
InvalidateSpecialObjectPaths
public void InvalidateSpecialObjectPaths() -
isSolid
public boolean isSolid() -
isSolidTrans
public boolean isSolidTrans() -
isFree
public boolean isFree(boolean boolean1) -
isFreeOrMidair
public boolean isFreeOrMidair(boolean boolean1) -
isFreeOrMidair
public boolean isFreeOrMidair(boolean boolean1, boolean boolean2) -
connectedWithFloor
public boolean connectedWithFloor() -
hasFloor
public boolean hasFloor(boolean boolean1) -
isNotBlocked
public boolean isNotBlocked(boolean boolean1) -
getDoor
-
getIsoDoor
-
getDoorTo
-
getWindow
-
getWindow
-
getWindowTo
-
isAdjacentToWindow
public boolean isAdjacentToWindow() -
getThumpableWindow
-
getWindowThumpableTo
-
getHoppableThumpable
-
getHoppableThumpableTo
-
getWallHoppable
-
getWallHoppableTo
-
getBedTo
-
getWindowFrame
-
getWindowFrameTo
-
hasWindowFrame
public boolean hasWindowFrame() -
hasWindowOrWindowFrame
public boolean hasWindowOrWindowFrame() -
getSheetRope
-
damageSpriteSheetRopeFromBottom
-
removeSheetRopeFromBottom
-
testCollideSpecialObjects
-
getDoorFrameTo
-
getSquaresForThread
public static void getSquaresForThread(java.util.ArrayDeque arrayDeque, int int1) -
getNew
-
getNew
public static IsoGridSquare getNew(java.util.ArrayDeque arrayDeque, IsoCell cell, SliceY sliceY, int int1, int int2, int int3) -
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
-
getThumpableWall
-
getHoppableWall
-
getThumpableWallOrHoppable
-
getWallFull
public java.lang.Boolean getWallFull() -
getWall
-
getWallSE
-
getFloor
-
getPlayerBuiltFloor
-
interpolateLight
-
EnsureSurroundNotNull
public void EnsureSurroundNotNull() -
addFloor
-
AddStairs
public IsoThumpable AddStairs(boolean boolean1, int int1, java.lang.String string, java.lang.String string2, KahluaTable kahluaTable) -
RecalcAllWithNeighbours
public void RecalcAllWithNeighbours(boolean boolean1) -
RecalcAllWithNeighbours
-
RecalcAllWithNeighboursMineOnly
public void RecalcAllWithNeighboursMineOnly() -
hasSupport
public boolean hasSupport() -
getID
public java.lang.Integer getID() -
setID
public void setID(int int1) -
DirtySlice
public void DirtySlice() -
setHourSeenToCurrent
public void setHourSeenToCurrent() -
splatBlood
public void splatBlood(int int1, float float1) -
haveBlood
public boolean haveBlood() -
removeBlood
public void removeBlood(boolean boolean1, boolean boolean2) -
DoSplat
public void DoSplat(java.lang.String string, boolean boolean1, IsoFlagType flagType, float float1, float float2, float float3) -
ClearTileObjects
public void ClearTileObjects() -
ClearTileObjectsExceptFloor
public void ClearTileObjectsExceptFloor() -
RemoveTileObject
-
RemoveTileObjectErosionNoRecalc
-
AddSpecialObject
-
AddSpecialObject
-
AddTileObject
-
AddTileObject
-
placeWallAndDoorCheck
-
transmitAddObjectToSquare
-
transmitRemoveItemFromSquare
-
transmitRemoveItemFromSquareOnServer
-
transmitModdata
public void transmitModdata() -
AddWorldInventoryItem
public void AddWorldInventoryItem(java.lang.String string, float float1, float float2, float float3, int int1) -
AddWorldInventoryItem
public InventoryItem AddWorldInventoryItem(java.lang.String string, float float1, float float2, float float3) -
AddWorldInventoryItem
public InventoryItem AddWorldInventoryItem(InventoryItem inventoryItem, float float1, float float2, float float3) -
AddWorldInventoryItem
public InventoryItem AddWorldInventoryItem(InventoryItem inventoryItem, float float1, float float2, float float3, boolean boolean1) -
restackSheetRope
public void restackSheetRope() -
Burn
public void Burn() -
Burn
public void Burn(boolean boolean1) -
BurnWalls
public void BurnWalls(boolean boolean1) -
BurnWallsTCOnly
public void BurnWallsTCOnly() -
BurnTick
public void BurnTick() -
CalculateCollide
public boolean CalculateCollide(IsoGridSquare square, boolean boolean1, boolean boolean2, boolean boolean3) -
CalculateCollide
public boolean CalculateCollide(IsoGridSquare square, boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4) -
CalculateCollide
public boolean CalculateCollide(IsoGridSquare square, boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4, IsoGridSquare.GetSquare getSquare) -
CalculateVisionBlocked
-
CalculateVisionBlocked
-
FindFriend
public IsoGameCharacter FindFriend(IsoGameCharacter gameCharacter, int int1, java.util.Stack stack) -
FindEnemy
public IsoGameCharacter FindEnemy(IsoGameCharacter gameCharacter, int int1, java.util.ArrayList arrayList, IsoGameCharacter gameCharacter2, int int2) -
FindEnemy
public IsoGameCharacter FindEnemy(IsoGameCharacter gameCharacter, int int1, java.util.ArrayList arrayList) -
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 int1, int int2, int int3, boolean boolean1) -
setCollisionMode
public static void setCollisionMode() -
testPathFindAdjacent
-
testPathFindAdjacent
public boolean testPathFindAdjacent(IsoMovingObject movingObject, int int1, int int2, int int3, IsoGridSquare.GetSquare getSquare) -
testVisionAdjacent
public LosUtil.TestResults testVisionAdjacent(int int1, int int2, int int3, boolean boolean1, boolean boolean2) -
TreatAsSolidFloor
public boolean TreatAsSolidFloor() -
AddSpecialTileObject
-
renderCharacters
public void renderCharacters(int int1, boolean boolean1, boolean boolean2) -
renderDeferredCharacters
public void renderDeferredCharacters(int int1) -
switchLight
public void switchLight(boolean boolean1) -
IsOnScreen
public boolean IsOnScreen() -
IsOnScreen
public boolean IsOnScreen(boolean boolean1) -
setLightInfoServerGUIOnly
-
RenderOpenDoorOnly
public void RenderOpenDoorOnly() -
RenderMinusFloorFxMask
public boolean RenderMinusFloorFxMask(int int1, boolean boolean1, boolean boolean2) -
getContainerItem
-
StartFire
public void StartFire() -
explode
public void explode() -
getHourLastSeen
public int getHourLastSeen() -
getHoursSinceLastSeen
public float getHoursSinceLastSeen() -
CalcVisibility
public void CalcVisibility(int int1) -
getZombie
-
getPlayer
-
getDarkStep
public static float getDarkStep() -
setDarkStep
public static void setDarkStep(float float1) -
getRecalcLightTime
public static int getRecalcLightTime() -
setRecalcLightTime
public static void setRecalcLightTime(int int1) -
getLightcache
public static int getLightcache() -
setLightcache
public static void setLightcache(int int1) -
isCouldSee
public boolean isCouldSee(int int1) -
setCouldSee
public void setCouldSee(int int1, boolean boolean1) -
isCanSee
public boolean isCanSee(int int1) -
setCanSee
public void setCanSee(int int1, boolean boolean1) -
getCell
-
getE
-
setE
-
getLightInfluenceB
public java.util.ArrayList getLightInfluenceB() -
setLightInfluenceB
public void setLightInfluenceB(java.util.ArrayList arrayList) -
getLightInfluenceG
public java.util.ArrayList getLightInfluenceG() -
setLightInfluenceG
public void setLightInfluenceG(java.util.ArrayList arrayList) -
getLightInfluenceR
public java.util.ArrayList getLightInfluenceR() -
setLightInfluenceR
public void setLightInfluenceR(java.util.ArrayList arrayList) -
getStaticMovingObjects
public java.util.ArrayList getStaticMovingObjects() -
getMovingObjects
public java.util.ArrayList getMovingObjects() -
getN
-
setN
-
getObjects
-
getProperties
-
getRoom
-
setRoom
-
getBuilding
-
getS
-
setS
-
getSpecialObjects
public java.util.ArrayList getSpecialObjects() -
getW
-
setW
-
getLampostTotalR
public float getLampostTotalR() -
setLampostTotalR
public void setLampostTotalR(float float1) -
getLampostTotalG
public float getLampostTotalG() -
setLampostTotalG
public void setLampostTotalG(float float1) -
getLampostTotalB
public float getLampostTotalB() -
setLampostTotalB
public void setLampostTotalB(float float1) -
isSeen
public boolean isSeen(int int1) -
setIsSeen
public void setIsSeen(int int1, boolean boolean1) -
getDarkMulti
public float getDarkMulti(int int1) -
setDarkMulti
public void setDarkMulti(int int1, float float1) -
getTargetDarkMulti
public float getTargetDarkMulti(int int1) -
setTargetDarkMulti
public void setTargetDarkMulti(int int1, float float1) -
setX
public void setX(int int1) -
setY
public void setY(int int1) -
setZ
public void setZ(int int1) -
getDeferedCharacters
public java.util.ArrayList getDeferedCharacters() -
addDeferredCharacter
-
isCacheIsFree
public boolean isCacheIsFree() -
setCacheIsFree
public void setCacheIsFree(boolean boolean1) -
isCachedIsFree
public boolean isCachedIsFree() -
setCachedIsFree
public void setCachedIsFree(boolean boolean1) -
isbDoSlowPathfinding
public static boolean isbDoSlowPathfinding() -
setbDoSlowPathfinding
public static void setbDoSlowPathfinding(boolean boolean1) -
isSolidFloorCached
public boolean isSolidFloorCached() -
setSolidFloorCached
public void setSolidFloorCached(boolean boolean1) -
isSolidFloor
public boolean isSolidFloor() -
setSolidFloor
public void setSolidFloor(boolean boolean1) -
getDefColorInfo
-
isOutside
public boolean isOutside() -
HasPushable
public boolean HasPushable() -
setRoomID
public void setRoomID(int int1) -
getRoomID
public int getRoomID() -
getCanSee
public boolean getCanSee(int int1) -
getSeen
public boolean getSeen(int int1) -
getChunk
-
getDoorOrWindow
-
getDoorOrWindowOrWindowFrame
-
getOpenDoor
-
removeWorldObject
-
removeAllWorldObjects
public void removeAllWorldObjects() -
getWorldObjects
public java.util.ArrayList getWorldObjects() -
getLocalTemporaryObjects
-
getModData
-
hasModData
public boolean hasModData() -
getHasTypes
-
setVertLight
public void setVertLight(int int1, int int2, int int3) -
getVertLight
public int getVertLight(int int1, int int2) -
setRainDrop
-
getRainDrop
-
setRainSplash
-
getRainSplash
-
getZone
-
getZoneType
public java.lang.String getZoneType() -
isOverlayDone
public boolean isOverlayDone() -
setOverlayDone
public void setOverlayDone(boolean boolean1) -
getErosionData
-
disableErosion
public void disableErosion() -
removeErosionObject
public void removeErosionObject(java.lang.String string) -
syncIsoTrap
-
drawCircleExplosion
-
explosion
-
smoke
public void smoke() -
explodeTrap
public void explodeTrap() -
getTrapPositionX
public int getTrapPositionX() -
setTrapPositionX
public void setTrapPositionX(int int1) -
getTrapPositionY
public int getTrapPositionY() -
setTrapPositionY
public void setTrapPositionY(int int1) -
getTrapPositionZ
public int getTrapPositionZ() -
setTrapPositionZ
public void setTrapPositionZ(int int1) -
haveElectricity
public boolean haveElectricity() -
setHaveElectricity
public void setHaveElectricity(boolean boolean1) -
getGenerator
-
stopFire
public void stopFire() -
transmitStopFire
public void transmitStopFire() -
playSound
public long playSound(java.lang.String string) -
playSound
@Deprecated public long playSound(java.lang.String string, boolean boolean1)Deprecated. -
FixStackableObjects
public void FixStackableObjects() -
getVehicleContainer
-
isVehicleIntersecting
public boolean isVehicleIntersecting() -
getCompost
-
setIsoWorldRegion
-
getIsoWorldRegion
-
ResetIsoWorldRegion
public void ResetIsoWorldRegion() -
isInARoom
public boolean isInARoom() -
getWallType
public int getWallType() -
getPuddlesDir
public int getPuddlesDir() -
haveFire
public boolean haveFire() -
getRoofHideBuilding
-
getAdjacentSquare
-
getAdjacentPathSquare
-
getApparentZ
public float getApparentZ(float float1, float float2) -
getTotalWeightOfItemsOnFloor
public float getTotalWeightOfItemsOnFloor() -
getCollideMatrix
public boolean getCollideMatrix(int int1, int int2, int int3) -
getPathMatrix
public boolean getPathMatrix(int int1, int int2, int int3) -
getVisionMatrix
public boolean getVisionMatrix(int int1, int int2, int int3) -
checkRoomSeen
public void checkRoomSeen(int int1) -
hasFlies
public boolean hasFlies() -
setHasFlies
public void setHasFlies(boolean boolean1) -
getLightLevel
public float getLightLevel(int int1)
-