载入中...
搜索中...
未找到
FieldTargets.cpp
浏览该文件的文档.
12bool TileBufferTarget::containsCell(int x, int y) const { return buffer_ && buffer_->containsCell(x, y); }
13int TileBufferTarget::readInt(int x, int y) const { return containsCell(x, y) ? buffer_->getGid(x, y) : 0; }
void bumpRevision()
Advance the revision without touching the dirty region.
Definition EditableTarget.h:179
void widenDirty()
Mark an unknown area dirty without advancing the revision.
Definition EditableTarget.h:177
FieldWriteStatus writeInt(int x, int y, int value) override
Writes int.
Definition FieldTargets.cpp:14
TileBufferTarget(std::string id, TileBuffer *buffer)
Adapt a borrowed buffer that must outlive this target. @thread Owner-thread only.
Definition FieldTargets.cpp:8
Independent GID grid for map brushes (no hard dependency on map.TileLayer).
Definition TileBuffer.h:11
bool containsCell(int x, int y) const
Return whether a cell belongs to this buffer.
Definition TileBuffer.cpp:35
Definition Brush.cpp:10
Definition Container.h:602