The m4nfo User manual and Technical Report

Properties for Canals/rivers

Defining properties of canals and rivers

Introduction

The canals switch of TTDPatch allows placing canals and rivers, both in the scenario editor and in-game.

Properties

Property function Description
flags(<List>)Graphics flag
callbacks(<List::Callback>)List of callbacks, see below

Description

flags(<List>)

At the time being, there's only one flag, providing format and features in the sprite block. If this flag is enabled, the way sprites and the count of sprites will change.

FlagMeaning
SPRITEMODAlternative graphics mode

callbacks(<List::Callback>)

This property takes as its parameter a list of callbacks to use with canals/rivers. At the time being, there's only one callback:

CallbackDescription
CB_OFFSETEnable add sprite offset