diff options
author | peter1138 <peter1138@openttd.org> | 2006-05-02 09:31:59 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-05-02 09:31:59 +0000 |
commit | b1f436df590d8807d9c4468cd5dfafd19469182e (patch) | |
tree | ccd7e3668b710adfe8b625a976cef2de5b9fb983 | |
parent | b1e928e889127e92cdb35a630b03f4de4a7722ea (diff) | |
download | openttd-b1f436df590d8807d9c4468cd5dfafd19469182e.tar.xz |
(svn r4658) - NewGRF: add Action 0xNN comments before each action handler. This mainly aids code navigation...
-rw-r--r-- | newgrf.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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>] |