Add a tiletype function to get basic shapes from shapes. Track modules.

develop
Petr Mrázek 2012-03-16 20:41:07 +01:00
parent 976fa18d72
commit 3168a2ef62
4 changed files with 8 additions and 3 deletions

@ -50,7 +50,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <cstdlib>
#include <iostream>
#include <sstream>
#include <stdio.h>
#include <string.h>
#include <string>
#include <stdarg.h>

@ -153,6 +153,12 @@ namespace DFHack
return ENUM_ATTR(tiletype, shape, tiletype);
}
inline
df::tiletype_shape_basic tileShapeBasic(df::tiletype_shape tileshape)
{
return ENUM_ATTR(tiletype_shape, basic_shape, tileshape);
}
inline
df::tiletype_special tileSpecial(df::tiletype tiletype)
{

@ -1 +1 @@
Subproject commit 59181edc3d904328851b7e7914412fc2dd6f81a5
Subproject commit 08e1f71e89c1af6b3bef940914ed7f3d8fed89b0

@ -1 +1 @@
Subproject commit bb7bcc00c4eb2e46e5d7141fb2d0ce8a30386568
Subproject commit fa17ba5de0a003c135150516cd9c80205ac3f9f1