File koules-1.4.dif of Package koules
--- Iconfig
+++ Iconfig 2000/08/18 09:35:45
@@ -18,7 +18,7 @@
use my emulation
If you are unsure try to leave it commented out. My emulation
works on most unixes*/
-/*#define HAVEUSLEEP*/
+#define HAVEUSLEEP
/* for network audio server(supported by most unixes)*/
/* It does not sound as well as built in driver ... koules uses too
much sounds*/
@@ -29,14 +29,14 @@
/* linux joystick support
Now compiles w/o joystick toolkit. For using joystick support is
joystick toolikit required...of course */
-/*#define JOYSTICK*/
+#define JOYSTICK
/*for fast 386 based assembler routines
recomended for linux*/
/*#define I386ASSEMBLY*/
/* directories*/
-KOULESDIR =/usr/bin/X11
-SOUNDDIR =/usr/local/lib/koules
-MANDIR =/usr/local/man/man6
+KOULESDIR =/usr/games
+SOUNDDIR =/usr/share/games/koules
+MANDIR =/usr/man/man6
/*You need some extra libraryes for BSD sockets compatibility?*/
/* TOP_INCLUDES = /* Sun users with GCC need this */
--- Imakefile
+++ Imakefile 2000/08/18 09:35:45
@@ -56,7 +56,7 @@
DEFINES = -DONLYANSI -DSOUND $(JOYSTICK1) $(NET) $(MITSHM1) $(HAVEUSLEEP1) $(SYSDEFS) $(JOYSTICK) -Ixlib\
$(NAMEDEF) $(ASMDEF)\
- -DSOUNDSERVER=\"$(SOUNDDIR)/$(SOUNDSERVER)\" \
+ -DSOUNDSERVER=\"$(KOULESDIR)/$(SOUNDSERVER)\" \
-DSOUNDDIR=\"$(SOUNDDIR)\" \
-DSOUNDDEV=\"$(SOUNDDEV)\"
#endif
--- Makefile.svgalib
+++ Makefile.svgalib 2000/08/18 09:35:45
@@ -3,7 +3,7 @@
#ARCH=-m486
#ARCH=-mpentium
#uncoment following for joystick support
-#JOYSTICK = -D JOYSTICK #requires joystick toolkit installed!
+JOYSTICK = -D JOYSTICK #requires joystick toolkit installed!
#uncoment following to enable network support
NET = -D NETSUPPORT
#uncoment following three lines for linux sound support
@@ -14,9 +14,9 @@
MOUSE = -D MOUSE
#don`t add / and spaces at end of path!
#directories
-SOUNDDIR = /usr/local/lib/koules
-BINDIR = /usr/local/bin
-MANDIR = /usr/local/man/man6
+SOUNDDIR = /usr/lib/games/koules
+BINDIR = /usr/games
+MANDIR = /usr/man/man6
SOUNDOBJS = sound.o
SOUNDDEV = /dev/dsp
--- koules
+++ koules 2000/08/18 09:35:45
@@ -1,6 +1,6 @@
#!/bin/sh
-KOULESDIR=/usr/local/bin
-XKOULESDIR=/usr/bin/X11
+KOULESDIR=/usr/games
+XKOULESDIR=/usr/games
if [ $TERM != console ]; then
if [ $TERM != linux ]; then
if [ $DISPLAY != "" ]; then
--- koules.tcl
+++ koules.tcl 2000/08/18 09:55:48
@@ -3,9 +3,9 @@
# This is simple user (anti)friendly dialog for starting koules
# Only reason why I did it is that I wanted to try tcl/tk
#files - configure here if paths are differ
-set xkoules "/usr/bin/X11/xkoules"
-set koulessvga "/usr/local/bin/koules.svga"
-set koulessound "/usr/local/lib/koules/creator1.raw"
+set xkoules "/usr/games/xkoules"
+set koulessvga "/usr/games/koules.svga"
+set koulessound "/usr/share/games/koules/creator1.raw"
set config "~/.xkoules.opt"
set revision 1.1
# Set default
--- xlib/shmbitmap.c
+++ xlib/shmbitmap.c 2000/08/18 09:35:45
@@ -237,6 +237,8 @@
#define __clipy1 0
#undef __clipy2
#define __clipy2 (MAPHEIGHT+19)
+
+#undef __i386__
#ifdef __i386__
static INLINE int
muldiv64 (int CONST m1, int CONST m2, int CONST d)