Package zombie.iso
Class IsoCell
java.lang.Object
zombie.iso.IsoCell
public final class IsoCell
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IsoCell.BuildingSearchCriteria
static class
IsoCell.PerPlayerRender
protected class
IsoCell.SnowGridTiles
-
Field Summary
Fields Modifier and Type Field Description java.util.ArrayList
addVehicles
boolean
bRendering
java.util.ArrayList
BuildingList
IsoChunkMap[]
ChunkMap
IntGrid
DangerScore
int
DeferredCharacterTick
static boolean
ENABLE_SQUARE_CACHE
static int
ISOANGLEFACTOR
static int
MaxHeight
static IsoCell.PerPlayerRender[]
perPlayerRender
java.util.ArrayList
ProcessWorldItemsRemove
protected int
rainIntensity
protected int
rainSpeed
boolean
recalcFloors
java.util.ArrayList
roomLights
static int
RTF_MinusFloorCharacters
static int
RTF_ShadedFloor
static int
RTF_Shadows
static int
RTF_SolidFloor
static int
RTF_VegetationCorpses
int
StencilX1
int
StencilX2
int
StencilY1
int
StencilY2
java.util.ArrayList
Trees
java.util.ArrayList
vehicles
-
Constructor Summary
Constructors Constructor Description IsoCell(int int1, int int2)
-
Method Summary
Modifier and Type Method Description void
addHeatSource(IsoHeatSource heatSource)
IsoLightSource
addLamppost(int int1, int int2, int int3, float float1, float float2, float float3, int int4)
void
addLamppost(IsoLightSource lightSource)
void
addMovingObject(IsoMovingObject movingObject)
void
addToProcessIsoObject(IsoObject object)
void
addToProcessIsoObjectRemove(IsoObject object)
void
addToProcessItems(java.util.ArrayList arrayList)
void
addToProcessItems(InventoryItem inventoryItem)
void
addToProcessItemsRemove(java.util.ArrayList arrayList)
void
addToProcessItemsRemove(InventoryItem inventoryItem)
void
addToProcessWorldItems(IsoWorldInventoryObject worldInventoryObject)
void
addToProcessWorldItemsRemove(IsoWorldInventoryObject worldInventoryObject)
void
addToStaticUpdaterObjectList(IsoObject object)
void
addToWindowList(IsoWindow window)
boolean
blocked(Mover mover, int int1, int int2, int int3, int int4, int int5, int int6)
void
CalculateVertColoursForTile(IsoGridSquare square, int int1, int int2, int int3, int int4)
boolean
CanBuildingSquareOccludePlayer(IsoGridSquare square, int int1)
void
checkHaveRoof(int int1, int int2)
void
clearCacheGridSquare(int int1)
IsoGridSquare
ConnectNewSquare(IsoGridSquare square, boolean boolean1)
IsoGridSquare
createNewGridSquare(int int1, int int2, int int3, boolean boolean1)
void
DeleteAllMovingObjects()
void
Dispose()
float
DistanceFromSupport(int int1, int int2, int int3)
boolean
DoBuilding(int int1, boolean boolean1)
void
DoGridNav(IsoGridSquare square, IsoGridSquare.GetSquare getSquare)
void
DrawStencilMask()
void
EnsureSurroundNotNull(int int1, int int2, int int3)
static IsoDirections
FromMouseTile()
java.util.ArrayList
getAddList()
static int
getBComponent(int int1)
java.util.Stack
getBestBuildings(IsoCell.BuildingSearchCriteria buildingSearchCriteria, int int1)
java.util.ArrayList
getBuildingList()
static java.util.Stack
getBuildings()
java.util.HashMap
getBuildingScores()
IsoChunk
getChunk(int int1, int int2)
IsoChunk
getChunkForGridSquare(int int1, int int2, int int3)
IsoChunkMap
getChunkMap(int int1)
IsoBuilding
getClosestBuildingExcept(IsoGameCharacter gameCharacter, IsoRoom room)
int
getCurrentLightX()
int
getCurrentLightY()
int
getCurrentLightZ()
LotHeader
getCurrentLotHeader()
int
getDangerScore(int int1, int int2)
OnceEvery
getDangerUpdate()
KahluaTable
getDrag(int int1)
int
GetEffectivePlayerRoomId()
IsoZombie
getFakeZombieForHit()
IsoGridSquare
getFreeTile(RoomDef roomDef)
static int
getGComponent(int int1)
IsoGridSquare
getGridSquare(double double1, double double2, double double3)
IsoGridSquare
getGridSquare(int int1, int int2, int int3)
IsoGridSquare
getGridSquare(java.lang.Double Double1, java.lang.Double Double2, java.lang.Double Double3)
IsoGridSquare
getGridSquareDirect(int int1, int int2, int int3, int int4)
float
getHeatSourceHighestTemperature(float float1, int int1, int int2, int int3)
int
getHeatSourceTemperature(int int1, int int2, int int3)
int
getHeight()
int
getHeightInTiles()
static IsoCell
getInstance()
java.util.Stack
getLamppostPositions()
java.lang.Thread
getLightInfoUpdate()
IsoLightSource
getLightSourceAt(int int1, int int2, int int3)
KahluaTable
getLuaObjectList()
int
getMaxFloors()
static int
getMaxHeight()
int
getMaxX()
int
getMaxY()
int
getMaxZ()
int
getMinX()
int
getMinY()
int
getMinZ()
IsoZombie
getNearestVisibleZombie(int int1)
IsoSurvivor
getNetworkPlayer(int int1)
java.util.ArrayList
getObjectList()
IsoGridSquare
getOrCreateGridSquare(double double1, double double2, double double3)
java.util.ArrayList
getProcessIsoObjectRemove()
java.util.ArrayList
getProcessIsoObjects()
java.util.ArrayList
getProcessItems()
java.util.ArrayList
getProcessItemsRemove()
java.util.ArrayList
getProcessWorldItems()
java.util.ArrayList
getPushableObjectList()
IsoGridSquare
getRandomFreeTileInRoom()
IsoGridSquare
getRandomOutdoorTile()
static int
getRComponent(int int1)
IsoGridSquare
getRelativeGridSquare(int int1, int int2, int int3)
java.util.ArrayList
getRemoteSurvivorList()
java.util.ArrayList
getRemoveList()
IsoRoom
getRoom(int int1)
java.util.ArrayList
getRoomList()
IsoSpriteManager
getSpriteManager()
java.util.ArrayList
getStaticUpdaterObjectList()
short
getStencilValue(int int1, int int2, int int3)
short
getStencilValue2z(int int1, int int2, int int3)
java.util.ArrayList
getSurvivorList()
java.util.ArrayList
getVehicles()
IsoWeatherFX
getWeatherFX()
int
getWidth()
int
getWidthInTiles()
java.util.ArrayList
getWindowList()
int
getWorldX()
int
getWorldY()
java.util.ArrayList
getZombieList()
boolean
gridSquareIsSnow(int int1, int int2, int int3)
void
invalidatePeekedRoom(int int1)
boolean
isInChunkMap(int int1, int int2)
boolean
isNull(int int1, int int2, int int3)
boolean
IsPlayerWindowPeeking(int int1)
boolean
isSafeToAdd()
boolean
LoadPlayer(int int1)
void
PlaceLot(java.lang.String string, int int1, int int2, int int3, boolean boolean1)
void
PlaceLot(IsoLot lot, int int1, int int2, int int3, boolean boolean1)
void
PlaceLot(IsoLot lot, int int1, int int2, int int3, IsoChunk chunk, int int4, int int5)
void
ProcessSpottedRooms()
void
putInVehicle(IsoGameCharacter gameCharacter)
void
reloadRainTextures()
void
Remove(IsoMovingObject movingObject)
void
removeFromWindowList(IsoWindow window)
void
removeHeatSource(IsoHeatSource heatSource)
void
removeLamppost(int int1, int int2, int int3)
void
removeLamppost(IsoLightSource lightSource)
void
render()
void
RenderFloorShading(int int1)
void
RenderTiles(int int1)
void
resumeVehicleSounds(IsoGameCharacter gameCharacter)
Deprecated.void
roomSpotted(IsoRoom room)
void
save(java.io.DataOutputStream dataOutputStream, boolean boolean1)
void
savePlayer()
static void
setBuildings(java.util.Stack stack)
void
setCacheChunk(IsoChunk chunk)
void
setCacheChunk(IsoChunk chunk, int int1)
void
setCacheGridSquare(int int1, int int2, int int3, IsoGridSquare square)
void
setCacheGridSquareLocal(int int1, int int2, int int3, IsoGridSquare square, int int4)
void
setCurrentLightX(int int1)
void
setCurrentLightY(int int1)
void
setCurrentLightZ(int int1)
void
setDangerUpdate(OnceEvery onceEvery)
void
setDrag(KahluaTable kahluaTable, int int1)
void
setHeight(int int1)
void
setLightInfoUpdate(java.lang.Thread thread)
void
setMaxX(int int1)
void
setMaxY(int int1)
void
setMaxZ(int int1)
void
setMinX(int int1)
void
setMinY(int int1)
void
setMinZ(int int1)
void
setRainAlpha(int int1)
void
setRainIntensity(int int1)
void
setRainSpeed(int int1)
void
setSafeToAdd(boolean boolean1)
void
setSnowTarget(int int1)
void
setStencilValue(int int1, int int2, int int3, int int4)
void
setStencilValue2z(int int1, int int2, int int3, int int4)
void
setWidth(int int1)
void
setWorldX(int int1)
void
setWorldY(int int1)
static int
toIntColor(float float1, float float2, float float3, float float4)
void
update()
void
updateHeatSources()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
MaxHeight
public static int MaxHeight -
Trees
public java.util.ArrayList Trees -
ChunkMap
-
BuildingList
public final java.util.ArrayList BuildingList -
ProcessWorldItemsRemove
public final java.util.ArrayList ProcessWorldItemsRemove -
ENABLE_SQUARE_CACHE
public static final boolean ENABLE_SQUARE_CACHE- See Also:
- Constant Field Values
-
DangerScore
-
roomLights
public final java.util.ArrayList roomLights -
addVehicles
public final java.util.ArrayList addVehicles -
vehicles
public final java.util.ArrayList vehicles -
ISOANGLEFACTOR
public static final int ISOANGLEFACTOR- See Also:
- Constant Field Values
-
RTF_SolidFloor
public static final int RTF_SolidFloor- See Also:
- Constant Field Values
-
RTF_VegetationCorpses
public static final int RTF_VegetationCorpses- See Also:
- Constant Field Values
-
RTF_MinusFloorCharacters
public static final int RTF_MinusFloorCharacters- See Also:
- Constant Field Values
-
RTF_ShadedFloor
public static final int RTF_ShadedFloor- See Also:
- Constant Field Values
-
RTF_Shadows
public static final int RTF_Shadows- See Also:
- Constant Field Values
-
perPlayerRender
-
StencilX1
public int StencilX1 -
StencilY1
public int StencilY1 -
StencilX2
public int StencilX2 -
StencilY2
public int StencilY2 -
DeferredCharacterTick
public int DeferredCharacterTick -
recalcFloors
public boolean recalcFloors -
rainIntensity
protected int rainIntensity -
rainSpeed
protected int rainSpeed -
bRendering
public boolean bRendering
-
-
Constructor Details
-
IsoCell
public IsoCell(int int1, int int2)
-
-
Method Details
-
getMaxHeight
public static int getMaxHeight() -
getCurrentLotHeader
-
getChunkMap
-
getFreeTile
-
getBuildings
public static java.util.Stack getBuildings() -
setBuildings
public static void setBuildings(java.util.Stack stack) -
getNearestVisibleZombie
-
getChunkForGridSquare
-
getChunk
-
getStencilValue
public short getStencilValue(int int1, int int2, int int3) -
setStencilValue
public void setStencilValue(int int1, int int2, int int3, int int4) -
getStencilValue2z
public short getStencilValue2z(int int1, int int2, int int3) -
setStencilValue2z
public void setStencilValue2z(int int1, int int2, int int3, int int4) -
CalculateVertColoursForTile
public void CalculateVertColoursForTile(IsoGridSquare square, int int1, int int2, int int3, int int4) -
DrawStencilMask
public void DrawStencilMask() -
RenderTiles
public void RenderTiles(int int1) -
RenderFloorShading
public void RenderFloorShading(int int1) -
IsPlayerWindowPeeking
public boolean IsPlayerWindowPeeking(int int1) -
CanBuildingSquareOccludePlayer
-
GetEffectivePlayerRoomId
public int GetEffectivePlayerRoomId() -
setSnowTarget
public void setSnowTarget(int int1) -
gridSquareIsSnow
public boolean gridSquareIsSnow(int int1, int int2, int int3) -
getClosestBuildingExcept
-
getDangerScore
public int getDangerScore(int int1, int int2) -
addToProcessIsoObject
-
addToProcessIsoObjectRemove
-
addToStaticUpdaterObjectList
-
addToProcessItems
-
addToProcessItems
public void addToProcessItems(java.util.ArrayList arrayList) -
addToProcessItemsRemove
-
addToProcessItemsRemove
public void addToProcessItemsRemove(java.util.ArrayList arrayList) -
addToProcessWorldItems
-
addToProcessWorldItemsRemove
-
getNetworkPlayer
-
ConnectNewSquare
-
PlaceLot
public void PlaceLot(java.lang.String string, int int1, int int2, int int3, boolean boolean1) -
PlaceLot
-
PlaceLot
-
setDrag
-
getDrag
-
DoBuilding
public boolean DoBuilding(int int1, boolean boolean1) -
DistanceFromSupport
public float DistanceFromSupport(int int1, int int2, int int3) -
getBuildingList
public java.util.ArrayList getBuildingList() -
getWindowList
public java.util.ArrayList getWindowList() -
addToWindowList
-
removeFromWindowList
-
getObjectList
public java.util.ArrayList getObjectList() -
getRoom
-
getPushableObjectList
public java.util.ArrayList getPushableObjectList() -
getBuildingScores
public java.util.HashMap getBuildingScores() -
getRoomList
public java.util.ArrayList getRoomList() -
getStaticUpdaterObjectList
public java.util.ArrayList getStaticUpdaterObjectList() -
getZombieList
public java.util.ArrayList getZombieList() -
getRemoteSurvivorList
public java.util.ArrayList getRemoteSurvivorList() -
getRemoveList
public java.util.ArrayList getRemoveList() -
getAddList
public java.util.ArrayList getAddList() -
addMovingObject
-
getProcessItems
public java.util.ArrayList getProcessItems() -
getProcessWorldItems
public java.util.ArrayList getProcessWorldItems() -
getProcessIsoObjects
public java.util.ArrayList getProcessIsoObjects() -
getProcessItemsRemove
public java.util.ArrayList getProcessItemsRemove() -
getVehicles
public java.util.ArrayList getVehicles() -
getHeight
public int getHeight() -
setHeight
public void setHeight(int int1) -
getWidth
public int getWidth() -
setWidth
public void setWidth(int int1) -
getWorldX
public int getWorldX() -
setWorldX
public void setWorldX(int int1) -
getWorldY
public int getWorldY() -
setWorldY
public void setWorldY(int int1) -
isSafeToAdd
public boolean isSafeToAdd() -
setSafeToAdd
public void setSafeToAdd(boolean boolean1) -
getLamppostPositions
public java.util.Stack getLamppostPositions() -
getLightSourceAt
-
addLamppost
-
addLamppost
public IsoLightSource addLamppost(int int1, int int2, int int3, float float1, float float2, float float3, int int4) -
removeLamppost
public void removeLamppost(int int1, int int2, int int3) -
removeLamppost
-
getCurrentLightX
public int getCurrentLightX() -
setCurrentLightX
public void setCurrentLightX(int int1) -
getCurrentLightY
public int getCurrentLightY() -
setCurrentLightY
public void setCurrentLightY(int int1) -
getCurrentLightZ
public int getCurrentLightZ() -
setCurrentLightZ
public void setCurrentLightZ(int int1) -
getMinX
public int getMinX() -
setMinX
public void setMinX(int int1) -
getMaxX
public int getMaxX() -
setMaxX
public void setMaxX(int int1) -
getMinY
public int getMinY() -
setMinY
public void setMinY(int int1) -
getMaxY
public int getMaxY() -
setMaxY
public void setMaxY(int int1) -
getMinZ
public int getMinZ() -
setMinZ
public void setMinZ(int int1) -
getMaxZ
public int getMaxZ() -
setMaxZ
public void setMaxZ(int int1) -
getDangerUpdate
-
setDangerUpdate
-
getLightInfoUpdate
public java.lang.Thread getLightInfoUpdate() -
setLightInfoUpdate
public void setLightInfoUpdate(java.lang.Thread thread) -
getSurvivorList
public java.util.ArrayList getSurvivorList() -
getRComponent
public static int getRComponent(int int1) -
getGComponent
public static int getGComponent(int int1) -
getBComponent
public static int getBComponent(int int1) -
toIntColor
public static int toIntColor(float float1, float float2, float float3, float float4) -
getRandomOutdoorTile
-
getBestBuildings
public java.util.Stack getBestBuildings(IsoCell.BuildingSearchCriteria buildingSearchCriteria, int int1) -
blocked
-
Dispose
public void Dispose() -
getGridSquare
-
getOrCreateGridSquare
-
setCacheGridSquare
-
setCacheChunk
-
setCacheChunk
-
clearCacheGridSquare
public void clearCacheGridSquare(int int1) -
setCacheGridSquareLocal
-
getGridSquare
public IsoGridSquare getGridSquare(java.lang.Double Double1, java.lang.Double Double2, java.lang.Double Double3) -
getGridSquare
-
EnsureSurroundNotNull
public void EnsureSurroundNotNull(int int1, int int2, int int3) -
DeleteAllMovingObjects
public void DeleteAllMovingObjects() -
getMaxFloors
public int getMaxFloors() -
getLuaObjectList
-
getHeightInTiles
public int getHeightInTiles() -
getWidthInTiles
public int getWidthInTiles() -
isNull
public boolean isNull(int int1, int int2, int int3) -
Remove
-
getInstance
-
render
public void render() -
invalidatePeekedRoom
public void invalidatePeekedRoom(int int1) -
getWeatherFX
-
setRainAlpha
public void setRainAlpha(int int1) -
setRainIntensity
public void setRainIntensity(int int1) -
setRainSpeed
public void setRainSpeed(int int1) -
reloadRainTextures
public void reloadRainTextures() -
FromMouseTile
-
update
public void update() -
getRandomFreeTileInRoom
-
roomSpotted
-
ProcessSpottedRooms
public void ProcessSpottedRooms() -
savePlayer
public void savePlayer() throws java.io.IOException- Throws:
java.io.IOException
-
save
public void save(java.io.DataOutputStream dataOutputStream, boolean boolean1) throws java.io.IOException- Throws:
java.io.IOException
-
LoadPlayer
public boolean LoadPlayer(int int1) throws java.io.FileNotFoundException, java.io.IOException- Throws:
java.io.FileNotFoundException
java.io.IOException
-
getRelativeGridSquare
-
createNewGridSquare
-
getGridSquareDirect
-
isInChunkMap
public boolean isInChunkMap(int int1, int int2) -
getProcessIsoObjectRemove
public java.util.ArrayList getProcessIsoObjectRemove() -
checkHaveRoof
public void checkHaveRoof(int int1, int int2) -
getFakeZombieForHit
-
addHeatSource
-
removeHeatSource
-
updateHeatSources
public void updateHeatSources() -
getHeatSourceTemperature
public int getHeatSourceTemperature(int int1, int int2, int int3) -
getHeatSourceHighestTemperature
public float getHeatSourceHighestTemperature(float float1, int int1, int int2, int int3) -
putInVehicle
-
resumeVehicleSounds
Deprecated. -
getSpriteManager
-