Browse Source

Small code clean up and High Score fix. Also added info about OpenBSD port. Thanks to Dmitrij D. Czarkoff <czarkoff@gmail.com> for the cleanup/fixes and port.

tags/1.1
Gethyn ThomasQuail 7 years ago
parent
commit
3e5369e129
3 changed files with 28 additions and 28 deletions
  1. +8
    -9
      Makefile.in
  2. +7
    -19
      README.Ports
  3. +13
    -0
      README.md

+ 8
- 9
Makefile.in View File

@@ -23,14 +23,14 @@ VPATH = @srcdir@
ALL_CFLAGS = $(CFLAGS) $(CPPFLAGS) -I$(srcdir)
ALL_LDFLAGS = $(CFLAGS) $(LDFLAGS)
IMAGE_DEFINES=-DIMAGES=\"${datadir}/xlennart\"
SCORE_DEFINES=-DSCOREFILE=\"${localstatedir}/xlennart/scores\"
SCORE_DEFINES=-DSCOREFILE=\"${localstatedir}/games/xlennart.scores\"

PROG = xlennart

OBJS = Bill.o Bucket.o Cable.o Computer.o Game.o Horde.o Network.o \
OS.o Scorelist.o Spark.o UI.o util.o @WIDGET_OBJS@

XPMS = pixmaps/about.xpm pixmaps/apple.xpm pixmaps/billA_0.xpm \
XPMS = pixmaps/about.xpm pixmaps/billA_0.xpm \
pixmaps/billA_1.xpm pixmaps/billA_10.xpm pixmaps/billA_11.xpm \
pixmaps/billA_12.xpm pixmaps/billA_2.xpm pixmaps/billA_3.xpm \
pixmaps/billA_4.xpm pixmaps/billA_5.xpm pixmaps/billA_6.xpm \
@@ -48,11 +48,12 @@ XPMS = pixmaps/about.xpm pixmaps/apple.xpm pixmaps/billA_0.xpm \
pixmaps/spark_1.xpm pixmaps/ubuntu.xpm pixmaps/suncpu.xpm \
pixmaps/toaster.xpm pixmaps/initfail.xpm

XBMS = bitmaps/apple.xbm bitmaps/bsd.xbm bitmaps/bucket.xbm \
bitmaps/hand_down.xbm bitmaps/hand_down_mask.xbm bitmaps/hand_up.xbm \
bitmaps/hand_up_mask.xbm bitmaps/hurd.xbm bitmaps/linux.xbm \
bitmaps/next.xbm bitmaps/os2.xbm bitmaps/palm.xbm bitmaps/redhat.xbm \
bitmaps/sgi.xbm bitmaps/sun.xbm
XBMS = bitmaps/arch.xbm bitmaps/bsd.xbm bitmaps/bucket.xbm bitmaps/centos.xbm \
bitmaps/debian.xbm bitmaps/gentoo.xbm bitmaps/hand_down.xbm \
bitmaps/hand_down_mask.xbm bitmaps/hand_up.xbm \
bitmaps/hand_up_mask.xbm bitmaps/initfail.xbm bitmaps/mandriva.xbm \
bitmaps/slackware.xbm bitmaps/suse.xbm bitmaps/ubuntu.xbm

MANDIR = man6
MAN = xlennart.6
@@ -85,8 +86,6 @@ install:
$(INSTALL) ${PROG} ${DESTDIR}${bindir}/${PROG}
$(MKINSTALLDIRS) ${DESTDIR}${mandir}/${MANDIR}
$(INSTALL_DATA) ${srcdir}/${MAN} ${DESTDIR}${mandir}/${MANDIR}
$(MKINSTALLDIRS) ${DESTDIR}${localstatedir}/xlennart
$(INSTALL_DATA) -m 0666 ${srcdir}/scores ${DESTDIR}${localstatedir}/xlennart
$(MKINSTALLDIRS) ${DESTDIR}${datadir}/xlennart
$(MKINSTALLDIRS) ${DESTDIR}${datadir}/xlennart/pixmaps
$(MKINSTALLDIRS) ${DESTDIR}${datadir}/xlennart/bitmaps


+ 7
- 19
README.Ports View File

@@ -1,24 +1,12 @@
Here's the status of the various ports:

Mac:
Josh Adams <jadams@hyperimage.com> mostly finished this, based on a beta
of 2.0, but never released it for some reason. If I can borrow a Mac OS X
machine for a day or two, porting it should be easy now.
OpenBSD:

Java:
There are a bunch of Java ports around. I've never found one that works
well. I started porting 2.0 a few years ago, and never finished. It's
possible I'll start again.
Right now there's an unofficial OpenBSD port by Dmitrij D. Czarkoff <czarkoff@gmail.com>

XFree86 for OS/2:
Darwin O'Connor <doconno@cc.UManitoba.CA> ported 2.0, and you can get it from
http://www.reamined.on.ca/doconnor/xprogs.html.
http://article.gmane.org/gmane.os.openbsd.ports/70338/match=xlennart (Outdated)
http://article.gmane.org/gmane.os.openbsd.ports/70343/match=xlennart
http://freshbsd.org/search?project=bitrig-ports&q=xlennart

Linux SVGA:
I got this mostly working on a beta of 2.0, but it had a couple problems
(mouse support wasn't very good, no menus or windows), and is now hopelessly
outdated. It does have an XPM and XBM reader. If anyone wants to finish
this (write the missing parts and the new parts), let me know, and I can find
the old code.

- Brian (bwelling@xbill.org)
I'm going to look into making this official and adapt any bug fixes from this port.
Thanks for the work guys!

+ 13
- 0
README.md View File

@@ -12,6 +12,8 @@ make

sudo make install

libXpm is required when using Motif or Athena widgets.

##About

Welcome to XLennart...
@@ -60,6 +62,17 @@ otherwise I got a missing symbol error.

make

## OpenBSD Port

Right now there's an unofficial OpenBSD port by Dmitrij D. Czarkoff <czarkoff@gmail.com>

http://article.gmane.org/gmane.os.openbsd.ports/70338/match=xlennart (Outdated)
http://article.gmane.org/gmane.os.openbsd.ports/70343/match=xlennart
http://freshbsd.org/search?project=bitrig-ports&q=xlennart

I'm going to look into making this official and adapt any bug fixes from this port.
Thanks for the work guys!

##Options

-l <n> Start at level n.


Loading…
Cancel
Save