Difference between revisions of "Nothing.grf"

From #openttdcoop wiki

Jump to: navigation, search
m (OTTD Problem: tt-forums)
(OTTD Problem ( FS#1227 ): FIXED)
 
(3 intermediate revisions by the same user not shown)
Line 43: Line 43:
 
   12 * 35 0C 0B 01 7F FF "Nothing is loaded successful." 00
 
   12 * 35 0C 0B 01 7F FF "Nothing is loaded successful." 00
 
</pre>
 
</pre>
===OTTD Problem===
+
===OTTD Problem ( FS#1227 ) -> fixed with r11191===
 
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).  
 
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.
 
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.
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]
 +
 
 +
==== releated commits ====
 +
r11191 | glx | 2007-10-01 20:59:25 +0200 (Mo, 01 Okt 2007) | 1 line
 +
 
 +
-Fix [FS#1227]: GLS_ACTIVATION stage must be done immediatly after GLS_RESERVE stage, before the GLS_RESERVE stage for the next newgrf.
 +
------------------------------------------------------------------------
 +
r11196 | glx | 2007-10-02 22:20:14 +0200 (Di, 02 Okt 2007) | 1 line
 +
 
 +
-Fix (r11191): _cur_stage was incorrect for GLS_ACTIVATION stage
 +
 
  
 
(The GRF works in TTDPatch as it should.)
 
(The GRF works in TTDPatch as it should.)
 +
 +
[[Category:GRF]]

Latest revision as of 12:55, 12 October 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 ) -> fixed with r11191

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

releated commits

r11191 | glx | 2007-10-01 20:59:25 +0200 (Mo, 01 Okt 2007) | 1 line

-Fix [FS#1227]: GLS_ACTIVATION stage must be done immediatly after GLS_RESERVE stage, before the GLS_RESERVE stage for the next newgrf.


r11196 | glx | 2007-10-02 22:20:14 +0200 (Di, 02 Okt 2007) | 1 line

-Fix (r11191): _cur_stage was incorrect for GLS_ACTIVATION stage


(The GRF works in TTDPatch as it should.)

Powered by MediaWiki
  • This page was last modified on 12 October 2007, at 12:55.