Difference between revisions of "Action0/Canals"
From GRFSpecs
< Action0
Jump to navigationJump to search(20 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
+ | ==Introduction== |
||
− | + | Defining properties of canals / rivers. |
|
− | =Action 0 - Properties for canals / rivers= |
||
⚫ | |||
− | Defining properties of canals / rivers. |
||
+ | {| |- |
||
− | {maketoc} |
||
+ | !Number!![[GRFActionsDetailed|Size]]!!Version!!Description |
||
+ | |- |
||
⚫ | |||
+ | |- |
||
+ | |09||B||{{ottdp|1.1|2.6|ottdrev=r20352|ttdprev=r1573}}||Canals / Rivers Graphic flags |
||
+ | |} |
||
+ | == Description == |
||
⚫ | |||
+ | === Canals callback (08) === |
||
⚫ | |||
⚫ | |||
⚫ | |||
+ | {| |- |
||
− | (a) 2.6 r1560 |
||
⚫ | |||
+ | |- |
||
⚫ | |||
+ | |} |
||
+ | <references /> |
||
− | -=Comments=- |
||
− | == |
+ | === Graphic flags (09) === |
+ | Various flags defining how the graphics are drawn. |
||
⚫ | |||
+ | {| |- |
||
⚫ | |||
⚫ | |||
+ | |- |
||
+ | |0||{{ottdp|1.1|2.6|ottdrev=r20352|ttdprev=r1573}}||Changes the arrangement of sprites. See [[Action3/Canals#id|Action3]] for details. It's not allowed to set this bit for undefined entries! |
||
+ | |- |
||
+ | |1..7|| || Reserved. Do not set. |
||
+ | |} |
||
+ | == Example == |
||
− | 0|1|0x147|Enable add sprite offset callback*|| |
||
+ | To be written |
||
⚫ |
Latest revision as of 17:29, 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)
Various flags defining how the graphics are drawn.
Bit | Version | Description |
---|---|---|
0 | 1.1 2.6 | Changes the arrangement of sprites. See Action3 for details. It's not allowed to set this bit for undefined entries! |
1..7 | Reserved. Do not set. |
Example
To be written