/* pop_bg_atlas.h — раскладка атласов статического фона PoP. * Сгенерировано toolchain/pop_pack_bg.py — НЕ править вручную. * * Прямая адресация (ноль remap-таблиц в W2): * ENV фон id N -> atlas env_bg[N>>5], idx N&31 * WALL id N -> atlas wall, idx N * FORE id N -> atlas fore, idx N */ #ifndef POP_BG_ATLAS_H #define POP_BG_ATLAS_H #define POP_ENV_SHIFT 5 #define POP_ENV_MASK 31 #define POP_ENV_PAGES 5 /* Палитра: env-слоты, wall-слоты (сприйт-пиксель i -> база+i). */ #define POP_PAL_ENV 0x50 #define POP_PAL_WALL 0x60 /* Имена файлов атласов (грузятся atlas_load). */ static const char *const pop_env_atl[POP_ENV_PAGES] = { "pop_env0.atl", "pop_env1.atl", "pop_env2.atl", "pop_env3.atl", "pop_env4.atl", }; #define POP_WALL_ATL "pop_wall.atl" #define POP_FORE_ATL "pop_fore.atl" #define POP_BG_PAL "pop_bg.pal" #endif