summaryrefslogtreecommitdiff
path: root/Makefile.grf.in
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-10-18 12:24:56 +0000
committerrubidium <rubidium@openttd.org>2010-10-18 12:24:56 +0000
commit27839d548e53d14716e1f932a0a07351e7bf26b3 (patch)
tree1aabb9eb5f07ab80b35a84c4fbf7df6f1e014358 /Makefile.grf.in
parent44a03d04780d9cbf0e68ee0eb996067d6f386714 (diff)
downloadopenttd-27839d548e53d14716e1f932a0a07351e7bf26b3.tar.xz
(svn r20989) -Change: make extra_grf's pcx files DOS palettes instead of converting them during compilation. Also fix misconverted sprite and some comments
Diffstat (limited to 'Makefile.grf.in')
-rw-r--r--Makefile.grf.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.grf.in b/Makefile.grf.in
index 6aa5068b6..e6a2a578c 100644
--- a/Makefile.grf.in
+++ b/Makefile.grf.in
@@ -64,7 +64,7 @@ $(OBJS_DIR)/openttd.grf: $(PCX_FILES) $(NFO_FILES) $(OBJS_DIR)/sprites
$(Q) gcc -I$(GRF_DIR) -C -E - < "$(GRF_DIR)/openttd.nfo" | sed -e '/^#/d' -e '/^$$/d' > $(OBJS_DIR)/sprites/openttd.nfo
$(Q) $(NFORENUM) $(OBJS_DIR)/sprites/openttd.nfo
$(E) '$(STAGE) Compiling openttd.grf'
- $(Q) $(GRFCODEC) -e -m1 $(OBJS_DIR)/openttd.grf
+ $(Q) $(GRFCODEC) -e -p1 $(OBJS_DIR)/openttd.grf
$(Q) cp $(OBJS_DIR)/openttd.grf $(BIN_DIR)/openttd.grf
$(E) '$(STAGE) Updating base graphics sets'
$(Q) for grf in $(BIN_DIR)/orig*.obg; do sed 's/^OPENTTD.GRF = [0-9a-f]*$$/OPENTTD.GRF = '`$(MD5SUM) $(BIN_DIR)/openttd.grf | sed 's@ .*@@'`'/' $$grf > $$grf.tmp && mv $$grf.tmp $$grf; done