• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kgoldrunner

kgraphics.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                          kgrgraphics.h  -  description
00003                              -------------------
00004     begin                : Wed Jan 23 2002
00005     Copyright 2002 Marco Krüger <grisuji@gmx.de>
00006     Copyright 2002 Ian Wadham <ianw2@optusnet.com.au>
00007 ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef KGRAPHICS_H
00019 #define KGRAPHICS_H
00020 
00021 // List of colour schemes.
00022 static const char * colourScheme [] = {
00023     "KGoldrunner",
00024     "#5a5a9b",     /* Border - periwinkle blue */
00025     "#ffffff",     /* Title-text - pure-white. */
00026     ". c #d8c0b0", /* Background */
00027     "; c #cdb4a4", /* Background mortar */
00028     "o c #ff0000", /* Solid light */
00029     "x c #c05040", /* Solid */
00030     "s c #b00020", /* Solid dark */
00031     "+ c #500000", /* Mortar */
00032     ": c #b47444", /* Ladder light */
00033     "# c #845424", /* Ladder dark */
00034     "a c #ffffff", /* Pole or bar */
00035     "Apple II",
00036     "#8a8acb",     /* Border - Apple II blue */
00037     "#ffffff",     /* Title-text - pure-white. */
00038     ". c #001020", /* Background */
00039     "; c #001020", /* Background mortar */
00040     "o c #8a8acb", /* Solid light */
00041     "x c #8a8acb", /* Solid */
00042     "s c #8a8acb", /* Solid dark */
00043     "+ c #001020", /* Mortar */
00044     ": c #dddddd", /* Ladder light */
00045     "# c #dddddd", /* Ladder dark */
00046     "a c #dddddd", /* Pole or bar */
00047     "Midnight",
00048     "#5a5a9b",     /* Border - periwinkle blue */
00049     "#ffffff",     /* Title-text - pure-white. */
00050     ". c #000038", /* Background */
00051     "; c #00002d", /* Background mortar */
00052     "o c #880000", /* Solid light */
00053     "x c #702820", /* Solid */
00054     "s c #680010", /* Solid dark */
00055     "+ c #200000", /* Mortar */
00056     ": c #563622", /* Ladder light */
00057     "# c #422a12", /* Ladder dark */
00058     "a c #666666", /* Pole or bar */
00059     ""             /* TERMINATOR */
00060 };
00061 
00062 /* XPM - Background brick or square (free space) */
00063 static const char * hgbrick_xpm []={
00064 "16 16 9 1",
00065 ". c #c8b0a0", /* Background */
00066 "; c #b8a090", /* Background mortar */
00067 "o c #ff0000", /* Solid light */
00068 "x c #c05040", /* Solid */
00069 "s c #b00020", /* Solid dark */
00070 "+ c #500000", /* Mortar */
00071 ": c #b47444", /* Ladder light */
00072 "# c #845424", /* Ladder dark */
00073 "a c #ffffff", /* Pole or bar */
00074 "...........;....",
00075 "...........;....",
00076 "...........;....",
00077 "...........;....",
00078 "...........;....",
00079 "...........;....",
00080 "...........;....",
00081 ";;;;;;;;;;;;;;;;",
00082 "....;...........",
00083 "....;...........",
00084 "....;...........",
00085 "....;...........",
00086 "....;...........",
00087 "....;...........",
00088 "....;...........",
00089 ";;;;;;;;;;;;;;;;"};
00090 
00091 /* XPM - Editor's icon for the hero */
00092 static const char * edithero_xpm []={
00093 "16 16 13 1",
00094 ". c #c8b0a0", /* Background */
00095 "; c #b8a090", /* Background mortar */
00096 "o c #ff0000", /* Solid light */
00097 "x c #c05040", /* Solid */
00098 "s c #b00020", /* Solid dark */
00099 "+ c #500000", /* Mortar */
00100 ": c #b47444", /* Ladder light */
00101 "# c #845424", /* Ladder dark */
00102 "a c #ffffff", /* Pole or bar */
00103 "c c #008000",
00104 "a c #00c000",
00105 "b c #00ff00",
00106 "d c #808080",
00107 "...........;....",
00108 "...........;....",
00109 "..........a;....",
00110 "........baacc...",
00111 "........bcccc...",
00112 ".......bccca....",
00113 "....caacccccc...",
00114 ";;;;bccacccaccc.",
00115 "...;bccaacccaccc",
00116 "...;caacccc.....",
00117 "...;..dbccca....",
00118 "...;.ccacccca...",
00119 "...bcccccaccc...",
00120 "...ac....bccc...",
00121 "...;.....bccc...",
00122 ";;;;;;;;;caccc;;"};
00123 
00124 /* XPM - Editor's icon for an enemy */
00125 static const char * editenemy_xpm []={
00126 "16 16 13 1",
00127 ". c #c8b0a0", /* Background */
00128 "; c #b8a090", /* Background mortar */
00129 "o c #ff0000", /* Solid light */
00130 "x c #c05040", /* Solid */
00131 "s c #b00020", /* Solid dark */
00132 "+ c #500000", /* Mortar */
00133 ": c #b47444", /* Ladder light */
00134 "# c #845424", /* Ladder dark */
00135 "a c #ffffff", /* Pole or bar */
00136 "d c #000080",
00137 "c c #0000ff",
00138 "b c #008080",
00139 "a c #00ffff",
00140 "...........;....",
00141 "...........;....",
00142 "...........;....",
00143 "........abbcc...",
00144 "........acccc...",
00145 ".......acccd....",
00146 "....bbbcccccc...",
00147 ";;;;accbcccbccbd",
00148 "....accbbccbbccc",
00149 "....bbbcccc.bdd.",
00150 "....;..acccb....",
00151 "....;bbbccccc...",
00152 "...acccccbccc...",
00153 "...bcddddaccc...",
00154 "....;....accc...",
00155 ";;;;;;;;;bbccc;;"};
00156 
00157 /* XPM - Ladder */
00158 static const char * ladder_xpm []={
00159 "16 16 9 1",
00160 ". c #c8b0a0", /* Background */
00161 "; c #b8a090", /* Background mortar */
00162 "o c #ff0000", /* Solid light */
00163 "x c #c05040", /* Solid */
00164 "s c #b00020", /* Solid dark */
00165 "+ c #500000", /* Mortar */
00166 ": c #b47444", /* Ladder light */
00167 "# c #845424", /* Ladder dark */
00168 "a c #ffffff", /* Pole or bar */
00169 ":##........;.:##",
00170 ":##........;.:##",
00171 ":##........;.:##",
00172 ":#::::::::::::##",
00173 ":############:##",
00174 ":##........;.:##",
00175 ":##........;.:##",
00176 ":##;;;;;;;;;;:##",
00177 ":##.;........:##",
00178 ":##.;........:##",
00179 ":##.;........:##",
00180 ":#::::::::::::##",
00181 ":############:##",
00182 ":##.;........:##",
00183 ":##.;........:##",
00184 ":##;;;;;;;;;;:##"};
00185 
00186 /* XPM - Hidden ladder (for Editor only) */
00187 static const char * hladder_xpm []={
00188 "16 16 9 1",
00189 ". c #c8b0a0", /* Background */
00190 "; c #b8a090", /* Background mortar */
00191 "o c #ff0000", /* Solid light */
00192 "x c #c05040", /* Solid */
00193 "s c #b00020", /* Solid dark */
00194 "+ c #500000", /* Mortar */
00195 ": c #b47444", /* Ladder light */
00196 "# c #845424", /* Ladder dark */
00197 "a c #ffffff", /* Pole or bar */
00198 ":##........;.:##",
00199 ":##........;.:##",
00200 ":##........;.:##",
00201 ":#:::::::..;.:##",
00202 ":########..;.:##",
00203 ":##........;.:##",
00204 ":##........;.:##",
00205 ":##;;;;;;;;;;:##",
00206 ":##.;........:##",
00207 ":##.;........:##",
00208 ":##.;........:##",
00209 ":##.;..:::::::##",
00210 ":##.;..######:##",
00211 ":##.;........:##",
00212 ":##.;........:##",
00213 ":##;;;;;;;;;;:##"};
00214 
00215 /* XPM - Nugget */
00216 static const char * nugget_xpm []={
00217 "16 16 12 1",
00218 ". c #c8b0a0", /* Background */
00219 "; c #b8a090", /* Background mortar */
00220 "o c #ff0000", /* Solid light */
00221 "x c #c05040", /* Solid */
00222 "s c #b00020", /* Solid dark */
00223 "+ c #500000", /* Mortar */
00224 ": c #b47444", /* Ladder light */
00225 "# c #845424", /* Ladder dark */
00226 "a c #ffffff", /* Pole or bar */
00227 "a c #c0b000",
00228 "c c #e08000",
00229 "b c #ffff00",
00230 "...........;....",
00231 "...........;....",
00232 "...........;....",
00233 "...........;....",
00234 "...........;....",
00235 "...........;....",
00236 "......bba..;....",
00237 ";;;;bbbbbcca;;;;",
00238 "...bbbababacc...",
00239 "..abbbababaac...",
00240 "..bbbbbababaa...",
00241 "..bbbbbbabaac...",
00242 "..abbababacca...",
00243 "...ababacacc....",
00244 "....acacacc;....",
00245 ";;;;;;aaa;;;;;;;"};
00246 
00247 /* XPM - Pole or bar */
00248 static const char * pole_xpm []={
00249 "16 16 9 1",
00250 ". c #c8b0a0", /* Background */
00251 "; c #b8a090", /* Background mortar */
00252 "o c #ff0000", /* Solid light */
00253 "x c #c05040", /* Solid */
00254 "s c #b00020", /* Solid dark */
00255 "+ c #500000", /* Mortar */
00256 ": c #b47444", /* Ladder light */
00257 "# c #845424", /* Ladder dark */
00258 "a c #ffffff", /* Pole or bar */
00259 "...........;....",
00260 "...........;....",
00261 "aaaaaaaaaaaaaaaa",
00262 "...........;....",
00263 "...........;....",
00264 "...........;....",
00265 "...........;....",
00266 ";;;;;;;;;;;;;;;;",
00267 "....;...........",
00268 "....;...........",
00269 "....;...........",
00270 "....;...........",
00271 "....;...........",
00272 "....;...........",
00273 "....;...........",
00274 ";;;;;;;;;;;;;;;;"};
00275 
00276 /* XPM - Concrete */
00277 static const char * beton_xpm []={
00278 "16 16 9 1",
00279 ". c #c8b0a0", /* Background */
00280 "; c #b8a090", /* Background mortar */
00281 "o c #ff0000", /* Solid light */
00282 "x c #c05040", /* Solid */
00283 "s c #b00020", /* Solid dark */
00284 "+ c #500000", /* Mortar */
00285 ": c #b47444", /* Ladder light */
00286 "# c #845424", /* Ladder dark */
00287 "a c #ffffff", /* Pole or bar */
00288 "sxssxssxssxsssss",
00289 "sxxsxxsxxsxsxxsx",
00290 "xsxsxsxssxxssxxs",
00291 "xssxsxxsxssxsxss",
00292 "sxxsxssxsxsxxsxs",
00293 "xxsxxxssxsxsxxsx",
00294 "sxsxssxxsxxssxsx",
00295 "xsxsxssxsxsxsxss",
00296 "xssxxsxssxssxsxs",
00297 "xsxsxssxssxxxsxx",
00298 "sxxssxxsxxsxsxss",
00299 "sxsxsssxsxsxsxxs",
00300 "sxssxxssxsxssxss",
00301 "ssxssxsxsxsxsxxs",
00302 "xsxxsxssxsxxsxss",
00303 "++++++++++++++++"};
00304 
00305 /* XPM - Cursor */
00306 static const char * cursor_xpm []={
00307 "16 16 9 1",
00308 ". c #c8b0a0", /* Background */
00309 "; c #b8a090", /* Background mortar */
00310 "o c #ff0000", /* Solid light */
00311 "x c #c05040", /* Solid */
00312 "s c #b00020", /* Solid dark */
00313 "+ c #500000", /* Mortar */
00314 ": c #b47444", /* Ladder light */
00315 "# c #845424", /* Ladder dark */
00316 "a c #ffffff", /* Pole or bar */
00317 "xxxxxxxxxxxxxxxx"
00318 "x..............x",
00319 "x..............x",
00320 "x..............x",
00321 "x..............x",
00322 "x..............x",
00323 "x..............x",
00324 "x..............x",
00325 "x..............x",
00326 "x..............x",
00327 "x..............x",
00328 "x..............x",
00329 "x..............x",
00330 "x..............x",
00331 "x..............x",
00332 "xxxxxxxxxxxxxxxx"};
00333 
00334 /* XPM - Bricks (10 pics - from whole brick to background [hole] and back) */
00335 
00336 static const char * bricks_xpm []={
00337 "160 16 9 1",
00338 ". c #c8b0a0", /* Background */
00339 "; c #b8a090", /* Background mortar */
00340 "o c #ff0000", /* Solid light */
00341 "x c #c05040", /* Solid */
00342 "s c #b00020", /* Solid dark */
00343 "+ c #500000", /* Mortar */
00344 ": c #b47444", /* Ladder light */
00345 "# c #845424", /* Ladder dark */
00346 "a c #ffffff", /* Pole or bar */
00347 "sosossosos++osssssx;x;.x;;++s++sx;+;x;.x;;;;;+++x;x+x+.x;;;;;;.;;;;;;;.;;;;;;+.;...........;....osos+;.x+++;ssossososossos++osssososososso++ossssossossoso++osss",
00348 "sxsxsxsxsx++oxsxsx+..;...x;++;+x+....;...++;;+++.....;+.+x;;;..;.....;...x;;+..;...........;....xs;++;...x;;+++xsx+;;+;+;+++o+xxxsxsx;sxsx++oxsx+xsxsxxxsx++osxs",
00349 "xsxsxsxxsx++osxsxxsxs;+x;.;+osxs+;+;++;x;.;;x;+;+x;.x.;x;.;;++++;x;.x.;x;.;;x;.;...........;....+;+;x+;x;.+;+;sxs+;++++++;++o++xsxxx+++sxx++osxssxsxssxsxx++oxsx",
00350 "xsxssxsxsx++oxxsxxssxsx+x+++osxsxsxs;..+;x;;++;s+++.;....x+;;.;+..;.;.+..x;;;.;;...........;....s++.;....x+;;+;xsxs++.+++++;s++xsssx++xsx++;osxxxsxxxxsxss++oxss",
00351 "xsxxxsxxsx++osxssxsxsxsxsx++osxss+++x+++++;;x++;+.x.x;.+.;+;x+x;;.x.x;.;.;;;x.x;...........;....;.x.++.;.;;;++x.s;+xx++;.;+;o;+sxxxsx+.;.+;;s+sxsxssxsxx+x++osxs",
00352 "xsxsx+sxss++oxsxxxxxsxsxss++osxxsx+++;+;+;+;++sxs;.+..x.;x;;.+++.;.;..x.++;;.;.x...........;....+;...+x.;x;;.+.xxs+;.+x.+;+;o+;ssxs++.x.+;+;osxxsxx++;s+++++oxsx",
00353 "ssxxsxxxsx++oxssxssxxsxxxs++oxsxxs+;+++++++;oxss;+;.;;;;++;;++;s;x+.;;;+.;;;;.;+...........;....;x....+..;;;+.;;s;++;;+;.+;;s++xsxxs;;;;.+;;oxsxsx+sxsx;.;++oxsx",
00354 "+++++++++++++++++++++++++++++++++++++++;+++;++++;;;;;+;;;;;;++++;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+;;;;;;;;;;++;;++;;;;;;;;;;;++++++++;;;;;;;++++++++++;;;;;+++++",
00355 "sss++ossssossssssss++ossssosssososo++osssssossso+;;+;s;+;x++++so;...;x;++x;x+.x+....;...........x....x+x;x;x;.x;s+++;x;x;x;x;++ssss++++x;x++++++sso++osx;xs+ssso",
00356 "xsx++osxsx+xsxxsxsx++oxsxxsxsxsxxsx++oxsxsxsxxsxsxx+;+++...+;+;s++x+;;......;+......;.............x+;;......+...x+;+;+......++;sxsx++s;..+;+;+;sxsx++ox.+s++xsxs",
00357 "sxs++oxsxsxsxssx+sx++osxs+xsxxx+sxs++osx+xs+ss;sxs;+;++;++.;+++x.;;;;x++;++x+;+;....;...........;+;;;x..x..x;.++s+++;+;;;;;s;+xsxxs+++++;+sx++xsxxs++osxx+sxsxxx",
00358 "xsx++oxssxsxsxssxss++oxsxsxxsssxsxx++oxsssxxsxssxsx++os;+xs+xsxsx.++;+++++++++++....;...........++x+;.....;.+.;+x+;++os..s;+++++xsx++ox++;s+xxsxxsx++oxs++s++xss",
00359 "xsx++oxsxxxsxxxsxxx++oxsxsx+xsxxxss++osxxxssxsxxsxx++oxssxsxsxxs;+;;;;+;+;++;+x+....;...........;+;;;+.x;.+;+..+s;+++ox+;;++;+++sxx++os;++;xssxssxx++osxsxsxssxx",
00360 "xsx++ox+xssxssxsxsx++oxxssxsxxssxxx++osxxxxsxxsxssx++osxsxxsxssxsx;;;+++++x+++++....;...........xs++;.+.++;s+.+;sxs++o++sx+x++;;ssx++oxsxs+sxsxxsxs++oxsxsxxxxsx",
00361 "sxs++osssxxsxxsxxsx++osxsxsxssxssxs++oxssxsxsxsxxxs++osxxsxsxsxssx+;;+;;;+++++++....;...........s;s+;.x..x.;+;sxx+x++o+;++++++sxsxs++ossxs;sxsxsxxs++oxssxssxssx",
00362 "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;;;;;;++;+++;;;;;;;;;;;;;;;;+;++;;;;;;;;;+++++++++++++++++++++++++++++++++++++++++++++++++++"};
00363 #endif // KGRAPHICS_H

kgoldrunner

Skip menu "kgoldrunner"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

API Reference

Skip menu "API Reference"
  • kblackbox
  • kgoldrunner
  • kmahjongg
  • ksquares
  • libkdegames
  •   highscore
  •   kgame
  •   kggzgames
  •   kggzmod
  •   kggznet
  • libkmahjongg
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal