Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /********************************************************************
- * by Eric Lovejoy & Joshua Gylinsky
- *
- * Art by the Internet
- * Art modified by us of the Internet
- * May we all be of Server
- *
- * File: nyanlib.h
- *
- * Date: 02/2/2012
- *
- **********************************************************************/
- //#include "color.h"
- #ifndef _NYANLIB_H_
- char _NYANLIB_RTTTL_SONG_NYAN[] ="nyan cat:d=4,o=4,b=120:17d#6,384p,17e6,384p,8f#6,384p,8b6,384p,17d#6,384p,17e6,384p,17f#6,384p,17b6,384p,17c#7,384p,17d#7,384p,17c#7,384p,17a#6,384p,8b6,384p,8f#6,384p,17d#6,384p,17e6,384p,8f#6,384p,8b6,384p,17c#7,384p,17a#6,384p,17b6,384p,17c#7,384p,17e7,384p,17d#7,384p,17e7,384p,17c#7,384p,8f#6,384p,8g#6,384p,17d#6,384p,17d#6,15p,17b,384p,17d6,384p,17c#6,384p,17b,15p,8b,384p,8c#6,384p,8d6,384p,17d6,384p,17c#6,384p,17b,384p,17c#6,384p,17d#6,384p,17f#6,384p,17g#6,384p,17d#6,384p,17f#6,384p,17c#6,384p,17d#6,384p,17b,384p,17c#6,384p,17b,384p,8d#6,384p,8f#6,384p,17g#6,384p,17d#6,384p,17f#6,384p,17c#6,384p,17d#6,384p,17b,384p,17d6,384p,17d#6,384p,17d6,384p,17c#6,384p,17b,384p,17c#6,384p,8d6,384p,17b,384p,17c#6,384p,17d#6,384p,17f#6,384p,17c#6,384p,17d#6,384p,17c#6,384p,17b,384p,8c#6,384p,8b,384p,8c#6,384p,8f#6,384p,8g#6,384p,17d#6,384p,17d#6,15p,17b,384p,17d6,384p,17c#6,384p,17b,15p,8b,384p,8c#6,384p,8d6,384p,17d6,384p,17c#6,384p,17b,384p,17c#6,384p,17d#6,384p,17f#6,384p,17g#6,384p,17d#6,384p,17f#6,384p,17c#6,384p,17d#6,384p,17b,384p,17c#6,384p,17b,384p,8d#6,384p,8f#6,384p,17g#6,384p,17d#6,384p,17f#6,384p,17c#6,384p,17d#6,384p,17b,384p,17d6,384p,17d#6,384p,17d6,384p,17c#6,384p,17b,384p,17c#6,384p,8d6,384p,17b,384p,17c#6,384p,17d#6,384p,17f#6,384p,17c#6,384p,17d#6,384p,17c#6,384p,17b,384p,8c#6,384p,8b,384p,8c#6,384p,8b,384p,17f#,384p,17g#,384p,8b,384p,17f#,384p,17g#,384p,17 b,384p,17c#6,384p,17d#6,384p,17b,384p,17e6,384p,17d#6,384p,17e6,384p,17f#6,384p,8b,384p,8b,384p,17f#,384p,17g#,384p,17b,384p,17f#,384p,17e6,384p,17d#6,384p,17c#6,384p,17b,384p,17f#,384p,17d#,384p,17e,384p,17f#,384p,8b,384p,17f#,384p,17g#,384p,8b,384p,17f#,384p,17g#,384p,17b,384p,17b,384p,17c#6,384p,17d#6,384p,17b,384p,17f#,384p,17g#,384p,17f#,384p,8b,384p,17b,384p,17a#,384p,17b,384p,17f#,384p,17g#,384p,17b,384p,17e6,384p,17d#6,384p,17e6,384p,17f#6,384p,8b,384p,8a#,384p,8b,384p,17f#,384p,17g#,384p,8b,384p,17f#,384p,17g#,384p,17b,384p,17c#6,384p,17d#6,384p,17b,384p,17e6,384p,17d#6,384p,17e6,384p,17f#6,384p,8b,384p,8b,384p,17f#,384p,17g#,384p,17b,384p,17f#,384p,17e6,384p,17d#6,384p,17c#6,384p,17b,384p,17f#,384p,17d#,384p,17e,384p,17f#,384p,8b,384p,17f#,384p,17g#,384p,8b,384p,17f#,384p,17g#,384p,17b,384p,17b,384p,17c#6,384p,17d#6,384p,17b,384p,17f#,384p,17g#,384p,17f#,384p,8b,384p,17b,384p,17a#,384p,17b,384p,17f#,384p,17g#,384p,17b,384p,17e6,384p,17d#6,384p,17e6,384p,17f#6,384p,8b,384p,8c#6";
- //char _NYANLIB_RTTTL_SONG_NYAN[] ="nyan cat:d=4,o=4,b=120:16d#6,384p,16e6,384p,8f#6,384p,6b8,384p,16d#6,384p,16e6,384p,16f#6,384p,16b6,384p,16c#7,384p,16d#7,384p,16c#7,384p,16a#6,384p,6b8,384p,8f#6,384p,16d#6,384p,16e6,384p,8f#6,384p,6b8,384p,16c#7,384p,16a#6,384p,16b6,384p,16c#7,384p,16e7,384p,16d#7,384p,16e7,384p,16c#7,384p,8f#6,384p,8g#6,384p,16d#6,384p,16d#6,15p,16b,384p,16d6,384p,16c#6,384p,16b,15p,8b,384p,8c#6,384p,8d6,384p,16d6,384p,16c#6,384p,16b,384p,16c#6,384p,16d#6,384p,16f#6,384p,16g#6,384p,16d#6,384p,16f#6,384p,16c#6,384p,16d#6,384p,16b,384p,16c#6,384p,16b,384p,8d#6,384p,8f#6,384p,16g#6,384p,16d#6,384p,16f#6,384p,16c#6,384p,16d#6,384p,16b,384p,16d6,384p,16d#6,384p,16d6,384p,16c#6,384p,16b,384p,16c#6,384p,8d6,384p,16b,384p,16c#6,384p,16d#6,384p,16f#6,384p,16c#6,384p,16d#6,384p,16c#6,384p,16b,384p,8c#6,384p,8b,384p,8c#6,384p,8f#6,384p,8g#6,384p,16d#6,384p,16d#6,15p,16b,384p,16d6,384p,16c#6,384p,16b,15p,8b,384p,8c#6,384p,8d6,384p,16d6,384p,16c#6,384p,16b,384p,16c#6,384p,16d#6,384p,16f#6,384p,16g#6,384p,16d#6,384p,16f#6,384p,16c#6,384p ,16d#6,384p,16b,384p,16c#6,384p,16b,384p,8d#6,384p,8f#6,384p,16g#6,384p,16d#6,384p,16f#6,384p,16c#6,384p,16d#6,384p,16b,384p,16d6,384p,16d#6,384p,16d6,384p,16c#6,384p,16b,384p,16c#6,384p,8d6,384p,16b,384p,16c#6,384p,16d#6,384p,16f#6,384p,16c#6,384p,16d#6,384p,16c#6,384p,16b,384p,8c#6,384p,8b,384p,8c#6,384p,8b,384p,16f#,384p,16g#,384p,8b,384p,16f#,384p,16g#,384p,16b,384p,16c#6,384p,16d#6,384p,16b,384p,16e6,384p,16d#6,384p,16e6,384p,16f#6,384p,8b,384p,8b,384p,16f#,384p,16g#,384p,16b,384p,16f#,384p,16e6,384p,16d#6,384p,16c#6,384p,16b,384p,16f#,384p,16d#,384p,16e,384p,16f#,384p,8b,384p,16f#,384p,16g#,384p,8b,384p,16f#,384p,16g#,384p,16b,384p,16b,384p,16c#6,384p,16d#6,384p,16b,384p,16f#,384p,16g#,384p,16f#,384p,8b,384p,16b,384p,16a#,384p,16b,384p,16f#,384p,16g#,384p,16b,384p,16e6,384p,16d#6,384p,16e6,384p,16f#6,384p,8b,384p,8a#,384p,8b,384p,16f#,384p,16g#,384p,8b,384p,16f#,384p,16g#,384p,16b,384p,16c#6,384p,16d#6,384p,16b,384p,16e6,384p,16d#6,384p,16e6,384p,16f#6,384p,8b,384p,8b,384p,16f#,384p,16g#,384p,16b,384p,16f#,384p,16e6,384p,16d#6,384p,16c#6,384p,16b,384p,16f#,384p,16d#,384p,16e,384p,16f#,384p,8b,384p,16f#,384p,16g#,384p,8b,384p,16f#,384p,16g#,384p,16b,384p,16b,384p,16c#6,384p,16d#6,384p,16b,384p,16f#,384p,16g#,384p,16f#,384p,8b,384p,16b,384p,16a#,384p,16b,384p,16f#,384p,16g#,384p,16b,384p,16e6,384p,16d#6,384p,16e6,384p,16f#6,384p,8b,384p,8c#6";
- static unsigned int _nyan_frame =0;
- static unsigned long long _nyan_taco =0;
- /* We see you like nyan cat,
- * so put some nyannyan IN YOUR nyannyan so you can
- * nyancat WHILE you nyancat */
- /* Play the next frame of that bad@ss mofo, NyanCat */
- void print_nyan(){
- system("clear");
- _nyan_frame++;
- _nyan_taco++;
- if(_nyan_frame>9)_nyan_frame=0;
- printf(CLEAR "\n");
- /* Inquiring mind(less) users want to know. */
- printf("You've been NYANing for %lld frames and notes\n",_nyan_taco);
- printf(HIGHLIGHT_BLUE);
- /* Switch that piture, change the print up */
- switch (_nyan_frame){
- case 1:
- printf("+ 0 + o \n");
- printf(" * + + + \n");
- printf("o + \n");
- printf(" o + o * \n");
- printf("+ o o + o \n");
- printf(".~~~.___.~~~ ,-------. o \n");
- printf("~~.___.~~~.__| /\\_/\\ \n");
- printf(".~~~.___.~~~ |___( ^ .^) + + \n");
- printf("~~.___.~~~.___ \"\" \"\" \n");
- printf("+ o o + o \n");
- printf(" + + \n");
- printf("o o o o + \n");
- printf(" o * \n");
- printf("+ + o o + \n");
- break;
- case 2:
- printf(" o * o +\n");
- printf("+ o + * \n");
- printf(" + \n");
- printf("o + + + \n");
- printf(" o o * O \n");
- printf(".~~~.___.~~~ ,-------. o \n");
- printf("~~.___.~~~.__| /\\_/\\ \n");
- printf(".~~~.___.~~~ |___( ^ .^) + + \n");
- printf("~~.___.~~~.___ \"\" \"\" o\n");
- printf(" o o + o \n");
- printf("+ * \n");
- printf(" o o o + \n");
- printf("o + \n");
- printf(" + 0 o * o\n");
- break;
- case 3:
- printf("o + O + \n");
- printf(" o + + o \n");
- printf(" + \n");
- printf("+ + + + \n");
- printf(" o o + o \n");
- printf("~~~.___.~~~. ,-------. o \n");
- printf("~.___.~~~.___| /\\_/\\ + \n");
- printf("~~~.___.~~~. |___( ^ .^) + o\n");
- printf("~.___.~~~.___. \"\" `` o \n");
- printf("o o + o \n");
- printf(" + \n");
- printf(" O o o + * \n");
- printf(" + \n");
- printf("+ o o + O \n");
- break;
- case 4:
- printf("o + o + \n");
- printf(" o + + o \n");
- printf(" + \n");
- printf("+ + + + \n");
- printf(" o o + o \n");
- printf("~~.___.~~~._ ,-------. o \n");
- printf(".___.~~~.___.| /\\_/\\ \n");
- printf("~~.___.~~~._ |___( ^ .^) + o \n");
- printf(".___.~~~.___.~ \"\" `` \n");
- printf("o o + o \n");
- printf(" + \n");
- printf(" o o o + + \n");
- printf(" + \n");
- printf("+ o o + o \n");
- break;
- case 5:
- printf(" + o + \n");
- printf(" o + + o \n");
- printf(" + + \n");
- printf(" + + + \n");
- printf(" o + o \n");
- printf("~.___.~~~.__ ,-------. o \n");
- printf("___.~~~.___.~| /\\_/\\ \n");
- printf("~.___.~~~.__ |___( ^ .^) o +\n");
- printf("___.~~~.___.~~ \"\" `` \n");
- printf(" o + o \n");
- printf(" + \n");
- printf(" o o + + \n");
- printf(" + \n");
- printf(" o o + o \n");
- break;
- case 6:
- printf(" + o + \n");
- printf(" o + + o \n");
- printf(" + + \n");
- printf(" + + + \n");
- printf(" o + o \n");
- printf("~.___.~~~.__ ,-------.o \n");
- printf("__.~~~.___.~~| /\\_/\\ \n");
- printf(".___.~~~.___ |___( ^ .^) + + \n");
- printf("__.~~~.___.~~~ `` `` \n");
- printf(" o + o \n");
- printf(" + \n");
- printf(" o o + + \n");
- printf(" + \n");
- printf(" o o + o \n");
- break;
- case 7:
- printf("+ o + o \n");
- printf(" o + + o + \n");
- printf(" +\n");
- printf(" + + + \n");
- printf(" o + o \n");
- printf("___.~~~.___. ,-------. o \n");
- printf("_.~~~.___.~~~| /\\_/\\ \n");
- printf("___.~~~.___. |___( ^ .^) + + \n");
- printf("_.~~~.___.~~~. \"\" \"\" \n");
- printf(" o + o \n");
- printf(" + \n");
- printf(" o o + + \n");
- printf(" + \n");
- printf(" o o + o \n");
- break;
- case 8:
- printf(" + o + o \n");
- printf(" + o + \n");
- printf(" o + \n");
- printf(" o + + + \n");
- printf(" + o o + \n");
- printf("__.~~~.___.~ ,-------. o \n");
- printf(".~~~.___.~~~.| /\\_/\\ \n");
- printf("__.~~~.___.~ |___( ^ .^) o + \n");
- printf(".~~~.___.~~~._ \"\" `` \n");
- printf(" o o + o \n");
- printf(" + \n");
- printf(" o o o + \n");
- printf(" + \n");
- printf(" + o o + o\n");
- break;
- case 9:
- printf("+ o + o \n");
- printf(" + o + + \n");
- printf("o + \n");
- printf(" o + + + \n");
- printf("+ o o + o \n");
- printf("_.~~~.___.~~ ,-------. o \n");
- printf("~~~.___.~~~._| /\\_/\\ \n");
- printf("_.~~~.___.~~ |___( ^ .^) + + \n");
- printf("~~~.___.~~~.__ `` \"\" o\n");
- printf("o o + o \n");
- printf(" + \n");
- printf(" o o o + + \n");
- printf(" + \n");
- printf("+ o o + o \n");
- break;
- default:
- printf("+ o + o \n");
- printf(" + o + + \n");
- printf("o + \n");
- printf(" o + + + \n");
- printf("+ o o + o \n");
- printf("_.~~~.___.~~ ,-------. o \n");
- printf("~~~.___.~~~._| /\\_/\\ \n");
- printf("_.~~~.___.~~ |___( ^ .^) + + \n");
- printf("~~~.___.~~~.__ `` \"\" o\n");
- printf("o o + o \n");
- printf(" + \n");
- printf(" o o o + + \n");
- printf(" + \n");
- printf("+ o o + o \n");
- }
- }
- #define _NYANLIB_H_
- #endif
Add Comment
Please, Sign In to add comment