Added digger2 comments.

develop
rout 2010-05-01 23:15:37 +02:00
parent abed3312bd
commit 59f0c4b14b
1 changed files with 12 additions and 5 deletions

@ -1,8 +1,15 @@
// digger.cpp /**
* @file digger2.cpp
// NOTE currently only works with trees * @author rOut
*
// TODO add a sort of "sub-target" to dig() to make it able to designate stone as well * Improved digger tool.
*
* Takes a text file as first an only argument.
* The text file is read as a grid, and every character represents a designation for a tile.
* Allowed characters are 'd' for dig, 'u' for up stairs, 'j' for down stairs, 'i' for up and down stairs, 'h' for channel, 'r' for upward ramp and 'x' to remove designation.
* Other characters don't do anything and can be used for padding.
* The designation pattern is the wrote in game memory, centered on the current cursor position. Thus, the game needs to be in designation mode or, perhaps, any other mode that have a cursor.
*/
#include <iostream> #include <iostream>
#include <fstream> #include <fstream>