Thread: Graphics help
View Single Post
Old Oct 5th, 2005, 2:03 PM   #3
iignotus
Professional Programmer
 
iignotus's Avatar
 
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 iignotus is on a distinguished road
Send a message via AIM to iignotus
Quote:
(red is the transparency key meaning it will appear as transparent)
Allow me to echo Ooble's sentiments: What's stopping you from using png? It has an alpha layer for transparency so you don't need a key.

Also they're really quite large, but I am biased to small, clean interfaces.

And since it's named Element, maybe you could run with that with the graphics? Fire wind water and whatnot?
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[ 
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
iignotus is offline   Reply With Quote