Example: When using game panel definitions like
game.panel.levelset_name.class: bd_pre_hatching
or
game.panel.score.class: bd_post_hatching
the corresponding game panel items will only be displayed before or
after the player was hatched in levels using the native BD game engine.
(For levels not using the BD engine, items using "bd_pre_hatching" will
never be displayed, while items using "bd_post_hatching" will always be
displayed.)
!setup.prefer_extra_panel_items)
continue;
+ if (pos->class == get_hash_from_string("bd_pre_hatching") &&
+ (level.game_engine_type != GAME_ENGINE_TYPE_BD || game_bd.game->cave->hatched))
+ continue;
+
+ if (pos->class == get_hash_from_string("bd_post_hatching") &&
+ (level.game_engine_type == GAME_ENGINE_TYPE_BD && !game_bd.game->cave->hatched))
+ continue;
+
gpc->last_value = value;
gpc->last_frame = frame;