dlangui ~master (2022-06-02T17:41:37Z)
Home
Dub
Repo
ChunkStack
dminer
core
chunk
Undocumented in source.
struct
ChunkStack {
protected
int
_minChunkY
;
protected
int
_chunkCount
;
version(SmallChunksGC)
protected
SmallChunk
*[]
_chunks
;
version(!SmallChunksGC)
protected
SmallChunk
**
_chunks
;
SmallChunk
*
get
(int chunkY);
int
topNonEmptyY
[@property getter];
void
set
(int chunkY, SmallChunk* item);
void
clear
();
~this
();
}
Destructor
~this
~this
()
Undocumented in source.
Members
Functions
clear
void
clear
()
Undocumented in source. Be warned that the author may not have intended to support it.
get
SmallChunk
*
get
(int chunkY)
get chunk from stack by chunk Y index
set
void
set
(int chunkY, SmallChunk* item)
Undocumented in source. Be warned that the author may not have intended to support it.
Properties
topNonEmptyY
int
topNonEmptyY
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
_chunkCount
int
_chunkCount
;
Undocumented in source.
_chunks
SmallChunk
*[]
_chunks
;
Undocumented in source.
_chunks
SmallChunk
**
_chunks
;
Undocumented in source.
_minChunkY
int
_minChunkY
;
Undocumented in source.
Meta
Source
See Implementation
dminer
core
chunk
enums
SpreadMask
functions
calcSpreadMask
dirMaskToSpreadMask
flipBitsLeft
flipBitsRight
generateDirMaskSource
spreadXPlane
spreadYPlane
spreadZPlane
testDirMaskToSpreadMask
testPlanes
xPlaneFromYplanes
xPlaneFromZplanes
yPlaneFromXplanes
yPlaneFromZplanes
zPlaneFromXplanes
zPlaneFromYplanes
interfaces
CellVisitor
ChunkVisitor
structs
AllPlanes
ChunkStack
Planes
SmallChunk
VisibilityCheckChunk
VisibilityCheckIterator
variables
CHUNKS_BITS_X
CHUNKS_BITS_Z
CHUNKS_X
CHUNKS_X_MASK
CHUNKS_Z
CHUNKS_Z_MASK
CHUNK_DY