Editor preview uses classic engine rendering. Editor data is converted to classic runtime data and loaded into the engine, then the game timer is suspended.
EditorLevel-> classiclevelReaderdata:WIDTH/HEIGHT->Levelsize.STYLE->graphicSet1(ground set ID).- Terrain/gadgets ->
LevelElementlist. - Skill counts -> classic skill array.
GroundReaderloads terrain/object assets for the ground set.GroundRenderercomposes the ground image from terrain entries.Levelis initialized with objects, triggers, palettes, and steel ranges.
- Preview reloads when editor data changes.
- Reloads are debounced to avoid thrashing during drag operations.
- The game timer is suspended after each preview refresh.
- Preview reloads preserve the current viewport unless loading/importing a level.
- Selection outlines and tool previews are drawn on top of the level preview.
- The overlay system does not modify the ground image directly.
- Preview reloads are safe but avoid reloading on every mouse move.
- Debounced refresh allows smooth drag while preserving accurate preview updates.