(svn r4658) - NewGRF: add Action 0xNN comments before each action handler. This mainly aids code navigation...

This commit is contained in:
peter1138 2006-05-02 09:31:59 +00:00
parent b8cc6d6cee
commit f17ac778a8

View File

@ -2165,6 +2165,7 @@ static void SpriteReplace(byte *buf, int len)
} }
} }
/* Action 0x0B */
static void GRFError(byte *buf, int len) static void GRFError(byte *buf, int len)
{ {
/* <0B> <severity> <language-id> <message-id> [<message...> 00] [<data...>] 00 [<parnum>] /* <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) static void GRFComment(byte *buf, int len)
{ {
/* <0C> [<ignored...>] /* <0C> [<ignored...>]
@ -2407,6 +2409,7 @@ static void ParamSet(byte *buf, int len)
} }
} }
/* Action 0x0E */
static void GRFInhibit(byte *buf, int len) static void GRFInhibit(byte *buf, int len)
{ {
/* <0E> <num> <grfids...> /* <0E> <num> <grfids...>
@ -2434,6 +2437,7 @@ static void GRFInhibit(byte *buf, int len)
} }
} }
/* Action 0x10 */
static void DefineGotoLabel(byte *buf, int len) static void DefineGotoLabel(byte *buf, int len)
{ {
/* <10> <label> [<comment>] /* <10> <label> [<comment>]