Difference between revisions of "ActionC"

From GRFSpecs
Jump to navigationJump to search
m (3 revisions)
 
m (4 revisions)
(No difference)

Revision as of 19:22, 12 June 2011

Do nothing.

Action C

Do nothing.

-=Introduction=-

Action C is a NOP (no operation). It can be used to temporarily comment out a sprite while testing.

-=Format=-

The data looks as follows:

 -+<Sprite-number> * <Length> 0C <nowiki>[<ignored>]</nowiki>+-

||Element|Size|Description

<Sprite-number>|dec|A sequential sprite number

<length>|dec|The total number of bytes used in this action

0C|B|Defines action 0C

<ignored>|V|Anything following the action byte 0C is ignored entirely||

-=Filling in the terms=-

Sprite-number

This is just the number you are at.

Length

Count the number of bytes in this action.

ignored

These bytes, if present at all, are ignored. The action does nothing.

-=Example=-

Something to go here