diff options
Diffstat (limited to 'src/include/data_ini.h')
-rw-r--r-- | src/include/data_ini.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/include/data_ini.h b/src/include/data_ini.h index 1f93caf..722581f 100644 --- a/src/include/data_ini.h +++ b/src/include/data_ini.h @@ -2,12 +2,15 @@ #define DATA_INI_H #include <SDL_stdinc.h> +#include "utils.h" /* MAX_PATH_LEN */ #define LEVEL_WIDTH (1664*2) #define LEVEL_HEIGHT (160*2) #define MAX_NAMELEN 64 +#define MAX_LEVELPACK_COUNT 8 + #define MAX_PARTICLE_COLORS 16 #define MAX_MUSICS_COUNT 32 #define MAX_DIFFICULTY_COUNT 8 @@ -44,6 +47,7 @@ struct levelIni { //////////////////////// LEVELPACK INI FILES //////////////////////// struct levelPackIni { + char id[MAX_NAMELEN]; char name[MAX_NAMELEN]; int maxFallDistance; char codeSeed[MAX_NAMELEN]; @@ -82,9 +86,10 @@ struct miscIni { //////////////////////// GLOBAL INI FILES //////////////////////// typedef struct { - struct styleIni style; - struct levelIni level; + char data_basepath[MAX_PATH_LEN]; struct levelPackIni levelPack; + struct levelIni level; + struct styleIni style; //struct miscIni misc; } gameIni_t; |