diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-04 14:26:55 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-04 14:26:55 (GMT) |
| commit | 055832270979cdb027c0c30a74cf82c23df13689 (patch) | |
| tree | b2ee525f713764c020b8668fe5776f4aa3d60643 /src/game/Tool.cpp | |
| parent | f32cd872ca2214b670b1ed4efa0b5b12a9c1ed30 (diff) | |
| download | powder-055832270979cdb027c0c30a74cf82c23df13689.zip powder-055832270979cdb027c0c30a74cf82c23df13689.tar.gz | |
Add icons for erase, improve icons for certain walls, fix issue #45
Diffstat (limited to 'src/game/Tool.cpp')
| -rw-r--r-- | src/game/Tool.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/Tool.cpp b/src/game/Tool.cpp index 43c2800..e3f1ded 100644 --- a/src/game/Tool.cpp +++ b/src/game/Tool.cpp @@ -30,6 +30,10 @@ VideoBuffer * Tool::GetTexture(int width, int height) } return NULL; } +void Tool::SetTextureGen(VideoBuffer * (*textureGen)(int, int, int)) +{ + this->textureGen = textureGen; +} string Tool::GetName() { return toolName; } string Tool::GetDescription() { return toolDescription; } Tool::~Tool() {} |
