]> icculus.org git repositories - divverent/nexuiz.git/blob - misc/ttf2conchars/foo.sh
pro is now havoc, just minor nitpicking but one more file that knows this fact :P
[divverent/nexuiz.git] / misc / ttf2conchars / foo.sh
1 #!/bin/sh
2
3 # assumes gfx is a symlink to Nexuiz's gfx dir
4 if ! [ -e "gfx/conchars.tga" ]; then
5         echo "Symlink your Nexuiz gfx dir to gfx in this folder."
6         echo "Then retry."
7         exit 1
8 fi
9
10 set -ex
11 gcc -Wall -Wextra ttf2conchars.c `sdl-config --cflags --libs` -lSDL_ttf -lSDL_image -ggdb3
12 ./a.out gfx/conchars.tga 0 56 64 gfx/vera-sans.tga /usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf "" "" 1 0.08 0.000000000000001
13 ./a.out gfx/conchars.tga 0 56 64 gfx/vera-sans-big.tga /usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf "" "" 1 0.28  0.000000000000001
14 display gfx/vera-sans-big.tga