Action0/Canals
From GRFSpecs
< Action0
Jump to navigationJump to searchRevision as of 07:33, 1 September 2011 by Planetmaker (talk | contribs) (→Canals callback (08): use references)
Introduction
Defining properties of canals / rivers.
Properties
Number | Size | Version | Description |
---|---|---|---|
08 | B | 1.1 2.6 | Canals / Rivers Callback flags, see below |
09 | B | 1.1 2.6 | Canals / Rivers Graphic flags |
Description
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[1] |
- ↑ 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
If bit 0 of graphic flags is enabled, the way Sprites and the count of sprites will change.
It's not allowed to set bit 0 for undefined entries!
Example
To be written