summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-05-02 09:31:59 +0000
committerpeter1138 <peter1138@openttd.org>2006-05-02 09:31:59 +0000
commitb1f436df590d8807d9c4468cd5dfafd19469182e (patch)
treeccd7e3668b710adfe8b625a976cef2de5b9fb983
parentb1e928e889127e92cdb35a630b03f4de4a7722ea (diff)
downloadopenttd-b1f436df590d8807d9c4468cd5dfafd19469182e.tar.xz
(svn r4658) - NewGRF: add Action 0xNN comments before each action handler. This mainly aids code navigation...
-rw-r--r--newgrf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/newgrf.c b/newgrf.c
index fa87daae2..58f42d021 100644
--- a/newgrf.c
+++ b/newgrf.c
@@ -2165,6 +2165,7 @@ static void SpriteReplace(byte *buf, int len)
}
}
+/* Action 0x0B */
static void GRFError(byte *buf, int len)
{
/* <0B> <severity> <language-id> <message-id> [<message...> 00] [<data...>] 00 [<parnum>]
@@ -2210,6 +2211,7 @@ static void GRFError(byte *buf, int len)
}
}
+/* Action 0x0C */
static void GRFComment(byte *buf, int len)
{
/* <0C> [<ignored...>]
@@ -2407,6 +2409,7 @@ static void ParamSet(byte *buf, int len)
}
}
+/* Action 0x0E */
static void GRFInhibit(byte *buf, int len)
{
/* <0E> <num> <grfids...>
@@ -2434,6 +2437,7 @@ static void GRFInhibit(byte *buf, int len)
}
}
+/* Action 0x10 */
static void DefineGotoLabel(byte *buf, int len)
{
/* <10> <label> [<comment>]