Difference between revisions of "Nothing.grf"

From #openttdcoop wiki

Jump to: navigation, search
m (FS#1227)
m (OTTD Problem ( FS#1227 ))
Line 57: Line 57:
 
|}
 
|}
  
Please use the [[Talk:Nothing.grf]] or [http://www.tt-forums.net/viewtopic.php?f=36&t=34053 TT-Forums]
+
Please use the [[Talk:Nothing.grf]], [http://www.tt-forums.net/viewtopic.php?f=36&t=34053 TT-Forums] or [http://bugs.openttd.org/task/1227 Flyspray]
  
 
(The GRF works in TTDPatch as it should.)
 
(The GRF works in TTDPatch as it should.)
  
 
[[Category:GRF]]
 
[[Category:GRF]]

Revision as of 14:56, 14 September 2007

This GRF is just a playing ground and to show some problems in OTTD.

nothing.grf

Download: nothing.grf ID: 4D470101 md5: 220ae740479416beb3de2da448ad75d7

Source

// Automatically generated by GRFCODEC. Do not modify!
// (Info version 7)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
    0 * 4	 01 00 00 00
    1 * 71	 08 06 "MG" 01 01 "Nothing" 00 "This NewGRF does just "
	 "what the name says." 0D ";-)" 0D 0D "by Ammler" 00

nothing2.grf

Download: nothing2.grf ID: 4D470102 md5: fbf4b7b5fb1be0587663d350225f8391

Source

// Automatically generated by GRFCODEC. Do not modify!
// (Info version 7)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
    0 * 4	 0C 00 00 00
    1 * 113	 0C "This is Version 2 of the famous "
	 "GRF nothing, this GRF is used to "
	 "test some Actions, but doesn't affect "
	 "anything."
    2 * 9	 07 88 04 \7gg "MG" 01 01 "S"
    3 * 9	 07 88 04 \7G "MG" 01 01 "S"
    4 * 32	 0B 02 7F 05 "nothing.grf (v1.0:4D470101)" 00
    5 * 6	 07 9A 01 \71 00 00
    6 * 6	 10 "Start"
    7 * 75	 08 07 "MG" 01 02 "Nothing 2.0" 00 "This NewGRF does "
	 "just what the name says." 0D ";-)" 0D 0D "by "
	 "Ammler" 00
    8 * 42	 0C "The parameter needs to be set, "
	 "else error"
    9 * 6	 07 00 01 \71 00 "P"
   10 * 7	 0B 02 7F 03 "1" 00 00
   11 * 13	 10 "Parameter OK"
   12 * 35	 0C 0B 01 7F FF "Nothing is loaded successful." 00

OTTD Problem ( FS#1227 )

The NewGRF Code allowes to make some pretests, in example to test if an other GRF is loaded or not and specially before or after, there I have a problem with some NewGRFs. If you load the other GRF (in this example nothing.grf), the error is shown everytime, with a little difference, if you have it after, the error is shown correctly and the GRF (in this example nothing2.grf) isn't acitvated (blue). But if you change the order and place nothing.grf before, the error is still shown, thats certainly wrong, but the difference is, nothing2.grf will be loaded anyway (green). So sprite 4 won't be skipped, but 5 will. Thats a little confusing. All fallowing tests (like parameters) are useless and won't be shown.

nothing-noparam.png nothing-after.png
nothing-before.png nothing-beforewithparam.png
nothing-ok.png

Please use the Talk:Nothing.grf, TT-Forums or Flyspray

(The GRF works in TTDPatch as it should.)

Powered by MediaWiki