shithub: da

Download patch

ref: 622fecd6fe1fe02a82e5987ee7f37cbc43a498ef
parent: 2b2adc8413a26671959e21d0d0bdce209ec71f5b
author: glenda <glenda@krsna>
date: Wed Aug 20 11:46:10 EDT 2025

emjois

--- a/da.c
+++ b/da.c
@@ -292,6 +292,314 @@
 	"_o_"
 };
 
+char *kirby_dance[] = {
+	"<('.')>",
+	"<('.')<",
+	"^('.')^",
+	"v('.')v"
+};
+
+char *lambda_dance[] = {
+	"L(^_^)L",
+	"L(>_<)L",
+	"L(o_o)L",
+	"L(*_*)L"
+};
+
+char *rcc_style[] = {
+	"(-(-_-(-_(-_-)_-)_-)-)",
+	"[~o-o]~",
+	"~(o_o)~",
+	"*(^o^)/*"
+};
+
+char *cat_faces[] = {
+	"=^.^=",
+	"=^.o=",
+	"=o.^=",
+	"=o.o="
+};
+
+char *shrug_guys[] = {
+	"~\\_('.')_/~",
+	"~\\_(o.o)_/~",
+	"~\\_(-.-)_/~",
+	"~\\_(^.^)_/~"
+};
+
+char *classic_emotions[] = {
+    ":-)",
+    ":-D",
+    ";-)",
+    ":-P"
+};
+
+char *bear_moods[] = {
+    "(o.o)",
+    "(^.^)",
+    "(*.*)",
+    "(-.-)zzz"
+};
+
+char *bunny_hop[] = {
+    "(\\(\\",
+    "( -.-)(",
+    "o(\")(\")o",
+    "(\")_(\")"
+};
+
+char *robot_faces[] = {
+    "[o_o]",
+    "[O_O]",
+    "[^_^]",
+    "[x_x]"
+};
+
+char *owl_looks[] = {
+    "(O,O)",
+    "(o,o)",
+    "(0,0)",
+    "(@,@)"
+};
+
+char *fish_swim[] = {
+    "><>",
+    "<><",
+    "><(((o>",
+    "<o)))><"
+};
+
+char *music_notes[] = {
+    "d(^_^)b",
+    "q(^_^)p",
+    "b(^_^)d",
+    "p(^_^)q"
+};
+
+char *wizard_cast[] = {
+    "(o)===*",
+    "*(===o)",
+    "~(o)~===*",
+    "*===~(o)~"
+};
+
+char *table_flip[] = {
+    "(o_o)",
+    "(o_O)",
+    "(O_O)",
+    "(x_x)===___"
+};
+
+char *love_hearts[] = {
+    "<3",
+    "</3",
+    "<3<3<3",
+    "~<3~"
+};
+
+char *stick_figure[] = {
+    "o/",
+    "\\o",
+    "|o|",
+    "_o_"
+};
+
+char *cool_shades[] = {
+    "B-)",
+    "8-)",
+    "B-D",
+    "8-D"
+};
+
+char *space_invaders[] = {
+    "/o\\",
+    "\\o/",
+    "|o|",
+    "-o-"
+};
+
+char *bat_fly[] = {
+    "^v^",
+    "vVv",
+    "^V^",
+    "VvV"
+};
+
+char *spider_crawl[] = {
+    "//\\\\(oo)//\\\\",
+    "//\\\\(  )//\\\\",
+    "\\\\//(..)\\\\//",
+    "\\\\//()\\\\//",
+};
+
+char *boxing[] = {
+    "(o_o)-Q",
+    "Q-(o_o)",
+    "Q-(>_<)-Q",
+    "(^o^)9"
+};
+
+char *flex_arms[] = {
+    "o==[]::::::>",
+    "@==[]::::::>",
+    "O==[]::::::>",
+    "*==[]::::::>"
+};
+
+char *crab_walk[] = {
+    "V(o_o)V",
+    "V(._.)V",
+    "V(^_^)V",
+    "V(*_*)V"
+};
+
+char *penguin[] = {
+    "<(^_^)>",
+    "<('_')>",
+    "<(o_o)>",
+    "<(._.)>"
+};
+
+char *excited[] = {
+    "\\(^o^)/",
+    "~(^o^)~",
+    "*(^o^)*",
+    "/(^o^)\\"
+};
+
+char *ghosts[] = {
+    "~(o.o)~",
+    "~(O.O)~",
+    "~(x.x)~",
+    "~(-.-)~"
+};
+
+char *zombies[] = {
+    "[x_x]",
+    "[X_X]",
+    "]x_x[",
+    "]X_X["
+};
+
+char *snails[] = {
+    "@__)",
+    "(__@",
+    "@__]",
+    "[__@"
+};
+
+char *ufo[] = {
+    "<o>",
+    "=<o>=",
+    "==<o>==",
+    "=<o>="
+};
+
+char *rockets[] = {
+    "=>",
+    "==>",
+    "===>",
+    "===>"
+};
+
+char *weather[] = {
+    "* * *",
+    "' ' '",
+    ". . .",
+    "~ ~ ~"
+};
+
+char *math_dance[] = {
+    "+(^_^)+",
+    "-(^_^)-",
+    "*(^_^)*",
+    "/(^_^)/"
+};
+
+char *pacman[] = {
+    "C",
+    "c",
+    "<",
+    "("
+};
+
+char *dice[] = {
+    "[1]",
+    "[2]",
+    "[3]",
+    "[4]"
+};
+
+char *stars[] = {
+    "*",
+    "+",
+    "x",
+    "."
+};
+
+char *arrows[] = {
+    "->",
+    "-->",
+    "--->",
+    "---->"
+};
+
+char *code_brackets[] = {
+    "{^_^}",
+    "[^_^]",
+    "(^_^)",
+    "<^_^>"
+};
+
+char *swords[] = {
+    "o==|::::>",
+    "<::::|==o",
+    "o==|::::>",
+    "<::::|==o"
+};
+
+char *dragon[] = {
+    ">=<>",
+    ">==<>",
+    ">===<>",
+    ">====<>"
+};
+
+char *butterfly[] = {
+    "}i{",
+    "}I{",
+    "}!{",
+    "}|{"
+};
+
+char *skulls[] = {
+    "8-X",
+    "8-(",
+    "X-X",
+    "x-x"
+};
+
+char *money[] = {
+    "[$]",
+    "[$$]",
+    "[$$$]",
+    "[$$$$]"
+};
+
+char *flower[] = {
+    "@}->--",
+    "@}>---",
+    "@}>----",
+    "@}>-----"
+};
+
+char *chess[] = {
+    "|\\*",
+    "|\\#",
+    "|\\+",
+    "|\\@"
+};
+
 char *lenny[] = {
     "( *_*)",  
     "( o_o)",    
@@ -299,6 +607,55 @@
     "( >_>)"
 };
 
+char *minimal[] = {
+    "._.",
+    "o_o",
+    "^_^",
+    "-_-"
+};
+
+char *surprised[] = {
+    "o.o",
+    "O.O",
+    "0.0",
+    "@.@"
+};
+
+char *winking[] = {
+    ";)",
+    ";]",
+    ";D",
+    ";P"
+};
+
+char *nyan[] = {
+    "=^.^=",
+    "=^.o=",
+    "=o.^=",
+    "=o.o="
+};
+
+char *keyboard_smash[] = {
+    "asdf",
+    "jkl;",
+    "qwer",
+    "zxcv"
+};
+
+char *binary[] = {
+    "0101",
+    "1010",
+    "1100",
+    "0011"
+};
+
+char *waves[] = {
+    "~~~~~",
+    "^^^^^",
+    "vvvvv",
+    "~v~v~"
+};
+
 void
 save_da(char *file)
 {
@@ -895,24 +1252,216 @@
     static int emoji_set = 0;
     int i;
     
-    emoji_set = (emoji_set + 1) % 3;  /* 3 total emoji sets */
+    emoji_set = (emoji_set + 1) % 51;  /* 45 total emoji sets */
     
     switch(emoji_set) {
     case 0:
         for(i = 0; i < 4; i++)
-            canvas.emoji_frames[i] = lenny[i];
+            sheet.emoji_frames[i] = rcc_style[i];
         break;
     case 1:
         for(i = 0; i < 4; i++)
-            canvas.emoji_frames[i] = dancing_guy[i];
+            sheet.emoji_frames[i] = kirby_dance[i];
         break;
     case 2:
         for(i = 0; i < 4; i++)
-            canvas.emoji_frames[i] = happy_faces[i];
+            sheet.emoji_frames[i] = lambda_dance[i];
         break;
- 	}
-    canvas.needredraw = 1;
+    case 3:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = dancing_guy[i];
+        break;
+    case 4:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = happy_faces[i];
+        break;
+    case 5:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = classic_emotions[i];
+        break;
+    case 6:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = bear_moods[i];
+        break;
+    case 7:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = bunny_hop[i];
+        break;
+    case 8:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = robot_faces[i];
+        break;
+    case 9:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = owl_looks[i];
+        break;
+    case 10:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = fish_swim[i];
+        break;
+    case 11:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = music_notes[i];
+        break;
+    case 12:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = wizard_cast[i];
+        break;
+    case 13:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = table_flip[i];
+        break;
+    case 14:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = love_hearts[i];
+        break;
+    case 15:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = stick_figure[i];
+        break;
+    case 16:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = cool_shades[i];
+        break;
+    case 17:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = space_invaders[i];
+        break;
+    case 18:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = bat_fly[i];
+        break;
+    case 19:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = spider_crawl[i];
+        break;
+    case 20:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = boxing[i];
+        break;
+    case 21:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = flex_arms[i];
+        break;
+    case 22:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = crab_walk[i];
+        break;
+    case 23:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = penguin[i];
+        break;
+    case 24:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = excited[i];
+        break;
+    case 25:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = ghosts[i];
+        break;
+    case 26:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = zombies[i];
+        break;
+    case 27:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = snails[i];
+        break;
+    case 28:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = ufo[i];
+        break;
+    case 29:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = rockets[i];
+        break;
+    case 30:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = weather[i];
+        break;
+    case 31:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = math_dance[i];
+        break;
+    case 32:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = pacman[i];
+        break;
+    case 33:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = dice[i];
+        break;
+    case 34:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = stars[i];
+        break;
+    case 35:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = arrows[i];
+        break;
+    case 36:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = code_brackets[i];
+        break;
+    case 37:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = swords[i];
+        break;
+    case 38:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = dragon[i];
+        break;
+    case 39:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = butterfly[i];
+        break;
+    case 40:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = skulls[i];
+        break;
+    case 41:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = money[i];
+        break;
+    case 42:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = flower[i];
+        break;
+    case 43:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = chess[i];
+        break;
+    case 44:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = minimal[i];
+        break;
+    case 45:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = surprised[i];
+        break;
+    case 46:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = winking[i];
+        break;
+    case 47:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = nyan[i];
+        break;
+    case 48:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = keyboard_smash[i];
+        break;
+    case 49:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = binary[i];
+        break;
+    case 50:
+        for(i = 0; i < 4; i++)
+            sheet.emoji_frames[i] = waves[i];
+        break;
+    }
 
+    sheet.needredraw = 1;
 }
 
 void
--