home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / x / volume19 / pixmon / part01 < prev    next >
Encoding:
Text File  |  1993-04-27  |  55.3 KB  |  2,450 lines

  1. Newsgroups: comp.sources.x
  2. From: sprave@gonzo.informatik.uni-dortmund.de (Joachim Sprave)
  3. Subject: v19i050:  pixmon - a pixel graphics backend, Part01/03
  4. Message-ID: <csx-v19i050=pixmon.091324@sparky.IMD.Sterling.COM>
  5. X-Md4-Signature: f233fa2725e3ed669147b08686ed4d81
  6. Date: Thu, 25 Mar 1993 15:14:39 GMT
  7. Approved: chris@sparky.imd.sterling.com
  8.  
  9. Submitted-by: sprave@gonzo.informatik.uni-dortmund.de (Joachim Sprave)
  10. Posting-number: Volume 19, Issue 50
  11. Archive-name: pixmon/part01
  12. Environment: X11, gcc
  13.  
  14. This is PixMon-0.3, a pixel graphics backend.
  15.  
  16. It is intended by the following:
  17.  
  18. Many people just want to display bitmap data, w/o knowing any details
  19. from X. PIXMON simply expects packages on standard input, starting with 
  20. a header containing rightangle coordinates followed by a color value for 
  21. each point in there.
  22.  
  23. It is also useful when porting brain damaged PC-software, which directly
  24. writes into the video memory. 
  25.  
  26. Features:
  27.  
  28.     o Auto-rescale when changing the window size
  29.     o Loadable colormaps, you can display the same data with
  30.       different colors
  31.     o Autodetect of mono servers, using dithering instead of colors
  32.     o Run length encoding supported
  33.  
  34. Drawbacks/problems:
  35.  
  36.     o No interaction
  37.     o Could be faster
  38.     o No private color maps
  39.     o My first X-program, ugly code :-(
  40.  
  41. Soon to come:
  42.  
  43.     PlayMate, the PixMon package animator.
  44.  
  45. Options:
  46.  
  47.     -dx num
  48.     -dy num
  49.         numbers of dots in x/y-direction
  50.  
  51.     -width num
  52.     -height num
  53.     -geometry WxH+X+Y
  54.         window geometry
  55.  
  56.     -scale float-num
  57.         initial number of pixels per dot
  58.  
  59.     -cmap filename[.cmap]
  60.         path name of a color table
  61.  
  62.     -dither
  63.         force dithering even on color servers
  64.  
  65.     -fg
  66.     -bg
  67.         fore/background color (dithering only)
  68.  
  69.  
  70. The package header is defined as 
  71.  
  72.     typedef struct {
  73.             unsigned short  magic;
  74.             unsigned short  type;
  75.             short           x;
  76.             short           y;
  77.             unsigned short  dx;
  78.             unsigned short  dy;
  79.             unsigned short  sizelo;
  80.             unsigned short  sizehi;
  81.     } ImgHdr;
  82.  
  83.     magic:
  84.         used to determine byte sex, must
  85.         be initialized to PIX_MAGIC
  86.  
  87.     type:
  88.         one of
  89.  
  90.         PIX_DATA
  91.             Include the pixel data following 
  92.             the header into the picture 
  93.             (without displaying instantly)
  94.  
  95.         PIX_FLUSH
  96.             Display the internal PixMap.
  97.  
  98.         PIX_DATA | PIX_FLUSH
  99.             Include the pixel data following 
  100.             the header into the picture 
  101.             and display it instantly
  102.  
  103.     x, y:
  104.         Position of this package relative to
  105.         the upper-left corner of the window
  106.     dx, dy:
  107.         Width and height (in dots, not in pixels)
  108.         of this package
  109.  
  110.     sizelo, sizehi:            
  111.         Size of the following pixel data. If
  112.         sizehi*0x10000+sizelo < dx*dy, PixMon
  113.         expects run length encoded data.
  114.  
  115. Run length encoding:
  116.  
  117.         If RLE is detected (see above), the value
  118.         PIX_RLE (0xFF) is treated as an escape value,
  119.         so the number of colors is reduced by one.
  120.         To encode your data, use the function rle_encode
  121.         from rle.c.
  122.  
  123.         Example:
  124.             char mybuffer[MBSIZE];
  125.             ...
  126.             rle_encode(mybuffer, MBSIZE, PIX_RLE);
  127.         
  128.  
  129. Color maps:
  130.         PixMon loads a color map on startup time.
  131.         Color map are ASCII files containing up
  132.         256 lines. Each line defines a color's
  133.         red, green and blue intensity (0..255).
  134.         
  135.  
  136. Compatibility:
  137.         PixMon was developed and tested on SunOS Release 4.1
  138.         and Linux-0.99pl[0-7], both with X11R5. X11R4 servers
  139.         also seem to work. Obsolete X-calls will be replaced, 
  140.         so if it works with X11R3 now, the next release probably
  141.         won't.
  142.  
  143. Bugs and comments to
  144.  
  145. /---------------------------------------------------------------------\
  146. | Joachim Sprave                sprave@ls11.informatik.uni-dormund.de |
  147. |                      //////\\                                       |
  148. | Univ. Dortmund      /        \        P.O. Box 50 05 00             |
  149. | Dept. CS           _|  _   _ |_       4600 Dortmund 50              |
  150. | Systems Analysis  |.|-(.)-(.)+.|      Tel.: +49-231-755 2637        |
  151. \------------------  \|    J   |/  -----------------------------------/
  152.                       \   ---  /
  153.                        \      /
  154.                         "####"
  155.  
  156.  
  157.  
  158. #!/bin/sh
  159. # This is a shell archive (produced by shar 3.49)
  160. # To extract the files from this archive, save it to a file, remove
  161. # everything above the "!/bin/sh" line above, and type "sh file_name".
  162. #
  163. # made 03/22/1993 12:14 UTC by sprave@gonzo
  164. # Source directory /tmp_mnt/home/ls11b/sprave/pixmon
  165. #
  166. # existing files will NOT be overwritten unless -c is specified
  167. #
  168. # This is part 1 of a multipart archive                                    
  169. # do not concatenate these parts, unpack them in order with /bin/sh        
  170. #
  171. # This shar contains:
  172. # length  mode       name
  173. # ------ ---------- ------------------------------------------
  174. #    190 -rw-r----- pixmon-0.3/Imakefile
  175. #  10452 -rw-r----- pixmon-0.3/Makefile
  176. #   3520 -rw-r----- pixmon-0.3/README
  177. #    682 -rw-r----- pixmon-0.3/examples/showpal.c
  178. #    131 -rw-r----- pixmon-0.3/examples/Makefile
  179. #    264 -rw-r----- pixmon-0.3/examples/README
  180. #    266 -rwxrwx--- pixmon-0.3/examples/mbx
  181. #   1528 -rw-rw---- pixmon-0.3/examples/mbs.c
  182. #   3328 -rw-rw---- pixmon-0.3/cmaps/hermes.cmap
  183. #   3328 -rw-rw---- pixmon-0.3/cmaps/mono.cmap
  184. #   3072 -rw-r----- pixmon-0.3/cmaps/rgb.cmap
  185. #   3328 -rw-r----- pixmon-0.3/default.cmap
  186. #   4456 -rw-r----- pixmon-0.3/defcmap.h
  187. #  49514 -rw-r----- pixmon-0.3/dither.h
  188. #  17982 -rw-r----- pixmon-0.3/COPYING
  189. #   9181 -rw------- pixmon-0.3/pixmon.1
  190. #   3989 -rw-r----- pixmon-0.3/rle.kr.c
  191. #    172 -rw-r----- pixmon-0.3/README.rle
  192. #  12750 -rw-r----- pixmon-0.3/pixmon.c
  193. #   1218 -rw-r----- pixmon-0.3/pixmon.h
  194. #   3924 -rw-r----- pixmon-0.3/rle.c
  195. #    807 -rw-r----- pixmon-0.3/rle.h
  196. #
  197. if test -r _shar_seq_.tmp; then
  198.     echo 'Must unpack archives in sequence!'
  199.     echo Please unpack part `cat _shar_seq_.tmp` next
  200.     exit 1
  201. fi
  202. # ============= pixmon-0.3/Imakefile ==============
  203. if test ! -d 'pixmon-0.3'; then
  204.     echo 'x - creating directory pixmon-0.3'
  205.     mkdir 'pixmon-0.3'
  206. fi
  207. if test -f 'pixmon-0.3/Imakefile' -a X"$1" != X"-c"; then
  208.     echo 'x - skipping pixmon-0.3/Imakefile (File already exists)'
  209.     rm -f _shar_wnt_.tmp
  210. else
  211. > _shar_wnt_.tmp
  212. echo 'x - extracting pixmon-0.3/Imakefile (Text)'
  213. sed 's/^X//' << 'SHAR_EOF' > 'pixmon-0.3/Imakefile' &&
  214. LOCAL_LIBRARIES = $(XTOOLLIB) $(XLIB)
  215. DEFINES =
  216. CC = gcc
  217. CDEBUGFLAGS = -O
  218. HDRS = pixmon.h dither.h defcmap.h rle.h
  219. SRCS = pixmon.c rle.c
  220. OBJS = pixmon.o rle.o
  221. ComplexProgramTarget(pixmon)
  222. X
  223. X
  224. SHAR_EOF
  225. chmod 0640 pixmon-0.3/Imakefile ||
  226. echo 'restore of pixmon-0.3/Imakefile failed'
  227. Wc_c="`wc -c < 'pixmon-0.3/Imakefile'`"
  228. test 190 -eq "$Wc_c" ||
  229.     echo 'pixmon-0.3/Imakefile: original size 190, current size' "$Wc_c"
  230. rm -f _shar_wnt_.tmp
  231. fi
  232. # ============= pixmon-0.3/Makefile ==============
  233. if test -f 'pixmon-0.3/Makefile' -a X"$1" != X"-c"; then
  234.     echo 'x - skipping pixmon-0.3/Makefile (File already exists)'
  235.     rm -f _shar_wnt_.tmp
  236. else
  237. > _shar_wnt_.tmp
  238. echo 'x - extracting pixmon-0.3/Makefile (Text)'
  239. sed 's/^X//' << 'SHAR_EOF' > 'pixmon-0.3/Makefile' &&
  240. # Makefile generated by imake - do not edit!
  241. # $XConsortium: imake.c,v 1.65 91/07/25 17:50:17 rws Exp $
  242. #
  243. # The cpp used on this machine replaces all newlines and multiple tabs and
  244. # spaces in a macro expansion with a single space.  Imake tries to compensate
  245. # for this, but is not always successful.
  246. #
  247. X
  248. # -------------------------------------------------------------------------
  249. # Makefile generated from "Imake.tmpl" and <Imakefile>
  250. # $XConsortium: Imake.tmpl,v 1.139 91/09/16 08:52:48 rws Exp $
  251. #
  252. # Platform-specific parameters may be set in the appropriate <vendor>.cf
  253. # configuration files.  Site-specific parameters should be set in the file
  254. # site.def.  Full rebuilds are recommended if any parameters are changed.
  255. #
  256. # If your C preprocessor does not define any unique symbols, you will need
  257. # to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
  258. # "make World" the first time).
  259. #
  260. X
  261. # -------------------------------------------------------------------------
  262. # site-specific configuration parameters that need to come before
  263. # the platform-specific parameters - edit site.def to change
  264. X
  265. # site:  $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
  266. X
  267. # -------------------------------------------------------------------------
  268. # platform-specific configuration parameters - edit sun.cf to change
  269. X
  270. # platform:  $XConsortium: sun.cf,v 1.72.1.1 92/03/18 13:13:37 rws Exp $
  271. X
  272. # operating system:  SunOS 4.1.1
  273. X
  274. # $XConsortium: sunLib.rules,v 1.7 91/12/20 11:19:47 rws Exp $
  275. X
  276. # -------------------------------------------------------------------------
  277. # site-specific configuration parameters that go after
  278. # the platform-specific parameters - edit site.def to change
  279. X
  280. # site:  $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
  281. X
  282. X            SHELL = /bin/sh
  283. X
  284. X              TOP = .
  285. X      CURRENT_DIR = .
  286. X
  287. X               AR = ar clq
  288. X  BOOTSTRAPCFLAGS =
  289. X               CC = cc
  290. X               AS = as
  291. X
  292. X         COMPRESS = compress
  293. X              CPP = /lib/cpp $(STD_CPP_DEFINES)
  294. X    PREPROCESSCMD = cc -E $(STD_CPP_DEFINES)
  295. X          INSTALL = install
  296. X               LD = ld
  297. X             LINT = lint
  298. X      LINTLIBFLAG = -C
  299. X         LINTOPTS = -axz
  300. X               LN = ln
  301. X             MAKE = make
  302. X               MV = mv
  303. X               CP = cp
  304. X
  305. X           RANLIB = ranlib
  306. X  RANLIBINSTFLAGS =
  307. X
  308. X               RM = rm -f
  309. X            TROFF = groff -Tdvi -E
  310. X         MSMACROS = -ms
  311. X              TBL = tbl
  312. X              EQN = eqn
  313. X     STD_INCLUDES =
  314. X  STD_CPP_DEFINES =
  315. X      STD_DEFINES =
  316. X EXTRA_LOAD_FLAGS =
  317. X  EXTRA_LIBRARIES =
  318. X             TAGS = ctags
  319. X
  320. X    SHAREDCODEDEF = -DSHAREDCODE
  321. X         SHLIBDEF = -DSUNSHLIB
  322. X
  323. X    PROTO_DEFINES =
  324. X
  325. X     INSTPGMFLAGS = -s
  326. X
  327. X     INSTBINFLAGS = -m 0755
  328. X     INSTUIDFLAGS = -m 4755
  329. X     INSTLIBFLAGS = -m 0644
  330. X     INSTINCFLAGS = -m 0444
  331. X     INSTMANFLAGS = -m 0444
  332. X     INSTDATFLAGS = -m 0444
  333. X    INSTKMEMFLAGS = -g kmem -m 2755
  334. X
  335. X      PROJECTROOT = /usr/local/X11R5
  336. X
  337. X     TOP_INCLUDES = -I$(INCROOT)
  338. X
  339. X      CDEBUGFLAGS = -O
  340. X        CCOPTIONS = -pipe
  341. X
  342. X      ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
  343. X       ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)
  344. X           CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
  345. X        LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
  346. X
  347. X           LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
  348. X
  349. X        LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS) -L$(USRLIBDIR)
  350. X
  351. X   LDCOMBINEFLAGS = -X -r
  352. X      DEPENDFLAGS =
  353. X
  354. X        MACROFILE = sun.cf
  355. X           RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut
  356. X
  357. X    IMAKE_DEFINES =
  358. X
  359. X         IRULESRC = $(CONFIGDIR)
  360. X        IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
  361. X
  362. X     ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
  363. X            $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
  364. X            $(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)
  365. X
  366. # -------------------------------------------------------------------------
  367. # X Window System Build Parameters
  368. # $XConsortium: Project.tmpl,v 1.138 91/09/10 09:02:12 rws Exp $
  369. X
  370. # -------------------------------------------------------------------------
  371. # X Window System make variables; this need to be coordinated with rules
  372. X
  373. X          PATHSEP = /
  374. X        USRLIBDIR = /usr/local/X11R5/lib
  375. X           BINDIR = /usr/local/X11R5/bin
  376. X          INCROOT = /usr/local/X11R5/include
  377. X     BUILDINCROOT = $(TOP)
  378. X      BUILDINCDIR = $(BUILDINCROOT)/X11
  379. X      BUILDINCTOP = ..
  380. X           INCDIR = $(INCROOT)/X11
  381. X           ADMDIR = /usr/adm
  382. X           LIBDIR = $(USRLIBDIR)/X11
  383. X        CONFIGDIR = $(LIBDIR)/config
  384. X       LINTLIBDIR = $(USRLIBDIR)/lint
  385. X
  386. X          FONTDIR = $(LIBDIR)/fonts
  387. X         XINITDIR = $(LIBDIR)/xinit
  388. X           XDMDIR = $(LIBDIR)/xdm
  389. X           TWMDIR = $(LIBDIR)/twm
  390. X          MANPATH = /usr/local/X11R5/man
  391. X    MANSOURCEPATH = $(MANPATH)/man
  392. X        MANSUFFIX = n
  393. X     LIBMANSUFFIX = 3
  394. X           MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
  395. X        LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX)
  396. X           NLSDIR = $(LIBDIR)/nls
  397. X        PEXAPIDIR = $(LIBDIR)/PEX
  398. X      XAPPLOADDIR = $(LIBDIR)/app-defaults
  399. X       FONTCFLAGS = -t
  400. X
  401. X     INSTAPPFLAGS = $(INSTDATFLAGS)
  402. X
  403. X            IMAKE = imake
  404. X           DEPEND = makedepend
  405. X              RGB = rgb
  406. X
  407. X            FONTC = bdftopcf
  408. X
  409. X        MKFONTDIR = mkfontdir
  410. X        MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier
  411. X
  412. X        CONFIGSRC = $(TOP)/config
  413. X       DOCUTILSRC = $(TOP)/doc/util
  414. X        CLIENTSRC = $(TOP)/clients
  415. X          DEMOSRC = $(TOP)/demos
  416. X           LIBSRC = $(TOP)/lib
  417. X          FONTSRC = $(TOP)/fonts
  418. X       INCLUDESRC = $(TOP)/X11
  419. X        SERVERSRC = $(TOP)/server
  420. X          UTILSRC = $(TOP)/util
  421. X        SCRIPTSRC = $(UTILSRC)/scripts
  422. X       EXAMPLESRC = $(TOP)/examples
  423. X       CONTRIBSRC = $(TOP)/../contrib
  424. X           DOCSRC = $(TOP)/doc
  425. X           RGBSRC = $(TOP)/rgb
  426. X        DEPENDSRC = $(UTILSRC)/makedepend
  427. X         IMAKESRC = $(CONFIGSRC)
  428. X         XAUTHSRC = $(LIBSRC)/Xau
  429. X          XLIBSRC = $(LIBSRC)/X
  430. X           XMUSRC = $(LIBSRC)/Xmu
  431. X       TOOLKITSRC = $(LIBSRC)/Xt
  432. X       AWIDGETSRC = $(LIBSRC)/Xaw
  433. X       OLDXLIBSRC = $(LIBSRC)/oldX
  434. X      XDMCPLIBSRC = $(LIBSRC)/Xdmcp
  435. X      BDFTOSNFSRC = $(FONTSRC)/bdftosnf
  436. X      BDFTOSNFSRC = $(FONTSRC)/clients/bdftosnf
  437. X      BDFTOPCFSRC = $(FONTSRC)/clients/bdftopcf
  438. X     MKFONTDIRSRC = $(FONTSRC)/clients/mkfontdir
  439. X         FSLIBSRC = $(FONTSRC)/lib/fs
  440. X    FONTSERVERSRC = $(FONTSRC)/server
  441. X     EXTENSIONSRC = $(TOP)/extensions
  442. X         XILIBSRC = $(EXTENSIONSRC)/lib/xinput
  443. X      PHIGSLIBSRC = $(EXTENSIONSRC)/lib/PEX
  444. X
  445. # $XConsortium: sunLib.tmpl,v 1.14.1.1 92/03/17 14:58:46 rws Exp $
  446. X
  447. SHLIBLDFLAGS = -assert pure-text
  448. PICFLAGS = -pic
  449. X
  450. X  DEPEXTENSIONLIB =
  451. X     EXTENSIONLIB = -lXext
  452. X
  453. X          DEPXLIB = $(DEPEXTENSIONLIB)
  454. X             XLIB = $(EXTENSIONLIB) -lX11
  455. X
  456. X        DEPXMULIB = $(USRLIBDIR)/libXmu.sa.$(SOXMUREV)
  457. X       XMULIBONLY = -lXmu
  458. X           XMULIB = -lXmu
  459. X
  460. X       DEPOLDXLIB =
  461. X          OLDXLIB = -loldX
  462. X
  463. X      DEPXTOOLLIB = $(USRLIBDIR)/libXt.sa.$(SOXTREV)
  464. X         XTOOLLIB = -lXt
  465. X
  466. X        DEPXAWLIB = $(USRLIBDIR)/libXaw.sa.$(SOXAWREV)
  467. X           XAWLIB = -lXaw
  468. X
  469. X        DEPXILIB =
  470. X           XILIB = -lXi
  471. X
  472. X        SOXLIBREV = 4.10
  473. X          SOXTREV = 4.10
  474. X         SOXAWREV = 5.0
  475. X        SOOLDXREV = 4.10
  476. X         SOXMUREV = 4.10
  477. X        SOXEXTREV = 4.10
  478. X      SOXINPUTREV = 4.10
  479. X
  480. X      DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
  481. X         XAUTHLIB =  -lXau
  482. X      DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
  483. X         XDMCPLIB =  -lXdmcp
  484. X
  485. X        DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a
  486. X           PHIGSLIB =  -lphigs
  487. X
  488. X       DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
  489. X          XBSDLIB =  -lXbsd
  490. X
  491. X LINTEXTENSIONLIB = $(LINTLIBDIR)/llib-lXext.ln
  492. X         LINTXLIB = $(LINTLIBDIR)/llib-lX11.ln
  493. X          LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
  494. X        LINTXTOOL = $(LINTLIBDIR)/llib-lXt.ln
  495. X          LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
  496. X           LINTXI = $(LINTLIBDIR)/llib-lXi.ln
  497. X        LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln
  498. X
  499. X          DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
  500. X
  501. X         DEPLIBS1 = $(DEPLIBS)
  502. X         DEPLIBS2 = $(DEPLIBS)
  503. X         DEPLIBS3 = $(DEPLIBS)
  504. X
  505. # -------------------------------------------------------------------------
  506. # Imake rules for building libraries, programs, scripts, and data files
  507. # rules:  $XConsortium: Imake.rules,v 1.123 91/09/16 20:12:16 rws Exp $
  508. X
  509. # -------------------------------------------------------------------------
  510. # start of Imakefile
  511. X
  512. LOCAL_LIBRARIES = $(XTOOLLIB) $(XLIB)
  513. DEFINES =
  514. CC = gcc
  515. CDEBUGFLAGS = -O
  516. HDRS = pixmon.h dither.h defcmap.h rle.h
  517. SRCS = pixmon.c rle.c
  518. OBJS = pixmon.o rle.o
  519. X
  520. X PROGRAM = pixmon
  521. X
  522. all:: pixmon
  523. X
  524. pixmon: $(OBJS) $(DEPLIBS)
  525. X    $(RM) $@
  526. X    $(CC) -o $@ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
  527. X
  528. saber_pixmon:: $(SRCS)
  529. X    # load $(ALLDEFINES) $(SRCS) $(LOCAL_LIBRARIES) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
  530. X
  531. osaber_pixmon:: $(OBJS)
  532. X    # load $(ALLDEFINES) $(OBJS) $(LOCAL_LIBRARIES) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
  533. X
  534. install:: pixmon
  535. X    @if [ -d $(DESTDIR)$(BINDIR) ]; then set +x; \
  536. X    else (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); fi
  537. X    $(INSTALL) -c $(INSTPGMFLAGS)  pixmon $(DESTDIR)$(BINDIR)
  538. X
  539. install.man:: pixmon.man
  540. X    @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
  541. X    else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
  542. X    $(INSTALL) -c $(INSTMANFLAGS) pixmon.man $(DESTDIR)$(MANDIR)/pixmon.$(MANSUFFIX)
  543. X
  544. depend::
  545. X    $(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS)
  546. X
  547. lint:
  548. X    $(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
  549. lint1:
  550. X    $(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)
  551. X
  552. clean::
  553. X    $(RM) $(PROGRAM)
  554. X
  555. # -------------------------------------------------------------------------
  556. # common rules for all Makefiles - do not edit
  557. X
  558. emptyrule::
  559. X
  560. clean::
  561. X    $(RM_CMD) "#"*
  562. X
  563. Makefile::
  564. X    -@if [ -f Makefile ]; then set -x; \
  565. X    $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
  566. X    else exit 0; fi
  567. X    $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
  568. X
  569. tags::
  570. X    $(TAGS) -w *.[ch]
  571. X    $(TAGS) -xw *.[ch] > TAGS
  572. X
  573. saber:
  574. X    # load $(ALLDEFINES) $(SRCS)
  575. X
  576. osaber:
  577. X    # load $(ALLDEFINES) $(OBJS)
  578. X
  579. # -------------------------------------------------------------------------
  580. # empty rules for directories that do not have SUBDIRS - do not edit
  581. X
  582. install::
  583. X    @echo "install in $(CURRENT_DIR) done"
  584. X
  585. install.man::
  586. X    @echo "install.man in $(CURRENT_DIR) done"
  587. X
  588. Makefiles::
  589. X
  590. includes::
  591. X
  592. # -------------------------------------------------------------------------
  593. # dependencies generated by makedepend
  594. X
  595. SHAR_EOF
  596. chmod 0640 pixmon-0.3/Makefile ||
  597. echo 'restore of pixmon-0.3/Makefile failed'
  598. Wc_c="`wc -c < 'pixmon-0.3/Makefile'`"
  599. test 10452 -eq "$Wc_c" ||
  600.     echo 'pixmon-0.3/Makefile: original size 10452, current size' "$Wc_c"
  601. rm -f _shar_wnt_.tmp
  602. fi
  603. # ============= pixmon-0.3/README ==============
  604. if test -f 'pixmon-0.3/README' -a X"$1" != X"-c"; then
  605.     echo 'x - skipping pixmon-0.3/README (File already exists)'
  606.     rm -f _shar_wnt_.tmp
  607. else
  608. > _shar_wnt_.tmp
  609. echo 'x - extracting pixmon-0.3/README (Text)'
  610. sed 's/^X//' << 'SHAR_EOF' > 'pixmon-0.3/README' &&
  611. This is PixMon-0.3, a pixel graphics backend.
  612. X
  613. It is intended by the following:
  614. X
  615. Many people just want to display bitmap data, w/o knowing any details
  616. from X. PIXMON simply expects packages on standard input, starting with 
  617. a header containing rightangle coordinates followed by a color value for 
  618. each point in there.
  619. X
  620. It is also useful when porting brain damaged PC-software, which directly
  621. writes into the video memory. 
  622. X
  623. Features:
  624. X
  625. X    o Auto-rescale when changing the window size
  626. X    o Loadable colormaps, you can display the same data with
  627. X      different colors
  628. X    o Autodetect of mono servers, using dithering instead of colors
  629. X    o Run length encoding supported
  630. X
  631. Drawbacks/problems:
  632. X
  633. X    o No interaction
  634. X    o Could be faster
  635. X    o No private color maps
  636. X    o My first X-program, ugly code :-(
  637. X
  638. Soon to come:
  639. X
  640. X    PlayMate, the PixMon package animator.
  641. X
  642. Options:
  643. X
  644. X    -dx num
  645. X    -dy num
  646. X        numbers of dots in x/y-direction
  647. X
  648. X    -width num
  649. X    -height num
  650. X    -geometry WxH+X+Y
  651. X        window geometry
  652. X
  653. X    -scale float-num
  654. X        initial number of pixels per dot
  655. X
  656. X    -cmap filename[.cmap]
  657. X        path name of a color table
  658. X
  659. X    -dither
  660. X        force dithering even on color servers
  661. X
  662. X    -fg
  663. X    -bg
  664. X        fore/background color (dithering only)
  665. X
  666. X
  667. The package header is defined as 
  668. X
  669. X    typedef struct {
  670. X            unsigned short  magic;
  671. X            unsigned short  type;
  672. X            short           x;
  673. X            short           y;
  674. X            unsigned short  dx;
  675. X            unsigned short  dy;
  676. X            unsigned short  sizelo;
  677. X            unsigned short  sizehi;
  678. X    } ImgHdr;
  679. X
  680. X    magic:
  681. X        used to determine byte sex, must
  682. X        be initialized to PIX_MAGIC
  683. X
  684. X    type:
  685. X        one of
  686. X
  687. X        PIX_DATA
  688. X            Include the pixel data following 
  689. X            the header into the picture 
  690. X            (without displaying instantly)
  691. X
  692. X        PIX_FLUSH
  693. X            Display the internal PixMap.
  694. X
  695. X        PIX_DATA | PIX_FLUSH
  696. X            Include the pixel data following 
  697. X            the header into the picture 
  698. X            and display it instantly
  699. X
  700. X    x, y:
  701. X        Position of this package relative to
  702. X        the upper-left corner of the window
  703. X    dx, dy:
  704. X        Width and height (in dots, not in pixels)
  705. X        of this package
  706. X
  707. X    sizelo, sizehi:            
  708. X        Size of the following pixel data. If
  709. X        sizehi*0x10000+sizelo < dx*dy, PixMon
  710. X        expects run length encoded data.
  711. X
  712. Run length encoding:
  713. X
  714. X        If RLE is detected (see above), the value
  715. X        PIX_RLE (0xFF) is treated as an escape value,
  716. X        so the number of colors is reduced by one.
  717. X        To encode your data, use the function rle_encode
  718. X        from rle.c.
  719. X
  720. X        Example:
  721. X            char mybuffer[MBSIZE];
  722. X            ...
  723. X            rle_encode(mybuffer, MBSIZE, PIX_RLE);
  724. X        
  725. X
  726. Color maps:
  727. X        PixMon loads a color map on startup time.
  728. X        Color map are ASCII files containing up
  729. X        256 lines. Each line defines a color's
  730. X        red, green and blue intensity (0..255).
  731. X        
  732. X
  733. Compatibility:
  734. X        PixMon was developed and tested on SunOS Release 4.1
  735. X        and Linux-0.99pl[0-7], both with X11R5. X11R4 servers
  736. X        also seem to work. Obsolete X-calls will be replaced, 
  737. X        so if it works with X11R3 now, the next release probably
  738. X        won't.
  739. X
  740. Bugs and comments to
  741. X
  742. /---------------------------------------------------------------------\
  743. | Joachim Sprave                sprave@ls11.informatik.uni-dormund.de |
  744. |                      //////\\                                       |
  745. | Univ. Dortmund      /        \        P.O. Box 50 05 00             |
  746. | Dept. CS           _|  _   _ |_       4600 Dortmund 50              |
  747. | Systems Analysis  |.|-(.)-(.)+.|      Tel.: +49-231-755 2637        |
  748. \------------------  \|    J   |/  -----------------------------------/
  749. X                      \   ---  /
  750. X                       \      /
  751. X                        "####"
  752. X
  753. X
  754. SHAR_EOF
  755. chmod 0640 pixmon-0.3/README ||
  756. echo 'restore of pixmon-0.3/README failed'
  757. Wc_c="`wc -c < 'pixmon-0.3/README'`"
  758. test 3520 -eq "$Wc_c" ||
  759.     echo 'pixmon-0.3/README: original size 3520, current size' "$Wc_c"
  760. rm -f _shar_wnt_.tmp
  761. fi
  762. # ============= pixmon-0.3/examples/showpal.c ==============
  763. if test ! -d 'pixmon-0.3/examples'; then
  764.     echo 'x - creating directory pixmon-0.3/examples'
  765.     mkdir 'pixmon-0.3/examples'
  766. fi
  767. if test -f 'pixmon-0.3/examples/showpal.c' -a X"$1" != X"-c"; then
  768.     echo 'x - skipping pixmon-0.3/examples/showpal.c (File already exists)'
  769.     rm -f _shar_wnt_.tmp
  770. else
  771. > _shar_wnt_.tmp
  772. echo 'x - extracting pixmon-0.3/examples/showpal.c (Text)'
  773. sed 's/^X//' << 'SHAR_EOF' > 'pixmon-0.3/examples/showpal.c' &&
  774. X
  775. X
  776. #include <stdio.h>
  777. X
  778. #include "pixmon.h"
  779. X
  780. X
  781. int main(argc, argv)
  782. int argc;
  783. char *argv[];
  784. {
  785. X    char command[256];
  786. X    ImgHdr hdr;
  787. X    unsigned char color;
  788. X    FILE *pix;
  789. X
  790. X    INIT_IMGHDR(hdr);
  791. X
  792. X    hdr.dy = hdr.dx = 1;
  793. X    hdr.y = 0;
  794. X    hdr.sizehi = 0;
  795. X    hdr.sizelo = 1;
  796. X
  797. X    sprintf(command,"pixmon -dx 256 -dy 1 -width 256 -height 50 %s%s",  
  798. X        argc >= 2 && strcmp(argv[1], "dither") == 0 ? "-" : "-cmap ", 
  799. X        argc < 2 ? "default" : argv[1]);
  800. X    pix = popen(command,"w");
  801. X
  802. X    for (hdr.x = 0; hdr.x < 256; hdr.x++) {
  803. X        color = (unsigned char) hdr.x;
  804. X        fwrite(&hdr, sizeof(hdr),1,pix);
  805. X        fwrite(&color, 1, 1, pix);
  806. X        fflush(pix);
  807. X    }
  808. X    EXIT_IMGHDR(hdr);
  809. X    fwrite(&hdr, sizeof(hdr),1,pix);
  810. X
  811. X    pclose(pix);
  812. X    exit(0);
  813. }
  814. SHAR_EOF
  815. chmod 0640 pixmon-0.3/examples/showpal.c ||
  816. echo 'restore of pixmon-0.3/examples/showpal.c failed'
  817. Wc_c="`wc -c < 'pixmon-0.3/examples/showpal.c'`"
  818. test 682 -eq "$Wc_c" ||
  819.     echo 'pixmon-0.3/examples/showpal.c: original size 682, current size' "$Wc_c"
  820. rm -f _shar_wnt_.tmp
  821. fi
  822. # ============= pixmon-0.3/examples/Makefile ==============
  823. if test -f 'pixmon-0.3/examples/Makefile' -a X"$1" != X"-c"; then
  824.     echo 'x - skipping pixmon-0.3/examples/Makefile (File already exists)'
  825.     rm -f _shar_wnt_.tmp
  826. else
  827. > _shar_wnt_.tmp
  828. echo 'x - extracting pixmon-0.3/examples/Makefile (Text)'
  829. sed 's/^X//' << 'SHAR_EOF' > 'pixmon-0.3/examples/Makefile' &&
  830. CC=gcc
  831. X
  832. all: mbs showpal
  833. X
  834. mbs: mbs.c
  835. X    $(CC) -I.. -O -o mbs mbs.c -lm
  836. X
  837. showpal: showpal.c
  838. X    $(CC) -I.. -O -o showpal showpal.c -lm
  839. X    
  840. SHAR_EOF
  841. chmod 0640 pixmon-0.3/examples/Makefile ||
  842. echo 'restore of pixmon-0.3/examples/Makefile failed'
  843. Wc_c="`wc -c < 'pixmon-0.3/examples/Makefile'`"
  844. test 131 -eq "$Wc_c" ||
  845.     echo 'pixmon-0.3/examples/Makefile: original size 131, current size' "$Wc_c"
  846. rm -f _shar_wnt_.tmp
  847. fi
  848. # ============= pixmon-0.3/examples/README ==============
  849. if test -f 'pixmon-0.3/examples/README' -a X"$1" != X"-c"; then
  850.     echo 'x - skipping pixmon-0.3/examples/README (File already exists)'
  851.     rm -f _shar_wnt_.tmp
  852. else
  853. > _shar_wnt_.tmp
  854. echo 'x - extracting pixmon-0.3/examples/README (Text)'
  855. sed 's/^X//' << 'SHAR_EOF' > 'pixmon-0.3/examples/README' &&
  856. Examples:
  857. X
  858. X    mbs: A simple Mandelbrod-set generator.
  859. X    mbx: Shell script to display Mandelbrod-set with
  860. X         mbs and PixMon.
  861. X
  862. X    showpal: Tool to display PixMon color maps.
  863. X         It calls pixmon via popen(), so pixmon must
  864. X         be found in your path to use showpal.
  865. SHAR_EOF
  866. chmod 0640 pixmon-0.3/examples/README ||
  867. echo 'restore of pixmon-0.3/examples/README failed'
  868. Wc_c="`wc -c < 'pixmon-0.3/examples/README'`"
  869. test 264 -eq "$Wc_c" ||
  870.     echo 'pixmon-0.3/examples/README: original size 264, current size' "$Wc_c"
  871. rm -f _shar_wnt_.tmp
  872. fi
  873. # ============= pixmon-0.3/examples/mbx ==============
  874. if test -f 'pixmon-0.3/examples/mbx' -a X"$1" != X"-c"; then
  875.     echo 'x - skipping pixmon-0.3/examples/mbx (File already exists)'
  876.     rm -f _shar_wnt_.tmp
  877. else
  878. > _shar_wnt_.tmp
  879. echo 'x - extracting pixmon-0.3/examples/mbx (Text)'
  880. sed 's/^X//' << 'SHAR_EOF' > 'pixmon-0.3/examples/mbx' &&
  881. #!/bin/sh
  882. X
  883. XXMIN=-4.0
  884. XXMAX=4.0
  885. YMIN=-3.0
  886. YMAX=3.0
  887. WIDTH=400
  888. HEIGHT=300
  889. ITER=100
  890. SCALE=2
  891. CMAP="-cmap ../cmaps/hermes"
  892. # CMAP=
  893. # DITHER=
  894. # DITHER=-dither
  895. X
  896. mbs $XMIN $XMAX $YMIN $YMAX $WIDTH $HEIGHT $ITER | ../pixmon -scale $SCALE -dx $WIDTH -dy $HEIGHT $CMAP $DITHER
  897. X
  898. X
  899. SHAR_EOF
  900. chmod 0770 pixmon-0.3/examples/mbx ||
  901. echo 'restore of pixmon-0.3/examples/mbx failed'
  902. Wc_c="`wc -c < 'pixmon-0.3/examples/mbx'`"
  903. test 266 -eq "$Wc_c" ||
  904.     echo 'pixmon-0.3/examples/mbx: original size 266, current size' "$Wc_c"
  905. rm -f _shar_wnt_.tmp
  906. fi
  907. # ============= pixmon-0.3/examples/mbs.c ==============
  908. if test -f 'pixmon-0.3/examples/mbs.c' -a X"$1" != X"-c"; then
  909.     echo 'x - skipping pixmon-0.3/examples/mbs.c (File already exists)'
  910.     rm -f _shar_wnt_.tmp
  911. else
  912. > _shar_wnt_.tmp
  913. echo 'x - extracting pixmon-0.3/examples/mbs.c (Text)'
  914. sed 's/^X//' << 'SHAR_EOF' > 'pixmon-0.3/examples/mbs.c' &&
  915. #include <stdio.h>
  916. #include <math.h>
  917. #include <stdlib.h>
  918. X
  919. #include "pixmon.h"
  920. #define SQR(a) ((a)*(a))
  921. X
  922. typedef struct complex {
  923. X    double x;
  924. X    double y;
  925. } complex;
  926. X
  927. X
  928. int gm,gd;
  929. int maxx,maxy;
  930. X
  931. double xfrom;
  932. double xto  ;
  933. double yfrom;
  934. double yto  ;
  935. int    n_iter, n_pixel;
  936. X
  937. ImgHdr hdr;
  938. X
  939. X
  940. int iter(int x,int y,int n)
  941. {
  942. X   complex c,z;
  943. X   double sx = 0.0, sy = 0.0, distance;
  944. X
  945. X   z.x = z.y = 0.0;
  946. X   c.x = xfrom + x * (xto - xfrom) / maxx;
  947. X   c.y = yfrom + y * (yto - yfrom) / maxy;
  948. X   while (--n > 0 && ((distance=(sx = SQR(z.x)) + (sy = SQR(z.y))) < (double)4))
  949. X   {
  950. X      z.y = 2*z.x*z.y+c.y;
  951. X      z.x = sx-sy+c.x;
  952. X   }
  953. /*
  954. X   return(n);
  955. */
  956. X   return((int) (128*sqrt(distance)));
  957. }
  958. X
  959. X
  960. X
  961. X
  962. void main(int argc, char *argv[])
  963. {
  964. X   int x,y;
  965. X   int n;
  966. X   unsigned char color;
  967. X
  968. X   INIT_IMGHDR(hdr);
  969. X   hdr.type = PIX_DATA | PIX_FLUSH;
  970. X   hdr.dx   = hdr.dy = 1;
  971. X   hdr.sizelo = 1;
  972. X
  973. X   xfrom = atof(argv[1]);
  974. X   xto   = atof(argv[2]);
  975. X   yfrom = atof(argv[3]);
  976. X   yto   = atof(argv[4]);
  977. X   n_iter = atoi(argv[7]);
  978. X
  979. X   maxx = atoi(argv[5]);
  980. X   maxy = atoi(argv[6]);
  981. /*
  982. X   yto  = yfrom + maxy * (xto-xfrom)/maxx;
  983. */
  984. X   fprintf(stderr,"x=%8.3lf..%8.3lf y=%8.3lf..%8.3lf dx=%3d dy=%3d n=%d\n",
  985. X    xfrom, xto, yfrom, yto, maxx, maxy, n_iter);
  986. X
  987. X   for (hdr.x = 0; hdr.x < maxx; hdr.x++) {
  988. X     for (hdr.y = 0; hdr.y < maxy; hdr.y++ )
  989. X     {
  990. X         n = iter(hdr.x,hdr.y,n_iter);
  991. X         color = (unsigned char) (n%255+1);
  992. X         fwrite(&hdr, sizeof(hdr),1,stdout);
  993. X         fwrite(&color, 1, 1, stdout);
  994. X         fflush(stdout);
  995. X      }
  996. X   }
  997. }
  998. SHAR_EOF
  999. chmod 0660 pixmon-0.3/examples/mbs.c ||
  1000. echo 'restore of pixmon-0.3/examples/mbs.c failed'
  1001. Wc_c="`wc -c < 'pixmon-0.3/examples/mbs.c'`"
  1002. test 1528 -eq "$Wc_c" ||
  1003.     echo 'pixmon-0.3/examples/mbs.c: original size 1528, current size' "$Wc_c"
  1004. rm -f _shar_wnt_.tmp
  1005. fi
  1006. # ============= pixmon-0.3/cmaps/hermes.cmap ==============
  1007. if test ! -d 'pixmon-0.3/cmaps'; then
  1008.     echo 'x - creating directory pixmon-0.3/cmaps'
  1009.     mkdir 'pixmon-0.3/cmaps'
  1010. fi
  1011. if test -f 'pixmon-0.3/cmaps/hermes.cmap' -a X"$1" != X"-c"; then
  1012.     echo 'x - skipping pixmon-0.3/cmaps/hermes.cmap (File already exists)'
  1013.     rm -f _shar_wnt_.tmp
  1014. else
  1015. > _shar_wnt_.tmp
  1016. echo 'x - extracting pixmon-0.3/cmaps/hermes.cmap (Text)'
  1017. sed 's/^X//' << 'SHAR_EOF' > 'pixmon-0.3/cmaps/hermes.cmap' &&
  1018. X   0   0   0
  1019. X 186 186 186
  1020. X 196 196 200
  1021. X 193 192 201
  1022. X 190 189 202
  1023. X 187 186 203
  1024. X 183 182 204
  1025. X 180 178 205
  1026. X 177 175 206
  1027. X 174 172 207
  1028. X 171 168 208
  1029. X 167 164 209
  1030. X 164 161 210
  1031. X 161 158 211
  1032. X 158 154 212
  1033. X 155 151 213
  1034. X 152 148 213
  1035. X 148 144 214
  1036. X 145 140 215
  1037. X 142 137 216
  1038. X 139 134 217
  1039. X 136 130 218
  1040. X 132 126 219
  1041. X 129 123 220
  1042. X 126 120 221
  1043. X 123 116 222
  1044. X 120 113 223
  1045. X 117 110 224
  1046. X 113 106 225
  1047. X 110 102 226
  1048. X 108 100 227
  1049. X 104  96 227
  1050. X 101  92 228
  1051. X  97  88 229
  1052. X  94  85 230
  1053. X  91  82 231
  1054. X  88  78 232
  1055. X  85  75 233
  1056. X  82  72 234
  1057. X  78  68 235
  1058. X  75  64 236
  1059. X  72  61 237
  1060. X  69  58 238
  1061. X  66  54 239
  1062. X  62  50 240
  1063. X  60  48 241
  1064. X  56  44 241
  1065. X  53  40 242
  1066. X  50  37 243
  1067. X  47  34 244
  1068. X  43  30 245
  1069. X  40  26 246
  1070. X  37  23 247
  1071. X  34  20 248
  1072. X  31  16 249
  1073. X  28  13 250
  1074. X  24   9 251
  1075. X  21   6 252
  1076. X  18   2 253
  1077. X  15   0 255
  1078. X   4   0 255
  1079. X   0   0 255
  1080. X   0   3 255
  1081. X   0   7 255
  1082. X   0  13 255
  1083. X   0  19 255
  1084. X   0  23 255
  1085. X   0  27 255
  1086. X   0  33 255
  1087. X   0  39 255
  1088. X   0  43 255
  1089. X   0  47 255
  1090. X   0  51 255
  1091. X   0  56 255
  1092. X   0  63 255
  1093. X   0  72 255
  1094. X   0  75 255
  1095. X   0  82 255
  1096. X   0  88 255
  1097. X   0  91 255
  1098. X   0  95 255
  1099. X   0 102 255
  1100. X   0 108 255
  1101. X   0 111 255
  1102. X   0 116 255
  1103. X   0 121 255
  1104. X   0 128 255
  1105. X   0 131 255
  1106. X   0 135 255
  1107. X   0 140 255
  1108. X   0 152 255
  1109. X   0 156 255
  1110. X   0 160 255
  1111. X   0 164 255
  1112. X   0 171 255
  1113. X   0 176 255
  1114. X   0 180 255
  1115. X   0 184 255
  1116. X   0 190 255
  1117. X   0 196 255
  1118. X   0 200 255
  1119. X   0 204 255
  1120. X   0 209 255
  1121. X   0 216 255
  1122. X   0 220 255
  1123. X   0 229 255
  1124. X   0 232 255
  1125. X   0 240 255
  1126. X   0 245 255
  1127. X   0 248 255
  1128. X   0 253 255
  1129. X   0 255 249
  1130. X   0 255 243
  1131. X   0 255 240
  1132. X   0 255 236
  1133. X   0 255 230
  1134. X   0 255 223
  1135. X   0 255 219
  1136. X   0 255 215
  1137. X   0 255 211
  1138. X   0 255 199
  1139. X   0 255 195
  1140. X   0 255 191
  1141. X   0 255 187
  1142. X   0 255 180
  1143. X   0 255 175
  1144. X   0 255 171
  1145. X   0 255 167
  1146. X   0 255 161
  1147. X   0 255 154
  1148. X   0 255 150
  1149. X   0 255 146
  1150. X   0 255 142
  1151. X   0 255 134
  1152. X   0 255 130
  1153. X   0 255 122
  1154. X   0 255 114
  1155. X   0 255 110
  1156. X   0 255 106
  1157. X   0 255 103
  1158. X   0 255  98
  1159. X   0 255  92
  1160. X   0 255  86
  1161. X   0 255  82
  1162. X   0 255  78
  1163. X   0 255  72
  1164. X   0 255  65
  1165. X   0 255  62
  1166. X   0 255  58
  1167. X   0 255  54
  1168. X   0 255  42
  1169. X   0 255  38
  1170. X   0 255  34
  1171. X   0 255  26
  1172. X   0 255  22
  1173. X   0 255  17
  1174. X   0 255  13
  1175. X   0 255   9
  1176. X   0 255   4
  1177. X   1 255   0
  1178. X   5 255   0
  1179. X   9 255   0
  1180. X  13 255   0
  1181. X  21 255   0
  1182. X  25 255   0
  1183. X  33 255   0
  1184. X  41 255   0
  1185. X  45 255   0
  1186. X  50 255   0
  1187. X  53 255   0
  1188. X  60 255   0
  1189. X  65 255   0
  1190. X  69 255   0
  1191. X  73 255   0
  1192. X  77 255   0
  1193. X  83 255   0
  1194. X  90 255   0
  1195. X  93 255   0
  1196. X  97 255   0
  1197. X 101 255   0
  1198. X 114 255   0
  1199. X 118 255   0
  1200. X 122 255   0
  1201. X 129 255   0
  1202. X 133 255   0
  1203. X 138 255   0
  1204. X 142 255   0
  1205. X 148 255   0
  1206. X 154 255   0
  1207. X 158 255   0
  1208. X 162 255   0
  1209. X 166 255   0
  1210. X 170 255   0
  1211. X 178 255   0
  1212. X 182 255   0
  1213. X 191 255   0
  1214. X 198 255   0
  1215. X 202 255   0
  1216. X 207 255   0
  1217. X 210 255   0
  1218. X 218 255   0
  1219. X 223 255   0
  1220. X 227 255   0
  1221. X 230 255   0
  1222. X 236 255   0
  1223. X 243 255   0
  1224. X 247 255   0
  1225. X 250 255   0
  1226. X 255 254   0
  1227. X 255 249   0
  1228. X 255 238   0
  1229. X 255 233   0
  1230. X 255 229   0
  1231. X 255 222   0
  1232. X 255 217   0
  1233. X 255 213   0
  1234. X 255 209   0
  1235. X 255 203   0
  1236. X 255 197   0
  1237. X 255 193   0
  1238. X 255 189   0
  1239. X 255 184   0
  1240. X 255 177   0
  1241. X 255 173   0
  1242. X 255 169   0
  1243. X 255 161   0
  1244. X 255 153   0
  1245. X 255 148   0
  1246. X 255 144   0
  1247. X 255 141   0
  1248. X 255 133   0
  1249. X 255 128   0
  1250. X 255 124   0
  1251. X 255 121   0
  1252. X 255 115   0
  1253. X 255 108   0
  1254. X 255 104   0
  1255. X 255 101   0
  1256. X 255  95   0
  1257. X 255  88   0
  1258. X 255  80   0
  1259. X 255  76   0
  1260. X 255  72   0
  1261. X 255  64   0
  1262. X 255  60   0
  1263. X 255  56   0
  1264. X 255  52   0
  1265. X 255  46   0
  1266. X 255  40   0
  1267. X 255  36   0
  1268. X 255  32   0
  1269. X 255  26   0
  1270. X 255  20   0
  1271. X 255  16   0
  1272. X 255  11   0
  1273. X 255   0   0
  1274. SHAR_EOF
  1275. chmod 0660 pixmon-0.3/cmaps/hermes.cmap ||
  1276. echo 'restore of pixmon-0.3/cmaps/hermes.cmap failed'
  1277. Wc_c="`wc -c < 'pixmon-0.3/cmaps/hermes.cmap'`"
  1278. test 3328 -eq "$Wc_c" ||
  1279.     echo 'pixmon-0.3/cmaps/hermes.cmap: original size 3328, current size' "$Wc_c"
  1280. rm -f _shar_wnt_.tmp
  1281. fi
  1282. # ============= pixmon-0.3/cmaps/mono.cmap ==============
  1283. if test -f 'pixmon-0.3/cmaps/mono.cmap' -a X"$1" != X"-c"; then
  1284.     echo 'x - skipping pixmon-0.3/cmaps/mono.cmap (File already exists)'
  1285.     rm -f _shar_wnt_.tmp
  1286. else
  1287. > _shar_wnt_.tmp
  1288. echo 'x - extracting pixmon-0.3/cmaps/mono.cmap (Text)'
  1289. sed 's/^X//' << 'SHAR_EOF' > 'pixmon-0.3/cmaps/mono.cmap' &&
  1290. X   0   0   0
  1291. X   1   1   1
  1292. X   2   2   2
  1293. X   3   3   3
  1294. X   4   4   4
  1295. X   5   5   5
  1296. X   6   6   6
  1297. X   7   7   7
  1298. X   8   8   8
  1299. X   9   9   9
  1300. X  10  10  10
  1301. X  11  11  11
  1302. X  12  12  12
  1303. X  13  13  13
  1304. X  14  14  14
  1305. X  15  15  15
  1306. X  16  16  16
  1307. X  17  17  17
  1308. X  18  18  18
  1309. X  19  19  19
  1310. X  20  20  20
  1311. X  21  21  21
  1312. X  22  22  22
  1313. X  23  23  23
  1314. X  24  24  24
  1315. X  25  25  25
  1316. X  26  26  26
  1317. X  27  27  27
  1318. X  28  28  28
  1319. X  29  29  29
  1320. X  30  30  30
  1321. X  31  31  31
  1322. X  32  32  32
  1323. X  33  33  33
  1324. X  34  34  34
  1325. X  35  35  35
  1326. X  36  36  36
  1327. X  37  37  37
  1328. X  38  38  38
  1329. X  39  39  39
  1330. X  40  40  40
  1331. X  41  41  41
  1332. X  42  42  42
  1333. X  43  43  43
  1334. X  44  44  44
  1335. X  45  45  45
  1336. X  46  46  46
  1337. X  47  47  47
  1338. X  48  48  48
  1339. X  49  49  49
  1340. X  50  50  50
  1341. X  51  51  51
  1342. X  52  52  52
  1343. X  53  53  53
  1344. X  54  54  54
  1345. X  55  55  55
  1346. X  56  56  56
  1347. X  57  57  57
  1348. X  58  58  58
  1349. X  59  59  59
  1350. X  60  60  60
  1351. X  61  61  61
  1352. X  62  62  62
  1353. X  63  63  63
  1354. X  64  64  64
  1355. X  65  65  65
  1356. X  66  66  66
  1357. X  67  67  67
  1358. X  68  68  68
  1359. X  69  69  69
  1360. X  70  70  70
  1361. X  71  71  71
  1362. X  72  72  72
  1363. X  73  73  73
  1364. X  74  74  74
  1365. X  75  75  75
  1366. X  76  76  76
  1367. X  77  77  77
  1368. X  78  78  78
  1369. X  79  79  79
  1370. X  80  80  80
  1371. X  81  81  81
  1372. X  82  82  82
  1373. X  83  83  83
  1374. X  84  84  84
  1375. X  85  85  85
  1376. X  86  86  86
  1377. X  87  87  87
  1378. X  88  88  88
  1379. X  89  89  89
  1380. X  90  90  90
  1381. X  91  91  91
  1382. X  92  92  92
  1383. X  93  93  93
  1384. X  94  94  94
  1385. X  95  95  95
  1386. X  96  96  96
  1387. X  97  97  97
  1388. X  98  98  98
  1389. X  99  99  99
  1390. X 100 100 100
  1391. X 101 101 101
  1392. X 102 102 102
  1393. X 103 103 103
  1394. X 104 104 104
  1395. X 105 105 105
  1396. X 106 106 106
  1397. X 107 107 107
  1398. X 108 108 108
  1399. X 109 109 109
  1400. X 110 110 110
  1401. X 111 111 111
  1402. X 112 112 112
  1403. X 113 113 113
  1404. X 114 114 114
  1405. X 115 115 115
  1406. X 116 116 116
  1407. X 117 117 117
  1408. X 118 118 118
  1409. X 119 119 119
  1410. X 120 120 120
  1411. X 121 121 121
  1412. X 122 122 122
  1413. X 123 123 123
  1414. X 124 124 124
  1415. X 125 125 125
  1416. X 126 126 126
  1417. X 127 127 127
  1418. X 128 128 128
  1419. X 129 129 129
  1420. X 130 130 130
  1421. X 131 131 131
  1422. X 132 132 132
  1423. X 133 133 133
  1424. X 134 134 134
  1425. X 135 135 135
  1426. X 136 136 136
  1427. X 137 137 137
  1428. X 138 138 138
  1429. X 139 139 139
  1430. X 140 140 140
  1431. X 141 141 141
  1432. X 142 142 142
  1433. X 143 143 143
  1434. X 144 144 144
  1435. X 145 145 145
  1436. X 146 146 146
  1437. X 147 147 147
  1438. X 148 148 148
  1439. X 149 149 149
  1440. X 150 150 150
  1441. X 151 151 151
  1442. X 152 152 152
  1443. X 153 153 153
  1444. X 154 154 154
  1445. X 155 155 155
  1446. X 156 156 156
  1447. X 157 157 157
  1448. X 158 158 158
  1449. X 159 159 159
  1450. X 160 160 160
  1451. X 161 161 161
  1452. X 162 162 162
  1453. X 163 163 163
  1454. X 164 164 164
  1455. X 165 165 165
  1456. X 166 166 166
  1457. X 167 167 167
  1458. X 168 168 168
  1459. X 169 169 169
  1460. X 170 170 170
  1461. X 171 171 171
  1462. X 172 172 172
  1463. X 173 173 173
  1464. X 174 174 174
  1465. X 175 175 175
  1466. X 176 176 176
  1467. X 177 177 177
  1468. X 178 178 178
  1469. X 179 179 179
  1470. X 180 180 180
  1471. X 181 181 181
  1472. X 182 182 182
  1473. X 183 183 183
  1474. X 184 184 184
  1475. X 185 185 185
  1476. X 186 186 186
  1477. X 187 187 187
  1478. X 188 188 188
  1479. X 189 189 189
  1480. X 190 190 190
  1481. X 191 191 191
  1482. X 192 192 192
  1483. X 193 193 193
  1484. X 194 194 194
  1485. X 195 195 195
  1486. X 196 196 196
  1487. X 197 197 197
  1488. X 198 198 198
  1489. X 199 199 199
  1490. X 200 200 200
  1491. X 201 201 201
  1492. X 202 202 202
  1493. X 203 203 203
  1494. X 204 204 204
  1495. X 205 205 205
  1496. X 206 206 206
  1497. X 207 207 207
  1498. X 208 208 208
  1499. X 209 209 209
  1500. X 210 210 210
  1501. X 211 211 211
  1502. X 212 212 212
  1503. X 213 213 213
  1504. X 214 214 214
  1505. X 215 215 215
  1506. X 216 216 216
  1507. X 217 217 217
  1508. X 218 218 218
  1509. X 219 219 219
  1510. X 220 220 220
  1511. X 221 221 221
  1512. X 222 222 222
  1513. X 223 223 223
  1514. X 224 224 224
  1515. X 225 225 225
  1516. X 226 226 226
  1517. X 227 227 227
  1518. X 228 228 228
  1519. X 229 229 229
  1520. X 230 230 230
  1521. X 231 231 231
  1522. X 232 232 232
  1523. X 233 233 233
  1524. X 234 234 234
  1525. X 235 235 235
  1526. X 236 236 236
  1527. X 237 237 237
  1528. X 238 238 238
  1529. X 239 239 239
  1530. X 240 240 240
  1531. X 241 241 241
  1532. X 242 242 242
  1533. X 243 243 243
  1534. X 244 244 244
  1535. X 245 245 245
  1536. X 246 246 246
  1537. X 247 247 247
  1538. X 248 248 248
  1539. X 249 249 249
  1540. X 250 250 250
  1541. X 251 251 251
  1542. X 252 252 252
  1543. X 253 253 253
  1544. X 254 254 254
  1545. X 255 255 255
  1546. SHAR_EOF
  1547. chmod 0660 pixmon-0.3/cmaps/mono.cmap ||
  1548. echo 'restore of pixmon-0.3/cmaps/mono.cmap failed'
  1549. Wc_c="`wc -c < 'pixmon-0.3/cmaps/mono.cmap'`"
  1550. test 3328 -eq "$Wc_c" ||
  1551.     echo 'pixmon-0.3/cmaps/mono.cmap: original size 3328, current size' "$Wc_c"
  1552. rm -f _shar_wnt_.tmp
  1553. fi
  1554. # ============= pixmon-0.3/cmaps/rgb.cmap ==============
  1555. if test -f 'pixmon-0.3/cmaps/rgb.cmap' -a X"$1" != X"-c"; then
  1556.     echo 'x - skipping pixmon-0.3/cmaps/rgb.cmap (File already exists)'
  1557.     rm -f _shar_wnt_.tmp
  1558. else
  1559. > _shar_wnt_.tmp
  1560. echo 'x - extracting pixmon-0.3/cmaps/rgb.cmap (Text)'
  1561. sed 's/^X//' << 'SHAR_EOF' > 'pixmon-0.3/cmaps/rgb.cmap' &&
  1562. 255   0   0
  1563. 253   2   0
  1564. 251   4   0
  1565. 249   6   0
  1566. 247   8   0
  1567. 245  10   0
  1568. 243  12   0
  1569. 241  14   0
  1570. 239  16   0
  1571. 237  18   0
  1572. 235  20   0
  1573. 233  22   0
  1574. 231  24   0
  1575. 229  26   0
  1576. 227  28   0
  1577. 225  30   0
  1578. 223  32   0
  1579. 221  34   0
  1580. 219  36   0
  1581. 217  38   0
  1582. 215  40   0
  1583. 213  42   0
  1584. 211  44   0
  1585. 209  46   0
  1586. 207  48   0
  1587. 205  50   0
  1588. 203  52   0
  1589. 201  54   0
  1590. 199  56   0
  1591. 197  58   0
  1592. 195  60   0
  1593. 193  62   0
  1594. 191  64   0
  1595. 189  66   0
  1596. 187  68   0
  1597. 185  70   0
  1598. 183  72   0
  1599. 181  74   0
  1600. 179  76   0
  1601. 177  78   0
  1602. 175  80   0
  1603. 173  82   0
  1604. 171  84   0
  1605. 169  86   0
  1606. 167  88   0
  1607. 165  90   0
  1608. 163  92   0
  1609. 161  94   0
  1610. 159  96   0
  1611. 157  98   0
  1612. 155 100   0
  1613. 153 102   0
  1614. 151 104   0
  1615. 149 106   0
  1616. 147 108   0
  1617. 145 110   0
  1618. 143 112   0
  1619. 141 114   0
  1620. 139 116   0
  1621. 137 118   0
  1622. 135 120   0
  1623. 133 122   0
  1624. 131 124   0
  1625. 129 126   0
  1626. 128 128   0
  1627. 126 129   0
  1628. 124 131   0
  1629. 122 133   0
  1630. 120 135   0
  1631. 118 137   0
  1632. 116 139   0
  1633. 114 141   0
  1634. 112 143   0
  1635. 110 145   0
  1636. 108 147   0
  1637. 106 149   0
  1638. 104 151   0
  1639. 102 153   0
  1640. 100 155   0
  1641. X 98 157   0
  1642. X 96 159   0
  1643. X 94 161   0
  1644. X 92 163   0
  1645. X 90 165   0
  1646. X 88 167   0
  1647. X 86 169   0
  1648. X 84 171   0
  1649. X 82 173   0
  1650. X 80 175   0
  1651. X 78 177   0
  1652. X 76 179   0
  1653. X 74 181   0
  1654. X 72 183   0
  1655. X 70 185   0
  1656. X 68 187   0
  1657. X 66 189   0
  1658. X 64 191   0
  1659. X 62 193   0
  1660. X 60 195   0
  1661. X 58 197   0
  1662. X 56 199   0
  1663. X 54 201   0
  1664. X 52 203   0
  1665. X 50 205   0
  1666. X 48 207   0
  1667. X 46 209   0
  1668. X 44 211   0
  1669. X 42 213   0
  1670. X 40 215   0
  1671. X 38 217   0
  1672. X 36 219   0
  1673. X 34 221   0
  1674. X 32 223   0
  1675. X 30 225   0
  1676. X 28 227   0
  1677. X 26 229   0
  1678. X 24 231   0
  1679. X 22 233   0
  1680. X 20 235   0
  1681. X 18 237   0
  1682. X 16 239   0
  1683. X 14 241   0
  1684. X 12 243   0
  1685. X 10 245   0
  1686. X  8 247   0
  1687. X  6 249   0
  1688. X  4 251   0
  1689. X  2 253   0
  1690. X  0 255   0
  1691. X  0 254   1
  1692. X  0 252   3
  1693. X  0 250   5
  1694. X  0 248   7
  1695. X  0 246   9
  1696. X  0 244  11
  1697. X  0 242  13
  1698. X  0 240  15
  1699. X  0 238  17
  1700. X  0 236  19
  1701. X  0 234  21
  1702. X  0 232  23
  1703. X  0 230  25
  1704. X  0 228  27
  1705. X  0 226  29
  1706. X  0 224  31
  1707. X  0 222  33
  1708. X  0 220  35
  1709. X  0 218  37
  1710. X  0 216  39
  1711. X  0 214  41
  1712. X  0 212  43
  1713. X  0 210  45
  1714. X  0 208  47
  1715. X  0 206  49
  1716. X  0 204  51
  1717. X  0 202  53
  1718. X  0 200  55
  1719. X  0 198  57
  1720. X  0 196  59
  1721. X  0 194  61
  1722. X  0 192  63
  1723. X  0 189  66
  1724. X  0 187  68
  1725. X  0 185  70
  1726. X  0 183  72
  1727. X  0 181  74
  1728. X  0 179  76
  1729. X  0 177  78
  1730. X  0 175  80
  1731. X  0 173  82
  1732. X  0 171  84
  1733. X  0 169  86
  1734. X  0 167  88
  1735. X  0 165  90
  1736. X  0 163  92
  1737. X  0 161  94
  1738. X  0 159  96
  1739. X  0 157  98
  1740. X  0 155 100
  1741. X  0 153 102
  1742. X  0 151 104
  1743. X  0 149 106
  1744. X  0 147 108
  1745. X  0 145 110
  1746. X  0 143 112
  1747. X  0 141 114
  1748. X  0 139 116
  1749. X  0 137 118
  1750. X  0 135 120
  1751. X  0 133 122
  1752. X  0 131 124
  1753. X  0 129 126
  1754. X  0 127 128
  1755. X  0 125 130
  1756. X  0 123 132
  1757. X  0 121 134
  1758. X  0 119 136
  1759. X  0 117 138
  1760. X  0 115 140
  1761. X  0 113 142
  1762. X  0 111 144
  1763. X  0 109 146
  1764. X  0 107 148
  1765. X  0 105 150
  1766. X  0 103 152
  1767. X  0 101 154
  1768. X  0  99 156
  1769. X  0  97 158
  1770. X  0  95 160
  1771. X  0  93 162
  1772. X  0  91 164
  1773. X  0  89 166
  1774. X  0  87 168
  1775. X  0  85 170
  1776. X  0  83 172
  1777. X  0  81 174
  1778. X  0  79 176
  1779. X  0  77 178
  1780. X  0  75 180
  1781. X  0  73 182
  1782. X  0  71 184
  1783. X  0  69 186
  1784. X  0  67 188
  1785. X  0  65 190
  1786. X  0  62 193
  1787. X  0  60 195
  1788. X  0  58 197
  1789. X  0  56 199
  1790. X  0  54 201
  1791. X  0  52 203
  1792. X  0  50 205
  1793. X  0  48 207
  1794. X  0  46 209
  1795. X  0  44 211
  1796. X  0  42 213
  1797. X  0  40 215
  1798. X  0  38 217
  1799. X  0  36 219
  1800. X  0  34 221
  1801. X  0  32 223
  1802. X  0  30 225
  1803. X  0  28 227
  1804. X  0  26 229
  1805. X  0  24 231
  1806. X  0  22 233
  1807. X  0  20 235
  1808. X  0  18 237
  1809. X  0  16 239
  1810. X  0  14 241
  1811. X  0  12 243
  1812. X  0  10 245
  1813. X  0   8 247
  1814. X  0   6 249
  1815. X  0   4 251
  1816. X  0   2 253
  1817. X  0   0 255
  1818. SHAR_EOF
  1819. chmod 0640 pixmon-0.3/cmaps/rgb.cmap ||
  1820. echo 'restore of pixmon-0.3/cmaps/rgb.cmap failed'
  1821. Wc_c="`wc -c < 'pixmon-0.3/cmaps/rgb.cmap'`"
  1822. test 3072 -eq "$Wc_c" ||
  1823.     echo 'pixmon-0.3/cmaps/rgb.cmap: original size 3072, current size' "$Wc_c"
  1824. rm -f _shar_wnt_.tmp
  1825. fi
  1826. # ============= pixmon-0.3/default.cmap ==============
  1827. if test -f 'pixmon-0.3/default.cmap' -a X"$1" != X"-c"; then
  1828.     echo 'x - skipping pixmon-0.3/default.cmap (File already exists)'
  1829.     rm -f _shar_wnt_.tmp
  1830. else
  1831. > _shar_wnt_.tmp
  1832. echo 'x - extracting pixmon-0.3/default.cmap (Text)'
  1833. sed 's/^X//' << 'SHAR_EOF' > 'pixmon-0.3/default.cmap' &&
  1834. X   0   0   0
  1835. X   1   1   1
  1836. X   2   2   2
  1837. X   3   3   3
  1838. X   4   4   4
  1839. X   5   5   5
  1840. X   6   6   6
  1841. X   7   7   7
  1842. X   8   8   8
  1843. X   9   9   9
  1844. X  10  10  10
  1845. X  11  11  11
  1846. X  12  12  12
  1847. X  13  13  13
  1848. X  14  14  14
  1849. X  15  15  15
  1850. X  16  16  16
  1851. X  17  17  17
  1852. X  18  18  18
  1853. X  19  19  19
  1854. X  20  20  20
  1855. X  21  21  21
  1856. X  22  22  22
  1857. X  23  23  23
  1858. X  24  24  24
  1859. X  25  25  25
  1860. X  26  26  26
  1861. X  27  27  27
  1862. X  28  28  28
  1863. X  29  29  29
  1864. X  30  30  30
  1865. X  31  31  31
  1866. X  32  32  32
  1867. X  33  33  33
  1868. X  34  34  34
  1869. X  35  35  35
  1870. X  36  36  36
  1871. X  37  37  37
  1872. X  38  38  38
  1873. X  39  39  39
  1874. X  40  40  40
  1875. X  41  41  41
  1876. X  42  42  42
  1877. X  43  43  43
  1878. X  44  44  44
  1879. X  45  45  45
  1880. X  46  46  46
  1881. X  47  47  47
  1882. X  48  48  48
  1883. X  49  49  49
  1884. X  50  50  50
  1885. X  51  51  51
  1886. X  52  52  52
  1887. X  53  53  53
  1888. X  54  54  54
  1889. X  55  55  55
  1890. X  56  56  56
  1891. X  57  57  57
  1892. X  58  58  58
  1893. X  59  59  59
  1894. X  60  60  60
  1895. X  61  61  61
  1896. X  62  62  62
  1897. X  63  63  63
  1898. X  64  64  64
  1899. X  65  65  65
  1900. X  66  66  66
  1901. X  67  67  67
  1902. X  68  68  68
  1903. X  69  69  69
  1904. X  70  70  70
  1905. X  71  71  71
  1906. X  72  72  72
  1907. X  73  73  73
  1908. X  74  74  74
  1909. X  75  75  75
  1910. X  76  76  76
  1911. X  77  77  77
  1912. X  78  78  78
  1913. X  79  79  79
  1914. X  80  80  80
  1915. X  81  81  81
  1916. X  82  82  82
  1917. X  83  83  83
  1918. X  84  84  84
  1919. X  85  85  85
  1920. X  86  86  86
  1921. X  87  87  87
  1922. X  88  88  88
  1923. X  89  89  89
  1924. X  90  90  90
  1925. X  91  91  91
  1926. X  92  92  92
  1927. X  93  93  93
  1928. X  94  94  94
  1929. X  95  95  95
  1930. X  96  96  96
  1931. X  97  97  97
  1932. X  98  98  98
  1933. X  99  99  99
  1934. X 100 100 100
  1935. X 101 101 101
  1936. X 102 102 102
  1937. X 103 103 103
  1938. X 104 104 104
  1939. X 105 105 105
  1940. X 106 106 106
  1941. X 107 107 107
  1942. X 108 108 108
  1943. X 109 109 109
  1944. X 110 110 110
  1945. X 111 111 111
  1946. X 112 112 112
  1947. X 113 113 113
  1948. X 114 114 114
  1949. X 115 115 115
  1950. X 116 116 116
  1951. X 117 117 117
  1952. X 118 118 118
  1953. X 119 119 119
  1954. X 120 120 120
  1955. X 121 121 121
  1956. X 122 122 122
  1957. X 123 123 123
  1958. X 124 124 124
  1959. X 125 125 125
  1960. X 126 126 126
  1961. X 127 127 127
  1962. X 128 128 128
  1963. X 129 129 129
  1964. X 130 130 130
  1965. X 131 131 131
  1966. X 132 132 132
  1967. X 133 133 133
  1968. X 134 134 134
  1969. X 135 135 135
  1970. X 136 136 136
  1971. X 137 137 137
  1972. X 138 138 138
  1973. X 139 139 139
  1974. X 140 140 140
  1975. X 141 141 141
  1976. X 142 142 142
  1977. X 143 143 143
  1978. X 144 144 144
  1979. X 145 145 145
  1980. X 146 146 146
  1981. X 147 147 147
  1982. X 148 148 148
  1983. X 149 149 149
  1984. X 150 150 150
  1985. X 151 151 151
  1986. X 152 152 152
  1987. X 153 153 153
  1988. X 154 154 154
  1989. X 155 155 155
  1990. X 156 156 156
  1991. X 157 157 157
  1992. X 158 158 158
  1993. X 159 159 159
  1994. X 160 160 160
  1995. X 161 161 161
  1996. X 162 162 162
  1997. X 163 163 163
  1998. X 164 164 164
  1999. X 165 165 165
  2000. X 166 166 166
  2001. X 167 167 167
  2002. X 168 168 168
  2003. X 169 169 169
  2004. X 170 170 170
  2005. X 171 171 171
  2006. X 172 172 172
  2007. X 173 173 173
  2008. X 174 174 174
  2009. X 175 175 175
  2010. X 176 176 176
  2011. X 177 177 177
  2012. X 178 178 178
  2013. X 179 179 179
  2014. X 180 180 180
  2015. X 181 181 181
  2016. X 182 182 182
  2017. X 183 183 183
  2018. X 184 184 184
  2019. X 185 185 185
  2020. X 186 186 186
  2021. X 187 187 187
  2022. X 188 188 188
  2023. X 189 189 189
  2024. X 190 190 190
  2025. X 191 191 191
  2026. X 192 192 192
  2027. X 193 193 193
  2028. X 194 194 194
  2029. X 195 195 195
  2030. X 196 196 196
  2031. X 197 197 197
  2032. X 198 198 198
  2033. X 199 199 199
  2034. X 200 200 200
  2035. X 201 201 201
  2036. X 202 202 202
  2037. X 203 203 203
  2038. X 204 204 204
  2039. X 205 205 205
  2040. X 206 206 206
  2041. X 207 207 207
  2042. X 208 208 208
  2043. X 209 209 209
  2044. X 210 210 210
  2045. X 211 211 211
  2046. X 212 212 212
  2047. X 213 213 213
  2048. X 214 214 214
  2049. X 215 215 215
  2050. X 216 216 216
  2051. X 217 217 217
  2052. X 218 218 218
  2053. X 219 219 219
  2054. X 220 220 220
  2055. X 221 221 221
  2056. X 222 222 222
  2057. X 223 223 223
  2058. X 224 224 224
  2059. X 225 225 225
  2060. X 226 226 226
  2061. X 227 227 227
  2062. X 228 228 228
  2063. X 229 229 229
  2064. X 230 230 230
  2065. X 231 231 231
  2066. X 232 232 232
  2067. X 233 233 233
  2068. X 234 234 234
  2069. X 235 235 235
  2070. X 236 236 236
  2071. X 237 237 237
  2072. X 238 238 238
  2073. X 239 239 239
  2074. X 240 240 240
  2075. X 241 241 241
  2076. X 242 242 242
  2077. X 243 243 243
  2078. X 244 244 244
  2079. X 245 245 245
  2080. X 246 246 246
  2081. X 247 247 247
  2082. X 248 248 248
  2083. X 249 249 249
  2084. X 250 250 250
  2085. X 251 251 251
  2086. X 252 252 252
  2087. X 253 253 253
  2088. X 254 254 254
  2089. X 255 255 255
  2090. SHAR_EOF
  2091. chmod 0640 pixmon-0.3/default.cmap ||
  2092. echo 'restore of pixmon-0.3/default.cmap failed'
  2093. Wc_c="`wc -c < 'pixmon-0.3/default.cmap'`"
  2094. test 3328 -eq "$Wc_c" ||
  2095.     echo 'pixmon-0.3/default.cmap: original size 3328, current size' "$Wc_c"
  2096. rm -f _shar_wnt_.tmp
  2097. fi
  2098. # ============= pixmon-0.3/defcmap.h ==============
  2099. if test -f 'pixmon-0.3/defcmap.h' -a X"$1" != X"-c"; then
  2100.     echo 'x - skipping pixmon-0.3/defcmap.h (File already exists)'
  2101.     rm -f _shar_wnt_.tmp
  2102. else
  2103. > _shar_wnt_.tmp
  2104. echo 'x - extracting pixmon-0.3/defcmap.h (Text)'
  2105. sed 's/^X//' << 'SHAR_EOF' > 'pixmon-0.3/defcmap.h' &&
  2106. static struct {
  2107. X    unsigned char red;
  2108. X    unsigned char green;
  2109. X    unsigned char blue;
  2110. } rgb_default[] = {
  2111. X
  2112. {255,   0,   0},
  2113. {253,   2,   0},
  2114. {251,   4,   0},
  2115. {249,   6,   0},
  2116. {247,   8,   0},
  2117. {245,  10,   0},
  2118. {243,  12,   0},
  2119. {241,  14,   0},
  2120. {239,  16,   0},
  2121. {237,  18,   0},
  2122. {235,  20,   0},
  2123. {233,  22,   0},
  2124. {231,  24,   0},
  2125. {229,  26,   0},
  2126. {227,  28,   0},
  2127. {225,  30,   0},
  2128. {223,  32,   0},
  2129. {221,  34,   0},
  2130. {219,  36,   0},
  2131. {217,  38,   0},
  2132. {215,  40,   0},
  2133. {213,  42,   0},
  2134. {211,  44,   0},
  2135. {209,  46,   0},
  2136. {207,  48,   0},
  2137. {205,  50,   0},
  2138. {203,  52,   0},
  2139. {201,  54,   0},
  2140. {199,  56,   0},
  2141. {197,  58,   0},
  2142. {195,  60,   0},
  2143. {193,  62,   0},
  2144. {191,  64,   0},
  2145. {189,  66,   0},
  2146. {187,  68,   0},
  2147. {185,  70,   0},
  2148. {183,  72,   0},
  2149. {181,  74,   0},
  2150. {179,  76,   0},
  2151. {177,  78,   0},
  2152. {175,  80,   0},
  2153. {173,  82,   0},
  2154. {171,  84,   0},
  2155. {169,  86,   0},
  2156. {167,  88,   0},
  2157. {165,  90,   0},
  2158. {163,  92,   0},
  2159. {161,  94,   0},
  2160. {159,  96,   0},
  2161. {157,  98,   0},
  2162. {155, 100,   0},
  2163. {153, 102,   0},
  2164. {151, 104,   0},
  2165. {149, 106,   0},
  2166. {147, 108,   0},
  2167. {145, 110,   0},
  2168. {143, 112,   0},
  2169. {141, 114,   0},
  2170. {139, 116,   0},
  2171. {137, 118,   0},
  2172. {135, 120,   0},
  2173. {133, 122,   0},
  2174. {131, 124,   0},
  2175. {129, 126,   0},
  2176. {128, 128,   0},
  2177. {126, 129,   0},
  2178. {124, 131,   0},
  2179. {122, 133,   0},
  2180. {120, 135,   0},
  2181. {118, 137,   0},
  2182. {116, 139,   0},
  2183. {114, 141,   0},
  2184. {112, 143,   0},
  2185. {110, 145,   0},
  2186. {108, 147,   0},
  2187. {106, 149,   0},
  2188. {104, 151,   0},
  2189. {102, 153,   0},
  2190. {100, 155,   0},
  2191. { 98, 157,   0},
  2192. { 96, 159,   0},
  2193. { 94, 161,   0},
  2194. { 92, 163,   0},
  2195. { 90, 165,   0},
  2196. { 88, 167,   0},
  2197. { 86, 169,   0},
  2198. { 84, 171,   0},
  2199. { 82, 173,   0},
  2200. { 80, 175,   0},
  2201. { 78, 177,   0},
  2202. { 76, 179,   0},
  2203. { 74, 181,   0},
  2204. { 72, 183,   0},
  2205. { 70, 185,   0},
  2206. { 68, 187,   0},
  2207. { 66, 189,   0},
  2208. { 64, 191,   0},
  2209. { 62, 193,   0},
  2210. { 60, 195,   0},
  2211. { 58, 197,   0},
  2212. { 56, 199,   0},
  2213. { 54, 201,   0},
  2214. { 52, 203,   0},
  2215. { 50, 205,   0},
  2216. { 48, 207,   0},
  2217. { 46, 209,   0},
  2218. { 44, 211,   0},
  2219. { 42, 213,   0},
  2220. { 40, 215,   0},
  2221. { 38, 217,   0},
  2222. { 36, 219,   0},
  2223. { 34, 221,   0},
  2224. { 32, 223,   0},
  2225. { 30, 225,   0},
  2226. { 28, 227,   0},
  2227. { 26, 229,   0},
  2228. { 24, 231,   0},
  2229. { 22, 233,   0},
  2230. { 20, 235,   0},
  2231. { 18, 237,   0},
  2232. { 16, 239,   0},
  2233. { 14, 241,   0},
  2234. { 12, 243,   0},
  2235. { 10, 245,   0},
  2236. {  8, 247,   0},
  2237. {  6, 249,   0},
  2238. {  4, 251,   0},
  2239. {  2, 253,   0},
  2240. {  0, 255,   0},
  2241. {  0, 254,   1},
  2242. {  0, 252,   3},
  2243. {  0, 250,   5},
  2244. {  0, 248,   7},
  2245. {  0, 246,   9},
  2246. {  0, 244,  11},
  2247. {  0, 242,  13},
  2248. {  0, 240,  15},
  2249. {  0, 238,  17},
  2250. {  0, 236,  19},
  2251. {  0, 234,  21},
  2252. {  0, 232,  23},
  2253. {  0, 230,  25},
  2254. {  0, 228,  27},
  2255. {  0, 226,  29},
  2256. {  0, 224,  31},
  2257. {  0, 222,  33},
  2258. {  0, 220,  35},
  2259. {  0, 218,  37},
  2260. {  0, 216,  39},
  2261. {  0, 214,  41},
  2262. {  0, 212,  43},
  2263. {  0, 210,  45},
  2264. {  0, 208,  47},
  2265. {  0, 206,  49},
  2266. {  0, 204,  51},
  2267. {  0, 202,  53},
  2268. {  0, 200,  55},
  2269. {  0, 198,  57},
  2270. {  0, 196,  59},
  2271. {  0, 194,  61},
  2272. {  0, 192,  63},
  2273. {  0, 189,  66},
  2274. {  0, 187,  68},
  2275. {  0, 185,  70},
  2276. {  0, 183,  72},
  2277. {  0, 181,  74},
  2278. {  0, 179,  76},
  2279. {  0, 177,  78},
  2280. {  0, 175,  80},
  2281. {  0, 173,  82},
  2282. {  0, 171,  84},
  2283. {  0, 169,  86},
  2284. {  0, 167,  88},
  2285. {  0, 165,  90},
  2286. {  0, 163,  92},
  2287. {  0, 161,  94},
  2288. {  0, 159,  96},
  2289. {  0, 157,  98},
  2290. {  0, 155, 100},
  2291. {  0, 153, 102},
  2292. {  0, 151, 104},
  2293. {  0, 149, 106},
  2294. {  0, 147, 108},
  2295. {  0, 145, 110},
  2296. {  0, 143, 112},
  2297. {  0, 141, 114},
  2298. {  0, 139, 116},
  2299. {  0, 137, 118},
  2300. {  0, 135, 120},
  2301. {  0, 133, 122},
  2302. {  0, 131, 124},
  2303. {  0, 129, 126},
  2304. {  0, 127, 128},
  2305. {  0, 125, 130},
  2306. {  0, 123, 132},
  2307. {  0, 121, 134},
  2308. {  0, 119, 136},
  2309. {  0, 117, 138},
  2310. {  0, 115, 140},
  2311. {  0, 113, 142},
  2312. {  0, 111, 144},
  2313. {  0, 109, 146},
  2314. {  0, 107, 148},
  2315. {  0, 105, 150},
  2316. {  0, 103, 152},
  2317. {  0, 101, 154},
  2318. {  0,  99, 156},
  2319. {  0,  97, 158},
  2320. {  0,  95, 160},
  2321. {  0,  93, 162},
  2322. {  0,  91, 164},
  2323. {  0,  89, 166},
  2324. {  0,  87, 168},
  2325. {  0,  85, 170},
  2326. {  0,  83, 172},
  2327. {  0,  81, 174},
  2328. {  0,  79, 176},
  2329. {  0,  77, 178},
  2330. {  0,  75, 180},
  2331. {  0,  73, 182},
  2332. {  0,  71, 184},
  2333. {  0,  69, 186},
  2334. {  0,  67, 188},
  2335. {  0,  65, 190},
  2336. {  0,  62, 193},
  2337. {  0,  60, 195},
  2338. {  0,  58, 197},
  2339. {  0,  56, 199},
  2340. {  0,  54, 201},
  2341. {  0,  52, 203},
  2342. {  0,  50, 205},
  2343. {  0,  48, 207},
  2344. {  0,  46, 209},
  2345. {  0,  44, 211},
  2346. {  0,  42, 213},
  2347. {  0,  40, 215},
  2348. {  0,  38, 217},
  2349. {  0,  36, 219},
  2350. {  0,  34, 221},
  2351. {  0,  32, 223},
  2352. {  0,  30, 225},
  2353. {  0,  28, 227},
  2354. {  0,  26, 229},
  2355. {  0,  24, 231},
  2356. {  0,  22, 233},
  2357. {  0,  20, 235},
  2358. {  0,  18, 237},
  2359. {  0,  16, 239},
  2360. {  0,  14, 241},
  2361. {  0,  12, 243},
  2362. {  0,  10, 245},
  2363. {  0,   8, 247},
  2364. {  0,   6, 249},
  2365. {  0,   4, 251},
  2366. {  0,   2, 253},
  2367. {  0,   0, 255},
  2368. X
  2369. };
  2370. SHAR_EOF
  2371. chmod 0640 pixmon-0.3/defcmap.h ||
  2372. echo 'restore of pixmon-0.3/defcmap.h failed'
  2373. Wc_c="`wc -c < 'pixmon-0.3/defcmap.h'`"
  2374. test 4456 -eq "$Wc_c" ||
  2375.     echo 'pixmon-0.3/defcmap.h: original size 4456, current size' "$Wc_c"
  2376. rm -f _shar_wnt_.tmp
  2377. fi
  2378. # ============= pixmon-0.3/dither.h ==============
  2379. if test -f 'pixmon-0.3/dither.h' -a X"$1" != X"-c"; then
  2380.     echo 'x - skipping pixmon-0.3/dither.h (File already exists)'
  2381.     rm -f _shar_wnt_.tmp
  2382. else
  2383. > _shar_wnt_.tmp
  2384. echo 'x - extracting pixmon-0.3/dither.h (Text)'
  2385. sed 's/^X//' << 'SHAR_EOF' > 'pixmon-0.3/dither.h' &&
  2386. #define N_PAT 256
  2387. #define PAT_WIDTH  16
  2388. #define PAT_HEIGHT 16
  2389. X
  2390. X
  2391. X
  2392. X
  2393. static char fill_pat[N_PAT][32] = {
  2394. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  2395. 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  2396. 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  2397. 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  2398. 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  2399. 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  2400. 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  2401. 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  2402. 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  2403. 0x88, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  2404. 0x88, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  2405. 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  2406. 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  2407. 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x88, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  2408. 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x88, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  2409. 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  2410. 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  2411. 0x88, 0x88, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  2412. 0x88, 0x88, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  2413. 0x88, 0x88, 0x00, 0x00, 0x20, 0x20, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  2414. 0x88, 0x88, 0x00, 0x00, 0x20, 0x20, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x20, 0x20, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  2415. 0x88, 0x88, 0x00, 0x00, 0x20, 0x20, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x20, 0x20, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  2416. 0x88, 0x88, 0x00, 0x00, 0x20, 0x20, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x20, 0x20, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 
  2417. 0x88, 0x88, 0x00, 0x00, 0x20, 0x20, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x02, 0x02, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x20, 0x20, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 
  2418. 0x88, 0x88, 0x00, 0x00, 0x20, 0x20, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x02, 0x02, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x20, 0x20, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x02, 0x02, 0x00, 0x00, 
  2419. 0x88, 0x88, 0x00, 0x00, 0x22, 0x20, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x02, 0x02, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x20, 0x20, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x02, 0x02, 0x00, 0x00, 
  2420. 0x88, 0x88, 0x00, 0x00, 0x22, 0x20, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x02, 0x02, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x20, 0x22, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x02, 0x02, 0x00, 0x00, 
  2421. SHAR_EOF
  2422. true || echo 'restore of pixmon-0.3/dither.h failed'
  2423. fi
  2424. echo 'End of  part 1'
  2425. echo 'File pixmon-0.3/dither.h is continued in part 2'
  2426. echo 2 > _shar_seq_.tmp
  2427. exit 0
  2428.  
  2429.  
  2430.  
  2431. /---------------------------------------------------------------------\
  2432. | Joachim Sprave                sprave@ls11.informatik.uni-dormund.de |
  2433. |                      //////\\                                       |
  2434. | Univ. Dortmund      /        \        P.O. Box 50 05 00             |
  2435. | Dept. CS           _|  _   _ |_       4600 Dortmund 50              |
  2436. | Systems Analysis  |.|-(.)-(.)+.|      Tel.: +49-231-755 2637        |
  2437. \------------------  \|    J   |/  -----------------------------------/
  2438.                       \   ---  /
  2439.                        \      /
  2440.                         "####"
  2441.  
  2442.  
  2443.  
  2444. exit 0 # Just in case...
  2445. -- 
  2446.   // chris@IMD.Sterling.COM            | Send comp.sources.x submissions to:
  2447. \X/  Amiga - The only way to fly!      |
  2448.  "It's intuitively obvious to the most |    sources-x@imd.sterling.com
  2449.   casual observer..."                  |
  2450.