Expand description
MenuScene (Game/MenuScene/Scene0..9.rsc): the pre-built 3D scenes behind the main menu, and the
MapComponent block they embed (the same serializer saves use).
The layout is described in docs/MENU-SCENE.md.
Original: FUN_1400a8b00 (the menu scene, version 2), FUN_1400b59a0 (the map component,
version 6) and FUN_1400b4670 (version 4), FUN_14009dd90 (the camera), FUN_14001c550 (the
placements), FUN_140020900 and FUN_140020320 (the decals).
Structs§
- Decal
- A tiled decal (roads, fields, building footprints) drawn over the terrain.
- MapComponent
- The serialized terrain and water of a map (
MapComponent). - Menu
Scene - A main-menu scene: its map, its placed models and particles, and its camera.
- Particle
Placement - A particle system placed in a menu scene.
- Placement
- One placed mesh: position, rotation and scale, then mesh and material table indices.
- Scene
Camera - The camera of a menu scene (also saved in game saves).
Functions§
- menu_
scene - Read a
MenuScenefrom the bytes of its resource. - read_
camera - The camera block (also in saves).
- read_
map_ component - The MapComponent block.
- write_
camera - The writing side of
read_camera. - write_
map_ component - The writing side of
read_map_component, at the version it was read at (3 or later).