LinCity
Lincity is a city/country simulation game for X and Linux-SVGALib. It
is (c) Copyright IJ Peters 1995,1997 (ijp@floot.demon.co.uk) but may be
freely distributed under the terms of the GNU General Public License - a
copy of which is included with the game.
Welcome.
LinCity is a city/country simulation game for X and Linux
SVGALib.
[Last updated 19 September 2001 - More fix info]
Gregory Sharp
is still the maintainer and is currently working on a new
development version. Please note that this is untested and unstable
and people just wanting to play should get version 1.11 (below). However,
it is there for testing, and available at Greg's site via
HTTP or
FTP.
Please report bugs or suggestions to Greg or myself, cheers.
Greg is also the porter/maintainer of the WIN32 version.
You may encounter problems compiling on recent versions of Linux
due to the missing function prototype:
main.cxx: In function `void do_save_city ()':
main.cxx:689: `strcpy' undeclared (first use this function)
...
make: *** [xmain.o] Error 1
To fix this, add the following line to the top of all
affected files:
#include <string.h>
This will be fixed in the next release
You may also encounter problems compiling on recent versions of gcc
due to the missing typecast:
lcx11.cxx: In function `void refresh_screen (int, int, int, int)':
lcx11.cxx:720: cannot convert `char *' to unsigned char *' for
argument to `fgl_putbox_low (long unsigned int, int, int, int, int,
int, int, unsigned char *, int, int, int)'
To fix this, change line 720 from this:
pixmap, (640 + BORDERX),
to this:
(unsigned char*) pixmap, (640 + BORDERX),
This will be fixed in the next release
A patched distribution containing both the missing include directives and
the missing prototype can be downloaded here
lincity-1.11-patch1.tar.gz
Supported platforms are:
- Linux X11R6
- Linux SVGALib (Please make sure that your svgalib will work at 640x480
with 256 colours.)
- OS/2 Maintainer and WEB page.
- AIX (IBM Thinkpad 850). READ THIS
- HP-UX X11R5 GCC
- Solaris 2.5.X
- FreeBSD (should work 'out the box' if you have GNU make.)
- IRIX You need gzip.
- SCO You need gzip, if you haven't got it, read README.sco .
- WIN95/NT
LC win32 home page. Now up to version 1.09
The current release version is 1.11
Some people are experiencing problems compiling version 1.11 with Redhat
5.2 - After typing 'make lincity' the compile fails with:
... cannot exec cc1plus: No such file or directory.
To get round this, simply change line 23 of the Makefile (in Lincity) from
'CC = gcc' to 'CC = g++'
Please let me know if that doesn't cure it.
Even though, technically, it is not a bug in Lincity, it will be 'fixed' in 1.12.
The changes are:
- Integrate X11 and Win32 code
- Greyscale X11 support added
- X11 performance enhancements
- Fix mouse offset problem
- Fix integer overflow problems at high tech levels
- Fix crashes when right clicking on grass squares
- The code has been "cleaned" using indent
- Some reworking of the Load/Save logic
You can:
- Look at the README Sorry,
this is still for version 1.09
[* * * Please remember to get your web browser to 'DOWNLOAD', rather than
'view', usually by holding down the shift key when you select the
'link'. Some web browsers will automatically recognise these as
downloads however.]
- DOWNLOAD
version 1.11
From Imperial College UK
-
DOWNLOAD version 1.11
From sunsite.unc.edu US
- DOWLOAD
version 1.11
From ftp.demon.co.uk UK
[475037 bytes]
- Speak or learning Spanish? You can now get a
Spanish Version
called LinUruapan. Many thanks to Cederik De Leon. (This is still 1.09)
- Visit the
LinCity Hall of Fame. (***last updated*** 26 August 1998)
When you launch everyone from your planet or your economy becomes
sustainable,
you have the chance to mail your results to the HoF. This option,
within the game, has a limited 'life', it will no longer
automatically ask you
if you would like to mail the HoF after a certain date. [This has now
expired.]
If you want to be included in the HoF, mail me your
'$HOME/Lincity/results' file.
- Look at some
screen shots
- Go to my home page
You can look at the CHANGES file for version 1.09
and lower.
You may download tga2lcpal01.tar.gz. This
is a small program to convert the colour palette of 24bit TGA pictures
into the lincity colour palette. Ugg... This is experimental code, and
you probably don't want it unless you actually came here for it.
ijp@floot.demon.co.uk