projects
/
retrocrawl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
conv_sprite tool
[retrocrawl]
/
tools
/
conv_sprite
1
#!/bin/sh
2
3
if [ -z "$1" ]; then
4
echo "pass the sprite header file as argument"
5
exit 1
6
fi
7
8
cc -pedantic -Wall -DHDRFILE=\"$1\" -o /tmp/conv_sprite.bin conv_sprite.c
9
if [ $? != 0 ]; then
10
exit 1
11
fi
12
13
/tmp/conv_sprite.bin