Package zombie.iso
Class IsoChunk
java.lang.Object
zombie.iso.IsoChunk
public class IsoChunk
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IsoChunk.JobType
-
Field Summary
Fields Modifier and Type Field Description static boolean
bDoServerRequests
boolean
bFixed2x
boolean[]
bLightingNeverDone
boolean
bLoaded
FliesSound.ChunkData
corpseData
BoundedQueue
FloorBloodSplats
java.util.ArrayList
FloorBloodSplatsFade
IsoChunk.JobType
jobType
boolean[]
lightCheck
static java.util.Stack
loadGridSquare
LotHeader
lotheader
static int
MAX_BLOOD_SPLATS
long
modificationTime
int
nextSplatIndex
boolean
okToLoad
int
randomID
java.util.ArrayList
refs
static byte[][]
renderByIndex
long
revision
java.util.ArrayList
roomLights
double
seen
IsoGridSquare[][]
squares
double
visited
int
wx
int
wy
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description void
AddBlood(int wx, int wy)
void
addBloodSplat(float x, float y, float z, int Type)
void
AddCorpses(int wx, int wy)
void
Blam(int wx, int wy)
void
doLoadGridsquare()
void
doReuseGridsquares()
static boolean
FileExists(int wx, int wy)
static java.lang.String
Fix2x(java.lang.String tileName)
static int
Fix2x(IsoGridSquare square, int spriteID)
ErosionData.Chunk
getErosionData()
IsoGridSquare
getGridSquare(int x, int y, int z)
IsoRoom
getRoom(int roomID)
boolean
Load(int wx, int wy)
void
Load(java.io.File inFile, boolean bDoSurrounds)
void
loadInMainThread()
void
loadInWorldStreamerThread()
void
recalcNeighboursNow()
Deprecated.void
removeFromWorld()
void
resetForStore()
static void
SafeRead(java.io.File inFile, ClientChunkRequest.Chunk ccrc)
static void
SafeWrite(int wx, int wy, java.nio.ByteBuffer bb)
void
Save(boolean bSaveQuit)
void
SaveLoadedChunk(ClientChunkRequest.Chunk ccrc)
void
See()
void
setCache()
void
setSquare(int x, int y, int z, IsoGridSquare square)
void
update()
void
updateBuildings()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
bDoServerRequests
public static boolean bDoServerRequests -
wx
public int wx -
wy
public int wy -
squares
-
corpseData
-
jobType
-
seen
public double seen -
visited
public double visited -
lotheader
-
FloorBloodSplats
-
FloorBloodSplatsFade
public java.util.ArrayList FloorBloodSplatsFade -
MAX_BLOOD_SPLATS
public static final int MAX_BLOOD_SPLATS- See Also:
- Constant Field Values
-
nextSplatIndex
public int nextSplatIndex -
renderByIndex
public static final byte[][] renderByIndex -
refs
public java.util.ArrayList refs -
bLoaded
public boolean bLoaded -
okToLoad
public boolean okToLoad -
bFixed2x
public boolean bFixed2x -
lightCheck
public boolean[] lightCheck -
bLightingNeverDone
public boolean[] bLightingNeverDone -
roomLights
public java.util.ArrayList roomLights -
loadGridSquare
public static java.util.Stack loadGridSquare -
randomID
public int randomID -
revision
public long revision -
modificationTime
public long modificationTime
-
-
Constructor Details
-
IsoChunk
-
-
Method Details
-
addBloodSplat
public void addBloodSplat(float x, float y, float z, int Type) -
AddCorpses
public void AddCorpses(int wx, int wy) -
AddBlood
public void AddBlood(int wx, int wy) -
FileExists
public static boolean FileExists(int wx, int wy) -
Load
public boolean Load(int wx, int wy) -
loadInWorldStreamerThread
public void loadInWorldStreamerThread() -
loadInMainThread
public void loadInMainThread() -
recalcNeighboursNow
@Deprecated public void recalcNeighboursNow()Deprecated. -
updateBuildings
public void updateBuildings() -
update
public void update() -
setSquare
-
getGridSquare
-
getRoom
-
removeFromWorld
public void removeFromWorld() -
doReuseGridsquares
public void doReuseGridsquares() -
See
public void See() -
Load
public void Load(java.io.File inFile, boolean bDoSurrounds) throws java.io.IOException- Throws:
java.io.IOException
-
doLoadGridsquare
public void doLoadGridsquare() -
setCache
public void setCache() -
Save
public void Save(boolean bSaveQuit) throws java.io.IOException- Throws:
java.io.IOException
-
SafeWrite
public static void SafeWrite(int wx, int wy, java.nio.ByteBuffer bb) throws java.io.IOException- Throws:
java.io.IOException
-
SafeRead
public static void SafeRead(java.io.File inFile, ClientChunkRequest.Chunk ccrc) throws java.io.IOException- Throws:
java.io.IOException
-
SaveLoadedChunk
- Throws:
java.io.IOException
-
Blam
public void Blam(int wx, int wy) -
getErosionData
-
Fix2x
-
Fix2x
public static java.lang.String Fix2x(java.lang.String tileName) -
resetForStore
public void resetForStore()
-