nuclide-lite/Tools/build_gfx.sh

18 lines
265 B
Bash
Raw Normal View History

#!/bin/sh
# ensure we use the tools provided in ./bin
export PATH="$(pwd)/Tools:$PATH"
CWD=$(pwd)
# gfx lumps (built first)
build_gfx()
{
echo "building gfx/*.lmp"
cd "$CWD/$1/gfxsrc/"
ls | grep -v palette | grep "\.tga" | xargs -n 1 tga2lmp
}
build_gfx $1