User Tools

Site Tools


zxt:extension:0000a51e:0003

This is an old revision of the document!


0000a51e:0003 - Board Memorization Groups for ROM-Based Ports [DRAFT]

Flags

Flag Set? (MUST/MAY/…) Description
parsing_must MUST NOT
reading_must MUST NOT
writing_must MUST Relies on board count not changing when edited.
playing_should MUST NOT
playing_must MUST NOT
editing_should MUST

Field data

The field data contains a list of `u16` values, the count of which matches the count of boards on the world, referred to as “board groups”.

Description

This extension allows defining board groups for low-memory platforms.

ZZT typically keeps all boards in memory during playthrough. However, some boards are never used in gameplay (toolkit boards); other boards may never be returned to (in the case of a linear playthrough). As a memory optimization for ROM-based platforms, it would be vital to know which boards have to be kept in memory at any given time.

Upon a successful board transition, the implementation MAY forget all boards whose “board group” values do not match the current board's.

Implementations

There is a tool which can generate mostly-correct board group information for a given world. However, it has to be expanded upon, and ZXT-compliant output added.

TBD

zxt/extension/0000a51e/0003.1625303942.txt.gz · Last modified: 2021/07/03 09:19 by asie