Skip to content

Commit

Permalink
Animate up-flap for wings.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaDeal authored and torunar committed Jul 10, 2024
1 parent 1c1e4e6 commit cd9d6a4
Show file tree
Hide file tree
Showing 2 changed files with 165 additions and 3 deletions.
166 changes: 164 additions & 2 deletions img/toaster.xpm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* XPM */
static char *toasterXpm[4][80] = {
static char *toasterXpm[6][80] = {
{
"64 64 15 1",
" c None",
Expand Down Expand Up @@ -323,5 +323,167 @@ static char *toasterXpm[4][80] = {
" ;;*-*--------** ",
" ;**------** ",
" ;;.+***-*; ",
" ;;;;;; "}
" ;;;;;; "},
{
"64 64 15 1",
" c None",
". c #999999",
"+ c #CCCCCC",
"@ c #333300",
"# c #663300",
"$ c #111111",
"% c #666633",
"& c #CC3300",
"* c #EEEEEE",
"= c #000000",
"- c #FFFFFF",
"; c #878787",
"> c #666666",
", c #545454",
"' c #BABABA",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" .......... ",
" ..++++++++++++++. ",
" ..++++++@@@@@@@@@++++. ",
" ..+++++@@@@@@######@$$++++.%%% ",
" .+++++@@@@@####&&&*****++++++.@@%% ",
" .++++$@@@####&&****++++++===+++++.@@% ",
" .++++$@@@##&&&**++++++==$$$$$$===++++.$@% ",
" .++++$@@@##&&**++++====$$$$$$$$$$$==++-+.$@% ",
" .++++$@@@##&**++++===$$$$$$#######***------.$@% ",
" .+++$$@@##&&*+++===$=$$$###&&&****-----------.$@% ",
" .*++$$@@@##&**++===$$$####&&****-----****++++***$$% ",
" .*++$$@@##&**++===$$$##&&****----******....;;;;;;.$@% ",
" .+++$$@@##&*+++==$$####&**-----***++..;;;;>>,,,,,;..$@ ",
" .+*+$$@%#&**++==$$####&***--*****+...;;;>>>>>>>>>>,;.$$ ",
" +**+$@@#&*+++==$$###&*******+++...;;;;;>>;;;;;;;;>>,;.$ ",
" .***++%%--++==$$$##&*******++...;;;;;;;;;;;;;;;;;;;*>;.$ ",
" ''**-+++-++==$$$#&&******++..;;;;;;;;;;;;;;;;>;>;;;;;;>$ ",
" ,'''**-++++===$$#&---***++.;;;;;;;;;;;;;;;;;;;;>;>;;;+;>$ ",
" ,.''''--++++==$#&--***+++;>;;;.;;;.;.;;;;;..>;>;>;>;.*;>$ ",
" ,..''''++++++*$%*-***+++;>;;;.;.;.;.;.;;.......>;>;;.*>$$ ",
" ,$$..''''+*+++*--***++;>.;;;.;.;.;.;.;'.........>;>;.*>$$ ",
" $@@$...'''+*------*++,>;;;;.;.;.;.;.;'.'.......>;>;;..>$$ ",
" @@@@$$...''+-----*+@>>;;.;.;.;.;.;';'.'.'....;>;>;>;.;$$@ ",
" @@@@@@$$..''+*-*++@>;;;.;.;.;.;.;'.'.'.'.'.>;>;>;>;;;>$$@ ",
" @@@@@@@@$$..''*++@>;;..;.;.;.;.;'''.'.'.';;;;;>;>;;;;>$@@ ",
" @@@;;@@@@@$..''+@>;;....;.;.;.;+''.'.'.';;;;;;;>;;;;;>$@@ ",
" @@;%%;@@@@@$..'@>;;....;.;.;.;;+'''.'.';;;;;;;>;>;;;>=$@@ ",
" @@===%;;@@@@$.@,;;........;.;.++''''.';;;;;;;;;;;;;;>$@@@ ",
" @@====%%;;@@@,,>;..........;.+++'''';;;;;;;;;;;;;;;>=@@@@ ",
" @@======%;@@@@>;;.........;.+++'''';;;;;;;;;;;;;;;;>=@@@@ ",
" @@@======;@@@,>;;............''''';;;;;;;;;;;;;;;;>=@@@@@ ",
" @@@@=====@@@@,>;;.........;+'++++;;;;;;;;;;;;.;;;>=@@@@@@ ",
" @@@@@====@@@@@>;;;.........;+++++++++;;;;;.;.;;;;>=@@@@@@@ ",
" @@@@@%=@@@@@@%>.>;........;.***---++++++;.;.;.;;>=@@@@@..+. ...",
" @@@@@%=@@@@@@%>.>;........;.*-------+*...++++;;>+..+..+....+...",
" @@@@@%=@@@@@@%@>.>;........;***-----++*++**...**++...*+.+*..+++",
" @@@@@%=@@@@@@%@>.>;;.........*-----+-----+*--++++**++-+++++*..+",
" @@@@@%=@@@@@@%%@>.>;;..........*-------------++*-++**++***+++* ",
" @@@@@%=@@@@@@%%@>>'>;;..........**-*------------+**-+*---+*--- ",
" @@@@@%=@@@@@@%%%@>*.>;;;..........***-*------------++*--+*--* ",
" $@@@@%=@@@@@@%%%%@>-.>>;;;;;;;;;;;.*****--------------+**--* ",
" $$@@@%=@@@@@@%%%%%@,'*'>>>>>>>>;;....******---------------** ",
" $@$@@%=@@@@@$%%%%%%@,,,...........>>...********----------* ",
" $$@$@%=@@@@@$%%%%%%%@@@,,,,,,,,,,@@@%%%...**********--** ",
" $$@$@=@@@@@$%%%%%%%%%%@@@@@@@@@@%%%%@%@%@...******;;; ",
" $@$@$@@@$@$$%@%%%%%%%%%%%%%%%%%%%@%@%@%@@ ....... ",
" $$$@$@$@$@$@%@%%%%%%%%%%%%%@%@%@%@%@%@ ",
" $$$@$@$@$$@@%@%%%%%%%@%@%@%@%@%@%@@ ",
" $$$@$@$$$@@@%@%@%@%@%@%@%@@@@@@@ ",
" $$$$$$$@@@@%@%@%@%@%@@@@@@@ ",
" $$$$$$@@@@@%@%@@@@@@@@@ ",
" $$$@@@@@@@@@@@@@ ",
" @@@@@@@@ ",
" ",
" ",
" ",
" "},
{
"64 64 15 1",
" c None",
". c #FFFFFF",
"+ c #EEEEEE",
"@ c #CCCCCC",
"# c #999999",
"$ c #000000",
"% c #333300",
"& c #663300",
"* c #111111",
"= c #666633",
"- c #CC3300",
"; c #878787",
"> c #666666",
", c #545454",
"' c #BABABA",
" ",
" ",
" ",
" ",
" ",
" .++++ ",
" +++...+++ ",
" +++......@@@# ########## ",
" +++....@@@#.$##@@@@@@@@@@@@@@# ",
" ++.........##@@@@@@%%%%%%%%%@@@@# ",
" ++.......##@@@@@%%%%%%&&&&&&%**@@@@#=== ",
" +......#@@@@@%%%%%&&&----+++++@@@@@@#%%== ",
" +.....#@@@@*%%%&&&---++++@@@@@@$$$@@@@@#%%= ",
" +....#@@@@*%%%&&---++@@@@@@$$******$$$@@@@#*%= ",
" ++..#@@@@*%%%&---++@@@@$$$$***********$$@@.@#*%= ",
" +.#@@@@*%%%&&-++@@@@$$$******&&&&&&&+++......#*%= ",
" +#@@@**%%&&--+@@@$$$*$***&&----++++...........#*%= ",
" #+@@**%%%&--++@@$$$***&&&---++++.....++++@@@@+++**= ",
" #+@@**%%&&-++@@$$$***&&--++++....++++++####;;;;;;#*%= ",
" #@@@**%%&--+@@@$$**&&&--++.....+++@@##;;;;>>,,,,,;##*% ",
" #@+@**%=&-++@@$$**&&&--+++..+++++@###;;;>>>>>>>>>>,;#** ",
" @++@*%%&-+@@@$$**&&--+++++++@@@###;;;;;>>;;;;;;;;>>,;#* ",
" #+++@@==..@@$$***&&-+++++++@@###;;;;;;;;;;;;;;;;;;;;>;#* ",
" ''++.@@@.@@$$***&--++++++@@##;;;;;;;;;;;;;;;;;;;;;;;;##> ",
" ,'''++.@@@@$$$**&-...+++@@#;;;;;;#;;;;;;;;;;;;;;;;;;;###> ",
" ,#''''..@@@@$$*&-..+++@@@;>;;;#;;;;##########;;;;;;;;;##> ",
" ,##''''@@@@@@+*=+.+++@@@;>;;;#;#####''############;;;;##> ",
" ,**##''''@+@@@+..+++@@;>#;;;#;###''''''''''''''''##;;;##>* ",
" *%%*###'''@+......+@@,>;;;;#;##@@''''''..........'#;;;;;>* ",
" %%%%**###''@.....+@%>>;;#;#;#;@@@'@.....................>* ",
" %%%%%%**##''@+.+@@%>;;;#;#;#;@@@;..............+........... ",
" %%%%%%%%**##''+@@%>;;##;#;#;#@@;+..............@+++++.......@@ ",
" %%%;;%%%%%*##''@%>;;####;#;#@@@........@........@@@@@@@@++++++@",
" %%;==;%%%%%*##'%>;;####;#;#;@@#.........@...@.......@##@@@@@@@@",
" %%$$$=;;%%%%*#%,;;##########@#.............@@++++.++...########",
" %%$$$$==;;%%%,,>;##########@@;........@......@@@@@@@++.++++.+# ",
" %%$$$$$$=;%%%%>;;##########@;..........+++++...@###@@@@+@@@+@ ",
" %%%$$$$$$;%%%,>;;##########;#...........@@@++++...+###@## ",
" %%%%$$$$$%%%%,>;;###########......@......++@@@#@@@@++@#%% ",
" %%%%%$$$$%%%%%>;;;##########.......@++++++.++@@###@@**%%% ",
" %%%%%=$%%%%%%=>#>;##########...+.....@#+@@@@###@@>**%%%%% ",
" %%%%%=$%%%%%%=>#>;#########..+.......@@@@@;@;;;>>>**%%%%% ",
" %%%%%=$%%%%%%=%>#>;#########.+...@@@@@;;;;;>;;;$%%%=%%%% ",
" %%%%%=$%%%%%%=%>#>;;#########@@@@@#;#;;;#;##;>$%=%=%%%%% ",
" %%%%%=$%%%%%%==%>#>;;#########@@@####;;;;##;>$%=%=%=%%% ",
" %%%%%=$%%%%%%==%>>'>;;##############;;;;;#>>$%=%=%=%%% ",
" %%%%%=$%%%%%%===%>+#>;;;#########;;;;;###>%%%===%=%%% ",
" *%%%%=$%%%%%%====%>.#>>;;;;;;;;;;;;;###>>%===%=%=%% ",
" **%%%=$%%%%%%=====%,'+'>>>>>>>>;;###>>%%%===%=%%%% ",
" *%*%%=$%%%%%*======%,,,###########>>%%===%=%=%%% ",
" **%*%=$%%%%%*=======%%%,,,,,,,,,,%%%====%=%=%% ",
" **%*%$%%%%%*==========%%%%%%%%%%====%=%=%=% ",
" *%*%*%%%*%**=%===================%=%=%=%% ",
" ***%*%*%*%*%=%=============%=%=%=%=%=% ",
" ***%*%*%**%%=%=======%=%=%=%=%=%=%% ",
" ***%*%***%%%=%=%=%=%=%=%=%%%%%%% ",
" *******%%%%=%=%=%=%=%%%%%%% ",
" ******%%%%%=%=%%%%%%%%% ",
" ***%%%%%%%%%%%%% ",
" %%%%%%%% ",
" ",
" ",
" ",
" "}
};
2 changes: 1 addition & 1 deletion src/flying-toasters.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "vroot.h"
#include "flying-toasters.h"

#define TOASTER_SPRITE_COUNT 4
#define TOASTER_SPRITE_COUNT 6
#define TOASTER_COUNT 10
#define TOAST_COUNT 6
#define SPRITE_SIZE 64
Expand Down

0 comments on commit cd9d6a4

Please sign in to comment.