SDL: Retro keyboard theme by Santiago Radeff

This commit is contained in:
Sergii Pylypenko
2015-01-19 21:38:20 +02:00
parent 06bd08edb1
commit 4b91a33443
61 changed files with 122 additions and 51 deletions

View File

@@ -1,5 +0,0 @@
all: converter
converter: *.cpp
g++ -g3 -o $@ $? `sdl-config --cflags` `sdl-config --libs` -lSDL_image

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 B

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -2,7 +2,7 @@
# Ultimate Droid by Sean Stieber
[ -x ./converter ] || make || exit 1
[ -x ./converter ] || g++ -g3 -o converter *.cpp `sdl-config --cflags` `sdl-config --libs` -lSDL_image || exit 1
for f in UltimateDroid/*.png; do
newname=`echo $f | sed 's@.*/@@' | tr '[A-Z]' '[a-z]'`.raw
@@ -141,11 +141,10 @@ gzip -9 < ../res/raw/sun.raw > ../res/raw/sun.raw.gz
mv -f ../res/raw/sun.raw.gz ../res/raw/sun.raw
# Keen Icon Set by Gerstrong (Gerhard Stein)
for f in Keen/*.png; do
newname=`echo $f | sed 's@.*/@@' | tr '[A-Z]' '[a-z]'`.raw
./converter $f ../res/raw/$newname 32
./converter $f ../res/raw/$newname 16
done
rm -f ../res/raw/keen.raw
@@ -187,7 +186,63 @@ mouse_pointer \
cat ../res/raw/$F.png.raw >> ../res/raw/keen.raw
done
rm ../res/raw/*.png.raw
gzip -9 < ../res/raw/keen.raw > ../res/raw/keen.raw.gz
mv -f ../res/raw/keen.raw.gz ../res/raw/keen.raw
rm ../res/raw/*.png.raw
# Retro set by Santiago Radeff
for f in Retro/*.png; do
newname=`echo $f | sed 's@.*/@@'`.raw
./converter $f ../res/raw/$newname 16
done
rm -f ../res/raw/retro.raw
printf '\000\000\000\030' > ../res/raw/retro.raw # size, 030 = 24
for F in \
joyPad \
joypadLeft \
joypadRight \
joypadUp \
joypadDown \
\
buttonA-auto \
buttonA-autoAnim \
buttonB-auto \
buttonB-autoAnim \
\
buttonA \
buttonA-Pressed \
buttonB \
buttonB-Pressed \
buttonX \
buttonX-Pressed \
buttonY \
buttonY-Pressed \
buttonL1 \
buttonL1-Pressed \
buttonR1 \
buttonR1-Pressed \
buttonPause \
buttonPause-Pressed \
mousePointer \
\
joypadUpLeft \
joypadUpRight \
joypadDownLeft \
joypadDownRight \
\
; do
if [ \! -e ../res/raw/$F.png.raw ]; then
echo Cannot find ../res/raw/$F.png.raw - check if all files are in place
exit 1
fi
cat ../res/raw/$F.png.raw >> ../res/raw/retro.raw
done
gzip -9 < ../res/raw/retro.raw > ../res/raw/retro.raw.gz
mv -f ../res/raw/retro.raw.gz ../res/raw/retro.raw
rm ../res/raw/*.png.raw