X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=9b3dfe752f127bb1b41ace4bd0005cbba18823bf;hb=38142eccb93284bef9c3aeb2d9e81389a21da82a;hp=f5b2967e5ffc5345b042c15a29fe5ac7e713422c;hpb=f668f77f85a42d0aabbc89f4896bea79d63af0a1;p=rocksndiamonds.git diff --git a/src/libgame/system.h b/src/libgame/system.h index f5b2967e..9b3dfe75 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -774,6 +774,11 @@ #define NUM_BASE_TREE_TYPES 4 #define NUM_TREE_TYPES 6 +#define TREE_TYPE_IS_DIR(type) ((type) == TREE_TYPE_GRAPHICS_DIR || \ + (type) == TREE_TYPE_SOUNDS_DIR || \ + (type) == TREE_TYPE_MUSIC_DIR || \ + (type) == TREE_TYPE_LEVEL_DIR) + #define INFOTEXT_UNDEFINED "" #define INFOTEXT_GRAPHICS_DIR "Custom Graphics" #define INFOTEXT_SOUNDS_DIR "Custom Sounds"