summaryrefslogtreecommitdiff
path: root/media/extra_grf/openttd.nfo
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-14 14:50:06 +0000
committerrubidium <rubidium@openttd.org>2010-08-14 14:50:06 +0000
commit7d11c392a4dca4d3f17c1c77976097df96c933e4 (patch)
tree70f8ec4296a11c428850c4ee8e872e1224f69a78 /media/extra_grf/openttd.nfo
parent5933086e6177a671dc06ccaca0b07b5e9392cdd2 (diff)
downloadopenttd-7d11c392a4dca4d3f17c1c77976097df96c933e4.tar.xz
(svn r20490) -Change: merge the extra GRF sources so updating them becomes a bit easier.
The (prebuilt) grf will still remain, so if you don't have NFORenum and GRFCodec it will still work.
Diffstat (limited to 'media/extra_grf/openttd.nfo')
-rw-r--r--media/extra_grf/openttd.nfo106
1 files changed, 106 insertions, 0 deletions
diff --git a/media/extra_grf/openttd.nfo b/media/extra_grf/openttd.nfo
new file mode 100644
index 000000000..382230bc0
--- /dev/null
+++ b/media/extra_grf/openttd.nfo
@@ -0,0 +1,106 @@
+// Automatically generated by GRFCODEC. Do not modify!
+// (Info version 7)
+// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
+//
+// $Id$
+//
+// This file is part of OpenTTD.
+// OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
+// OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
+//
+// Sources for OpenTTD's required base graphics.
+// Checks whether the correct version of OpenTTD is used before
+// allowing it to be used.
+//
+
+//
+// -- NFO Renum 'settings' --
+// Do not make nforenum warn about the fact that we use a reserved GRF ID
+// @@WARNING DISABLE 101
+// -- End of NFO Renum 'settings' --
+//
+
+//
+// Number of sprites, it is wrong, but GRFcodec automagically gets it right.
+//
+ 0 * 4 00 00 00 00
+
+
+//
+// Check whether we are running OTTD or not.
+//
+ -1 * 0 07 9D 04 \7= 01 00 00 00 01
+ -1 * 0 0B 03 7F FF 80 " is not for TTDPatch. Use ttdpatch(w).grf." 00
+
+
+//
+// Check for OTTD's version number
+//
+
+// First step... Variable A1 might not exist. If that's the case it always
+// skips. As we do not want to skip out of the whole testing, we skip over
+// the real version check.
+ -1 * 0 07 A1 04 \7= FF FF FF FF 02
+
+// Real version check.
+ -1 * 0 07 A1 04 \7> \w20304 01 01 03
+
+// If the version check is supported, the string is translateable via OpenTTD
+// itself. Use it!.
+
+ -1 * 0 0B 03 7F 06 "1.1 (or trunk r20304)" 00
+
+// Some OTTD versions before r11130 did support Action B, so use the English
+// phrase there
+ -1 * 0 0B 03 7F FF "Requires OpenTTD version 1.1 (or trunk r20304) or better." 00
+
+// Final fallback. No Action B support, just skip to the end of the file.
+ -1 * 0 07 A1 04 \7= FF FF FF FF 00
+
+// We are a DOS paletted NewGRF, so tell OpenTTD that. Then it can actually
+// do the right thing. Yay for that feature as that means no duplicate NewGRF!
+ -1 * 0 14
+ "C" "INFO"
+ "B" "PALS" \w1 "D"
+ 00
+ 00
+
+// GRF ID, must start with FF so it gets ignored
+ -1 * 0 08 07 FF "OTT"
+
+// Name of the GRF
+ "OpenTTD's base graphics " 00
+
+// Description of the GRF.
+ "License: GNU General Public License version 2" 0D
+ "Marcin Grzegorczyk: non-halftile foundations" 0D
+ "Michael Blunck: catenary, signals" 0D
+ "George: canals" 0D
+ "David Dallaston: tram tracks" 0D
+ "Jonathan G. Rennison: aqueducts" 0D
+ "Bilbo, Jasper Vries: font" 0D
+ "OpenTTD developers: other graphics" 00
+
+//
+// The real data of the GRF is acquired from several subfiles.
+//
+#include "2ccmap.nfo"
+#include "signals.nfo"
+#include "elrails.nfo"
+#include "foundations.nfo"
+#include "canals.nfo"
+#include "oneway.nfo"
+#include "tramtracks.nfo"
+#include "shore.nfo"
+#include "sloped_tracks.nfo"
+#include "airports.nfo"
+#include "roadstops.nfo"
+#include "aqueduct.nfo"
+#include "autorail.nfo"
+#include "flags.nfo"
+#include "openttdgui.nfo"
+#include "airport_preview.nfo"
+#include "chars.nfo"
+#include "overrides.nfo"
+#include "fix_graphics.nfo"