diff options
author | Samuel Barney <samjbarney@gmail.com> | 2014-08-25 21:16:49 +0200 |
---|---|---|
committer | Samuel Barney <samjbarney@gmail.com> | 2014-08-25 21:16:49 +0200 |
commit | 0e2df0fe496c83f9993863479da150b686087f0b (patch) | |
tree | 0d1540287fc27910a9831ad12c2a334d3a7b5340 /src/Generating/GridStructGen.h | |
parent | Fixed some things from the mass replace. (diff) | |
download | cuberite-0e2df0fe496c83f9993863479da150b686087f0b.tar cuberite-0e2df0fe496c83f9993863479da150b686087f0b.tar.gz cuberite-0e2df0fe496c83f9993863479da150b686087f0b.tar.bz2 cuberite-0e2df0fe496c83f9993863479da150b686087f0b.tar.lz cuberite-0e2df0fe496c83f9993863479da150b686087f0b.tar.xz cuberite-0e2df0fe496c83f9993863479da150b686087f0b.tar.zst cuberite-0e2df0fe496c83f9993863479da150b686087f0b.zip |
Diffstat (limited to 'src/Generating/GridStructGen.h')
-rw-r--r-- | src/Generating/GridStructGen.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Generating/GridStructGen.h b/src/Generating/GridStructGen.h index 04ae2db98..e731319f0 100644 --- a/src/Generating/GridStructGen.h +++ b/src/Generating/GridStructGen.h @@ -27,7 +27,7 @@ Each structure thus contains the coords of its grid center (m_GridX, m_GridZ) an which it's built (m_OriginX, m_OriginZ). This class provides a cache for the structures generated for successive chunks and manages that cache. It -also provides the cFinishGen /*override*/ that uses the cache to actually generate the structure into chunk data. +also provides the cFinishGen override that uses the cache to actually generate the structure into chunk data. After generating each chunk the cache is checked for size, each item in the cache has a cost associated with it and the cache is trimmed (from its least-recently-used end) so that the sum of the cost in the cache is @@ -39,7 +39,7 @@ a structure at the specific grid cell. The descendant must use a specific cStructure descendant to provide the actual structure that gets generated. The structure must provide the DrawIntoChunk() function that generates the structure into the chunk data, and -can /*override*/ the GetCacheCost() function that returns the cost of that structure in the cache. +can override the GetCacheCost() function that returns the cost of that structure in the cache. */ class cGridStructGen : public cFinishGen |