• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

doc/H03-May-2022-279195

AUTHORSH A D10-Jan-2007312 95

COPYINGH A D10-Jan-200717.9 KiB341281

HISTORYH A D10-Jan-2007393 129

MakefileH A D03-May-20222 KiB7358

Makefile.win32H A D10-Jan-20071.3 KiB5542

READMEH A D10-Jan-20072.7 KiB7952

TODOH A D10-Jan-2007692 2213

VERSIONH A D10-Jan-20077 21

grid.cppH A D10-Jan-200720.8 KiB741564

grid.hH A D10-Jan-20074.8 KiB14488

mkhexgrid.cppH A D03-May-202212.8 KiB433386

png.cppH A D03-May-202219.8 KiB696505

ps.cppH A D10-Jan-200711.3 KiB499445

svg.cppH A D10-Jan-200711.3 KiB415328

README

1********************************************************************************
2*                                                                              *
3*                                   mkhexgrid                                  *
4*                                 version 0.1.1                                *
5*                                 Joel Uckelman                                *
6*                                10 January 2007                               *
7*                                                                              *
8********************************************************************************
9
10mkhexgrid is a small, command-line program which generates hex grids of the
11sort used for strategy games.
12
13USAGE
14
15For usage information, see the included documentation, either mkhexgrid.html
16(all platforms) or the man page (unix only).
17
18INSTALLATION
19
20Windows:
21
22Windows users are recommended to use the pre-built version of mkhexgrid.
23No installation is necessary beyond unpacking the ZIP archive.
24
25Unix (including MacOS X):
26
27Binary and source RPMs are provided for users of RPM-based Linux
28distributions. FreeBSD users may build mkhexgrid using the ports system.
29MaxOS X users may build mkhexgrid using Fink (see
30http://fink.sourceforge.net). Other Unix users are recommended to build
31mkhexgrid from source. This should be a near-trivial process in most cases.
32See the next section, Building From Source.
33
34Building From Source:
35
361. mkhexgrid has been successfully built using GCC on Unix and the
37MinGW port of GCC on Windows. mkhexgrid uses GNU getopt, so building
38mkhexgrid using any compiler which lacks a compatible getopt
39implementation will involve modifying the code somewhat.
40
412. mkhexgrid requires the Boost and GD libraries. Boost is available
42from http://www.boost.org, and does not need to be built itself, as
43mkhexgrid relies only on headers from Boost. GD is available from
44http://www.libgd.org. mkhexgrid uses GD as the graphics drawing library
45for PNG output. Many Linux and BSD systems will already have Boost
46and GD installed.
47
483. Build mkhexgrid.
49
50On Unix:
51
52   make
53   make install
54
55On Windows:
56
57   make -f Makefile.win32
58
59You must check that the paths defined in the Makefile are correct for
60your compiler and libraries, and also that you have getopt.h. (MinGW
61does, MSVC++ does not.)
62
63ANNOUNCEMENTS
64
65New versions of mkhexgrid are announced on the
66
67   mkhexgrid-announce@nomic.net
68
69mailing list. To subscribe, send a message to
70
71   mkhexgrid-announce-request@nomic.net
72
73with the word 'subscribe' in the message body.
74
75BUGS AND PROBLEMS
76
77Please report bugs, problems, and suggestions to mkhexgrid-bugs@nomic.net.
78
79