Difference between revisions of "Action0/Canals"
From GRFSpecs
< Action0
Jump to navigationJump to searchPlanetmaker (talk | contribs) (→Graphic flags (09): version info on river flags) |
Planetmaker (talk | contribs) m (→Canals callback (08): use references) |
||
Line 23: | Line 23: | ||
!Bit!!Value!!Variable 0C value!!Callback |
!Bit!!Value!!Variable 0C value!!Callback |
||
|- |
|- |
||
− | |0||1||0x147||Enable add sprite offset callback |
+ | |0||1||0x147||Enable add sprite offset callback<ref>Please note that not all feature ids support this callback</ref> |
|} |
|} |
||
+ | <references /> |
||
− | <nowiki>*</nowiki> Please note that not all feature ids support this callback |
||
=== Graphic flags (09) === |
=== Graphic flags (09) === |
Revision as of 07:33, 1 September 2011
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