Action0/Canals

From GRFSpecs
< Action0
Revision as of 17:35, 5 June 2007 by eis_os (talk)
Jump to navigationJump to search

Action 0 - Properties for canals / rivers

Action 0 - Properties for canals / rivers

Defining properties of canals / rivers.

{maketoc}

-=Properties=-

||Number|Version|Size|Description

08|a|B|Canals / Rivers Callback flags, see below|

09|b|B|Canals / Rivers Graphic flags||

(a) 2.6 r1560

(b) 2.6 r

-=Comments=-

Canals callback (08)

For canals and rivers, the following callbacks can be defined by setting the corresponding bit in property 08:

||Bit|Value|Variable 0C value|Callback

0|1|0x147|Enable add sprite offset callback*||

<nowiki>*</nowiki> Please note that not all feature ids support this callback

Graphic flags (09)

For canals and rivers, describes the provided format and features in the sprite block