diff options
Diffstat (limited to 'src/include/data_ini.h')
-rw-r--r-- | src/include/data_ini.h | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/src/include/data_ini.h b/src/include/data_ini.h index bec4d48..bf0920e 100644 --- a/src/include/data_ini.h +++ b/src/include/data_ini.h @@ -7,20 +7,8 @@ #include "SDL/SDL_stdinc.h" -// object_* = entries from level ini files -struct styleObjects { - int frames, anim, type, sound; -}; - -// Various keys at the beginning of level ini files -struct styleIni { - char *name; - uint32_t bgColor, debrisColor; - int tiles, particleColorCount, objectCount; - uint32_t *particleColor; - struct styleObjects *objects; -}; +//////////////////////// LEVEL INI FILES //////////////////////// struct skills { int releaseRate, numLemmings, numToRescue, timeLimit; int numClimbers, numFloaters, numBlockers, numBombers, numBuilders, numBashers, numMiners, numDiggers; @@ -43,11 +31,29 @@ struct levelIni { struct levelItem *objects, *terrains, *steels; }; + +//////////////////////// LEVELPACK INI FILES //////////////////////// struct levelPackIni { int maxFallDistance; char *codeSeed; }; +//////////////////////// STYLE INI FILES //////////////////////// +// frames_, amin_, type_ sound_ quadruplet entries from style ini files +struct styleObjects { + int frames, anim, type, sound; +}; + +// Various keys at the beginning of style ini files +struct styleIni { + char *name; + uint32_t bgColor, debrisColor; + int tiles, particleColorCount, objectCount; + uint32_t *particleColor; + struct styleObjects *objects; +}; + +//////////////////////// GLOBAL INI FILES //////////////////////// typedef struct { struct styleIni style; struct levelIni level; |