DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T i

⟦094081c31⟧ TextFile

    Length: 15768 (0x3d98)
    Types: TextFile
    Names: »icons.c«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/Sun/Mahjongg/icons.c« 

TextFile

/*
 *	Copyright 1988, Mark Holm
 *			Exceptions
 *
 *	Acknowledgments to Dorothy Robinson for her artistic
 *	 abilities in drawing the icons and to Jim Batch for
 *	 technical support and graphical concepts (which I abandoned in favor
 *       of the easy way out).
 *
 *	Permission is given to copy and distribute for non-profit purposes.
 *
 */

/*   This is the file for building the icon images for the */
/*	tiles both color and b/w.                             */

#include <sys/types.h>
#include <pixrect/pixrect.h>
#include <suntool/sunview.h>

/* color frame closed icon */

static short		icon_cimage[] = {
#include "tiles/mahjongg.icon"
};
mpr_static(cicon_image, 64, 64, 8, icon_cimage);

/* cursor icons */

short		stick_image[] = {
#include "tiles/bandw/mahjongg.cursor"
};
mpr_static(stick, 16, 16, 1, stick_image);

static short		wait_image[] = {
#include <images/hglass.cursor>
};
mpr_static(wait, 16, 16, 1, wait_image);

static short		confirm_image[] = {
#include <images/confirm.pr>
};
mpr_static(confirm, 16, 16, 1, confirm_image);

/* Number tiles (color) */

static short		NUM0_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/0"
#else
#include "tiles/0"
#endif RDRUNNER
};
mpr_static(cNUM0, 64, 64, 8, NUM0_cimage);

static short		NUM1_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/1"
#else
#include "tiles/1"
#endif RDRUNNER
};
mpr_static(cNUM1, 64, 64, 8, NUM1_cimage);

static short		NUM2_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/2"
#else
#include "tiles/2"
#endif RDRUNNER
};
mpr_static(cNUM2, 64, 64, 8, NUM2_cimage);

static short		NUM3_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/3"
#else
#include "tiles/3"
#endif RDRUNNER
};
mpr_static(cNUM3, 64, 64, 8, NUM3_cimage);

static short		NUM4_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/4"
#else
#include "tiles/4"
#endif RDRUNNER
};
mpr_static(cNUM4, 64, 64, 8, NUM4_cimage);

static short		NUM5_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/5"
#else
#include "tiles/5"
#endif RDRUNNER
};
mpr_static(cNUM5, 64, 64, 8, NUM5_cimage);

static short		NUM6_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/6"
#else
#include "tiles/6"
#endif RDRUNNER
};
mpr_static(cNUM6, 64, 64, 8, NUM6_cimage);

static short		NUM7_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/7"
#else
#include "tiles/7"
#endif RDRUNNER
};
mpr_static(cNUM7, 64, 64, 8, NUM7_cimage);

static short		NUM8_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/8"
#else
#include "tiles/8"
#endif RDRUNNER
};
mpr_static(cNUM8, 64, 64, 8, NUM8_cimage);

static short		NUM9_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/9"
#else
#include "tiles/9"
#endif RDRUNNER
};
mpr_static(cNUM9, 64, 64, 8, NUM9_cimage);

/* Number tiles (B/W) */

static short		NUM0_image[] = {
#include "tiles/bandw/0"
};
mpr_static(NUM0, 64, 64, 1, NUM0_image);

static short		NUM1_image[] = {
#include "tiles/bandw/1"
};
mpr_static(NUM1, 64, 64, 1, NUM1_image);

static short		NUM2_image[] = {
#include "tiles/bandw/2"
};
mpr_static(NUM2, 64, 64, 1, NUM2_image);

static short		NUM3_image[] = {
#include "tiles/bandw/3"
};
mpr_static(NUM3, 64, 64, 1, NUM3_image);

static short		NUM4_image[] = {
#include "tiles/bandw/4"
};
mpr_static(NUM4, 64, 64, 1, NUM4_image);

static short		NUM5_image[] = {
#include "tiles/bandw/5"
};
mpr_static(NUM5, 64, 64, 1, NUM5_image);

static short		NUM6_image[] = {
#include "tiles/bandw/6"
};
mpr_static(NUM6, 64, 64, 1, NUM6_image);

static short		NUM7_image[] = {
#include "tiles/bandw/7"
};
mpr_static(NUM7, 64, 64, 1, NUM7_image);

static short		NUM8_image[] = {
#include "tiles/bandw/8"
};
mpr_static(NUM8, 64, 64, 1, NUM8_image);

static short		NUM9_image[] = {
#include "tiles/bandw/9"
};
mpr_static(NUM9, 64, 64, 1, NUM9_image);

/* Playing Tiles (color) */

static short		BLANK_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/blank"
#else
#include "tiles/blank"
#endif RDRUNNER
};
mpr_static(cBLANK, 64, 64, 8, BLANK_cimage);

static short		BAM1_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/bam1"
#else
#include "tiles/bam1"
#endif RDRUNNER
};
mpr_static(cBAM1, 64, 64, 8, BAM1_cimage);

static short		BAM2_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/bam2"
#else
#include "tiles/bam2"
#endif RDRUNNER
};
mpr_static(cBAM2, 64, 64, 8, BAM2_cimage);

static short		BAM3_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/bam3"
#else
#include "tiles/bam3"
#endif RDRUNNER
};
mpr_static(cBAM3, 64, 64, 8, BAM3_cimage);

static short		BAM4_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/bam4"
#else
#include "tiles/bam4"
#endif RDRUNNER
};
mpr_static(cBAM4, 64, 64, 8, BAM4_cimage);

static short		BAM5_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/bam5"
#else
#include "tiles/bam5"
#endif RDRUNNER
};
mpr_static(cBAM5, 64, 64, 8, BAM5_cimage);

static short		BAM6_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/bam6"
#else
#include "tiles/bam6"
#endif RDRUNNER
};
mpr_static(cBAM6, 64, 64, 8, BAM6_cimage);

static short		BAM7_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/bam7"
#else
#include "tiles/bam7"
#endif RDRUNNER
};
mpr_static(cBAM7, 64, 64, 8, BAM7_cimage);

static short		BAM8_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/bam8"
#else
#include "tiles/bam8"
#endif RDRUNNER
};
mpr_static(cBAM8, 64, 64, 8, BAM8_cimage);

static short		BAM9_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/bam9"
#else
#include "tiles/bam9"
#endif RDRUNNER
};
mpr_static(cBAM9, 64, 64, 8, BAM9_cimage);

static short		DOT1_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/circ1"
#else
#include "tiles/circ1"
#endif RDRUNNER
};
mpr_static(cDOT1, 64, 64, 8, DOT1_cimage);

static short		DOT2_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/circ2"
#else
#include "tiles/circ2"
#endif RDRUNNER
};
mpr_static(cDOT2, 64, 64, 8, DOT2_cimage);

static short		DOT3_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/circ3"
#else
#include "tiles/circ3"
#endif RDRUNNER
};
mpr_static(cDOT3, 64, 64, 8, DOT3_cimage);

static short		DOT4_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/circ4"
#else
#include "tiles/circ4"
#endif RDRUNNER
};
mpr_static(cDOT4, 64, 64, 8, DOT4_cimage);

static short		DOT5_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/circ5"
#else
#include "tiles/circ5"
#endif RDRUNNER
};
mpr_static(cDOT5, 64, 64, 8, DOT5_cimage);

static short		DOT6_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/circ6"
#else
#include "tiles/circ6"
#endif RDRUNNER
};
mpr_static(cDOT6, 64, 64, 8, DOT6_cimage);

static short		DOT7_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/circ7"
#else
#include "tiles/circ7"
#endif RDRUNNER
};
mpr_static(cDOT7, 64, 64, 8, DOT7_cimage);

static short		DOT8_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/circ8"
#else
#include "tiles/circ8"
#endif RDRUNNER
};
mpr_static(cDOT8, 64, 64, 8, DOT8_cimage);

static short		DOT9_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/circ9"
#else
#include "tiles/circ9"
#endif RDRUNNER
};
mpr_static(cDOT9, 64, 64, 8, DOT9_cimage);

static short		CHA1_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/char1"
#else
#include "tiles/char1"
#endif RDRUNNER
};
mpr_static(cCHA1, 64, 64, 8, CHA1_cimage);

static short		CHA2_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/char2"
#else
#include "tiles/char2"
#endif RDRUNNER
};
mpr_static(cCHA2, 64, 64, 8, CHA2_cimage);

static short		CHA3_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/char3"
#else
#include "tiles/char3"
#endif RDRUNNER
};
mpr_static(cCHA3, 64, 64, 8, CHA3_cimage);

static short		CHA4_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/char4"
#else
#include "tiles/char4"
#endif RDRUNNER
};
mpr_static(cCHA4, 64, 64, 8, CHA4_cimage);

static short		CHA5_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/char5"
#else
#include "tiles/char5"
#endif RDRUNNER
};
mpr_static(cCHA5, 64, 64, 8, CHA5_cimage);

static short		CHA6_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/char6"
#else
#include "tiles/char6"
#endif RDRUNNER
};
mpr_static(cCHA6, 64, 64, 8, CHA6_cimage);

static short		CHA7_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/char7"
#else
#include "tiles/char7"
#endif RDRUNNER
};
mpr_static(cCHA7, 64, 64, 8, CHA7_cimage);

static short		CHA8_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/char8"
#else
#include "tiles/char8"
#endif RDRUNNER
};
mpr_static(cCHA8, 64, 64, 8, CHA8_cimage);

static short		CHA9_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/char9"
#else
#include "tiles/char9"
#endif RDRUNNER
};
mpr_static(cCHA9, 64, 64, 8, CHA9_cimage);

static short		EAST_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/c_east"
#else
#include "tiles/c_east"
#endif RDRUNNER
};
mpr_static(cEAST, 64, 64, 8, EAST_cimage);

static short		WEST_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/c_west"
#else
#include "tiles/c_west"
#endif RDRUNNER
};
mpr_static(cWEST, 64, 64, 8, WEST_cimage);

static short		SOUT_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/c_south"
#else
#include "tiles/c_south"
#endif RDRUNNER
};
mpr_static(cSOUT, 64, 64, 8, SOUT_cimage);

static short		NORT_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/c_north"
#else
#include "tiles/c_north"
#endif RDRUNNER
};
mpr_static(cNORT, 64, 64, 8, NORT_cimage);

static short		GRED_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/d_green"
#else
#include "tiles/d_green"
#endif RDRUNNER
};
mpr_static(cGRED, 64, 64, 8, GRED_cimage);

static short		REDD_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/d_red"
#else
#include "tiles/d_red"
#endif RDRUNNER
};
mpr_static(cREDD, 64, 64, 8, REDD_cimage);

static short		WHTD_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/d_white"
#else
#include "tiles/d_white"
#endif RDRUNNER
};
mpr_static(cWHTD, 64, 64, 8, WHTD_cimage);

static short		 AUT_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/s_autumn"
#else
#include "tiles/s_autumn"
#endif RDRUNNER
};
mpr_static( cAUT, 64, 64, 8, AUT_cimage);

static short		 SPR_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/s_spring"
#else
#include "tiles/s_spring"
#endif RDRUNNER
};
mpr_static( cSPR, 64, 64, 8, SPR_cimage);

static short		 SUM_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/s_summer"
#else
#include "tiles/s_summer"
#endif RDRUNNER
};
mpr_static( cSUM, 64, 64, 8, SUM_cimage);

static short		 WIN_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/s_winter"
#else
#include "tiles/s_winter"
#endif RDRUNNER
};
mpr_static( cWIN, 64, 64, 8, WIN_cimage);

static short		 BAM_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/f_bam"
#else
#include "tiles/f_bam"
#endif RDRUNNER
};
mpr_static( cBAM, 64, 64, 8, BAM_cimage);

static short		 MUM_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/f_mum"
#else
#include "tiles/f_mum"
#endif RDRUNNER
};
mpr_static( cMUM, 64, 64, 8, MUM_cimage);

static short		 ORC_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/f_orch"
#else
#include "tiles/f_orch"
#endif RDRUNNER
};
mpr_static( cORC, 64, 64, 8, ORC_cimage);

static short		 PLM_cimage[] = {
#ifdef RDRUNNER
#include "tiles/rdrunner/f_plum"
#else
#include "tiles/f_plum"
#endif RDRUNNER
};
mpr_static( cPLM, 64, 64, 8, PLM_cimage);


/* Playing Tiles (B/W) */

static short		BLANK_image[] = {
#include "tiles/bandw/blank"
};
mpr_static(BLANK, 64, 64, 1, BLANK_image);

static short		BAM1_image[] = {
#include "tiles/bandw/bam1"
};
mpr_static(BAM1, 64, 64, 1, BAM1_image);

static short		BAM2_image[] = {
#include "tiles/bandw/bam2"
};
mpr_static(BAM2, 64, 64, 1, BAM2_image);

static short		BAM3_image[] = {
#include "tiles/bandw/bam3"
};
mpr_static(BAM3, 64, 64, 1, BAM3_image);

static short		BAM4_image[] = {
#include "tiles/bandw/bam4"
};
mpr_static(BAM4, 64, 64, 1, BAM4_image);

static short		BAM5_image[] = {
#include "tiles/bandw/bam5"
};
mpr_static(BAM5, 64, 64, 1, BAM5_image);

static short		BAM6_image[] = {
#include "tiles/bandw/bam6"
};
mpr_static(BAM6, 64, 64, 1, BAM6_image);

static short		BAM7_image[] = {
#include "tiles/bandw/bam7"
};
mpr_static(BAM7, 64, 64, 1, BAM7_image);

static short		BAM8_image[] = {
#include "tiles/bandw/bam8"
};
mpr_static(BAM8, 64, 64, 1, BAM8_image);

static short		BAM9_image[] = {
#include "tiles/bandw/bam9"
};
mpr_static(BAM9, 64, 64, 1, BAM9_image);

static short		DOT1_image[] = {
#include "tiles/bandw/circ1"
};
mpr_static(DOT1, 64, 64, 1, DOT1_image);

static short		DOT2_image[] = {
#include "tiles/bandw/circ2"
};
mpr_static(DOT2, 64, 64, 1, DOT2_image);

static short		DOT3_image[] = {
#include "tiles/bandw/circ3"
};
mpr_static(DOT3, 64, 64, 1, DOT3_image);

static short		DOT4_image[] = {
#include "tiles/bandw/circ4"
};
mpr_static(DOT4, 64, 64, 1, DOT4_image);

static short		DOT5_image[] = {
#include "tiles/bandw/circ5"
};
mpr_static(DOT5, 64, 64, 1, DOT5_image);

static short		DOT6_image[] = {
#include "tiles/bandw/circ6"
};
mpr_static(DOT6, 64, 64, 1, DOT6_image);

static short		DOT7_image[] = {
#include "tiles/bandw/circ7"
};
mpr_static(DOT7, 64, 64, 1, DOT7_image);

static short		DOT8_image[] = {
#include "tiles/bandw/circ8"
};
mpr_static(DOT8, 64, 64, 1, DOT8_image);

static short		DOT9_image[] = {
#include "tiles/bandw/circ9"
};
mpr_static(DOT9, 64, 64, 1, DOT9_image);

static short		CHA1_image[] = {
#include "tiles/bandw/char1"
};
mpr_static(CHA1, 64, 64, 1, CHA1_image);

static short		CHA2_image[] = {
#include "tiles/bandw/char2"
};
mpr_static(CHA2, 64, 64, 1, CHA2_image);

static short		CHA3_image[] = {
#include "tiles/bandw/char3"
};
mpr_static(CHA3, 64, 64, 1, CHA3_image);

static short		CHA4_image[] = {
#include "tiles/bandw/char4"
};
mpr_static(CHA4, 64, 64, 1, CHA4_image);

static short		CHA5_image[] = {
#include "tiles/bandw/char5"
};
mpr_static(CHA5, 64, 64, 1, CHA5_image);

static short		CHA6_image[] = {
#include "tiles/bandw/char6"
};
mpr_static(CHA6, 64, 64, 1, CHA6_image);

static short		CHA7_image[] = {
#include "tiles/bandw/char7"
};
mpr_static(CHA7, 64, 64, 1, CHA7_image);

static short		CHA8_image[] = {
#include "tiles/bandw/char8"
};
mpr_static(CHA8, 64, 64, 1, CHA8_image);

static short		CHA9_image[] = {
#include "tiles/bandw/char9"
};
mpr_static(CHA9, 64, 64, 1, CHA9_image);

static short		EAST_image[] = {
#include "tiles/bandw/c_east"
};
mpr_static(EAST, 64, 64, 1, EAST_image);

static short		WEST_image[] = {
#include "tiles/bandw/c_west"
};
mpr_static(WEST, 64, 64, 1, WEST_image);

static short		SOUT_image[] = {
#include "tiles/bandw/c_south"
};
mpr_static(SOUT, 64, 64, 1, SOUT_image);

static short		NORT_image[] = {
#include "tiles/bandw/c_north"
};
mpr_static(NORT, 64, 64, 1, NORT_image);

static short		GRED_image[] = {
#include "tiles/bandw/d_green"
};
mpr_static(GRED, 64, 64, 1, GRED_image);

static short		REDD_image[] = {
#include "tiles/bandw/d_red"
};
mpr_static(REDD, 64, 64, 1, REDD_image);

static short		WHTD_image[] = {
#include "tiles/bandw/d_white"
};
mpr_static(WHTD, 64, 64, 1, WHTD_image);

static short		 AUT_image[] = {
#include "tiles/bandw/s_autumn"
};
mpr_static( AUT, 64, 64, 1,  AUT_image);

static short		 SPR_image[] = {
#include "tiles/bandw/s_spring"
};
mpr_static( SPR, 64, 64, 1,  SPR_image);

static short		 SUM_image[] = {
#include "tiles/bandw/s_summer"
};
mpr_static( SUM, 64, 64, 1,  SUM_image);

static short		 WIN_image[] = {
#include "tiles/bandw/s_winter"
};
mpr_static( WIN, 64, 64, 1,  WIN_image);

static short		 BAM_image[] = {
#include "tiles/bandw/f_bam"
};
mpr_static( BAM, 64, 64, 1,  BAM_image);

static short		 MUM_image[] = {
#include "tiles/bandw/f_mum"
};
mpr_static( MUM, 64, 64, 1,  MUM_image);

static short		 ORC_image[] = {
#include "tiles/bandw/f_orch"
};
mpr_static( ORC, 64, 64, 1,  ORC_image);

static short		 PLM_image[] = {
#include "tiles/bandw/f_plum"
};
mpr_static( PLM, 64, 64, 1,  PLM_image);