From c203103bafdfec0b98032c13512d6268ad24bf43 Mon Sep 17 00:00:00 2001 From: "jason@long.name" Date: Tue, 25 Jun 2013 17:40:27 +0000 Subject: [PATCH] graphics/HACKING doc: explains how to build a new tiles.png git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@700 d9718cc8-9f43-0410-858b-315f434eb58c --- graphics/HACKING.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 graphics/HACKING.txt diff --git a/graphics/HACKING.txt b/graphics/HACKING.txt new file mode 100644 index 0000000..f666d29 --- /dev/null +++ b/graphics/HACKING.txt @@ -0,0 +1,16 @@ +To build a new tiles.png file, do the following: + +1. Open a command-prompt, and cd to the graphics subdirectory. + +2. Compile the helper program by typing the following command: + + javac MakeTiles.java + +3. Build the new tiles.png file by typing this command: + + java MakeTiles tiles.dat tiles.png + + (This will create tiles.png in the current directory. + Copying it into the ../resources/ directory and rebuilding + Micropolis using Ant is left as an exercise for the reader.) +