--- /dev/null
+/* XPM */
+static char * icon_xpm[] = {
+"44 44 615 2",
+" c None",
+". c #59A6EF",
+"+ c #5AA7EF",
+"@ c #5DA9EF",
+"# c #5BA7EF",
+"$ c #64ACEF",
+"% c #61ABEF",
+"& c #5EA9EF",
+"* c #6AAFF1",
+"= c #68AEF0",
+"- c #65ADF0",
+"; c #62ABEF",
+"> c #5FA9EF",
+", c #5CA8EF",
+"' c #5BA8EF",
+") c #70B3F1",
+"! c #6DB1F1",
+"~ c #6BB0F0",
+"{ c #68AFF0",
+"] c #5AA6EF",
+"^ c #77B7F2",
+"/ c #74B5F1",
+"( c #71B3F1",
+"_ c #6EB1F1",
+": c #62ABF0",
+"< c #5DA8EF",
+"[ c #59A7EF",
+"} c #7CB9F2",
+"| c #7BB8F2",
+"1 c #78B7F2",
+"2 c #69AFF0",
+"3 c #66ADF0",
+"4 c #63ABEF",
+"5 c #60AAEF",
+"6 c #83BDF3",
+"7 c #81BCF2",
+"8 c #7EBAF2",
+"9 c #78B7F1",
+"0 c #75B5F1",
+"a c #72B3F1",
+"b c #6FB2F1",
+"c c #6CB0F0",
+"d c #63ACEF",
+"e c #89C1F3",
+"f c #87BFF3",
+"g c #84BDF3",
+"h c #7CB7EF",
+"i c #74ADE1",
+"j c #6B9AC5",
+"k c #5D80A1",
+"l c #50708D",
+"m c #446686",
+"n c #426A91",
+"o c #5187BA",
+"p c #5E9FDD",
+"q c #61A8EA",
+"r c #59A5EF",
+"s c #91C4F3",
+"t c #8EC2F4",
+"u c #8AC0F3",
+"v c #85BDF1",
+"w c #7BB0E3",
+"x c #6184A5",
+"y c #596876",
+"z c #565C62",
+"A c #484A4C",
+"B c #3C3C3C",
+"C c #1E1F20",
+"D c #070A0E",
+"E c #0C141B",
+"F c #1C2F40",
+"G c #3F6A92",
+"H c #5B9EDD",
+"I c #97C7F4",
+"J c #94C5F4",
+"K c #91C4F4",
+"L c #7EAFDB",
+"M c #51677A",
+"N c #4F4F4F",
+"O c #595959",
+"P c #515151",
+"Q c #454545",
+"R c #393939",
+"S c #1B1B1B",
+"T c #14110B",
+"U c #241F17",
+"V c #1D1912",
+"W c #080705",
+"X c #243D54",
+"Y c #5A9CD9",
+"Z c #9DCBF6",
+"` c #9AC9F5",
+" . c #97C8F4",
+".. c #94C6F4",
+"+. c #8EBFEE",
+"@. c #6886A3",
+"#. c #474A4E",
+"$. c #5A5A5A",
+"%. c #575757",
+"&. c #494949",
+"*. c #383838",
+"=. c #262626",
+"-. c #0B0B0B",
+";. c #59554D",
+">. c #B5B0A3",
+",. c #B5B19F",
+"'. c #514D47",
+"). c #0C1217",
+"!. c #43719D",
+"~. c #63ABED",
+"{. c #A2CDF6",
+"]. c #A0CCF5",
+"^. c #9DCBF5",
+"/. c #7AA1C5",
+"(. c #4C5762",
+"_. c #4D4D4D",
+":. c #3E3E3E",
+"<. c #2A2A2A",
+"[. c #121212",
+"}. c #42413E",
+"|. c #D5D5C5",
+"1. c #F4F4E1",
+"2. c #C0C0BE",
+"3. c #7B7A7A",
+"4. c #141310",
+"5. c #2B4760",
+"6. c #63A6E5",
+"7. c #AAD1F6",
+"8. c #A7D0F6",
+"9. c #A4CEF6",
+"0. c #A1CCF5",
+"a. c #9ECBF5",
+"b. c #9BC9F5",
+"c. c #516374",
+"d. c #424446",
+"e. c #535353",
+"f. c #545454",
+"g. c #474747",
+"h. c #3B3B3B",
+"i. c #171717",
+"j. c #8E877B",
+"k. c #F1F2E2",
+"l. c #E1DBD7",
+"m. c #605D5D",
+"n. c #3F3F3F",
+"o. c #1B1918",
+"p. c #121717",
+"q. c #639CD0",
+"r. c #69AEEF",
+"s. c #5FAAEF",
+"t. c #B0D5F7",
+"u. c #ADD3F7",
+"v. c #AAD2F7",
+"w. c #8DB5DB",
+"x. c #333C44",
+"y. c #3F4041",
+"z. c #555555",
+"A. c #505050",
+"B. c #3D3D3D",
+"C. c #2B2B2B",
+"D. c #1A1A1A",
+"E. c #958D81",
+"F. c #EFF0EB",
+"G. c #DFD8D7",
+"H. c #524C4C",
+"I. c #1E1D1D",
+"J. c #2C2920",
+"K. c #665810",
+"L. c #B4BC75",
+"M. c #A4BFA1",
+"N. c #83B6CB",
+"O. c #6AAEE8",
+"P. c #62ABEE",
+"Q. c #B7D9F8",
+"R. c #B4D7F7",
+"S. c #B1D5F7",
+"T. c #A5CEF6",
+"U. c #6D8BA6",
+"V. c #1B2025",
+"W. c #3C3D3D",
+"X. c #404040",
+"Y. c #2F2F2F",
+"Z. c #161616",
+"`. c #766D5E",
+" + c #D5D4D3",
+".+ c #E9E7E7",
+"++ c #B9AFAF",
+"@+ c #817B79",
+"#+ c #8B793A",
+"$+ c #E2C127",
+"%+ c #F8D62B",
+"&+ c #F8D72D",
+"*+ c #F0D538",
+"=+ c #D7CE5A",
+"-+ c #B6C485",
+";+ c #99BBA8",
+">+ c #78B1D0",
+",+ c #64AAE5",
+"'+ c #BDDBF8",
+")+ c #BAD9F8",
+"!+ c #B7D8F8",
+"~+ c #AED3F7",
+"{+ c #ABD2F6",
+"]+ c #A5CCF2",
+"^+ c #617990",
+"/+ c #15171A",
+"(+ c #424242",
+"_+ c #2C2C2C",
+":+ c #131313",
+"<+ c #141312",
+"[+ c #736F65",
+"}+ c #A4A19C",
+"|+ c #A9A39D",
+"1+ c #B19772",
+"2+ c #CDA234",
+"3+ c #E6BA36",
+"4+ c #F3CB30",
+"5+ c #FBD82A",
+"6+ c #FBD72A",
+"7+ c #F7D12D",
+"8+ c #F2CA31",
+"9+ c #E8C53B",
+"0+ c #D1C25A",
+"a+ c #95B6AA",
+"b+ c #C3DFF8",
+"c+ c #C0DDF8",
+"d+ c #AED4F7",
+"e+ c #94B6D7",
+"f+ c #323D49",
+"g+ c #121314",
+"h+ c #444444",
+"i+ c #282828",
+"j+ c #202020",
+"k+ c #0A0A0A",
+"l+ c #000000",
+"m+ c #13120E",
+"n+ c #201F1C",
+"o+ c #544432",
+"p+ c #B07F46",
+"q+ c #C38F43",
+"r+ c #D49F44",
+"s+ c #DBA741",
+"t+ c #DFB03E",
+"u+ c #DBA942",
+"v+ c #D3A144",
+"w+ c #D4A642",
+"x+ c #D1B152",
+"y+ c #ACB68B",
+"z+ c #7CB0CD",
+"A+ c #60AAF0",
+"B+ c #5EA8EF",
+"C+ c #5CA7EF",
+"D+ c #C9E1F9",
+"E+ c #C7E1F9",
+"F+ c #C4DFF9",
+"G+ c #BDDCF8",
+"H+ c #BADAF8",
+"I+ c #B1D6F7",
+"J+ c #6B8399",
+"K+ c #0D1013",
+"L+ c #1C1C1C",
+"M+ c #353535",
+"N+ c #292929",
+"O+ c #0E0E0E",
+"P+ c #070707",
+"Q+ c #010101",
+"R+ c #040301",
+"S+ c #5A4023",
+"T+ c #906539",
+"U+ c #986C3A",
+"V+ c #AA7B46",
+"W+ c #A6957F",
+"X+ c #939FA7",
+"Y+ c #83A8C9",
+"Z+ c #78ADDC",
+"`+ c #71AFE7",
+" @ c #6BAFEE",
+".@ c #67AEF0",
+"+@ c #64ACF0",
+"@@ c #61ABF0",
+"#@ c #D0E5F9",
+"$@ c #CDE4FA",
+"%@ c #CAE2F9",
+"&@ c #C4E0F9",
+"*@ c #C1DEF8",
+"=@ c #BEDCF8",
+"-@ c #A5C4E1",
+";@ c #2A3239",
+">@ c #121313",
+",@ c #2E2E2E",
+"'@ c #181818",
+")@ c #060606",
+"!@ c #211A12",
+"~@ c #2C2319",
+"{@ c #594C3B",
+"]@ c #84B3DA",
+"^@ c #79B6F0",
+"/@ c #76B4EF",
+"(@ c #73B3F0",
+"_@ c #70B2F1",
+":@ c #6DB1F0",
+"<@ c #6AAFF0",
+"[@ c #5EA9F0",
+"}@ c #D6E9FB",
+"|@ c #D3E8FA",
+"1@ c #D0E6FA",
+"2@ c #CAE2FA",
+"3@ c #C7E1FA",
+"4@ c #B0CDE9",
+"5@ c #596977",
+"6@ c #131415",
+"7@ c #363636",
+"8@ c #080808",
+"9@ c #0D0D0D",
+"0@ c #414141",
+"a@ c #7B7B7B",
+"b@ c #7F7F7F",
+"c@ c #5D5F60",
+"d@ c #6C94B9",
+"e@ c #7BB7EF",
+"f@ c #79B8F1",
+"g@ c #76B6F1",
+"h@ c #73B4F1",
+"i@ c #6DB2F1",
+"j@ c #6AB0F1",
+"k@ c #5CA9EF",
+"l@ c #DCECFB",
+"m@ c #D9EAFB",
+"n@ c #D6E9FA",
+"o@ c #C8E1F9",
+"p@ c #C5E0F9",
+"q@ c #BFDBF5",
+"r@ c #798C9D",
+"s@ c #222629",
+"t@ c #434343",
+"u@ c #1F1F1F",
+"v@ c #030303",
+"w@ c #929292",
+"x@ c #D4D4D4",
+"y@ c #F8F8F8",
+"z@ c #F4F4F4",
+"A@ c #C0C5C9",
+"B@ c #88AED3",
+"C@ c #7DB9F2",
+"D@ c #6EB2F0",
+"E@ c #DFEEFB",
+"F@ c #DDECFB",
+"G@ c #CBE3F9",
+"H@ c #B4CCE3",
+"I@ c #404951",
+"J@ c #272728",
+"K@ c #111111",
+"L@ c #040404",
+"M@ c #2D2D2D",
+"N@ c #808080",
+"O@ c #DADADA",
+"P@ c #FDFDFD",
+"Q@ c #FEFEFE",
+"R@ c #FCFCFC",
+"S@ c #D8E0E7",
+"T@ c #7CB3E7",
+"U@ c #7DBAF2",
+"V@ c #7AB8F1",
+"W@ c #77B6F1",
+"X@ c #74B4F1",
+"Y@ c #65ADEF",
+"Z@ c #DDEDFB",
+"`@ c #DAEBFB",
+" # c #D7E9FA",
+".# c #D4E8FA",
+"+# c #D1E6FA",
+"@# c #CEE5FA",
+"## c #9DB1C4",
+"$# c #272A2D",
+"%# c #4A4A4A",
+"&# c #333333",
+"*# c #0F0F0F",
+"=# c #9A9A9A",
+"-# c #D8D8D8",
+";# c #F7F7F7",
+"># c #A6B9CB",
+",# c #7EB8EE",
+"'# c #7AB8F2",
+")# c #74B4F2",
+"!# c #69AEF0",
+"~# c #66ACEF",
+"{# c #DFEEFC",
+"]# c #D8E9FA",
+"^# c #7D8C9A",
+"/# c #262829",
+"(# c #4C4C4C",
+"_# c #020202",
+":# c #191919",
+"<# c #8E8E8E",
+"[# c #EDEDED",
+"}# c #F9F9F9",
+"|# c #D3DCE3",
+"1# c #82AFDA",
+"2# c #80BBF3",
+"3# c #6BAFF1",
+"4# c #E0EEFC",
+"5# c #DEEDFB",
+"6# c #DBEBFB",
+"7# c #D8EAFA",
+"8# c #D5E9FA",
+"9# c #D0E5F8",
+"0# c #6D7984",
+"a# c #27292B",
+"b# c #373737",
+"c# c #050505",
+"d# c #090909",
+"e# c #979797",
+"f# c #CFCFCF",
+"g# c #E4E4E4",
+"h# c #E2E3E4",
+"i# c #8DAECC",
+"j# c #88BEF0",
+"k# c #88C0F0",
+"l# c #7DBAF1",
+"m# c #7BB9F2",
+"n# c #E0EEFB",
+"o# c #D8EAF9",
+"p# c #DAE6E3",
+"q# c #8A907E",
+"r# c #2B2E30",
+"s# c #1E1E1E",
+"t# c #0C0C0C",
+"u# c #646464",
+"v# c #B3B3B3",
+"w# c #E8E8E8",
+"x# c #EFEFEF",
+"y# c #A3B9CA",
+"z# c #D2DB8D",
+"A# c #E9DB38",
+"B# c #A5BB93",
+"C# c #7EBBF2",
+"D# c #77B7F1",
+"E# c #DCE9F4",
+"F# c #DAD199",
+"G# c #D6BF3E",
+"H# c #655D2E",
+"I# c #363736",
+"J# c #565656",
+"K# c #272727",
+"L# c #676767",
+"M# c #AFAFAF",
+"N# c #FBFBFB",
+"O# c #F0F0F0",
+"P# c #BDB88D",
+"Q# c #F1E01B",
+"R# c #F2E10E",
+"S# c #B4A31E",
+"T# c #81BCF3",
+"U# c #DDEBF7",
+"V# c #C4BB89",
+"W# c #C6A92F",
+"X# c #DCC226",
+"Y# c #655C2B",
+"Z# c #535251",
+"`# c #222222",
+" $ c #A1A1A1",
+".$ c #ADA768",
+"+$ c #E4D314",
+"@$ c #B19924",
+"#$ c #8C9166",
+"$$ c #84BEF3",
+"%$ c #E1EFFB",
+"&$ c #D9DDD4",
+"*$ c #B19B45",
+"=$ c #D1B428",
+"-$ c #E8CA24",
+";$ c #7D7336",
+">$ c #4E4E4D",
+",$ c #232323",
+"'$ c #101010",
+")$ c #4E4E4E",
+"!$ c #909090",
+"~$ c #838383",
+"{$ c #797979",
+"]$ c #F2F2F2",
+"^$ c #FAFAFA",
+"/$ c #C3C3C2",
+"($ c #9F9461",
+"_$ c #A78E2F",
+":$ c #8E916A",
+"<$ c #89B7DB",
+"[$ c #E1EFFC",
+"}$ c #C3BF9F",
+"|$ c #A68D2B",
+"1$ c #D8BC24",
+"2$ c #CAB32B",
+"3$ c #656044",
+"4$ c #434342",
+"5$ c #323232",
+"6$ c #1D1D1D",
+"7$ c #B8B8B8",
+"8$ c #BABABA",
+"9$ c #C3C3C3",
+"0$ c #C8C8C8",
+"a$ c #D1D1D1",
+"b$ c #D9D9D9",
+"c$ c #E0E0E0",
+"d$ c #EAEAEA",
+"e$ c #B8B8B5",
+"f$ c #93844E",
+"g$ c #919063",
+"h$ c #8EB4CD",
+"i$ c #686B6A",
+"j$ c #887945",
+"k$ c #967F23",
+"l$ c #E1C528",
+"m$ c #D7C324",
+"n$ c #656239",
+"o$ c #BDBDBD",
+"p$ c #CACACA",
+"q$ c #CDCDCD",
+"r$ c #C7C7C7",
+"s$ c #CCCCCC",
+"t$ c #D0D0D0",
+"u$ c #DBDBDB",
+"v$ c #E2E2E2",
+"w$ c #E3E3E3",
+"x$ c #A19E8E",
+"y$ c #8C895E",
+"z$ c #93B7CE",
+"A$ c #101011",
+"B$ c #322F26",
+"C$ c #796829",
+"D$ c #A18924",
+"E$ c #D3BE26",
+"F$ c #D8C91A",
+"G$ c #6B663A",
+"H$ c #393938",
+"I$ c #A3A3A3",
+"J$ c #CECECE",
+"K$ c #D6D6D6",
+"L$ c #C5C5C5",
+"M$ c #868770",
+"N$ c #96B2BD",
+"O$ c #484333",
+"P$ c #8D7622",
+"Q$ c #B69D26",
+"R$ c #E5D01B",
+"S$ c #D9CC1D",
+"T$ c #625E38",
+"U$ c #9C9C9C",
+"V$ c #CBCBCB",
+"W$ c #C1C1C1",
+"X$ c #89856D",
+"Y$ c #97B2C1",
+"Z$ c #504722",
+"`$ c #877221",
+" % c #CEB420",
+".% c #E6D314",
+"+% c #DBCD16",
+"@% c #958F06",
+"#% c #868107",
+"$% c #49460A",
+"%% c #1C1A07",
+"&% c #030202",
+"*% c #5E5E5E",
+"=% c #6D6D6D",
+"-% c #5C5C5C",
+";% c #6D6C64",
+">% c #80867F",
+",% c #9CB7C9",
+"'% c #555753",
+")% c #938D6A",
+"!% c #8D7A26",
+"~% c #A8911E",
+"{% c #C2B20E",
+"]% c #D7CA0B",
+"^% c #E2D40B",
+"/% c #E4D70B",
+"(% c #8B8215",
+"_% c #0C0B09",
+":% c #211D0C",
+"<% c #494018",
+"[% c #6D6943",
+"}% c #9FB4B9",
+"|% c #B5B499",
+"1% c #857635",
+"2% c #7C6A19",
+"3% c #867419",
+"4% c #8F7C19",
+"5% c #978518",
+"6% c #9C9960",
+"7% c #9BAAB9",
+"8% c #96A7B7",
+"9% c #94A6B6",
+"0% c #88969D",
+"a% c #554813",
+"b% c #645516",
+"c% c #7B691E",
+"d% c #A6B6B2",
+"e% c #E4F1FC",
+"f% c #D8EBFB",
+"g% c #D5E9FB",
+"h% c #D2E7FA",
+"i% c #CAE3F9",
+"j% c #C4DFF8",
+"k% c #C1DDF8",
+"l% c #E2EFFB",
+"m% c #DFEDFB",
+"n% c #D9EBFB",
+"o% c #D3E8FB",
+"p% c #D1E7FB",
+"q% c #E5F1FC",
+"r% c #E3EFFB",
+"s% c #DEECFC",
+"t% c #D7E9FB",
+"u% c #E3F0FC",
+"v% c #E1EEFC",
+"w% c #E5F2FC",
+"x% c #E3F1FC",
+" . + ",
+" @ # + + ",
+" $ % & # # + ",
+" * = - ; > , ' + ",
+" ) ! ~ { - ; > , # ] ",
+" ^ / ( _ ~ { - : > < # [ ",
+" } | 1 / ( _ ~ 2 3 4 5 @ ' [ ",
+" 6 7 8 | 9 0 a b c 2 3 d 5 @ # . ",
+" e f g 7 h i j k l m n o p q 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;
+// int masklen;
+// Uint8 * mask;
SDL_Surface * icon;
/* Load icon into a surface: */
- icon = IMG_Load((datadir + "/images/icon.png").c_str());
+ icon = IMG_Load((datadir + "/images/icon.xpm").c_str());
if (icon == NULL)
{
fprintf(stderr,
"\nError: I could not load the icon image: %s%s\n"
"The Simple DirectMedia error that occured was:\n"
- "%s\n\n", datadir.c_str(), "/images/icon.png", SDL_GetError());
+ "%s\n\n", datadir.c_str(), "/images/icon.xpm", SDL_GetError());
exit(1);
}
/* Create mask: */
-
+/*
masklen = (((icon -> w) + 7) / 8) * (icon -> h);
mask = (Uint8*) malloc(masklen * sizeof(Uint8));
memset(mask, 0xFF, masklen);
-
+*/
/* Set icon: */
- SDL_WM_SetIcon(icon, mask);
+ SDL_WM_SetIcon(icon, NULL);//mask);
/* Free icon surface & mask: */
- free(mask);
+// free(mask);
SDL_FreeSurface(icon);
}