As it's now you need
gcc
make
grfcodec
nforenum
in order to build this newgrf. The need for gcc could be lifted with a bit of editing and the #defines are replaced by real NFO again and the desire to have automatic version detection is given up.
The code should be somewhat documented, so that the single parts can be identified, moved or removed as seen fit. For anything after the action8 a particular order of the single code blocks is not needed.
The GRFID is already adjusted such that it is not detected anymore as a base set file, license is GPL v2
I hope this may be of help to get the newgrf started and give you something to work with.
EDIT: typo
EDIT2: obviously bundle_zip created an empty file as I missed to fix one place in the makefile (and I was too tired to check the file size yesterday night).
Use the following patch for the Makefile:
Code: Select all
diff -r b3d9ddbdd79c Makefile.config
--- a/Makefile.config Sat Jan 30 03:36:42 2010 +0100
+++ b/Makefile.config Sat Jan 30 12:55:21 2010 +0100
@@ -67,7 +67,7 @@
DOC_FILENAMES = $(addsuffix .$(TXT_SUFFIX),$(basename $(LICENSE_FILENAME) $(CHANGELOG_FILENAME) $(README_FILENAME)))
-BUNDLE_FILES = $(GRF_FILENAME) $(DOC_FILENAMES) $(OBG_FILE)
+BUNDLE_FILES = $(GRF_FILENAME).$(GRF_SUFFIX) $(DOC_FILENAMES)
# Remove the @ when you want a more verbose output.
_V := @