From fcff7114b06a68f3e31920c6827b5e55b26ef2f6 Mon Sep 17 00:00:00 2001 From: Mike Swanson Date: Tue, 15 Dec 2015 00:34:14 -0800 Subject: [PATCH] graphics: generate wikilrs and wivctms with smtextgen Previously left alone, and with the old font, due to their special nature, but since then, the small-text generator exists too! Only thing special is that wikilrs is rotated, which is resolved simply by using ImageMagick. Closes #184 --- graphics/ajapted/wikilrs.gif | Bin 282 -> 0 bytes graphics/ajapted/wivctms.gif | Bin 302 -> 0 bytes graphics/text/Makefile | 14 ++++++++++++-- graphics/wikilrs.gif | 2 +- graphics/wivctms.gif | 2 +- 5 files changed, 14 insertions(+), 4 deletions(-) delete mode 100644 graphics/ajapted/wikilrs.gif delete mode 100644 graphics/ajapted/wivctms.gif diff --git a/graphics/ajapted/wikilrs.gif b/graphics/ajapted/wikilrs.gif deleted file mode 100644 index bcdc99372bdaeb18bc77c9397936da9b546cd96a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 282 zcmZ?wbhEHb}m2x_`j~RSgNAqYnctq^_A}34OREw72}w z6pxP|7}>O37}%SH7#ZYz967lCm^rw(tl3=MnH}5O6Dq4+Cd_hetZyyvRM+U~lbkr2 zXR2FZW5+U4e~lTfVXT~vvYeB+Od|}KIn6@!T0Mmm^!@eBRimWYli78T-Oy0aF3Y>E am&|!woPjl+m#2?OgKeU%xBFW`25SJ2u~B6J diff --git a/graphics/ajapted/wivctms.gif b/graphics/ajapted/wivctms.gif deleted file mode 100644 index f39876446cf7912b13db897d01106f5b3c9eaea0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 302 zcmZ?wbhEHbv|!+1c+ATH1Of~UN(>Ap3=D1z3~>w$1q=*L3=C5k7?v?G>|kIx#lUa} zsObNH2+{%R0O@65d0fzQ;gy17L!!^jP=}soh8&l`lH-Xp=CGUH4B(7RRawxWG2`qz z0|pZd4uAG=hb=;~>NycSvK-qS9ThB`cC)xGs&*FWVPf8>p<%j%;gH0IWqZ!LNjXkb z;NatAkM)S*;ASl|;bc|x>=d2AXm2(_v3mjoJCCOvCr1hk2WvH3Ka+#`y#A@oJlrW$ zm$OXd;?ZwSHus&k!Gf8qqkOiO#D+wk%@g(=5Gmp2>0q?8Ny!ZFtmmw8EaINmR9VQ) tebT()w&ZfIJVsyR{Ftdqvhr@KT8ldw-s*p1`4Z~#!%;Y)seyyR8UUrzS{48R diff --git a/graphics/text/Makefile b/graphics/text/Makefile index 111869f1..008617a0 100644 --- a/graphics/text/Makefile +++ b/graphics/text/Makefile @@ -37,7 +37,7 @@ TEXTGEN_GRAPHICS = \ wilv33.gif wilv34.gif wilv35.gif wilv36.gif wilv37.gif \ wilv38.gif -all: $(TEXTGEN_GRAPHICS) help.gif credit.gif +all: $(TEXTGEN_GRAPHICS) help.gif credit.gif wikilrs.gif wivctms.gif # textgen creates multiple outputs, which is awkward to express in # make. Use a witness file (graphics.stamp) as suggested in the @@ -139,9 +139,19 @@ credit.gif: helpbg.png credtext2.png -draw 'image over 0,0 0,0 credtext2.png' \ credit.gif +wikilrs.gif: + python smtextgen wikilrs.png 49x7 \ + 0,0 killers + convert wikilrs.png -rotate 270 wikilrs.gif + rm -f wikilrs.png + +wivctms.gif: + python smtextgen wivctms.gif 54x7 \ + 0,0 victims + clean: rm -f $(TEXTGEN_GRAPHICS) helpbg.png help.gif \ helptext.png helptext2.png graphics.stamp *.pyc \ credtext.png credtext2.png credit.gif \ - dmwilv*.gif + dmwilv*.gif wikilrs.gif wivctms.gif rm -fr __pycache__ diff --git a/graphics/wikilrs.gif b/graphics/wikilrs.gif index 108cdcef..d5ed2b86 120000 --- a/graphics/wikilrs.gif +++ b/graphics/wikilrs.gif @@ -1 +1 @@ -ajapted/wikilrs.gif \ No newline at end of file +text/wikilrs.gif \ No newline at end of file diff --git a/graphics/wivctms.gif b/graphics/wivctms.gif index 6fb10432..50e9a610 120000 --- a/graphics/wivctms.gif +++ b/graphics/wivctms.gif @@ -1 +1 @@ -ajapted/wivctms.gif \ No newline at end of file +text/wivctms.gif \ No newline at end of file