Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainCore module · class

Native::

FFollowChanges

The changes of a journal pull, folded into a few edit-tile rectangles in canonical order.

Declaration

class FFollowChanges
Header
#include "Native/GroundFollow.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainCore"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.

Description

Only entries that can move a followed instance count: Heights, Holes, GroundClass (a hole class) and Features. Paint, Cover, Water and Residency entries are skipped; residency is reported apart (Residency), for pending registrations.

Functions

  • Clear
  • Add

    Fold in one journal entry.

  • AddMoved

    Add edit tiles that moved, as the journal would.

  • DropFirstMoved

    Drop the first rectangle of Moved (it has been applied).

  • ClearResidency

    Drop the residency rectangles (the caller has read them).

  • MarkReset

    A journal reset: every tracked instance is stale.

  • IsEmpty
  • ResetAll
  • Moved

    The rectangles of moved ground, edit tiles inclusive, sorted by (Min.Y, Min.X, Max.Y, Max.X), disjoint.

  • Residency

    The rectangles whose residency changed (same canonical form).

Properties

NameTypeDefaultMeaning
kMaxRectssize_t16

Most rectangles kept; beyond it they collapse into their bounding box.