Difference between revisions of "ActionC"

From GRFSpecs
Jump to navigationJump to search
m (3 revisions)
 
m (Beautify wiki markup)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== Introduction ==
   
'''''Do nothing.'''''
 
 
=Action C=
 
   
 
Do nothing.
 
Do nothing.
   
-=Introduction=-
 
   
 
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:
   
<pre> -+&lt;Sprite-number&gt; * &lt;Length&gt; 0C <nowiki><nowiki>[&lt;ignored&gt;]</nowiki></nowiki>+-</pre>
+
<Sprite-number> * <Length> 0C [<ignored>]
   
  +
{|
||'''Element'''|[[GRFActionsDetailed|'''Size''']]|'''Description'''
+
!Element!![[GRFActionsDetailed|Size]]!!Description
   
  +
|-
&lt;Sprite-number&gt;|dec|A sequential sprite number
+
|<Sprite-number>||dec||A sequential sprite number
   
  +
|-
&lt;length&gt;|dec|The total number of bytes used in this action
+
|<length>||dec||The total number of bytes used in this action
   
  +
|-
0C|B|Defines action 0C
+
|0C||B||Defines action 0C
   
  +
|-
&lt;ignored&gt;|V|Anything following the action byte 0C is ignored entirely||
+
|<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=-
+
== 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