blob: 78940a81b9a7a5cd7a01fcaf4118a818e8740d70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
xmine is an X11-based version of the popular PC game Minesweeper. The
object is to place flags on mines on the game board without exposing
them.
xmine is freely redistributable. It's mostly Xlib-based, but it
requires Motif libraries for the menus.
Author: Paul Falstad (pf@z-code.com)
===
This version of xmine is based on Paul Falstad's version 1.0.3, as
published in comp.sources.x. It has been heavily munged to work
without OSF/Motif.
Almost everything needed was already in the Athena Widget Set, with
the exception of a Canvas Widget (or DrawingAreaWidget in Motif
terms). Hence i have included a copy of the Canvas Widget of the Free
Widget Foundation, only slightly modified to take the #include's from
the current directory. If anybody is unlucky with the GPL conditions
applying to the FWF code, she is free to drop in own versions of a
Canvas Widget (really not much of code).
I originally intented to #ifdef Paul's version for use with the Athena
Widget Set, but realized that this would have resulted in too much of
spagghetti code. That's why i hacked a separate source out of it. I
cleaned it up a bit, so it will compile now without complaints with
the -Wall flag set under gcc.
Since the game itself has some 3D look, linking against the famous
Xaw3d library is highly recommended.
ACKNOWLEDGEMENTS:
=================
For X11:
The X Consortium, MIT, DEC, ...
For the original OSF/Motif version of xmine:
Paul Falstad (pf@z-code.com)
For the three-D lookalike Athena Widget set:
Kaleb S. Keithley (kaleb@jpl-devvax.jpl.nasa.gov)
For the Canvas Widget of the Free Widget Foundation:
Robert H. Forsman Jr.
---
enjoy,
Joerg Wunsch <joerg_wunsch@uriah.sax.de>
|