From d202c5570d6b32ff89819af3de2d447abd2009c3 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Sun, 14 Sep 2008 13:48:12 +0000 Subject: [PATCH] add openarena icon git-svn-id: http://svn.code.sf.net/p/xqf/code/trunk@829 d2ac09be-c843-0410-8b1f-f8a84130e0ec --- xqf/src/games.c | 4 ++-- xqf/src/games.xml | 2 +- xqf/src/pixmaps.c | 1 + xqf/src/xpm/openarena.xpm | 28 ++++++++++++++++++++++++++++ 4 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 xqf/src/xpm/openarena.xpm diff --git a/xqf/src/games.c b/xqf/src/games.c index a3b270e..168b85d 100644 --- a/xqf/src/games.c +++ b/xqf/src/games.c @@ -977,14 +977,14 @@ struct game games[] = { { type : OPENARENA_SERVER, flags : GAME_CONNECT | GAME_PASSWORD | GAME_RCON | GAME_QUAKE3_MASTERPROTOCOL | GAME_Q3COLORS, - name : "Open Arena", + name : "OpenArena", default_port : 27960, default_master_port : 27950, id : "OPENARENAS", qstat_str : "OPENARENAS", qstat_option : "-openarenas", qstat_master_option : "-openarenam", - icon : "quake3.xpm", + icon : "openarena.xpm", parse_player : q3_parse_player, parse_server : quake_parse_server, analyze_serverinfo : q3_analyze_serverinfo, diff --git a/xqf/src/games.xml b/xqf/src/games.xml index 85195da..bbd3c88 100644 --- a/xqf/src/games.xml +++ b/xqf/src/games.xml @@ -746,7 +746,7 @@ Q3_SERVER OPENARENA_SERVER - Open Arena + OpenArena OPENARENAS OPENARENAS -openarenas diff --git a/xqf/src/pixmaps.c b/xqf/src/pixmaps.c index 5760c24..36028f1 100644 --- a/xqf/src/pixmaps.c +++ b/xqf/src/pixmaps.c @@ -82,6 +82,7 @@ #include "xpm/doom3.xpm" #include "xpm/etqw.xpm" #include "xpm/openttd.xpm" +#include "xpm/openarena.xpm" #include "xpm/green-plus.xpm" #include "xpm/red-minus.xpm" diff --git a/xqf/src/xpm/openarena.xpm b/xqf/src/xpm/openarena.xpm new file mode 100644 index 0000000..9aabbc9 --- /dev/null +++ b/xqf/src/xpm/openarena.xpm @@ -0,0 +1,28 @@ +/* XPM */ +static char *openarena_xpm[] = { +/* columns rows colors chars-per-pixel */ +"16 16 6 1", +" c #003D8E", +". c #0420AC", +"X c #003DE4", +"o c #0082F6", +"O c #A2FEFE", +"+ c None", +/* pixels */ +"++++++++++++++++", +"++++++++++++++++", +"++++++++++++++++", +"+++ X. X .X ++++", +"+oX++++O++++Xo++", +"o+++++o+o+++++o+", +"+oX+++X+X+++Xo++", +"+++Xoo+++ooX++++", +"+++++o+o+o++++++", +"+++++X+X+X++++++", +"+++++ +++ ++++++", +"++++X+++++X+++++", +"++++++++++++++++", +"++++++++++++++++", +"++++++++++++++++", +"++++++++++++++++" +};