X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=af6b95a259e841b9775811103dd640ad1317be01;hp=abed03f0096cd0e639b365e8896e0293ff7a7655;hb=5dd3c868d9df906623a5fc0ff2124655a14e3715;hpb=df11f4a529251a285f3a33946da81623044fef3f diff --git a/src/libgame/system.h b/src/libgame/system.h index abed03f0..af6b95a2 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -617,7 +617,7 @@ struct TreeInfo /* fields for "type == TREE_TYPE_LEVEL_DIR" */ - char *filename; /* tree info sub-directory basename (may be ".") */ + char *subdir; /* tree info sub-directory basename (may be ".") */ char *fullpath; /* complete path relative to tree base directory */ char *basepath; /* absolute base path of tree base directory */ char *identifier; /* identifier string for configuration files */ @@ -633,6 +633,9 @@ struct TreeInfo char *sounds_path; /* path to optional custom sounds set (level only) */ char *music_path; /* path to optional custom music set (level only) */ + char *level_filename; /* filename of level file (for packed level file) */ + char *level_filetype; /* type of levels in level directory or level file */ + int levels; /* number of levels in level series */ int first_level; /* first level number (to allow start with 0 or 1) */ int last_level; /* last level number (automatically calculated) */