Difference between revisions of "Action0/Canals"

From GRFSpecs
Jump to navigationJump to search
Line 12: Line 12:
 
||Number|Version|Size|Description
 
||Number|Version|Size|Description
   
08|a|B|Canals / Rivers Callback flags, see below||
+
08|a|B|Canals / Rivers Callback flags, see below|
  +
  +
09|b|B|Canals / Rivers Graphic flags||
   
 
(a) 2.6 r1560
 
(a) 2.6 r1560
  +
  +
(b) 2.6 r
   
 
-=Comments=-
 
-=Comments=-
Line 27: Line 31:
   
 
<nowiki><nowiki>*</nowiki></nowiki> Please note that not all feature ids support this callback
 
<nowiki><nowiki>*</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

Revision as of 17:35, 5 June 2007

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