2021-09-26 11:34:20 -07:00
|
|
|
#ifndef LEVEL_TABLE_H
|
|
|
|
|
#define LEVEL_TABLE_H
|
2019-12-01 21:52:53 -05:00
|
|
|
|
|
|
|
|
// For LEVEL_NAME defines, see level_defines.h.
|
|
|
|
|
// Please include this file if you want to use them.
|
|
|
|
|
|
|
|
|
|
#define STUB_LEVEL(_0, levelenum, _2, _3, _4, _5, _6, _7, _8) levelenum,
|
|
|
|
|
#define DEFINE_LEVEL(_0, levelenum, _2, _3, _4, _5, _6, _7, _8, _9, _10) levelenum,
|
|
|
|
|
|
2021-12-08 09:16:00 -06:00
|
|
|
enum LevelNum {
|
2021-09-23 17:37:05 -07:00
|
|
|
LEVEL_RESTART_GAME = -1,
|
2019-12-01 21:52:53 -05:00
|
|
|
LEVEL_NONE,
|
|
|
|
|
#include "levels/level_defines.h"
|
|
|
|
|
LEVEL_COUNT,
|
2021-12-08 09:16:00 -06:00
|
|
|
LEVEL_MAX = LEVEL_COUNT - 1,
|
|
|
|
|
LEVEL_MIN = LEVEL_NONE + 1,
|
2021-09-23 17:37:05 -07:00
|
|
|
LEVEL_FILE_SELECT = 100, //! This probably breaks if you have 99+ levels
|
|
|
|
|
LEVEL_LEVEL_SELECT = (LEVEL_FILE_SELECT + 1)
|
2019-12-01 21:52:53 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#undef STUB_LEVEL
|
|
|
|
|
#undef DEFINE_LEVEL
|
2021-09-26 11:34:20 -07:00
|
|
|
|
|
|
|
|
#endif // LEVEL_TABLE_H
|