Difference between revisions of "ActionC"
From GRFSpecs
Jump to navigationJump to searchm (4 revisions) |
m (Beautify wiki markup) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
− | '''''Do nothing.''''' |
||
− | |||
− | =Action C= |
||
Do nothing. |
Do nothing. |
||
⚫ | |||
Action C is a NOP (no operation). It can be used to temporarily comment out a sprite while testing. |
Action C is a NOP (no operation). It can be used to temporarily comment out a sprite while testing. |
||
+ | == Syntax == |
||
− | -=Format=- |
||
The data looks as follows: |
The data looks as follows: |
||
− | < |
+ | <Sprite-number> * <Length> 0C [<ignored>] |
+ | {| |
||
− | + | !Element!![[GRFActionsDetailed|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 |
+ | |0C||B||Defines action 0C |
+ | |- |
||
− | + | |<ignored>||V||Anything following the action byte 0C is ignored entirely |
|
+ | |} |
||
+ | == Description == |
||
− | -=Filling in the terms=- |
||
− | ===Sprite-number=== |
+ | === Sprite-number === |
This is just the number you are at. |
This is just the number you are at. |
||
− | ===Length=== |
+ | === Length === |
Count the number of bytes in this action. |
Count the number of bytes in this action. |
||
− | ===ignored=== |
+ | === ignored === |
These bytes, if present at all, are ignored. The action does nothing. |
These bytes, if present at all, are ignored. The action does nothing. |
||
− | + | == Example == |
|
<span style='color:#808080'>Something to go here</span> |
<span style='color:#808080'>Something to go here</span> |
Latest revision as of 14:48, 15 June 2011
Introduction
Do nothing.
Action C is a NOP (no operation). It can be used to temporarily comment out a sprite while testing.
Syntax
The data looks as follows:
<Sprite-number> * <Length> 0C [<ignored>]
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 |
Description
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