1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-23 22:49:09 +00:00

(svn r23981) -Codechange: reduce GRF size by a few percent by letting GRFCodec determine the best compression

This commit is contained in:
rubidium
2012-02-24 22:19:45 +00:00
parent 74785478ec
commit 46b08db917
6 changed files with 7 additions and 7 deletions

View File

@@ -66,7 +66,7 @@ $(OBJS_DIR)/openttd.grf: $(PNG_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) -s $(OBJS_DIR)/sprites/openttd.nfo
$(E) '$(STAGE) Compiling openttd.grf'
$(Q) $(GRFCODEC) -s -e -p1 $(OBJS_DIR)/openttd.grf
$(Q) $(GRFCODEC) -n -s -e -p1 $(OBJS_DIR)/openttd.grf
# Clean up temporary files.
clean: