(svn r4658) - NewGRF: add Action 0xNN comments before each action handler. This mainly aids code navigation...
authorpeter1138
Tue, 02 May 2006 09:31:59 +0000
changeset 3715 b696b84baf30
parent 3714 aa27d8962f6a
child 3716 8aa18b3fe5e7
(svn r4658) - NewGRF: add Action 0xNN comments before each action handler. This mainly aids code navigation...
newgrf.c
--- a/newgrf.c	Tue May 02 09:18:51 2006 +0000
+++ b/newgrf.c	Tue May 02 09:31:59 2006 +0000
@@ -2165,6 +2165,7 @@
 	}
 }
 
+/* Action 0x0B */
 static void GRFError(byte *buf, int len)
 {
 	/* <0B> <severity> <language-id> <message-id> [<message...> 00] [<data...>] 00 [<parnum>]
@@ -2210,6 +2211,7 @@
 	}
 }
 
+/* Action 0x0C */
 static void GRFComment(byte *buf, int len)
 {
 	/* <0C> [<ignored...>]
@@ -2407,6 +2409,7 @@
 	}
 }
 
+/* Action 0x0E */
 static void GRFInhibit(byte *buf, int len)
 {
 	/* <0E> <num> <grfids...>
@@ -2434,6 +2437,7 @@
 	}
 }
 
+/* Action 0x10 */
 static void DefineGotoLabel(byte *buf, int len)
 {
 	/* <10> <label> [<comment>]