aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am8
-rw-r--r--Makefile.in279
-rw-r--r--README103
-rw-r--r--abuse/Makefile.am76
-rw-r--r--abuse/Makefile.in524
-rw-r--r--abuse/abuse.in31
-rw-r--r--abuse/abuse.lsp62
-rw-r--r--abuse/acinclude.m483
-rw-r--r--abuse/aclocal.m4176
-rw-r--r--abuse/b.bat7
-rw-r--r--abuse/c.bat2
-rw-r--r--abuse/configure2790
-rw-r--r--abuse/configure.in49
-rw-r--r--abuse/defaults.prp29
-rw-r--r--abuse/dirlist.c21
-rw-r--r--abuse/edit.lsp3
-rw-r--r--abuse/filelst.c323
-rw-r--r--abuse/fsetup.ini59
-rw-r--r--abuse/game.lnk78
-rw-r--r--abuse/gamma.lsp1
-rw-r--r--abuse/gsetup.ini59
-rw-r--r--abuse/hardness.lsp1
-rw-r--r--abuse/i4maker.lsp149
-rw-r--r--abuse/inc/ability.hpp25
-rw-r--r--abuse/inc/ant.hpp21
-rw-r--r--abuse/inc/automap.hpp25
-rw-r--r--abuse/inc/bus_type.hpp28
-rw-r--r--abuse/inc/cache.hpp133
-rw-r--r--abuse/inc/chars.hpp137
-rw-r--r--abuse/inc/chat.hpp22
-rw-r--r--abuse/inc/chmorph.hpp14
-rw-r--r--abuse/inc/client.hpp48
-rw-r--r--abuse/inc/clisp.hpp48
-rw-r--r--abuse/inc/compiled.hpp30
-rw-r--r--abuse/inc/config.hpp16
-rw-r--r--abuse/inc/console.hpp45
-rw-r--r--abuse/inc/control.hpp42
-rw-r--r--abuse/inc/cop.hpp23
-rw-r--r--abuse/inc/crc.hpp10
-rw-r--r--abuse/inc/demo.hpp39
-rw-r--r--abuse/inc/dev.hpp148
-rw-r--r--abuse/inc/devsel.hpp26
-rw-r--r--abuse/inc/director.hpp29
-rw-r--r--abuse/inc/extend.hpp157
-rw-r--r--abuse/inc/fakelib.hpp42
-rw-r--r--abuse/inc/game.hpp150
-rw-r--r--abuse/inc/gamma.hpp7
-rw-r--r--abuse/inc/go.hpp64
-rw-r--r--abuse/inc/gui.hpp44
-rw-r--r--abuse/inc/help.hpp16
-rw-r--r--abuse/inc/human.hpp23
-rw-r--r--abuse/inc/id.hpp265
-rw-r--r--abuse/inc/intsect.hpp9
-rw-r--r--abuse/inc/isllist.hpp114
-rw-r--r--abuse/inc/isllist_bak.hpp117
-rw-r--r--abuse/inc/items.hpp103
-rw-r--r--abuse/inc/language.hpp1
-rw-r--r--abuse/inc/laser.hpp29
-rw-r--r--abuse/inc/lcache.hpp15
-rw-r--r--abuse/inc/lcaller.hpp11
-rw-r--r--abuse/inc/level.hpp219
-rw-r--r--abuse/inc/light.hpp76
-rw-r--r--abuse/inc/lisp.hpp217
-rw-r--r--abuse/inc/lisp2.hpp126
-rw-r--r--abuse/inc/lisp_gc.hpp20
-rw-r--r--abuse/inc/lisp_opt.hpp9
-rw-r--r--abuse/inc/lmenu.hpp17
-rw-r--r--abuse/inc/loader2.hpp79
-rw-r--r--abuse/inc/loadgame.hpp11
-rw-r--r--abuse/inc/menu.hpp8
-rw-r--r--abuse/inc/morpher.hpp27
-rw-r--r--abuse/inc/netcfg.hpp36
-rw-r--r--abuse/inc/netface.hpp158
-rw-r--r--abuse/inc/nfclient.hpp6
-rw-r--r--abuse/inc/nfserver.hpp48
-rw-r--r--abuse/inc/objects.hpp165
-rw-r--r--abuse/inc/parse.hpp18
-rw-r--r--abuse/inc/particle.hpp55
-rw-r--r--abuse/inc/points.hpp24
-rw-r--r--abuse/inc/profile.hpp16
-rw-r--r--abuse/inc/property.hpp25
-rw-r--r--abuse/inc/ramfile.hpp27
-rw-r--r--abuse/inc/sbar.hpp41
-rw-r--r--abuse/inc/scene.hpp8
-rw-r--r--abuse/inc/seq.hpp36
-rw-r--r--abuse/inc/server2.hpp28
-rw-r--r--abuse/inc/specache.hpp37
-rw-r--r--abuse/inc/stack.hpp38
-rw-r--r--abuse/inc/text_gui.hpp19
-rw-r--r--abuse/inc/tiles.hpp70
-rw-r--r--abuse/inc/transp.hpp7
-rw-r--r--abuse/inc/view.hpp129
-rw-r--r--abuse/install.lnk6
-rw-r--r--abuse/install.lsp306
-rw-r--r--abuse/lastsave.lsp1
-rw-r--r--abuse/light.tblbin0 -> 18946 bytes
-rw-r--r--abuse/listall6
-rw-r--r--abuse/makefile.dav4346
-rw-r--r--abuse/makefile.wat4678
-rw-r--r--abuse/makemake.bat1
-rw-r--r--abuse/maker.aixbin0 -> 107143 bytes
-rw-r--r--abuse/maker.linuxbin0 -> 257708 bytes
-rw-r--r--abuse/maker.lsp42
-rw-r--r--abuse/mb.bat5
-rw-r--r--abuse/net/Makefile18
-rw-r--r--abuse/net/abuse_ndrv.c1164
-rw-r--r--abuse/net/netdrv.c100
-rw-r--r--abuse/net/netface.c93
-rw-r--r--abuse/net/nstruct.hpp22
-rw-r--r--abuse/net/serial.c159
-rw-r--r--abuse/net/serial.exebin0 -> 31708 bytes
-rw-r--r--abuse/net/serial.lnk6
-rw-r--r--abuse/net/tdrvbin0 -> 28264 bytes
-rw-r--r--abuse/net/tdrv.c31
-rw-r--r--abuse/net/test.c21
-rw-r--r--abuse/netlevel/.AppleDouble/.Parentbin0 -> 589 bytes
-rw-r--r--abuse/netlevel/2play1.spebin0 -> 36532 bytes
-rw-r--r--abuse/netlevel/2play2.spebin0 -> 32012 bytes
-rw-r--r--abuse/netlevel/2play3.spebin0 -> 19772 bytes
-rw-r--r--abuse/netlevel/2play4.spebin0 -> 33060 bytes
-rw-r--r--abuse/netlevel/4play1.spebin0 -> 32583 bytes
-rw-r--r--abuse/netlevel/4play2.spebin0 -> 35959 bytes
-rw-r--r--abuse/netlevel/4play3.spebin0 -> 34107 bytes
-rw-r--r--abuse/netlevel/4play4.spebin0 -> 36003 bytes
-rw-r--r--abuse/netlevel/8play1.spebin0 -> 38099 bytes
-rw-r--r--abuse/netlevel/8play2.spebin0 -> 38140 bytes
-rw-r--r--abuse/netlevel/8play3.spebin0 -> 34489 bytes
-rw-r--r--abuse/netlevel/8play4.spebin0 -> 46751 bytes
-rw-r--r--abuse/sd_cache.tmpbin0 -> 48473 bytes
-rw-r--r--abuse/setup.ini59
-rw-r--r--abuse/sndcard.cfg12
-rw-r--r--abuse/src/ability.c54
-rw-r--r--abuse/src/ant.c471
-rw-r--r--abuse/src/automap.c201
-rw-r--r--abuse/src/cache.c1292
-rw-r--r--abuse/src/calctrig.c27
-rw-r--r--abuse/src/chars.c578
-rw-r--r--abuse/src/chat.c41
-rw-r--r--abuse/src/chmorph.c23
-rw-r--r--abuse/src/client.c12
-rw-r--r--abuse/src/clisp.c2307
-rw-r--r--abuse/src/collide.c227
-rw-r--r--abuse/src/compile.lsp56
-rw-r--r--abuse/src/compiled.c141
-rw-r--r--abuse/src/config.c188
-rw-r--r--abuse/src/console.c227
-rw-r--r--abuse/src/control.c65
-rw-r--r--abuse/src/cop.c1081
-rw-r--r--abuse/src/crc.c46
-rw-r--r--abuse/src/demo.c264
-rw-r--r--abuse/src/dev.c3658
-rw-r--r--abuse/src/dev.c~3658
-rw-r--r--abuse/src/devsel.c179
-rw-r--r--abuse/src/director.c200
-rw-r--r--abuse/src/dosnfc.c3
-rw-r--r--abuse/src/endgame.c519
-rw-r--r--abuse/src/extend.c139
-rw-r--r--abuse/src/fnt6x13.c1336
-rw-r--r--abuse/src/game.c2766
-rw-r--r--abuse/src/gamma.c154
-rw-r--r--abuse/src/go.c352
-rw-r--r--abuse/src/gui.c155
-rw-r--r--abuse/src/help.c48
-rw-r--r--abuse/src/human.c31
-rw-r--r--abuse/src/innet.c709
-rw-r--r--abuse/src/install.c297
-rw-r--r--abuse/src/intsect.c233
-rw-r--r--abuse/src/items.c307
-rw-r--r--abuse/src/keydrvbin0 -> 114813 bytes
-rw-r--r--abuse/src/keydrv.c182
-rw-r--r--abuse/src/keytest.c60
-rw-r--r--abuse/src/language.c9
-rw-r--r--abuse/src/lcache.c133
-rw-r--r--abuse/src/lcache2.c19
-rw-r--r--abuse/src/letters.c1097
-rw-r--r--abuse/src/level.c3284
-rw-r--r--abuse/src/light.c1278
-rw-r--r--abuse/src/lisp.c3267
-rw-r--r--abuse/src/lisp_gc.c266
-rw-r--r--abuse/src/lisp_mac.c82
-rw-r--r--abuse/src/lisp_opt.c116
-rw-r--r--abuse/src/loader2.c501
-rw-r--r--abuse/src/loadgame.c244
-rw-r--r--abuse/src/ltree.c48
-rw-r--r--abuse/src/makefile12
-rw-r--r--abuse/src/maker.c365
-rw-r--r--abuse/src/menu.c780
-rw-r--r--abuse/src/morpher.c91
-rw-r--r--abuse/src/net/dos4gw/bwtcp.c97
-rw-r--r--abuse/src/net/dos4gw/bwtcp.hpp77
-rw-r--r--abuse/src/net/dos4gw/ipx.c1498
-rw-r--r--abuse/src/net/dos4gw/ipx_dud.c1
-rw-r--r--abuse/src/net/inc/indian.hpp29
-rw-r--r--abuse/src/net/inc/ipx.hpp371
-rw-r--r--abuse/src/net/inc/ipx.hpp~369
-rw-r--r--abuse/src/net/inc/sock.hpp104
-rw-r--r--abuse/src/net/mac/atalk.c195
-rw-r--r--abuse/src/net/mac/atalk.hpp188
-rw-r--r--abuse/src/net/mac/atalk_util.c694
-rw-r--r--abuse/src/net/mac/ethtst.c204
-rw-r--r--abuse/src/net/mac/isllist1.hpp89
-rw-r--r--abuse/src/net/mac/listtst.cc26
-rw-r--r--abuse/src/net/mac/mactcp.c195
-rw-r--r--abuse/src/net/mac/mactcp.hpp189
-rw-r--r--abuse/src/net/mac/nettst.c170
-rw-r--r--abuse/src/net/mac/ottcp.c433
-rw-r--r--abuse/src/net/mac/ottcp.hpp117
-rw-r--r--abuse/src/net/mac/socktst.c343
-rw-r--r--abuse/src/net/mac/tcpip.c656
-rw-r--r--abuse/src/net/mac/tcpip.hpp232
-rw-r--r--abuse/src/net/mac/tstlist.cc65
-rw-r--r--abuse/src/net/sock.c22
-rw-r--r--abuse/src/net/unix/Makefile.SGI227
-rw-r--r--abuse/src/net/unix/Makefile.linux455
-rw-r--r--abuse/src/net/unix/endian.hpp37
-rw-r--r--abuse/src/net/unix/engine.c1241
-rw-r--r--abuse/src/net/unix/engine.hpp88
-rw-r--r--abuse/src/net/unix/fileman.c510
-rw-r--r--abuse/src/net/unix/fileman.hpp78
-rw-r--r--abuse/src/net/unix/gclient.c183
-rw-r--r--abuse/src/net/unix/gclient.hpp28
-rw-r--r--abuse/src/net/unix/ghandler.hpp30
-rw-r--r--abuse/src/net/unix/gserver.c460
-rw-r--r--abuse/src/net/unix/gserver.hpp75
-rw-r--r--abuse/src/net/unix/maker.lsp25
-rw-r--r--abuse/src/net/unix/netdrv.c595
-rw-r--r--abuse/src/net/unix/netdrv.hpp97
-rw-r--r--abuse/src/net/unix/netfile.c460
-rw-r--r--abuse/src/net/unix/netfile.hpp57
-rw-r--r--abuse/src/net/unix/tcpip.c386
-rw-r--r--abuse/src/net/unix/tcpip.hpp189
-rw-r--r--abuse/src/net/unix/undrv0
-rw-r--r--abuse/src/net/unix/undrv.c194
-rw-r--r--abuse/src/net/unix/undrv.hpp15
-rw-r--r--abuse/src/net/unix/undrv.sgibin0 -> 410064 bytes
-rw-r--r--abuse/src/net/unix/undrvobin0 -> 160904 bytes
-rw-r--r--abuse/src/net/unix/undrvo.sgibin0 -> 161316 bytes
-rw-r--r--abuse/src/net/unix/undrvxbin0 -> 393664 bytes
-rw-r--r--abuse/src/net/unix/undrvxobin0 -> 160898 bytes
-rw-r--r--abuse/src/netcfg.c567
-rw-r--r--abuse/src/newlight.c888
-rw-r--r--abuse/src/nfclient.c231
-rw-r--r--abuse/src/nnetcode93
-rw-r--r--abuse/src/objects.c1635
-rw-r--r--abuse/src/old.nfclient.c333
-rw-r--r--abuse/src/old.nfserver.c334
-rw-r--r--abuse/src/old_demo_code373
-rw-r--r--abuse/src/old_earth_menu.c702
-rw-r--r--abuse/src/old_server.c779
-rw-r--r--abuse/src/oldhelp.c224
-rw-r--r--abuse/src/parse.c153
-rw-r--r--abuse/src/particle.c259
-rw-r--r--abuse/src/pcxscale.c33
-rw-r--r--abuse/src/points.c39
-rw-r--r--abuse/src/profile.c125
-rw-r--r--abuse/src/property.c179
-rw-r--r--abuse/src/putline.asm78
-rw-r--r--abuse/src/putline2.asm76
-rw-r--r--abuse/src/ramfile.c18
-rw-r--r--abuse/src/remap.c60
-rw-r--r--abuse/src/remap.exebin0 -> 19105 bytes
-rw-r--r--abuse/src/remap.lnk9
-rw-r--r--abuse/src/remap.map73
-rw-r--r--abuse/src/scene.c703
-rw-r--r--abuse/src/sensor.c41
-rw-r--r--abuse/src/seq.c110
-rw-r--r--abuse/src/server2.c274
-rw-r--r--abuse/src/setup.c239
-rw-r--r--abuse/src/smallfnt.c619
-rw-r--r--abuse/src/smoosh.c67
-rw-r--r--abuse/src/sndserver.c344
-rw-r--r--abuse/src/specache.c101
-rw-r--r--abuse/src/stack.c26
-rw-r--r--abuse/src/statbar.c347
-rw-r--r--abuse/src/status.c66
-rw-r--r--abuse/src/test2.c11
-rw-r--r--abuse/src/tester.c28
-rw-r--r--abuse/src/text_gui.c487
-rw-r--r--abuse/src/transp.c95
-rw-r--r--abuse/src/trig.c202
-rw-r--r--abuse/src/unixnfc.c655
-rw-r--r--abuse/src/username.c27
-rw-r--r--abuse/src/version.c57
-rw-r--r--abuse/src/view.c1175
-rw-r--r--abuse/src_file.hh23
-rw-r--r--aclocal.m492
-rw-r--r--config.guess740
-rw-r--r--config.sub939
-rw-r--r--configure1123
-rw-r--r--configure.in4
-rw-r--r--imlib/Makefile1967
-rw-r--r--imlib/Makefile.AIX2162
-rw-r--r--imlib/Makefile.SGI1643
-rw-r--r--imlib/Makefile.am51
-rw-r--r--imlib/Makefile.in435
-rw-r--r--imlib/Makefile.linux4310
-rw-r--r--imlib/acinclude.m483
-rw-r--r--imlib/aclocal.m4176
-rw-r--r--imlib/configure2712
-rw-r--r--imlib/configure.in51
-rw-r--r--imlib/convert.c39
-rw-r--r--imlib/decoder.c393
-rw-r--r--imlib/dprint.c44
-rw-r--r--imlib/err11
-rw-r--r--imlib/fff72
-rw-r--r--imlib/filesel.c133
-rw-r--r--imlib/filter.c239
-rw-r--r--imlib/fonts.c71
-rw-r--r--imlib/gifread.c119
-rw-r--r--imlib/globals.c1
-rw-r--r--imlib/glread.c138
-rw-r--r--imlib/glview.c60
-rw-r--r--imlib/guistat.c140
-rw-r--r--imlib/image.c1342
-rw-r--r--imlib/image24.c93
-rw-r--r--imlib/include.c59
-rw-r--r--imlib/include/bitmap.h8
-rw-r--r--imlib/include/conio.h6
-rw-r--r--imlib/include/dir.h5
-rw-r--r--imlib/include/dos.h5
-rw-r--r--imlib/include/doscall.hpp12
-rw-r--r--imlib/include/dprint.hpp10
-rw-r--r--imlib/include/emm.hpp49
-rw-r--r--imlib/include/errs.h15
-rw-r--r--imlib/include/event.hpp68
-rw-r--r--imlib/include/exitproc.hpp15
-rw-r--r--imlib/include/filesel.hpp17
-rw-r--r--imlib/include/filter.hpp45
-rw-r--r--imlib/include/fonts.hpp40
-rw-r--r--imlib/include/gifdecod.hpp8
-rw-r--r--imlib/include/gifread.hpp9
-rw-r--r--imlib/include/globals.hpp12
-rw-r--r--imlib/include/glread.hpp10
-rw-r--r--imlib/include/guistat.hpp24
-rw-r--r--imlib/include/image.hpp179
-rw-r--r--imlib/include/image24.hpp37
-rw-r--r--imlib/include/include.hpp9
-rw-r--r--imlib/include/input.hpp110
-rw-r--r--imlib/include/jdir.hpp7
-rw-r--r--imlib/include/jmalloc.hpp33
-rw-r--r--imlib/include/jnet.hpp55
-rw-r--r--imlib/include/joy.hpp8
-rw-r--r--imlib/include/jrand.hpp13
-rw-r--r--imlib/include/jwindow.hpp157
-rw-r--r--imlib/include/keys.hpp50
-rw-r--r--imlib/include/lbmread.hpp9
-rw-r--r--imlib/include/linked.hpp102
-rw-r--r--imlib/include/loader.hpp41
-rw-r--r--imlib/include/macs.hpp32
-rw-r--r--imlib/include/main.hpp5
-rw-r--r--imlib/include/mdlread.hpp12
-rw-r--r--imlib/include/monoprnt.hpp6
-rw-r--r--imlib/include/morph.h42
-rw-r--r--imlib/include/morph.hpp102
-rw-r--r--imlib/include/mouse.hpp37
-rw-r--r--imlib/include/packet.hpp32
-rw-r--r--imlib/include/palette.hpp100
-rw-r--r--imlib/include/pcxread.hpp15
-rw-r--r--imlib/include/pmenu.hpp72
-rw-r--r--imlib/include/ppmread.hpp11
-rw-r--r--imlib/include/readwav.hpp11
-rw-r--r--imlib/include/scroller.hpp112
-rw-r--r--imlib/include/sdriver.hpp11
-rw-r--r--imlib/include/sound.hpp49
-rw-r--r--imlib/include/specs.hpp218
-rw-r--r--imlib/include/sprite.hpp32
-rw-r--r--imlib/include/status.hpp42
-rw-r--r--imlib/include/std.h20
-rw-r--r--imlib/include/supmorph.hpp34
-rw-r--r--imlib/include/system.h63
-rw-r--r--imlib/include/targa.hpp9
-rw-r--r--imlib/include/texture.hpp8
-rw-r--r--imlib/include/timage.hpp63
-rw-r--r--imlib/include/timer.hpp6
-rw-r--r--imlib/include/timing.hpp19
-rw-r--r--imlib/include/tools.hpp45
-rw-r--r--imlib/include/video.hpp30
-rw-r--r--imlib/include/visobj.hpp44
-rw-r--r--imlib/include/xinclude.h5
-rw-r--r--imlib/include/xwdread.hpp16
-rw-r--r--imlib/input.c509
-rw-r--r--imlib/jmalloc.c923
-rw-r--r--imlib/jrand.c23
-rw-r--r--imlib/jwindow.c605
-rw-r--r--imlib/keys.c36
-rw-r--r--imlib/lbmread.c107
-rw-r--r--imlib/linked.c155
-rw-r--r--imlib/loader.c164
-rw-r--r--imlib/makefile.wat1548
-rw-r--r--imlib/makelink.lsp446
-rw-r--r--imlib/makemake.lsp467
-rw-r--r--imlib/maker.lsp76
-rw-r--r--imlib/mdlimage.c0
-rw-r--r--imlib/mdlread.c186
-rw-r--r--imlib/morph.c895
-rw-r--r--imlib/mouse.c110
-rw-r--r--imlib/noname.lnk15
-rw-r--r--imlib/nonameo.lnk14
-rw-r--r--imlib/oldjmalloc.c560
-rw-r--r--imlib/packet.c114
-rw-r--r--imlib/palette.c533
-rw-r--r--imlib/pcxread.c218
-rw-r--r--imlib/pmenu.c461
-rw-r--r--imlib/port/aix/Makefile12
-rw-r--r--imlib/port/aix/aix_sdrv.c330
-rw-r--r--imlib/port/aix/gen_drv.c300
-rw-r--r--imlib/port/aix/som.irbin0 -> 32 bytes
-rw-r--r--imlib/port/aix/sound.c273
-rw-r--r--imlib/port/aix_orig/Makefile12
-rw-r--r--imlib/port/aix_orig/aix_sdrv.c330
-rw-r--r--imlib/port/aix_orig/gen_drv.c334
-rw-r--r--imlib/port/aix_orig/som.irbin0 -> 32 bytes
-rw-r--r--imlib/port/aix_orig/sound.c326
-rw-r--r--imlib/port/dos4gw/bwtcp.c451
-rw-r--r--imlib/port/dos4gw/bwtcp.hpp44
-rw-r--r--imlib/port/dos4gw/doscall.c67
-rw-r--r--imlib/port/dos4gw/event.c322
-rw-r--r--imlib/port/dos4gw/ipx.c416
-rw-r--r--imlib/port/dos4gw/ipx.hpp93
-rw-r--r--imlib/port/dos4gw/ipxdocs173
-rw-r--r--imlib/port/dos4gw/ipxtest.c243
-rw-r--r--imlib/port/dos4gw/ipxtest.lnk7
-rw-r--r--imlib/port/dos4gw/ipxtesto.exebin0 -> 41139 bytes
-rw-r--r--imlib/port/dos4gw/ipxtesto.lnk7
-rw-r--r--imlib/port/dos4gw/ipxtesto.map297
-rw-r--r--imlib/port/dos4gw/jdir.c44
-rw-r--r--imlib/port/dos4gw/jnet.c115
-rw-r--r--imlib/port/dos4gw/joystick.c85
-rw-r--r--imlib/port/dos4gw/makefile20
-rw-r--r--imlib/port/dos4gw/makefile.wat38
-rw-r--r--imlib/port/dos4gw/maker.lsp19
-rw-r--r--imlib/port/dos4gw/monoprnt.c45
-rw-r--r--imlib/port/dos4gw/mouse.c139
-rw-r--r--imlib/port/dos4gw/mtest.c18
-rw-r--r--imlib/port/dos4gw/mtest.exebin0 -> 25992 bytes
-rw-r--r--imlib/port/dos4gw/profile.c1564
-rw-r--r--imlib/port/dos4gw/profile.h91
-rw-r--r--imlib/port/dos4gw/sound.c582
-rw-r--r--imlib/port/dos4gw/sound2.c330
-rw-r--r--imlib/port/dos4gw/timing.c263
-rw-r--r--imlib/port/dos4gw/vcad.lnk13
-rw-r--r--imlib/port/dos4gw/vcado.lnk13
-rw-r--r--imlib/port/dos4gw/vcado.map574
-rw-r--r--imlib/port/dos4gw/vesatest.c67
-rw-r--r--imlib/port/dos4gw/video.c504
-rw-r--r--imlib/port/gl/video.c393
-rw-r--r--imlib/port/joystick.c17
-rw-r--r--imlib/port/linux/Makefile4
-rw-r--r--imlib/port/linux/joystick.c81
-rw-r--r--imlib/port/linux/lnx_sdrv.c99
-rw-r--r--imlib/port/linux/sound.c458
-rw-r--r--imlib/port/mac/MacFull.cpp466
-rw-r--r--imlib/port/mac/RequestVideo.c700
-rw-r--r--imlib/port/mac/RequestVideo.h77
-rw-r--r--imlib/port/mac/defines.h10
-rw-r--r--imlib/port/mac/event.c278
-rw-r--r--imlib/port/mac/jdir.c46
-rw-r--r--imlib/port/mac/joystick.c14
-rw-r--r--imlib/port/mac/mouse.c96
-rw-r--r--imlib/port/mac/sndtst.c45
-rw-r--r--imlib/port/mac/sound.c285
-rw-r--r--imlib/port/mac/timing.c38
-rw-r--r--imlib/port/mac/video.c565
-rw-r--r--imlib/port/maker.c869
-rw-r--r--imlib/port/oldports/evt_dos.c87
-rw-r--r--imlib/port/oldports/time_dos.c19
-rw-r--r--imlib/port/oldports/vid_dos.c367
-rw-r--r--imlib/port/sgi/Makefile5
-rw-r--r--imlib/port/sgi/gen_drv.c336
-rw-r--r--imlib/port/sgi/sgi_sdrvbin0 -> 113944 bytes
-rw-r--r--imlib/port/sgi/sgi_sdrv.c106
-rw-r--r--imlib/port/sgi/sound.c313
-rw-r--r--imlib/port/sgi/timing.c33
-rw-r--r--imlib/port/svga/event.c301
-rw-r--r--imlib/port/svga/monoprnt.c32
-rw-r--r--imlib/port/svga/mouse.c105
-rw-r--r--imlib/port/svga/video.c199
-rw-r--r--imlib/port/unix/Makefile9
-rw-r--r--imlib/port/unix/clientbin0 -> 33296 bytes
-rw-r--r--imlib/port/unix/jdir.c67
-rw-r--r--imlib/port/unix/jnet.c323
-rw-r--r--imlib/port/unix/joystick.c7
-rw-r--r--imlib/port/unix/serverbin0 -> 33280 bytes
-rw-r--r--imlib/port/unix/shm_client.c25
-rw-r--r--imlib/port/unix/shm_fifo.c131
-rw-r--r--imlib/port/unix/shm_fifo.hpp34
-rw-r--r--imlib/port/unix/shm_server.c26
-rw-r--r--imlib/port/unix/sound.c76
-rw-r--r--imlib/port/unix/timing.c29
-rw-r--r--imlib/port/x11/dfb.c806
-rw-r--r--imlib/port/x11/event.c251
-rw-r--r--imlib/port/x11/jwindow.c463
-rw-r--r--imlib/port/x11/monoprnt.c27
-rw-r--r--imlib/port/x11/mouse.c105
-rw-r--r--imlib/port/x11/video.c860
-rw-r--r--imlib/port/x11/video24.c73
-rw-r--r--imlib/ppmread.c108
-rw-r--r--imlib/readwav.c168
-rw-r--r--imlib/readxwd.c654
-rw-r--r--imlib/scroller.c717
-rw-r--r--imlib/specs.c1007
-rw-r--r--imlib/sprite.c74
-rw-r--r--imlib/status.c70
-rw-r--r--imlib/supmorph.c368
-rw-r--r--imlib/targa.c123
-rw-r--r--imlib/texture.c286
-rw-r--r--imlib/timage.c1021
-rw-r--r--imlib/timer.c102
-rw-r--r--imlib/tools.c46
-rw-r--r--imlib/tree.c79
-rw-r--r--imlib/unpackgl.c87
-rw-r--r--imlib/visobj.c76
-rw-r--r--imlib/wildargv.c308
-rw-r--r--imlib/xwdread.c585
-rw-r--r--install-sh250
-rw-r--r--macabuse/Makefile79
-rw-r--r--macabuse/abuse.lsp63
-rw-r--r--macabuse/change.log3
-rw-r--r--macabuse/defaults.prp6
-rw-r--r--macabuse/gamma.lsp1
-rw-r--r--macabuse/hardness.lsp1
-rw-r--r--macabuse/imlib/Makefile.linux4550
-rw-r--r--macabuse/imlib/convert.c39
-rw-r--r--macabuse/imlib/decoder.c393
-rw-r--r--macabuse/imlib/dprint.c44
-rw-r--r--macabuse/imlib/fff72
-rw-r--r--macabuse/imlib/filesel.c158
-rw-r--r--macabuse/imlib/filter.c239
-rw-r--r--macabuse/imlib/fonts.c75
-rw-r--r--macabuse/imlib/gifread.c119
-rw-r--r--macabuse/imlib/gifread.err4
-rw-r--r--macabuse/imlib/globals.c1
-rw-r--r--macabuse/imlib/glread.c139
-rw-r--r--macabuse/imlib/glview.c60
-rw-r--r--macabuse/imlib/guistat.c140
-rw-r--r--macabuse/imlib/image.c1348
-rw-r--r--macabuse/imlib/image24.c93
-rw-r--r--macabuse/imlib/include.c59
-rw-r--r--macabuse/imlib/include/bitmap.h8
-rw-r--r--macabuse/imlib/include/conio.h6
-rw-r--r--macabuse/imlib/include/dir.h5
-rw-r--r--macabuse/imlib/include/dos.h5
-rw-r--r--macabuse/imlib/include/doscall.hpp12
-rw-r--r--macabuse/imlib/include/dprint.hpp10
-rw-r--r--macabuse/imlib/include/emm.hpp49
-rw-r--r--macabuse/imlib/include/errs.h15
-rw-r--r--macabuse/imlib/include/event.hpp72
-rw-r--r--macabuse/imlib/include/exitproc.hpp14
-rw-r--r--macabuse/imlib/include/filesel.hpp17
-rw-r--r--macabuse/imlib/include/filter.hpp45
-rw-r--r--macabuse/imlib/include/fonts.hpp40
-rw-r--r--macabuse/imlib/include/gifdecod.hpp8
-rw-r--r--macabuse/imlib/include/gifread.hpp9
-rw-r--r--macabuse/imlib/include/globals.hpp12
-rw-r--r--macabuse/imlib/include/glread.hpp10
-rw-r--r--macabuse/imlib/include/guistat.hpp24
-rw-r--r--macabuse/imlib/include/image.hpp185
-rw-r--r--macabuse/imlib/include/image24.hpp37
-rw-r--r--macabuse/imlib/include/include.hpp9
-rw-r--r--macabuse/imlib/include/input.hpp110
-rw-r--r--macabuse/imlib/include/jdir.hpp7
-rw-r--r--macabuse/imlib/include/jmalloc.hpp42
-rw-r--r--macabuse/imlib/include/jnet.hpp55
-rw-r--r--macabuse/imlib/include/joy.hpp8
-rw-r--r--macabuse/imlib/include/jrand.hpp13
-rw-r--r--macabuse/imlib/include/jwindow.hpp158
-rw-r--r--macabuse/imlib/include/keys.hpp50
-rw-r--r--macabuse/imlib/include/lbmread.hpp9
-rw-r--r--macabuse/imlib/include/linked.hpp102
-rw-r--r--macabuse/imlib/include/loader.hpp40
-rw-r--r--macabuse/imlib/include/macs.hpp34
-rw-r--r--macabuse/imlib/include/main.hpp5
-rw-r--r--macabuse/imlib/include/mdlread.hpp12
-rw-r--r--macabuse/imlib/include/monoprnt.hpp6
-rw-r--r--macabuse/imlib/include/morph.h42
-rw-r--r--macabuse/imlib/include/morph.hpp102
-rw-r--r--macabuse/imlib/include/mouse.hpp39
-rw-r--r--macabuse/imlib/include/packet.hpp32
-rw-r--r--macabuse/imlib/include/palette.hpp99
-rw-r--r--macabuse/imlib/include/pcxread.hpp15
-rw-r--r--macabuse/imlib/include/pmenu.hpp72
-rw-r--r--macabuse/imlib/include/ppmread.hpp11
-rw-r--r--macabuse/imlib/include/readwav.hpp11
-rw-r--r--macabuse/imlib/include/scroller.hpp112
-rw-r--r--macabuse/imlib/include/sdriver.hpp11
-rw-r--r--macabuse/imlib/include/sound.hpp49
-rw-r--r--macabuse/imlib/include/specs.hpp218
-rw-r--r--macabuse/imlib/include/sprite.hpp32
-rw-r--r--macabuse/imlib/include/status.hpp42
-rw-r--r--macabuse/imlib/include/std.h20
-rw-r--r--macabuse/imlib/include/supmorph.hpp34
-rw-r--r--macabuse/imlib/include/system.h77
-rw-r--r--macabuse/imlib/include/texture.hpp8
-rw-r--r--macabuse/imlib/include/timage.hpp63
-rw-r--r--macabuse/imlib/include/timer.hpp6
-rw-r--r--macabuse/imlib/include/timing.hpp19
-rw-r--r--macabuse/imlib/include/tools.hpp45
-rw-r--r--macabuse/imlib/include/video.hpp23
-rw-r--r--macabuse/imlib/include/visobj.hpp44
-rw-r--r--macabuse/imlib/include/xinclude.h5
-rw-r--r--macabuse/imlib/include/xwdread.hpp16
-rw-r--r--macabuse/imlib/input.c517
-rw-r--r--macabuse/imlib/jmalloc.c962
-rw-r--r--macabuse/imlib/jrand.c23
-rw-r--r--macabuse/imlib/jwindow.c620
-rw-r--r--macabuse/imlib/keys.c36
-rw-r--r--macabuse/imlib/lbmread.c107
-rw-r--r--macabuse/imlib/linked.c155
-rw-r--r--macabuse/imlib/loader.c149
-rw-r--r--macabuse/imlib/makelink.lsp446
-rw-r--r--macabuse/imlib/makemake.lsp467
-rw-r--r--macabuse/imlib/maker.lsp74
-rw-r--r--macabuse/imlib/mdlimage.c0
-rw-r--r--macabuse/imlib/mdlread.c186
-rw-r--r--macabuse/imlib/morph.c895
-rw-r--r--macabuse/imlib/mouse.c110
-rw-r--r--macabuse/imlib/oldjmalloc.c560
-rw-r--r--macabuse/imlib/packet.c114
-rw-r--r--macabuse/imlib/palette.c517
-rw-r--r--macabuse/imlib/pcxread.c218
-rw-r--r--macabuse/imlib/pmenu.c461
-rw-r--r--macabuse/imlib/port/dos4gw/bwtcp.c451
-rw-r--r--macabuse/imlib/port/dos4gw/doscall.c67
-rw-r--r--macabuse/imlib/port/dos4gw/event.c322
-rw-r--r--macabuse/imlib/port/dos4gw/ipx.c416
-rw-r--r--macabuse/imlib/port/dos4gw/ipxtest.c243
-rw-r--r--macabuse/imlib/port/dos4gw/jdir.c44
-rw-r--r--macabuse/imlib/port/dos4gw/jnet.c115
-rw-r--r--macabuse/imlib/port/dos4gw/joystick.c85
-rw-r--r--macabuse/imlib/port/dos4gw/monoprnt.c45
-rw-r--r--macabuse/imlib/port/dos4gw/mouse.c139
-rw-r--r--macabuse/imlib/port/dos4gw/mtest.c18
-rw-r--r--macabuse/imlib/port/dos4gw/profile.c1564
-rw-r--r--macabuse/imlib/port/dos4gw/sound.c582
-rw-r--r--macabuse/imlib/port/dos4gw/sound2.c330
-rw-r--r--macabuse/imlib/port/dos4gw/timing.c260
-rw-r--r--macabuse/imlib/port/dos4gw/vesatest.c67
-rw-r--r--macabuse/imlib/port/dos4gw/video.c516
-rw-r--r--macabuse/imlib/port/gl/video.c393
-rw-r--r--macabuse/imlib/port/mac/Mac OS PPC C0
-rw-r--r--macabuse/imlib/port/mac/MacFull.cpp466
-rw-r--r--macabuse/imlib/port/mac/RequestVideo.c636
-rw-r--r--macabuse/imlib/port/mac/RequestVideo.h77
-rw-r--r--macabuse/imlib/port/mac/defines.h10
-rw-r--r--macabuse/imlib/port/mac/dirent.c638
-rw-r--r--macabuse/imlib/port/mac/dirent.h87
-rw-r--r--macabuse/imlib/port/mac/event.c248
-rw-r--r--macabuse/imlib/port/mac/fulllst.c323
-rw-r--r--macabuse/imlib/port/mac/hack.hpp11
-rw-r--r--macabuse/imlib/port/mac/jdir.c119
-rw-r--r--macabuse/imlib/port/mac/joystick.c15
-rw-r--r--macabuse/imlib/port/mac/mackeys.hpp19
-rw-r--r--macabuse/imlib/port/mac/macstat.c151
-rw-r--r--macabuse/imlib/port/mac/macstat.hpp26
-rw-r--r--macabuse/imlib/port/mac/mouse.c96
-rw-r--r--macabuse/imlib/port/mac/sndtst.c45
-rw-r--r--macabuse/imlib/port/mac/sound.c286
-rw-r--r--macabuse/imlib/port/mac/sys_dirent.h43
-rw-r--r--macabuse/imlib/port/mac/test/tt.txt1
-rw-r--r--macabuse/imlib/port/mac/timing.c41
-rw-r--r--macabuse/imlib/port/mac/try_files.c10
-rw-r--r--macabuse/imlib/port/mac/video.c1119
-rw-r--r--macabuse/imlib/port/sgi/Makefile5
-rw-r--r--macabuse/imlib/port/sgi/gen_drv.c336
-rw-r--r--macabuse/imlib/port/sgi/sgi_sdrvbin0 -> 113944 bytes
-rw-r--r--macabuse/imlib/port/sgi/sgi_sdrv.c104
-rw-r--r--macabuse/imlib/port/sgi/sound.c314
-rw-r--r--macabuse/imlib/port/sgi/timing.c33
-rw-r--r--macabuse/imlib/port/svga/event.c312
-rw-r--r--macabuse/imlib/port/svga/monoprnt.c32
-rw-r--r--macabuse/imlib/port/svga/mouse.c122
-rw-r--r--macabuse/imlib/port/svga/video.c212
-rw-r--r--macabuse/imlib/port/unix/Makefile9
-rw-r--r--macabuse/imlib/port/unix/clientbin0 -> 33296 bytes
-rw-r--r--macabuse/imlib/port/unix/jdir.c67
-rw-r--r--macabuse/imlib/port/unix/jnet.c323
-rw-r--r--macabuse/imlib/port/unix/joystick.c7
-rw-r--r--macabuse/imlib/port/unix/serverbin0 -> 33280 bytes
-rw-r--r--macabuse/imlib/port/unix/shm_client.c25
-rw-r--r--macabuse/imlib/port/unix/shm_fifo.c131
-rw-r--r--macabuse/imlib/port/unix/shm_fifo.hpp34
-rw-r--r--macabuse/imlib/port/unix/shm_server.c26
-rw-r--r--macabuse/imlib/port/unix/sound.c76
-rw-r--r--macabuse/imlib/port/unix/timing.c29
-rw-r--r--macabuse/imlib/port/x11/event.c236
-rw-r--r--macabuse/imlib/port/x11/jwindow.c463
-rw-r--r--macabuse/imlib/port/x11/monoprnt.c27
-rw-r--r--macabuse/imlib/port/x11/mouse.c104
-rw-r--r--macabuse/imlib/port/x11/video.c793
-rw-r--r--macabuse/imlib/port/x11/video24.c73
-rw-r--r--macabuse/imlib/ppmread.c108
-rw-r--r--macabuse/imlib/readwav.c168
-rw-r--r--macabuse/imlib/readxwd.c654
-rw-r--r--macabuse/imlib/scroller.c717
-rw-r--r--macabuse/imlib/sfx_switch01.wavbin0 -> 5056 bytes
-rw-r--r--macabuse/imlib/sndtst.rsrc0
-rw-r--r--macabuse/imlib/specs.c1009
-rw-r--r--macabuse/imlib/sprite.c75
-rw-r--r--macabuse/imlib/sprite.err4
-rw-r--r--macabuse/imlib/status.c70
-rw-r--r--macabuse/imlib/supmorph.c368
-rw-r--r--macabuse/imlib/texture.c286
-rw-r--r--macabuse/imlib/timage.c1022
-rw-r--r--macabuse/imlib/timer.c102
-rw-r--r--macabuse/imlib/tools.c46
-rw-r--r--macabuse/imlib/tree.c79
-rw-r--r--macabuse/imlib/unpackgl.c87
-rw-r--r--macabuse/imlib/untitled8
-rw-r--r--macabuse/imlib/visobj.c76
-rw-r--r--macabuse/imlib/wildargv.c308
-rw-r--r--macabuse/imlib/xwdread.c586
-rw-r--r--macabuse/inc/ability.hpp25
-rw-r--r--macabuse/inc/ant.hpp21
-rw-r--r--macabuse/inc/automap.hpp25
-rw-r--r--macabuse/inc/bus_type.hpp28
-rw-r--r--macabuse/inc/cache.hpp134
-rw-r--r--macabuse/inc/chars.hpp137
-rw-r--r--macabuse/inc/chat.hpp22
-rw-r--r--macabuse/inc/chmorph.hpp14
-rw-r--r--macabuse/inc/client.hpp48
-rw-r--r--macabuse/inc/clisp.hpp60
-rw-r--r--macabuse/inc/compiled.hpp30
-rw-r--r--macabuse/inc/config.hpp16
-rw-r--r--macabuse/inc/console.hpp45
-rw-r--r--macabuse/inc/control.hpp42
-rw-r--r--macabuse/inc/cop.hpp32
-rw-r--r--macabuse/inc/crc.hpp10
-rw-r--r--macabuse/inc/demo.hpp39
-rw-r--r--macabuse/inc/dev.hpp160
-rw-r--r--macabuse/inc/devsel.hpp26
-rw-r--r--macabuse/inc/director.hpp29
-rw-r--r--macabuse/inc/extend.hpp157
-rw-r--r--macabuse/inc/fakelib.hpp42
-rw-r--r--macabuse/inc/game.hpp150
-rw-r--r--macabuse/inc/gamma.hpp7
-rw-r--r--macabuse/inc/go.hpp64
-rw-r--r--macabuse/inc/gui.hpp44
-rw-r--r--macabuse/inc/help.hpp16
-rw-r--r--macabuse/inc/human.hpp23
-rw-r--r--macabuse/inc/id.hpp269
-rw-r--r--macabuse/inc/idle.hpp49
-rw-r--r--macabuse/inc/intsect.hpp9
-rw-r--r--macabuse/inc/isllist.hpp108
-rw-r--r--macabuse/inc/items.hpp103
-rw-r--r--macabuse/inc/key_cfg.hpp4
-rw-r--r--macabuse/inc/language.hpp1
-rw-r--r--macabuse/inc/laser.hpp29
-rw-r--r--macabuse/inc/lcache.hpp15
-rw-r--r--macabuse/inc/lcaller.hpp11
-rw-r--r--macabuse/inc/level.hpp228
-rw-r--r--macabuse/inc/light.hpp76
-rw-r--r--macabuse/inc/lisp.hpp218
-rw-r--r--macabuse/inc/lisp2.hpp126
-rw-r--r--macabuse/inc/lisp_gc.hpp20
-rw-r--r--macabuse/inc/lisp_opt.hpp9
-rw-r--r--macabuse/inc/lmenu.hpp17
-rw-r--r--macabuse/inc/loader2.hpp79
-rw-r--r--macabuse/inc/loadgame.hpp11
-rw-r--r--macabuse/inc/macgame.hpp3
-rw-r--r--macabuse/inc/menu.hpp8
-rw-r--r--macabuse/inc/mono_cfg.hpp3
-rw-r--r--macabuse/inc/morpher.hpp27
-rw-r--r--macabuse/inc/netcfg.hpp37
-rw-r--r--macabuse/inc/netface.hpp164
-rw-r--r--macabuse/inc/netstat.hpp37
-rw-r--r--macabuse/inc/nfclient.hpp6
-rw-r--r--macabuse/inc/nfserver.hpp48
-rw-r--r--macabuse/inc/objects.hpp165
-rw-r--r--macabuse/inc/parse.hpp18
-rw-r--r--macabuse/inc/particle.hpp55
-rw-r--r--macabuse/inc/points.hpp24
-rw-r--r--macabuse/inc/profile.hpp16
-rw-r--r--macabuse/inc/property.hpp25
-rw-r--r--macabuse/inc/ramfile.hpp110
-rw-r--r--macabuse/inc/sbar.hpp41
-rw-r--r--macabuse/inc/scene.hpp8
-rw-r--r--macabuse/inc/seq.hpp36
-rw-r--r--macabuse/inc/server2.hpp28
-rw-r--r--macabuse/inc/specache.hpp43
-rw-r--r--macabuse/inc/stack.hpp41
-rw-r--r--macabuse/inc/text_gui.hpp19
-rw-r--r--macabuse/inc/tiles.hpp70
-rw-r--r--macabuse/inc/transp.hpp7
-rw-r--r--macabuse/inc/view.hpp136
-rw-r--r--macabuse/install.rsrc0
-rw-r--r--macabuse/light.tblbin0 -> 18946 bytes
-rw-r--r--macabuse/mackeys.lsp1
-rw-r--r--macabuse/maker.lnk4
-rw-r--r--macabuse/maker.lsp43
-rw-r--r--macabuse/src/Makefile24
-rw-r--r--macabuse/src/Makefile.linux2075
-rw-r--r--macabuse/src/ability.c54
-rw-r--r--macabuse/src/ant.c629
-rw-r--r--macabuse/src/ant.hpp21
-rw-r--r--macabuse/src/automap.c201
-rw-r--r--macabuse/src/cache.c1246
-rw-r--r--macabuse/src/calctrig.c27
-rw-r--r--macabuse/src/chars.c572
-rw-r--r--macabuse/src/chat.c41
-rw-r--r--macabuse/src/chmorph.c23
-rw-r--r--macabuse/src/client.c12
-rw-r--r--macabuse/src/clisp.c2326
-rw-r--r--macabuse/src/clisp2.c2827
-rw-r--r--macabuse/src/collide.c227
-rw-r--r--macabuse/src/compile.lsp1
-rw-r--r--macabuse/src/compiled.c141
-rw-r--r--macabuse/src/config.c188
-rw-r--r--macabuse/src/console.c227
-rw-r--r--macabuse/src/control.c65
-rw-r--r--macabuse/src/cop.c1322
-rw-r--r--macabuse/src/crc.c46
-rw-r--r--macabuse/src/demo.c269
-rw-r--r--macabuse/src/dev.c3713
-rw-r--r--macabuse/src/devsel.c179
-rw-r--r--macabuse/src/director.c200
-rw-r--r--macabuse/src/dosnfc.c3
-rw-r--r--macabuse/src/endgame.c522
-rw-r--r--macabuse/src/extend.c139
-rw-r--r--macabuse/src/fnt6x13.c1336
-rw-r--r--macabuse/src/game.c3014
-rw-r--r--macabuse/src/game.c.new1
-rw-r--r--macabuse/src/gamma.c155
-rw-r--r--macabuse/src/go.c352
-rw-r--r--macabuse/src/gui.c155
-rw-r--r--macabuse/src/help.c48
-rw-r--r--macabuse/src/human.c31
-rw-r--r--macabuse/src/idle.c96
-rw-r--r--macabuse/src/innet.c743
-rw-r--r--macabuse/src/install.c297
-rw-r--r--macabuse/src/intsect.c233
-rw-r--r--macabuse/src/items.c352
-rw-r--r--macabuse/src/key_cfg.c245
-rw-r--r--macabuse/src/keydrvbin0 -> 114813 bytes
-rw-r--r--macabuse/src/keydrv.c182
-rw-r--r--macabuse/src/keytest.c60
-rw-r--r--macabuse/src/language.c9
-rw-r--r--macabuse/src/lcache.c135
-rw-r--r--macabuse/src/lcache2.c19
-rw-r--r--macabuse/src/letters.c1097
-rw-r--r--macabuse/src/level.c3345
-rw-r--r--macabuse/src/light.c1370
-rw-r--r--macabuse/src/lisp.c3289
-rw-r--r--macabuse/src/lisp_gc.c268
-rw-r--r--macabuse/src/lisp_mac.c82
-rw-r--r--macabuse/src/lisp_opt.c116
-rw-r--r--macabuse/src/loader2.c502
-rw-r--r--macabuse/src/loadgame.c254
-rw-r--r--macabuse/src/ltree.c48
-rw-r--r--macabuse/src/macgame.c535
-rw-r--r--macabuse/src/maker.c365
-rw-r--r--macabuse/src/menu.c921
-rw-r--r--macabuse/src/mono_cfg.c179
-rw-r--r--macabuse/src/morpher.c91
-rw-r--r--macabuse/src/net/inc.tou0
-rw-r--r--macabuse/src/net/inc/indian.hpp29
-rw-r--r--macabuse/src/net/inc/ipx.hpp369
-rw-r--r--macabuse/src/net/inc/sock.hpp104
-rw-r--r--macabuse/src/net/mac.tou0
-rw-r--r--macabuse/src/net/mac/adsptst.c315
-rw-r--r--macabuse/src/net/mac/atalk.c876
-rw-r--r--macabuse/src/net/mac/atalk.hpp249
-rw-r--r--macabuse/src/net/mac/atalk_util.c694
-rw-r--r--macabuse/src/net/mac/atalk_util.hpp325
-rw-r--r--macabuse/src/net/mac/ddplisten.c90
-rw-r--r--macabuse/src/net/mac/ddplisten.hpp7
-rw-r--r--macabuse/src/net/mac/ddplisten_ppc.c107
-rw-r--r--macabuse/src/net/mac/ddplisten_ppc_bak.c115
-rw-r--r--macabuse/src/net/mac/ddptst.c404
-rw-r--r--macabuse/src/net/mac/ethtstbin0 -> 55183 bytes
-rw-r--r--macabuse/src/net/mac/ethtst.c204
-rw-r--r--macabuse/src/net/mac/gusitestbin0 -> 162229 bytes
-rw-r--r--macabuse/src/net/mac/isllist.hpp108
-rw-r--r--macabuse/src/net/mac/isllist1.hpp89
-rw-r--r--macabuse/src/net/mac/listtstbin0 -> 55368 bytes
-rw-r--r--macabuse/src/net/mac/listtst.cc26
-rw-r--r--macabuse/src/net/mac/mactcp.c195
-rw-r--r--macabuse/src/net/mac/mactcp.hpp189
-rw-r--r--macabuse/src/net/mac/nettst.c170
-rw-r--r--macabuse/src/net/mac/ottcp.c433
-rw-r--r--macabuse/src/net/mac/ottcp.hpp117
-rw-r--r--macabuse/src/net/mac/ottcptestbin0 -> 156428 bytes
-rw-r--r--macabuse/src/net/mac/socktst.c405
-rw-r--r--macabuse/src/net/mac/tcpip.c654
-rw-r--r--macabuse/src/net/mac/tcpip.hpp229
-rw-r--r--macabuse/src/net/mac/tstlist.cc65
-rw-r--r--macabuse/src/net/sock.c28
-rw-r--r--macabuse/src/net/unix.tou0
-rw-r--r--macabuse/src/net/unix/Makefile.SGI227
-rw-r--r--macabuse/src/net/unix/Makefile.linux455
-rw-r--r--macabuse/src/net/unix/endian.hpp37
-rw-r--r--macabuse/src/net/unix/engine.c1241
-rw-r--r--macabuse/src/net/unix/engine.hpp88
-rw-r--r--macabuse/src/net/unix/fileman.c518
-rw-r--r--macabuse/src/net/unix/fileman.hpp78
-rw-r--r--macabuse/src/net/unix/gclient.c182
-rw-r--r--macabuse/src/net/unix/gclient.hpp28
-rw-r--r--macabuse/src/net/unix/ghandler.hpp31
-rw-r--r--macabuse/src/net/unix/gserver.c475
-rw-r--r--macabuse/src/net/unix/gserver.hpp76
-rw-r--r--macabuse/src/net/unix/maker.lsp25
-rw-r--r--macabuse/src/net/unix/netdrv.c595
-rw-r--r--macabuse/src/net/unix/netdrv.hpp97
-rw-r--r--macabuse/src/net/unix/netfile.c460
-rw-r--r--macabuse/src/net/unix/netfile.hpp57
-rw-r--r--macabuse/src/net/unix/tcpip.c198
-rw-r--r--macabuse/src/net/unix/tcpip.hpp201
-rw-r--r--macabuse/src/net/unix/undrv.c194
-rw-r--r--macabuse/src/net/unix/undrv.hpp15
-rw-r--r--macabuse/src/netcfg.c609
-rw-r--r--macabuse/src/netstat.c201
-rw-r--r--macabuse/src/newlight.c888
-rw-r--r--macabuse/src/nfclient.c231
-rw-r--r--macabuse/src/nnetcode93
-rw-r--r--macabuse/src/objects.c1644
-rw-r--r--macabuse/src/old.nfclient.c333
-rw-r--r--macabuse/src/old.nfserver.c334
-rw-r--r--macabuse/src/old_demo_code373
-rw-r--r--macabuse/src/old_earth_menu.c702
-rw-r--r--macabuse/src/old_server.c779
-rw-r--r--macabuse/src/oldhelp.c224
-rw-r--r--macabuse/src/parse.c153
-rw-r--r--macabuse/src/particle.c259
-rw-r--r--macabuse/src/pcxscale.c33
-rw-r--r--macabuse/src/points.c39
-rw-r--r--macabuse/src/profile.c131
-rw-r--r--macabuse/src/property.c179
-rw-r--r--macabuse/src/quadruple.s211
-rw-r--r--macabuse/src/ramfile.c18
-rw-r--r--macabuse/src/remap.c60
-rw-r--r--macabuse/src/scene.c703
-rw-r--r--macabuse/src/sensor.c41
-rw-r--r--macabuse/src/seq.c110
-rw-r--r--macabuse/src/server2.c274
-rw-r--r--macabuse/src/setup.c90
-rw-r--r--macabuse/src/smallfnt.c619
-rw-r--r--macabuse/src/smoosh.c67
-rw-r--r--macabuse/src/sndserver.c344
-rw-r--r--macabuse/src/specache.c105
-rw-r--r--macabuse/src/stack.c26
-rw-r--r--macabuse/src/statbar.c352
-rw-r--r--macabuse/src/status.c66
-rw-r--r--macabuse/src/test2.c11
-rw-r--r--macabuse/src/tester.c28
-rw-r--r--macabuse/src/text_gui.c494
-rw-r--r--macabuse/src/transp.c95
-rw-r--r--macabuse/src/trig.c202
-rw-r--r--macabuse/src/unixnfc.c655
-rw-r--r--macabuse/src/username.c29
-rw-r--r--macabuse/src/version.c57
-rw-r--r--macabuse/src/view.c1220
-rw-r--r--macabuse/src/zonesel.c105
-rw-r--r--missing134
-rw-r--r--mkinstalldirs40
953 files changed, 236134 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..63d7e70
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,8 @@
+SUBDIRS = imlib abuse
+
+debug:
+ $(MAKE) DEFS='-DMANAGE_MEM -DMEM_CHECK' CXXFLAGS=-g
+opt:
+ $(MAKE) DEFS='-DMANAGE_MEM -DNO_CHECK' CXXFLAGS=-O2
+profile:
+ $(MAKE) DEFS='-DMANAGE_MEM -DNO_CHECK' CXXFLAGS='-O2 -g -pg'
diff --git a/Makefile.in b/Makefile.in
new file mode 100644
index 0000000..90ea124
--- /dev/null
+++ b/Makefile.in
@@ -0,0 +1,279 @@
+# Makefile.in generated automatically by automake 1.2 from Makefile.am
+
+# Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
+
+
+SHELL = /bin/sh
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
+
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+
+top_builddir = .
+
+ACLOCAL = @ACLOCAL@
+AUTOCONF = @AUTOCONF@
+AUTOMAKE = @AUTOMAKE@
+AUTOHEADER = @AUTOHEADER@
+
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+transform = @program_transform_name@
+
+NORMAL_INSTALL = true
+PRE_INSTALL = true
+POST_INSTALL = true
+NORMAL_UNINSTALL = true
+PRE_UNINSTALL = true
+POST_UNINSTALL = true
+MAKEINFO = @MAKEINFO@
+PACKAGE = @PACKAGE@
+VERSION = @VERSION@
+
+SUBDIRS = imlib abuse
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_CLEAN_FILES =
+DIST_COMMON = Makefile.am Makefile.in aclocal.m4 config.guess \
+config.sub configure configure.in install-sh missing mkinstalldirs
+
+
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
+
+TAR = gtar
+GZIP = --best
+default: all
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
+
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
+ cd $(top_builddir) \
+ && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+$(ACLOCAL_M4): configure.in
+ cd $(srcdir) && $(ACLOCAL)
+
+config.status: $(srcdir)/configure
+ $(SHELL) ./config.status --recheck
+$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
+ cd $(srcdir) && $(AUTOCONF)
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+# (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+
+@SET_MAKE@
+
+all-recursive install-data-recursive install-exec-recursive \
+installdirs-recursive install-recursive uninstall-recursive \
+check-recursive installcheck-recursive info-recursive dvi-recursive:
+ @set fnord $(MAKEFLAGS); amf=$$2; \
+ for subdir in $(SUBDIRS); do \
+ target=`echo $@ | sed s/-recursive//`; \
+ echo "Making $$target in $$subdir"; \
+ (cd $$subdir && $(MAKE) $$target) \
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+ done && test -z "$$fail"
+
+mostlyclean-recursive clean-recursive distclean-recursive \
+maintainer-clean-recursive:
+ @set fnord $(MAKEFLAGS); amf=$$2; \
+ rev=''; for subdir in $(SUBDIRS); do rev="$$rev $$subdir"; done; \
+ for subdir in $$rev; do \
+ target=`echo $@ | sed s/-recursive//`; \
+ echo "Making $$target in $$subdir"; \
+ (cd $$subdir && $(MAKE) $$target) \
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+ done && test -z "$$fail"
+tags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ (cd $$subdir && $(MAKE) tags); \
+ done
+
+tags: TAGS
+
+ID: $(HEADERS) $(SOURCES)
+ here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES)
+ tags=; \
+ here=`pwd`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+ done; \
+ test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \
+ || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $(SOURCES) $(HEADERS) -o $$here/TAGS)
+
+mostlyclean-tags:
+
+clean-tags:
+
+distclean-tags:
+ rm -f TAGS ID
+
+maintainer-clean-tags:
+
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+
+# This target untars the dist file and tries a VPATH configuration. Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+ rm -rf $(distdir)
+ GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
+ mkdir $(distdir)/=build
+ mkdir $(distdir)/=inst
+ dc_install_base=`cd $(distdir)/=inst && pwd`; \
+ cd $(distdir)/=build \
+ && ../configure --srcdir=.. --prefix=$$dc_install_base \
+ && $(MAKE) \
+ && $(MAKE) dvi \
+ && $(MAKE) check \
+ && $(MAKE) install \
+ && $(MAKE) installcheck \
+ && $(MAKE) dist
+ rm -rf $(distdir)
+ @echo "========================"; \
+ echo "$(distdir).tar.gz is ready for distribution"; \
+ echo "========================"
+dist: distdir
+ -chmod -R a+r $(distdir)
+ GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
+ rm -rf $(distdir)
+dist-all: distdir
+ -chmod -R a+r $(distdir)
+ GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
+ rm -rf $(distdir)
+distdir: $(DISTFILES)
+ rm -rf $(distdir)
+ mkdir $(distdir)
+ -chmod 777 $(distdir)
+ here=`cd $(top_builddir) && pwd`; \
+ top_distdir=`cd $(top_distdir) && pwd`; \
+ cd $(top_srcdir) \
+ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
+ @for file in $(DISTFILES); do \
+ d=$(srcdir); \
+ test -f $(distdir)/$$file \
+ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+ || cp -p $$d/$$file $(distdir)/$$file; \
+ done
+ for subdir in $(SUBDIRS); do \
+ test -d $(distdir)/$$subdir \
+ || mkdir $(distdir)/$$subdir \
+ || exit 1; \
+ chmod 777 $(distdir)/$$subdir; \
+ (cd $$subdir && $(MAKE) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
+ || exit 1; \
+ done
+info: info-recursive
+dvi: dvi-recursive
+check: all-am
+ $(MAKE) check-recursive
+installcheck: installcheck-recursive
+all-am: Makefile
+
+install-exec: install-exec-recursive
+ @$(NORMAL_INSTALL)
+
+install-data: install-data-recursive
+ @$(NORMAL_INSTALL)
+
+install: install-recursive
+ @:
+
+uninstall: uninstall-recursive
+
+all: all-recursive all-am
+
+install-strip:
+ $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
+installdirs: installdirs-recursive
+
+
+mostlyclean-generic:
+ test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
+
+clean-generic:
+ test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+
+distclean-generic:
+ rm -f Makefile $(DISTCLEANFILES)
+ rm -f config.cache config.log stamp-h stamp-h[0-9]*
+ test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
+ test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+mostlyclean-am: mostlyclean-tags mostlyclean-generic
+
+clean-am: clean-tags clean-generic mostlyclean-am
+
+distclean-am: distclean-tags distclean-generic clean-am
+
+maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
+ distclean-am
+
+mostlyclean: mostlyclean-recursive mostlyclean-am
+
+clean: clean-recursive clean-am
+
+distclean: distclean-recursive distclean-am
+ rm -f config.status
+
+maintainer-clean: maintainer-clean-recursive maintainer-clean-am
+ @echo "This command is intended for maintainers to use;"
+ @echo "it deletes files that may require special tools to rebuild."
+ rm -f config.status
+
+.PHONY: default install-data-recursive uninstall-data-recursive \
+install-exec-recursive uninstall-exec-recursive installdirs-recursive \
+uninstalldirs-recursive all-recursive check-recursive \
+installcheck-recursive info-recursive dvi-recursive \
+mostlyclean-recursive distclean-recursive clean-recursive \
+maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
+distclean-tags clean-tags maintainer-clean-tags distdir info dvi \
+installcheck all-am install-exec install-data install uninstall all \
+installdirs mostlyclean-generic distclean-generic clean-generic \
+maintainer-clean-generic clean mostlyclean distclean maintainer-clean
+
+
+debug:
+ $(MAKE) DEFS='-DMANAGE_MEM -DMEM_CHECK' CXXFLAGS=-g
+opt:
+ $(MAKE) DEFS='-DMANAGE_MEM -DNO_CHECK' CXXFLAGS=-O2
+profile:
+ $(MAKE) DEFS='-DMANAGE_MEM -DNO_CHECK' CXXFLAGS='-O2 -g -pg'
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/README b/README
new file mode 100644
index 0000000..b3a0cab
--- /dev/null
+++ b/README
@@ -0,0 +1,103 @@
+Crack dot Com is hereby releasing the source code to Abuse to the
+public domain.
+
+Ownership:
+
+ The following are statements of Crack dot Com's ownership. These
+ items are NOT being submitted to the public domain.
+
+ Crack dot Com retains ownership of the Abuse trademark.
+ Crack dot Com retains ownership of the Crack dot Com trademark.
+ Crack dot Com retains ownership of the Abuse "retail" data set.
+ Crack dot Com retains ownership of the Abuse "registered" data set.
+
+ The "retail" and "registered" data sets are defined as the levels,
+ sound effects, music, artwork and other data which are NOT common to the
+ "shareware" release of the game.
+
+Licenses and Third Party Owners:
+
+ Crack licensed the DOS Abuse rights to Electronic Arts and the Mac Abuse
+ rights to Bungie. Crack is therefore NOT releasing the full data set to
+ the public domain to protect EA's and Bungie's investments in the product.
+
+ Sound effects found in the shareware release of Abuse are the copyright of
+ Bobby Prince and are not being submitted to the public domain.
+
+Disclaimer of Waranty:
+
+ As with most public domain software, no warranty is made or implied
+ by Crack dot Com or Jonathan Clark.
+
+Examples of What you CAN Do:
+
+ Make another game and sell it commercially using the Abuse source code.
+ Use pieces of the source code or shareware data (excluding the WAV's-
+ you must speak to Bobby Prince) however you see fit.
+ Learn how to make a better game.
+ Port Abuse to any system you like.
+
+A note from Jonathan Clark:
+
+ I'm busy coding Golgotha so I don't have time to answer many questions.
+ If you e-mail me, I'll read it (unless it's really long), but I may
+ not answer. If you are making a game with the code, I would like to
+ hear about that sort of thing.
+
+A note from Dave Taylor:
+
+ I didn't write a line of the Abuse source code, but I'm proud to have
+ footed the bill. If any adventurous coders are interested, I would
+ love to someday see a version which runs a lot faster, draws interpolated
+ frames between the 15 Hz (i believe) updates, and runs under Win32. I
+ believe in the released versions, we didn't include a line of assembly,
+ and we've identified several areas that can be optimized.
+
+ Also enclosed is the Mac Abuse source tree. We decided to split
+ the Mac version from the main source tree. The Mac version features
+ several updates to the Abuse engine and is designed primarily for a
+ 640x480 resolution. We do not know if the Mac Abuse source tree
+ compiles these days, so it's certainly wiser for the novice to stick
+ with the main abuse and imlib directories instead of the macabuse/abuse
+ and macabuse/imlib directories.
+
+ Many thanks to Jason Merrill at Cygnus who fitted the Abuse source to
+ use configure and fixed several bugs. The following are exerpts from
+ his e-mail to us detailing some of those changes:
+
+ "You'll need to remove abuse/lnx_sdrv and abuse/keydrv before building so
+ make doesn't rebuild them in the source directory.
+
+ Some crashes fixed. Curiously, building the 'opt' target instead of
+ 'debug' produces a program that doesn't crash in mid-game, though it does
+ occasionally say "jfree: bad pointer". I haven't checked whether this is
+ because of optimization or -DNO_CHECK.
+
+ ABUSE_PATH should work now, but it's useless without ABUSE_SAVE_PATH,
+ which would be harder to fix. The 'abuse' script just makes symlinks
+ to the installed data files.
+
+ keydrv now works and cleans up after itself.
+
+ Changed SVGA mouse init to be run before vga_init so it only needs to be
+ suid root, not run as root. Use vga_getmousetype() instead of checking
+ MOUSE_TYPE.
+
+ The patch uses automake, but stock FSF automake won't work. I had to
+ tweak it to accommodate your source layout. Avoid rebuilding
+ Makefile.in.
+
+ This should work for non-linux UNIX targets as well, but I haven't tested
+ it yet.
+
+ Fixes another couple of crashes and fixes support for sparc-sun-solaris2,
+ mips-sgi-irix5, powerpc-ibm-aix4.1, and probably others I haven't tried.
+ I haven't tested the AIX sound driver."
+
+
+Have fun,
+
+ Jonathan Clark Dave Taylor
+ Lead Programmer/Founder President/Founder
+ Crack dot Com Crack dot Com
+
diff --git a/abuse/Makefile.am b/abuse/Makefile.am
new file mode 100644
index 0000000..b88800b
--- /dev/null
+++ b/abuse/Makefile.am
@@ -0,0 +1,76 @@
+## Process this file with automake to produce Makefile.in
+
+bin_SCRIPTS = abuse
+pkglib_PROGRAMS = abuse.x11R6 $(PROGS)
+EXTRA_PROGRAMS = abuse.console keydrv lnx_sdrv sgi_sdrv aix_sdrv
+pkgdata_DATA = abuse.lsp light.tbl
+
+abuse_x11R6_SOURCES = src/net/mac/tcpip.c src/specache.c src/netcfg.c \
+ src/text_gui.c src/innet.c src/net/unix/gserver.c \
+ src/net/unix/gclient.c src/net/unix/fileman.c src/net/sock.c \
+ src/chat.c src/endgame.c src/setup.c src/version.c \
+ src/loadgame.c src/profile.c src/cop.c src/statbar.c \
+ src/compiled.c src/ant.c src/sensor.c src/lisp_opt.c src/demo.c \
+ src/lcache.c src/lisp_gc.c src/nfclient.c src/username.c \
+ src/clisp.c src/gui.c src/transp.c src/collide.c src/trig.c \
+ src/property.c src/lisp.c src/cache.c src/particle.c \
+ src/objects.c src/extend.c src/console.c src/ability.c \
+ src/items.c src/dev.c src/chars.c src/level.c src/smallfnt.c \
+ src/automap.c src/help.c src/intsect.c src/loader2.c src/seq.c \
+ src/points.c src/fnt6x13.c src/morpher.c src/menu.c \
+ src/director.c src/view.c src/config.c src/game.c src/light.c \
+ src/devsel.c src/crc.c src/gamma.c src/language.c \
+ ../imlib/sprite.c
+abuse_console_SOURCES = $(abuse_x11R6_SOURCES)
+keydrv_SOURCES = src/keydrv.c
+
+lnx_sdrv_SOURCES = ../imlib/port/linux/lnx_sdrv.c
+sgi_sdrv_SOURCES = ../imlib/port/sgi/sgi_sdrv.c
+sgi_sdrv_LDADD = -laudio
+aix_sdrv_SOURCES = ../imlib/port/aix/aix_sdrv.c
+aix_sdrv_LDADD = -lUMSobj
+
+IMLIBS = ../imlib/libimage.a ../imlib/libgui.a \
+ ../imlib/libdir.a ../imlib/libtime.a ../imlib/libsound.a \
+ ../imlib/libjoy.a ../imlib/libpacket.a
+abuse_x11R6_LDADD = $(IMLIBS) ../imlib/libwinman.a \
+ $(X_LIBS) -lX11 -lXext -lm
+abuse_console_LDADD = $(IMLIBS) ../imlib/libsvgawin.a -lvga -lm
+
+INCLUDES = -I$(srcdir)/inc -I$(srcdir)/../imlib/include \
+ -I$(srcdir)/src/net/inc -I$(srcdir)/src/net/unix
+
+MYDEFS = -DMANAGE_MEM -DNO_CHECK
+CXXFLAGS = -g -O2
+
+COMPILE = $(CXX) $(DEFS) $(MYDEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) $(ADDCXXFLAGS) -o $@
+
+debug:
+ $(MAKE) DEFS='-DMANAGE_MEM -DMEM_CHECK' CXXFLAGS=-g
+opt:
+ $(MAKE) DEFS='-DMANAGE_MEM -DNO_CHECK' CXXFLAGS=-O2
+profile:
+ $(MAKE) DEFS='-DMANAGE_MEM -DNO_CHECK' CXXFLAGS='-O2 -g -pg'
+
+../imlib/port/aix/aix_sdrv.o: ../imlib/port/aix/aix_sdrv.c
+ cc -qcpluscmt -O2 -I/usr/lpp/UMS/include -I/usr/lpp/som/include -o $@ -c $<
+
+install-data-local:
+ for f in `(cd $(srcdir); find addon art levels lisp register sfx -type d -print)`; do \
+ $(mkinstalldirs) $(pkgdatadir)/$$f; \
+ done
+ for f in `(cd $(srcdir); find addon art levels lisp register sfx -type f -print)`; do \
+ echo " $(INSTALL_DATA) $(srcdir)/$$f $(pkgdatadir)/$$f"; \
+ $(INSTALL_DATA) $(srcdir)/$$f $(pkgdatadir)/$$f; \
+ done
+
+uninstall-local:
+ rm -rf $(pkgdatadir) $(pkglibdir)
+
+install-exec-local:
+ -if [ -f $(pkglibdir)/abuse.console ]; then \
+ : *** abuse.console needs to run setuid root; \
+ : *** if this fails, set it up yourself; \
+ chown root $(pkglibdir)/abuse.console \
+ && chmod 4755 $(pkglibdir)/abuse.console ; \
+ fi
diff --git a/abuse/Makefile.in b/abuse/Makefile.in
new file mode 100644
index 0000000..4b34baf
--- /dev/null
+++ b/abuse/Makefile.in
@@ -0,0 +1,524 @@
+# Makefile.in generated automatically by automake 1.2 from Makefile.am
+
+# Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
+
+
+SHELL = /bin/sh
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
+
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+
+top_builddir = .
+
+ACLOCAL = @ACLOCAL@
+AUTOCONF = @AUTOCONF@
+AUTOMAKE = @AUTOMAKE@
+AUTOHEADER = @AUTOHEADER@
+
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+transform = @program_transform_name@
+
+NORMAL_INSTALL = true
+PRE_INSTALL = true
+POST_INSTALL = true
+NORMAL_UNINSTALL = true
+PRE_UNINSTALL = true
+POST_UNINSTALL = true
+host_alias = @host_alias@
+host_triplet = @host@
+ADDCFLAGS = @ADDCFLAGS@
+ADDCXXFLAGS = @ADDCXXFLAGS@
+CC = @CC@
+CPP = @CPP@
+CXX = @CXX@
+LIBS = @LIBS@
+MAKEINFO = @MAKEINFO@
+PACKAGE = @PACKAGE@
+PROGS = @PROGS@
+VERSION = @VERSION@
+
+bin_SCRIPTS = abuse
+pkglib_PROGRAMS = abuse.x11R6 $(PROGS)
+EXTRA_PROGRAMS = abuse.console keydrv lnx_sdrv sgi_sdrv aix_sdrv
+pkgdata_DATA = abuse.lsp light.tbl
+
+abuse_x11R6_SOURCES = src/net/mac/tcpip.c src/specache.c src/netcfg.c \
+ src/text_gui.c src/innet.c src/net/unix/gserver.c \
+ src/net/unix/gclient.c src/net/unix/fileman.c src/net/sock.c \
+ src/chat.c src/endgame.c src/setup.c src/version.c \
+ src/loadgame.c src/profile.c src/cop.c src/statbar.c \
+ src/compiled.c src/ant.c src/sensor.c src/lisp_opt.c src/demo.c \
+ src/lcache.c src/lisp_gc.c src/nfclient.c src/username.c \
+ src/clisp.c src/gui.c src/transp.c src/collide.c src/trig.c \
+ src/property.c src/lisp.c src/cache.c src/particle.c \
+ src/objects.c src/extend.c src/console.c src/ability.c \
+ src/items.c src/dev.c src/chars.c src/level.c src/smallfnt.c \
+ src/automap.c src/help.c src/intsect.c src/loader2.c src/seq.c \
+ src/points.c src/fnt6x13.c src/morpher.c src/menu.c \
+ src/director.c src/view.c src/config.c src/game.c src/light.c \
+ src/devsel.c src/crc.c src/gamma.c src/language.c \
+ ../imlib/sprite.c
+abuse_console_SOURCES = $(abuse_x11R6_SOURCES)
+keydrv_SOURCES = src/keydrv.c
+
+lnx_sdrv_SOURCES = ../imlib/port/linux/lnx_sdrv.c
+sgi_sdrv_SOURCES = ../imlib/port/sgi/sgi_sdrv.c
+sgi_sdrv_LDADD = -laudio
+aix_sdrv_SOURCES = ../imlib/port/aix/aix_sdrv.c
+aix_sdrv_LDADD = -lUMSobj
+
+IMLIBS = ../imlib/libimage.a ../imlib/libgui.a \
+ ../imlib/libdir.a ../imlib/libtime.a ../imlib/libsound.a \
+ ../imlib/libjoy.a ../imlib/libpacket.a
+abuse_x11R6_LDADD = $(IMLIBS) ../imlib/libwinman.a \
+ $(X_LIBS) -lX11 -lXext -lm
+abuse_console_LDADD = $(IMLIBS) ../imlib/libsvgawin.a -lvga -lm
+
+INCLUDES = -I$(srcdir)/inc -I$(srcdir)/../imlib/include \
+ -I$(srcdir)/src/net/inc -I$(srcdir)/src/net/unix
+
+MYDEFS = -DMANAGE_MEM -DNO_CHECK
+CXXFLAGS = -g -O2
+
+COMPILE = $(CXX) $(DEFS) $(MYDEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) $(ADDCXXFLAGS) -o $@
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
+CONFIG_CLEAN_FILES = abuse
+PROGRAMS = $(pkglib_PROGRAMS)
+
+
+DEFS = @DEFS@ -I. -I$(srcdir)
+CPPFLAGS = @CPPFLAGS@
+LDFLAGS = @LDFLAGS@
+X_CFLAGS = @X_CFLAGS@
+X_LIBS = @X_LIBS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abuse_console_OBJECTS = src/net/mac/tcpip.o src/specache.o src/netcfg.o \
+src/text_gui.o src/innet.o src/net/unix/gserver.o \
+src/net/unix/gclient.o src/net/unix/fileman.o src/net/sock.o src/chat.o \
+src/endgame.o src/setup.o src/version.o src/loadgame.o src/profile.o \
+src/cop.o src/statbar.o src/compiled.o src/ant.o src/sensor.o \
+src/lisp_opt.o src/demo.o src/lcache.o src/lisp_gc.o src/nfclient.o \
+src/username.o src/clisp.o src/gui.o src/transp.o src/collide.o \
+src/trig.o src/property.o src/lisp.o src/cache.o src/particle.o \
+src/objects.o src/extend.o src/console.o src/ability.o src/items.o \
+src/dev.o src/chars.o src/level.o src/smallfnt.o src/automap.o \
+src/help.o src/intsect.o src/loader2.o src/seq.o src/points.o \
+src/fnt6x13.o src/morpher.o src/menu.o src/director.o src/view.o \
+src/config.o src/game.o src/light.o src/devsel.o src/crc.o src/gamma.o \
+src/language.o ../imlib/sprite.o
+abuse_console_DEPENDENCIES = ../imlib/libimage.a ../imlib/libgui.a \
+../imlib/libdir.a ../imlib/libtime.a ../imlib/libsound.a \
+../imlib/libjoy.a ../imlib/libpacket.a ../imlib/libsvgawin.a
+abuse_console_LDFLAGS =
+keydrv_OBJECTS = src/keydrv.o
+keydrv_LDADD = $(LDADD)
+keydrv_LDFLAGS =
+lnx_sdrv_OBJECTS = ../imlib/port/linux/lnx_sdrv.o
+lnx_sdrv_LDADD = $(LDADD)
+lnx_sdrv_LDFLAGS =
+sgi_sdrv_OBJECTS = ../imlib/port/sgi/sgi_sdrv.o
+sgi_sdrv_DEPENDENCIES =
+sgi_sdrv_LDFLAGS =
+aix_sdrv_OBJECTS = ../imlib/port/aix/aix_sdrv.o
+aix_sdrv_DEPENDENCIES =
+aix_sdrv_LDFLAGS =
+abuse_x11R6_OBJECTS = src/net/mac/tcpip.o src/specache.o src/netcfg.o \
+src/text_gui.o src/innet.o src/net/unix/gserver.o \
+src/net/unix/gclient.o src/net/unix/fileman.o src/net/sock.o src/chat.o \
+src/endgame.o src/setup.o src/version.o src/loadgame.o src/profile.o \
+src/cop.o src/statbar.o src/compiled.o src/ant.o src/sensor.o \
+src/lisp_opt.o src/demo.o src/lcache.o src/lisp_gc.o src/nfclient.o \
+src/username.o src/clisp.o src/gui.o src/transp.o src/collide.o \
+src/trig.o src/property.o src/lisp.o src/cache.o src/particle.o \
+src/objects.o src/extend.o src/console.o src/ability.o src/items.o \
+src/dev.o src/chars.o src/level.o src/smallfnt.o src/automap.o \
+src/help.o src/intsect.o src/loader2.o src/seq.o src/points.o \
+src/fnt6x13.o src/morpher.o src/menu.o src/director.o src/view.o \
+src/config.o src/game.o src/light.o src/devsel.o src/crc.o src/gamma.o \
+src/language.o ../imlib/sprite.o
+abuse_x11R6_DEPENDENCIES = ../imlib/libimage.a ../imlib/libgui.a \
+../imlib/libdir.a ../imlib/libtime.a ../imlib/libsound.a \
+../imlib/libjoy.a ../imlib/libpacket.a ../imlib/libwinman.a
+abuse_x11R6_LDFLAGS =
+SCRIPTS = $(bin_SCRIPTS)
+
+CFLAGS = @CFLAGS@
+LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
+DATA = $(pkgdata_DATA)
+
+DIST_COMMON = Makefile.am Makefile.in abuse.in acinclude.m4 aclocal.m4 \
+configure configure.in
+
+
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
+
+TAR = gtar
+GZIP = --best
+DEP_FILES = ../imlib/.deps/sprite.P ../imlib/port/aix/.deps/aix_sdrv.P \
+../imlib/port/linux/.deps/lnx_sdrv.P ../imlib/port/sgi/.deps/sgi_sdrv.P \
+src/.deps/ability.P src/.deps/ant.P src/.deps/automap.P \
+src/.deps/cache.P src/.deps/chars.P src/.deps/chat.P src/.deps/clisp.P \
+src/.deps/collide.P src/.deps/compiled.P src/.deps/config.P \
+src/.deps/console.P src/.deps/cop.P src/.deps/crc.P src/.deps/demo.P \
+src/.deps/dev.P src/.deps/devsel.P src/.deps/director.P \
+src/.deps/endgame.P src/.deps/extend.P src/.deps/fnt6x13.P \
+src/.deps/game.P src/.deps/gamma.P src/.deps/gui.P src/.deps/help.P \
+src/.deps/innet.P src/.deps/intsect.P src/.deps/items.P \
+src/.deps/keydrv.P src/.deps/language.P src/.deps/lcache.P \
+src/.deps/level.P src/.deps/light.P src/.deps/lisp.P \
+src/.deps/lisp_gc.P src/.deps/lisp_opt.P src/.deps/loader2.P \
+src/.deps/loadgame.P src/.deps/menu.P src/.deps/morpher.P \
+src/.deps/netcfg.P src/.deps/nfclient.P src/.deps/objects.P \
+src/.deps/particle.P src/.deps/points.P src/.deps/profile.P \
+src/.deps/property.P src/.deps/sensor.P src/.deps/seq.P \
+src/.deps/setup.P src/.deps/smallfnt.P src/.deps/specache.P \
+src/.deps/statbar.P src/.deps/text_gui.P src/.deps/transp.P \
+src/.deps/trig.P src/.deps/username.P src/.deps/version.P \
+src/.deps/view.P src/net/.deps/sock.P src/net/mac/.deps/tcpip.P \
+src/net/unix/.deps/fileman.P src/net/unix/.deps/gclient.P \
+src/net/unix/.deps/gserver.P
+SOURCES = $(abuse_console_SOURCES) $(keydrv_SOURCES) $(lnx_sdrv_SOURCES) $(sgi_sdrv_SOURCES) $(aix_sdrv_SOURCES) $(abuse_x11R6_SOURCES)
+OBJECTS = $(abuse_console_OBJECTS) $(keydrv_OBJECTS) $(lnx_sdrv_OBJECTS) $(sgi_sdrv_OBJECTS) $(aix_sdrv_OBJECTS) $(abuse_x11R6_OBJECTS)
+
+default: all
+
+.SUFFIXES:
+.SUFFIXES: .c .o
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
+
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
+ cd $(top_builddir) \
+ && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+$(ACLOCAL_M4): configure.in acinclude.m4
+ cd $(srcdir) && $(ACLOCAL)
+
+config.status: $(srcdir)/configure
+ $(SHELL) ./config.status --recheck
+$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
+ cd $(srcdir) && $(AUTOCONF)
+abuse: $(top_builddir)/config.status abuse.in
+ cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
+
+mostlyclean-pkglibPROGRAMS:
+
+clean-pkglibPROGRAMS:
+ test -z "$(pkglib_PROGRAMS)" || rm -f $(pkglib_PROGRAMS)
+
+distclean-pkglibPROGRAMS:
+
+maintainer-clean-pkglibPROGRAMS:
+
+install-pkglibPROGRAMS: $(pkglib_PROGRAMS)
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(pkglibdir)
+ @list='$(pkglib_PROGRAMS)'; for p in $$list; do \
+ if test -f $$p; then \
+ echo " $(INSTALL_PROGRAM) $$p $(pkglibdir)/`echo $$p|sed '$(transform)'`"; \
+ $(INSTALL_PROGRAM) $$p $(pkglibdir)/`echo $$p|sed '$(transform)'`; \
+ else :; fi; \
+ done
+
+uninstall-pkglibPROGRAMS:
+ $(NORMAL_UNINSTALL)
+ list='$(pkglib_PROGRAMS)'; for p in $$list; do \
+ rm -f $(pkglibdir)/`echo $$p|sed '$(transform)'`; \
+ done
+
+.c.o:
+ $(COMPILE) -c $<
+
+mostlyclean-compile:
+ rm -f *.o core $(OBJECTS)
+
+clean-compile:
+
+distclean-compile:
+ rm -f *.tab.c
+
+maintainer-clean-compile:
+
+abuse.console: $(abuse_console_OBJECTS) $(abuse_console_DEPENDENCIES)
+ @rm -f abuse.console
+ $(LINK) $(abuse_console_LDFLAGS) $(abuse_console_OBJECTS) $(abuse_console_LDADD) $(LIBS)
+
+keydrv: $(keydrv_OBJECTS) $(keydrv_DEPENDENCIES)
+ @rm -f keydrv
+ $(LINK) $(keydrv_LDFLAGS) $(keydrv_OBJECTS) $(keydrv_LDADD) $(LIBS)
+
+lnx_sdrv: $(lnx_sdrv_OBJECTS) $(lnx_sdrv_DEPENDENCIES)
+ @rm -f lnx_sdrv
+ $(LINK) $(lnx_sdrv_LDFLAGS) $(lnx_sdrv_OBJECTS) $(lnx_sdrv_LDADD) $(LIBS)
+
+sgi_sdrv: $(sgi_sdrv_OBJECTS) $(sgi_sdrv_DEPENDENCIES)
+ @rm -f sgi_sdrv
+ $(LINK) $(sgi_sdrv_LDFLAGS) $(sgi_sdrv_OBJECTS) $(sgi_sdrv_LDADD) $(LIBS)
+
+aix_sdrv: $(aix_sdrv_OBJECTS) $(aix_sdrv_DEPENDENCIES)
+ @rm -f aix_sdrv
+ $(LINK) $(aix_sdrv_LDFLAGS) $(aix_sdrv_OBJECTS) $(aix_sdrv_LDADD) $(LIBS)
+
+abuse.x11R6: $(abuse_x11R6_OBJECTS) $(abuse_x11R6_DEPENDENCIES)
+ @rm -f abuse.x11R6
+ $(LINK) $(abuse_x11R6_LDFLAGS) $(abuse_x11R6_OBJECTS) $(abuse_x11R6_LDADD) $(LIBS)
+
+install-binSCRIPTS: $(bin_SCRIPTS)
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(bindir)
+ @list='$(bin_SCRIPTS)'; for p in $$list; do \
+ if test -f $$p; then \
+ echo " $(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
+ $(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
+ else if test -f $(srcdir)/$$p; then \
+ echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
+ $(INSTALL_SCRIPT) $(srcdir)/$$p $(bindir)/`echo $$p|sed '$(transform)'`; \
+ else :; fi; fi; \
+ done
+
+uninstall-binSCRIPTS:
+ $(NORMAL_UNINSTALL)
+ list='$(bin_SCRIPTS)'; for p in $$list; do \
+ rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
+ done
+
+install-pkgdataDATA: $(pkgdata_DATA)
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(pkgdatadir)
+ @list='$(pkgdata_DATA)'; for p in $$list; do \
+ if test -f $(srcdir)/$$p; then \
+ echo " $(INSTALL_DATA) $(srcdir)/$$p $(pkgdatadir)/$$p"; \
+ $(INSTALL_DATA) $(srcdir)/$$p $(pkgdatadir)/$$p; \
+ else if test -f $$p; then \
+ echo " $(INSTALL_DATA) $$p $(pkgdatadir)/$$p"; \
+ $(INSTALL_DATA) $$p $(pkgdatadir)/$$p; \
+ fi; fi; \
+ done
+
+uninstall-pkgdataDATA:
+ $(NORMAL_UNINSTALL)
+ list='$(pkgdata_DATA)'; for p in $$list; do \
+ rm -f $(pkgdatadir)/$$p; \
+ done
+
+tags: TAGS
+
+ID: $(HEADERS) $(SOURCES)
+ here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES)
+ tags=; \
+ here=`pwd`; \
+ test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \
+ || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $(SOURCES) $(HEADERS) -o $$here/TAGS)
+
+mostlyclean-tags:
+
+clean-tags:
+
+distclean-tags:
+ rm -f TAGS ID
+
+maintainer-clean-tags:
+
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+
+# This target untars the dist file and tries a VPATH configuration. Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+ rm -rf $(distdir)
+ GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
+ mkdir $(distdir)/=build
+ mkdir $(distdir)/=inst
+ dc_install_base=`cd $(distdir)/=inst && pwd`; \
+ cd $(distdir)/=build \
+ && ../configure --srcdir=.. --prefix=$$dc_install_base \
+ && $(MAKE) \
+ && $(MAKE) dvi \
+ && $(MAKE) check \
+ && $(MAKE) install \
+ && $(MAKE) installcheck \
+ && $(MAKE) dist
+ rm -rf $(distdir)
+ @echo "========================"; \
+ echo "$(distdir).tar.gz is ready for distribution"; \
+ echo "========================"
+dist: distdir
+ -chmod -R a+r $(distdir)
+ GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
+ rm -rf $(distdir)
+dist-all: distdir
+ -chmod -R a+r $(distdir)
+ GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
+ rm -rf $(distdir)
+distdir: $(DISTFILES)
+ rm -rf $(distdir)
+ mkdir $(distdir)
+ -chmod 777 $(distdir)
+ here=`cd $(top_builddir) && pwd`; \
+ top_distdir=`cd $(top_distdir) && pwd`; \
+ cd $(top_srcdir) \
+ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
+ @for file in $(DISTFILES); do \
+ d=$(srcdir); \
+ test -f $(distdir)/$$file \
+ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+ || cp -p $$d/$$file $(distdir)/$$file; \
+ done
+
+MKDEP = gcc -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
+
+DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
+-include .deps/.P
+.deps/.P: $(BUILT_SOURCES)
+ echo > $@
+
+-include $(DEP_FILES)
+
+mostlyclean-depend:
+
+clean-depend:
+
+distclean-depend:
+
+maintainer-clean-depend:
+ rm -rf .deps
+
+.deps/%.P: %.c
+ @echo "Computing dependencies for $<..."
+ @o='o'; \
+ test -n "$o" && o='$$o'; \
+ $(MKDEP) $< >$@.tmp \
+ && sed "s,^\(.*\)\.o:,\1.$$o \1.l$$o $@:," < $@.tmp > $@ \
+ && rm -f $@.tmp
+info:
+dvi:
+check: all
+ $(MAKE)
+installcheck:
+install-exec: install-pkglibPROGRAMS install-binSCRIPTS install-exec-local
+ @$(NORMAL_INSTALL)
+
+install-data: install-pkgdataDATA install-data-local
+ @$(NORMAL_INSTALL)
+
+install: install-exec install-data all
+ @:
+
+uninstall: uninstall-pkglibPROGRAMS uninstall-binSCRIPTS uninstall-pkgdataDATA uninstall-local
+
+all: Makefile $(PROGRAMS) $(SCRIPTS) $(DATA)
+
+install-strip:
+ $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
+installdirs:
+ $(mkinstalldirs) $(pkglibdir) $(bindir) $(pkgdatadir)
+
+
+mostlyclean-generic:
+ test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
+
+clean-generic:
+ test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+
+distclean-generic:
+ rm -f Makefile $(DISTCLEANFILES)
+ rm -f config.cache config.log stamp-h stamp-h[0-9]*
+ test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
+ test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+mostlyclean: mostlyclean-pkglibPROGRAMS mostlyclean-compile \
+ mostlyclean-tags mostlyclean-depend mostlyclean-generic
+
+clean: clean-pkglibPROGRAMS clean-compile clean-tags clean-depend \
+ clean-generic mostlyclean
+
+distclean: distclean-pkglibPROGRAMS distclean-compile distclean-tags \
+ distclean-depend distclean-generic clean
+ rm -f config.status
+
+maintainer-clean: maintainer-clean-pkglibPROGRAMS \
+ maintainer-clean-compile maintainer-clean-tags \
+ maintainer-clean-depend maintainer-clean-generic \
+ distclean
+ @echo "This command is intended for maintainers to use;"
+ @echo "it deletes files that may require special tools to rebuild."
+ rm -f config.status
+
+.PHONY: default mostlyclean-pkglibPROGRAMS distclean-pkglibPROGRAMS \
+clean-pkglibPROGRAMS maintainer-clean-pkglibPROGRAMS \
+uninstall-pkglibPROGRAMS install-pkglibPROGRAMS mostlyclean-compile \
+distclean-compile clean-compile maintainer-clean-compile \
+uninstall-binSCRIPTS install-binSCRIPTS uninstall-pkgdataDATA \
+install-pkgdataDATA tags mostlyclean-tags distclean-tags clean-tags \
+maintainer-clean-tags distdir mostlyclean-depend distclean-depend \
+clean-depend maintainer-clean-depend info dvi installcheck install-exec \
+install-data install uninstall all installdirs mostlyclean-generic \
+distclean-generic clean-generic maintainer-clean-generic clean \
+mostlyclean distclean maintainer-clean
+
+
+debug:
+ $(MAKE) DEFS='-DMANAGE_MEM -DMEM_CHECK' CXXFLAGS=-g
+opt:
+ $(MAKE) DEFS='-DMANAGE_MEM -DNO_CHECK' CXXFLAGS=-O2
+profile:
+ $(MAKE) DEFS='-DMANAGE_MEM -DNO_CHECK' CXXFLAGS='-O2 -g -pg'
+
+../imlib/port/aix/aix_sdrv.o: ../imlib/port/aix/aix_sdrv.c
+ cc -qcpluscmt -O2 -I/usr/lpp/UMS/include -I/usr/lpp/som/include -o $@ -c $<
+
+install-data-local:
+ for f in `(cd $(srcdir); find addon art levels lisp register sfx -type d -print)`; do \
+ $(mkinstalldirs) $(pkgdatadir)/$$f; \
+ done
+ for f in `(cd $(srcdir); find addon art levels lisp register sfx -type f -print)`; do \
+ echo " $(INSTALL_DATA) $(srcdir)/$$f $(pkgdatadir)/$$f"; \
+ $(INSTALL_DATA) $(srcdir)/$$f $(pkgdatadir)/$$f; \
+ done
+
+uninstall-local:
+ rm -rf $(pkgdatadir) $(pkglibdir)
+
+install-exec-local:
+ -if [ -f $(pkglibdir)/abuse.console ]; then \
+ : *** abuse.console needs to run setuid root; \
+ : *** if this fails, set it up yourself; \
+ chown root $(pkglibdir)/abuse.console \
+ && chmod 4755 $(pkglibdir)/abuse.console ; \
+ fi
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/abuse/abuse.in b/abuse/abuse.in
new file mode 100644
index 0000000..a1ec412
--- /dev/null
+++ b/abuse/abuse.in
@@ -0,0 +1,31 @@
+#! /bin/sh
+
+[ -d ${HOME}/.abuse ] || mkdir ${HOME}/.abuse || exit 1
+
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+ddir=@datadir@/abuse
+xdir=@libdir@/abuse
+
+mydir=`dirname $0`
+if [ -f ${mydir}/Makefile ]; then
+ ddir=`cd @srcdir@; pwd`
+ xdir=`cd ${mydir}; pwd`
+fi
+
+cd ${HOME}/.abuse || exit 1
+
+rm -f abuse.lsp art levels lisp register sfx light.tbl
+ln -s ${ddir}/abuse.lsp ${ddir}/art ${ddir}/levels ${ddir}/lisp \
+ ${ddir}/register ${ddir}/sfx ${ddir}/light.tbl . || exit 1
+
+trap "rm -f abuse.lsp art levels lisp register sfx light.tbl core end.mem fastload.dat sd_cache.tmp" 0 1 2 15
+
+PATH=${xdir}:${PATH}
+export PATH
+
+if [ x$TERM = xlinux ]; then
+ abuse.console ${1:+"$@"}
+else
+ abuse.x11R6 ${1:+"$@"}
+fi
diff --git a/abuse/abuse.lsp b/abuse/abuse.lsp
new file mode 100644
index 0000000..18c2334
--- /dev/null
+++ b/abuse/abuse.lsp
@@ -0,0 +1,62 @@
+(perm-space)
+(setq load_warn nil)
+(setq section 'game_section)
+(if (not (load "lisp/english.lsp")) ;; load language specific stuff
+ (progn (print "Please make sure you unzipped the game with the -d option")(quit)))
+(setq load_warn T)
+(load "lisp/common.lsp")
+(load "lisp/userfuns.lsp")
+(load "lisp/options.lsp")
+(load "lisp/startup.lsp")
+
+
+;*************************************
+;*************************************
+;*************************************
+(if (not (local_load "lisp/input.lsp")) ; get local copy first
+ (load "lisp/input.lsp"))
+;*************************************
+;*************************************
+;*************************************
+;*************************************
+;*************************************
+;*************************************
+(load "lisp/sfx.lsp")
+;*************************************
+;*************************************
+;*************************************
+(load "lisp/gates.lsp")
+;*************************************
+;*************************************
+;*************************************
+(load "lisp/duong.lsp")
+;*************************************
+;*************************************
+;*************************************
+(load "lisp/ant.lsp")
+;*************************************
+;*************************************
+;*************************************
+(load "lisp/people.lsp")
+;*************************************
+;*************************************
+;*************************************
+(load "lisp/weapons.lsp")
+;*************************************
+;*************************************
+;*************************************
+(load "lisp/explo.lsp")
+;*************************************
+;*************************************
+;*************************************
+(load "lisp/platform.lsp")
+(load "lisp/guns.lsp")
+(load "lisp/jugger.lsp")
+(load "lisp/flyer.lsp")
+(load "lisp/teleport.lsp")
+(load "lisp/general.lsp")
+(load "lisp/powerup.lsp")
+(load "lisp/doors.lsp")
+(load "lisp/light.lsp")(load "lisp/ladder.lsp")(load "lisp/switch.lsp")
+(setq bad_guy_list (list DARNEL ANT_ROOF TRACK_GUN SPRAY_GUN JUGGER ROB1 WHO ROCKET FLYER GREEN_FLYER BOSS_ANT))
+(gc)(tmp-space)(create_players DARNEL)
diff --git a/abuse/acinclude.m4 b/abuse/acinclude.m4
new file mode 100644
index 0000000..7174537
--- /dev/null
+++ b/abuse/acinclude.m4
@@ -0,0 +1,83 @@
+dnl AB_CHECK_FLAG(FLAG, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+AC_DEFUN(AB_CHECK_FLAG,
+[
+AC_MSG_CHECKING([whether ifelse(AC_LANG, CPLUSPLUS, ${CXX}, ${CC}) supports the $1 flag])
+ab_flag_var=`echo $1 | sed 'y%./+-%__p_%'`
+AC_CACHE_VAL(ab_cv_flag_$ab_flag_var,
+[
+ifelse(AC_LANG, CPLUSPLUS, [
+ab_save_flags="$CXXFLAGS"
+CXXFLAGS="$CXXFLAGS $1"
+], [
+ab_save_flags="$CFLAGS"
+CFLAGS="$CFLAGS $1"
+])dnl
+AC_TRY_COMPILE(,[int a;],
+eval "ab_cv_flag_$ab_flag_var=yes", eval "ab_cv_flag_$ab_flag_var=no")
+ifelse(AC_LANG, CPLUSPLUS, CXXFLAGS="$ab_save_flags", CFLAGS="$ab_save_flags")
+])
+if eval "test \"`echo '$ab_cv_flag_'$ab_flag_var`\" = yes"; then
+ AC_MSG_RESULT(yes)
+ ifelse([$2], , :, [$2])
+else
+ AC_MSG_RESULT(no)
+ifelse([$3], , , [$3
+])dnl
+fi
+])
+
+dnl AB_ADD_FLAGS(FLAG...)
+AC_DEFUN(AB_ADD_FLAGS,
+[ab_flags=
+for ab_flag in $1; do
+AB_CHECK_FLAG([$ab_flag], [ab_flags="$ab_flags $ab_flag"])
+ifelse(AC_LANG, CPLUSPLUS, [
+ADDCXXFLAGS="$ab_flags"
+AC_SUBST(ADDCXXFLAGS)
+], [
+ADDCFLAGS="$ab_flags"
+AC_SUBST(ADDCFLAGS)
+])dnl
+done
+])
+
+AC_DEFUN(AB_C_BIGENDIAN,
+[AC_CACHE_CHECK(whether byte ordering is bigendian, ac_cv_c_bigendian,
+[ac_cv_c_bigendian=unknown
+# See if we have a good endian.h.
+AC_TRY_CPP([#include <endian.h>], [AC_TRY_COMPILE([#include <endian.h>], [
+#if !__BYTE_ORDER || !__BIG_ENDIAN
+ bogus endian macros
+#endif], [AC_TRY_COMPILE([#include <endian.h>], [
+#if __BYTE_ORDER != __BIG_ENDIAN
+ not big endian
+#endif], ac_cv_c_bigendian=yes, ac_cv_c_bigendian=no)])])
+if test $ac_cv_c_bigendian = unknown; then
+# See if sys/param.h defines the BYTE_ORDER macro.
+AC_TRY_COMPILE([#include <sys/types.h>
+#include <sys/param.h>], [
+#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
+ bogus endian macros
+#endif], [# It does; now see whether it defined to BIG_ENDIAN or not.
+AC_TRY_COMPILE([#include <sys/types.h>
+#include <sys/param.h>], [
+#if BYTE_ORDER != BIG_ENDIAN
+ not big endian
+#endif], ac_cv_c_bigendian=yes, ac_cv_c_bigendian=no)])
+fi
+if test $ac_cv_c_bigendian = unknown; then
+AC_TRY_RUN([main () {
+ /* Are we little or big endian? From Harbison&Steele. */
+ union
+ {
+ long l;
+ char c[sizeof (long)];
+ } u;
+ u.l = 1;
+ exit (u.c[sizeof (long) - 1] == 1);
+}], ac_cv_c_bigendian=no, ac_cv_c_bigendian=yes)
+fi])
+if test $ac_cv_c_bigendian = yes; then
+ AC_DEFINE(WORDS_BIGENDIAN)
+fi
+])
diff --git a/abuse/aclocal.m4 b/abuse/aclocal.m4
new file mode 100644
index 0000000..05b155f
--- /dev/null
+++ b/abuse/aclocal.m4
@@ -0,0 +1,176 @@
+dnl aclocal.m4 generated automatically by aclocal 1.2
+
+dnl AB_CHECK_FLAG(FLAG, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+AC_DEFUN(AB_CHECK_FLAG,
+[
+AC_MSG_CHECKING([whether ifelse(AC_LANG, CPLUSPLUS, ${CXX}, ${CC}) supports the $1 flag])
+ab_flag_var=`echo $1 | sed 'y%./+-%__p_%'`
+AC_CACHE_VAL(ab_cv_flag_$ab_flag_var,
+[
+ifelse(AC_LANG, CPLUSPLUS, [
+ab_save_flags="$CXXFLAGS"
+CXXFLAGS="$CXXFLAGS $1"
+], [
+ab_save_flags="$CFLAGS"
+CFLAGS="$CFLAGS $1"
+])dnl
+AC_TRY_COMPILE(,[int a;],
+eval "ab_cv_flag_$ab_flag_var=yes", eval "ab_cv_flag_$ab_flag_var=no")
+ifelse(AC_LANG, CPLUSPLUS, CXXFLAGS="$ab_save_flags", CFLAGS="$ab_save_flags")
+])
+if eval "test \"`echo '$ab_cv_flag_'$ab_flag_var`\" = yes"; then
+ AC_MSG_RESULT(yes)
+ ifelse([$2], , :, [$2])
+else
+ AC_MSG_RESULT(no)
+ifelse([$3], , , [$3
+])dnl
+fi
+])
+
+dnl AB_ADD_FLAGS(FLAG...)
+AC_DEFUN(AB_ADD_FLAGS,
+[ab_flags=
+for ab_flag in $1; do
+AB_CHECK_FLAG([$ab_flag], [ab_flags="$ab_flags $ab_flag"])
+ifelse(AC_LANG, CPLUSPLUS, [
+ADDCXXFLAGS="$ab_flags"
+AC_SUBST(ADDCXXFLAGS)
+], [
+ADDCFLAGS="$ab_flags"
+AC_SUBST(ADDCFLAGS)
+])dnl
+done
+])
+
+AC_DEFUN(AB_C_BIGENDIAN,
+[AC_CACHE_CHECK(whether byte ordering is bigendian, ac_cv_c_bigendian,
+[ac_cv_c_bigendian=unknown
+# See if we have a good endian.h.
+AC_TRY_CPP([#include <endian.h>], [AC_TRY_COMPILE([#include <endian.h>], [
+#if !__BYTE_ORDER || !__BIG_ENDIAN
+ bogus endian macros
+#endif], [AC_TRY_COMPILE([#include <endian.h>], [
+#if __BYTE_ORDER != __BIG_ENDIAN
+ not big endian
+#endif], ac_cv_c_bigendian=yes, ac_cv_c_bigendian=no)])])
+if test $ac_cv_c_bigendian = unknown; then
+# See if sys/param.h defines the BYTE_ORDER macro.
+AC_TRY_COMPILE([#include <sys/types.h>
+#include <sys/param.h>], [
+#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
+ bogus endian macros
+#endif], [# It does; now see whether it defined to BIG_ENDIAN or not.
+AC_TRY_COMPILE([#include <sys/types.h>
+#include <sys/param.h>], [
+#if BYTE_ORDER != BIG_ENDIAN
+ not big endian
+#endif], ac_cv_c_bigendian=yes, ac_cv_c_bigendian=no)])
+fi
+if test $ac_cv_c_bigendian = unknown; then
+AC_TRY_RUN([main () {
+ /* Are we little or big endian? From Harbison&Steele. */
+ union
+ {
+ long l;
+ char c[sizeof (long)];
+ } u;
+ u.l = 1;
+ exit (u.c[sizeof (long) - 1] == 1);
+}], ac_cv_c_bigendian=no, ac_cv_c_bigendian=yes)
+fi])
+if test $ac_cv_c_bigendian = yes; then
+ AC_DEFINE(WORDS_BIGENDIAN)
+fi
+])
+
+# Do all the work for Automake. This macro actually does too much --
+# some checks are only needed if your package does certain things.
+# But this isn't really a big deal.
+
+# serial 1
+
+dnl Usage:
+dnl AM_INIT_AUTOMAKE(package,version, [no-define])
+
+AC_DEFUN(AM_INIT_AUTOMAKE,
+[AC_REQUIRE([AM_PROG_INSTALL])
+PACKAGE=[$1]
+AC_SUBST(PACKAGE)
+VERSION=[$2]
+AC_SUBST(VERSION)
+dnl test to see if srcdir already configured
+if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+fi
+ifelse([$3],,
+AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
+AC_DEFINE_UNQUOTED(VERSION, "$VERSION"))
+AM_SANITY_CHECK
+AC_ARG_PROGRAM
+dnl FIXME This is truly gross.
+missing_dir=`cd $ac_aux_dir && pwd`
+AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
+AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
+AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
+AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
+AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
+AC_PROG_MAKE_SET])
+
+
+# serial 1
+
+AC_DEFUN(AM_PROG_INSTALL,
+[AC_REQUIRE([AC_PROG_INSTALL])
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
+AC_SUBST(INSTALL_SCRIPT)dnl
+])
+
+#
+# Check to make sure that the build environment is sane.
+#
+
+AC_DEFUN(AM_SANITY_CHECK,
+[AC_MSG_CHECKING([whether build environment is sane])
+# Just in case
+sleep 1
+echo timestamp > conftestfile
+# Do `set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
+ if test "$@" = "X"; then
+ # -L didn't work.
+ set X `ls -t $srcdir/configure conftestfile`
+ fi
+ test "[$]2" = conftestfile
+ )
+then
+ # Ok.
+ :
+else
+ AC_MSG_WARN([newly created file is older than distributed files!
+Check your system clock])
+fi
+rm -f conftest*
+AC_MSG_RESULT(yes)])
+
+dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
+dnl The program must properly implement --version.
+AC_DEFUN(AM_MISSING_PROG,
+[AC_MSG_CHECKING(for working $2)
+# Run test in a subshell; some versions of sh will print an error if
+# an executable is not found, even if stderr is redirected.
+# Redirect stdin to placate older versions of autoconf. Sigh.
+if ($2 --version) < /dev/null > /dev/null 2>&1; then
+ $1=$2
+ AC_MSG_RESULT(found)
+else
+ $1="$3/missing $2"
+ AC_MSG_RESULT(missing)
+fi
+AC_SUBST($1)])
+
diff --git a/abuse/b.bat b/abuse/b.bat
new file mode 100644
index 0000000..23a4447
--- /dev/null
+++ b/abuse/b.bat
@@ -0,0 +1,7 @@
+f:\crack\dos4gw\4gwbind f:\crack\dos4gw\4gwpro.exe gameo.exe f:\crack\tmp\abuse.exe -V
+f:\crack\dos4gw\4gwbind f:\crack\dos4gw\4gwpro.exe setup.exe f:\crack\tmp\setup.exe -V
+f:\crack\dos4gw\4gwbind f:\crack\dos4gw\4gwpro.exe install.exe f:\crack\tmp\install.exe -V
+f:\crack\dos4gw\4gwbind f:\crack\dos4gw\4gwpro.exe f:\crack\keep\hmi_fre\exe\setup.exe f:\crack\tmp\fren_set.exe -V
+f:\crack\dos4gw\4gwbind f:\crack\dos4gw\4gwpro.exe f:\crack\keep\hmi_ger\exe\setup.exe f:\crack\tmp\germ_set.exe -V
+
+
diff --git a/abuse/c.bat b/abuse/c.bat
new file mode 100644
index 0000000..d96e46b
--- /dev/null
+++ b/abuse/c.bat
@@ -0,0 +1,2 @@
+c:
+cd\abuse
diff --git a/abuse/configure b/abuse/configure
new file mode 100644
index 0000000..22416f9
--- /dev/null
+++ b/abuse/configure
@@ -0,0 +1,2790 @@
+#! /bin/sh
+
+# Guess values for system-dependent variables and create Makefiles.
+# Generated automatically using autoconf version 2.12
+# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
+#
+# This configure script is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
+
+# Defaults:
+ac_help=
+ac_default_prefix=/usr/local
+# Any additions from configure.in:
+ac_help="$ac_help
+ --with-x use the X Window System"
+
+# Initialize some variables set by options.
+# The variables have the same names as the options, with
+# dashes changed to underlines.
+build=NONE
+cache_file=./config.cache
+exec_prefix=NONE
+host=NONE
+no_create=
+nonopt=NONE
+no_recursion=
+prefix=NONE
+program_prefix=NONE
+program_suffix=NONE
+program_transform_name=s,x,x,
+silent=
+site=
+srcdir=
+target=NONE
+verbose=
+x_includes=NONE
+x_libraries=NONE
+bindir='${exec_prefix}/bin'
+sbindir='${exec_prefix}/sbin'
+libexecdir='${exec_prefix}/libexec'
+datadir='${prefix}/share'
+sysconfdir='${prefix}/etc'
+sharedstatedir='${prefix}/com'
+localstatedir='${prefix}/var'
+libdir='${exec_prefix}/lib'
+includedir='${prefix}/include'
+oldincludedir='/usr/include'
+infodir='${prefix}/info'
+mandir='${prefix}/man'
+
+# Initialize some other variables.
+subdirs=
+MFLAGS= MAKEFLAGS=
+# Maximum number of lines to put in a shell here document.
+ac_max_here_lines=12
+
+ac_prev=
+for ac_option
+do
+
+ # If the previous option needs an argument, assign it.
+ if test -n "$ac_prev"; then
+ eval "$ac_prev=\$ac_option"
+ ac_prev=
+ continue
+ fi
+
+ case "$ac_option" in
+ -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+ *) ac_optarg= ;;
+ esac
+
+ # Accept the important Cygnus configure options, so we can diagnose typos.
+
+ case "$ac_option" in
+
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
+ ac_prev=bindir ;;
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+ bindir="$ac_optarg" ;;
+
+ -build | --build | --buil | --bui | --bu)
+ ac_prev=build ;;
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
+ build="$ac_optarg" ;;
+
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+ ac_prev=cache_file ;;
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
+ cache_file="$ac_optarg" ;;
+
+ -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
+ ac_prev=datadir ;;
+ -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
+ | --da=*)
+ datadir="$ac_optarg" ;;
+
+ -disable-* | --disable-*)
+ ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
+ # Reject names that are not valid shell variable names.
+ if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
+ { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
+ fi
+ ac_feature=`echo $ac_feature| sed 's/-/_/g'`
+ eval "enable_${ac_feature}=no" ;;
+
+ -enable-* | --enable-*)
+ ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
+ # Reject names that are not valid shell variable names.
+ if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
+ { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
+ fi
+ ac_feature=`echo $ac_feature| sed 's/-/_/g'`
+ case "$ac_option" in
+ *=*) ;;
+ *) ac_optarg=yes ;;
+ esac
+ eval "enable_${ac_feature}='$ac_optarg'" ;;
+
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+ | --exec | --exe | --ex)
+ ac_prev=exec_prefix ;;
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+ | --exec=* | --exe=* | --ex=*)
+ exec_prefix="$ac_optarg" ;;
+
+ -gas | --gas | --ga | --g)
+ # Obsolete; use --with-gas.
+ with_gas=yes ;;
+
+ -help | --help | --hel | --he)
+ # Omit some internal or obsolete options to make the list less imposing.
+ # This message is too long to be a string in the A/UX 3.1 sh.
+ cat << EOF
+Usage: configure [options] [host]
+Options: [defaults in brackets after descriptions]
+Configuration:
+ --cache-file=FILE cache test results in FILE
+ --help print this message
+ --no-create do not create output files
+ --quiet, --silent do not print \`checking...' messages
+ --version print the version of autoconf that created configure
+Directory and file names:
+ --prefix=PREFIX install architecture-independent files in PREFIX
+ [$ac_default_prefix]
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+ [same as prefix]
+ --bindir=DIR user executables in DIR [EPREFIX/bin]
+ --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
+ --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
+ --datadir=DIR read-only architecture-independent data in DIR
+ [PREFIX/share]
+ --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data in DIR
+ [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
+ --libdir=DIR object code libraries in DIR [EPREFIX/lib]
+ --includedir=DIR C header files in DIR [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
+ --infodir=DIR info documentation in DIR [PREFIX/info]
+ --mandir=DIR man documentation in DIR [PREFIX/man]
+ --srcdir=DIR find the sources in DIR [configure dir or ..]
+ --program-prefix=PREFIX prepend PREFIX to installed program names
+ --program-suffix=SUFFIX append SUFFIX to installed program names
+ --program-transform-name=PROGRAM
+ run sed PROGRAM on installed program names
+EOF
+ cat << EOF
+Host type:
+ --build=BUILD configure for building on BUILD [BUILD=HOST]
+ --host=HOST configure for HOST [guessed]
+ --target=TARGET configure for TARGET [TARGET=HOST]
+Features and packages:
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --x-includes=DIR X include files are in DIR
+ --x-libraries=DIR X library files are in DIR
+EOF
+ if test -n "$ac_help"; then
+ echo "--enable and --with options recognized:$ac_help"
+ fi
+ exit 0 ;;
+
+ -host | --host | --hos | --ho)
+ ac_prev=host ;;
+ -host=* | --host=* | --hos=* | --ho=*)
+ host="$ac_optarg" ;;
+
+ -includedir | --includedir | --includedi | --included | --include \
+ | --includ | --inclu | --incl | --inc)
+ ac_prev=includedir ;;
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
+ includedir="$ac_optarg" ;;
+
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
+ ac_prev=infodir ;;
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
+ infodir="$ac_optarg" ;;
+
+ -libdir | --libdir | --libdi | --libd)
+ ac_prev=libdir ;;
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
+ libdir="$ac_optarg" ;;
+
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
+ | --libexe | --libex | --libe)
+ ac_prev=libexecdir ;;
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
+ | --libexe=* | --libex=* | --libe=*)
+ libexecdir="$ac_optarg" ;;
+
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
+ | --localstate | --localstat | --localsta | --localst \
+ | --locals | --local | --loca | --loc | --lo)
+ ac_prev=localstatedir ;;
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* \
+ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
+ localstatedir="$ac_optarg" ;;
+
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
+ ac_prev=mandir ;;
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
+ mandir="$ac_optarg" ;;
+
+ -nfp | --nfp | --nf)
+ # Obsolete; use --without-fp.
+ with_fp=no ;;
+
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+ | --no-cr | --no-c)
+ no_create=yes ;;
+
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
+ no_recursion=yes ;;
+
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
+ | --oldin | --oldi | --old | --ol | --o)
+ ac_prev=oldincludedir ;;
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
+ oldincludedir="$ac_optarg" ;;
+
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ prefix="$ac_optarg" ;;
+
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
+ | --program-pre | --program-pr | --program-p)
+ ac_prev=program_prefix ;;
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
+ program_prefix="$ac_optarg" ;;
+
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
+ | --program-suf | --program-su | --program-s)
+ ac_prev=program_suffix ;;
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
+ program_suffix="$ac_optarg" ;;
+
+ -program-transform-name | --program-transform-name \
+ | --program-transform-nam | --program-transform-na \
+ | --program-transform-n | --program-transform- \
+ | --program-transform | --program-transfor \
+ | --program-transfo | --program-transf \
+ | --program-trans | --program-tran \
+ | --progr-tra | --program-tr | --program-t)
+ ac_prev=program_transform_name ;;
+ -program-transform-name=* | --program-transform-name=* \
+ | --program-transform-nam=* | --program-transform-na=* \
+ | --program-transform-n=* | --program-transform-=* \
+ | --program-transform=* | --program-transfor=* \
+ | --program-transfo=* | --program-transf=* \
+ | --program-trans=* | --program-tran=* \
+ | --progr-tra=* | --program-tr=* | --program-t=*)
+ program_transform_name="$ac_optarg" ;;
+
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ silent=yes ;;
+
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
+ ac_prev=sbindir ;;
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
+ | --sbi=* | --sb=*)
+ sbindir="$ac_optarg" ;;
+
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
+ | --sharedst | --shareds | --shared | --share | --shar \
+ | --sha | --sh)
+ ac_prev=sharedstatedir ;;
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
+ | --sha=* | --sh=*)
+ sharedstatedir="$ac_optarg" ;;
+
+ -site | --site | --sit)
+ ac_prev=site ;;
+ -site=* | --site=* | --sit=*)
+ site="$ac_optarg" ;;
+
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ srcdir="$ac_optarg" ;;
+
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
+ | --syscon | --sysco | --sysc | --sys | --sy)
+ ac_prev=sysconfdir ;;
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
+ sysconfdir="$ac_optarg" ;;
+
+ -target | --target | --targe | --targ | --tar | --ta | --t)
+ ac_prev=target ;;
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
+ target="$ac_optarg" ;;
+
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
+ verbose=yes ;;
+
+ -version | --version | --versio | --versi | --vers)
+ echo "configure generated by autoconf version 2.12"
+ exit 0 ;;
+
+ -with-* | --with-*)
+ ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
+ # Reject names that are not valid shell variable names.
+ if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
+ { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
+ fi
+ ac_package=`echo $ac_package| sed 's/-/_/g'`
+ case "$ac_option" in
+ *=*) ;;
+ *) ac_optarg=yes ;;
+ esac
+ eval "with_${ac_package}='$ac_optarg'" ;;
+
+ -without-* | --without-*)
+ ac_package=`echo $ac_option|sed -e 's/-*without-//'`
+ # Reject names that are not valid shell variable names.
+ if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
+ { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
+ fi
+ ac_package=`echo $ac_package| sed 's/-/_/g'`
+ eval "with_${ac_package}=no" ;;
+
+ --x)
+ # Obsolete; use --with-x.
+ with_x=yes ;;
+
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
+ | --x-incl | --x-inc | --x-in | --x-i)
+ ac_prev=x_includes ;;
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
+ x_includes="$ac_optarg" ;;
+
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
+ ac_prev=x_libraries ;;
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+ x_libraries="$ac_optarg" ;;
+
+ -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
+ ;;
+
+ *)
+ if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
+ echo "configure: warning: $ac_option: invalid host type" 1>&2
+ fi
+ if test "x$nonopt" != xNONE; then
+ { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
+ fi
+ nonopt="$ac_option"
+ ;;
+
+ esac
+done
+
+if test -n "$ac_prev"; then
+ { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
+fi
+
+trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
+
+# File descriptor usage:
+# 0 standard input
+# 1 file creation
+# 2 errors and warnings
+# 3 some systems may open it to /dev/tty
+# 4 used on the Kubota Titan
+# 6 checking for... messages and results
+# 5 compiler messages saved in config.log
+if test "$silent" = yes; then
+ exec 6>/dev/null
+else
+ exec 6>&1
+fi
+exec 5>./config.log
+
+echo "\
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+" 1>&5
+
+# Strip out --no-create and --no-recursion so they do not pile up.
+# Also quote any args containing shell metacharacters.
+ac_configure_args=
+for ac_arg
+do
+ case "$ac_arg" in
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+ | --no-cr | --no-c) ;;
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
+ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
+ ac_configure_args="$ac_configure_args '$ac_arg'" ;;
+ *) ac_configure_args="$ac_configure_args $ac_arg" ;;
+ esac
+done
+
+# NLS nuisances.
+# Only set these to C if already set. These must not be set unconditionally
+# because not all systems understand e.g. LANG=C (notably SCO).
+# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
+# Non-C LC_CTYPE values break the ctype check.
+if test "${LANG+set}" = set; then LANG=C; export LANG; fi
+if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
+if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
+if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
+
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
+rm -rf conftest* confdefs.h
+# AIX cpp loses on an empty file, so make sure it contains at least a newline.
+echo > confdefs.h
+
+# A filename unique to this package, relative to the directory that
+# configure is in, which we can look for to find out if srcdir is correct.
+ac_unique_file=src/game.c
+
+# Find the source files, if location was not specified.
+if test -z "$srcdir"; then
+ ac_srcdir_defaulted=yes
+ # Try the directory containing this script, then its parent.
+ ac_prog=$0
+ ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
+ test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
+ srcdir=$ac_confdir
+ if test ! -r $srcdir/$ac_unique_file; then
+ srcdir=..
+ fi
+else
+ ac_srcdir_defaulted=no
+fi
+if test ! -r $srcdir/$ac_unique_file; then
+ if test "$ac_srcdir_defaulted" = yes; then
+ { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
+ else
+ { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
+ fi
+fi
+srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
+
+# Prefer explicitly selected file to automatically selected ones.
+if test -z "$CONFIG_SITE"; then
+ if test "x$prefix" != xNONE; then
+ CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
+ else
+ CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
+ fi
+fi
+for ac_site_file in $CONFIG_SITE; do
+ if test -r "$ac_site_file"; then
+ echo "loading site script $ac_site_file"
+ . "$ac_site_file"
+ fi
+done
+
+if test -r "$cache_file"; then
+ echo "loading cache $cache_file"
+ . $cache_file
+else
+ echo "creating cache $cache_file"
+ > $cache_file
+fi
+
+ac_ext=c
+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cc_cross
+
+if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
+ # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
+ if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
+ ac_n= ac_c='
+' ac_t=' '
+ else
+ ac_n=-n ac_c= ac_t=
+ fi
+else
+ ac_n= ac_c='\c' ac_t=
+fi
+
+
+ac_aux_dir=
+for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
+ if test -f $ac_dir/install-sh; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install-sh -c"
+ break
+ elif test -f $ac_dir/install.sh; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install.sh -c"
+ break
+ fi
+done
+if test -z "$ac_aux_dir"; then
+ { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
+fi
+ac_config_guess=$ac_aux_dir/config.guess
+ac_config_sub=$ac_aux_dir/config.sub
+ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
+
+# Find a good install program. We prefer a C program (faster),
+# so one script is as good as another. But avoid the broken or
+# incompatible versions:
+# SysV /etc/install, /usr/sbin/install
+# SunOS /usr/etc/install
+# IRIX /sbin/install
+# AIX /bin/install
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+# ./install, which can be erroneously created by make from ./install.sh.
+echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
+echo "configure:554: checking for a BSD compatible install" >&5
+if test -z "$INSTALL"; then
+if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
+ for ac_dir in $PATH; do
+ # Account for people who put trailing slashes in PATH elements.
+ case "$ac_dir/" in
+ /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
+ *)
+ # OSF1 and SCO ODT 3.0 have their own names for install.
+ for ac_prog in ginstall installbsd scoinst install; do
+ if test -f $ac_dir/$ac_prog; then
+ if test $ac_prog = install &&
+ grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
+ # AIX install. It has an incompatible calling convention.
+ # OSF/1 installbsd also uses dspmsg, but is usable.
+ :
+ else
+ ac_cv_path_install="$ac_dir/$ac_prog -c"
+ break 2
+ fi
+ fi
+ done
+ ;;
+ esac
+ done
+ IFS="$ac_save_IFS"
+
+fi
+ if test "${ac_cv_path_install+set}" = set; then
+ INSTALL="$ac_cv_path_install"
+ else
+ # As a last resort, use the slow shell script. We don't cache a
+ # path for INSTALL within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the path is relative.
+ INSTALL="$ac_install_sh"
+ fi
+fi
+echo "$ac_t""$INSTALL" 1>&6
+
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+# It thinks the first close brace ends the variable substitution.
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
+
+
+PACKAGE=abuse
+
+VERSION=2.0
+
+if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
+ { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
+fi
+cat >> confdefs.h <<EOF
+#define PACKAGE "$PACKAGE"
+EOF
+
+cat >> confdefs.h <<EOF
+#define VERSION "$VERSION"
+EOF
+
+echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
+echo "configure:623: checking whether build environment is sane" >&5
+# Just in case
+sleep 1
+echo timestamp > conftestfile
+# Do `set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
+ if test "" = "X"; then
+ # -L didn't work.
+ set X `ls -t $srcdir/configure conftestfile`
+ fi
+ test "$2" = conftestfile
+ )
+then
+ # Ok.
+ :
+else
+ echo "configure: warning: newly created file is older than distributed files!
+Check your system clock" 1>&2
+fi
+rm -f conftest*
+echo "$ac_t""yes" 1>&6
+if test "$program_transform_name" = s,x,x,; then
+ program_transform_name=
+else
+ # Double any \ or $. echo might interpret backslashes.
+ cat <<\EOF_SED > conftestsed
+s,\\,\\\\,g; s,\$,$$,g
+EOF_SED
+ program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
+ rm -f conftestsed
+fi
+test "$program_prefix" != NONE &&
+ program_transform_name="s,^,${program_prefix},; $program_transform_name"
+# Use a double $ so make ignores it.
+test "$program_suffix" != NONE &&
+ program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
+
+# sed with no file args requires a program.
+test "$program_transform_name" = "" && program_transform_name="s,x,x,"
+
+missing_dir=`cd $ac_aux_dir && pwd`
+echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
+echo "configure:670: checking for working aclocal" >&5
+# Run test in a subshell; some versions of sh will print an error if
+# an executable is not found, even if stderr is redirected.
+# Redirect stdin to placate older versions of autoconf. Sigh.
+if (aclocal --version) < /dev/null > /dev/null 2>&1; then
+ ACLOCAL=aclocal
+ echo "$ac_t""found" 1>&6
+else
+ ACLOCAL="$missing_dir/missing aclocal"
+ echo "$ac_t""missing" 1>&6
+fi
+
+echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
+echo "configure:683: checking for working autoconf" >&5
+# Run test in a subshell; some versions of sh will print an error if
+# an executable is not found, even if stderr is redirected.
+# Redirect stdin to placate older versions of autoconf. Sigh.
+if (autoconf --version) < /dev/null > /dev/null 2>&1; then
+ AUTOCONF=autoconf
+ echo "$ac_t""found" 1>&6
+else
+ AUTOCONF="$missing_dir/missing autoconf"
+ echo "$ac_t""missing" 1>&6
+fi
+
+echo $ac_n "checking for working automake""... $ac_c" 1>&6
+echo "configure:696: checking for working automake" >&5
+# Run test in a subshell; some versions of sh will print an error if
+# an executable is not found, even if stderr is redirected.
+# Redirect stdin to placate older versions of autoconf. Sigh.
+if (automake --version) < /dev/null > /dev/null 2>&1; then
+ AUTOMAKE=automake
+ echo "$ac_t""found" 1>&6
+else
+ AUTOMAKE="$missing_dir/missing automake"
+ echo "$ac_t""missing" 1>&6
+fi
+
+echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
+echo "configure:709: checking for working autoheader" >&5
+# Run test in a subshell; some versions of sh will print an error if
+# an executable is not found, even if stderr is redirected.
+# Redirect stdin to placate older versions of autoconf. Sigh.
+if (autoheader --version) < /dev/null > /dev/null 2>&1; then
+ AUTOHEADER=autoheader
+ echo "$ac_t""found" 1>&6
+else
+ AUTOHEADER="$missing_dir/missing autoheader"
+ echo "$ac_t""missing" 1>&6
+fi
+
+echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
+echo "configure:722: checking for working makeinfo" >&5
+# Run test in a subshell; some versions of sh will print an error if
+# an executable is not found, even if stderr is redirected.
+# Redirect stdin to placate older versions of autoconf. Sigh.
+if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
+ MAKEINFO=makeinfo
+ echo "$ac_t""found" 1>&6
+else
+ MAKEINFO="$missing_dir/missing makeinfo"
+ echo "$ac_t""missing" 1>&6
+fi
+
+echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
+echo "configure:735: checking whether ${MAKE-make} sets \${MAKE}" >&5
+set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
+if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftestmake <<\EOF
+all:
+ @echo 'ac_maketemp="${MAKE}"'
+EOF
+# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
+eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
+if test -n "$ac_maketemp"; then
+ eval ac_cv_prog_make_${ac_make}_set=yes
+else
+ eval ac_cv_prog_make_${ac_make}_set=no
+fi
+rm -f conftestmake
+fi
+if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ SET_MAKE=
+else
+ echo "$ac_t""no" 1>&6
+ SET_MAKE="MAKE=${MAKE-make}"
+fi
+
+# Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+echo "configure:764: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+ for ac_dir in $PATH; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ ac_cv_prog_CC="gcc"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+fi
+fi
+CC="$ac_cv_prog_CC"
+if test -n "$CC"; then
+ echo "$ac_t""$CC" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+echo "configure:793: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+ ac_prog_rejected=no
+ for ac_dir in $PATH; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $# -gt 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ set dummy "$ac_dir/$ac_word" "$@"
+ shift
+ ac_cv_prog_CC="$@"
+ fi
+fi
+fi
+fi
+CC="$ac_cv_prog_CC"
+if test -n "$CC"; then
+ echo "$ac_t""$CC" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+ test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
+fi
+
+echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
+echo "configure:841: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
+
+ac_ext=c
+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cc_cross
+
+cat > conftest.$ac_ext <<EOF
+#line 851 "configure"
+#include "confdefs.h"
+main(){return(0);}
+EOF
+if { (eval echo configure:855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ ac_cv_prog_cc_works=yes
+ # If we can't run a trivial program, we are probably using a cross compiler.
+ if (./conftest; exit) 2>/dev/null; then
+ ac_cv_prog_cc_cross=no
+ else
+ ac_cv_prog_cc_cross=yes
+ fi
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ ac_cv_prog_cc_works=no
+fi
+rm -fr conftest*
+
+echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
+if test $ac_cv_prog_cc_works = no; then
+ { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
+fi
+echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
+echo "configure:875: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
+echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
+cross_compiling=$ac_cv_prog_cc_cross
+
+echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
+echo "configure:880: checking whether we are using GNU C" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.c <<EOF
+#ifdef __GNUC__
+ yes;
+#endif
+EOF
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+ ac_cv_prog_gcc=yes
+else
+ ac_cv_prog_gcc=no
+fi
+fi
+
+echo "$ac_t""$ac_cv_prog_gcc" 1>&6
+
+if test $ac_cv_prog_gcc = yes; then
+ GCC=yes
+ ac_test_CFLAGS="${CFLAGS+set}"
+ ac_save_CFLAGS="$CFLAGS"
+ CFLAGS=
+ echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
+echo "configure:904: checking whether ${CC-cc} accepts -g" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ echo 'void f(){}' > conftest.c
+if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
+ ac_cv_prog_cc_g=yes
+else
+ ac_cv_prog_cc_g=no
+fi
+rm -f conftest*
+
+fi
+
+echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
+ if test "$ac_test_CFLAGS" = set; then
+ CFLAGS="$ac_save_CFLAGS"
+ elif test $ac_cv_prog_cc_g = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-O2"
+ fi
+else
+ GCC=
+ test "${CFLAGS+set}" = set || CFLAGS="-g"
+fi
+
+echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
+echo "configure:932: checking how to run the C preprocessor" >&5
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+ CPP=
+fi
+if test -z "$CPP"; then
+if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ # This must be in double quotes, not single quotes, because CPP may get
+ # substituted into the Makefile and "${CC-cc}" will confuse make.
+ CPP="${CC-cc} -E"
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp.
+ cat > conftest.$ac_ext <<EOF
+#line 947 "configure"
+#include "confdefs.h"
+#include <assert.h>
+Syntax Error
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out`
+if test -z "$ac_err"; then
+ :
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ CPP="${CC-cc} -E -traditional-cpp"
+ cat > conftest.$ac_ext <<EOF
+#line 964 "configure"
+#include "confdefs.h"
+#include <assert.h>
+Syntax Error
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out`
+if test -z "$ac_err"; then
+ :
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ CPP=/lib/cpp
+fi
+rm -f conftest*
+fi
+rm -f conftest*
+ ac_cv_prog_CPP="$CPP"
+fi
+ CPP="$ac_cv_prog_CPP"
+else
+ ac_cv_prog_CPP="$CPP"
+fi
+echo "$ac_t""$CPP" 1>&6
+
+for ac_prog in $CCC c++ g++ gcc CC cxx cc++
+do
+# Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+echo "configure:997: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ if test -n "$CXX"; then
+ ac_cv_prog_CXX="$CXX" # Let the user override the test.
+else
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+ for ac_dir in $PATH; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ ac_cv_prog_CXX="$ac_prog"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+fi
+fi
+CXX="$ac_cv_prog_CXX"
+if test -n "$CXX"; then
+ echo "$ac_t""$CXX" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+test -n "$CXX" && break
+done
+test -n "$CXX" || CXX="gcc"
+
+
+echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
+echo "configure:1028: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
+
+ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
+
+cat > conftest.$ac_ext <<EOF
+#line 1038 "configure"
+#include "confdefs.h"
+main(){return(0);}
+EOF
+if { (eval echo configure:1042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ ac_cv_prog_cxx_works=yes
+ # If we can't run a trivial program, we are probably using a cross compiler.
+ if (./conftest; exit) 2>/dev/null; then
+ ac_cv_prog_cxx_cross=no
+ else
+ ac_cv_prog_cxx_cross=yes
+ fi
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ ac_cv_prog_cxx_works=no
+fi
+rm -fr conftest*
+ac_ext=c
+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cc_cross
+
+echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
+if test $ac_cv_prog_cxx_works = no; then
+ { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
+fi
+echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
+echo "configure:1068: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
+echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
+cross_compiling=$ac_cv_prog_cxx_cross
+
+echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
+echo "configure:1073: checking whether we are using GNU C++" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.C <<EOF
+#ifdef __GNUC__
+ yes;
+#endif
+EOF
+if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+ ac_cv_prog_gxx=yes
+else
+ ac_cv_prog_gxx=no
+fi
+fi
+
+echo "$ac_t""$ac_cv_prog_gxx" 1>&6
+
+if test $ac_cv_prog_gxx = yes; then
+ GXX=yes
+ ac_test_CXXFLAGS="${CXXFLAGS+set}"
+ ac_save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS=
+ echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
+echo "configure:1097: checking whether ${CXX-g++} accepts -g" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ echo 'void f(){}' > conftest.cc
+if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
+ ac_cv_prog_cxx_g=yes
+else
+ ac_cv_prog_cxx_g=no
+fi
+rm -f conftest*
+
+fi
+
+echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
+ if test "$ac_test_CXXFLAGS" = set; then
+ CXXFLAGS="$ac_save_CXXFLAGS"
+ elif test $ac_cv_prog_cxx_g = yes; then
+ CXXFLAGS="-g -O2"
+ else
+ CXXFLAGS="-O2"
+ fi
+else
+ GXX=
+ test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
+fi
+
+
+# Make sure we can run config.sub.
+if $ac_config_sub sun4 >/dev/null 2>&1; then :
+else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
+fi
+
+echo $ac_n "checking host system type""... $ac_c" 1>&6
+echo "configure:1131: checking host system type" >&5
+
+host_alias=$host
+case "$host_alias" in
+NONE)
+ case $nonopt in
+ NONE)
+ if host_alias=`$ac_config_guess`; then :
+ else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
+ fi ;;
+ *) host_alias=$nonopt ;;
+ esac ;;
+esac
+
+host=`$ac_config_sub $host_alias`
+host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+echo "$ac_t""$host" 1>&6
+
+if test "$program_transform_name" = s,x,x,; then
+ program_transform_name=
+else
+ # Double any \ or $. echo might interpret backslashes.
+ cat <<\EOF_SED > conftestsed
+s,\\,\\\\,g; s,\$,$$,g
+EOF_SED
+ program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
+ rm -f conftestsed
+fi
+test "$program_prefix" != NONE &&
+ program_transform_name="s,^,${program_prefix},; $program_transform_name"
+# Use a double $ so make ignores it.
+test "$program_suffix" != NONE &&
+ program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
+
+# sed with no file args requires a program.
+test "$program_transform_name" = "" && program_transform_name="s,x,x,"
+
+# Find a good install program. We prefer a C program (faster),
+# so one script is as good as another. But avoid the broken or
+# incompatible versions:
+# SysV /etc/install, /usr/sbin/install
+# SunOS /usr/etc/install
+# IRIX /sbin/install
+# AIX /bin/install
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+# ./install, which can be erroneously created by make from ./install.sh.
+echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
+echo "configure:1181: checking for a BSD compatible install" >&5
+if test -z "$INSTALL"; then
+if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
+ for ac_dir in $PATH; do
+ # Account for people who put trailing slashes in PATH elements.
+ case "$ac_dir/" in
+ /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
+ *)
+ # OSF1 and SCO ODT 3.0 have their own names for install.
+ for ac_prog in ginstall installbsd scoinst install; do
+ if test -f $ac_dir/$ac_prog; then
+ if test $ac_prog = install &&
+ grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
+ # AIX install. It has an incompatible calling convention.
+ # OSF/1 installbsd also uses dspmsg, but is usable.
+ :
+ else
+ ac_cv_path_install="$ac_dir/$ac_prog -c"
+ break 2
+ fi
+ fi
+ done
+ ;;
+ esac
+ done
+ IFS="$ac_save_IFS"
+
+fi
+ if test "${ac_cv_path_install+set}" = set; then
+ INSTALL="$ac_cv_path_install"
+ else
+ # As a last resort, use the slow shell script. We don't cache a
+ # path for INSTALL within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the path is relative.
+ INSTALL="$ac_install_sh"
+ fi
+fi
+echo "$ac_t""$INSTALL" 1>&6
+
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+# It thinks the first close brace ends the variable substitution.
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+
+# If we find X, set shell vars x_includes and x_libraries to the
+# paths, otherwise set no_x=yes.
+# Uses ac_ vars as temps to allow command line to override cache and checks.
+# --without-x overrides everything else, but does not touch the cache.
+echo $ac_n "checking for X""... $ac_c" 1>&6
+echo "configure:1236: checking for X" >&5
+
+# Check whether --with-x or --without-x was given.
+if test "${with_x+set}" = set; then
+ withval="$with_x"
+ :
+fi
+
+# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
+if test "x$with_x" = xno; then
+ # The user explicitly disabled X.
+ have_x=disabled
+else
+ if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
+ # Both variables are already set.
+ have_x=yes
+ else
+if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ # One or both of the vars are not set, and there is no cached value.
+ac_x_includes=NO ac_x_libraries=NO
+rm -fr conftestdir
+if mkdir conftestdir; then
+ cd conftestdir
+ # Make sure to not put "make" in the Imakefile rules, since we grep it out.
+ cat > Imakefile <<'EOF'
+acfindx:
+ @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
+EOF
+ if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
+ # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
+ eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
+ # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
+ for ac_extension in a so sl; do
+ if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
+ test -f $ac_im_libdir/libX11.$ac_extension; then
+ ac_im_usrlibdir=$ac_im_libdir; break
+ fi
+ done
+ # Screen out bogus values from the imake configuration. They are
+ # bogus both because they are the default anyway, and because
+ # using them would break gcc on systems where it needs fixed includes.
+ case "$ac_im_incroot" in
+ /usr/include) ;;
+ *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
+ esac
+ case "$ac_im_usrlibdir" in
+ /usr/lib | /lib) ;;
+ *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
+ esac
+ fi
+ cd ..
+ rm -fr conftestdir
+fi
+
+if test "$ac_x_includes" = NO; then
+ # Guess where to find include files, by looking for this one X11 .h file.
+ test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
+
+ # First, try using that file with no special directory specified.
+cat > conftest.$ac_ext <<EOF
+#line 1298 "configure"
+#include "confdefs.h"
+#include <$x_direct_test_include>
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:1303: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out`
+if test -z "$ac_err"; then
+ rm -rf conftest*
+ # We can compile using X headers with no special include directory.
+ac_x_includes=
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ # Look for the header file in a standard set of common directories.
+# Check X11 before X11Rn because it is often a symlink to the current release.
+ for ac_dir in \
+ /usr/X11/include \
+ /usr/X11R6/include \
+ /usr/X11R5/include \
+ /usr/X11R4/include \
+ \
+ /usr/include/X11 \
+ /usr/include/X11R6 \
+ /usr/include/X11R5 \
+ /usr/include/X11R4 \
+ \
+ /usr/local/X11/include \
+ /usr/local/X11R6/include \
+ /usr/local/X11R5/include \
+ /usr/local/X11R4/include \
+ \
+ /usr/local/include/X11 \
+ /usr/local/include/X11R6 \
+ /usr/local/include/X11R5 \
+ /usr/local/include/X11R4 \
+ \
+ /usr/X386/include \
+ /usr/x386/include \
+ /usr/XFree86/include/X11 \
+ \
+ /usr/include \
+ /usr/local/include \
+ /usr/unsupported/include \
+ /usr/athena/include \
+ /usr/local/x11r5/include \
+ /usr/lpp/Xamples/include \
+ \
+ /usr/openwin/include \
+ /usr/openwin/share/include \
+ ; \
+ do
+ if test -r "$ac_dir/$x_direct_test_include"; then
+ ac_x_includes=$ac_dir
+ break
+ fi
+ done
+fi
+rm -f conftest*
+fi # $ac_x_includes = NO
+
+if test "$ac_x_libraries" = NO; then
+ # Check for the libraries.
+
+ test -z "$x_direct_test_library" && x_direct_test_library=Xt
+ test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
+
+ # See if we find them without any special options.
+ # Don't add to $LIBS permanently.
+ ac_save_LIBS="$LIBS"
+ LIBS="-l$x_direct_test_library $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 1372 "configure"
+#include "confdefs.h"
+
+int main() {
+${x_direct_test_function}()
+; return 0; }
+EOF
+if { (eval echo configure:1379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ LIBS="$ac_save_LIBS"
+# We can link X programs with no special library path.
+ac_x_libraries=
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ LIBS="$ac_save_LIBS"
+# First see if replacing the include by lib works.
+# Check X11 before X11Rn because it is often a symlink to the current release.
+for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
+ /usr/X11/lib \
+ /usr/X11R6/lib \
+ /usr/X11R5/lib \
+ /usr/X11R4/lib \
+ \
+ /usr/lib/X11 \
+ /usr/lib/X11R6 \
+ /usr/lib/X11R5 \
+ /usr/lib/X11R4 \
+ \
+ /usr/local/X11/lib \
+ /usr/local/X11R6/lib \
+ /usr/local/X11R5/lib \
+ /usr/local/X11R4/lib \
+ \
+ /usr/local/lib/X11 \
+ /usr/local/lib/X11R6 \
+ /usr/local/lib/X11R5 \
+ /usr/local/lib/X11R4 \
+ \
+ /usr/X386/lib \
+ /usr/x386/lib \
+ /usr/XFree86/lib/X11 \
+ \
+ /usr/lib \
+ /usr/local/lib \
+ /usr/unsupported/lib \
+ /usr/athena/lib \
+ /usr/local/x11r5/lib \
+ /usr/lpp/Xamples/lib \
+ /lib/usr/lib/X11 \
+ \
+ /usr/openwin/lib \
+ /usr/openwin/share/lib \
+ ; \
+do
+ for ac_extension in a so sl; do
+ if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
+ ac_x_libraries=$ac_dir
+ break 2
+ fi
+ done
+done
+fi
+rm -f conftest*
+fi # $ac_x_libraries = NO
+
+if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
+ # Didn't find X anywhere. Cache the known absence of X.
+ ac_cv_have_x="have_x=no"
+else
+ # Record where we found X for the cache.
+ ac_cv_have_x="have_x=yes \
+ ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
+fi
+fi
+ fi
+ eval "$ac_cv_have_x"
+fi # $with_x != no
+
+if test "$have_x" != yes; then
+ echo "$ac_t""$have_x" 1>&6
+ no_x=yes
+else
+ # If each of the values was on the command line, it overrides each guess.
+ test "x$x_includes" = xNONE && x_includes=$ac_x_includes
+ test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
+ # Update the cache value to reflect the command line values.
+ ac_cv_have_x="have_x=yes \
+ ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
+ echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
+fi
+
+if test "$no_x" = yes; then
+ # Not all programs may use this symbol, but it does not hurt to define it.
+ cat >> confdefs.h <<\EOF
+#define X_DISPLAY_MISSING 1
+EOF
+
+ X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
+else
+ if test -n "$x_includes"; then
+ X_CFLAGS="$X_CFLAGS -I$x_includes"
+ fi
+
+ # It would also be nice to do this for all -L options, not just this one.
+ if test -n "$x_libraries"; then
+ X_LIBS="$X_LIBS -L$x_libraries"
+ # For Solaris; some versions of Sun CC require a space after -R and
+ # others require no space. Words are not sufficient . . . .
+ case "`(uname -sr) 2>/dev/null`" in
+ "SunOS 5"*)
+ echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
+echo "configure:1485: checking whether -R must be followed by a space" >&5
+ ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
+ cat > conftest.$ac_ext <<EOF
+#line 1488 "configure"
+#include "confdefs.h"
+
+int main() {
+
+; return 0; }
+EOF
+if { (eval echo configure:1495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ ac_R_nospace=yes
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_R_nospace=no
+fi
+rm -f conftest*
+ if test $ac_R_nospace = yes; then
+ echo "$ac_t""no" 1>&6
+ X_LIBS="$X_LIBS -R$x_libraries"
+ else
+ LIBS="$ac_xsave_LIBS -R $x_libraries"
+ cat > conftest.$ac_ext <<EOF
+#line 1511 "configure"
+#include "confdefs.h"
+
+int main() {
+
+; return 0; }
+EOF
+if { (eval echo configure:1518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ ac_R_space=yes
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_R_space=no
+fi
+rm -f conftest*
+ if test $ac_R_space = yes; then
+ echo "$ac_t""yes" 1>&6
+ X_LIBS="$X_LIBS -R $x_libraries"
+ else
+ echo "$ac_t""neither works" 1>&6
+ fi
+ fi
+ LIBS="$ac_xsave_LIBS"
+ esac
+ fi
+
+ # Check for system-dependent libraries X programs must link with.
+ # Do this before checking for the system-independent R6 libraries
+ # (-lICE), since we may need -lsocket or whatever for X linking.
+
+ if test "$ISC" = yes; then
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
+ else
+ # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
+ # libraries were built with DECnet support. And karl@cs.umb.edu says
+ # the Alpha needs dnet_stub (dnet does not exist).
+ echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
+echo "configure:1550: checking for dnet_ntoa in -ldnet" >&5
+ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ ac_save_LIBS="$LIBS"
+LIBS="-ldnet $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 1558 "configure"
+#include "confdefs.h"
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char dnet_ntoa();
+
+int main() {
+dnet_ntoa()
+; return 0; }
+EOF
+if { (eval echo configure:1569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=no"
+fi
+rm -f conftest*
+LIBS="$ac_save_LIBS"
+
+fi
+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+ if test $ac_cv_lib_dnet_dnet_ntoa = no; then
+ echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
+echo "configure:1591: checking for dnet_ntoa in -ldnet_stub" >&5
+ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ ac_save_LIBS="$LIBS"
+LIBS="-ldnet_stub $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 1599 "configure"
+#include "confdefs.h"
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char dnet_ntoa();
+
+int main() {
+dnet_ntoa()
+; return 0; }
+EOF
+if { (eval echo configure:1610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=no"
+fi
+rm -f conftest*
+LIBS="$ac_save_LIBS"
+
+fi
+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+ fi
+
+ # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
+ # to get the SysV transport functions.
+ # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
+ # needs -lnsl.
+ # The nsl library prevents programs from opening the X display
+ # on Irix 5.2, according to dickey@clark.net.
+ echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
+echo "configure:1639: checking for gethostbyname" >&5
+if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 1644 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char gethostbyname(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char gethostbyname();
+
+int main() {
+
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
+choke me
+#else
+gethostbyname();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:1667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ eval "ac_cv_func_gethostbyname=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_func_gethostbyname=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ :
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+ if test $ac_cv_func_gethostbyname = no; then
+ echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
+echo "configure:1688: checking for gethostbyname in -lnsl" >&5
+ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ ac_save_LIBS="$LIBS"
+LIBS="-lnsl $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 1696 "configure"
+#include "confdefs.h"
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char gethostbyname();
+
+int main() {
+gethostbyname()
+; return 0; }
+EOF
+if { (eval echo configure:1707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=no"
+fi
+rm -f conftest*
+LIBS="$ac_save_LIBS"
+
+fi
+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+ fi
+
+ # lieder@skyler.mavd.honeywell.com says without -lsocket,
+ # socket/setsockopt and other routines are undefined under SCO ODT
+ # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
+ # on later versions), says simon@lia.di.epfl.ch: it contains
+ # gethostby* variants that don't use the nameserver (or something).
+ # -lsocket must be given before -lnsl if both are needed.
+ # We assume that if connect needs -lnsl, so does gethostbyname.
+ echo $ac_n "checking for connect""... $ac_c" 1>&6
+echo "configure:1737: checking for connect" >&5
+if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 1742 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char connect(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char connect();
+
+int main() {
+
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_connect) || defined (__stub___connect)
+choke me
+#else
+connect();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:1765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ eval "ac_cv_func_connect=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_func_connect=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ :
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+ if test $ac_cv_func_connect = no; then
+ echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
+echo "configure:1786: checking for connect in -lsocket" >&5
+ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ ac_save_LIBS="$LIBS"
+LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 1794 "configure"
+#include "confdefs.h"
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char connect();
+
+int main() {
+connect()
+; return 0; }
+EOF
+if { (eval echo configure:1805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=no"
+fi
+rm -f conftest*
+LIBS="$ac_save_LIBS"
+
+fi
+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+ fi
+
+ # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
+ echo $ac_n "checking for remove""... $ac_c" 1>&6
+echo "configure:1829: checking for remove" >&5
+if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 1834 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char remove(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char remove();
+
+int main() {
+
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_remove) || defined (__stub___remove)
+choke me
+#else
+remove();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:1857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ eval "ac_cv_func_remove=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_func_remove=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ :
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+ if test $ac_cv_func_remove = no; then
+ echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
+echo "configure:1878: checking for remove in -lposix" >&5
+ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ ac_save_LIBS="$LIBS"
+LIBS="-lposix $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 1886 "configure"
+#include "confdefs.h"
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char remove();
+
+int main() {
+remove()
+; return 0; }
+EOF
+if { (eval echo configure:1897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=no"
+fi
+rm -f conftest*
+LIBS="$ac_save_LIBS"
+
+fi
+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+ fi
+
+ # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
+ echo $ac_n "checking for shmat""... $ac_c" 1>&6
+echo "configure:1921: checking for shmat" >&5
+if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 1926 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char shmat(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char shmat();
+
+int main() {
+
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_shmat) || defined (__stub___shmat)
+choke me
+#else
+shmat();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:1949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ eval "ac_cv_func_shmat=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_func_shmat=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ :
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+ if test $ac_cv_func_shmat = no; then
+ echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
+echo "configure:1970: checking for shmat in -lipc" >&5
+ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ ac_save_LIBS="$LIBS"
+LIBS="-lipc $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 1978 "configure"
+#include "confdefs.h"
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char shmat();
+
+int main() {
+shmat()
+; return 0; }
+EOF
+if { (eval echo configure:1989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=no"
+fi
+rm -f conftest*
+LIBS="$ac_save_LIBS"
+
+fi
+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+ fi
+ fi
+
+ # Check for libraries that X11R6 Xt/Xaw programs need.
+ ac_save_LDFLAGS="$LDFLAGS"
+ test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
+ # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
+ # check for ICE first), but we must link in the order -lSM -lICE or
+ # we get undefined symbols. So assume we have SM if we have ICE.
+ # These have to be linked with before -lX11, unlike the other
+ # libraries we check for below, so use a different variable.
+ # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
+ echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
+echo "configure:2022: checking for IceConnectionNumber in -lICE" >&5
+ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ ac_save_LIBS="$LIBS"
+LIBS="-lICE $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 2030 "configure"
+#include "confdefs.h"
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char IceConnectionNumber();
+
+int main() {
+IceConnectionNumber()
+; return 0; }
+EOF
+if { (eval echo configure:2041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=no"
+fi
+rm -f conftest*
+LIBS="$ac_save_LIBS"
+
+fi
+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+ LDFLAGS="$ac_save_LDFLAGS"
+
+fi
+
+
+# Do we need to link against something for X shared memory support?
+echo $ac_n "checking for XShmAttach in -lXext""... $ac_c" 1>&6
+echo "configure:2068: checking for XShmAttach in -lXext" >&5
+ac_lib_var=`echo Xext'_'XShmAttach | sed 'y%./+-%__p_%'`
+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ ac_save_LIBS="$LIBS"
+LIBS="-lXext $X_LIBS -lX11 $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 2076 "configure"
+#include "confdefs.h"
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char XShmAttach();
+
+int main() {
+XShmAttach()
+; return 0; }
+EOF
+if { (eval echo configure:2087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=no"
+fi
+rm -f conftest*
+LIBS="$ac_save_LIBS"
+
+fi
+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ :
+else
+ echo "$ac_t""no" 1>&6
+
+echo $ac_n "checking for XShmAttach in -lXextSam""... $ac_c" 1>&6
+echo "configure:2107: checking for XShmAttach in -lXextSam" >&5
+ac_lib_var=`echo XextSam'_'XShmAttach | sed 'y%./+-%__p_%'`
+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ ac_save_LIBS="$LIBS"
+LIBS="-lXextSam $X_LIBS -lX11 -lXext $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 2115 "configure"
+#include "confdefs.h"
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char XShmAttach();
+
+int main() {
+XShmAttach()
+; return 0; }
+EOF
+if { (eval echo configure:2126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=no"
+fi
+rm -f conftest*
+LIBS="$ac_save_LIBS"
+
+fi
+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ LIBS="$LIBS -lXextSam"
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+
+fi
+
+
+PROGS=
+case ${host} in
+ *-*-linux*)
+ ac_safe=`echo "vga.h" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for vga.h""... $ac_c" 1>&6
+echo "configure:2155: checking for vga.h" >&5
+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 2160 "configure"
+#include "confdefs.h"
+#include <vga.h>
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:2165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out`
+if test -z "$ac_err"; then
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=yes"
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=no"
+fi
+rm -f conftest*
+fi
+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ PROGS='abuse.console keydrv'
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+ PROGS="${PROGS} lnx_sdrv"
+ ;;
+ mips-sgi-irix*)
+ PROGS=sgi_sdrv
+ ;;
+ powerpc-*-aix4*)
+ if test -f /usr/lpp/UMS/include/UMSAudioDevice.h &&
+ test -f /usr/lpp/som/include/somobj.h; then
+ PROGS=aix_sdrv
+ fi
+ ;;
+ *)
+ ;;
+esac
+
+
+for ac_hdr in bstring.h
+do
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+echo "configure:2206: checking for $ac_hdr" >&5
+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 2211 "configure"
+#include "confdefs.h"
+#include <$ac_hdr>
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:2216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out`
+if test -z "$ac_err"; then
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=yes"
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=no"
+fi
+rm -f conftest*
+fi
+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_hdr 1
+EOF
+
+else
+ echo "$ac_t""no" 1>&6
+fi
+done
+
+for ac_func in atexit on_exit
+do
+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+echo "configure:2245: checking for $ac_func" >&5
+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 2250 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char $ac_func();
+
+int main() {
+
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+choke me
+#else
+$ac_func();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:2273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ eval "ac_cv_func_$ac_func=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_func_$ac_func=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_func 1
+EOF
+ break
+else
+ echo "$ac_t""no" 1>&6
+fi
+done
+
+echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
+echo "configure:2298: checking whether byte ordering is bigendian" >&5
+if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ ac_cv_c_bigendian=unknown
+# See if we have a good endian.h.
+cat > conftest.$ac_ext <<EOF
+#line 2305 "configure"
+#include "confdefs.h"
+#include <endian.h>
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:2310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out`
+if test -z "$ac_err"; then
+ rm -rf conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 2315 "configure"
+#include "confdefs.h"
+#include <endian.h>
+int main() {
+
+#if !__BYTE_ORDER || !__BIG_ENDIAN
+ bogus endian macros
+#endif
+; return 0; }
+EOF
+if { (eval echo configure:2325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 2328 "configure"
+#include "confdefs.h"
+#include <endian.h>
+int main() {
+
+#if __BYTE_ORDER != __BIG_ENDIAN
+ not big endian
+#endif
+; return 0; }
+EOF
+if { (eval echo configure:2338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+ ac_cv_c_bigendian=yes
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_cv_c_bigendian=no
+fi
+rm -f conftest*
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+fi
+rm -f conftest*
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+fi
+rm -f conftest*
+if test $ac_cv_c_bigendian = unknown; then
+# See if sys/param.h defines the BYTE_ORDER macro.
+cat > conftest.$ac_ext <<EOF
+#line 2362 "configure"
+#include "confdefs.h"
+#include <sys/types.h>
+#include <sys/param.h>
+int main() {
+
+#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
+ bogus endian macros
+#endif
+; return 0; }
+EOF
+if { (eval echo configure:2373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+ # It does; now see whether it defined to BIG_ENDIAN or not.
+cat > conftest.$ac_ext <<EOF
+#line 2377 "configure"
+#include "confdefs.h"
+#include <sys/types.h>
+#include <sys/param.h>
+int main() {
+
+#if BYTE_ORDER != BIG_ENDIAN
+ not big endian
+#endif
+; return 0; }
+EOF
+if { (eval echo configure:2388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+ ac_cv_c_bigendian=yes
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_cv_c_bigendian=no
+fi
+rm -f conftest*
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+fi
+rm -f conftest*
+fi
+if test $ac_cv_c_bigendian = unknown; then
+if test "$cross_compiling" = yes; then
+ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
+else
+ cat > conftest.$ac_ext <<EOF
+#line 2409 "configure"
+#include "confdefs.h"
+main () {
+ /* Are we little or big endian? From Harbison&Steele. */
+ union
+ {
+ long l;
+ char c[sizeof (long)];
+ } u;
+ u.l = 1;
+ exit (u.c[sizeof (long) - 1] == 1);
+}
+EOF
+if { (eval echo configure:2422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+then
+ ac_cv_c_bigendian=no
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -fr conftest*
+ ac_cv_c_bigendian=yes
+fi
+rm -fr conftest*
+fi
+
+fi
+fi
+
+echo "$ac_t""$ac_cv_c_bigendian" 1>&6
+if test $ac_cv_c_bigendian = yes; then
+ cat >> confdefs.h <<\EOF
+#define WORDS_BIGENDIAN 1
+EOF
+
+fi
+
+
+
+
+ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
+
+ab_flags=
+for ab_flag in -fno-exceptions -fno-rtti; do
+
+echo $ac_n "checking whether ${CXX} supports the $ab_flag flag""... $ac_c" 1>&6
+echo "configure:2459: checking whether ${CXX} supports the $ab_flag flag" >&5
+ab_flag_var=`echo $ab_flag | sed 'y%./+-%__p_%'`
+if eval "test \"`echo '$''{'ab_cv_flag_$ab_flag_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+
+
+ab_save_flags="$CXXFLAGS"
+CXXFLAGS="$CXXFLAGS $ab_flag"
+cat > conftest.$ac_ext <<EOF
+#line 2469 "configure"
+#include "confdefs.h"
+
+int main() {
+int a;
+; return 0; }
+EOF
+if { (eval echo configure:2476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+ eval "ab_cv_flag_$ab_flag_var=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ab_cv_flag_$ab_flag_var=no"
+fi
+rm -f conftest*
+CXXFLAGS="$ab_save_flags"
+
+fi
+
+if eval "test \"`echo '$ab_cv_flag_'$ab_flag_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ab_flags="$ab_flags $ab_flag"
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+
+ADDCXXFLAGS="$ab_flags"
+
+done
+
+ac_ext=c
+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cc_cross
+
+
+mkdir -p src/net/unix src/net/mac
+
+trap '' 1 2 15
+cat > confcache <<\EOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs. It is not useful on other systems.
+# If it contains results you don't want to keep, you may remove or edit it.
+#
+# By default, configure uses ./config.cache as the cache file,
+# creating it if it does not exist already. You can give configure
+# the --cache-file=FILE option to use a different cache file; that is
+# what configure does when it calls configure scripts in
+# subdirectories, so they share the cache.
+# Giving --cache-file=/dev/null disables caching, for debugging configure.
+# config.status only pays attention to the cache file if you give it the
+# --recheck option to rerun configure.
+#
+EOF
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, don't put newlines in cache variables' values.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+(set) 2>&1 |
+ case `(ac_space=' '; set) 2>&1` in
+ *ac_space=\ *)
+ # `set' does not quote correctly, so add quotes (double-quote substitution
+ # turns \\\\ into \\, and sed turns \\ into \).
+ sed -n \
+ -e "s/'/'\\\\''/g" \
+ -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
+ ;;
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
+ ;;
+ esac >> confcache
+if cmp -s $cache_file confcache; then
+ :
+else
+ if test -w $cache_file; then
+ echo "updating cache $cache_file"
+ cat confcache > $cache_file
+ else
+ echo "not updating unwritable cache $cache_file"
+ fi
+fi
+rm -f confcache
+
+trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
+
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
+# Let make expand exec_prefix.
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+
+# Any assignment to VPATH causes Sun make to only execute
+# the first set of double-colon rules, so remove it if not needed.
+# If there is a colon in the path, we need to keep it.
+if test "x$srcdir" = x.; then
+ ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
+fi
+
+trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
+
+# Transform confdefs.h into DEFS.
+# Protect against shell expansion while executing Makefile rules.
+# Protect against Makefile macro expansion.
+cat > conftest.defs <<\EOF
+s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
+s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
+s%\[%\\&%g
+s%\]%\\&%g
+s%\$%$$%g
+EOF
+DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
+rm -f conftest.defs
+
+
+# Without the "./", some shells look in PATH for config.status.
+: ${CONFIG_STATUS=./config.status}
+
+echo creating $CONFIG_STATUS
+rm -f $CONFIG_STATUS
+cat > $CONFIG_STATUS <<EOF
+#! /bin/sh
+# Generated automatically by configure.
+# Run this file to recreate the current configuration.
+# This directory was configured as follows,
+# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+#
+# $0 $ac_configure_args
+#
+# Compiler output produced by configure, useful for debugging
+# configure, is in ./config.log if it exists.
+
+ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
+for ac_option
+do
+ case "\$ac_option" in
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
+ exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
+ -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
+ echo "$CONFIG_STATUS generated by autoconf version 2.12"
+ exit 0 ;;
+ -help | --help | --hel | --he | --h)
+ echo "\$ac_cs_usage"; exit 0 ;;
+ *) echo "\$ac_cs_usage"; exit 1 ;;
+ esac
+done
+
+ac_given_srcdir=$srcdir
+ac_given_INSTALL="$INSTALL"
+
+trap 'rm -fr `echo "Makefile abuse" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
+EOF
+cat >> $CONFIG_STATUS <<EOF
+
+# Protect against being on the right side of a sed subst in config.status.
+sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
+ s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
+$ac_vpsub
+$extrasub
+s%@CFLAGS@%$CFLAGS%g
+s%@CPPFLAGS@%$CPPFLAGS%g
+s%@CXXFLAGS@%$CXXFLAGS%g
+s%@DEFS@%$DEFS%g
+s%@LDFLAGS@%$LDFLAGS%g
+s%@LIBS@%$LIBS%g
+s%@exec_prefix@%$exec_prefix%g
+s%@prefix@%$prefix%g
+s%@program_transform_name@%$program_transform_name%g
+s%@bindir@%$bindir%g
+s%@sbindir@%$sbindir%g
+s%@libexecdir@%$libexecdir%g
+s%@datadir@%$datadir%g
+s%@sysconfdir@%$sysconfdir%g
+s%@sharedstatedir@%$sharedstatedir%g
+s%@localstatedir@%$localstatedir%g
+s%@libdir@%$libdir%g
+s%@includedir@%$includedir%g
+s%@oldincludedir@%$oldincludedir%g
+s%@infodir@%$infodir%g
+s%@mandir@%$mandir%g
+s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
+s%@INSTALL_DATA@%$INSTALL_DATA%g
+s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
+s%@PACKAGE@%$PACKAGE%g
+s%@VERSION@%$VERSION%g
+s%@ACLOCAL@%$ACLOCAL%g
+s%@AUTOCONF@%$AUTOCONF%g
+s%@AUTOMAKE@%$AUTOMAKE%g
+s%@AUTOHEADER@%$AUTOHEADER%g
+s%@MAKEINFO@%$MAKEINFO%g
+s%@SET_MAKE@%$SET_MAKE%g
+s%@CC@%$CC%g
+s%@CPP@%$CPP%g
+s%@CXX@%$CXX%g
+s%@host@%$host%g
+s%@host_alias@%$host_alias%g
+s%@host_cpu@%$host_cpu%g
+s%@host_vendor@%$host_vendor%g
+s%@host_os@%$host_os%g
+s%@X_CFLAGS@%$X_CFLAGS%g
+s%@X_PRE_LIBS@%$X_PRE_LIBS%g
+s%@X_LIBS@%$X_LIBS%g
+s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
+s%@PROGS@%$PROGS%g
+s%@ADDCXXFLAGS@%$ADDCXXFLAGS%g
+
+CEOF
+EOF
+
+cat >> $CONFIG_STATUS <<\EOF
+
+# Split the substitutions into bite-sized pieces for seds with
+# small command number limits, like on Digital OSF/1 and HP-UX.
+ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
+ac_file=1 # Number of current file.
+ac_beg=1 # First line for current file.
+ac_end=$ac_max_sed_cmds # Line after last line for current file.
+ac_more_lines=:
+ac_sed_cmds=""
+while $ac_more_lines; do
+ if test $ac_beg -gt 1; then
+ sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
+ else
+ sed "${ac_end}q" conftest.subs > conftest.s$ac_file
+ fi
+ if test ! -s conftest.s$ac_file; then
+ ac_more_lines=false
+ rm -f conftest.s$ac_file
+ else
+ if test -z "$ac_sed_cmds"; then
+ ac_sed_cmds="sed -f conftest.s$ac_file"
+ else
+ ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
+ fi
+ ac_file=`expr $ac_file + 1`
+ ac_beg=$ac_end
+ ac_end=`expr $ac_end + $ac_max_sed_cmds`
+ fi
+done
+if test -z "$ac_sed_cmds"; then
+ ac_sed_cmds=cat
+fi
+EOF
+
+cat >> $CONFIG_STATUS <<EOF
+
+CONFIG_FILES=\${CONFIG_FILES-"Makefile abuse"}
+EOF
+cat >> $CONFIG_STATUS <<\EOF
+for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
+ # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
+ case "$ac_file" in
+ *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
+ ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
+ *) ac_file_in="${ac_file}.in" ;;
+ esac
+
+ # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
+
+ # Remove last slash and all that follows it. Not all systems have dirname.
+ ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
+ if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
+ # The file is in a subdirectory.
+ test ! -d "$ac_dir" && mkdir "$ac_dir"
+ ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
+ # A "../" for each directory in $ac_dir_suffix.
+ ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
+ else
+ ac_dir_suffix= ac_dots=
+ fi
+
+ case "$ac_given_srcdir" in
+ .) srcdir=.
+ if test -z "$ac_dots"; then top_srcdir=.
+ else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
+ /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
+ *) # Relative path.
+ srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
+ top_srcdir="$ac_dots$ac_given_srcdir" ;;
+ esac
+
+ case "$ac_given_INSTALL" in
+ [/$]*) INSTALL="$ac_given_INSTALL" ;;
+ *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
+ esac
+
+ echo creating "$ac_file"
+ rm -f "$ac_file"
+ configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
+ case "$ac_file" in
+ *Makefile*) ac_comsub="1i\\
+# $configure_input" ;;
+ *) ac_comsub= ;;
+ esac
+
+ ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
+ sed -e "$ac_comsub
+s%@configure_input@%$configure_input%g
+s%@srcdir@%$srcdir%g
+s%@top_srcdir@%$top_srcdir%g
+s%@INSTALL@%$INSTALL%g
+" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
+fi; done
+rm -f conftest.s*
+
+EOF
+cat >> $CONFIG_STATUS <<EOF
+
+EOF
+cat >> $CONFIG_STATUS <<\EOF
+
+exit 0
+EOF
+chmod +x $CONFIG_STATUS
+rm -fr confdefs* $ac_clean_files
+test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
+
diff --git a/abuse/configure.in b/abuse/configure.in
new file mode 100644
index 0000000..675d74c
--- /dev/null
+++ b/abuse/configure.in
@@ -0,0 +1,49 @@
+AC_INIT(src/game.c)
+AM_INIT_AUTOMAKE(abuse, 2.0)
+AC_PROG_CC
+AC_PROG_CPP
+AC_PROG_CXX
+AC_CANONICAL_HOST
+AC_ARG_PROGRAM
+AC_PROG_INSTALL
+
+AC_PATH_XTRA
+
+# Do we need to link against something for X shared memory support?
+AC_CHECK_LIB(Xext,XShmAttach,:,[
+AC_CHECK_LIB(XextSam,XShmAttach,LIBS="$LIBS -lXextSam",,$X_LIBS -lX11 -lXext)
+],$X_LIBS -lX11)
+
+PROGS=
+case ${host} in
+ *-*-linux*)
+ AC_CHECK_HEADER(vga.h,PROGS='abuse.console keydrv',)
+ PROGS="${PROGS} lnx_sdrv"
+ ;;
+ mips-sgi-irix*)
+ PROGS=sgi_sdrv
+ ;;
+ powerpc-*-aix4*)
+ if test -f /usr/lpp/UMS/include/UMSAudioDevice.h &&
+ test -f /usr/lpp/som/include/somobj.h; then
+ PROGS=aix_sdrv
+ fi
+ ;;
+ *)
+ ;;
+esac
+AC_SUBST(PROGS)
+
+AC_CHECK_HEADERS(bstring.h)
+AC_CHECK_FUNCS(atexit on_exit, break)
+AB_C_BIGENDIAN
+AC_SUBST(LIBS)
+
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+AB_ADD_FLAGS(-fno-exceptions -fno-rtti)
+AC_LANG_RESTORE
+
+mkdir -p src/net/unix src/net/mac
+
+AC_OUTPUT(Makefile abuse)
diff --git a/abuse/defaults.prp b/abuse/defaults.prp
new file mode 100644
index 0000000..84e5e6a
--- /dev/null
+++ b/abuse/defaults.prp
@@ -0,0 +1,29 @@
+area_box y = 0
+area_box x = 0
+fg_reversed = 1
+mouse_scrolling = 1
+toolbar y = 90
+toolbar x = 281
+ai y = 0
+ai x = 0
+pal y = 61
+pal x = 0
+fore y = 15
+fore x = 85
+ledit y = 0
+ledit x = 0
+oedit y = 0
+oedit x = 0
+light create r2 = 100
+light create r1 = 1
+light create h = 0
+light create w = 0
+light create y = 24
+light create x = 224
+layer y = 60
+layer x = 282
+objects x = 0
+objects y = 0
+back x = 167
+back y = 9
+raise_all = 0
diff --git a/abuse/dirlist.c b/abuse/dirlist.c
new file mode 100644
index 0000000..14f5778
--- /dev/null
+++ b/abuse/dirlist.c
@@ -0,0 +1,21 @@
+"addon",
+"addon/bgames",
+"addon/bong",
+"addon/deathmat",
+"addon/diffsens",
+"addon/example",
+"addon/nextlev2",
+"addon/serpent",
+"addon/teamplay",
+"art",
+"art/back",
+"art/chars",
+"art/fore",
+"art/tints/ant",
+"art/tints/cop",
+"art/tints/guns",
+"levels",
+"lisp",
+"netlevel",
+"register",
+"sfx",
diff --git a/abuse/edit.lsp b/abuse/edit.lsp
new file mode 100644
index 0000000..13a0b3c
--- /dev/null
+++ b/abuse/edit.lsp
@@ -0,0 +1,3 @@
+(set_zoom 15)
+(add_palette "pal" 2 2 288 126 1 100 101 102 103 )
+
diff --git a/abuse/filelst.c b/abuse/filelst.c
new file mode 100644
index 0000000..c548bea
--- /dev/null
+++ b/abuse/filelst.c
@@ -0,0 +1,323 @@
+"addon/bgames/bgames.lsp",
+"addon/bgames/checkers.lsp",
+"addon/bgames/checkers.lvl",
+"addon/bgames/chess.lsp",
+"addon/bgames/chess.lvl",
+"addon/bgames/chess.spe",
+"addon/bgames/connect4.lsp",
+"addon/bgames/connect4.lvl",
+"addon/bgames/current.lsp",
+"addon/bgames/othello.lsp",
+"addon/bgames/othello.lvl",
+"addon/bgames/pong.spe",
+"addon/bong/bong.lsp",
+"addon/bong/bong.spe",
+"addon/bong/bong01.lvl",
+"addon/deathmat/cur_lev.lsp",
+"addon/deathmat/deathmat.lsp",
+"addon/deathmat/dstartup.lsp",
+"addon/deathmat/gamename.lsp",
+"addon/deathmat/large.lsp",
+"addon/deathmat/levelset.lsp",
+"addon/deathmat/medium.lsp",
+"addon/deathmat/small.lsp",
+"addon/deathmat/username.lsp",
+"addon/deathmat/version.lsp",
+"addon/diffsens/article.2",
+"addon/diffsens/diffsens.lsp",
+"addon/diffsens/diffsens.spe",
+"addon/example/example.lsp",
+"addon/example/example.lvl",
+"addon/example/example.spe",
+"addon/nextlev2/nextlev2.lsp",
+"addon/serpent/serpent.lsp",
+"addon/serpent/serpent.spe",
+"addon/teamplay/dstartup.lsp",
+"addon/teamplay/normal.spe",
+"addon/teamplay/people.lsp",
+"addon/teamplay/teamplay.lsp",
+"art/ant.spe",
+"art/back/backgrnd.spe",
+"art/back/cave.spe",
+"art/back/city.spe",
+"art/back/intro.spe",
+"art/back/tech.spe",
+"art/ball.spe",
+"art/blowups.spe",
+"art/bold.spe",
+"art/chars/ammo.spe",
+"art/chars/block.spe",
+"art/chars/concus.spe",
+"art/chars/door.spe",
+"art/chars/lava.spe",
+"art/chars/lavap.spe",
+"art/chars/lightin.spe",
+"art/chars/mine.spe",
+"art/chars/platform.spe",
+"art/chars/push.spe",
+"art/chars/sect.spe",
+"art/chars/step.spe",
+"art/chars/tdoor.spe",
+"art/chars/teleport.spe",
+"art/cloud.spe",
+"art/compass.spe",
+"art/consfnt.spe",
+"art/cop.spe",
+"art/coptop.spe",
+"art/credit.spe",
+"art/dev.spe",
+"art/door.spe",
+"art/endgame.spe",
+"art/exp1.spe",
+"art/flyer.spe",
+"art/fonts.spe",
+"art/fore/cave.spe",
+"art/fore/foregrnd.spe",
+"art/fore/techno.spe",
+"art/fore/techno2.spe",
+"art/fore/techno3.spe",
+"art/fore/techno4.spe",
+"art/frame.spe",
+"art/gun2.spe",
+"art/help.spe",
+"art/icons.spe",
+"art/jug.spe",
+"art/letters.spe",
+"art/misc.spe",
+"art/missle.spe",
+"art/pform.spe",
+"art/rob1.spe",
+"art/rob2.spe",
+"art/screen11.spe",
+"art/smoke.spe",
+"art/statbar.spe",
+"art/tints/ant/blue.spe",
+"art/tints/ant/brown.spe",
+"art/tints/ant/darkblue.spe",
+"art/tints/ant/egg.spe",
+"art/tints/ant/evil.spe",
+"art/tints/ant/gray.spe",
+"art/tints/ant/green.spe",
+"art/tints/ant/mustard.spe",
+"art/tints/ant/orange.spe",
+"art/tints/ant/yellow.spe",
+"art/tints/cop/africa.spe",
+"art/tints/cop/blue.spe",
+"art/tints/cop/bright.spe",
+"art/tints/cop/darkblue.spe",
+"art/tints/cop/fire.spe",
+"art/tints/cop/gold.spe",
+"art/tints/cop/gray.spe",
+"art/tints/cop/land.spe",
+"art/tints/cop/normal.txt",
+"art/tints/cop/olive.spe",
+"art/tints/cop/pinkish.spe",
+"art/tints/cop/purple.spe",
+"art/tints/cop/yellow.spe",
+"art/tints/guns/blue.spe",
+"art/tints/guns/green.spe",
+"art/tints/guns/orange.spe",
+"art/tints/guns/redish.spe",
+"art/title.spe",
+"levels/demo1.dat",
+"levels/demo1.spe",
+"levels/demo2.dat",
+"levels/demo2.spe",
+"levels/demo3.dat",
+"levels/demo4.dat",
+"levels/demo4.spe",
+"levels/demo5.dat",
+"levels/demo5.spe",
+"levels/end.spe",
+"levels/flevel12.spe",
+"levels/level00.cpf",
+"levels/level00.spe",
+"levels/level01.cpf",
+"levels/level01.spe",
+"levels/level02.cpf",
+"levels/level02.spe",
+"levels/level03.cpf",
+"levels/level03.spe",
+"levels/level04.cpf",
+"levels/level04.spe",
+"levels/level05.cpf",
+"levels/level05.spe",
+"levels/level06.cpf",
+"levels/level06.spe",
+"levels/level07.cpf",
+"levels/level07.spe",
+"levels/level08.cpf",
+"levels/level08.spe",
+"levels/level09.cpf",
+"levels/level09.spe",
+"levels/level10.cpf",
+"levels/level10.spe",
+"levels/level11.cpf",
+"levels/level11.spe",
+"levels/level12.cpf",
+"levels/level12.spe",
+"levels/level13.cpf",
+"levels/level13.spe",
+"levels/level14.cpf",
+"levels/level14.spe",
+"levels/level15.cpf",
+"levels/level15.spe",
+"levels/level16.cpf",
+"levels/level16.spe",
+"levels/level17.cpf",
+"levels/level17.spe",
+"levels/level18.cpf",
+"levels/level18.spe",
+"levels/level19.spe",
+"levels/level20.cpf",
+"levels/level20.spe",
+"levels/level21.cpf",
+"levels/level21.spe",
+"levels/levels.spe",
+"levels/mvscr",
+"levels/netreg1.spe",
+"levels/netshar1.spe",
+"levels/netshar2.spe",
+"levels/pong.lvl",
+"levels/uhh.spe",
+"lisp/ant.lsp",
+"lisp/chat.lsp",
+"lisp/common.lsp",
+"lisp/doors.lsp",
+"lisp/duong.lsp",
+"lisp/english.lsp",
+"lisp/explo.lsp",
+"lisp/flyer.lsp",
+"lisp/french.lsp",
+"lisp/gates.lsp",
+"lisp/general.lsp",
+"lisp/german.lsp",
+"lisp/guns.lsp",
+"lisp/input.lsp",
+"lisp/jugger.lsp",
+"lisp/ladder.lsp",
+"lisp/language.lsp",
+"lisp/light.lsp",
+"lisp/options.lsp",
+"lisp/people.lsp",
+"lisp/platform.lsp",
+"lisp/playwav.lsp",
+"lisp/powerup.lsp",
+"lisp/sfx.lsp",
+"lisp/sfx.lsp.old",
+"lisp/share.lsp",
+"lisp/startup.lsp",
+"lisp/switch.lsp",
+"lisp/teleport.lsp",
+"lisp/upgrade.lsp",
+"lisp/userfuns.lsp",
+"lisp/version.lsp",
+"lisp/weapons.lsp",
+"netlevel/2play1.spe",
+"netlevel/2play2.spe",
+"netlevel/2play3.spe",
+"netlevel/2play4.spe",
+"netlevel/4play1.spe",
+"netlevel/4play2.spe",
+"netlevel/4play3.spe",
+"netlevel/4play4.spe",
+"netlevel/8play1.spe",
+"netlevel/8play2.spe",
+"netlevel/8play3.spe",
+"netlevel/8play4.spe",
+"register/alien.spe",
+"register/alienb.spe",
+"register/ant.lsp",
+"register/boss.spe",
+"register/english.lsp",
+"register/flyer.lsp",
+"register/galien.spe",
+"register/green2.spe",
+"register/micron.vcd",
+"register/people.lsp",
+"register/powerup.lsp",
+"register/tiles.lsp",
+"register/trees.spe",
+"register/trees2.spe",
+"register/weapons.lsp",
+"sfx/adie02.wav",
+"sfx/adie03.wav",
+"sfx/adie05.wav",
+"sfx/ahit01.wav",
+"sfx/aland01.wav",
+"sfx/alien01.wav",
+"sfx/amb07.wav",
+"sfx/amb10.wav",
+"sfx/amb11.wav",
+"sfx/amb13.wav",
+"sfx/amb15.wav",
+"sfx/amb16.wav",
+"sfx/ambcave1.wav",
+"sfx/ambcave2.wav",
+"sfx/ambcave3.wav",
+"sfx/ambcave4.wav",
+"sfx/ambfrst2.wav",
+"sfx/ambtech1.wav",
+"sfx/ambtech2.wav",
+"sfx/ambtech3.wav",
+"sfx/ammo01.wav",
+"sfx/ammo02.wav",
+"sfx/apain01.wav",
+"sfx/aslash01.wav",
+"sfx/ball01.wav",
+"sfx/blkfoot4.wav",
+"sfx/button02.wav",
+"sfx/cleaner.wav",
+"sfx/crmble01.wav",
+"sfx/delobj01.wav",
+"sfx/doorup01.wav",
+"sfx/doorup02.wav",
+"sfx/eleacc01.wav",
+"sfx/elect02.wav",
+"sfx/eledec01.wav",
+"sfx/endlvl02.wav",
+"sfx/explod02.wav",
+"sfx/fadeon01.wav",
+"sfx/firebmb1.wav",
+"sfx/flamloop.wav",
+"sfx/fly03.wav",
+"sfx/force01.wav",
+"sfx/grenad01.wav",
+"sfx/health01.wav",
+"sfx/lasrmis2.wav",
+"sfx/lava01.wav",
+"sfx/link01.wav",
+"sfx/logo09.wav",
+"sfx/metal.wav",
+"sfx/mghit01.wav",
+"sfx/mghit02.wav",
+"sfx/pland01.wav",
+"sfx/plasma02.wav",
+"sfx/plasma03.wav",
+"sfx/pldeth02.wav",
+"sfx/pldeth04.wav",
+"sfx/pldeth05.wav",
+"sfx/pldeth07.wav",
+"sfx/plpain01.wav",
+"sfx/plpain02.wav",
+"sfx/plpain04.wav",
+"sfx/plpain10.wav",
+"sfx/poof05.wav",
+"sfx/poof06.wav",
+"sfx/robot02.wav",
+"sfx/rocket02.wav",
+"sfx/save01.wav",
+"sfx/save05.wav",
+"sfx/scream02.wav",
+"sfx/scream03.wav",
+"sfx/scream08.wav",
+"sfx/shotgn31.wav",
+"sfx/speed02.wav",
+"sfx/spring03.wav",
+"sfx/swish01.wav",
+"sfx/switch01.wav",
+"sfx/telept01.wav",
+"sfx/throw01.wav",
+"sfx/timerfst.wav",
+"sfx/zap2.wav",
+"sfx/zap3.wav",
diff --git a/abuse/fsetup.ini b/abuse/fsetup.ini
new file mode 100644
index 0000000..4f19cce
--- /dev/null
+++ b/abuse/fsetup.ini
@@ -0,0 +1,59 @@
+[PROGRAM]
+Title = Configuration carte son pour Abuse
+Copyright = (C) Copyright 1995 - Crack dot Com - All Rights Reserved
+ConfigFile = sndcard.cfg
+DigitalTest = test.raw
+MIDITest = music\intro.hmi
+MIDIMelodic = test.raw
+MIDIDrum = test.raw
+Stereo = No
+16Bit = No
+
+[SYSTEM]
+ColorSet1 = 0x70, 0x71, 0x72, 0x73, 0x74
+ColorSet2 = 0x70, 0x71, 0x72, 0x73, 0x74
+ColorSet3 = 0x70, 0x71, 0x72, 0x73, 0x74
+ColorSet4 = 0x70, 0x71, 0x72, 0x73, 0x74
+Devices = 1
+DigitalPFX = DIGITAL
+MIDIPFX = MIDI
+
+# < ID String > = < name >, < ID >, < Port >, < IRQ >, < DMA >, < MIDI Index >
+[DIGITAL]
+Device000 = Sound Blaster , 0xe000, 0x220, 5, 1, 1
+Device001 = Sound Blaster Pro , 0xe001, 0x220, 5, 1, 1
+Device002 = Sound Blaster 16 , 0xe015, 0x220, 5, 1, 1
+Device003 = Sound Blaster AWE32 , 0xe015, 0x220, 5, 1, 1
+Device004 = Ensoniq SoundScape , 0xe01d, 0x330, -1, 1, 1
+Device005 = Pas de carte son , -1, -1, -1,-1, 1
+
+
+[DETECTION]
+DeviceOrder = 5, 4, 2, 1, 0, 3, 6, 7, 8, 9, 10, 14, 15
+
+# < name >, < ID >, < MIDI Type >
+[MIDI]
+Device000 = MPU-401 , 0xa001, 0
+Device001 = Roland Sound Canvas , 0xa001, 0
+Device002 = Roland RAP-10 , 0xa001, 0
+Device003 = Roland SCC-1 or LAPC-1 , 0xa001, 0
+Device004 = Pas de musique Midi , -1, -1
+
+# < Default >, < Port >, ....
+[MIDISETTINGS]
+Device000 = 4, 0x300, 0x310, 0x320, 0x330, 0x340, 0x350
+Device001 = 4, 0x300, 0x320, 0x330, 0x332, 0x334, 0x336, 0x340
+Device002 = 1, 0x220, 0x230, 0x240, 0x250, 0x320, 0x330, 0x340
+Device003 = 4, 0x330, 0x332, 0x334, 0x336
+Device004 = 1, 0x388
+Device005 = 1, 0x388
+Device006 = 1, 0x388
+Device007 = 4, 0x388
+Device008 = 1, 0x388
+Device009 = 1, 0x388
+Device010 = 1, 0x388
+Device011 = 1, 0x388
+Device012 = 1, 0x388
+Device013 = 4, 0x300, 0x310, 0x320, 0x330, 0x340
+
+
diff --git a/abuse/game.lnk b/abuse/game.lnk
new file mode 100644
index 0000000..336ca3f
--- /dev/null
+++ b/abuse/game.lnk
@@ -0,0 +1,78 @@
+system dos4gw
+option caseexact
+option map=game.map
+debug all
+name game.exe
+option stack=120k
+file src\net\dos4gw\wat\debug\ipx_dud.obj
+file src\wat\debug\specache.obj
+file ..\imlib\wat\debug\sprite.obj
+file src\wat\debug\netcfg.obj
+file src\wat\debug\text_gui.obj
+file src\wat\debug\innet.obj
+file src\net\unix\wat\debug\gserver.obj
+file src\net\unix\wat\debug\gclient.obj
+file src\net\unix\wat\debug\fileman.obj
+file src\net\wat\debug\sock.obj
+file src\wat\debug\chat.obj
+file src\wat\debug\endgame.obj
+file src\wat\debug\setup.obj
+file src\wat\debug\version.obj
+file src\wat\debug\loadgame.obj
+file src\wat\debug\profile.obj
+file src\wat\debug\cop.obj
+file src\wat\debug\statbar.obj
+file src\wat\debug\compiled.obj
+file src\wat\debug\ant.obj
+file src\wat\debug\sensor.obj
+file src\wat\debug\lisp_opt.obj
+file src\wat\debug\demo.obj
+file src\wat\debug\lcache.obj
+file src\wat\debug\lisp_gc.obj
+file src\wat\debug\nfclient.obj
+file src\wat\debug\username.obj
+file src\wat\debug\clisp.obj
+file src\wat\debug\gui.obj
+file src\wat\debug\transp.obj
+file src\wat\debug\collide.obj
+file src\wat\debug\trig.obj
+file src\wat\debug\property.obj
+file src\wat\debug\lisp.obj
+file src\wat\debug\cache.obj
+file src\wat\debug\particle.obj
+file src\wat\debug\objects.obj
+file src\wat\debug\extend.obj
+file src\wat\debug\console.obj
+file src\wat\debug\ability.obj
+file src\wat\debug\items.obj
+file src\wat\debug\dev.obj
+file src\wat\debug\chars.obj
+file src\wat\debug\level.obj
+file src\wat\debug\smallfnt.obj
+file src\wat\debug\automap.obj
+file src\wat\debug\help.obj
+file src\wat\debug\intsect.obj
+file src\wat\debug\loader2.obj
+file src\wat\debug\seq.obj
+file src\wat\debug\points.obj
+file src\wat\debug\fnt6x13.obj
+file src\wat\debug\morpher.obj
+file src\wat\debug\menu.obj
+file src\wat\debug\director.obj
+file src\wat\debug\view.obj
+file src\wat\debug\config.obj
+file src\wat\debug\game.obj
+file src\wat\debug\light.obj
+file src\wat\debug\devsel.obj
+file src\wat\debug\crc.obj
+file src\wat\debug\gamma.obj
+file src\wat\debug\language.obj
+file ..\imlib\wat\debug\image.lib
+file ..\imlib\wat\debug\winman.lib
+file ..\imlib\wat\debug\gui.lib
+file ..\imlib\wat\debug\dir.lib
+file ..\imlib\wat\debug\time.lib
+file c:\sos\lib\sosw1cr.lib
+file ..\imlib\wat\debug\sound.lib
+file ..\imlib\wat\debug\joy.lib
+file ..\imlib\wat\debug\packet.lib
diff --git a/abuse/gamma.lsp b/abuse/gamma.lsp
new file mode 100644
index 0000000..45a5aa9
--- /dev/null
+++ b/abuse/gamma.lsp
@@ -0,0 +1 @@
+(setq darkest_gray 24)
diff --git a/abuse/gsetup.ini b/abuse/gsetup.ini
new file mode 100644
index 0000000..1a993c4
--- /dev/null
+++ b/abuse/gsetup.ini
@@ -0,0 +1,59 @@
+[PROGRAM]
+Title = Abuse Soundkarten-Konfiguration
+Copyright = (C) Copyright 1995 - Crack dot Com - All Rights Reserved
+ConfigFile = sndcard.cfg
+DigitalTest = test.raw
+MIDITest = music\intro.hmi
+MIDIMelodic = test.raw
+MIDIDrum = test.raw
+Stereo = No
+16Bit = No
+
+[SYSTEM]
+ColorSet1 = 0x70, 0x71, 0x72, 0x73, 0x74
+ColorSet2 = 0x70, 0x71, 0x72, 0x73, 0x74
+ColorSet3 = 0x70, 0x71, 0x72, 0x73, 0x74
+ColorSet4 = 0x70, 0x71, 0x72, 0x73, 0x74
+Devices = 1
+DigitalPFX = DIGITAL
+MIDIPFX = MIDI
+
+# < ID String > = < name >, < ID >, < Port >, < IRQ >, < DMA >, < MIDI Index >
+[DIGITAL]
+Device000 = Sound Blaster , 0xe000, 0x220, 5, 1, 1
+Device001 = Sound Blaster Pro , 0xe001, 0x220, 5, 1, 1
+Device002 = Sound Blaster 16 , 0xe015, 0x220, 5, 1, 1
+Device003 = Sound Blaster AWE32 , 0xe015, 0x220, 5, 1, 1
+Device004 = Ensoniq SoundScape , 0xe01d, 0x330, -1, 1, 1
+Device005 = Keine Soundkarte , -1, -1, -1,-1, 1
+
+
+[DETECTION]
+DeviceOrder = 5, 4, 2, 1, 0, 3, 6, 7, 8, 9, 10, 14, 15
+
+# < name >, < ID >, < MIDI Type >
+[MIDI]
+Device000 = MPU-401 , 0xa001, 0
+Device001 = Roland Sound Canvas , 0xa001, 0
+Device002 = Roland RAP-10 , 0xa001, 0
+Device003 = Roland SCC-1 or LAPC-1 , 0xa001, 0
+Device004 = Keine Midi-Karte , -1, -1
+
+# < Default >, < Port >, ....
+[MIDISETTINGS]
+Device000 = 4, 0x300, 0x310, 0x320, 0x330, 0x340, 0x350
+Device001 = 4, 0x300, 0x320, 0x330, 0x332, 0x334, 0x336, 0x340
+Device002 = 1, 0x220, 0x230, 0x240, 0x250, 0x320, 0x330, 0x340
+Device003 = 4, 0x330, 0x332, 0x334, 0x336
+Device004 = 1, 0x388
+Device005 = 1, 0x388
+Device006 = 1, 0x388
+Device007 = 4, 0x388
+Device008 = 1, 0x388
+Device009 = 1, 0x388
+Device010 = 1, 0x388
+Device011 = 1, 0x388
+Device012 = 1, 0x388
+Device013 = 4, 0x300, 0x310, 0x320, 0x330, 0x340
+
+
diff --git a/abuse/hardness.lsp b/abuse/hardness.lsp
new file mode 100644
index 0000000..cb80744
--- /dev/null
+++ b/abuse/hardness.lsp
@@ -0,0 +1 @@
+(setf difficulty 'hard)
diff --git a/abuse/i4maker.lsp b/abuse/i4maker.lsp
new file mode 100644
index 0000000..5a74e43
--- /dev/null
+++ b/abuse/i4maker.lsp
@@ -0,0 +1,149 @@
+(perm-space)
+
+(setq outdir "/tmp/")
+
+(defun imlib (filename) (concatenate 'string "../imlib/" filename))
+(defun i4 (filename) (concatenate 'string "../i4/" filename))
+(defun x (y) (cons y "hI"))
+
+(defun list_imlib (list)
+ (if list
+ (cons (imlib (car list)) (list_imlib (cdr list)))))
+
+(setq platform-files
+ (select platform
+ ('LINUX
+ (print (mapcar 'x '("hi" "there")))
+ (list_imlib
+ '("port/unix/jdir"
+ "port/unix/joystick"
+ "port/x11/video"
+ "port/x11/mouse"
+ "port/x11/event"
+ "port/unix/timing"
+ )))
+
+ ('SGI
+ (list_imlib
+ '("port/sgi/sound"
+ "port/unix/joystick"
+ "port/x11/video"
+ "port/x11/mouse"
+ "port/x11/event"
+ "port/sgi/timing"
+ "port/unix/jdir"
+ )))
+ ('WATCOM
+ (list_imlib
+ '("port/svga/video"
+ "port/svga/mouse"
+ "port/svga/event"
+ "port/dos4gw/sound"
+ "port/dos4gw/profile"
+ "port/dos4gw/jdir"
+ "port/dos4gw/video"
+ "port/dos4gw/mouse"
+ "port/dos4gw/event"
+ "port/dos4gw/doscall"
+ "port/dos4gw/joystick"
+ "port/dos4gw/timing"
+ )))
+ ))
+
+
+
+
+(print "Generating makefile for : ")
+(print platform)
+
+(setq executable_name "game")
+(setq c_files_used (nconc
+ platform-files
+ (list_imlib
+ '("filter" "gifread" "globals" "image" "linked" "input"
+ "mdlread" "palette" "ppmread" "sprite" "include" "xwdread"
+ "fonts" "decoder" "loader" "glread" "texture" "specs"
+ "supmorph" "image24" "pcxread" "timage" "jmalloc"
+ "jrand" "lbmread" "keys" "dprint" "status" "visobj"
+ "readwav" "packet"
+ "pmenu" "scroller" "filesel" "tools" "guistat"
+ "jwindow"
+ ))
+ '("src/netcfg"
+ "src/text_gui"
+ "src/innet"
+ "src/net/unix/gserver"
+ "src/net/unix/gclient"
+ "src/net/unix/fileman"
+ "src/net/sock"
+ "src/chat"
+ "src/endgame"
+ "src/setup"
+ "src/version"
+ "src/loadgame"
+ "src/profile"
+ "src/cop"
+ "src/statbar"
+ "src/compiled"
+ "src/ant"
+ "src/sensor"
+ "src/lisp_opt"
+ "src/demo"
+ "src/lcache"
+ "src/lisp_gc"
+ "src/nfclient"
+ "src/username"
+ "src/clisp"
+ "src/gui"
+ "src/transp"
+ "src/collide"
+ "src/trig"
+ "src/property"
+ "src/lisp"
+ "src/cache"
+ "src/particle"
+ "src/objects"
+ "src/extend"
+ "src/console"
+ "src/ability"
+ "src/items"
+ "src/dev"
+ "src/chars"
+ "src/level"
+ "src/smallfnt"
+ "src/automap"
+ "src/help"
+ "src/intsect"
+ "src/loader"
+ "src/seq"
+ "src/points"
+ "src/fnt6x13"
+ "src/morpher"
+ "src/menu"
+ "src/director"
+ "src/view"
+ "src/config"
+ "src/game"
+ "src/light"
+ "src/devsel"
+ "src/crc"
+ "src/gamma"
+ "src/language")))
+
+
+
+(setq inc_directories (list (imlib "include") "inc" ))
+(setq libraries_used ())
+
+
+
+(setq targets
+ `((,executable_name
+ ,c_files_used
+ ,libraries_used
+ ,inc_directories
+ "")))
+
+(setq cflags "")
+(trace)
+(compile-file (i4 "lisp/makemake.lsp")) \ No newline at end of file
diff --git a/abuse/inc/ability.hpp b/abuse/inc/ability.hpp
new file mode 100644
index 0000000..6e51d3d
--- /dev/null
+++ b/abuse/inc/ability.hpp
@@ -0,0 +1,25 @@
+#ifndef ABILITIES_HPP_
+#define ABILITIES_HPP_
+
+enum ability
+{ start_hp,
+ start_accel,
+ stop_accel,
+ jump_xvel,
+ jump_yvel,
+ run_top_speed,
+ jump_top_speed,
+
+ tint_color,
+ push_xrange,
+ walk_top_speed // keep as last entry!
+} ;
+
+#define TOTAL_ABILITIES (walk_top_speed+1)
+extern char *ability_names[TOTAL_ABILITIES];
+long get_ability(int who, ability a);
+long get_ability_default(ability a);
+
+#endif
+
+
diff --git a/abuse/inc/ant.hpp b/abuse/inc/ant.hpp
new file mode 100644
index 0000000..78d9ce4
--- /dev/null
+++ b/abuse/inc/ant.hpp
@@ -0,0 +1,21 @@
+#ifndef __ANT_HPP_
+#define __ANT_HPP_
+
+enum { ANT_START,
+ ANT_HANGING=15,
+ ANT_HIDING=16,
+ ANT_FALL_DOWN=1,
+ ANT_LANDING=9,
+ ANT_RUNNING=2,
+ ANT_POUNCE_WAIT=4,
+ ANT_JUMP=6,
+ ANT_FIRE=8,
+ ANT_JUMP_ROOF=12,
+ ANT_ROOF_WALK=13,
+ ANT_CEIL_SHOOT=14};
+
+void *ant_ai();
+void show_stats();
+
+
+#endif
diff --git a/abuse/inc/automap.hpp b/abuse/inc/automap.hpp
new file mode 100644
index 0000000..0a6415f
--- /dev/null
+++ b/abuse/inc/automap.hpp
@@ -0,0 +1,25 @@
+#ifndef __AUTOMAP_HPP_
+#define __AUTOMAP_HPP_
+
+#include "jwindow.hpp"
+#include "level.hpp"
+
+class automap
+{
+ jwindow *automap_window;
+ level *cur_lev;
+ int tick,w,h; // used to draw your position as a blinking spot
+ long old_dx,old_dy;
+public :
+ automap(level *l, int width, int height);
+ void toggle_window();
+ void handle_event(event &ev);
+ void draw();
+ ~automap() { if (automap_window) toggle_window(); }
+} ;
+
+extern automap *current_automap;
+
+#endif
+
+
diff --git a/abuse/inc/bus_type.hpp b/abuse/inc/bus_type.hpp
new file mode 100644
index 0000000..e5e19d8
--- /dev/null
+++ b/abuse/inc/bus_type.hpp
@@ -0,0 +1,28 @@
+#ifndef BUS_TYPE_HPP
+#define BUS_TYPE_HPP
+
+#ifdef __sgi
+#define WORD_ALLIGN 1
+#endif
+
+#ifdef sun
+#define WORD_ALLIGN 1
+#endif
+
+#ifdef SUN3
+#define WORD_ALLIGN 1
+#endif
+
+#ifdef SUN4
+#define WORD_ALLIGN 1
+#endif
+
+#ifdef __sgi
+#define WORD_ALLIGN 1
+#endif
+
+#ifdef _AIX
+#define WORD_ALLIGN 1
+#endif
+
+#endif
diff --git a/abuse/inc/cache.hpp b/abuse/inc/cache.hpp
new file mode 100644
index 0000000..475ccd5
--- /dev/null
+++ b/abuse/inc/cache.hpp
@@ -0,0 +1,133 @@
+#ifndef __CASHE_HPP_
+#define __CASHE_HPP_
+
+#include <stdlib.h>
+#include "specs.hpp"
+#include "items.hpp"
+#include "sound.hpp"
+#include "particle.hpp"
+#include "lisp.hpp"
+
+class level;
+/* Cache item types :
+
+ foretile,backtile,character,
+ sound,
+ image,trans_image
+
+*/
+
+
+
+struct cache_item
+{
+ void *data;
+ long last_access;
+ unsigned char type;
+ short file_number;
+ long offset;
+} ;
+
+
+
+class crced_file
+{
+ public :
+ int crc_calculated;
+ ulong crc;
+ char *filename;
+ crced_file(char *name);
+ ~crced_file();
+} ;
+
+class crc_manager // stores crc for each file open so redundant calculations are not done
+{
+ int total_files;
+ crced_file **files;
+ public :
+ crc_manager();
+ int get_filenumber(char *filename);
+ ulong get_crc(long filenumber, int &failed);
+ void set_crc(long filenumber, ulong crc);
+ char *get_filename(long filenumber);
+ void clean_up();
+ int total_filenames() { return total_files; }
+ int write_crc_file(char *filename);
+ int load_crc_file(char *filename);
+} ;
+
+
+
+class cache_list
+{
+ cache_item *list;
+ long total,last_registered,last_access,poll_start_access;
+ short last_file; // for speed leave the last file accessed open
+
+ bFILE *fp,*cache_file,*cache_read_file;
+ spec_directory *last_dir;
+ long last_offset; // store the last offset so we don't have to seek if
+ // we don't need to
+
+
+ short lcache_number;
+ long alloc_id();
+ void locate(cache_item *i, int local_only=0); // set up file and offset for this item
+ void normalize();
+ void unmalloc(cache_item *i);
+ int used, // flag set when disk is accessed
+ ful; // set when stuff has to be thrown out
+ int *prof_data; // holds counts for each id
+ void preload_cache_object(int type);
+ void preload_cache(level *lev);
+public :
+ void create_lcache();
+ cache_list();
+ void free_oldest();
+ int in_use() { if (used) { used=0; return 1; } else return 0; }
+ int full() { if (ful) { ful=0; return 1; } else return 0; }
+ long reg_object(char *filename, void *object, int type, int rm_dups); // lisp object
+ long reg(char *filename, char *name, int type=-1, int rm_dups=0); // returns id to item
+ long reg_lisp_block(Cell *block);
+ int loaded(int id);
+ void unreg(int id);
+ void note_need(int id);
+
+ backtile *backt(int id);
+ foretile *foret(int id);
+ figure *fig(int id);
+ image *img(int id);
+ part_frame *part(int id);
+ sound_effect *sfx(int id);
+ Cell *lblock(int id);
+ char_tint *ctint(int id);
+
+ void prof_init();
+ void prof_write(bFILE *fp);
+ void prof_uninit();
+ int prof_size(); // sizeof of spec entry that will be saved
+ void prof_poll_start();
+ void prof_poll_end();
+ int prof_is_on() { return prof_data!=NULL; } // so level knows weither to save prof info or not
+ int compare(int a, int b); // compares the ussage counts of 2 entries (used by qsort)
+ int offset_compare(int a, int b);
+
+ void load_cache_prof_info(char *filename, level *lev);
+ int search(int *sarray, ushort filenum, long offset); // sarray is a index table sorted by offset/filenum
+
+ void show_accessed();
+ void empty();
+ ~cache_list();
+} ;
+
+extern cache_list cash;
+extern crc_manager crc_man;
+
+
+#endif
+
+
+
+
+
+
diff --git a/abuse/inc/chars.hpp b/abuse/inc/chars.hpp
new file mode 100644
index 0000000..e07a84a
--- /dev/null
+++ b/abuse/inc/chars.hpp
@@ -0,0 +1,137 @@
+#ifndef __CHARACTERZ_HPP_
+#define __CHARACTERZ_HPP_
+
+
+#include "seq.hpp"
+#include "sound.hpp"
+#include "ability.hpp"
+#include "event.hpp"
+#include "macs.hpp"
+#include <stdarg.h>
+#include <time.h>
+
+
+enum character_state {dead,
+ dieing,
+ stopped,
+ start_run_jump,run_jump, run_jump_fall, end_run_jump,
+ flinch_up,flinch_down,
+ morph_pose,
+ running
+ } ;
+
+
+
+#define MAX_STATE (running+1)
+extern char *state_names[];
+
+class named_field
+{
+ public :
+ char *real_name;
+ char *descript_name;
+ named_field(char *real, char *fake)
+ { real_name=strcpy((char *)jmalloc(strlen(real)+1,"var_name"),real);
+ descript_name=strcpy((char *)jmalloc(strlen(fake)+1,"var_name"),fake);
+ }
+ ~named_field() { jfree(real_name); jfree(descript_name); }
+} ;
+
+
+
+// all cflags default is 0
+#define TOTAL_CFLAGS 11
+enum { CFLAG_HURT_ALL, // if object hurts all characters, not just player
+ CFLAG_IS_WEAPON, // if object is a collectable weapon (should have a logo)
+ CFLAG_STOPPABLE, // if object can be stopped by any other object
+ CFLAG_CAN_BLOCK, // if object can block other object
+ CFLAG_HURTABLE,
+ CFLAG_PUSHABLE, // can push other pushable characters
+ CFLAG_UNLISTABLE, // if object should appear in object list during edit mode
+ CFLAG_ADD_FRONT,
+ CFLAG_CACHED_IN,
+ CFLAG_NEED_CACHE_IN,
+ CFLAG_UNACTIVE_SHIELD // if object is not active (i.e. link 0 aistate==0)
+ // then objects will not draw a damage when hitting it
+ };
+extern char *cflag_names[TOTAL_CFLAGS];
+
+// all object functions default to NULL
+#define TOTAL_OFUNS 11
+enum { OFUN_AI, // objects ai function called by the mover, should call (tick)
+ OFUN_MOVER, // objects move function, gets x y and but
+ OFUN_DRAW,
+ OFUN_MAP_DRAW,
+ OFUN_DAMAGE, // called when the object receives damage
+ OFUN_NEXT_STATE, // called at the end of an object sequence
+ OFUN_USER_FUN, // can by called (user_fun x y z)
+ OFUN_CONSTRUCTOR, // called when object is created, dev & play modes
+ OFUN_RELOAD, // called when the object is loaded from disk (not save games)
+ OFUN_GET_CACHE_LIST, // called on level load, should return list (a . b) a is character id, and b is other ids
+ OFUN_CHANGE_TYPE
+ } ;
+extern char *ofun_names[TOTAL_OFUNS];
+
+
+class character_type
+{
+public :
+ ushort ts,tiv,tv; // total states, total index vars, total local vars
+ sequence **seq; // [0..ts-1]
+ void **seq_syms; // symbol describing what this state is [0..ts-1]
+
+ void **vars; // symbol describing variable names [0..tiv-1]
+ short *var_index; // index into local var [0..tiv-1]
+
+ void add_var(void *symbol, void *name);
+ int add_state(void *symbol); // returns index into seq to use
+ int abil[TOTAL_ABILITIES];
+ void *fun_table[TOTAL_OFUNS]; // pointers to lisp function for this object
+ int logo,morph_mask,morph_power;
+ long rangex,rangey,draw_rangex,draw_rangey; // range off screen before character is skipped
+
+ ushort cflags;
+ void *get_fun(int name) { return fun_table[name]; }
+ int get_cflag(int name) { return cflags&(1<<name); }
+ void set_cflag(int name, int x) { if (x) cflags|=(1<<name); else cflags&=~(1<<name); }
+ int total_fields; // used by game editor to replace field names
+ named_field **fields;
+ character_type(void *args, void *name); // lisp object describes object
+
+ sequence *get_sequence(character_state s);
+ void add_sequence(character_state which, sequence *new_seq);
+ int has_sequence(character_state s) { return s<ts && (seq[s]!=NULL); }
+ int cache_in(); // returns false if out of cache memory
+ void check_sizes();
+ long isa_var_name(char *name);
+
+ ~character_type();
+} ;
+
+extern character_type **figures;
+int flinch_state(character_state state);
+
+void *def_char(void *args);
+
+extern int total_weapons;
+extern int *weapon_types; // maps 0..total_weapons into 'real' weapon type
+
+#endif
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/abuse/inc/chat.hpp b/abuse/inc/chat.hpp
new file mode 100644
index 0000000..c1f58cf
--- /dev/null
+++ b/abuse/inc/chat.hpp
@@ -0,0 +1,22 @@
+#ifndef CHAT_HPP_
+#define CHAT_HPP_
+
+#include "console.hpp"
+
+class chat_console : public console
+{
+
+ public :
+ int chat_event(event &ev) { if (!con_win) return 0; else return con_win==ev.window; }
+ void draw_user(char *st);
+ void put_all(char *st);
+ void clear();
+ chat_console(window_manager *WM, JCFont *font, int width, int height);
+
+} ;
+
+extern chat_console *chat;
+
+#endif
+
+
diff --git a/abuse/inc/chmorph.hpp b/abuse/inc/chmorph.hpp
new file mode 100644
index 0000000..829f6d5
--- /dev/null
+++ b/abuse/inc/chmorph.hpp
@@ -0,0 +1,14 @@
+#ifndef __chmorph_hpp_
+#define __chmorph_hpp_
+
+#include "morph.hpp"
+#include "filter.hpp"
+
+extern jmorph *normal_to_pacman;
+extern color_filter *color_table;
+
+void load_morphs();
+
+#endif
+
+
diff --git a/abuse/inc/client.hpp b/abuse/inc/client.hpp
new file mode 100644
index 0000000..be13154
--- /dev/null
+++ b/abuse/inc/client.hpp
@@ -0,0 +1,48 @@
+#ifndef __CLIENT_HPP_
+#define __CLIENT_HPP_
+/*
+
+ Client duties :
+
+ - Get local inputs
+ - Send current inputs
+
+ - read server commands until
+ - process commands
+ - ability to detach from server
+ - ability to "talk" with a local server
+ through global local_server
+ and functions local_server->insert_received_packet(pk);
+ local_server->get_output_packet(pk);
+
+
+*/
+#include "macs.hpp"
+#include "packet.hpp"
+class view;
+
+class game_client
+{
+ int process_command(uchar cmd, view *player, packet &pk);
+ int need_to_read_views;
+public :
+ int cnum;
+ game_client(int client_number);
+ void request_entry(); // asks server for entry into the game
+ void wait_entry(); // wait for signal from server so we can download level
+ void entry_continue(); // server needs ack before continue from above
+ void get_local_inputs(packet &pk); // writes inputs to packet as commands
+ void send_local_request(packet &pk); // sends commands to server
+
+ void read_server_commands(packet &pk); // reads everybodies commands
+ void process_packet(packet &pk);
+ void quit_server();
+ void read_views();
+} ;
+
+extern game_client *local_client;
+
+#endif
+
+
+
diff --git a/abuse/inc/clisp.hpp b/abuse/inc/clisp.hpp
new file mode 100644
index 0000000..e6a900f
--- /dev/null
+++ b/abuse/inc/clisp.hpp
@@ -0,0 +1,48 @@
+#ifndef __CLISP_HPP_
+#ifndef SCADALISP
+int get_lprop_number(void *sybol, int def); // returns def if symbol undefined or not number type
+
+
+void push_onto_list(void *object, void *&list);
+
+
+// variables for the status bar
+extern void *l_statbar_ammo_x,*l_statbar_ammo_y,
+ *l_statbar_ammo_w,*l_statbar_ammo_h,
+ *l_statbar_ammo_bg_color,
+
+ *l_statbar_health_x,*l_statbar_health_y,
+ *l_statbar_health_w,*l_statbar_health_h,
+ *l_statbar_health_bg_color,
+
+ *l_statbar_logo_x,*l_statbar_logo_y,
+ *l_object,*l_tile,*l_fire_object,
+ *l_player_draw,*l_sneaky_draw,
+ *l_draw_fast,*l_player_tints,*l_next_song,
+ *l_level_load_start,
+ *l_level_load_end,
+ *l_cdc_logo,
+ *l_keep_backup,
+ *l_switch_to_powerful,
+ *l_mouse_can_switch,
+ *l_ask_save_slot,
+ *l_get_local_input,
+ *l_post_render,
+ *l_chat_input,
+ *l_player_text_color,
+ *l_level_loaded; // called when a new level is loaded
+
+
+/******************************** Lisp objects **********************************/
+extern void *l_difficulty,*l_easy,*l_hard,*l_medium,*l_extreme,*l_main_menu,
+ *l_logo,*l_state_art,*l_default_abilities,*l_abilities,
+ *l_default_ai_function,*l_state_sfx,
+ *l_morph,*l_max_power,
+ *l_song_list,*l_filename,*l_sfx_directory,*l_max_hp,*l_default_font,
+ *l_empty_cache,*l_range,*l_joy_file,*l_death_handler,
+ *l_title_screen,*l_console_font,*l_fields,*l_FIRE,*l_fire_object,
+ *l_cop_dead_parts,*l_restart_player,*l_help_screens,*l_save_order;
+
+
+#endif
+#endif
diff --git a/abuse/inc/compiled.hpp b/abuse/inc/compiled.hpp
new file mode 100644
index 0000000..da35afb
--- /dev/null
+++ b/abuse/inc/compiled.hpp
@@ -0,0 +1,30 @@
+#ifndef __COMPILED_HPP_
+#define __COMPILED_HPP_
+#include "macs.hpp"
+extern long S_fall_start,S_falling,S_landing,S_pounce_wait,
+ S_turn_around,S_fire_wait,S_ceil_fire,S_top_walk,
+ S_blown_back_dead,S_jump_up,S_hiding,S_weapon_fire,
+ S_hanging,S_blocking,S_rotate,S_climbing,S_climb_off,
+ S_fly_stopped,S_fast_stopped,S_fast_running,S_fly_running,
+ S_fly_start_run_jump,S_fly_run_jump,S_fly_run_jump_fall,S_fly_end_run_jump,
+ S_fast_start_run_jump,S_fast_run_jump,S_fast_run_jump_fall,S_fast_end_run_jump,
+ S_bright_tint,S_climb_on,
+
+ S_ALAND_SND,S_ASCREAM_SND,S_ASLASH_SND,
+ S_ROCKET_TOP,S_BFG_TOP,S_GRENADE_TOP,S_DFRIS_TOP,S_FIREBOMB_TOP,S_ANT_ROOF,
+ S_MGUN_TOP,S_CLOUD,S_HIDDEN_ANT,
+ S_health_image,S_fly_image,S_fast_image,
+ S_sneaky_image,S_EXPLODE5,S_EXPLODE3,S_ROCKET,
+ S_TRACK_GUN,S_SPRAY_GUN,S_LPING_SND,S_FLY_SND,S_SPEED_SND,S_SCARE_SND,
+ S_LOW_HEALTH_SND,S_BUTTON_PRESS_SND,
+ S_LINK_SND,S_DELETE_SND;
+
+
+
+void compiled_init();
+void compiled_uninit();
+
+extern uchar *bad_guy_array; // list flaging each character saying they are a bad bug or not
+ // mainly used by the rocket to find targets
+
+#endif
diff --git a/abuse/inc/config.hpp b/abuse/inc/config.hpp
new file mode 100644
index 0000000..7fcf7a8
--- /dev/null
+++ b/abuse/inc/config.hpp
@@ -0,0 +1,16 @@
+#ifndef __CONFIG_HPP_
+#define __CONFIG_HPP_
+
+enum { HIGH_DETAIL,
+ MEDIUM_DETAIL,
+ LOW_DETAIL,
+ POOR_DETAIL };
+
+
+void key_bindings(int player, int &left, int &right, int &up, int &down, int &b1, int &b2, int &b3, int &b4);
+void get_key_bindings();
+void get_movement(int player, int &x, int &y, int &b1, int &b2, int &b3, int &b4);
+void config_cleanup(); // free any memory allocated
+int get_keycode(char *str); // -1 means not a valid key code
+
+#endif
diff --git a/abuse/inc/console.hpp b/abuse/inc/console.hpp
new file mode 100644
index 0000000..d269330
--- /dev/null
+++ b/abuse/inc/console.hpp
@@ -0,0 +1,45 @@
+#ifndef __CONSOLE_HPP_
+#define __CONSOLE_HPP_
+#include "jwindow.hpp"
+
+class console
+{
+ protected :
+ int lastx,lasty,w,h,cx,cy;
+ JCFont *fnt;
+ char *screen;
+ jwindow *con_win;
+ window_manager *wm;
+ char *name;
+ public :
+
+ console(window_manager *WM, JCFont *font, int width, int height, char *Name);
+ int showing() { return con_win!=NULL; }
+ void show();
+ void hide();
+ void redraw();
+ void put_char(char ch);
+ void do_cr();
+ int screen_w() { return w*fnt->width(); }
+ int screen_h() { return h*fnt->height(); }
+ int wx() { return con_win->x1(); }
+ int wy() { return con_win->y1(); }
+ void draw_cursor();
+ void put_string(char *st);
+ void draw_char(int x, int y, char ch);
+ void toggle() { if (con_win) hide(); else show(); }
+ void printf(const char *format, ...);
+ ~console();
+} ;
+
+class shell_term : public console
+{
+ char shcmd[300];
+ public :
+ shell_term(window_manager *WM, JCFont *font, int width, int height, char *Name);
+ int handle_event(event &ev, window_manager *wm);
+ virtual void prompt();
+ virtual void execute(char *st);
+} ;
+
+#endif
diff --git a/abuse/inc/control.hpp b/abuse/inc/control.hpp
new file mode 100644
index 0000000..04b39f5
--- /dev/null
+++ b/abuse/inc/control.hpp
@@ -0,0 +1,42 @@
+#ifndef __CONTROLLED_HPP_
+#define __CONTROLLED_HPP_
+
+#include "objects.hpp"
+#include "chars.hpp"
+
+
+// The controlled character is you!
+
+#define CHAR_HUMAN 0
+#define CHAR_IGUANA 1
+
+#define GAME_CHARACTERS 2
+#define TOTAL_CHARACTERS 10
+
+#define MORPH_TABLE_WIDTH (GAME_CHARACTERS-1)
+
+extern sequence *morph_table[MORPH_TABLE_WIDTH*MORPH_TABLE_WIDTH];
+
+class controlled_character : public game_object
+{
+ game_object *cur_char;
+ signed char morphing_to; // who you are right now
+ unsigned long abilities; // if 1<<character bit is set then you have that ability
+ void change_character(int char_type);
+
+public :
+ controlled_character(long X, long Y);
+ controlled_character(FILE *fp);
+ virtual int size();
+ virtual game_objects type() { return O_starting_position; }
+ virtual void save(FILE *fp);
+ virtual int decide();
+
+ void do_damage(int amount, game_object *who, game_object *from);
+} ;
+
+
+#endif
+
+
+
diff --git a/abuse/inc/cop.hpp b/abuse/inc/cop.hpp
new file mode 100644
index 0000000..52b3460
--- /dev/null
+++ b/abuse/inc/cop.hpp
@@ -0,0 +1,23 @@
+#ifndef __COP_HPP_
+#define __COP_HPP_
+
+// functions defined for the main player, these were translated because they
+// are called every tick and they were getting slow/complicated
+
+void *top_ai();
+void *laser_ufun(void *args);
+void *top_ufun(void *args);
+void *plaser_ufun(void *args);
+void *player_rocket_ufun(void *args);
+void *lsaber_ufun(void *args);
+void *cop_mover(int xm, int ym, int but);
+void *sgun_ai();
+void *ladder_ai();
+void *top_draw();
+void *bottom_draw();
+void *mover_ai();
+void *respawn_ai();
+void *score_draw();
+void *show_kills();
+
+#endif
diff --git a/abuse/inc/crc.hpp b/abuse/inc/crc.hpp
new file mode 100644
index 0000000..d7972f3
--- /dev/null
+++ b/abuse/inc/crc.hpp
@@ -0,0 +1,10 @@
+#ifndef _CRC_HPP_
+#define _CRC_HPP_
+#include "specs.hpp"
+#include "macs.hpp"
+
+unsigned short calc_crc(unsigned char *buf, long len);
+ulong crc_file(bFILE *fp);
+
+
+#endif
diff --git a/abuse/inc/demo.hpp b/abuse/inc/demo.hpp
new file mode 100644
index 0000000..720577c
--- /dev/null
+++ b/abuse/inc/demo.hpp
@@ -0,0 +1,39 @@
+#ifndef __DEMO_HPP_
+#define __DEMO_HPP_
+
+#include "jwindow.hpp"
+
+class demo_manager
+{
+ void *initial_difficulty;
+ bFILE *record_file;
+ int skip_next;
+
+ public :
+ enum demo_state { NORMAL,
+ RECORDING,
+ PLAYING } state;
+ int set_state(demo_state new_state, char *filename=NULL);
+ demo_state current_state() { return state; }
+ int save_packet(void *packet, int packet_size); // returns non 0 if actually saved
+ int get_packet(void *packet, int &packet_size); // returns non 0 if actually loaded
+
+ int start_playing(char *filename);
+ int start_recording(char *filename);
+ void reset_game();
+ int demo_skip() { if (skip_next) { skip_next--; return 1; } else return 0; }
+ demo_manager() { state=NORMAL; skip_next=0; }
+ void do_inputs();
+} ;
+
+extern demo_manager demo_man;
+
+extern void get_event(event &ev, window_manager *wm);
+extern int event_waiting(window_manager *wm);
+
+
+
+extern int last_demo_mx,last_demo_my,last_demo_mbut;
+//extern ulong demo_tick_on;
+#endif
+
diff --git a/abuse/inc/dev.hpp b/abuse/inc/dev.hpp
new file mode 100644
index 0000000..a3c7ee7
--- /dev/null
+++ b/abuse/inc/dev.hpp
@@ -0,0 +1,148 @@
+#ifndef __DEV_HPP_
+#define __DEV_HPP_
+
+#include "game.hpp"
+#include "light.hpp"
+#include "console.hpp"
+#include "timing.hpp"
+
+
+extern int scale_mult,scale_div;
+extern char level_file[100];
+extern image *small_render;
+
+void dev_init(int argc, char **argv);
+void dev_cleanup();
+void toggle_edit_mode();
+char *symbol_str(char *name);
+
+class pal_win
+{
+ long scale,w,h,x,y,last_selected;
+ unsigned short *pat;
+ void draw();
+
+public :
+ jwindow *me;
+ void close_window();
+ void open_window();
+ char *name;
+ void handle_event(event &ev);
+ pal_win(void *args);
+ void resize(int xa, int ya);
+ int get_pat(int x, int y) { return pat[y*w+x]; }
+ int width() { return w; }
+ int height() { return h; }
+ void save(FILE *fp);
+ ~pal_win();
+} ;
+
+enum dev_state { DEV_CREATE_OBJECT,
+ DEV_MOVE_OBJECT,
+ DEV_SELECT,
+ DEV_MOUSE_RELEASE,
+ DEV_MOVE_LIGHT,
+ DEV_CREATE_LIGHT,
+ DEV_DRAG_AREA_TOP,
+ DEV_DRAG_AREA_BOTTOM };
+
+extern char backw_on,forew_on,show_menu_on,ledit_on,pmenu_on,omenu_on,commandw_on,tbw_on,searchw_on,
+ small_render_on,interpolate_draw,disable_autolight,fps_on,profile_on,show_names,fg_reversed,
+ raise_all;
+
+
+class dev_controll
+{
+ game_object *edit_object,*selected_object,*ai_object,*search_object,
+ *link_object;
+ light_source *edit_light,*selected_light;
+ pal_win **pal_wins;
+ char **pwin_list;
+ int total_pals;
+ dev_state state;
+ int area_x1,area_y1,area_x2,area_y2;
+ area_controller *current_area;
+ time_marker last_area_click;
+public :
+ jwindow *backw,*forew,*commandw,*modew,*omenu,*oedit,*ledit,
+ *music_window,*pmenu,*show_menu,*lightw,*aiw,*ambw,*tbw,*area_win,
+ *search_window,*memprof;
+
+ int fg_w,bg_w,fg_scale,bg_scale,yellow;
+ void save();
+ void fg_fill(int color, int x, int y, pal_win *p);
+ void add_palette(void *args);
+ void toggle_memprof();
+ void search_forward();
+ void search_backward();
+ void toggle_toolbar();
+ void toggle_fgw();
+ void toggle_bgw();
+ void toggle_omenu();
+ void toggle_music_window();
+ void toggle_pmenu();
+ void toggle_show_menu();
+ void toggle_light_window();
+ void toggle_search_window();
+ void show_char_mem(char *name);
+ void close_oedit_window();
+ void show_mem();
+ dev_controll();
+ void handle_event(event &ev);
+ void do_command(char *st, event &ev);
+ int is_pal_win(jwindow *win);
+ void dev_draw(view *v);
+ void load_stuff();
+ int repeat_key_mode();
+ int need_plus_minus();
+ int need_arrows();
+ void make_ai_window(game_object *o);
+ void close_ai_window();
+ void make_ambient();
+ int ok_to_scroll();
+ long snap_x(long x);
+ long snap_y(long y);
+ void area_handle_input(event &ev);
+ void pick_handle_input(event &ev);
+ void close_area_win(int read_values);
+ void notify_deleted_object(game_object *o);
+ void notify_deleted_light(light_source *l);
+ void set_state(int new_state);
+ void update_memprof();
+ ~dev_controll();
+} ;
+
+class dev_term : public shell_term
+{
+ dev_controll *dv;
+ public :
+ dev_term(int width, int height, dev_controll *dev) : shell_term(eh,console_font,width,height,"dev")
+ {
+ dv=dev;
+ }
+ virtual void execute(char *st);
+} ;
+
+extern dev_term *dev_console;
+
+extern dev_controll *dev_cont;
+
+
+#endif
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/abuse/inc/devsel.hpp b/abuse/inc/devsel.hpp
new file mode 100644
index 0000000..33acd0b
--- /dev/null
+++ b/abuse/inc/devsel.hpp
@@ -0,0 +1,26 @@
+#ifndef __DEVSCROLL_HPP_
+#define __DEVSCROLL_HPP_
+#include "scroller.hpp"
+
+class tile_picker : public scroller
+{
+ int th,last_sel,type,scale,wid,rev;
+ public :
+ tile_picker(int X, int Y, int ID, int spec_type, window_manager *wm,
+ int scale, int scroll_h, int Wid, ifield *Next);
+ virtual void handle_inside_event(event &ev, image *screen, window_manager *wm, input_manager *inm);
+ virtual void scroll_event(int newx, image *screen, window_manager *wm);
+ virtual char *read() { return (char *)this; }
+ int picw();
+ int pich();
+ int total();
+ int get_current();
+ void set_current(int x);
+ void recenter(image *screen, window_manager *wm);
+ void reverse() { rev=!rev; }
+} ;
+
+extern int cur_bg,cur_fg,cur_char;
+
+#endif
+
diff --git a/abuse/inc/director.hpp b/abuse/inc/director.hpp
new file mode 100644
index 0000000..e435a79
--- /dev/null
+++ b/abuse/inc/director.hpp
@@ -0,0 +1,29 @@
+#ifndef __DIRECTOR_HPP_
+#define __DIRECTOR_HPP_
+
+#include "timing.hpp"
+
+class director // the director controlls the scene
+{
+ int tleft,ttop,tright,tbottom,text_y,text_step,
+ pan_xv,pan_yv,pan_steps,
+ frame_speed,scroll_speed,pan_speed,scene_abort;
+ char *text;
+ time_marker *pan_time,*frame_time,*text_time;
+public :
+ void set_text_region(int left, int top, int right, int bottom)
+ { tleft=left; ttop=top; tright=right; tbottom=bottom; }
+ void set_frame_speed(int speed) { frame_speed=speed; }
+ void set_scroll_speed(int speed) { scroll_speed=speed; }
+ void set_pan_speed(int speed) { pan_speed=speed; }
+ void set_pan(int xv, int yv, int steps) { pan_xv=xv; pan_yv=yv; pan_steps=steps; }
+ void scroll_text(char *Text);
+ void wait(void *arg);
+ director();
+ void set_abort(int x) { scene_abort=x; }
+} ;
+
+extern director scene_director;
+
+
+#endif
diff --git a/abuse/inc/extend.hpp b/abuse/inc/extend.hpp
new file mode 100644
index 0000000..36ff7d4
--- /dev/null
+++ b/abuse/inc/extend.hpp
@@ -0,0 +1,157 @@
+#ifndef EXTEND_HPP_
+#define EXTEND_HPP_
+
+#define NNET_HISTSIZE 10
+#define FLAG_JUST_HIT 1
+#define FLAG_JUST_BLOCKED 2
+#define FLOATING_FLAG 4
+#define KNOWN_FLAG 8
+
+
+#include "jmalloc.hpp"
+#include "macs.hpp"
+#include "morpher.hpp"
+#include "chars.hpp"
+#include "lisp.hpp"
+
+
+class view;
+class game_object;
+class light_source;
+
+class simple_object
+{
+ public :
+ schar Fade_dir;
+ uchar Fade_count,Fade_max;
+ uchar Flags,grav_on,targetable_on;
+ long Xvel,Yvel,Xacel,Yacel;
+ uchar Fx,Fy,Fxvel,Fyvel,Fxacel,Fyacel;
+ uchar Aitype;
+ ushort Aistate,Aistate_time;
+ unsigned short Hp,Mp,Fmp;
+ schar Frame_dir;
+
+
+ uchar tobjs,tlights;
+ game_object **objs,*link;
+ light_source **lights;
+
+ view *Controller;
+ morph_char *mc;
+ int total_vars();
+ char *var_name(int x);
+ int var_type(int x);
+ void set_var(int x, ulong v);
+ long get_var(int x);
+
+ // leave these public, so I don't have monster code changes.
+ simple_object();
+ long x,y,
+ last_x,last_y; // used for frame interpolation on fast machines
+ schar direction,active;
+ ushort otype;
+ character_state state;
+ short current_frame;
+
+ int targetable() { return targetable_on; }
+ int gravity() { return grav_on; }
+ int floating() { return flags()&FLOATING_FLAG; }
+
+ int keep_ai_info() { return 1; }
+ uchar flags() { return Flags; }
+ long xvel() { return Xvel; }
+ long yvel() { return Yvel; }
+ long xacel() { return Xacel; }
+ long yacel() { return Yacel; }
+
+ uchar fx() { return Fx; }
+ uchar fy() { return Fy; }
+ uchar fxvel() { return Fxvel; }
+ uchar fyvel() { return Fyvel; }
+ uchar fxacel() { return Fxacel; }
+ uchar fyacel() { return Fyacel; }
+
+ uchar sfx() { return Fx; } // x & y should always be positive
+ uchar sfy() { return Fy; }
+ uchar sfxvel() { if (Xvel>=0) return Fxvel; else return -Fxvel; }
+ uchar sfyvel() { if (Yvel>=0) return Fyvel; else return -Fyvel; }
+ uchar sfxacel() { if (Xacel>=0) return Fxacel; else return -Fxacel; }
+ uchar sfyacel() { if (Yacel>=0) return Fyacel; else return -Fyacel; }
+
+ uchar aitype() { return Aitype; }
+ ushort aistate() { return Aistate; }
+ ushort aistate_time() { return Aistate_time; }
+ ushort hp() { return Hp; }
+ ushort mp() { return Mp; }
+ ushort fmp() { return Fmp; }
+ schar fade_dir() { return Fade_dir; }
+ schar frame_dir() { return Frame_dir; }
+ uchar fade_count() { return Fade_count; }
+ uchar fade_max() { return Fade_max; }
+ uchar total_objects() { return tobjs; }
+ uchar total_lights() { return tlights; }
+
+ morph_char *morph_status() { return mc; }
+ light_source *get_light(int x)
+ { if (x>=tlights) { lbreak("bad x for light\n"); exit(0); } return lights[x]; }
+ game_object *get_object(int x)
+ { if (x>=tobjs) { lbreak("bad x for object\n"); exit(0); } return objs[x]; }
+ view *controller() { return Controller; }
+
+ void set_targetable(uchar x) { targetable_on=x; }
+ void set_flags(uchar f) { Flags=f; }
+ void set_xvel(long xv) { Xvel=xv; }
+ void set_yvel(long yv) { Yvel=yv; }
+ void set_xacel(long xa) { Xacel=xa; }
+ void set_yacel(long ya) { Yacel=ya; }
+ void set_fx(uchar x) { Fx=x; }
+ void set_fy(uchar y) { Fy=y; }
+ void set_fxvel(uchar xv) { Fxvel=abs(xv); }
+ void set_fyvel(uchar yv) { Fyvel=abs(yv); }
+ void set_fxacel(uchar xa) { Fxacel=abs(xa); }
+ void set_fyacel(uchar ya) { Fyacel=abs(ya); }
+ void set_aitype(uchar t) { Aitype=t; }
+ void set_aistate(ushort s) { Aistate=s; }
+ void set_aistate_time(ushort t) { Aistate_time=t; }
+ void set_hp(ushort h) { Hp=h; }
+ void set_mp(ushort m) { Mp=m; }
+ void set_fmp(ushort m) { Fmp=m; }
+
+
+
+ void set_fade_count(uchar f) { Fade_count=f; }
+ void set_fade_max(uchar m) { Fade_max=m; }
+ void set_fade_dir(schar d) { Fade_dir=d; }
+
+ void set_frame_dir(schar d) { Frame_dir=d; }
+ void add_light(light_source *ls);
+ void add_object(game_object *o);
+
+ void remove_object(game_object *o);
+ void remove_light(light_source *ls);
+ void set_morph_status(morph_char *mc);
+ void set_controller(view *v) { Controller=v; }
+
+ void set_gravity(int x) { grav_on=x; }
+ void set_floating(int x)
+ { if (x)
+ set_flags(flags()|FLOATING_FLAG);
+ else
+ set_flags(flags()&(0xff-FLOATING_FLAG));
+ }
+
+ void clean_up();
+} ;
+
+
+extern simple_object default_simple;
+
+#endif
+
+
+
+
+
+
+
diff --git a/abuse/inc/fakelib.hpp b/abuse/inc/fakelib.hpp
new file mode 100644
index 0000000..e8f2c68
--- /dev/null
+++ b/abuse/inc/fakelib.hpp
@@ -0,0 +1,42 @@
+#ifndef __FAKELIB_HPP_
+#define __FAKELIB_HPP_
+
+#define jmalloc(x,y) malloc(x)
+#define jrealloc(x,y,z) realloc(x,y)
+#define jfree(x) free(x)
+#define uchar unsigned char
+#define schar signed char
+#define sshort signed short
+
+#ifdef __sgi
+#include <sys/bsd_types.h>
+#else
+#define ulong unsigned long
+#define ushort unsigned short
+#endif
+
+class bFILE
+{
+ public :
+ FILE *fp;
+ bFILE(FILE *FP) { fp=FP; }
+ bFILE(char *fn, char *mode) { fp=fopen(fn,mode); }
+ long file_size() { long cur=ftell(fp),ret; fseek(fp,0,2); ret=ftell(fp);
+ fseek(fp,cur,0); return ret; }
+ int read(void *buf, int count) { return fread(buf,count,1,fp); }
+ int write(void *buf, int count) { return fwrite(buf,count,1,fp); }
+ int write_byte(uchar x) { return fputc(x,fp); }
+ int open_failure() { return fp==NULL; }
+ ~bFILE() { if (fp) fclose(fp); }
+} ;
+
+#define jFILE bFILE
+
+bFILE *open_file(char *name, char *perm) { return new bFILE(fopen(name,perm)); }
+#define dprintf printf
+void dgets(char *s, int x)
+{ fgets(s,x,stdin);
+ if (strlen(s)>0) s[strlen(s)-1]=0;
+}
+
+#endif
diff --git a/abuse/inc/game.hpp b/abuse/inc/game.hpp
new file mode 100644
index 0000000..14a4e15
--- /dev/null
+++ b/abuse/inc/game.hpp
@@ -0,0 +1,150 @@
+#ifndef __GAME_HPP_
+#define __GAME_HPP_
+
+#include "loader2.hpp"
+
+#include "macs.hpp"
+#include "image.hpp"
+#include "video.hpp"
+#include "mdlread.hpp"
+#include "event.hpp"
+#include "fonts.hpp"
+#include "loader.hpp"
+#include "monoprnt.hpp"
+#include "items.hpp"
+#include "jwindow.hpp"
+#include "filter.hpp"
+#include "level.hpp"
+#include "cache.hpp"
+#include "director.hpp"
+#include "view.hpp"
+#include "id.hpp"
+
+#define MAPFW 100
+#define MAPFH 100
+#define MAPBW 100
+#define MAPBH 100
+
+#define RUN_STATE 0
+#define PAUSE_STATE 1
+#define HELP_STATE 2
+#define INTRO_START_STATE 3
+#define INTRO_MORPH_STATE 4
+#define JOY_CALB_STATE 5
+#define MENU_STATE 6
+#define SCENE_STATE 7
+#define START_STATE 8
+#define BLACK 0
+
+#define tile_type unsigned short
+class game;
+extern game *the_game;
+extern window_manager *eh;
+extern int dev;
+extern int morph_sel_frame_color;
+
+extern char **start_argv;
+extern int start_argc;
+extern long current_vxadd,current_vyadd;
+extern int frame_panic,massive_frame_panic;
+extern int demo_start,idle_ticks;
+
+class game
+{
+ JCFont *fnt;
+ int finished;
+ int bg_top,fg_top; // in the fg/bg window which tile is at the top?
+ int bright_color,med_color,dark_color, // for boundaries and windows, etc
+ morph_bright_color,morph_med_color,morph_dark_color;
+
+ long last_time,fps;
+ char mapname[100],command[200],help_text[200];
+ int refresh,mousex,mousey,help_text_frames;
+ int has_joystick,no_delay;
+
+
+ jwindow *top_menu,*joy_win,*last_input;
+ JCFont *game_font;
+ uchar keymap[512/8];
+
+public :
+ int key_down(int key) { return keymap[key/8]&(1<<(key%8)); }
+ void set_key_down(int key, int x) { if (x) keymap[key/8]|=(1<<(key%8)); else keymap[key/8]&=~(1<<(key%8)); }
+ void reset_keymap() { memset(keymap,0,sizeof(keymap)); }
+
+ int nplayers;
+ view *first_view,*old_view;
+ int state,zoom;
+
+
+ game(int argc, char **argv);
+ void step();
+ void show_help(char *st);
+ void draw_value(image *screen, int x, int y, int w, int h, int val, int max);
+ unsigned char get_color(int x) { return x; }
+ int done();
+ void draw(int scene_mode=0);
+
+ backtile *get_bg(int x) { if (x<0 || x>=nbacktiles || backtiles[x]<0)
+ return cash.backt(backtiles[BLACK]);
+ else return cash.backt(backtiles[x]); }
+ foretile *get_fg(int x) { if (x<0 || x>=nforetiles || foretiles[x]<0)
+ return cash.foret(foretiles[BLACK]); else
+ return cash.foret(foretiles[x]); }
+
+ void ftile_on(int screenx, int screeny, long &x, long &y);
+ void btile_on(int screenx, int screeny, long &x, long &y);
+ void toggle_delay();
+ void set_delay(int on) { no_delay=!on; }
+ void pan(int xv, int yv);
+
+ void mouse_to_game(long x, long y, long &gamex, long &gamey, view *v=NULL);
+ void game_to_mouse(long gamex, long gamey, view *which, long &x, long &y);
+ view *view_in(int mousex, int mousey);
+
+ int calc_speed();
+ int ftile_width() { return f_wid; }
+ int ftile_height() { return f_hi; }
+
+ int btile_width() { return b_wid; }
+ int btile_height() { return b_hi; }
+
+
+ void put_fg(int x, int y, int type);
+ void put_bg(int x, int y, int type);
+ void draw_map(view *v, int interpolate=0);
+ void dev_scroll();
+ void put_block_fg(int x, int y, trans_image *im);
+ void put_block_bg(int x, int y, image *im);
+
+
+ int in_area(event &ev, int x1, int y1, int x2, int y2);
+ void load_level(char *name);
+ void set_level(level *nl);
+ void show_time();
+ tile_type get_map_bg(int x, int y) { return current_level->get_bg(x,y); }
+ tile_type get_map_fg(int x, int y) { return current_level->get_fg(x,y); }
+ void end_session();
+ void need_refresh() { refresh=1; } // for development mode only
+ palette *current_palette() { return pal; }
+
+ void update_screen();
+ void get_input();
+ void do_intro();
+ void joy_calb(event &ev);
+ void menu_select(event &ev2);
+ int can_morph_into(int type);
+ void morph_into(int type);
+ void set_state(int new_state);
+ int game_over();
+ void grow_views(int amount);
+ void play_sound(int id, int vol, long x, long y);
+ void request_level_load(char *name);
+ void request_end();
+ ~game();
+} ;
+
+extern int playing_state(int state);
+#endif
+
+
diff --git a/abuse/inc/gamma.hpp b/abuse/inc/gamma.hpp
new file mode 100644
index 0000000..aa41571
--- /dev/null
+++ b/abuse/inc/gamma.hpp
@@ -0,0 +1,7 @@
+#ifndef __GAMMA_HPP_
+#define __GAMMA_HPP_
+
+#include "palette.hpp"
+void gamma_correct(palette *&pal, int force_menu=0);
+
+#endif
diff --git a/abuse/inc/go.hpp b/abuse/inc/go.hpp
new file mode 100644
index 0000000..d591ec7
--- /dev/null
+++ b/abuse/inc/go.hpp
@@ -0,0 +1,64 @@
+#ifndef __GO_HPP_
+#define __GO_HPP_
+#include "objects.hpp"
+
+class elcontrol : public game_object
+{
+public:
+ short allow_dir;
+ elcontrol(long X, long Y);
+ elcontrol(FILE *fp, unsigned char *state_remap);
+ virtual int size() { return game_object::size()+2; }
+ virtual game_objects type() { return O_elcontrol; }
+ virtual ifield *make_fields(int ystart, ifield *Next);
+ virtual void gather_input(input_manager *inm);
+ virtual void save(FILE *fp) { game_object::save(fp); write_short(fp,allow_dir); }
+ virtual int decide() { return 1; } // not dead
+ virtual int move(int cx, int cy, int button) { return 0; } // not blocked
+ virtual void draw(); // only show when DEV mode is on
+} ;
+
+
+
+class elevator : public game_object
+{
+ short dir,speed;
+public :
+ elcontrol *find_stop();
+ elevator(long X, long Y);
+ elevator(FILE *fp, unsigned char *state_remap);
+ virtual int size();
+ virtual void recieve_signal(long signal) { ; }
+ virtual game_objects type() { return O_elevator; }
+ virtual ifield *make_fields(int ystart, ifield *Next);
+ virtual void gather_input(input_manager *inm);
+ virtual void save(FILE *fp);
+ virtual int can_block(game_object *who);
+ virtual int decide();
+ virtual void draw(); // draw cables above the elevator
+} ;
+
+class sensor : public game_object
+{
+ short xrange,yrange,signal,activate;
+public :
+ sensor(long X, long Y) { defaults(); xrange=yrange=signal=0; activate=-1; }
+ sensor(FILE *fp, unsigned char *state_remap);
+ virtual int size();
+ virtual game_objects type() { return O_sensor; }
+ virtual ifield *make_fields(int ystart, ifield *Next);
+ virtual void gather_input(input_manager *inm);
+ virtual void save(FILE *fp);
+
+ virtual void draw(); // only show when DEV mode is on
+ virtual int decide();
+ virtual int move(int cx, int cy, int button) { return 0; } // not blocked
+
+ char *aname();
+ void get_activate(char *name);
+
+} ;
+
+
+#endif
+
diff --git a/abuse/inc/gui.hpp b/abuse/inc/gui.hpp
new file mode 100644
index 0000000..19d5c63
--- /dev/null
+++ b/abuse/inc/gui.hpp
@@ -0,0 +1,44 @@
+#ifndef __GUI_HPP_
+#define __GUI_HPP_
+#include "jwindow.hpp"
+
+
+class ico_button : public ifield
+{
+ int up,act,u,d,ua,da; // up, down, up active, down active
+ int activate_id; // sent when if not -1 when object receives a draw actove
+ char key[16];
+public :
+ ico_button(int X, int Y, int ID, int Up, int down, int upa, int downa, ifield *Next, int act_id=-1, char *help_key=NULL);
+
+ virtual void area(int &x1, int &y1, int &x2, int &y2, window_manager *wm);
+ virtual void draw_first(image *screen, window_manager *wm) { draw(0,screen,wm); }
+ virtual void draw(int active, image *screen, window_manager *wm);
+ virtual void handle_event(event &ev, image *screen, window_manager *wm, input_manager *im);
+
+ virtual char *read() { return (char *)&up; }
+ void set_xy(int X, int Y) { x=X; y=Y; }
+ int X() { return x; }
+ int Y() { return y; }
+ int status() { return up; }
+ void set_act_id(int id);
+} ;
+
+class ico_switch_button : public ifield
+{
+ ifield *blist,*cur_but;
+ int act;
+ public :
+ ico_switch_button(int X, int Y, int ID, int start_on, ifield *butts, ifield *Next);
+ virtual void area(int &x1, int &y1, int &x2, int &y2, window_manager *wm);
+ virtual void draw_first(image *screen, window_manager *wm) { cur_but->draw_first(screen,wm); }
+ virtual void draw(int active, image *screen, window_manager *wm) { cur_but->draw(active,screen,wm); act=active; }
+ virtual void handle_event(event &ev, image *screen, window_manager *wm, input_manager *im);
+ virtual ifield *unlink(int id);
+ virtual char *read() { return cur_but->read(); }
+ ~ico_switch_button();
+} ;
+
+#endif
+
+
diff --git a/abuse/inc/help.hpp b/abuse/inc/help.hpp
new file mode 100644
index 0000000..c018e58
--- /dev/null
+++ b/abuse/inc/help.hpp
@@ -0,0 +1,16 @@
+#ifndef __HELP_HPP_
+#define __HELP_HPP_
+
+#include "event.hpp"
+
+extern int total_help_screens;
+extern int *help_screens;
+void help_handle_event(event &ev);
+void draw_help(); // called from game draw if in help mode
+
+#endif
+
+
+
+
+
diff --git a/abuse/inc/human.hpp b/abuse/inc/human.hpp
new file mode 100644
index 0000000..a3266be
--- /dev/null
+++ b/abuse/inc/human.hpp
@@ -0,0 +1,23 @@
+#ifndef __HUMAN_HPP_
+#define __HUMAN_HPP_
+#include "objects.hpp"
+#include "ability.hpp"
+
+class human : public game_object
+{
+
+public :
+ human(long X, long Y) { defaults(); x=X; y=Y; }
+ human(FILE *fp, unsigned char *state_remap) { load(fp,state_remap); }
+ virtual int size() { return game_object::size(); }
+ virtual game_objects type() { return O_human; }
+ virtual void do_damage(int amount, game_object *from);
+ virtual int move(int cx, int cy, int button); // return false if the route is blocked
+} ;
+
+#endif
+
+
+
+
+
diff --git a/abuse/inc/id.hpp b/abuse/inc/id.hpp
new file mode 100644
index 0000000..4efedc2
--- /dev/null
+++ b/abuse/inc/id.hpp
@@ -0,0 +1,265 @@
+#ifndef __ID_HPP_
+#define __ID_HPP_
+
+enum dev_ids
+{
+ ID_NULL,
+
+ DEV_COMMAND=3050,
+
+ ID_LOAD_GAME_NUMBER=3000,
+ ID_LOAD_GAME_PREVIEW=3100,
+ ID_LOAD_PLAYER_GAME=3200,
+
+ DEV_COMMAND_OK,
+ DEV_EDIT_FG,
+ DEV_EDIT_BG,
+ DEV_EDIT_FGBG,
+ DEV_PLAY,
+ DEV_SAVE,
+ DEV_QUIT,
+ DEV_CREATE,
+ DEV_OEDIT_OK,
+ DEV_OEDIT_DELETE,
+ DEV_OEDIT_MOVE,
+ DEV_OEDIT_FRONT,
+ DEV_OEDIT_BACK,
+ DEV_OEDIT_TYPE,
+ DEV_OEDIT_LEFT,
+ DEV_OEDIT_RIGHT,
+ DEV_OEDIT_CHAR_BOX,
+ DEV_OEDIT_COPY,
+ DEV_OEDIT_STATE,
+
+ DEV_LEDIT_OK,
+ DEV_LEDIT_COPY,
+ DEV_LEDIT_DEL,
+ DEV_LEDIT_MOVE,
+ DEV_LEDIT_W,
+ DEV_LEDIT_H,
+ DEV_LEDIT_R1,
+ DEV_LEDIT_R2,
+
+
+ DEV_MUSIC_PICKLIST,
+ DEV_PALETTE,
+ DEV_LIGHT_BUTTON_BOX,
+ DEV_LIGHT0,
+ DEV_LIGHT1,
+ DEV_LIGHT2,
+ DEV_LIGHT3,
+ DEV_LIGHT4,
+ DEV_LIGHT5,
+ DEV_LIGHT6,
+ DEV_LIGHT7,
+ DEV_LIGHT8,
+ DEV_LIGHT9,
+ DEV_AMBIENT,
+ DEV_LIGHTW,
+ DEV_LIGHTH,
+ DEV_LIGHTR1,
+ DEV_LIGHTR2,
+ DEV_LIGHT_ADD,
+ DEV_BG_PICKER,
+ DEV_FG_PICKER,
+ DEV_CHAR_PICKER,
+ DEV_OBJECTS_DELETE,
+ DEV_LIGHTS_DELETE,
+ DEV_OEDIT_AI,
+ DEV_AI_OK,
+ DEV_AI_XVEL,
+ DEV_AI_YVEL,
+ DEV_AI_XACEL,
+ DEV_AI_YACEL,
+ DEV_AI_STTIME,
+ DEV_AI_GRAVITY,
+ DEV_AI_HEALTH,
+ DEV_AI_MORPHPR,
+ DEV_AI_TYPE,
+ DEV_AI_STATE,
+ DEV_AI_FADE,
+
+
+ DO_VOLUME,
+ RAISE_SFX,
+ LOWER_SFX,
+ RAISE_MUSIC,
+ LOWER_MUSIC,
+ TOP_MENU,
+ CALB_JOY,
+ ID_KEY_SETUP,
+ ID_MOUSE_SETUP,
+ JOY_OK,
+ ORDER_INFO,
+ DEV_NULL,
+ PICK_MUSIC,
+ TOGGLE_FORETILES,
+ TOGGLE_BACKTILES,
+ TOGGLE_PALETTES,
+ SHOW_FOREGROUND,
+ SHOW_FOREGROUND_BOUND,
+ SHOW_BACKGROUND,
+ SHOW_CHARACTERS,
+ SHOW_LIGHT,
+
+ SENSOR_XRANGE,
+ SENSOR_YRANGE,
+ SENSOR_SIGNAL,
+ SENSOR_ACTIVATE,
+
+ ELCONTROL_ALLOW_DIR,
+ ELEVATOR_SPEED,
+ ELEVATOR_DIR,
+ ELEVATOR_DIRECTION,
+ CHAR_SELECT,
+
+ ID_MODEM,
+ ID_TCPIP,
+ ID_IPX,
+ ID_SPLIT_SCREEN,
+
+ ID_VOLUME,
+ ID_SFX_UP,
+ ID_SFX_DOWN,
+ ID_MUSIC_UP,
+ ID_MUSIC_DOWN,
+ ID_SFX_OFF,
+ ID_MUSIC_OFF,
+ ID_SFX_CHANNELS,
+
+ ID_LIGHT_DETAIL,
+ ID_SCREEN_SIZE,
+
+ ID_NEW_GAME,
+ ID_DIFFICULTY,
+ ID_LOAD_GAME,
+ ID_QUIT,
+ ID_QUIT_OK,
+ ID_RETURN,
+ ID_SHOW_SELL,
+ ID_NETWORKING,
+
+ ID_MESS_STR1,
+ ID_MESS_STR2,
+ ID_MESS_STR3,
+ ID_MESS_STR4,
+ ID_LEVEL_LOAD,
+ ID_LEVEL_LOAD_OK,
+ ID_LEVEL_SAVE,
+ ID_LEVEL_SAVEAS,
+ ID_LEVEL_SAVEAS_OK,
+ ID_GAME_SAVE,
+ ID_GAME_LOAD,
+ ID_LEVEL_RESIZE,
+ ID_LEVEL_RESIZE_OK,
+ ID_LEVEL_NEW,
+ ID_LEVEL_NEW_OK,
+
+
+ ID_CACHE_PROFILE,
+ ID_CACHE_PROFILE_END,
+ ID_EDIT_SAVE,
+
+ ID_SUSPEND,
+ ID_PLAY_MODE,
+ ID_SET_SCROLL,
+ ID_SET_SCROLL_OK,
+ ID_CENTER_PLAYER,
+ ID_ADD_PALETTE,
+ ID_ADD_PALETTE_OK,
+ ID_TOGGLE_DELAY,
+ ID_SMALL_MODE,
+ ID_GOD_MODE,
+ ID_CLEAR_WEAPONS,
+ ID_TOGGLE_LIGHT,
+ ID_TOGGLE_MAP,
+ ID_PROFILE,
+
+ ID_MOUSE_SCROLL,
+ ID_LOCK_PALETTES,
+ ID_SEARCH,
+ ID_SEARCH_FOREWARD,
+ ID_SEARCH_BACKWARD,
+ ID_SEARCH_TEXT,
+ ID_TOGGLE_NAMES,
+ ID_WARN_CANCEL,
+ ID_SET_SCROLL_CHECK,
+
+ ID_WIN_FORE,
+ ID_WIN_BACK,
+ ID_WIN_LAYERS,
+ ID_WIN_LIGHTING,
+ ID_WIN_PALETTES,
+ ID_WIN_OBJECTS,
+ ID_WIN_CONSOLE,
+ ID_WIN_TOOLBAR,
+ ID_SAVE_WINDOWS,
+ ID_CANCEL,
+ ID_SETUP_OK,
+ ID_SETUP_DETECT,
+
+ ID_INTERPOLATE_DRAW,
+ ID_DISABLE_AUTOLIGHT,
+
+ ID_DMODE_DRAW,
+ ID_DMODE_PICK,
+ ID_DMODE_FILL,
+ ID_DMODE_LINE,
+ ID_DMODE_RECT,
+ ID_DMODE_BAR,
+ ID_DMODE_AREA,
+ DEV_AREA_OK,
+ DEV_AREA_DELETE,
+ DEV_AREA_AMBIENT,
+ DEV_AREA_AMBIENT_SPEED,
+ DEV_AREA_VIEW_XOFF,
+ DEV_AREA_VIEW_YOFF,
+ DEV_AREA_VIEW_XOFF_SPEED,
+ DEV_AREA_VIEW_YOFF_SPEED,
+
+ ID_START_GAME,
+ ID_EASY,
+ ID_MEDIUM,
+ ID_HARD,
+ ID_EXTREME,
+ ID_LIGHT_ON,
+ ID_LIGHT_OFF,
+ ID_SHOW_FPS,
+ ID_RAISE_ALL,
+ SHOW_LINKS,
+
+ ID_RED_PICKER,
+ ID_GREEN_PICKER,
+ ID_BLUE_PICKER,
+ ID_GAMMA_OK,
+ ID_ENLARGE_RENDER,
+ ID_NET_DISCONNECT,
+
+ ID_DISABLE_VIEW_SHIFT,
+ ID_RECORD_DEMO,
+ ID_RECORD_DEMO_OK,
+ ID_RECORD_DEMO_FILENAME,
+
+ ID_PLAY_DEMO,
+ ID_PLAY_DEMO_OK,
+ ID_PLAY_DEMO_FILENAME
+
+
+};
+
+
+#define EDIT_MODE 1
+#define DRAW_FG_LAYER 2
+#define DRAW_BG_LAYER 4
+#define DRAW_PEOPLE_LAYER 8
+#define DRAW_HELP_LAYER 16
+#define PERFORMANCE_TEST_MODE 32
+#define DRAW_LIGHTS 64
+#define DRAW_FG_BOUND_LAYER 128
+#define SUSPEND_MODE 256
+#define MAP_MODE 512
+#define DRAW_LINKS 1024
+
+#endif
+
+
diff --git a/abuse/inc/intsect.hpp b/abuse/inc/intsect.hpp
new file mode 100644
index 0000000..f114097
--- /dev/null
+++ b/abuse/inc/intsect.hpp
@@ -0,0 +1,9 @@
+#ifndef __INTSECT_HPP_
+#define __INTSECT_HPP_
+
+int setback_intersect(long x1, long y1, long &x2, long &y2,
+ long xp1, long yp1, long xp2, long yp2, long inside);
+
+#endif
+
+
diff --git a/abuse/inc/isllist.hpp b/abuse/inc/isllist.hpp
new file mode 100644
index 0000000..771d8fa
--- /dev/null
+++ b/abuse/inc/isllist.hpp
@@ -0,0 +1,114 @@
+#ifndef ISLLIST_HH
+#define ISLLIST_HH
+
+// "inc/isllist.hpp", line 13.10: 1540-016: (S) protected member "isllist<tcpip_protocol::RequestItem*>::list_node *" cannot be accessed.
+
+template <class T>
+class isllist
+{
+public:
+ class list_node
+ {
+ public:
+ list_node * next;
+ T data;
+
+ list_node() {}
+ list_node(const T& item) { data = item; }
+ };
+
+ list_node * list;
+
+ class iterator
+ {
+ public:
+ // pseudo-protected - don't use unless you really have to
+ list_node * node;
+ iterator(list_node * p) : node(p) {}
+
+ iterator() {}
+ iterator(const iterator &p) : node(p.node) {}
+
+ int operator==(const iterator &p) { return (node == p.node); }
+ int operator!=(const iterator &p) { return (node != p.node); }
+
+ iterator& operator++() { node = node->next; return *this; }
+ iterator next() { return node->next; }
+
+ T& operator*() { return node->data; }
+ };
+
+ iterator end() { return (list_node *)(&list); }
+ iterator begin_prev() { return end(); }
+ iterator begin() { return list; }
+
+ int empty() { return begin() == end(); }
+
+ iterator insert_next(iterator pos, T& item)
+ {
+ list_node * p = new list_node(item);
+ p->next = pos.node->next;
+ pos.node->next = p;
+
+ return p;
+ }
+
+ void erase_next(iterator pos)
+ {
+ list_node * p = pos.node->next;
+ pos.node->next = p->next;
+ delete p;
+ }
+
+ int find_prev(iterator& p, T& item)
+ {
+ while (p.node->next != end().node)
+ {
+ if (*(p.next())==item)
+ return 1;
+ ++p;
+ }
+ return 0;
+ }
+
+ void move_next(const iterator&p, const iterator&q)
+ {
+ list_node * tmp;
+
+ tmp = p.node->next;
+ if (tmp == q.node)
+ return;
+ p.node->next = tmp->next;
+ tmp->next = q.node->next;
+ q.node->next = tmp;
+ }
+
+ int find(T& item) { iterator p = begin_prev(); return find_prev(p, item); }
+ void insert(T& item) { insert_next( begin_prev(), item); }
+ void erase() { erase_next( begin_prev() ); }
+
+ void erase_all()
+ {
+ while (!empty())
+ erase();
+ }
+
+ isllist()
+ {
+ list = (list_node *)&list;
+ }
+
+ ~isllist()
+ {
+ erase_all();
+ }
+};
+
+#endif
+
+/*
+"inc/isllist.hpp", line 9.8: 1540-051: (S) A declaration has been made without a type specification.
+"inc/isllist.hpp", line 9.8: 1540-022: (S) "isllist" was previously declared as "type name".
+"inc/isllist.hpp", line 9.1: 1540-377: (I) "isllist" is declared on line 6 of "/u/crack/abuse/inc/isllist.hpp".
+"inc/isllist.hpp", line 16.10: 1540-016: (S) protected member "isllist<tcpip_protocol::RequestItem*>::list_node *" cannot be accessed.
+*/
diff --git a/abuse/inc/isllist_bak.hpp b/abuse/inc/isllist_bak.hpp
new file mode 100644
index 0000000..1f44d0c
--- /dev/null
+++ b/abuse/inc/isllist_bak.hpp
@@ -0,0 +1,117 @@
+#ifndef ISLLIST_HH
+#define ISLLIST_HH
+
+// "inc/isllist.hpp", line 13.10: 1540-016: (S) protected member "isllist<tcpip_protocol::RequestItem*>::link" cannot be accessed.
+
+template <class T>
+class isllist
+{
+protected:
+ class list_node;
+ typedef list_node *link;
+ class list_node
+ {
+ public:
+ link next;
+ T data;
+
+ list_node() {}
+ list_node(const T& item) { data = item; }
+ };
+
+ link list;
+public:
+ class iterator
+ {
+ friend class isllist;
+ public:
+ // pseudo-protected - don't use unless you really have to
+ link node;
+ iterator(const link p) : node(p) {}
+ public:
+ iterator() {}
+ iterator(const iterator &p) : node(p.node) {}
+
+ int operator==(const iterator &p) const { return (node == p.node); }
+ int operator!=(const iterator &p) const { return (node != p.node); }
+
+ iterator& operator++() { node = node->next; return *this; }
+ iterator next() { return node->next; }
+
+ T& operator*() { return node->data; }
+ };
+
+ iterator end() { return (link)(&list); }
+ iterator begin_prev() { return end(); }
+ iterator begin() { return list; }
+
+ int empty() { return begin() == end(); }
+
+ iterator insert_next(iterator pos, const T& item)
+ {
+ link p = new list_node(item);
+ p->next = pos.node->next;
+ pos.node->next = p;
+
+ return p;
+ }
+
+ void erase_next(iterator pos)
+ {
+ link p = pos.node->next;
+ pos.node->next = p->next;
+ delete p;
+ }
+
+ int find_prev(iterator& p, const T& item)
+ {
+ while (p.node->next != end().node)
+ {
+ if (*(p.next())==item)
+ return 1;
+ ++p;
+ }
+ return 0;
+ }
+
+ void move_next(iterator&p, iterator&q)
+ {
+ link tmp;
+
+ tmp = p.node->next;
+ if (tmp == q.node)
+ return;
+ p.node->next = tmp->next;
+ tmp->next = q.node->next;
+ q.node->next = tmp;
+ }
+
+ int find(T& item) { iterator p = begin_prev(); return find_prev(p, item); }
+ void insert(const T& item) { insert_next( begin_prev(), item); }
+ void erase() { erase_next( begin_prev() ); }
+
+ void erase_all()
+ {
+ while (!empty())
+ erase();
+ }
+
+ isllist()
+ {
+ list = (link)&list;
+ }
+
+ ~isllist()
+ {
+ erase_all();
+ }
+};
+
+#endif
+
+/*
+"inc/isllist.hpp", line 9.8: 1540-051: (S) A declaration has been made without a type specification.
+"inc/isllist.hpp", line 9.8: 1540-022: (S) "isllist" was previously declared as "type name".
+"inc/isllist.hpp", line 9.1: 1540-377: (I) "isllist" is declared on line 6 of "/u/crack/abuse/inc/isllist.hpp".
+"inc/isllist.hpp", line 16.10: 1540-016: (S) protected member "isllist<tcpip_protocol::RequestItem*>::link" cannot be accessed.
+*/
diff --git a/abuse/inc/items.hpp b/abuse/inc/items.hpp
new file mode 100644
index 0000000..d5f6c0c
--- /dev/null
+++ b/abuse/inc/items.hpp
@@ -0,0 +1,103 @@
+#ifndef __ITEMS_HPP__
+#define __ITEMS_HPP__
+#include "image.hpp"
+#include "specs.hpp"
+#include "points.hpp"
+#include "timage.hpp"
+#include <stdio.h>
+#include <stdlib.h>
+
+#define AUTOTILE_WIDTH 6
+#define AUTOTILE_HEIGHT 3
+
+class boundary : public point_list // a list of points with
+{
+public :
+ boundary(bFILE *fp,char *er_name);
+ unsigned char *inside; // tells which side of the line is on the inside
+ boundary(boundary *p); // flips the *inside list
+ ~boundary() { if (tot) jfree(inside); }
+} ;
+
+class backtile
+{
+public :
+ unsigned short next;
+ image *im;
+ backtile(spec_entry *e, bFILE *fp);
+ backtile(bFILE *fp);
+ long size() { return 2+4+im->width()*im->height(); }
+ ~backtile() { delete im; }
+} ;
+
+class foretile
+{
+public :
+ trans_image *im;
+ unsigned short next;
+ unsigned char damage;
+ uchar ylevel; // for fast intersections, this is the y level offset for the ground
+ // if ground is not level this is 255
+ boundary *points;
+
+ image *micro_image;
+
+ foretile(bFILE *fp);
+ long size() { return im->width()*im->height()+4+2+1+points->size(); }
+ ~foretile() { delete im; delete points; delete micro_image; }
+} ;
+
+class figure
+{
+public :
+ trans_image *forward,*backward;
+ unsigned char hit_damage,xcfg;
+ signed char advance;
+ point_list *hit;
+ boundary *f_damage,*b_damage;
+ int size();
+
+ figure(bFILE *fp, int type);
+ int width() { return forward->width(); }
+ int height() { return forward->height(); }
+
+/* long size(int type) // taken from spaint items
+ {
+ if
+ return forward->width()*backward->height()+4+
+ 1+1+ // hit & xcfg
+ touch->size()+
+ hit->size()+
+ damage->size();
+ }*/
+
+ ~figure() { delete forward; delete backward;
+ delete hit;
+ delete f_damage; delete b_damage; }
+} ;
+
+class char_tint
+{
+ public :
+ uchar data[256];
+ ~char_tint() { ; }
+ char_tint(bFILE *fp); // should be a palette entry
+} ;
+
+#endif
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/abuse/inc/language.hpp b/abuse/inc/language.hpp
new file mode 100644
index 0000000..1071547
--- /dev/null
+++ b/abuse/inc/language.hpp
@@ -0,0 +1 @@
+char *lang_string(char *symbol);
diff --git a/abuse/inc/laser.hpp b/abuse/inc/laser.hpp
new file mode 100644
index 0000000..3ecbc79
--- /dev/null
+++ b/abuse/inc/laser.hpp
@@ -0,0 +1,29 @@
+#ifndef __LASER_HPP_
+#define __LASER_HPP_
+#include "objects.hpp"
+
+class laser : public game_object
+{
+ short h,l_x,
+ signal, // signal generated when laser hits a person
+ on_signal, // recieved signal that turns on the laser
+ off_signal;
+ unsigned char color,hit_color,damage,on,max_speed;
+ signed char l_xvel,l_xaccel;
+public :
+ laser(long X, long Y);
+ laser(FILE *fp, unsigned char *state_remap);
+ virtual int size() { return game_object::size()+5*2+7*1; }
+ virtual void recieve_signal(long signal);
+ virtual game_objects type() { return O_laser; }
+ virtual ifield *make_fields(int ystart, ifield *Next);
+ virtual void gather_input(input_manager *inm);
+ virtual void save(FILE *fp);
+ virtual int decide();
+ virtual void draw();
+} ;
+
+
+#endif
+
+
diff --git a/abuse/inc/lcache.hpp b/abuse/inc/lcache.hpp
new file mode 100644
index 0000000..2593fb7
--- /dev/null
+++ b/abuse/inc/lcache.hpp
@@ -0,0 +1,15 @@
+#ifndef __LCACHE_HPP_
+#define __LCACHE_HPP_
+#include "lisp.hpp"
+
+#ifdef SCADALISP
+#define can_cache_lisp() 0
+#else
+#define can_cache_lisp() 1
+#endif
+
+long block_size(Cell *level); // return number of bytes to save this block of code
+void write_level(bFILE *fp, Cell *level);
+Cell *load_block(bFILE *fp);
+
+#endif
diff --git a/abuse/inc/lcaller.hpp b/abuse/inc/lcaller.hpp
new file mode 100644
index 0000000..ae49dbc
--- /dev/null
+++ b/abuse/inc/lcaller.hpp
@@ -0,0 +1,11 @@
+#ifndef __LCALLER_HPP_
+#define __LCALLER_HPP_
+#include "objects.hpp"
+#include "chars.hpp"
+#include "game.hpp"
+
+extern voi lcaller_init
+extern long lcaller(long number, void *arg); // exten c function switches on
+ // number and is given lisp object arg as parameter
+
+#endif
diff --git a/abuse/inc/level.hpp b/abuse/inc/level.hpp
new file mode 100644
index 0000000..092e576
--- /dev/null
+++ b/abuse/inc/level.hpp
@@ -0,0 +1,219 @@
+
+#ifndef __LEVEL_HPP_
+#define __LEVEL_HPP_
+
+#include "specs.hpp"
+#include "macs.hpp"
+#include "objects.hpp"
+#include "view.hpp"
+#include "id.hpp"
+
+#include <stdlib.h>
+#define ASPECT 4 // foreground scrolls 4 times faster than background
+
+
+// the following defines the area of activity for objects
+// when they are out of this are no processing occurs on them
+// region is specified from upper left corner of screen
+#define ACTIVE_LEFT 500
+#define ACTIVE_RIGHT (280+500)
+#define ACTIVE_TOP 200
+#define ACTIVE_BOTTOM (180+200)
+#define fgvalue(y) ((y) & 0x3fff)
+#define above_tile(y) ((y) & 0x4000)
+#define bgvalue(y) (y)
+
+class area_controller
+{
+ public :
+ long x,y,w,h,active;
+ long ambient,view_xoff,view_yoff;
+ long ambient_speed, view_xoff_speed,view_yoff_speed;
+ area_controller *next;
+ area_controller(long X, long Y, long W, long H, area_controller *Next);
+} ;
+
+extern long last_tile_hit_x,last_tile_hit_y;
+extern int dev;
+class level // contain map info and objects
+{
+ unsigned short *map_fg, // just big 2d arrays
+ *map_bg,
+ bg_width,bg_height,
+ fg_width,fg_height;
+ char *Name,*first_name;
+ long total_objs;
+ game_object *first,*first_active,*last;
+
+ game_object **attack_list; // list of characters for tick which can attack someone
+ int attack_list_size,attack_total;
+ void add_attacker(game_object *who);
+
+ game_object **target_list; // list of characters for tick which can be attacked
+ int target_list_size,target_total;
+ void add_target(game_object *who);
+
+ game_object **block_list; // list of characters who can block a character
+ int block_list_size,block_total;
+ void add_block(game_object *who);
+
+ void remove_block(game_object *who);
+ void remove_all_block(game_object *who);
+
+ game_object **all_block_list; // list of characters who can block a character or can be hurt
+ int all_block_list_size,all_block_total;
+ void add_all_block(game_object *who);
+ ulong ctick;
+
+public :
+ char *original_name() { if (first_name) return first_name; else return Name; }
+ ulong tick_counter() { return ctick; }
+ void set_tick_counter(ulong x);
+ area_controller *area_list;
+
+ void clear_active_list() { first_active=NULL; }
+ char *name() { return Name; }
+ game_object *attacker(game_object *who);
+ int is_attacker(game_object *who);
+ game_object *main_character();
+
+ game_object *first_object() { return first; }
+ game_object *first_active_object() { return first_active; }
+ unsigned short foreground_width() { return fg_width; }
+ unsigned short foreground_height() { return fg_height; }
+ unsigned short background_width() { return bg_width; }
+ unsigned short background_height() { return bg_height; }
+ int load_failed() { return map_fg==NULL; }
+ level(spec_directory *sd, bFILE *fp, char *lev_name);
+ void load_fail();
+ level(int width, int height, char *name);
+ int save(char *filename, int save_all); // save_all includes player and view information (1 = success)
+ void set_name(char *name) { Name=strcpy((char *)jrealloc(Name,strlen(name)+1,"map name"),name); }
+ void set_size(int w, int h);
+ void remove_light(light_source *which);
+ void try_pushback(game_object *subject,game_object *target);
+ ~level();
+
+ int fg_raised(int x, int y) { CHECK(x>=0 && y>=0 && x<fg_width && y<fg_height);
+ return (*(map_fg+x+y*fg_width))&0x4000; }
+ void fg_set_raised(int x, int y, int r) { CHECK(x>=0 && y>=0 && x<fg_width && y<fg_height);
+ ushort v=(*(map_fg+x+y*fg_width))&(0xffff-0x4000);
+ if (r) (*(map_fg+x+y*fg_width))=v|0x4000;
+ else (*(map_fg+x+y*fg_width))=v;
+ }
+ void mark_seen(int x, int y) { CHECK(x>=0 && y>=0 && x<fg_width && y<fg_height);
+ (*(map_fg+x+y*fg_width))|=0x8000; }
+ void clear_fg(long x, long y) { *(map_fg+x+y*fg_width)&=0x7fff; }
+
+ unsigned short *get_fgline(int y) { CHECK(y>=0 && y<fg_height); return map_fg+y*fg_width; }
+ unsigned short *get_bgline(int y) { CHECK(y>=0 && y<bg_height); return map_bg+y*bg_width; }
+ unsigned short get_fg(int x, int y) { if (x>=0 && y>=0 && x<fg_width && y<fg_height)
+ return fgvalue(*(map_fg+x+y*fg_width));
+ else return 0;
+ }
+ unsigned short get_bg(int x, int y) { if (x>=0 && y>=0 && x<bg_width && y<bg_height)
+ return *(map_bg+x+y*bg_width);
+ else return 0;
+ }
+ void put_fg(int x, int y, unsigned short tile) { *(map_fg+x+y*fg_width)=tile; }
+ void put_bg(int x, int y, unsigned short tile) { *(map_bg+x+y*bg_width)=tile; }
+ void draw_objects(view *v);
+ void interpolate_draw_objects(view *v);
+ void draw_areas(view *v);
+ int tick(); // returns false if character is dead
+ void check_collisions();
+ void wall_push();
+ void add_object(game_object *new_guy);
+ void add_object_after(game_object *new_guy, game_object *who);
+ void delete_object(game_object *who);
+ void remove_object(game_object *who); // unlinks the object from level, but doesn't delete it
+ void load_objects(spec_directory *sd, bFILE *fp);
+ void load_cache_info(spec_directory *sd, bFILE *fp);
+ void old_load_objects(spec_directory *sd, bFILE *fp);
+ void load_options(spec_directory *sd, bFILE *fp);
+ void write_objects(bFILE *fp, object_node *save_list);
+ void write_options(bFILE *fp);
+ void write_thumb_nail(bFILE *fp, image *im);
+ void write_cache_prof_info();
+ void restart();
+
+
+ void unactivate_all();
+ // forms all the objects in processing range into a linked list
+ int add_actives(long x1, long y1, long x2, long y2); //returns total added
+ void pull_actives(game_object *o, game_object *&last_active, int &t);
+ int add_drawables(long x1, long y1, long x2, long y2); //returns total added
+
+ game_object *find_object(long x, long y);
+
+ game_object *damage_intersect(long x1, long y1, long &x2, long &y2, game_object *exclude);
+ game_object *boundary_setback(game_object *subject, long x1, long y1, long &x2, long &y2);
+ game_object *all_boundary_setback(game_object *subject, long x1, long y1, long &x2, long &y2);
+ int crush(game_object *by_who, int xamount, int yamount);
+ int push_characters(game_object *by_who, int xamount, int yamount); // return 0 if fail on any.
+ int platform_push(game_object *by_who, int xamount, int yamount);
+ void foreground_intersect(long x1, long y1, long &x2, long &y2);
+ void vforeground_intersect(long x1, long y1, long &y2);
+
+ void hurt_radius(long x, long y,long r, long m, game_object *from, game_object *exclude,
+ int max_push);
+ void send_signal(long signal);
+ void next_focus();
+ void to_front(game_object *o);
+ void to_back(game_object *o);
+ game_object *find_closest(int x, int y, int type, game_object *who);
+ game_object *find_xclosest(int x, int y, int type, game_object *who);
+ game_object *find_xrange(int x, int y, int type, int xd);
+ game_object *find_self(game_object *me);
+
+
+ void write_links(bFILE *fp, object_node *save_list, object_node *exclude_list);
+ void load_links(bFILE *fp, spec_directory *sd, object_node *save_list, object_node *exclude_list);
+
+
+ game_object *find_type(int type, int skip);
+ void insert_players(); // inserts the players into the level
+
+
+ game_object *get_random_start(int min_player_dist, view *exclude);
+// game_object *find_enemy(game_object *exclude1, game_object *exclude2);
+
+ bFILE *create_dir(char *filename, int save_all,
+ object_node *save_list, object_node *exclude_list);
+ view *make_view_list(int nplayers);
+ long total_light_links(object_node *list);
+ long total_object_links(object_node *save_list);
+ game_object *find_object_in_area(long x, long y, long x1, long y1,
+ long x2, long y2, Cell *list, game_object *exclude);
+ game_object *find_object_in_angle(long x, long y, long start_angle, long end_angle,
+ void *list, game_object *exclude);
+ object_node *make_not_list(object_node *list);
+ int load_player_info(bFILE *fp, spec_directory *sd, object_node *save_list);
+ void write_player_info(bFILE *fp, object_node *save_list);
+ void write_object_info(char *filename);
+ void level_loaded_notify();
+} ;
+
+extern level *current_level;
+void pull_actives(game_object *o, game_object *&last_active, int &t);
+
+
+
+#endif
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/abuse/inc/light.hpp b/abuse/inc/light.hpp
new file mode 100644
index 0000000..b7d7cc0
--- /dev/null
+++ b/abuse/inc/light.hpp
@@ -0,0 +1,76 @@
+#ifndef LIGHT_HPP
+#define LIGHT_HPP
+
+#include "image.hpp"
+#include "palette.hpp"
+#include "config.hpp"
+#include "crc.hpp"
+
+#define TTINTS 9
+extern uchar *tints[TTINTS];
+extern unsigned char *white_light,*white_light_initial,*green_light,*trans_table;
+extern short ambient_ramp;
+#define REVERSE_GREEN_TINT 8
+
+extern short shutdown_lighting_value,shutdown_lighting;
+
+class light_source
+{
+ public :
+ long type,x,xshift,y,yshift;
+ long outer_radius,mul_div,inner_radius;
+
+ long x1,y1,x2,y2;
+ char known;
+ light_source *next;
+
+ void calc_range();
+ light_source(char Type, long X, long Y, long Inner_radius, long Outer_radius,
+ long Xshift, long Yshift,
+ light_source *Next);
+ light_source *copy();
+} ;
+
+class light_patch
+{
+ public :
+ long total,x1,y1,x2,y2;
+ light_source **lights;
+ light_patch *next;
+ light_patch(long X1, long Y1, long X2, long Y2, light_patch *Next)
+ {
+ x1=X1; y1=Y1; x2=X2; y2=Y2;
+ next=Next;
+ total=0;
+ lights=NULL;
+ }
+ void add_light(long X1, long Y1, long X2, long Y2, light_source *who);
+ light_patch *copy(light_patch *Next);
+ ~light_patch() { if (total) jfree(lights); }
+} ;
+
+void delete_all_lights();
+void delete_light(light_source *which);
+light_source *add_light_source(char type, long x, long y,
+ long inner, long outer, long xshift, long yshift);
+
+void add_light_spec(spec_directory *sd, char *level_name);
+void write_lights(bFILE *fp);
+void read_lights(spec_directory *sd, bFILE *fp, char *level_name);
+
+
+void delete_patch_list(light_patch *first);
+light_patch *find_patch(int screenx, int screeny, light_patch *list);
+int calc_light_value(long x, long y, light_patch *which);
+void light_screen(image *sc, long screenx, long screeny, uchar *light_lookup, ushort ambient);
+void double_light_screen(image *sc, long screenx, long screeny, uchar *light_lookup, ushort ambient,
+ image *out, long out_x, long out_y);
+
+void calc_light_table(palette *pal);
+extern light_source *first_light_source;
+extern int light_detail;
+
+extern long light_to_number(light_source *l);
+extern light_source *number_to_light(long x);
+
+#endif
diff --git a/abuse/inc/lisp.hpp b/abuse/inc/lisp.hpp
new file mode 100644
index 0000000..99cfb14
--- /dev/null
+++ b/abuse/inc/lisp.hpp
@@ -0,0 +1,217 @@
+#ifndef __LISP_HPP_
+#define __LISP_HPP_
+
+#include "lisp_opt.hpp"
+
+#ifdef L_PROFILE
+#include "timing.hpp"
+#endif
+
+#define Cell void
+#define MAX_LISP_TOKEN_LEN 200
+enum { PERM_SPACE,
+ TMP_SPACE,
+ USER_SPACE,
+ GC_SPACE };
+#define CAR(x) ((cons_cell *)x)->car
+#define CDR(x) ((cons_cell *)x)->cdr
+
+
+#define FIXED_TRIG_SIZE 360 // 360 degrees stored in table
+extern long sin_table[FIXED_TRIG_SIZE]; // this should be filled in by external module
+#define TBS 1662 // atan table granularity
+extern unsigned short atan_table[TBS];
+#define NILP(x) (x==NULL)
+#define DEFINEDP(x) (x!=l_undefined)
+class bFILE;
+extern int current_space;
+extern bFILE *current_print_file;
+
+
+enum { L_BAD_CELL, // error catching type
+ L_CONS_CELL, L_NUMBER, L_SYMBOL, L_SYS_FUNCTION, L_USER_FUNCTION,
+ L_STRING, L_CHARACTER, L_C_FUNCTION, L_C_BOOL, L_L_FUNCTION, L_POINTER,
+ L_OBJECT_VAR, L_1D_ARRAY,
+ L_FIXED_POINT, L_COLLECTED_OBJECT };
+
+typedef long ltype; // make sure structures aren't packed differently on various compiler
+ // and sure that word, etc are word alligned
+
+struct lisp_object_var
+{
+ ltype type;
+ long number;
+} ;
+
+struct cons_cell
+{
+ ltype type;
+ void *cdr,*car;
+} ;
+
+struct lisp_number
+{
+ ltype type;
+ long num;
+} ;
+
+struct lisp_collected_object
+{
+ ltype type;
+ void *new_reference;
+} ;
+
+struct lisp_symbol
+{
+ ltype type;
+#ifdef L_PROFILE
+ float time_taken;
+#endif
+ void *value, *function, *name;
+ lisp_symbol *left,*right; // tree structure
+} ;
+
+struct lisp_sys_function
+{
+ ltype type;
+ short min_args,max_args,
+ fun_number;
+} ;
+
+struct lisp_user_function
+{
+ ltype type;
+#ifndef NO_LIBS
+ long alist,blist; // id for cached blocks
+#else
+ void *arg_list,*block_list;
+#endif
+} ;
+
+struct lisp_1d_array
+{
+ ltype type;
+ unsigned short size;
+ // size * sizeof (void *) follows1
+} ;
+
+struct lisp_string
+{
+ ltype type;
+} ;
+
+struct lisp_character
+{
+ ltype type;
+ short pad;
+ unsigned short ch;
+} ;
+
+struct lisp_pointer
+{
+ ltype type;
+ void *addr;
+} ;
+
+
+struct lisp_fixed_point
+{
+ ltype type;
+ long x;
+} ;
+
+
+void perm_space();
+void tmp_space();
+void use_user_space(void *addr, long size);
+#define item_type(c) ((c) ? *((ltype *)c) : (ltype)L_CONS_CELL)
+void *lget_array_element(void *a, long x);
+void *lpointer_value(void *lpointer);
+long lnumber_value(void *lnumber);
+char *lstring_value(void *lstring);
+unsigned short lcharacter_value(void *c);
+long lfixed_point_value(void *c);
+void *lisp_atom(void *i);
+void *lcdr(void *c);
+void *lcar(void *c);
+void *lisp_eq(void *n1, void *n2);
+void *lisp_equal(void *n1, void *n2);
+lisp_symbol *find_symbol(char *name);
+long list_length(void *i);
+void lprint(void *i);
+void *eval(void *prog);
+void *eval_block(void *list);
+void *eval_function(lisp_symbol *sym, void *arg_list);
+void *eval_user_fun(lisp_symbol *sym, void *arg_list);
+void *compile(char *&s);
+void *symbol_value(void *symbol);
+void *symbol_function(void *symbol);
+void *set_symbol_number(void *symbol, long num);
+void *set_symbol_value(void *symbol, void *value);
+void *symbol_name(void *symbol);
+void *assoc(void *item, void *list);
+void resize_tmp(int new_size);
+void resize_perm(int new_size);
+lisp_symbol *make_find_symbol(char *name);
+
+void push_onto_list(void *object, void *&list);
+lisp_symbol *add_c_object(void *symbol, short number);
+lisp_symbol *add_c_function(char *name, short min_args, short max_args, short number);
+lisp_symbol *add_c_bool_fun(char *name, short min_args, short max_args, short number);
+lisp_symbol *add_lisp_function(char *name, short min_args, short max_args, short number);
+int read_ltoken(char *&s, char *buffer);
+cons_cell *new_cons_cell();
+void print_trace_stack(int max_levels);
+
+
+lisp_number *new_lisp_number(long num);
+lisp_pointer *new_lisp_pointer(void *addr);
+lisp_character *new_lisp_character(unsigned short ch);
+lisp_string *new_lisp_string(char *string);
+lisp_string *new_lisp_string(char *string, int length);
+lisp_string *new_lisp_string(long length);
+lisp_fixed_point *new_lisp_fixed_point(long x);
+lisp_object_var *new_lisp_object_var(short number);
+lisp_1d_array *new_lisp_1d_array(unsigned short size, void *rest);
+lisp_sys_function *new_lisp_sys_function(int min_args, int max_args, int fun_number);
+lisp_sys_function *new_lisp_c_function(int min_args, int max_args, int fun_number);
+lisp_sys_function *new_lisp_c_bool(int min_args, int max_args, int fun_number);
+
+#ifdef NO_LIBS
+lisp_user_function *new_lisp_user_function(void *arg_list, void *block_list);
+#else
+lisp_user_function *new_lisp_user_function(long arg_list, long block_list);
+#endif
+
+lisp_sys_function *new_user_lisp_function(int min_args, int max_args, int fun_number);
+
+int end_of_program(char *s);
+void clear_tmp();
+void lisp_init(long perm_size, long tmp_size);
+void lisp_uninit();
+extern lisp_symbol *lsym_root;
+
+extern char *space[4],*free_space[4];
+extern int space_size[4];
+void *nth(int num, void *list);
+long lisp_atan2(long dy, long dx);
+long lisp_sin(long x);
+long lisp_cos(long x);
+void restore_heap(void *val, int heap);
+void *mark_heap(int heap);
+
+extern "C" {
+void lbreak(const char *format, ...);
+} ;
+
+extern void clisp_init(); // external initalizer call by lisp_init()
+extern long c_caller(long number, void *arg); // exten c function switches on number
+extern void *l_caller(long number, void *arg); // exten lisp function switches on number
+
+extern void *l_obj_get(long number); // exten lisp function switches on number
+extern void l_obj_set(long number, void *arg); // exten lisp function switches on number
+extern void l_obj_print(long number); // exten lisp function switches on number
+
+
+
+#endif
diff --git a/abuse/inc/lisp2.hpp b/abuse/inc/lisp2.hpp
new file mode 100644
index 0000000..6d20725
--- /dev/null
+++ b/abuse/inc/lisp2.hpp
@@ -0,0 +1,126 @@
+#ifndef _LISP_HPP_INCLUDED_
+#define _LISP_HPP_INCLUDED_
+
+#include <sys/types.h>
+#include <stdtool.h>
+
+
+
+
+extern "C"
+{
+#include "li_modul.h"
+#include "li_proto.h"
+}
+
+/* ------------------------- COMPATIBILITY ------------------------- */
+
+#define L_SYMBOL LI_tSYMBOL
+#define L_STRING LI_tSTRING
+#define L_CONS_CELL LI_tCONS
+#define L_NUMBER LI_tLONG
+#define L_CHARACTER LI_tLONG
+#define L_POINTER LI_tUSER
+#define L_FIXED_POINT LI_tFIXEDPOINT
+
+#define PERM_SPACE 0
+#define TEMP_SPACE 0
+#define cons_cell Cell
+#define lisp_symbol Cell
+
+/* ------------------------- GLOBAL VARS ------------------------- */
+
+extern int current_space;
+extern void *enviroment;
+
+/* ------------------------- GLOBAL LISP VARS ------------------------- */
+
+extern Cell *l_difficulty,*l_easy,*l_hard,*l_medium,*l_main_menu,
+ *l_logo,*l_state_art,*l_abilities,*l_state_sfx,
+ *l_song_list,*l_filename,*l_sfx_directory,*l_max_hp,
+ *l_default_font,*l_morph,*l_max_power,*l_default_abilities,
+ *l_default_ai_function,*l_tile_files,*l_empty_cache,*l_range,
+ *l_joy_file,*l_hurt_all,*l_death_handler,*l_title_screen,
+ *l_console_font,*l_fields,*l_dist,*l_pushx,*l_pushy,
+ *l_object,*l_tile;
+
+/* variables for the status bar */
+
+extern Cell *l_statbar_ammo_x,*l_statbar_ammo_y,
+ *l_statbar_ammo_w,*l_statbar_ammo_h,
+ *l_statbar_ammo_bg_color,
+
+ *l_statbar_health_x,*l_statbar_health_y,
+ *l_statbar_health_w,*l_statbar_health_h,
+ *l_statbar_health_bg_color,
+
+ *l_statbar_logo_x,*l_statbar_logo_y;
+
+extern Cell *true_symbol;
+
+/* ------------------------- TRIGONOMETRY -------------------- */
+
+#define FIXED_TRIG_SIZE 360 // 360 degrees stored in table
+extern long sin_table[FIXED_TRIG_SIZE]; // this should be filled in by external module
+#define TBS 1662 // atan table granularity
+extern unsigned short atan_table[TBS];
+
+/* ------------------------- COMPATIBILITY -------------------- */
+
+typedef Cell lisp_symbol;
+#undef CAR
+#undef CDR
+#undef SCAR
+#undef SCDR
+#define SCAR(x) (((Cell*)x)->type == LI_tCONS ? ((Cell*)x)->v.cons.car : Nil)
+#define SCDR(x) (((Cell*)x)->type == LI_tCONS ? ((Cell*)x)->v.cons.cdr : Nil)
+#define CAR(x) (((Cell*)x)->v.cons.car)
+#define CDR(x) (((Cell*)x)->v.cons.cdr)
+
+/* ------------------------- FUNCTION PROTOTYPES ------------------------- */
+
+void lisp_init (long a, long b);
+void lisp_uninit (void);
+char* lstring_value (void* x);
+long lnumber_value (void* x);
+char lcharacter_value (void* x);
+Cell* new_lisp_number (long x);
+Cell* new_lisp_character (unsigned short x);
+Cell* new_lisp_string (long x);
+Cell* new_lisp_pointer (void* x);
+Cell* new_cons_cell (void);
+Cell* lcar (void* x);
+Cell* lcdr (void* x);
+Cell* lprint (void* x);
+Cell* set_symbol_number (void* x, long y);
+Cell* set_symbol_value(void *symbol, void *value);
+Cell* symbol_value (void* x);
+Cell* make_find_symbol (char* name);
+Cell* find_symbol (char* name);
+Cell* symbol_function (void* symbol);
+void use_user_space(void *addr, long size);
+Cell* eval_function(void *sym, void *arg_list, void *env);
+void clear_tmp();
+void resize_tmp (int size);
+Cell* eval (void* item, void* env);
+long list_length(void *i);
+Cell* nth (int num, void *list);
+Cell* compile (char*& str);
+int get_lprop_number (void* symbol, int number);
+Cell* assoc (void* vlists, void* vtarget);
+char* symbol_name (void* symbol);
+int item_type (void* cell);
+long lisp_cos(long x);
+long lisp_sin(long x);
+long lisp_atan2(long dy, long dx);
+void push_onto_list(Cell *object, Cell *&list);
+
+void* lpointer_value (void* x);
+long lfixed_point_value(void* x);
+void lisp_init_globals ();
+int lisp_init_lisp_fns ();
+void lisp_init_c_fns ();
+
+extern "C" void lbreak (const char* format, ...);
+
+#endif /* _LISP_HPP_INCLUDED_ */
diff --git a/abuse/inc/lisp_gc.hpp b/abuse/inc/lisp_gc.hpp
new file mode 100644
index 0000000..b3b6f01
--- /dev/null
+++ b/abuse/inc/lisp_gc.hpp
@@ -0,0 +1,20 @@
+#include "stack.hpp"
+#ifndef __LISP_GC_HPP_
+#define __LISP_GC_HPP_
+
+extern grow_stack<void> l_user_stack; // stack user progs can push data and have it GCed
+extern grow_stack<void *>l_ptr_stack; // stack of user pointers, user pointers get remapped on GC
+
+void collect_space(int which_space); // should be tmp or permenant
+
+void register_pointer(void *&addr);
+void unregister_pointer(void *&addr);
+
+class p_ref {
+ public :
+ p_ref(void *&ref) { l_ptr_stack.push(&ref); }
+ ~p_ref() { l_ptr_stack.pop(1); }
+} ;
+
+
+#endif
diff --git a/abuse/inc/lisp_opt.hpp b/abuse/inc/lisp_opt.hpp
new file mode 100644
index 0000000..87872c0
--- /dev/null
+++ b/abuse/inc/lisp_opt.hpp
@@ -0,0 +1,9 @@
+#ifndef __LISP_OPT_HPP_
+#define __LISP_OPT_HPP_
+
+extern void *true_symbol,*l_undefined,*list_symbol,*string_symbol, // in lisp_init()
+ *quote_symbol,*backquote_symbol,*comma_symbol,*do_symbol,*in_symbol,*aref_symbol,
+ *colon_initial_contents,*colon_initial_element,*if_symbol,
+ *progn_symbol,*car_symbol,*cdr_symbol,*load_warning;
+
+#endif
diff --git a/abuse/inc/lmenu.hpp b/abuse/inc/lmenu.hpp
new file mode 100644
index 0000000..ae7acf2
--- /dev/null
+++ b/abuse/inc/lmenu.hpp
@@ -0,0 +1,17 @@
+#ifndef __LMENU_HPP_
+#define __LMENU_HPP_
+
+class lmenu : public ifield
+{
+public :
+ int id;
+ ifield *next;
+ virtual void area(int &x1, int &y1, int &x2, int &y2, window_manager *wm);
+ virtual void draw_first(image *screen, window_manager *wm);
+ virtual void draw(int active, image *screen, window_manager *wm) = 0;
+ virtual void handle_event(event &ev, image *screen, window_manager *wm) = 0;
+ virtual char *read() = 0;
+} ;
+} ;
+
+#endif
diff --git a/abuse/inc/loader2.hpp b/abuse/inc/loader2.hpp
new file mode 100644
index 0000000..56328a1
--- /dev/null
+++ b/abuse/inc/loader2.hpp
@@ -0,0 +1,79 @@
+#ifndef __LOADER_HPP_
+#define __LOADER_HPP_
+
+#include "jwindow.hpp"
+#include "lisp.hpp"
+#include "sound.hpp"
+class property_manager;
+extern property_manager *prop;
+
+/*********************************title screen***********************************/
+extern int title_screen;
+
+
+/*********************************joystick pictures******************************/
+extern int joy_picts[2*9];
+
+/*************************** devleopment mode pictures **************************/
+extern int light_buttons[13];
+
+/*********************************Fonts******************************************/
+extern JCFont *big_font,*console_font;
+extern int big_font_pict,small_font_pict,console_font_pict;
+
+
+/******************************** FIGURES ***************************************/
+
+
+extern int damage_pict,block_pict;
+extern ushort current_start_type,start_position_type;
+
+
+/******************************* SOUND EFFECTS **********************************/
+extern int raise_volume,lower_volume,record_button,play_button,music_button,sfx_button;
+
+extern int sfx_volume,music_volume,sound_avail;
+extern song *current_song;
+
+/******************************** SCREEN FRAME **********************************/
+extern int border_tile,window_texture,
+ record_button,play_button,window_colors,pause_image,vmm_image,
+ earth,earth_mask,clouds,
+ numbers[10], stat_bar,
+ ok_button,cancel_button,
+ cdc_logo;
+
+
+/******************************** TILES *****************************************/
+extern int *backtiles; // array of id's
+extern int *foretiles;
+extern int nforetiles,nbacktiles, // total foreground tiles & background tiles
+ f_wid,f_hi,b_wid,b_hi; // width and height of foreground/background tiles
+
+
+/******************************** COLOR *****************************************/
+extern palette *pal;
+extern color_filter *color_table;
+extern int light_connection_color;
+
+
+/******************************** MOUSE CURSORS *********************************/
+extern int c_mouse1,c_mouse2,c_normal,c_target;
+
+/******************************* GLOBALS ****************************************/
+extern long bg_xmul,bg_xdiv,bg_ymul,bg_ydiv; // brackground scroll rates
+extern char mouse_scrolling,palettes_locked,view_shift_disabled;
+extern int edit_mode;
+extern int start_running;
+
+
+image *load_image(spec_entry *e, bFILE *fp); // preforms scaling
+image *load_image(bFILE *fp);
+void load_data(int argc, char **argv);
+char *load_script(char *name);
+void load_tiles(Cell *file_list);
+extern char lsf[256];
+
+#endif
+
+
diff --git a/abuse/inc/loadgame.hpp b/abuse/inc/loadgame.hpp
new file mode 100644
index 0000000..1b85674
--- /dev/null
+++ b/abuse/inc/loadgame.hpp
@@ -0,0 +1,11 @@
+#ifndef __LOADGAME_HPP__
+#define __LOADGAME_HPP__
+
+int show_load_icon();
+int load_game(int show_all, char *title);
+void get_savegame_name(char *buf); // buf should be at least 50 bytes
+void last_savegame_name(char *buf);
+void load_number_icons();
+int get_save_spot();
+
+#endif
diff --git a/abuse/inc/menu.hpp b/abuse/inc/menu.hpp
new file mode 100644
index 0000000..d6a7ca4
--- /dev/null
+++ b/abuse/inc/menu.hpp
@@ -0,0 +1,8 @@
+#ifndef GRUE_MENU_HPP
+#define GRUE_MENU_HPP
+#include "fonts.hpp"
+
+int menu(void *args, JCFont *font); // reurns -1 on esc
+void main_menu();
+
+#endif
diff --git a/abuse/inc/morpher.hpp b/abuse/inc/morpher.hpp
new file mode 100644
index 0000000..cf8e4a4
--- /dev/null
+++ b/abuse/inc/morpher.hpp
@@ -0,0 +1,27 @@
+#ifndef __MORPHER_HPP_
+#define __MORPHER_HPP_
+#include "supmorph.hpp"
+#include "config.hpp"
+
+extern int morph_detail;
+
+class view;
+
+class game_object;
+
+class morph_char
+{
+ long cx,dcx,cy,dcy; // center of gravity
+ smorph_player *mor;
+ int end_type,fleft;
+public :
+ morph_char(game_object *who, int to_type, void (*stat_fun)(int), int anneal, int frames);
+ void draw(game_object *who, view *v);
+ int frames_left() { return fleft; }
+ virtual ~morph_char() { if (mor) delete mor; }
+} ;
+
+
+#endif
+
+
diff --git a/abuse/inc/netcfg.hpp b/abuse/inc/netcfg.hpp
new file mode 100644
index 0000000..3a87d26
--- /dev/null
+++ b/abuse/inc/netcfg.hpp
@@ -0,0 +1,36 @@
+#ifndef __NETCFG_HPP_
+#define __NETCFG_HPP_
+#include "jwindow.hpp"
+
+
+class net_configuration
+{
+ public :
+ enum { SINGLE_PLAYER, SERVER, CLIENT, RESTART_SERVER, RESTART_CLIENT, RESTART_SINGLE } state;
+
+ int restart_state();
+ int notify_reset();
+
+ unsigned short port,
+ server_port; // if we are a server, use our_port
+ char name[100];
+ char server_name[100];
+
+
+ char min_players,
+ max_players;
+ short kills;
+
+ net_configuration();
+ int input(); // pulls up dialog box and input fileds
+ void cfg_error(char *msg);
+ int confirm_inputs(jwindow *j, int server);
+ void error(char *message);
+ int confirm_inputs(input_manager *i, int server);
+ ifield *center_ifield(ifield *i,int x1, int x2, ifield *place_below);
+ int get_options(int server);
+} ;
+
+extern net_configuration *main_net_cfg;
+
+#endif
diff --git a/abuse/inc/netface.hpp b/abuse/inc/netface.hpp
new file mode 100644
index 0000000..6c3ddc4
--- /dev/null
+++ b/abuse/inc/netface.hpp
@@ -0,0 +1,158 @@
+// structure used to comminicate with the engine
+
+#ifndef __NETFACE_HPP_
+#define __NETFACE_HPP_
+
+#define PACKET_MAX_SIZE 1024 // this is a game data packet (udp/ipx)
+#define READ_PACKET_SIZE 1024 // this is a file service packet (tcp/spx)
+#define NET_CRC_FILENAME "#net_crc"
+#define NET_STARTFILE "netstart.spe"
+#include "indian.hpp"
+#include <string.h>
+
+
+// list of commands for general networking and file services
+
+enum { NFCMD_OPEN,
+ NFCMD_CLOSE,
+ NFCMD_READ,
+ NFCMD_WRITE,
+ NFCMD_SEEK,
+ NFCMD_SIZE,
+ NFCMD_TELL,
+ NFCMD_SET_FS, // used to set the default (active) filesever
+ NFCMD_CRCS_CALCED, // engine sends this to driver after crcs are saved
+ NFCMD_REQUEST_LSF, // engine sends to driver with remote server name, returns 0 for failure or lsf name
+ NFCMD_PROCESS_LSF, // remote engine sends to driver with lsf name, when get_lsf is set in base_mem
+ NFCMD_REQUEST_ENTRY, // sent from joining client engine to driver, who then connects as client_abuse
+ NFCMD_BECOME_SERVER,
+ NFCMD_BLOCK, // used by UNIX version to have engine give it up it's time-slice
+ NFCMD_RELOAD_START,
+ NFCMD_RELOAD_END,
+ NFCMD_SEND_INPUT,
+ NFCMD_INPUT_MISSING, // when engine is waiting for input and suspects packets are missing
+ NFCMD_KILL_SLACKERS, // when the user decides the clients are taking too long to respond
+ EGCMD_DIE
+ };
+
+// client commands
+enum { CLCMD_JOIN_FAILED,
+ CLCMD_JOIN_SUCCESS,
+ CLCMD_RELOAD_START, // will you please load netstart.spe
+ CLCMD_RELOAD_END, // netstart.spe has been loaded, please continue
+ CLCMD_REQUEST_RESEND, // input didn't arrive, please resend
+ CLCMD_UNJOIN // causes server to delete you (addes your delete command to next out packet)
+ } ;
+
+
+// return codes for NFCMD_OPEN
+enum { NF_OPEN_FAILED,
+ NF_OPEN_LOCAL_FILE, // should return path to local file as well
+ NF_OPEN_REMOTE_FILE } ; // returned to engine for a filename
+
+
+// types of clients allowed to connect
+enum { CLIENT_NFS=50, // client can read one remote files
+ CLIENT_ABUSE, // waits for entry into a game
+ CLIENT_CRC_WAITER, // client waits for crcs to be saved
+ CLIENT_LSF_WAITER // waits for lsf to be transmitted
+
+ } ;
+
+// base->input_state will be one of the following
+
+enum { INPUT_COLLECTING, // waiting for driver to receive input from clients/server
+ INPUT_PROCESSING, // waiting for engine to process input from last tick
+ INPUT_RELOAD, // server is waiting on clients to reload, process game packets, but don't store them
+ INPUT_NET_DEAD }; // net driver detected an unrecoverable net error, engine should shut down net services
+
+
+
+// the net driver should not use any of these except SCMD_DELETE_CLIENT (0) because
+// they are subject to change
+enum {
+ SCMD_DELETE_CLIENT,
+ SCMD_VIEW_RESIZE,
+ SCMD_SET_INPUT,
+ SCMD_WEAPON_CHANGE,
+ SCMD_END_OF_PACKET,
+ SCMD_RELOAD,
+ SCMD_KEYPRESS,
+ SCMD_KEYRELEASE,
+ SCMD_EXT_KEYPRESS,
+ SCMD_EXT_KEYRELEASE,
+ SCMD_CHAT_KEYPRESS,
+ SCMD_SYNC
+ };
+
+
+struct join_struct
+{
+ int client_id;
+ char name[100];
+ join_struct *next;
+} ;
+
+struct net_packet
+{
+ unsigned char data[PACKET_MAX_SIZE];
+ int packet_prefix_size() { return 5; } // 2 byte size, 2 byte check sum, 1 byte packet order
+ unsigned short packet_size() { unsigned short size=(*(unsigned short *)data); return lstl(size); }
+ unsigned char tick_received() { return data[4]; }
+ void set_tick_received(unsigned char x) { data[4]=x; }
+ unsigned char *packet_data() { return data+packet_prefix_size(); }
+ unsigned short get_checksum() { unsigned short cs=*((unsigned short *)data+1); return lstl(cs); }
+ unsigned short calc_checksum()
+ {
+ *((unsigned short *)data+1)=0;
+ int i,size=packet_prefix_size()+packet_size();
+ unsigned char c1=0,c2=0,*p=data;
+ for (i=0;i<size;i++,p++)
+ {
+ c1+=*p;
+ c2+=c1;
+ }
+ unsigned short cs=( (((unsigned short)c1)<<8) | c2);
+ *((unsigned short *)data+1)=lstl(cs);
+ return cs;
+ }
+
+
+ void packet_reset() { set_packet_size(0); } // 2 bytes for size, 1 byte for tick
+
+ void add_to_packet(void *buf, int size)
+ {
+ if (size && size+packet_size()+packet_prefix_size()<PACKET_MAX_SIZE)
+ {
+ memcpy(data+packet_size()+packet_prefix_size(),buf,size);
+ set_packet_size(packet_size()+size);
+ }
+ }
+ void write_byte(unsigned char x) { add_to_packet(&x,1); }
+ void write_short(unsigned short x) { x=lstl(x); add_to_packet(&x,2); }
+ void write_long(unsigned long x) { x=lltl(x); add_to_packet(&x,4); }
+
+ void set_packet_size(unsigned short x) { *((unsigned short *)data)=lstl(x); }
+
+
+} ;
+
+struct base_memory_struct
+{
+ net_packet packet, // current tick data
+ last_packet; // last tick data (in case a client misses input, we can resend)
+
+ short mem_lock;
+ short calc_crcs;
+ short get_lsf;
+ short wait_reload;
+ short need_reload;
+ short input_state; // COLLECTING or PROCESSING
+ short current_tick; // set by engine, used by driver to confirm packet is not left over
+
+ join_struct *join_list;
+} ;
+
+
+
+#endif
diff --git a/abuse/inc/nfclient.hpp b/abuse/inc/nfclient.hpp
new file mode 100644
index 0000000..77fc314
--- /dev/null
+++ b/abuse/inc/nfclient.hpp
@@ -0,0 +1,6 @@
+#ifndef __NFCLIENT_HPP_
+#define __NFCLIENT_HPP_
+
+void connect_to_nfs_server(char *name, int port);
+
+#endif
diff --git a/abuse/inc/nfserver.hpp b/abuse/inc/nfserver.hpp
new file mode 100644
index 0000000..2f76a30
--- /dev/null
+++ b/abuse/inc/nfserver.hpp
@@ -0,0 +1,48 @@
+#ifndef __NFSERVER_HPP_
+#define __NFSERVER_HPP_
+
+#include "specs.hpp"
+#include "system.h"
+#include "netface.hpp"
+#include "sock.hpp"
+
+int net_init(int argc, char **argv);
+void net_uninit();
+void service_net_request();
+void wait_min_players();
+void server_check();
+void remove_client(int client_number);
+
+int net_start();
+bFILE *open_nfs_file(char *filename,char *mode);
+
+int net_init(int argc, char **argv);
+int NF_open_file(char *filename, char *mode);
+long NF_close(int fd);
+long NF_read(int fd, void *buf, long size);
+long NF_filelength(int fd);
+long NF_tell(int fd);
+long NF_seek(int fd, long offset);
+int NF_set_file_server(net_address *addr);
+
+int request_server_entry();
+int server_entry_continue();
+void net_reload();
+void read_new_views();
+int set_file_server(char *name);
+int set_file_server(net_address *addr);
+
+int join_remote_game(char *name);
+int become_server(char *name);
+int get_remote_lsf(net_address *addr, char *filename); // filename should be 256 bytes
+
+
+void send_local_request(); // sends from *base
+int get_inputs_from_server(unsigned char *buf); // return bytes read into buf (will be less than PACKET_MAX_SIZE
+
+
+int client_number();
+extern net_address *net_server;
+extern base_memory_struct *base; // points to shm_addr
+
+#endif
diff --git a/abuse/inc/objects.hpp b/abuse/inc/objects.hpp
new file mode 100644
index 0000000..aaa6516
--- /dev/null
+++ b/abuse/inc/objects.hpp
@@ -0,0 +1,165 @@
+#ifndef _OBJECTS_HPP_
+#define _OBJECTS_HPP_
+#include "input.hpp"
+#include "chars.hpp"
+#include "sound.hpp"
+#include "morpher.hpp"
+#include "loader2.hpp"
+#include "view.hpp"
+#include "extend.hpp"
+
+class view;
+
+extern char **object_names;
+extern int total_objects;
+
+#define NOT_BLOCKED 0
+#define BLOCKED_LEFT 1
+#define BLOCKED_RIGHT 2
+#define BLOCKED_UP 4
+#define BLOCKED_DOWN 8
+
+
+
+#define FIRST_ATTACK atk_fast
+#define LAST_ATTACK attack_special
+
+
+
+
+#define RC_C 0
+#define RC_S 1
+#define RC_L 2
+
+
+
+
+
+#define TOTAL_OBJECT_VARS 28
+struct obj_desc { char *name; int type; } ;
+extern obj_desc object_descriptions[TOTAL_OBJECT_VARS];
+int RC_type_size(int type);
+//void init_object_offsets();
+
+
+class game_object : public simple_object
+{
+ sequence *current_sequence() { return figures[otype]->get_sequence(state); }
+public :
+ game_object *next,*next_active;
+ long *lvars;
+
+ int size();
+ int decide(); // returns 0 if you want to be deleted
+ int type() { return otype; }
+ ifield *make_fields(int ystart, ifield *Next) { return NULL ; }
+ void gather_input(input_manager *inm) { ; }
+ int hurt_all() { return figures[otype]->get_cflag(CFLAG_HURT_ALL); }
+ int stoppable() { return figures[otype]->get_cflag(CFLAG_STOPPABLE); }
+ int can_block() { return figures[otype]->get_cflag(CFLAG_CAN_BLOCK); }
+
+ int hurtable() { return figures[otype]->get_cflag(CFLAG_HURTABLE); }
+ int pushable() { return figures[otype]->get_cflag(CFLAG_PUSHABLE); }
+
+ void draw();
+ void map_draw();
+ void draw_trans(int count, int max);
+ void draw_tint(int tint_id);
+ void draw_double_tint(int tint_id1, int tint_id2);
+ void draw_predator();
+
+
+ void drawer();
+ void draw_above(view *v);
+ void do_damage(int amount, game_object *from, long hitx, long hity, long push_xvel, long push_yvel);
+ void damage_fun(int amount, game_object *from, long hitx, long hity, long push_xvel, long push_yvel);
+
+
+ void note_attack(game_object *whom);
+ void recieve_signal(long singal) { ; }
+ int push_range();
+ int can_hurt(game_object *who); // collision checking will ask first to see if you
+ // can hurt this person before calculating weither you actually do
+
+ void load(int type, bFILE *fp, unsigned char *state_remap);
+ int tick(); // should be called from decide, does the physics on the people, returns blocked status
+ void *float_tick(); // returns T or blocked structure =
+ // (block_flags 'tile tilex tiley)
+ // (block_flags 'object obj)
+
+ void next_sequence();
+
+ int facing_attacker(int attackerx);
+ void set_state(character_state s, int frame_direction=1);
+ int has_sequence(character_state s) { return figures[otype]->has_sequence(s); }
+
+ game_object *try_move(long x, long y, long &xv, long &yv, int checks); // 1=down,2=up,3=both
+ game_object *bmove(int &whit, game_object *exclude); // ballestic move, return hit object,
+ // or NULL (whit is 1 if hit wall)
+ trans_image *picture() { return current_sequence()->get_frame(current_frame,direction); }
+
+ int next_picture();
+ long x_center();
+ long height();
+
+ void stop_acel() { set_xacel(0); set_yacel(0); set_fxacel(0); set_fyacel(0); }
+ void stop_vel() { set_xvel(0); set_yvel(0); set_fxvel(0); set_fyvel(0); }
+ void stop_x() { set_xvel(0); set_fxvel(0); set_xacel(0); set_fxacel(0); }
+ void stop()
+ { set_xvel(0); set_yvel(0); set_fxvel(0); set_fyvel(0);
+ set_xacel(0); set_yacel(0); set_fxacel(0); set_fyacel(0);
+ }
+
+ int move(int cx, int cy, int button); // return blocked status
+ int mover(int cx, int cy, int button);
+ figure *current_figure() { return current_sequence()->get_figure(current_frame); }
+ int total_frames() { return current_sequence()->length(); }
+ void picture_space(long &x1, long &y1,long &x2, long &y2);
+ int tx(int x) { if (direction>0) return x-x_center(); else return x_center()-x; }
+ int ty(int y) { return y-picture()->height()+1; }
+ void defaults();
+ game_object(int Type, int load=0);
+ int is_playable() { return hurtable(); }
+ void add_power(int amount);
+ void add_hp(int amount);
+ int can_morph_into(int type);
+ void morph_into(int type, void (*stat_fun)(int), int anneal, int frames);
+ void do_flinch(game_object *from);
+ void set_aimemory(game_object *p) { add_object(p); p->set_flags(p->flags()|KNOWN_FLAG); }
+ int alive() { if (state==dead || hp()<=0) return 0; else return 1; }
+ void frame_advance();
+ object_node *make_not_list(object_node *first);
+ int reduced_state();
+ void reload_notify();
+
+ void change_type(int new_type);
+ int set_var_by_name(char *name, long value);
+ long get_var_by_name(char *name, int &error);
+ game_object *copy();
+ void change_aitype(int new_type);
+ ~game_object();
+} ;
+
+class object_node // used to create various list of objects
+{
+ public :
+ game_object *me;
+ object_node *next;
+ object_node(game_object *Me, object_node *Next) { me=Me; next=Next; }
+} ;
+
+extern game_object *current_object;
+extern view *current_view;
+game_object *create(int type, long x, long y, int skip_constructor=0, int aitype=0);
+int base_size();
+
+void delete_object_list(object_node *first);
+int object_to_number_in_list(game_object *who, object_node *list);
+game_object *number_to_object_in_list(long x, object_node *list);
+
+
+#endif
+
+
+
+
diff --git a/abuse/inc/parse.hpp b/abuse/inc/parse.hpp
new file mode 100644
index 0000000..935cc18
--- /dev/null
+++ b/abuse/inc/parse.hpp
@@ -0,0 +1,18 @@
+#ifndef __PARSE_HPP_
+#define __PARSE_HPP_
+
+
+enum { sEND,sNUMBER,sSTRING,sWORD,sOPERATOR,sLEFT_BRACE,sRIGHT_BRACE,
+ sLEFT_PAREN,sRIGHT_PAREN,sASSIGNMENT,sCOMMA } ;
+extern char *ttype[];
+
+void expect(int thing, int type, char *where);
+void skip_space(char *&s);
+int get_token(char *&s, char *buffer);
+int token_type(char *s);
+void next_token(char *&s);
+int get_number(char *&s);
+void get_filename(char *&s, char *buffer);
+void match_right(char *&s);
+
+#endif
diff --git a/abuse/inc/particle.hpp b/abuse/inc/particle.hpp
new file mode 100644
index 0000000..92225ad
--- /dev/null
+++ b/abuse/inc/particle.hpp
@@ -0,0 +1,55 @@
+#ifndef __PARTICLE_HPP_
+#define __PARTICLE_HPP_
+
+#include "specs.hpp"
+#include "image.hpp"
+
+class view;
+
+int defun_pseq(void *args);
+void add_panim(int id, long x, long y, int dir);
+void delete_panims(); // called by ~level
+void draw_panims(view *v);
+void tick_panims();
+void free_pframes();
+
+struct part
+{
+ short x,y;
+ uchar color;
+} ;
+
+class part_frame
+{
+ public :
+ int t,x1,y1,x2,y2;
+ part *data;
+ part_frame(bFILE *fp);
+ void draw(image *screen, int x, int y, int dir);
+ ~part_frame();
+} ;
+
+class part_sequence
+{
+ public :
+ int tframes;
+ int *frames; // array of id's
+ part_sequence(void *args);
+ ~part_sequence() { if (tframes) jfree(frames); }
+} ;
+
+class part_animation
+{
+ public :
+ part_animation *next;
+ part_sequence *seq;
+ int frame,dir;
+ long x,y;
+ part_animation(part_sequence *s, long X, long Y, int Dir, part_animation *Next)
+ { x=X; y=Y; seq=s; next=Next; frame=0; dir=Dir; }
+} ;
+
+
+#endif
+
+
diff --git a/abuse/inc/points.hpp b/abuse/inc/points.hpp
new file mode 100644
index 0000000..00fc1f0
--- /dev/null
+++ b/abuse/inc/points.hpp
@@ -0,0 +1,24 @@
+#ifndef __POINTS_HPP_
+#define __POINTS_HPP_
+#include <stdio.h>
+#include <stdlib.h>
+#include "jmalloc.hpp"
+#include "specs.hpp"
+
+class point_list
+{
+public :
+ unsigned char tot;
+ unsigned char *data;
+ point_list(unsigned char how_many, unsigned char *Data);
+ point_list() { tot=0; data=NULL; }
+ point_list(bFILE *fp);
+ void save(bFILE *fp);
+ long size() { return 1+2*tot; }
+ point_list *copy() { return new point_list(tot,data); }
+ ~point_list() { if (tot) { jfree(data); } }
+} ;
+
+#endif
+
+
diff --git a/abuse/inc/profile.hpp b/abuse/inc/profile.hpp
new file mode 100644
index 0000000..4cf0b27
--- /dev/null
+++ b/abuse/inc/profile.hpp
@@ -0,0 +1,16 @@
+#ifndef __JPROF_HPP_
+#define __JPROF_HPP_
+
+#include "event.hpp"
+
+void profile_init();
+void profile_reset();
+void profile_uninit();
+void profile_add_time(int type, float amount);
+void profile_update();
+void profile_toggle();
+int profile_handle_event(event &ev);
+int profiling();
+
+
+#endif
diff --git a/abuse/inc/property.hpp b/abuse/inc/property.hpp
new file mode 100644
index 0000000..65c541c
--- /dev/null
+++ b/abuse/inc/property.hpp
@@ -0,0 +1,25 @@
+#ifndef __PROPERTY_HPP_
+#define __PROPERTY_HPP_
+
+class property;
+class property_manager
+{
+ property *first;
+ property *find(char *name);
+ public :
+ property_manager() { first=0; }
+ void load(char *filename);
+ void save(char *filename);
+
+ int getd(char *name, int def) { return (int)get(name,def); }
+ double get(char *name, double def);
+ char *get(char *name, char *def);
+
+ void setd(char *name, int def) { set(name,def); }
+ void set(char *name, double def);
+ void set(char *name, char *def);
+ ~property_manager();
+} ;
+
+
+#endif
diff --git a/abuse/inc/ramfile.hpp b/abuse/inc/ramfile.hpp
new file mode 100644
index 0000000..0617033
--- /dev/null
+++ b/abuse/inc/ramfile.hpp
@@ -0,0 +1,27 @@
+
+
+#ifndef __RAM_FILE_HPP_
+#define __RAM_FILE_HPP_
+
+#include "specs.hpp"
+
+class ram_file : public bFILE
+{
+ uchar *buf;
+ int buf_size;
+ int buf_end;
+
+ virtual int allow_read_buffering();
+ virtual int allow_write_buffering();
+ public :
+ ram_file();
+ virtual int open_failure();
+ virtual int unbuffered_read(void *buf, size_t count); // returns number of bytes read
+ virtual int unbuffered_write(void *buf, size_t count); // returns number of bytes written
+ virtual int unbuffered_seek(long offset, int whence); // whence=SEEK_SET, SEEK_CUR, SEEK_END, ret=0=success
+ virtual int unbuffered_tell();
+ virtual int file_size();
+ virtual ~ram_file();
+} ;
+
+#endif
diff --git a/abuse/inc/sbar.hpp b/abuse/inc/sbar.hpp
new file mode 100644
index 0000000..94e114f
--- /dev/null
+++ b/abuse/inc/sbar.hpp
@@ -0,0 +1,41 @@
+#ifndef __STAT_BAR_H_
+#define __STAT_BAR_H_
+
+
+class view;
+
+#define TOTAL_WEAPONS 8
+#include "image.hpp"
+
+class status_bar
+{
+ view *v;
+ char need_rf,changed_cursor;
+ int icon_in_selection,currently_selected_weapon;
+
+ int bweap[TOTAL_WEAPONS], // bright weap image
+ dweap[TOTAL_WEAPONS], // dark
+ sbar,
+ sbar_select,
+ sbar_numpad,
+ bnum[30];
+
+ void area(int &x1, int &y1, int &x2, int &y2);
+ void draw_num(image *screen, int x, int y, int num, int *offset);
+ int mouse_in_area();
+ public :
+ status_bar();
+ void associate(view *V) { v=V; }
+ void load(); // load graphics into cache
+ void redraw(image *screen);
+
+ void step();
+ void draw_health(image *screen,int amount);
+ void draw_ammo(image *screen, int weapon_num, int amount, int light);
+ void need_refresh() { need_rf=1; }
+ void draw_update();
+};
+
+extern status_bar sbar;
+
+#endif
diff --git a/abuse/inc/scene.hpp b/abuse/inc/scene.hpp
new file mode 100644
index 0000000..10344f2
--- /dev/null
+++ b/abuse/inc/scene.hpp
@@ -0,0 +1,8 @@
+#ifndef __SCENE_HPP_
+#define __SCENE_HPP_
+
+#define MAX_SCROLL_DATA 4096
+#include "fonts.hpp"
+void play_scene(char *script, char *filename, JCFont *font);
+
+#endif
diff --git a/abuse/inc/seq.hpp b/abuse/inc/seq.hpp
new file mode 100644
index 0000000..5f3a853
--- /dev/null
+++ b/abuse/inc/seq.hpp
@@ -0,0 +1,36 @@
+#ifndef __SEQUENCE_HPP_
+#define __SEQUENCE_HPP_
+
+#include "image.hpp"
+#include "items.hpp"
+#include "timage.hpp"
+#include "cache.hpp"
+#include <stdarg.h>
+
+class sequence
+{
+ int total;
+ int *seq; // array of ids to figures
+public :
+ // takes a varible number of arguments (ints) specifing indexes into image array
+ sequence(int *figures, int total_frames) { total=total_frames; seq=figures; }
+
+ sequence(char *filename, void *pict_list, void *advance_list);
+
+ int next_frame(short &current) { current++; if (current>=total) { current=0; return 0; } return 1; }
+ int last_frame(short &current) { current--; if (current<0) { current=total-1; return 0; } return 1; }
+ trans_image *get_frame(short current, int direction)
+ { if (direction>0) return cash.fig(seq[current])->forward;
+ else return cash.fig(seq[current])->backward; }
+ figure *get_figure(short current) { return cash.fig(seq[current]); }
+ int cache_in();
+ int x_center(short current) { return (short) (cash.fig(seq[current])->xcfg); }
+ int length() { return total; }
+ int get_advance(int current) { return cash.fig(seq[current])->advance; }
+ int size();
+ ~sequence();
+};
+
+#endif
+
+
diff --git a/abuse/inc/server2.hpp b/abuse/inc/server2.hpp
new file mode 100644
index 0000000..221981f
--- /dev/null
+++ b/abuse/inc/server2.hpp
@@ -0,0 +1,28 @@
+#ifndef __SERVER2_HPP_
+#define __SERVER2_HPP_
+#error hi
+
+class client_descriptor;
+
+
+class game_server
+{
+ client_descriptor *client_list;
+ int sync_check;
+ public :
+ game_server(int argc, char **argv, int port);
+// int init_failed() { return in==NULL; }
+ void check_for_clients();
+ void receive_inputs(); // reads inputs from all non-local clients
+ void send_inputs(); // pass collected inputs to all non-local clients
+ void join_new_players();
+ ~game_server();
+} ;
+
+extern int start_running;
+extern game_server *local_server; // created on server machine, NULL on all others
+
+void game_net_init(int argc, char **argv);
+#endif
+
+
diff --git a/abuse/inc/specache.hpp b/abuse/inc/specache.hpp
new file mode 100644
index 0000000..359c16c
--- /dev/null
+++ b/abuse/inc/specache.hpp
@@ -0,0 +1,37 @@
+#ifndef __SPECACHE_HPP_
+#define __SPECACHE_HPP_
+
+#include "specs.hpp"
+
+
+class spec_directory_cache
+{
+ class filename_node
+ {
+ public :
+ filename_node *left,*right,*next;
+ char *fn;
+ spec_directory *sd;
+ char *filename() { return fn; }
+ filename_node(char *filename, spec_directory *dir)
+ {
+ fn=(char *)memcpy(jmalloc(strlen(filename)+1,"spec_dir cache"),filename,strlen(filename)+1);
+ sd=dir;
+ next=left=right=0;
+ }
+ long size;
+ } *fn_root,*fn_list;
+ void clear(filename_node *f); // private recursive member
+ long size;
+ public :
+ spec_directory *get_spec_directory(char *filename, bFILE *fp=NULL);
+ spec_directory_cache() { fn_root=0; size=0; }
+ void clear(); // frees up all allocated memory
+ void load(bFILE *fp);
+ void save(bFILE *fp);
+ ~spec_directory_cache() { clear(); }
+} ;
+
+extern spec_directory_cache sd_cache;
+
+#endif
diff --git a/abuse/inc/stack.hpp b/abuse/inc/stack.hpp
new file mode 100644
index 0000000..c832bbd
--- /dev/null
+++ b/abuse/inc/stack.hpp
@@ -0,0 +1,38 @@
+#ifndef __STACK_HPP_
+#define __STACK_HPP_
+#ifndef NO_LIBS
+#include "jmalloc.hpp"
+#else
+#include "fakelib.hpp"
+#endif
+
+#include <stdio.h>
+struct cons_cell;
+
+template<class T> class grow_stack // stack does not shrink
+{
+ public :
+ T **sdata;
+ long son;
+
+ grow_stack(int max_size) { sdata=(T **)jmalloc(max_size,"pointer stack"); son=0; }
+ void push(T *data)
+ {
+ sdata[son]=data;
+ son++;
+ }
+
+ T *pop(long total)
+ { if (total>son) { lbreak("stack underflow\n"); exit(0); }
+ son-=total;
+ return sdata[son];
+ }
+ void clean_up()
+ {
+ if (son!=0) fprintf(stderr,"Warning cleaning up stack and not empty\n");
+ jfree(sdata);
+ sdata=NULL; son=0;
+ }
+} ;
+
+#endif
diff --git a/abuse/inc/text_gui.hpp b/abuse/inc/text_gui.hpp
new file mode 100644
index 0000000..06e2fa1
--- /dev/null
+++ b/abuse/inc/text_gui.hpp
@@ -0,0 +1,19 @@
+int change_dir(char *path);
+long K_avail(char *path);
+void set_cursor(int x, int y);
+void put_char(int x, int y, int val, int color=0x17);
+unsigned short get_char(int x, int y, int val);
+void put_string(int x,int y,char *s, int c);
+void bar(int x1, int y1, int x2, int y2, int v, int c);
+void cls();
+void box(int x1, int y1, int x2, int y2, int c);
+void put_title(char *t);
+int nice_copy(char *title, char *source, char *dest);
+void *nice_input(char *t, char *p, char *d);
+void *nice_menu(void *main_title, void *menu_title, void *list);
+void center_tbox(void *list, int c);
+void *show_yes_no(void *t, void *msg, void *y, void *n);
+void modify_install_path(char *path);
+
+
+
diff --git a/abuse/inc/tiles.hpp b/abuse/inc/tiles.hpp
new file mode 100644
index 0000000..303829d
--- /dev/null
+++ b/abuse/inc/tiles.hpp
@@ -0,0 +1,70 @@
+class tile
+{
+ uchar *im_data;
+ uchar *run_data;
+ boundary *points;
+ ushort next;
+ public :
+ tile(bFILE *fp, int type);
+} ;
+
+
+tile::tile(bFILE *fp, int type, int w, int h)
+{
+ int cw=fp->read_short(),ch=fp->read_short();
+ if (cw!=w || ch!=h)
+ {
+ lbreak("load_tiles : expecting tile size to be %dx%d, got %dx%d\n",w,h,cw,ch);
+ exit(0);
+ }
+
+ im_data=(uchar *)jmalloc(w*h,"tile image");
+ fp->read(im_data,w*h);
+
+ if (type==SPEC_FORETILE)
+ {
+ next=fp->read_short(); // next
+ fp->read_byte(); // skip damage, not implemented
+ points=new boundary(fp,"tile boundary");
+ uchar *c=im_data;
+ int need_runs=0;
+
+ if (need_runs)
+ run_data=make_runs(im_data,w,h);
+ } else run_data=NULL;
+ } else { points=NULL; run_data=NULL; }
+}
+
+class tile_set
+{
+ public :
+ int w,h,t;
+ int *id;
+ tile_set *next;
+ tile_set(int width, int height);
+ void add(int tile_id, int tile_number);
+} ;
+
+
+tile_set::tile_set(int width, int height, tile_set *Next)
+{
+ w=width;
+ h=height;
+ t=0;
+ next=Next;
+ id=NULL;
+}
+
+
+void tile_set::add(int tile_id, int tile_number)
+{
+ if (tile_number>=t)
+ {
+ id=(int *)jrealloc(id,sizeof(int)*tile_number,"tile set list");
+ t=tile_number;
+ }
+ id[tile_number]=tile_id;
+}
+
+
+
diff --git a/abuse/inc/transp.hpp b/abuse/inc/transp.hpp
new file mode 100644
index 0000000..7e054e9
--- /dev/null
+++ b/abuse/inc/transp.hpp
@@ -0,0 +1,7 @@
+#ifndef __TRANSP_HPP_
+#define __TRANSP_HPP_
+#include "image.hpp"
+#include "macs.hpp"
+void transp_put(image *im, image *screen, uchar *table, int x, int y);
+
+#endif
diff --git a/abuse/inc/view.hpp b/abuse/inc/view.hpp
new file mode 100644
index 0000000..643216c
--- /dev/null
+++ b/abuse/inc/view.hpp
@@ -0,0 +1,129 @@
+#ifndef _VIEW_HPP_
+#define _VIEW_HPP_
+
+#include "light.hpp"
+#include "jwindow.hpp"
+
+
+class object_node;
+class game_object;
+class area_controller;
+
+struct suggest_struct
+{
+ long cx1,cy1,cx2,cy2,shift_down,shift_right,pan_x,pan_y;
+ long new_weapon;
+ uchar send_view,send_weapon_change;
+} ;
+
+
+class view;
+
+
+class view
+{
+ uchar keymap[512/8];
+ char chat_buf[60];
+ public :
+ int key_down(int key) { return keymap[key/8]&(1<<(key%8)); }
+ void set_key_down(int key, int x) { if (x) keymap[key/8]|=(1<<(key%8)); else keymap[key/8]&=~(1<<(key%8)); }
+ void reset_keymap() { memset(keymap,0,sizeof(keymap)); }
+ void add_chat_key(int key);
+
+ char name[100];
+ struct suggest_struct suggest;
+ long cx1,cy1,cx2,cy2, // view area to show
+ shift_down,shift_right; // shift of view
+
+ int god; // :) if you believe in such things
+ int player_number;
+
+ int draw_solid; // -1 if don't draw solid
+
+ long *weapons; // [0..total_weapons-1]
+ long *last_weapons; // last history of above array (for updating statbar)
+ long current_weapon;
+
+
+ game_object *focus; // object we are focusing on (player)
+ int x_suggestion, // input from the player at the current time
+ y_suggestion,
+ b1_suggestion,
+ b2_suggestion,
+ b3_suggestion,
+ b4_suggestion,
+ pointer_x,
+ pointer_y,
+ freeze_time;
+
+
+ short ambient; // ambient lighting setting, used by draw
+ long pan_x,pan_y,no_xleft,no_xright,no_ytop,no_ybottom,
+ last_x,last_y,last_last_x,last_last_y,view_percent;
+
+ long last_left,last_right,last_up,last_down, // how many frames ago were these pressed (<=0)
+ last_b1,last_b2,last_b3,last_b4,last_hp,last_ammo,last_type;
+ long secrets,kills,tsecrets,tkills;
+
+ view(game_object *Focus, view *Next, int number);
+ void draw_character_damage(); // draws the characters 'status' on the viewer
+
+ long x_center(); // center of attention
+ long y_center();
+ long xoff(); // top left and right corner of the screen
+ long interpolated_xoff();
+ long yoff();
+ long interpolated_yoff();
+ int drawable(); // network viewables are not drawable
+ int local_player(); // just in case I ever need non-viewable local players.
+
+ view *next; // next viewable player (singly linked list)
+ void get_input();
+ int process_input(char cmd, uchar *&pk);
+
+ void add_ammo (int weapon_type, int total);
+ int has_weapon (int weapon_type) { return god || (weapons[weapon_type]!=-1); }
+ void give_weapon(int weapontype);
+ int weapon_total(int weapon_type);
+
+ void note_upkey();
+ void note_downkey();
+ int handle_event(event &ev);
+ void update_scroll();
+ void draw_hp();
+ void draw_ammo();
+ void draw_logo();
+ void resize_view(long Cx1, long Cy1, long Cx2, long Cy2);
+ void set_input(int cx, int cy, int b1, int b2, int b3, int b4, int px, int py);
+ int view_changed() { return suggest.send_view; }
+ int weapon_changed() { return suggest.send_weapon_change; }
+
+ void next_weapon();
+ void last_weapon();
+
+ void reset_player();
+ int receive_failed() { return focus==NULL; }
+ long get_view_var_value(int num);
+ long set_view_var_value(int num, long x);
+ void configure_for_area(area_controller *a);
+ ~view();
+} ;
+
+extern view *player_list;
+void set_local_players(int total);
+int total_local_players();
+void recalc_local_view_space();
+
+void process_packet_commands(uchar *pk, int size);
+
+object_node *make_player_onodes(int player_num=-1);
+int total_view_vars();
+char *get_view_var_name(int num);
+ushort make_sync();
+
+#endif
+
+
+
+
+
diff --git a/abuse/install.lnk b/abuse/install.lnk
new file mode 100644
index 0000000..96bef56
--- /dev/null
+++ b/abuse/install.lnk
@@ -0,0 +1,6 @@
+system dos4gw
+option caseexact
+name install.exe
+option stack=100k
+option eliminate
+file install.obj
diff --git a/abuse/install.lsp b/abuse/install.lsp
new file mode 100644
index 0000000..521616a
--- /dev/null
+++ b/abuse/install.lsp
@@ -0,0 +1,306 @@
+
+;; If you aren't sure what to translate, give me call
+;; Billy is doing pig-lating :)
+
+(perm-space)
+
+(select platform
+ ('SGI (let ((cwd (get_cwd)))
+ (chdir (getenv "HOME"))
+ (system "ls")
+ (print (concatenate 'string "tar -xvf " cwd "/linux/abuse.tar"))
+ (system (concatenate 'string "cd ~/ ; tar -xvf " cwd "/linux/abuse.tar"))
+ (print "Type cd ~/abuse ; abuse <ENTER> to begin")
+ (quit)))
+ ('LINUX (let ((cwd (get_cwd)))
+ (chdir (getenv "HOME"))
+ (system "ls")
+ (print (concatenate 'string "tar -xvf " cwd "/linux/abuse.tar"))
+ (system (concatenate 'string "cd ~/ ; tar -xvf " cwd "/linux/abuse.tar"))
+ (print "Type cd ~/abuse ; abuse <ENTER> to begin")
+ (quit))))
+
+
+
+(do ((ok nil nil))
+ ((eq ok T) nil)
+ (select (nice_menu "Abuse" "Select language" '("English" "Fran‡ais" "Deutsch")) ; "Pig Latin"))
+ (-1 (quit)) ;; can't ask to quit, because we don't know the language yet
+ (0 (setq lang 'english)
+ (setq title "Abuse Installation")
+ (setq path-prompt "Enter path to install to")
+ (setq bad-path '("You entered a bad path name"
+ "Press any key to re-enter, ESC to quit"))
+ (setq quit-title "Quit?")
+ (setq yes-key "Y")
+ (setq no-key "N")
+ (setq quit-msg "Do you you want to quit? (Y/N)")
+ (setq make-dir? '("Directory does not exsist."
+ "Do you want to create it? (Y/N)"))
+ (setq mkdir-failed "Unable to create directory, retry? (Y/N)")
+ (setq nospace-dos '("Not enough disk space available for this drive"
+ "You need at least 10.5MB free"
+ "Would you like to try another drive? (Y/N)"))
+ (setq next-disk '("Insert this disk into disk drive and press SPACE BAR"
+ "to continue. Press ESC to quit."))
+ (setq copy-title "Copying files")
+ (setq start-msg "Type abuse <ENTER> to begin")
+ (setq path_not_valid '("The pathname you entered is not valid, continue? (Y/N)"))
+ (setq ok T)
+ )
+
+
+ (1 (setq lang 'french)
+ (setq title "Installation d'Abuse")
+ (setq path-prompt "Entrez le chemin sur lequel installer")
+ (setq bad-path '("Le nom du chemin est incorrect"
+ "Appuyez sur une touche pour entrer a nouveau, sur ECHAP pour sortir"))
+ (setq quit-title "Sortir ?")
+ (setq yes-key "O")
+ (setq no-key "N")
+ (setq quit-msg "Voulez-vous sortir ? (O/N)")
+ (setq make-dir? '("Ce r‚pertoire n'existe pas."
+ "Voulez-vous le cr‚er ? (O/N)"))
+ (setq mkdir-failed "Impossible de cr‚er le r‚pertoire, voulez-vous r‚essayer ? (O/N)")
+ (setq nospace-dos '("Espace disque dur insuffisant pour ce lecteur"
+ "Vous devez avoir au moins 10,5 Mo disponibles"
+ "Voulez-vous essayer sur un autre lecteur ? (O/N)"))
+ (setq next-disk '("Ins‚rez la disquette dans le lecteur et appuyez sur la BARRE D'ESPACE"
+ "pour continuer. Appuyez sur ECHAP pour sortir."))
+ (setq copy-title "En train de copier les fichiers")
+ (setq start-msg "Tapez abuse <ENTREE> pour commencer")
+ (setq path_not_valid '("Le nom du chemin est incorrect, voulez-vous continuer ? (O/N)"))
+ (setq ok T)
+ )
+
+ (2 (setq lang 'german)
+ (setq title "Abuse Installation")
+ (setq path-prompt "Geben Sie den Installations-Pfadnamen ein")
+ (setq bad-path '("Pfadname ungltig"
+ "Beliebige Taste zur erneuten Eingabe drcken, ESC, um abzubrechen"))
+ (setq quit-title "Abbrechen?")
+ (setq yes-key "J")
+ (setq no-key "N")
+ (setq quit-msg "Wollen Sie abbrechen? (J/N)")
+ (setq make-dir? '("Verzeichnis existiert nicht."
+ "Wollen Sie das Verzeichnis anlegen? (J/N)"))
+ (setq mkdir-failed "Verzeichnis kann nicht angelegt werden, erneut versuchen? (J/N)")
+ (setq nospace-dos '("Nicht genug Festplattenspeicher fr dieses Laufwerk."
+ "Sie ben”tigen mindestens 10,5 MB."
+ "M”chten Sie es auf einem anderen Laufwerk versuchen?(J/N)"))
+ (setq next-disk '("Legen Sie die Diskette in das Laufwerk ein, und drcken Sie die LEERTASTE,"
+ "um weiterzumachen oder ESC, um abzubrechen."))
+ (setq copy-title "Dateien kopieren")
+ (setq start-msg "Tippen Sie abuse <EINGABE>, um mit dem Spiel zu beginnen.")
+ (setq path_not_valid '("Ungltiger Pfadname, fortfahren? (J/N)"))
+ (setq ok T)
+ )
+
+ (3 (setq lang 'pig_latin
+ (setq title "Abuse Installation")
+ (setq path-prompt "Enter path to install to")
+ (setq bad-path '("You entered a bad path name"
+ "Press any key to re-enter, ESC to quit"))
+ (setq quit-title "Quit?")
+ (setq yes-key "Y")
+ (setq no-key "N")
+ (setq quit-msg "Do you want to quit? (Y/N)")
+ (setq make-dir? '("Directory does not exsist."
+ "Do you want to create it? (Y/N)"))
+ (setq mkdir-failed "Unable to create directory, retry? (Y/N)")
+ (setq nospace-dos '("Not enough disk space available for this drive"
+ "You need at least 10.5MB free"
+ "Would you like to try another drive? (Y/N)"))
+ (setq next-disk '("Insert this disk into disk drive and press SPACE BAR"
+ "to continue. Press ESC to quit."))
+ (setq copy-title "Copying files")
+ (setq start-msg "Type abuse <ENTER> to begin")
+ (setq path_not_valid '("The pathname you entered is not valid, continue? (Y/N)"))
+ (setq ok T)
+ )
+
+ )))
+
+
+(defun quit-install ()
+ (if (show_yes_no quit-title quit-msg yes-key no-key)
+ (quit)))
+
+(defun slash ()
+ (select platform
+ ('WATCOM "\\")
+ ('UNIX "/")))
+
+
+(defun append-slash (path)
+ (if (equal (schar path (- (length path) 1)) (schar (slash) 0))
+ path
+ (concatenate 'string path (slash))))
+
+(defun hack-string (x1 x2 st)
+ (if (<= x1 x2)
+ (cons (schar st x1) (hack-string (+ x1 1) x2 st))
+ nil))
+
+(defun remove-slash (path)
+ (if (equal (schar path (- (length path) 1)) (schar (slash) 0))
+ (concatenate 'string (hack-string 0 (- (length path) 2) path))
+ path))
+
+
+(defun copy-file (disk-name path)
+ (do ((ok nil nil))
+ ((eq ok T) nil)
+ (if (file_exsist (concatenate 'string disk-name ".dat"))
+ (if (nice_copy copy-title (concatenate 'string disk-name ".dat")
+ (concatenate 'string path disk-name ".exe"))
+ (setq ok T))
+
+ (if (not (show_yes_no title (cons disk-name next-disk) " " ESC_string))
+ (quit))))
+ T)
+
+
+(defun install (path)
+ (select platform
+ ('WATCOM
+ (if (< (K_avail path) 10500) ; need ~8MB for game and and ~2.5MB extra for install
+ (if (show_yes_no title (cons install-path nospace-dos) yes-key no-key)
+ nil
+ (quit))
+ (if (and (copy-file "disk1" path)
+ (copy-file "disk2" path)
+ (copy-file "disk3" path))
+ (progn
+ (go_there path)
+ (system "disk1.exe")
+ (system "del disk1.exe")
+ (system "disk2.exe")
+ (system "del disk2.exe")
+ (system "disk3.exe")
+ (system "del disk3.exe")
+ T)
+ nil)))
+ ('UNIX
+ (print (K_avail path))
+ (if (< (K_avail path) 8500)
+ (if (show_yes_no title (cons install-path nospace-unix) yes-key no-key)
+ nil
+ (quit))
+ (let ((cur-dir (get_cwd)))
+ (system (concatenate 'string "cd " path))
+ (system (concatenate 'string "tar -xvf " cur-dir " abuse.tar"))
+ T)))))
+
+
+
+
+(defun lstring (x st)
+ (if (< x (length st))
+ (progn (print (schar st x))
+ (lstring (+ x 1) st))))
+
+(defun go_there (path)
+ (select platform
+ ('WATCOM
+ (if (and (< 2 (length path)) (eq (schar path 1) #\:))
+ (system (concatenate 'string (list (schar path 0) #\:))))
+ (chdir (remove-slash path)))
+ ('UNIX (chdir path))))
+
+(defun ok_pathchar (char pos)
+ (or (and (>= (char-code char) (char-code #\a))
+ (<= (char-code char) (char-code #\z)))
+ (and (>= (char-code char) (char-code #\A))
+ (<= (char-code char) (char-code #\Z)))
+ (and (>= (char-code char) (char-code #\0))
+ (<= (char-code char) (char-code #\9)))
+ (eq char #\_)
+ (eq char #\-)
+ (eq char #\~)
+ (eq char #\!)
+ (eq char #\\)
+ (and (eq char #\:) (eq pos 1))
+ (eq char #\/)))
+
+
+(defun check_path_char (name x y)
+ (or (> x y)
+ (and (ok_pathchar (schar name x) x)
+ (check_path_char name (+ x 1) y))))
+
+(defun ok_pathname (name)
+ (if (and (check_path_char name 0 (- (length name) 1))
+ (not (search "\\\\" name)))
+ T
+ nil))
+
+
+
+(defun mkdir (path)
+ (select platform
+ ('WATCOM (make_dir path))
+ ('UNIX
+ (print (remove-slash path))
+ (make_dir path))))
+
+
+
+ (do ((ok nil nil))
+ ((eq ok T) nil)
+
+ (let ((install-path (nice_input title path-prompt
+ (select platform
+ ('WATCOM "c:\\abuse")
+ ('UNIX "~/abuse")))))
+ (if (not install-path) (quit-install)
+ (if (not (ok_pathname install-path))
+ (if (not (show_yes_no title path_not_valid yes-key no-key))
+ (quit))
+ (let ((install-path (modify_install_path (append-slash install-path))))
+ (if (or (dir_exsist (remove-slash install-path))
+ (and (show_yes_no title (cons install-path make-dir?) yes-key no-key)
+ (if (mkdir install-path)
+ T
+ (if (show_yes_no title (list install-path mkdir-failed) yes-key no-key)
+ nil
+ (quit)))))
+ (if (install install-path)
+ (progn
+ (go_there install-path)
+ (setq ok T)))))))))
+
+
+(select lang
+ ('french (progn
+ (open_file "lisp/english.lsp" "wb" (print `(load ,(concatenate 'string '(#\") "lisp/french.lsp" '(#\") ))))
+ (system "del setup.exe")
+ (system "del setup.ini")
+ (system "rename fren_set.exe setup.exe")
+ (system "rename fsetup.ini setup.ini")
+ (system "del germ_set.exe")
+ (system "del gsetup.ini")
+ ))
+ ('german (progn
+ (open_file "lisp/english.lsp" "wb" (print `(load ,(concatenate 'string '(#\") "lisp/german.lsp" '(#\") ))))
+ (system "del setup.exe")
+ (system "del setup.ini")
+ (system "rename germ_set.exe setup.exe")
+ (system "rename gsetup.ini setup.ini")
+ (system "del fren_set.exe")
+ (system "del fsetup.ini")
+ ))
+ ('english (progn
+ (system "del gsetup.ini")
+ (system "del fsetup.ini")
+ (system "del fren_set.exe")
+ (system "del germ_set.exe"))))
+
+
+
+(print start-msg)
+
+
+
+
+
diff --git a/abuse/lastsave.lsp b/abuse/lastsave.lsp
new file mode 100644
index 0000000..21a19c2
--- /dev/null
+++ b/abuse/lastsave.lsp
@@ -0,0 +1 @@
+(setq last_save_game 3)
diff --git a/abuse/light.tbl b/abuse/light.tbl
new file mode 100644
index 0000000..2b01dc4
--- /dev/null
+++ b/abuse/light.tbl
Binary files differ
diff --git a/abuse/listall b/abuse/listall
new file mode 100644
index 0000000..c925e84
--- /dev/null
+++ b/abuse/listall
@@ -0,0 +1,6 @@
+#!/bin/bash -f
+
+for i in register netlevel art addon levels sfx lisp ; do
+ find $i -type f -print
+done
+
diff --git a/abuse/makefile.dav b/abuse/makefile.dav
new file mode 100644
index 0000000..8ef009e
--- /dev/null
+++ b/abuse/makefile.dav
@@ -0,0 +1,4346 @@
+all : opt
+
+debug : game.exe
+ echo Made debug
+
+opt : gameo.exe
+ echo Made opt
+
+WATCOM_game_debug_o_files = &
+ src\net\dos4gw\wat\debug\ipx.obj &
+ src\wat\debug\text_gui.obj &
+ src\wat\debug\innet.obj &
+ src\net\unix\wat\debug\gserver.obj &
+ src\net\unix\wat\debug\gclient.obj &
+ src\net\unix\wat\debug\fileman.obj &
+ src\net\wat\debug\sock.obj &
+ src\wat\debug\chat.obj &
+ src\wat\debug\endgame.obj &
+ src\wat\debug\setup.obj &
+ src\wat\debug\version.obj &
+ src\wat\debug\loadgame.obj &
+ src\wat\debug\profile.obj &
+ src\wat\debug\cop.obj &
+ src\wat\debug\statbar.obj &
+ src\wat\debug\compiled.obj &
+ src\wat\debug\ant.obj &
+ src\wat\debug\sensor.obj &
+ src\wat\debug\lisp_opt.obj &
+ src\wat\debug\demo.obj &
+ src\wat\debug\lcache.obj &
+ src\wat\debug\lisp_gc.obj &
+ src\wat\debug\nfclient.obj &
+ src\wat\debug\username.obj &
+ src\wat\debug\clisp.obj &
+ src\wat\debug\gui.obj &
+ src\wat\debug\transp.obj &
+ src\wat\debug\collide.obj &
+ src\wat\debug\trig.obj &
+ src\wat\debug\property.obj &
+ src\wat\debug\lisp.obj &
+ src\wat\debug\cache.obj &
+ src\wat\debug\particle.obj &
+ src\wat\debug\objects.obj &
+ src\wat\debug\extend.obj &
+ src\wat\debug\console.obj &
+ src\wat\debug\ability.obj &
+ src\wat\debug\items.obj &
+ src\wat\debug\dev.obj &
+ src\wat\debug\chars.obj &
+ src\wat\debug\level.obj &
+ src\wat\debug\smallfnt.obj &
+ src\wat\debug\automap.obj &
+ src\wat\debug\help.obj &
+ src\wat\debug\intsect.obj &
+ src\wat\debug\loader.obj &
+ src\wat\debug\seq.obj &
+ src\wat\debug\points.obj &
+ src\wat\debug\fnt6x13.obj &
+ src\wat\debug\morpher.obj &
+ src\wat\debug\menu.obj &
+ src\wat\debug\director.obj &
+ src\wat\debug\view.obj &
+ src\wat\debug\config.obj &
+ src\wat\debug\game.obj &
+ src\wat\debug\light.obj &
+ src\wat\debug\devsel.obj &
+ src\wat\debug\crc.obj &
+ src\wat\debug\gamma.obj &
+ src\wat\debug\language.obj
+
+game.exe : $(WATCOM_game_debug_o_files)
+ wlink @game.lnk
+
+src\net\dos4gw\wat\debug\ipx.obj : src\net\dos4gw\ipx.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\net\dos4gw\ipx.c -fo=src\net\dos4gw\wat\debug\ipx.obj /zq /d2 -DMANAGE_MEM
+
+src\net\dos4gw\wat\debug\ipx.obj : ../imlib/include\jmalloc.hpp
+src\net\dos4gw\wat\debug\ipx.obj : ../imlib/include\doscall.hpp
+src\net\dos4gw\wat\debug\ipx.obj : ../imlib/include\timing.hpp
+src\net\dos4gw\wat\debug\ipx.obj : ../imlib/include\system.h
+src\net\dos4gw\wat\debug\ipx.obj : ../imlib/include\macs.hpp
+src\net\dos4gw\wat\debug\ipx.obj : src/net/inc\sock.hpp
+src\net\dos4gw\wat\debug\ipx.obj : src/net/inc\ipx.hpp
+src\wat\debug\text_gui.obj : src\text_gui.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\text_gui.c -fo=src\wat\debug\text_gui.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\text_gui.obj : inc\fakelib.hpp
+src\wat\debug\text_gui.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\text_gui.obj : inc\stack.hpp
+src\wat\debug\text_gui.obj : inc\lisp_gc.hpp
+src\wat\debug\text_gui.obj : ../imlib/include\timing.hpp
+src\wat\debug\text_gui.obj : inc\lisp_opt.hpp
+src\wat\debug\text_gui.obj : inc\lisp.hpp
+src\wat\debug\innet.obj : src\innet.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\innet.c -fo=src\wat\debug\innet.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\innet.obj : src/net/unix\gclient.hpp
+src\wat\debug\innet.obj : src/net/unix\ghandler.hpp
+src\wat\debug\innet.obj : src/net/unix\gserver.hpp
+src\wat\debug\innet.obj : src/net/inc\indian.hpp
+src\wat\debug\innet.obj : inc\netface.hpp
+src\wat\debug\innet.obj : src/net/inc\sock.hpp
+src\wat\debug\innet.obj : src/net/unix\fileman.hpp
+src\wat\debug\innet.obj : inc\director.hpp
+src\wat\debug\innet.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\innet.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\innet.obj : inc\game.hpp
+src\wat\debug\innet.obj : inc\id.hpp
+src\wat\debug\innet.obj : inc\extend.hpp
+src\wat\debug\innet.obj : inc\crc.hpp
+src\wat\debug\innet.obj : inc\light.hpp
+src\wat\debug\innet.obj : inc\view.hpp
+src\wat\debug\innet.obj : inc\loader.hpp
+src\wat\debug\innet.obj : inc\config.hpp
+src\wat\debug\innet.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\innet.obj : inc\morpher.hpp
+src\wat\debug\innet.obj : inc\ability.hpp
+src\wat\debug\innet.obj : ../imlib/include\timing.hpp
+src\wat\debug\innet.obj : inc\lisp_opt.hpp
+src\wat\debug\innet.obj : inc\lisp.hpp
+src\wat\debug\innet.obj : inc\particle.hpp
+src\wat\debug\innet.obj : ../imlib/include\sound.hpp
+src\wat\debug\innet.obj : inc\cache.hpp
+src\wat\debug\innet.obj : inc\points.hpp
+src\wat\debug\innet.obj : inc\items.hpp
+src\wat\debug\innet.obj : inc\seq.hpp
+src\wat\debug\innet.obj : inc\chars.hpp
+src\wat\debug\innet.obj : ../imlib/include\timage.hpp
+src\wat\debug\innet.obj : ../imlib/include\fonts.hpp
+src\wat\debug\innet.obj : ../imlib/include\filter.hpp
+src\wat\debug\innet.obj : ../imlib/include\mouse.hpp
+src\wat\debug\innet.obj : ../imlib/include\sprite.hpp
+src\wat\debug\innet.obj : ../imlib/include\keys.hpp
+src\wat\debug\innet.obj : ../imlib/include\event.hpp
+src\wat\debug\innet.obj : ../imlib/include\palette.hpp
+src\wat\debug\innet.obj : ../imlib/include\image.hpp
+src\wat\debug\innet.obj : ../imlib/include\video.hpp
+src\wat\debug\innet.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\innet.obj : ../imlib/include\input.hpp
+src\wat\debug\innet.obj : inc\objects.hpp
+src\wat\debug\innet.obj : inc\level.hpp
+src\wat\debug\innet.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\innet.obj : ../imlib/include\linked.hpp
+src\wat\debug\innet.obj : ../imlib/include\specs.hpp
+src\wat\debug\innet.obj : ../imlib/include\system.h
+src\wat\debug\innet.obj : ../imlib/include\macs.hpp
+src\net\unix\wat\debug\gserver.obj : src\net\unix\gserver.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\net\unix\gserver.c -fo=src\net\unix\wat\debug\gserver.obj /zq /d2 -DMANAGE_MEM
+
+src\net\unix\wat\debug\gserver.obj : ../imlib/include\timing.hpp
+src\net\unix\wat\debug\gserver.obj : src/net/inc\indian.hpp
+src\net\unix\wat\debug\gserver.obj : inc\netface.hpp
+src\net\unix\wat\debug\gserver.obj : src/net/unix\ghandler.hpp
+src\net\unix\wat\debug\gserver.obj : src/net/inc\sock.hpp
+src\net\unix\wat\debug\gserver.obj : src/net/unix\gserver.hpp
+src\net\unix\wat\debug\gserver.obj : ../imlib/include\macs.hpp
+src\net\unix\wat\debug\gserver.obj : ../imlib/include\system.h
+src\net\unix\wat\debug\gclient.obj : src\net\unix\gclient.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\net\unix\gclient.c -fo=src\net\unix\wat\debug\gclient.obj /zq /d2 -DMANAGE_MEM
+
+src\net\unix\wat\debug\gclient.obj : ../imlib/include\timing.hpp
+src\net\unix\wat\debug\gclient.obj : src/net/unix\undrv.hpp
+src\net\unix\wat\debug\gclient.obj : src/net/inc\indian.hpp
+src\net\unix\wat\debug\gclient.obj : inc\netface.hpp
+src\net\unix\wat\debug\gclient.obj : src/net/unix\ghandler.hpp
+src\net\unix\wat\debug\gclient.obj : src/net/inc\sock.hpp
+src\net\unix\wat\debug\gclient.obj : src/net/unix\gclient.hpp
+src\net\unix\wat\debug\fileman.obj : src\net\unix\fileman.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\net\unix\fileman.c -fo=src\net\unix\wat\debug\fileman.obj /zq /d2 -DMANAGE_MEM
+
+src\net\unix\wat\debug\fileman.obj : src/net/unix\ghandler.hpp
+src\net\unix\wat\debug\fileman.obj : src/net/inc\indian.hpp
+src\net\unix\wat\debug\fileman.obj : inc\netface.hpp
+src\net\unix\wat\debug\fileman.obj : src/net/inc\sock.hpp
+src\net\unix\wat\debug\fileman.obj : src/net/unix\fileman.hpp
+src\net\unix\wat\debug\fileman.obj : ../imlib/include\system.h
+src\net\unix\wat\debug\fileman.obj : ../imlib/include\macs.hpp
+src\net\wat\debug\sock.obj : src\net\sock.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\net\sock.c -fo=src\net\wat\debug\sock.obj /zq /d2 -DMANAGE_MEM
+
+src\net\wat\debug\sock.obj : src/net/inc\sock.hpp
+src\wat\debug\chat.obj : src\chat.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\chat.c -fo=src\wat\debug\chat.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\chat.obj : ../imlib/include\timage.hpp
+src\wat\debug\chat.obj : ../imlib/include\fonts.hpp
+src\wat\debug\chat.obj : ../imlib/include\filter.hpp
+src\wat\debug\chat.obj : ../imlib/include\mouse.hpp
+src\wat\debug\chat.obj : ../imlib/include\macs.hpp
+src\wat\debug\chat.obj : ../imlib/include\sprite.hpp
+src\wat\debug\chat.obj : ../imlib/include\keys.hpp
+src\wat\debug\chat.obj : ../imlib/include\event.hpp
+src\wat\debug\chat.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\chat.obj : ../imlib/include\specs.hpp
+src\wat\debug\chat.obj : ../imlib/include\palette.hpp
+src\wat\debug\chat.obj : ../imlib/include\linked.hpp
+src\wat\debug\chat.obj : ../imlib/include\image.hpp
+src\wat\debug\chat.obj : ../imlib/include\system.h
+src\wat\debug\chat.obj : ../imlib/include\video.hpp
+src\wat\debug\chat.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\chat.obj : inc\console.hpp
+src\wat\debug\chat.obj : inc\chat.hpp
+src\wat\debug\endgame.obj : src\endgame.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\endgame.c -fo=src\wat\debug\endgame.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\endgame.obj : inc\fakelib.hpp
+src\wat\debug\endgame.obj : inc\stack.hpp
+src\wat\debug\endgame.obj : inc\lisp_gc.hpp
+src\wat\debug\endgame.obj : ../imlib/include\jrand.hpp
+src\wat\debug\endgame.obj : ../imlib/include\dprint.hpp
+src\wat\debug\endgame.obj : inc\clisp.hpp
+src\wat\debug\endgame.obj : inc\console.hpp
+src\wat\debug\endgame.obj : inc\dev.hpp
+src\wat\debug\endgame.obj : inc\property.hpp
+src\wat\debug\endgame.obj : inc\gui.hpp
+src\wat\debug\endgame.obj : ../imlib/include\pmenu.hpp
+src\wat\debug\endgame.obj : inc\director.hpp
+src\wat\debug\endgame.obj : inc\id.hpp
+src\wat\debug\endgame.obj : inc\extend.hpp
+src\wat\debug\endgame.obj : inc\crc.hpp
+src\wat\debug\endgame.obj : inc\light.hpp
+src\wat\debug\endgame.obj : inc\view.hpp
+src\wat\debug\endgame.obj : inc\config.hpp
+src\wat\debug\endgame.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\endgame.obj : inc\morpher.hpp
+src\wat\debug\endgame.obj : inc\ability.hpp
+src\wat\debug\endgame.obj : inc\particle.hpp
+src\wat\debug\endgame.obj : inc\cache.hpp
+src\wat\debug\endgame.obj : inc\seq.hpp
+src\wat\debug\endgame.obj : inc\chars.hpp
+src\wat\debug\endgame.obj : ../imlib/include\input.hpp
+src\wat\debug\endgame.obj : inc\objects.hpp
+src\wat\debug\endgame.obj : inc\level.hpp
+src\wat\debug\endgame.obj : inc\points.hpp
+src\wat\debug\endgame.obj : inc\items.hpp
+src\wat\debug\endgame.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\endgame.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\endgame.obj : inc\game.hpp
+src\wat\debug\endgame.obj : ../imlib/include\sound.hpp
+src\wat\debug\endgame.obj : ../imlib/include\mouse.hpp
+src\wat\debug\endgame.obj : ../imlib/include\sprite.hpp
+src\wat\debug\endgame.obj : ../imlib/include\keys.hpp
+src\wat\debug\endgame.obj : ../imlib/include\event.hpp
+src\wat\debug\endgame.obj : ../imlib/include\video.hpp
+src\wat\debug\endgame.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\endgame.obj : inc\loader.hpp
+src\wat\debug\endgame.obj : ../imlib/include\timing.hpp
+src\wat\debug\endgame.obj : inc\lisp_opt.hpp
+src\wat\debug\endgame.obj : inc\lisp.hpp
+src\wat\debug\endgame.obj : ../imlib/include\filter.hpp
+src\wat\debug\endgame.obj : ../imlib/include\macs.hpp
+src\wat\debug\endgame.obj : ../imlib/include\timage.hpp
+src\wat\debug\endgame.obj : ../imlib/include\system.h
+src\wat\debug\endgame.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\endgame.obj : ../imlib/include\specs.hpp
+src\wat\debug\endgame.obj : ../imlib/include\palette.hpp
+src\wat\debug\endgame.obj : ../imlib/include\linked.hpp
+src\wat\debug\endgame.obj : ../imlib/include\image.hpp
+src\wat\debug\endgame.obj : ../imlib/include\fonts.hpp
+src\wat\debug\endgame.obj : inc\menu.hpp
+src\wat\debug\setup.obj : src\setup.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\setup.c -fo=src\wat\debug\setup.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\setup.obj : inc\particle.hpp
+src\wat\debug\setup.obj : inc\points.hpp
+src\wat\debug\setup.obj : inc\items.hpp
+src\wat\debug\setup.obj : inc\cache.hpp
+src\wat\debug\setup.obj : ../imlib/include\dprint.hpp
+src\wat\debug\setup.obj : inc\fakelib.hpp
+src\wat\debug\setup.obj : inc\stack.hpp
+src\wat\debug\setup.obj : inc\lisp_gc.hpp
+src\wat\debug\setup.obj : inc\lisp_opt.hpp
+src\wat\debug\setup.obj : inc\lisp.hpp
+src\wat\debug\setup.obj : ../imlib/include\scroller.hpp
+src\wat\debug\setup.obj : ../imlib/include\input.hpp
+src\wat\debug\setup.obj : ../imlib/include\timing.hpp
+src\wat\debug\setup.obj : ../imlib/include\visobj.hpp
+src\wat\debug\setup.obj : ../imlib/include\status.hpp
+src\wat\debug\setup.obj : ../imlib/include\guistat.hpp
+src\wat\debug\setup.obj : ../imlib/include\sound.hpp
+src\wat\debug\setup.obj : ../imlib/include\timage.hpp
+src\wat\debug\setup.obj : ../imlib/include\fonts.hpp
+src\wat\debug\setup.obj : ../imlib/include\filter.hpp
+src\wat\debug\setup.obj : ../imlib/include\mouse.hpp
+src\wat\debug\setup.obj : ../imlib/include\macs.hpp
+src\wat\debug\setup.obj : ../imlib/include\sprite.hpp
+src\wat\debug\setup.obj : ../imlib/include\keys.hpp
+src\wat\debug\setup.obj : ../imlib/include\event.hpp
+src\wat\debug\setup.obj : ../imlib/include\palette.hpp
+src\wat\debug\setup.obj : ../imlib/include\image.hpp
+src\wat\debug\setup.obj : ../imlib/include\video.hpp
+src\wat\debug\setup.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\setup.obj : inc\id.hpp
+src\wat\debug\setup.obj : ../imlib/include\system.h
+src\wat\debug\setup.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\setup.obj : ../imlib/include\linked.hpp
+src\wat\debug\setup.obj : ../imlib/include\specs.hpp
+src\wat\debug\version.obj : src\version.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\version.c -fo=src\wat\debug\version.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\version.obj : ../imlib/include\system.h
+src\wat\debug\version.obj : ../imlib/include\macs.hpp
+src\wat\debug\version.obj : ../imlib/include\dprint.hpp
+src\wat\debug\loadgame.obj : src\loadgame.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\loadgame.c -fo=src\wat\debug\loadgame.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\loadgame.obj : inc\director.hpp
+src\wat\debug\loadgame.obj : inc\extend.hpp
+src\wat\debug\loadgame.obj : inc\crc.hpp
+src\wat\debug\loadgame.obj : inc\light.hpp
+src\wat\debug\loadgame.obj : inc\view.hpp
+src\wat\debug\loadgame.obj : inc\config.hpp
+src\wat\debug\loadgame.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\loadgame.obj : inc\morpher.hpp
+src\wat\debug\loadgame.obj : inc\ability.hpp
+src\wat\debug\loadgame.obj : inc\seq.hpp
+src\wat\debug\loadgame.obj : inc\chars.hpp
+src\wat\debug\loadgame.obj : inc\objects.hpp
+src\wat\debug\loadgame.obj : inc\level.hpp
+src\wat\debug\loadgame.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\loadgame.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\loadgame.obj : inc\loader.hpp
+src\wat\debug\loadgame.obj : inc\game.hpp
+src\wat\debug\loadgame.obj : inc\demo.hpp
+src\wat\debug\loadgame.obj : inc\gui.hpp
+src\wat\debug\loadgame.obj : inc\particle.hpp
+src\wat\debug\loadgame.obj : ../imlib/include\sound.hpp
+src\wat\debug\loadgame.obj : inc\points.hpp
+src\wat\debug\loadgame.obj : inc\items.hpp
+src\wat\debug\loadgame.obj : inc\cache.hpp
+src\wat\debug\loadgame.obj : ../imlib/include\dprint.hpp
+src\wat\debug\loadgame.obj : ../imlib/include\timing.hpp
+src\wat\debug\loadgame.obj : inc\lisp_opt.hpp
+src\wat\debug\loadgame.obj : inc\lisp.hpp
+src\wat\debug\loadgame.obj : ../imlib/include\input.hpp
+src\wat\debug\loadgame.obj : inc\id.hpp
+src\wat\debug\loadgame.obj : ../imlib/include\timage.hpp
+src\wat\debug\loadgame.obj : ../imlib/include\fonts.hpp
+src\wat\debug\loadgame.obj : ../imlib/include\filter.hpp
+src\wat\debug\loadgame.obj : ../imlib/include\mouse.hpp
+src\wat\debug\loadgame.obj : ../imlib/include\macs.hpp
+src\wat\debug\loadgame.obj : ../imlib/include\sprite.hpp
+src\wat\debug\loadgame.obj : ../imlib/include\keys.hpp
+src\wat\debug\loadgame.obj : ../imlib/include\event.hpp
+src\wat\debug\loadgame.obj : ../imlib/include\palette.hpp
+src\wat\debug\loadgame.obj : ../imlib/include\image.hpp
+src\wat\debug\loadgame.obj : ../imlib/include\video.hpp
+src\wat\debug\loadgame.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\loadgame.obj : ../imlib/include\system.h
+src\wat\debug\loadgame.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\loadgame.obj : ../imlib/include\linked.hpp
+src\wat\debug\loadgame.obj : ../imlib/include\specs.hpp
+src\wat\debug\profile.obj : src\profile.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\profile.c -fo=src\wat\debug\profile.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\profile.obj : inc\extend.hpp
+src\wat\debug\profile.obj : inc\crc.hpp
+src\wat\debug\profile.obj : inc\light.hpp
+src\wat\debug\profile.obj : inc\view.hpp
+src\wat\debug\profile.obj : inc\loader.hpp
+src\wat\debug\profile.obj : inc\config.hpp
+src\wat\debug\profile.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\profile.obj : inc\morpher.hpp
+src\wat\debug\profile.obj : inc\ability.hpp
+src\wat\debug\profile.obj : ../imlib/include\timing.hpp
+src\wat\debug\profile.obj : inc\lisp_opt.hpp
+src\wat\debug\profile.obj : inc\lisp.hpp
+src\wat\debug\profile.obj : inc\particle.hpp
+src\wat\debug\profile.obj : ../imlib/include\sound.hpp
+src\wat\debug\profile.obj : inc\cache.hpp
+src\wat\debug\profile.obj : inc\points.hpp
+src\wat\debug\profile.obj : inc\items.hpp
+src\wat\debug\profile.obj : inc\seq.hpp
+src\wat\debug\profile.obj : inc\chars.hpp
+src\wat\debug\profile.obj : ../imlib/include\input.hpp
+src\wat\debug\profile.obj : inc\objects.hpp
+src\wat\debug\profile.obj : inc\property.hpp
+src\wat\debug\profile.obj : ../imlib/include\timage.hpp
+src\wat\debug\profile.obj : ../imlib/include\fonts.hpp
+src\wat\debug\profile.obj : ../imlib/include\filter.hpp
+src\wat\debug\profile.obj : ../imlib/include\video.hpp
+src\wat\debug\profile.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\profile.obj : ../imlib/include\mouse.hpp
+src\wat\debug\profile.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\profile.obj : ../imlib/include\specs.hpp
+src\wat\debug\profile.obj : ../imlib/include\palette.hpp
+src\wat\debug\profile.obj : ../imlib/include\linked.hpp
+src\wat\debug\profile.obj : ../imlib/include\image.hpp
+src\wat\debug\profile.obj : ../imlib/include\system.h
+src\wat\debug\profile.obj : ../imlib/include\macs.hpp
+src\wat\debug\profile.obj : ../imlib/include\sprite.hpp
+src\wat\debug\profile.obj : ../imlib/include\keys.hpp
+src\wat\debug\profile.obj : ../imlib/include\event.hpp
+src\wat\debug\profile.obj : inc\profile.hpp
+src\wat\debug\cop.obj : src\cop.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\cop.c -fo=src\wat\debug\cop.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\cop.obj : inc\ant.hpp
+src\wat\debug\cop.obj : inc\clisp.hpp
+src\wat\debug\cop.obj : ../imlib/include\jrand.hpp
+src\wat\debug\cop.obj : inc\director.hpp
+src\wat\debug\cop.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\cop.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\cop.obj : inc\game.hpp
+src\wat\debug\cop.obj : inc\id.hpp
+src\wat\debug\cop.obj : inc\level.hpp
+src\wat\debug\cop.obj : inc\extend.hpp
+src\wat\debug\cop.obj : inc\crc.hpp
+src\wat\debug\cop.obj : inc\light.hpp
+src\wat\debug\cop.obj : inc\view.hpp
+src\wat\debug\cop.obj : inc\loader.hpp
+src\wat\debug\cop.obj : inc\config.hpp
+src\wat\debug\cop.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\cop.obj : inc\morpher.hpp
+src\wat\debug\cop.obj : inc\ability.hpp
+src\wat\debug\cop.obj : inc\particle.hpp
+src\wat\debug\cop.obj : ../imlib/include\sound.hpp
+src\wat\debug\cop.obj : inc\cache.hpp
+src\wat\debug\cop.obj : inc\points.hpp
+src\wat\debug\cop.obj : inc\items.hpp
+src\wat\debug\cop.obj : inc\seq.hpp
+src\wat\debug\cop.obj : inc\chars.hpp
+src\wat\debug\cop.obj : ../imlib/include\timage.hpp
+src\wat\debug\cop.obj : ../imlib/include\fonts.hpp
+src\wat\debug\cop.obj : ../imlib/include\filter.hpp
+src\wat\debug\cop.obj : ../imlib/include\mouse.hpp
+src\wat\debug\cop.obj : ../imlib/include\sprite.hpp
+src\wat\debug\cop.obj : ../imlib/include\keys.hpp
+src\wat\debug\cop.obj : ../imlib/include\event.hpp
+src\wat\debug\cop.obj : ../imlib/include\specs.hpp
+src\wat\debug\cop.obj : ../imlib/include\palette.hpp
+src\wat\debug\cop.obj : ../imlib/include\linked.hpp
+src\wat\debug\cop.obj : ../imlib/include\image.hpp
+src\wat\debug\cop.obj : ../imlib/include\video.hpp
+src\wat\debug\cop.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\cop.obj : ../imlib/include\input.hpp
+src\wat\debug\cop.obj : inc\objects.hpp
+src\wat\debug\cop.obj : ../imlib/include\system.h
+src\wat\debug\cop.obj : ../imlib/include\macs.hpp
+src\wat\debug\cop.obj : inc\compiled.hpp
+src\wat\debug\cop.obj : inc\fakelib.hpp
+src\wat\debug\cop.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\cop.obj : inc\stack.hpp
+src\wat\debug\cop.obj : inc\lisp_gc.hpp
+src\wat\debug\cop.obj : ../imlib/include\timing.hpp
+src\wat\debug\cop.obj : inc\lisp_opt.hpp
+src\wat\debug\cop.obj : inc\lisp.hpp
+src\wat\debug\statbar.obj : src\statbar.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\statbar.c -fo=src\wat\debug\statbar.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\statbar.obj : inc\clisp.hpp
+src\wat\debug\statbar.obj : inc\director.hpp
+src\wat\debug\statbar.obj : inc\id.hpp
+src\wat\debug\statbar.obj : inc\level.hpp
+src\wat\debug\statbar.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\statbar.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\statbar.obj : inc\game.hpp
+src\wat\debug\statbar.obj : inc\extend.hpp
+src\wat\debug\statbar.obj : inc\loader.hpp
+src\wat\debug\statbar.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\statbar.obj : inc\morpher.hpp
+src\wat\debug\statbar.obj : ../imlib/include\input.hpp
+src\wat\debug\statbar.obj : inc\objects.hpp
+src\wat\debug\statbar.obj : inc\ability.hpp
+src\wat\debug\statbar.obj : inc\seq.hpp
+src\wat\debug\statbar.obj : inc\chars.hpp
+src\wat\debug\statbar.obj : inc\demo.hpp
+src\wat\debug\statbar.obj : inc\particle.hpp
+src\wat\debug\statbar.obj : ../imlib/include\sound.hpp
+src\wat\debug\statbar.obj : inc\points.hpp
+src\wat\debug\statbar.obj : inc\items.hpp
+src\wat\debug\statbar.obj : inc\cache.hpp
+src\wat\debug\statbar.obj : ../imlib/include\timing.hpp
+src\wat\debug\statbar.obj : inc\lisp_opt.hpp
+src\wat\debug\statbar.obj : inc\lisp.hpp
+src\wat\debug\statbar.obj : ../imlib/include\timage.hpp
+src\wat\debug\statbar.obj : ../imlib/include\fonts.hpp
+src\wat\debug\statbar.obj : ../imlib/include\filter.hpp
+src\wat\debug\statbar.obj : ../imlib/include\mouse.hpp
+src\wat\debug\statbar.obj : ../imlib/include\sprite.hpp
+src\wat\debug\statbar.obj : ../imlib/include\keys.hpp
+src\wat\debug\statbar.obj : ../imlib/include\event.hpp
+src\wat\debug\statbar.obj : ../imlib/include\video.hpp
+src\wat\debug\statbar.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\statbar.obj : ../imlib/include\macs.hpp
+src\wat\debug\statbar.obj : inc\crc.hpp
+src\wat\debug\statbar.obj : inc\config.hpp
+src\wat\debug\statbar.obj : inc\light.hpp
+src\wat\debug\statbar.obj : inc\view.hpp
+src\wat\debug\statbar.obj : ../imlib/include\system.h
+src\wat\debug\statbar.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\statbar.obj : ../imlib/include\specs.hpp
+src\wat\debug\statbar.obj : ../imlib/include\palette.hpp
+src\wat\debug\statbar.obj : ../imlib/include\linked.hpp
+src\wat\debug\statbar.obj : ../imlib/include\image.hpp
+src\wat\debug\statbar.obj : inc\sbar.hpp
+src\wat\debug\compiled.obj : src\compiled.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\compiled.c -fo=src\wat\debug\compiled.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\compiled.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\compiled.obj : ../imlib/include\system.h
+src\wat\debug\compiled.obj : ../imlib/include\macs.hpp
+src\wat\debug\compiled.obj : ../imlib/include\timing.hpp
+src\wat\debug\compiled.obj : inc\lisp_opt.hpp
+src\wat\debug\compiled.obj : inc\lisp.hpp
+src\wat\debug\ant.obj : src\ant.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\ant.c -fo=src\wat\debug\ant.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\ant.obj : inc\console.hpp
+src\wat\debug\ant.obj : inc\dev.hpp
+src\wat\debug\ant.obj : inc\clisp.hpp
+src\wat\debug\ant.obj : ../imlib/include\jrand.hpp
+src\wat\debug\ant.obj : inc\director.hpp
+src\wat\debug\ant.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\ant.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\ant.obj : inc\game.hpp
+src\wat\debug\ant.obj : inc\id.hpp
+src\wat\debug\ant.obj : inc\level.hpp
+src\wat\debug\ant.obj : inc\extend.hpp
+src\wat\debug\ant.obj : inc\crc.hpp
+src\wat\debug\ant.obj : inc\light.hpp
+src\wat\debug\ant.obj : inc\view.hpp
+src\wat\debug\ant.obj : inc\loader.hpp
+src\wat\debug\ant.obj : inc\config.hpp
+src\wat\debug\ant.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\ant.obj : inc\morpher.hpp
+src\wat\debug\ant.obj : inc\ability.hpp
+src\wat\debug\ant.obj : inc\particle.hpp
+src\wat\debug\ant.obj : ../imlib/include\sound.hpp
+src\wat\debug\ant.obj : inc\cache.hpp
+src\wat\debug\ant.obj : inc\points.hpp
+src\wat\debug\ant.obj : inc\items.hpp
+src\wat\debug\ant.obj : inc\seq.hpp
+src\wat\debug\ant.obj : inc\chars.hpp
+src\wat\debug\ant.obj : ../imlib/include\timage.hpp
+src\wat\debug\ant.obj : ../imlib/include\fonts.hpp
+src\wat\debug\ant.obj : ../imlib/include\filter.hpp
+src\wat\debug\ant.obj : ../imlib/include\mouse.hpp
+src\wat\debug\ant.obj : ../imlib/include\sprite.hpp
+src\wat\debug\ant.obj : ../imlib/include\keys.hpp
+src\wat\debug\ant.obj : ../imlib/include\event.hpp
+src\wat\debug\ant.obj : ../imlib/include\specs.hpp
+src\wat\debug\ant.obj : ../imlib/include\palette.hpp
+src\wat\debug\ant.obj : ../imlib/include\linked.hpp
+src\wat\debug\ant.obj : ../imlib/include\image.hpp
+src\wat\debug\ant.obj : ../imlib/include\video.hpp
+src\wat\debug\ant.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\ant.obj : ../imlib/include\input.hpp
+src\wat\debug\ant.obj : inc\objects.hpp
+src\wat\debug\ant.obj : ../imlib/include\system.h
+src\wat\debug\ant.obj : ../imlib/include\macs.hpp
+src\wat\debug\ant.obj : inc\compiled.hpp
+src\wat\debug\ant.obj : inc\fakelib.hpp
+src\wat\debug\ant.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\ant.obj : inc\stack.hpp
+src\wat\debug\ant.obj : inc\lisp_gc.hpp
+src\wat\debug\ant.obj : ../imlib/include\timing.hpp
+src\wat\debug\ant.obj : inc\lisp_opt.hpp
+src\wat\debug\ant.obj : inc\lisp.hpp
+src\wat\debug\ant.obj : inc\ant.hpp
+src\wat\debug\sensor.obj : src\sensor.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\sensor.c -fo=src\wat\debug\sensor.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\sensor.obj : inc\clisp.hpp
+src\wat\debug\sensor.obj : ../imlib/include\jrand.hpp
+src\wat\debug\sensor.obj : inc\director.hpp
+src\wat\debug\sensor.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\sensor.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\sensor.obj : inc\game.hpp
+src\wat\debug\sensor.obj : inc\id.hpp
+src\wat\debug\sensor.obj : inc\level.hpp
+src\wat\debug\sensor.obj : inc\extend.hpp
+src\wat\debug\sensor.obj : inc\crc.hpp
+src\wat\debug\sensor.obj : inc\light.hpp
+src\wat\debug\sensor.obj : inc\view.hpp
+src\wat\debug\sensor.obj : inc\loader.hpp
+src\wat\debug\sensor.obj : inc\config.hpp
+src\wat\debug\sensor.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\sensor.obj : inc\morpher.hpp
+src\wat\debug\sensor.obj : inc\ability.hpp
+src\wat\debug\sensor.obj : inc\particle.hpp
+src\wat\debug\sensor.obj : ../imlib/include\sound.hpp
+src\wat\debug\sensor.obj : inc\cache.hpp
+src\wat\debug\sensor.obj : inc\points.hpp
+src\wat\debug\sensor.obj : inc\items.hpp
+src\wat\debug\sensor.obj : inc\seq.hpp
+src\wat\debug\sensor.obj : inc\chars.hpp
+src\wat\debug\sensor.obj : ../imlib/include\timage.hpp
+src\wat\debug\sensor.obj : ../imlib/include\fonts.hpp
+src\wat\debug\sensor.obj : ../imlib/include\filter.hpp
+src\wat\debug\sensor.obj : ../imlib/include\mouse.hpp
+src\wat\debug\sensor.obj : ../imlib/include\sprite.hpp
+src\wat\debug\sensor.obj : ../imlib/include\keys.hpp
+src\wat\debug\sensor.obj : ../imlib/include\event.hpp
+src\wat\debug\sensor.obj : ../imlib/include\specs.hpp
+src\wat\debug\sensor.obj : ../imlib/include\palette.hpp
+src\wat\debug\sensor.obj : ../imlib/include\linked.hpp
+src\wat\debug\sensor.obj : ../imlib/include\image.hpp
+src\wat\debug\sensor.obj : ../imlib/include\video.hpp
+src\wat\debug\sensor.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\sensor.obj : ../imlib/include\input.hpp
+src\wat\debug\sensor.obj : inc\objects.hpp
+src\wat\debug\sensor.obj : ../imlib/include\system.h
+src\wat\debug\sensor.obj : ../imlib/include\macs.hpp
+src\wat\debug\sensor.obj : inc\compiled.hpp
+src\wat\debug\sensor.obj : inc\fakelib.hpp
+src\wat\debug\sensor.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\sensor.obj : inc\stack.hpp
+src\wat\debug\sensor.obj : inc\lisp_gc.hpp
+src\wat\debug\sensor.obj : ../imlib/include\timing.hpp
+src\wat\debug\sensor.obj : inc\lisp_opt.hpp
+src\wat\debug\sensor.obj : inc\lisp.hpp
+src\wat\debug\lisp_opt.obj : src\lisp_opt.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\lisp_opt.c -fo=src\wat\debug\lisp_opt.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\lisp_opt.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\lisp_opt.obj : inc\stack.hpp
+src\wat\debug\lisp_opt.obj : inc\lisp_gc.hpp
+src\wat\debug\lisp_opt.obj : ../imlib/include\timing.hpp
+src\wat\debug\lisp_opt.obj : inc\lisp_opt.hpp
+src\wat\debug\lisp_opt.obj : inc\lisp.hpp
+src\wat\debug\lisp_opt.obj : ../imlib/include\system.h
+src\wat\debug\lisp_opt.obj : ../imlib/include\macs.hpp
+src\wat\debug\lisp_opt.obj : inc\fakelib.hpp
+src\wat\debug\demo.obj : src\demo.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\demo.c -fo=src\wat\debug\demo.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\demo.obj : inc\clisp.hpp
+src\wat\debug\demo.obj : ../imlib/include\jrand.hpp
+src\wat\debug\demo.obj : inc\console.hpp
+src\wat\debug\demo.obj : inc\dev.hpp
+src\wat\debug\demo.obj : ../imlib/include\dprint.hpp
+src\wat\debug\demo.obj : inc\director.hpp
+src\wat\debug\demo.obj : inc\id.hpp
+src\wat\debug\demo.obj : inc\extend.hpp
+src\wat\debug\demo.obj : inc\crc.hpp
+src\wat\debug\demo.obj : inc\light.hpp
+src\wat\debug\demo.obj : inc\view.hpp
+src\wat\debug\demo.obj : inc\config.hpp
+src\wat\debug\demo.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\demo.obj : inc\morpher.hpp
+src\wat\debug\demo.obj : inc\ability.hpp
+src\wat\debug\demo.obj : inc\particle.hpp
+src\wat\debug\demo.obj : inc\cache.hpp
+src\wat\debug\demo.obj : inc\seq.hpp
+src\wat\debug\demo.obj : inc\chars.hpp
+src\wat\debug\demo.obj : ../imlib/include\input.hpp
+src\wat\debug\demo.obj : inc\objects.hpp
+src\wat\debug\demo.obj : inc\level.hpp
+src\wat\debug\demo.obj : inc\points.hpp
+src\wat\debug\demo.obj : inc\items.hpp
+src\wat\debug\demo.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\demo.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\demo.obj : ../imlib/include\sound.hpp
+src\wat\debug\demo.obj : ../imlib/include\timing.hpp
+src\wat\debug\demo.obj : inc\lisp_opt.hpp
+src\wat\debug\demo.obj : inc\lisp.hpp
+src\wat\debug\demo.obj : inc\loader.hpp
+src\wat\debug\demo.obj : inc\game.hpp
+src\wat\debug\demo.obj : ../imlib/include\timage.hpp
+src\wat\debug\demo.obj : ../imlib/include\fonts.hpp
+src\wat\debug\demo.obj : ../imlib/include\filter.hpp
+src\wat\debug\demo.obj : ../imlib/include\mouse.hpp
+src\wat\debug\demo.obj : ../imlib/include\macs.hpp
+src\wat\debug\demo.obj : ../imlib/include\sprite.hpp
+src\wat\debug\demo.obj : ../imlib/include\keys.hpp
+src\wat\debug\demo.obj : ../imlib/include\event.hpp
+src\wat\debug\demo.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\demo.obj : ../imlib/include\specs.hpp
+src\wat\debug\demo.obj : ../imlib/include\palette.hpp
+src\wat\debug\demo.obj : ../imlib/include\linked.hpp
+src\wat\debug\demo.obj : ../imlib/include\image.hpp
+src\wat\debug\demo.obj : ../imlib/include\system.h
+src\wat\debug\demo.obj : ../imlib/include\video.hpp
+src\wat\debug\demo.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\demo.obj : inc\demo.hpp
+src\wat\debug\lcache.obj : src\lcache.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\lcache.c -fo=src\wat\debug\lcache.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\lcache.obj : inc\bus_type.hpp
+src\wat\debug\lcache.obj : ../imlib/include\system.h
+src\wat\debug\lcache.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\lcache.obj : ../imlib/include\linked.hpp
+src\wat\debug\lcache.obj : ../imlib/include\specs.hpp
+src\wat\debug\lcache.obj : ../imlib/include\timing.hpp
+src\wat\debug\lcache.obj : inc\lisp_opt.hpp
+src\wat\debug\lcache.obj : inc\lisp.hpp
+src\wat\debug\lisp_gc.obj : src\lisp_gc.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\lisp_gc.c -fo=src\wat\debug\lisp_gc.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\lisp_gc.obj : inc\stack.hpp
+src\wat\debug\lisp_gc.obj : ../imlib/include\system.h
+src\wat\debug\lisp_gc.obj : ../imlib/include\macs.hpp
+src\wat\debug\lisp_gc.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\lisp_gc.obj : inc\fakelib.hpp
+src\wat\debug\lisp_gc.obj : ../imlib/include\timing.hpp
+src\wat\debug\lisp_gc.obj : inc\lisp_opt.hpp
+src\wat\debug\lisp_gc.obj : inc\lisp.hpp
+src\wat\debug\nfclient.obj : src\nfclient.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\nfclient.c -fo=src\wat\debug\nfclient.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\nfclient.obj : ../imlib/include\timing.hpp
+src\wat\debug\nfclient.obj : inc\lisp_opt.hpp
+src\wat\debug\nfclient.obj : inc\lisp.hpp
+src\wat\debug\nfclient.obj : inc\particle.hpp
+src\wat\debug\nfclient.obj : ../imlib/include\sound.hpp
+src\wat\debug\nfclient.obj : ../imlib/include\filter.hpp
+src\wat\debug\nfclient.obj : ../imlib/include\timage.hpp
+src\wat\debug\nfclient.obj : inc\points.hpp
+src\wat\debug\nfclient.obj : ../imlib/include\palette.hpp
+src\wat\debug\nfclient.obj : ../imlib/include\image.hpp
+src\wat\debug\nfclient.obj : inc\items.hpp
+src\wat\debug\nfclient.obj : inc\cache.hpp
+src\wat\debug\nfclient.obj : ../imlib/include\macs.hpp
+src\wat\debug\nfclient.obj : inc\crc.hpp
+src\wat\debug\nfclient.obj : ../imlib/include\dprint.hpp
+src\wat\debug\nfclient.obj : inc\nfserver.hpp
+src\wat\debug\nfclient.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\nfclient.obj : ../imlib/include\linked.hpp
+src\wat\debug\nfclient.obj : ../imlib/include\specs.hpp
+src\wat\debug\nfclient.obj : src/net/inc\indian.hpp
+src\wat\debug\nfclient.obj : inc\netface.hpp
+src\wat\debug\nfclient.obj : ../imlib/include\system.h
+src\wat\debug\username.obj : src\username.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\username.c -fo=src\wat\debug\username.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\username.obj : src\username.c
+src\wat\debug\clisp.obj : src\clisp.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\clisp.c -fo=src\wat\debug\clisp.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\clisp.obj : inc\text_gui.hpp
+src\wat\debug\clisp.obj : inc\chat.hpp
+src\wat\debug\clisp.obj : inc\demo.hpp
+src\wat\debug\clisp.obj : ../imlib/include\joy.hpp
+src\wat\debug\clisp.obj : src/net/inc\indian.hpp
+src\wat\debug\clisp.obj : inc\netface.hpp
+src\wat\debug\clisp.obj : inc\nfserver.hpp
+src\wat\debug\clisp.obj : inc\loadgame.hpp
+src\wat\debug\clisp.obj : inc\cop.hpp
+src\wat\debug\clisp.obj : inc\fakelib.hpp
+src\wat\debug\clisp.obj : inc\stack.hpp
+src\wat\debug\clisp.obj : inc\lisp_gc.hpp
+src\wat\debug\clisp.obj : inc\clisp.hpp
+src\wat\debug\clisp.obj : ../imlib/include\dprint.hpp
+src\wat\debug\clisp.obj : inc\menu.hpp
+src\wat\debug\clisp.obj : ../imlib/include\image24.hpp
+src\wat\debug\clisp.obj : ../imlib/include\pcxread.hpp
+src\wat\debug\clisp.obj : inc\console.hpp
+src\wat\debug\clisp.obj : inc\dev.hpp
+src\wat\debug\clisp.obj : ../imlib/include\jrand.hpp
+src\wat\debug\clisp.obj : inc\director.hpp
+src\wat\debug\clisp.obj : inc\id.hpp
+src\wat\debug\clisp.obj : inc\extend.hpp
+src\wat\debug\clisp.obj : inc\crc.hpp
+src\wat\debug\clisp.obj : inc\light.hpp
+src\wat\debug\clisp.obj : inc\view.hpp
+src\wat\debug\clisp.obj : inc\config.hpp
+src\wat\debug\clisp.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\clisp.obj : inc\morpher.hpp
+src\wat\debug\clisp.obj : inc\ability.hpp
+src\wat\debug\clisp.obj : inc\particle.hpp
+src\wat\debug\clisp.obj : inc\cache.hpp
+src\wat\debug\clisp.obj : inc\seq.hpp
+src\wat\debug\clisp.obj : inc\chars.hpp
+src\wat\debug\clisp.obj : ../imlib/include\input.hpp
+src\wat\debug\clisp.obj : inc\objects.hpp
+src\wat\debug\clisp.obj : inc\level.hpp
+src\wat\debug\clisp.obj : inc\points.hpp
+src\wat\debug\clisp.obj : inc\items.hpp
+src\wat\debug\clisp.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\clisp.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\clisp.obj : inc\game.hpp
+src\wat\debug\clisp.obj : ../imlib/include\sound.hpp
+src\wat\debug\clisp.obj : ../imlib/include\timage.hpp
+src\wat\debug\clisp.obj : ../imlib/include\fonts.hpp
+src\wat\debug\clisp.obj : ../imlib/include\filter.hpp
+src\wat\debug\clisp.obj : ../imlib/include\mouse.hpp
+src\wat\debug\clisp.obj : ../imlib/include\macs.hpp
+src\wat\debug\clisp.obj : ../imlib/include\sprite.hpp
+src\wat\debug\clisp.obj : ../imlib/include\keys.hpp
+src\wat\debug\clisp.obj : ../imlib/include\event.hpp
+src\wat\debug\clisp.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\clisp.obj : ../imlib/include\specs.hpp
+src\wat\debug\clisp.obj : ../imlib/include\palette.hpp
+src\wat\debug\clisp.obj : ../imlib/include\linked.hpp
+src\wat\debug\clisp.obj : ../imlib/include\image.hpp
+src\wat\debug\clisp.obj : ../imlib/include\system.h
+src\wat\debug\clisp.obj : ../imlib/include\video.hpp
+src\wat\debug\clisp.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\clisp.obj : inc\loader.hpp
+src\wat\debug\clisp.obj : ../imlib/include\timing.hpp
+src\wat\debug\clisp.obj : inc\lisp_opt.hpp
+src\wat\debug\clisp.obj : inc\lisp.hpp
+src\wat\debug\clisp.obj : inc\ant.hpp
+src\wat\debug\gui.obj : src\gui.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\gui.c -fo=src\wat\debug\gui.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\gui.obj : ../imlib/include\fonts.hpp
+src\wat\debug\gui.obj : ../imlib/include\mouse.hpp
+src\wat\debug\gui.obj : ../imlib/include\sprite.hpp
+src\wat\debug\gui.obj : ../imlib/include\keys.hpp
+src\wat\debug\gui.obj : ../imlib/include\event.hpp
+src\wat\debug\gui.obj : ../imlib/include\video.hpp
+src\wat\debug\gui.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\gui.obj : inc\gui.hpp
+src\wat\debug\gui.obj : ../imlib/include\timing.hpp
+src\wat\debug\gui.obj : inc\lisp_opt.hpp
+src\wat\debug\gui.obj : inc\lisp.hpp
+src\wat\debug\gui.obj : inc\particle.hpp
+src\wat\debug\gui.obj : ../imlib/include\sound.hpp
+src\wat\debug\gui.obj : ../imlib/include\filter.hpp
+src\wat\debug\gui.obj : ../imlib/include\macs.hpp
+src\wat\debug\gui.obj : ../imlib/include\timage.hpp
+src\wat\debug\gui.obj : inc\points.hpp
+src\wat\debug\gui.obj : ../imlib/include\palette.hpp
+src\wat\debug\gui.obj : ../imlib/include\image.hpp
+src\wat\debug\gui.obj : inc\items.hpp
+src\wat\debug\gui.obj : ../imlib/include\system.h
+src\wat\debug\gui.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\gui.obj : ../imlib/include\linked.hpp
+src\wat\debug\gui.obj : ../imlib/include\specs.hpp
+src\wat\debug\gui.obj : inc\cache.hpp
+src\wat\debug\transp.obj : src\transp.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\transp.c -fo=src\wat\debug\transp.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\transp.obj : ../imlib/include\macs.hpp
+src\wat\debug\transp.obj : ../imlib/include\system.h
+src\wat\debug\transp.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\transp.obj : ../imlib/include\specs.hpp
+src\wat\debug\transp.obj : ../imlib/include\palette.hpp
+src\wat\debug\transp.obj : ../imlib/include\linked.hpp
+src\wat\debug\transp.obj : ../imlib/include\image.hpp
+src\wat\debug\transp.obj : inc\transp.hpp
+src\wat\debug\collide.obj : src\collide.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\collide.c -fo=src\wat\debug\collide.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\collide.obj : inc\intsect.hpp
+src\wat\debug\collide.obj : inc\id.hpp
+src\wat\debug\collide.obj : inc\extend.hpp
+src\wat\debug\collide.obj : inc\crc.hpp
+src\wat\debug\collide.obj : inc\light.hpp
+src\wat\debug\collide.obj : inc\view.hpp
+src\wat\debug\collide.obj : inc\loader.hpp
+src\wat\debug\collide.obj : inc\config.hpp
+src\wat\debug\collide.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\collide.obj : inc\morpher.hpp
+src\wat\debug\collide.obj : inc\ability.hpp
+src\wat\debug\collide.obj : ../imlib/include\timing.hpp
+src\wat\debug\collide.obj : inc\lisp_opt.hpp
+src\wat\debug\collide.obj : inc\lisp.hpp
+src\wat\debug\collide.obj : inc\particle.hpp
+src\wat\debug\collide.obj : ../imlib/include\sound.hpp
+src\wat\debug\collide.obj : inc\cache.hpp
+src\wat\debug\collide.obj : inc\points.hpp
+src\wat\debug\collide.obj : inc\items.hpp
+src\wat\debug\collide.obj : inc\seq.hpp
+src\wat\debug\collide.obj : inc\chars.hpp
+src\wat\debug\collide.obj : ../imlib/include\timage.hpp
+src\wat\debug\collide.obj : ../imlib/include\fonts.hpp
+src\wat\debug\collide.obj : ../imlib/include\filter.hpp
+src\wat\debug\collide.obj : ../imlib/include\mouse.hpp
+src\wat\debug\collide.obj : ../imlib/include\sprite.hpp
+src\wat\debug\collide.obj : ../imlib/include\keys.hpp
+src\wat\debug\collide.obj : ../imlib/include\event.hpp
+src\wat\debug\collide.obj : ../imlib/include\palette.hpp
+src\wat\debug\collide.obj : ../imlib/include\image.hpp
+src\wat\debug\collide.obj : ../imlib/include\video.hpp
+src\wat\debug\collide.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\collide.obj : ../imlib/include\input.hpp
+src\wat\debug\collide.obj : inc\objects.hpp
+src\wat\debug\collide.obj : ../imlib/include\macs.hpp
+src\wat\debug\collide.obj : ../imlib/include\system.h
+src\wat\debug\collide.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\collide.obj : ../imlib/include\linked.hpp
+src\wat\debug\collide.obj : ../imlib/include\specs.hpp
+src\wat\debug\collide.obj : inc\level.hpp
+src\wat\debug\trig.obj : src\trig.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\trig.c -fo=src\wat\debug\trig.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\trig.obj : src\trig.c
+src\wat\debug\property.obj : src\property.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\property.c -fo=src\wat\debug\property.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\property.obj : ../imlib/include\dprint.hpp
+src\wat\debug\property.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\property.obj : inc\property.hpp
+src\wat\debug\lisp.obj : src\lisp.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\lisp.c -fo=src\wat\debug\lisp.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\lisp.obj : inc\console.hpp
+src\wat\debug\lisp.obj : inc\director.hpp
+src\wat\debug\lisp.obj : inc\id.hpp
+src\wat\debug\lisp.obj : inc\extend.hpp
+src\wat\debug\lisp.obj : inc\crc.hpp
+src\wat\debug\lisp.obj : inc\light.hpp
+src\wat\debug\lisp.obj : inc\view.hpp
+src\wat\debug\lisp.obj : inc\config.hpp
+src\wat\debug\lisp.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\lisp.obj : inc\morpher.hpp
+src\wat\debug\lisp.obj : inc\ability.hpp
+src\wat\debug\lisp.obj : inc\seq.hpp
+src\wat\debug\lisp.obj : inc\chars.hpp
+src\wat\debug\lisp.obj : ../imlib/include\input.hpp
+src\wat\debug\lisp.obj : inc\objects.hpp
+src\wat\debug\lisp.obj : inc\level.hpp
+src\wat\debug\lisp.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\lisp.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\lisp.obj : inc\loader.hpp
+src\wat\debug\lisp.obj : inc\game.hpp
+src\wat\debug\lisp.obj : inc\dev.hpp
+src\wat\debug\lisp.obj : inc\particle.hpp
+src\wat\debug\lisp.obj : ../imlib/include\sound.hpp
+src\wat\debug\lisp.obj : inc\points.hpp
+src\wat\debug\lisp.obj : inc\items.hpp
+src\wat\debug\lisp.obj : inc\cache.hpp
+src\wat\debug\lisp.obj : ../imlib/include\dprint.hpp
+src\wat\debug\lisp.obj : ../imlib/include\timage.hpp
+src\wat\debug\lisp.obj : ../imlib/include\fonts.hpp
+src\wat\debug\lisp.obj : ../imlib/include\filter.hpp
+src\wat\debug\lisp.obj : ../imlib/include\mouse.hpp
+src\wat\debug\lisp.obj : ../imlib/include\macs.hpp
+src\wat\debug\lisp.obj : ../imlib/include\sprite.hpp
+src\wat\debug\lisp.obj : ../imlib/include\keys.hpp
+src\wat\debug\lisp.obj : ../imlib/include\event.hpp
+src\wat\debug\lisp.obj : ../imlib/include\specs.hpp
+src\wat\debug\lisp.obj : ../imlib/include\palette.hpp
+src\wat\debug\lisp.obj : ../imlib/include\linked.hpp
+src\wat\debug\lisp.obj : ../imlib/include\image.hpp
+src\wat\debug\lisp.obj : ../imlib/include\system.h
+src\wat\debug\lisp.obj : ../imlib/include\video.hpp
+src\wat\debug\lisp.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\lisp.obj : ../imlib/include\visobj.hpp
+src\wat\debug\lisp.obj : ../imlib/include\status.hpp
+src\wat\debug\lisp.obj : inc\fakelib.hpp
+src\wat\debug\lisp.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\lisp.obj : inc\stack.hpp
+src\wat\debug\lisp.obj : inc\lisp_gc.hpp
+src\wat\debug\lisp.obj : ../imlib/include\timing.hpp
+src\wat\debug\lisp.obj : inc\lisp_opt.hpp
+src\wat\debug\lisp.obj : inc\lisp.hpp
+src\wat\debug\lisp.obj : inc\bus_type.hpp
+src\wat\debug\cache.obj : src\cache.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\cache.c -fo=src\wat\debug\cache.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\cache.obj : inc\fakelib.hpp
+src\wat\debug\cache.obj : inc\stack.hpp
+src\wat\debug\cache.obj : inc\lisp_gc.hpp
+src\wat\debug\cache.obj : inc\director.hpp
+src\wat\debug\cache.obj : inc\id.hpp
+src\wat\debug\cache.obj : inc\extend.hpp
+src\wat\debug\cache.obj : inc\crc.hpp
+src\wat\debug\cache.obj : inc\light.hpp
+src\wat\debug\cache.obj : inc\view.hpp
+src\wat\debug\cache.obj : inc\config.hpp
+src\wat\debug\cache.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\cache.obj : inc\morpher.hpp
+src\wat\debug\cache.obj : inc\ability.hpp
+src\wat\debug\cache.obj : inc\seq.hpp
+src\wat\debug\cache.obj : inc\chars.hpp
+src\wat\debug\cache.obj : ../imlib/include\input.hpp
+src\wat\debug\cache.obj : inc\objects.hpp
+src\wat\debug\cache.obj : inc\level.hpp
+src\wat\debug\cache.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\cache.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\cache.obj : inc\loader.hpp
+src\wat\debug\cache.obj : inc\game.hpp
+src\wat\debug\cache.obj : ../imlib/include\fonts.hpp
+src\wat\debug\cache.obj : ../imlib/include\mouse.hpp
+src\wat\debug\cache.obj : ../imlib/include\sprite.hpp
+src\wat\debug\cache.obj : ../imlib/include\keys.hpp
+src\wat\debug\cache.obj : ../imlib/include\event.hpp
+src\wat\debug\cache.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\cache.obj : ../imlib/include\visobj.hpp
+src\wat\debug\cache.obj : ../imlib/include\status.hpp
+src\wat\debug\cache.obj : inc\lcache.hpp
+src\wat\debug\cache.obj : ../imlib/include\exitproc.hpp
+src\wat\debug\cache.obj : ../imlib/include\dprint.hpp
+src\wat\debug\cache.obj : ../imlib/include\video.hpp
+src\wat\debug\cache.obj : ../imlib/include\timing.hpp
+src\wat\debug\cache.obj : inc\lisp_opt.hpp
+src\wat\debug\cache.obj : inc\lisp.hpp
+src\wat\debug\cache.obj : inc\particle.hpp
+src\wat\debug\cache.obj : ../imlib/include\sound.hpp
+src\wat\debug\cache.obj : ../imlib/include\filter.hpp
+src\wat\debug\cache.obj : ../imlib/include\macs.hpp
+src\wat\debug\cache.obj : ../imlib/include\timage.hpp
+src\wat\debug\cache.obj : inc\points.hpp
+src\wat\debug\cache.obj : ../imlib/include\palette.hpp
+src\wat\debug\cache.obj : ../imlib/include\image.hpp
+src\wat\debug\cache.obj : inc\items.hpp
+src\wat\debug\cache.obj : ../imlib/include\system.h
+src\wat\debug\cache.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\cache.obj : ../imlib/include\linked.hpp
+src\wat\debug\cache.obj : ../imlib/include\specs.hpp
+src\wat\debug\cache.obj : inc\cache.hpp
+src\wat\debug\particle.obj : src\particle.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\particle.c -fo=src\wat\debug\particle.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\particle.obj : ../imlib/include\jrand.hpp
+src\wat\debug\particle.obj : ../imlib/include\sound.hpp
+src\wat\debug\particle.obj : inc\points.hpp
+src\wat\debug\particle.obj : inc\items.hpp
+src\wat\debug\particle.obj : inc\cache.hpp
+src\wat\debug\particle.obj : ../imlib/include\timing.hpp
+src\wat\debug\particle.obj : inc\lisp_opt.hpp
+src\wat\debug\particle.obj : inc\lisp.hpp
+src\wat\debug\particle.obj : ../imlib/include\timage.hpp
+src\wat\debug\particle.obj : ../imlib/include\fonts.hpp
+src\wat\debug\particle.obj : ../imlib/include\filter.hpp
+src\wat\debug\particle.obj : ../imlib/include\mouse.hpp
+src\wat\debug\particle.obj : ../imlib/include\sprite.hpp
+src\wat\debug\particle.obj : ../imlib/include\keys.hpp
+src\wat\debug\particle.obj : ../imlib/include\event.hpp
+src\wat\debug\particle.obj : ../imlib/include\video.hpp
+src\wat\debug\particle.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\particle.obj : inc\crc.hpp
+src\wat\debug\particle.obj : inc\config.hpp
+src\wat\debug\particle.obj : inc\light.hpp
+src\wat\debug\particle.obj : inc\view.hpp
+src\wat\debug\particle.obj : ../imlib/include\palette.hpp
+src\wat\debug\particle.obj : ../imlib/include\image.hpp
+src\wat\debug\particle.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\particle.obj : ../imlib/include\linked.hpp
+src\wat\debug\particle.obj : ../imlib/include\specs.hpp
+src\wat\debug\particle.obj : inc\particle.hpp
+src\wat\debug\particle.obj : ../imlib/include\system.h
+src\wat\debug\particle.obj : ../imlib/include\macs.hpp
+src\wat\debug\objects.obj : src\objects.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\objects.c -fo=src\wat\debug\objects.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\objects.obj : inc\profile.hpp
+src\wat\debug\objects.obj : inc\fakelib.hpp
+src\wat\debug\objects.obj : inc\stack.hpp
+src\wat\debug\objects.obj : inc\lisp_gc.hpp
+src\wat\debug\objects.obj : inc\clisp.hpp
+src\wat\debug\objects.obj : ../imlib/include\dprint.hpp
+src\wat\debug\objects.obj : ../imlib/include\jrand.hpp
+src\wat\debug\objects.obj : inc\intsect.hpp
+src\wat\debug\objects.obj : inc\director.hpp
+src\wat\debug\objects.obj : inc\id.hpp
+src\wat\debug\objects.obj : inc\level.hpp
+src\wat\debug\objects.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\objects.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\objects.obj : inc\game.hpp
+src\wat\debug\objects.obj : inc\extend.hpp
+src\wat\debug\objects.obj : inc\crc.hpp
+src\wat\debug\objects.obj : inc\light.hpp
+src\wat\debug\objects.obj : inc\view.hpp
+src\wat\debug\objects.obj : inc\loader.hpp
+src\wat\debug\objects.obj : inc\config.hpp
+src\wat\debug\objects.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\objects.obj : inc\morpher.hpp
+src\wat\debug\objects.obj : inc\ability.hpp
+src\wat\debug\objects.obj : ../imlib/include\timing.hpp
+src\wat\debug\objects.obj : inc\lisp_opt.hpp
+src\wat\debug\objects.obj : inc\lisp.hpp
+src\wat\debug\objects.obj : inc\particle.hpp
+src\wat\debug\objects.obj : ../imlib/include\sound.hpp
+src\wat\debug\objects.obj : inc\cache.hpp
+src\wat\debug\objects.obj : inc\points.hpp
+src\wat\debug\objects.obj : inc\items.hpp
+src\wat\debug\objects.obj : inc\seq.hpp
+src\wat\debug\objects.obj : inc\chars.hpp
+src\wat\debug\objects.obj : ../imlib/include\fonts.hpp
+src\wat\debug\objects.obj : ../imlib/include\mouse.hpp
+src\wat\debug\objects.obj : ../imlib/include\sprite.hpp
+src\wat\debug\objects.obj : ../imlib/include\keys.hpp
+src\wat\debug\objects.obj : ../imlib/include\event.hpp
+src\wat\debug\objects.obj : ../imlib/include\video.hpp
+src\wat\debug\objects.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\objects.obj : ../imlib/include\input.hpp
+src\wat\debug\objects.obj : inc\objects.hpp
+src\wat\debug\objects.obj : ../imlib/include\filter.hpp
+src\wat\debug\objects.obj : ../imlib/include\macs.hpp
+src\wat\debug\objects.obj : ../imlib/include\system.h
+src\wat\debug\objects.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\objects.obj : ../imlib/include\specs.hpp
+src\wat\debug\objects.obj : ../imlib/include\palette.hpp
+src\wat\debug\objects.obj : ../imlib/include\linked.hpp
+src\wat\debug\objects.obj : ../imlib/include\image.hpp
+src\wat\debug\objects.obj : ../imlib/include\timage.hpp
+src\wat\debug\extend.obj : src\extend.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\extend.c -fo=src\wat\debug\extend.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\extend.obj : inc\loader.hpp
+src\wat\debug\extend.obj : ../imlib/include\input.hpp
+src\wat\debug\extend.obj : inc\objects.hpp
+src\wat\debug\extend.obj : ../imlib/include\fonts.hpp
+src\wat\debug\extend.obj : ../imlib/include\video.hpp
+src\wat\debug\extend.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\extend.obj : inc\crc.hpp
+src\wat\debug\extend.obj : inc\light.hpp
+src\wat\debug\extend.obj : inc\view.hpp
+src\wat\debug\extend.obj : ../imlib/include\mouse.hpp
+src\wat\debug\extend.obj : ../imlib/include\sprite.hpp
+src\wat\debug\extend.obj : ../imlib/include\keys.hpp
+src\wat\debug\extend.obj : ../imlib/include\event.hpp
+src\wat\debug\extend.obj : inc\ability.hpp
+src\wat\debug\extend.obj : ../imlib/include\timing.hpp
+src\wat\debug\extend.obj : inc\lisp_opt.hpp
+src\wat\debug\extend.obj : inc\lisp.hpp
+src\wat\debug\extend.obj : inc\particle.hpp
+src\wat\debug\extend.obj : ../imlib/include\sound.hpp
+src\wat\debug\extend.obj : inc\cache.hpp
+src\wat\debug\extend.obj : inc\points.hpp
+src\wat\debug\extend.obj : inc\items.hpp
+src\wat\debug\extend.obj : inc\seq.hpp
+src\wat\debug\extend.obj : inc\chars.hpp
+src\wat\debug\extend.obj : inc\config.hpp
+src\wat\debug\extend.obj : ../imlib/include\filter.hpp
+src\wat\debug\extend.obj : ../imlib/include\specs.hpp
+src\wat\debug\extend.obj : ../imlib/include\palette.hpp
+src\wat\debug\extend.obj : ../imlib/include\linked.hpp
+src\wat\debug\extend.obj : ../imlib/include\image.hpp
+src\wat\debug\extend.obj : ../imlib/include\timage.hpp
+src\wat\debug\extend.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\extend.obj : inc\morpher.hpp
+src\wat\debug\extend.obj : ../imlib/include\system.h
+src\wat\debug\extend.obj : ../imlib/include\macs.hpp
+src\wat\debug\extend.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\extend.obj : inc\extend.hpp
+src\wat\debug\console.obj : src\console.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\console.c -fo=src\wat\debug\console.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\console.obj : ../imlib/include\timage.hpp
+src\wat\debug\console.obj : ../imlib/include\fonts.hpp
+src\wat\debug\console.obj : ../imlib/include\filter.hpp
+src\wat\debug\console.obj : ../imlib/include\mouse.hpp
+src\wat\debug\console.obj : ../imlib/include\macs.hpp
+src\wat\debug\console.obj : ../imlib/include\sprite.hpp
+src\wat\debug\console.obj : ../imlib/include\keys.hpp
+src\wat\debug\console.obj : ../imlib/include\event.hpp
+src\wat\debug\console.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\console.obj : ../imlib/include\specs.hpp
+src\wat\debug\console.obj : ../imlib/include\palette.hpp
+src\wat\debug\console.obj : ../imlib/include\image.hpp
+src\wat\debug\console.obj : ../imlib/include\system.h
+src\wat\debug\console.obj : ../imlib/include\video.hpp
+src\wat\debug\console.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\console.obj : inc\console.hpp
+src\wat\debug\console.obj : ../imlib/include\linked.hpp
+src\wat\debug\ability.obj : src\ability.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\ability.c -fo=src\wat\debug\ability.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\ability.obj : inc\particle.hpp
+src\wat\debug\ability.obj : inc\cache.hpp
+src\wat\debug\ability.obj : inc\points.hpp
+src\wat\debug\ability.obj : inc\items.hpp
+src\wat\debug\ability.obj : inc\seq.hpp
+src\wat\debug\ability.obj : inc\chars.hpp
+src\wat\debug\ability.obj : ../imlib/include\sound.hpp
+src\wat\debug\ability.obj : ../imlib/include\timing.hpp
+src\wat\debug\ability.obj : inc\lisp_opt.hpp
+src\wat\debug\ability.obj : inc\lisp.hpp
+src\wat\debug\ability.obj : ../imlib/include\timage.hpp
+src\wat\debug\ability.obj : ../imlib/include\fonts.hpp
+src\wat\debug\ability.obj : ../imlib/include\filter.hpp
+src\wat\debug\ability.obj : ../imlib/include\mouse.hpp
+src\wat\debug\ability.obj : ../imlib/include\macs.hpp
+src\wat\debug\ability.obj : ../imlib/include\sprite.hpp
+src\wat\debug\ability.obj : ../imlib/include\keys.hpp
+src\wat\debug\ability.obj : ../imlib/include\event.hpp
+src\wat\debug\ability.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\ability.obj : ../imlib/include\specs.hpp
+src\wat\debug\ability.obj : ../imlib/include\palette.hpp
+src\wat\debug\ability.obj : ../imlib/include\linked.hpp
+src\wat\debug\ability.obj : ../imlib/include\image.hpp
+src\wat\debug\ability.obj : ../imlib/include\system.h
+src\wat\debug\ability.obj : ../imlib/include\video.hpp
+src\wat\debug\ability.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\ability.obj : inc\loader.hpp
+src\wat\debug\ability.obj : inc\ability.hpp
+src\wat\debug\items.obj : src\items.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\items.c -fo=src\wat\debug\items.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\items.obj : inc\console.hpp
+src\wat\debug\items.obj : inc\director.hpp
+src\wat\debug\items.obj : inc\id.hpp
+src\wat\debug\items.obj : inc\extend.hpp
+src\wat\debug\items.obj : inc\crc.hpp
+src\wat\debug\items.obj : inc\light.hpp
+src\wat\debug\items.obj : inc\view.hpp
+src\wat\debug\items.obj : inc\config.hpp
+src\wat\debug\items.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\items.obj : inc\morpher.hpp
+src\wat\debug\items.obj : inc\ability.hpp
+src\wat\debug\items.obj : inc\particle.hpp
+src\wat\debug\items.obj : inc\cache.hpp
+src\wat\debug\items.obj : inc\seq.hpp
+src\wat\debug\items.obj : inc\chars.hpp
+src\wat\debug\items.obj : ../imlib/include\input.hpp
+src\wat\debug\items.obj : inc\objects.hpp
+src\wat\debug\items.obj : inc\level.hpp
+src\wat\debug\items.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\items.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\items.obj : inc\game.hpp
+src\wat\debug\items.obj : inc\dev.hpp
+src\wat\debug\items.obj : ../imlib/include\sound.hpp
+src\wat\debug\items.obj : ../imlib/include\timing.hpp
+src\wat\debug\items.obj : inc\lisp_opt.hpp
+src\wat\debug\items.obj : inc\lisp.hpp
+src\wat\debug\items.obj : ../imlib/include\fonts.hpp
+src\wat\debug\items.obj : ../imlib/include\mouse.hpp
+src\wat\debug\items.obj : ../imlib/include\sprite.hpp
+src\wat\debug\items.obj : ../imlib/include\keys.hpp
+src\wat\debug\items.obj : ../imlib/include\event.hpp
+src\wat\debug\items.obj : ../imlib/include\video.hpp
+src\wat\debug\items.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\items.obj : inc\loader.hpp
+src\wat\debug\items.obj : ../imlib/include\filter.hpp
+src\wat\debug\items.obj : ../imlib/include\macs.hpp
+src\wat\debug\items.obj : ../imlib/include\timage.hpp
+src\wat\debug\items.obj : inc\points.hpp
+src\wat\debug\items.obj : ../imlib/include\system.h
+src\wat\debug\items.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\items.obj : ../imlib/include\specs.hpp
+src\wat\debug\items.obj : ../imlib/include\palette.hpp
+src\wat\debug\items.obj : ../imlib/include\linked.hpp
+src\wat\debug\items.obj : ../imlib/include\image.hpp
+src\wat\debug\items.obj : inc\items.hpp
+src\wat\debug\dev.obj : src\dev.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\dev.c -fo=src\wat\debug\dev.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\dev.obj : inc\chat.hpp
+src\wat\debug\dev.obj : inc\compiled.hpp
+src\wat\debug\dev.obj : inc\sbar.hpp
+src\wat\debug\dev.obj : inc\profile.hpp
+src\wat\debug\dev.obj : inc\demo.hpp
+src\wat\debug\dev.obj : inc\fakelib.hpp
+src\wat\debug\dev.obj : inc\stack.hpp
+src\wat\debug\dev.obj : inc\lisp_gc.hpp
+src\wat\debug\dev.obj : ../imlib/include\image24.hpp
+src\wat\debug\dev.obj : ../imlib/include\pcxread.hpp
+src\wat\debug\dev.obj : ../imlib/include\visobj.hpp
+src\wat\debug\dev.obj : ../imlib/include\tools.hpp
+src\wat\debug\dev.obj : ../imlib/include\filesel.hpp
+src\wat\debug\dev.obj : ../imlib/include\pmenu.hpp
+src\wat\debug\dev.obj : inc\property.hpp
+src\wat\debug\dev.obj : ../imlib/include\dprint.hpp
+src\wat\debug\dev.obj : ../imlib/include\scroller.hpp
+src\wat\debug\dev.obj : inc\devsel.hpp
+src\wat\debug\dev.obj : inc\console.hpp
+src\wat\debug\dev.obj : inc\director.hpp
+src\wat\debug\dev.obj : inc\id.hpp
+src\wat\debug\dev.obj : inc\extend.hpp
+src\wat\debug\dev.obj : inc\crc.hpp
+src\wat\debug\dev.obj : inc\light.hpp
+src\wat\debug\dev.obj : inc\view.hpp
+src\wat\debug\dev.obj : inc\config.hpp
+src\wat\debug\dev.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\dev.obj : inc\morpher.hpp
+src\wat\debug\dev.obj : inc\ability.hpp
+src\wat\debug\dev.obj : inc\particle.hpp
+src\wat\debug\dev.obj : inc\cache.hpp
+src\wat\debug\dev.obj : inc\seq.hpp
+src\wat\debug\dev.obj : inc\chars.hpp
+src\wat\debug\dev.obj : ../imlib/include\input.hpp
+src\wat\debug\dev.obj : inc\objects.hpp
+src\wat\debug\dev.obj : inc\level.hpp
+src\wat\debug\dev.obj : inc\points.hpp
+src\wat\debug\dev.obj : inc\items.hpp
+src\wat\debug\dev.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\dev.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\dev.obj : ../imlib/include\sound.hpp
+src\wat\debug\dev.obj : ../imlib/include\timing.hpp
+src\wat\debug\dev.obj : inc\lisp_opt.hpp
+src\wat\debug\dev.obj : inc\lisp.hpp
+src\wat\debug\dev.obj : ../imlib/include\timage.hpp
+src\wat\debug\dev.obj : ../imlib/include\fonts.hpp
+src\wat\debug\dev.obj : ../imlib/include\filter.hpp
+src\wat\debug\dev.obj : ../imlib/include\mouse.hpp
+src\wat\debug\dev.obj : ../imlib/include\macs.hpp
+src\wat\debug\dev.obj : ../imlib/include\sprite.hpp
+src\wat\debug\dev.obj : ../imlib/include\keys.hpp
+src\wat\debug\dev.obj : ../imlib/include\event.hpp
+src\wat\debug\dev.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\dev.obj : ../imlib/include\specs.hpp
+src\wat\debug\dev.obj : ../imlib/include\palette.hpp
+src\wat\debug\dev.obj : ../imlib/include\linked.hpp
+src\wat\debug\dev.obj : ../imlib/include\image.hpp
+src\wat\debug\dev.obj : ../imlib/include\system.h
+src\wat\debug\dev.obj : ../imlib/include\video.hpp
+src\wat\debug\dev.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\dev.obj : inc\loader.hpp
+src\wat\debug\dev.obj : inc\game.hpp
+src\wat\debug\dev.obj : inc\dev.hpp
+src\wat\debug\chars.obj : src\chars.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\chars.c -fo=src\wat\debug\chars.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\chars.obj : inc\fakelib.hpp
+src\wat\debug\chars.obj : inc\stack.hpp
+src\wat\debug\chars.obj : inc\lisp_gc.hpp
+src\wat\debug\chars.obj : ../imlib/include\dprint.hpp
+src\wat\debug\chars.obj : inc\clisp.hpp
+src\wat\debug\chars.obj : inc\intsect.hpp
+src\wat\debug\chars.obj : inc\director.hpp
+src\wat\debug\chars.obj : inc\id.hpp
+src\wat\debug\chars.obj : inc\extend.hpp
+src\wat\debug\chars.obj : inc\crc.hpp
+src\wat\debug\chars.obj : inc\light.hpp
+src\wat\debug\chars.obj : inc\view.hpp
+src\wat\debug\chars.obj : inc\config.hpp
+src\wat\debug\chars.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\chars.obj : inc\morpher.hpp
+src\wat\debug\chars.obj : ../imlib/include\input.hpp
+src\wat\debug\chars.obj : inc\objects.hpp
+src\wat\debug\chars.obj : inc\level.hpp
+src\wat\debug\chars.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\chars.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\chars.obj : ../imlib/include\fonts.hpp
+src\wat\debug\chars.obj : ../imlib/include\video.hpp
+src\wat\debug\chars.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\chars.obj : inc\loader.hpp
+src\wat\debug\chars.obj : inc\game.hpp
+src\wat\debug\chars.obj : ../imlib/include\mouse.hpp
+src\wat\debug\chars.obj : ../imlib/include\sprite.hpp
+src\wat\debug\chars.obj : ../imlib/include\keys.hpp
+src\wat\debug\chars.obj : ../imlib/include\event.hpp
+src\wat\debug\chars.obj : inc\ability.hpp
+src\wat\debug\chars.obj : ../imlib/include\timing.hpp
+src\wat\debug\chars.obj : inc\lisp_opt.hpp
+src\wat\debug\chars.obj : inc\lisp.hpp
+src\wat\debug\chars.obj : inc\particle.hpp
+src\wat\debug\chars.obj : ../imlib/include\sound.hpp
+src\wat\debug\chars.obj : inc\cache.hpp
+src\wat\debug\chars.obj : ../imlib/include\filter.hpp
+src\wat\debug\chars.obj : ../imlib/include\macs.hpp
+src\wat\debug\chars.obj : ../imlib/include\timage.hpp
+src\wat\debug\chars.obj : inc\points.hpp
+src\wat\debug\chars.obj : inc\items.hpp
+src\wat\debug\chars.obj : ../imlib/include\system.h
+src\wat\debug\chars.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\chars.obj : ../imlib/include\specs.hpp
+src\wat\debug\chars.obj : ../imlib/include\palette.hpp
+src\wat\debug\chars.obj : ../imlib/include\linked.hpp
+src\wat\debug\chars.obj : ../imlib/include\image.hpp
+src\wat\debug\chars.obj : inc\seq.hpp
+src\wat\debug\chars.obj : inc\chars.hpp
+src\wat\debug\level.obj : src\level.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\level.c -fo=src\wat\debug\level.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\level.obj : src/net/inc\indian.hpp
+src\wat\debug\level.obj : inc\netface.hpp
+src\wat\debug\level.obj : inc\nfserver.hpp
+src\wat\debug\level.obj : inc\cop.hpp
+src\wat\debug\level.obj : inc\sbar.hpp
+src\wat\debug\level.obj : inc\profile.hpp
+src\wat\debug\level.obj : ../imlib/include\image24.hpp
+src\wat\debug\level.obj : ../imlib/include\pcxread.hpp
+src\wat\debug\level.obj : inc\demo.hpp
+src\wat\debug\level.obj : inc\console.hpp
+src\wat\debug\level.obj : inc\dev.hpp
+src\wat\debug\level.obj : ../imlib/include\visobj.hpp
+src\wat\debug\level.obj : ../imlib/include\status.hpp
+src\wat\debug\level.obj : inc\clisp.hpp
+src\wat\debug\level.obj : ../imlib/include\jrand.hpp
+src\wat\debug\level.obj : ../imlib/include\dprint.hpp
+src\wat\debug\level.obj : inc\intsect.hpp
+src\wat\debug\level.obj : inc\director.hpp
+src\wat\debug\level.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\level.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\level.obj : inc\game.hpp
+src\wat\debug\level.obj : inc\id.hpp
+src\wat\debug\level.obj : inc\extend.hpp
+src\wat\debug\level.obj : inc\view.hpp
+src\wat\debug\level.obj : inc\loader.hpp
+src\wat\debug\level.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\level.obj : inc\morpher.hpp
+src\wat\debug\level.obj : inc\ability.hpp
+src\wat\debug\level.obj : ../imlib/include\timing.hpp
+src\wat\debug\level.obj : inc\lisp_opt.hpp
+src\wat\debug\level.obj : inc\lisp.hpp
+src\wat\debug\level.obj : inc\particle.hpp
+src\wat\debug\level.obj : ../imlib/include\sound.hpp
+src\wat\debug\level.obj : inc\cache.hpp
+src\wat\debug\level.obj : inc\points.hpp
+src\wat\debug\level.obj : inc\items.hpp
+src\wat\debug\level.obj : inc\seq.hpp
+src\wat\debug\level.obj : inc\chars.hpp
+src\wat\debug\level.obj : ../imlib/include\timage.hpp
+src\wat\debug\level.obj : ../imlib/include\fonts.hpp
+src\wat\debug\level.obj : ../imlib/include\filter.hpp
+src\wat\debug\level.obj : ../imlib/include\mouse.hpp
+src\wat\debug\level.obj : ../imlib/include\sprite.hpp
+src\wat\debug\level.obj : ../imlib/include\keys.hpp
+src\wat\debug\level.obj : ../imlib/include\event.hpp
+src\wat\debug\level.obj : ../imlib/include\video.hpp
+src\wat\debug\level.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\level.obj : ../imlib/include\input.hpp
+src\wat\debug\level.obj : inc\objects.hpp
+src\wat\debug\level.obj : inc\level.hpp
+src\wat\debug\level.obj : ../imlib/include\macs.hpp
+src\wat\debug\level.obj : inc\crc.hpp
+src\wat\debug\level.obj : inc\config.hpp
+src\wat\debug\level.obj : ../imlib/include\system.h
+src\wat\debug\level.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\level.obj : ../imlib/include\specs.hpp
+src\wat\debug\level.obj : ../imlib/include\palette.hpp
+src\wat\debug\level.obj : ../imlib/include\linked.hpp
+src\wat\debug\level.obj : ../imlib/include\image.hpp
+src\wat\debug\level.obj : inc\light.hpp
+src\wat\debug\smallfnt.obj : src\smallfnt.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\smallfnt.c -fo=src\wat\debug\smallfnt.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\smallfnt.obj : src\smallfnt.c
+src\wat\debug\automap.obj : src\automap.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\automap.c -fo=src\wat\debug\automap.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\automap.obj : inc\director.hpp
+src\wat\debug\automap.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\automap.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\automap.obj : inc\game.hpp
+src\wat\debug\automap.obj : inc\id.hpp
+src\wat\debug\automap.obj : inc\extend.hpp
+src\wat\debug\automap.obj : inc\crc.hpp
+src\wat\debug\automap.obj : inc\light.hpp
+src\wat\debug\automap.obj : inc\view.hpp
+src\wat\debug\automap.obj : inc\loader.hpp
+src\wat\debug\automap.obj : inc\config.hpp
+src\wat\debug\automap.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\automap.obj : inc\morpher.hpp
+src\wat\debug\automap.obj : inc\ability.hpp
+src\wat\debug\automap.obj : ../imlib/include\timing.hpp
+src\wat\debug\automap.obj : inc\lisp_opt.hpp
+src\wat\debug\automap.obj : inc\lisp.hpp
+src\wat\debug\automap.obj : inc\particle.hpp
+src\wat\debug\automap.obj : ../imlib/include\sound.hpp
+src\wat\debug\automap.obj : inc\cache.hpp
+src\wat\debug\automap.obj : inc\points.hpp
+src\wat\debug\automap.obj : inc\items.hpp
+src\wat\debug\automap.obj : inc\seq.hpp
+src\wat\debug\automap.obj : inc\chars.hpp
+src\wat\debug\automap.obj : ../imlib/include\input.hpp
+src\wat\debug\automap.obj : inc\objects.hpp
+src\wat\debug\automap.obj : inc\level.hpp
+src\wat\debug\automap.obj : ../imlib/include\timage.hpp
+src\wat\debug\automap.obj : ../imlib/include\fonts.hpp
+src\wat\debug\automap.obj : ../imlib/include\filter.hpp
+src\wat\debug\automap.obj : ../imlib/include\mouse.hpp
+src\wat\debug\automap.obj : ../imlib/include\macs.hpp
+src\wat\debug\automap.obj : ../imlib/include\sprite.hpp
+src\wat\debug\automap.obj : ../imlib/include\keys.hpp
+src\wat\debug\automap.obj : ../imlib/include\event.hpp
+src\wat\debug\automap.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\automap.obj : ../imlib/include\specs.hpp
+src\wat\debug\automap.obj : ../imlib/include\palette.hpp
+src\wat\debug\automap.obj : ../imlib/include\linked.hpp
+src\wat\debug\automap.obj : ../imlib/include\image.hpp
+src\wat\debug\automap.obj : ../imlib/include\system.h
+src\wat\debug\automap.obj : ../imlib/include\video.hpp
+src\wat\debug\automap.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\automap.obj : inc\automap.hpp
+src\wat\debug\help.obj : src\help.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\help.c -fo=src\wat\debug\help.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\help.obj : inc\director.hpp
+src\wat\debug\help.obj : inc\id.hpp
+src\wat\debug\help.obj : inc\extend.hpp
+src\wat\debug\help.obj : inc\crc.hpp
+src\wat\debug\help.obj : inc\light.hpp
+src\wat\debug\help.obj : inc\view.hpp
+src\wat\debug\help.obj : inc\config.hpp
+src\wat\debug\help.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\help.obj : inc\morpher.hpp
+src\wat\debug\help.obj : inc\ability.hpp
+src\wat\debug\help.obj : inc\particle.hpp
+src\wat\debug\help.obj : inc\cache.hpp
+src\wat\debug\help.obj : inc\seq.hpp
+src\wat\debug\help.obj : inc\chars.hpp
+src\wat\debug\help.obj : ../imlib/include\input.hpp
+src\wat\debug\help.obj : inc\objects.hpp
+src\wat\debug\help.obj : inc\level.hpp
+src\wat\debug\help.obj : inc\points.hpp
+src\wat\debug\help.obj : inc\items.hpp
+src\wat\debug\help.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\help.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\help.obj : ../imlib/include\sound.hpp
+src\wat\debug\help.obj : ../imlib/include\timing.hpp
+src\wat\debug\help.obj : inc\lisp_opt.hpp
+src\wat\debug\help.obj : inc\lisp.hpp
+src\wat\debug\help.obj : ../imlib/include\timage.hpp
+src\wat\debug\help.obj : ../imlib/include\fonts.hpp
+src\wat\debug\help.obj : ../imlib/include\filter.hpp
+src\wat\debug\help.obj : ../imlib/include\video.hpp
+src\wat\debug\help.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\help.obj : inc\loader.hpp
+src\wat\debug\help.obj : inc\game.hpp
+src\wat\debug\help.obj : ../imlib/include\mouse.hpp
+src\wat\debug\help.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\help.obj : ../imlib/include\specs.hpp
+src\wat\debug\help.obj : ../imlib/include\palette.hpp
+src\wat\debug\help.obj : ../imlib/include\linked.hpp
+src\wat\debug\help.obj : ../imlib/include\image.hpp
+src\wat\debug\help.obj : ../imlib/include\system.h
+src\wat\debug\help.obj : ../imlib/include\macs.hpp
+src\wat\debug\help.obj : ../imlib/include\sprite.hpp
+src\wat\debug\help.obj : ../imlib/include\keys.hpp
+src\wat\debug\help.obj : ../imlib/include\event.hpp
+src\wat\debug\help.obj : inc\help.hpp
+src\wat\debug\intsect.obj : src\intsect.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\intsect.c -fo=src\wat\debug\intsect.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\intsect.obj : ../imlib/include\system.h
+src\wat\debug\intsect.obj : ../imlib/include\macs.hpp
+src\wat\debug\loader.obj : src\loader.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\loader.c -fo=src\wat\debug\loader.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\loader.obj : src/net/inc\indian.hpp
+src\wat\debug\loader.obj : inc\netface.hpp
+src\wat\debug\loader.obj : inc\nfserver.hpp
+src\wat\debug\loader.obj : inc\loadgame.hpp
+src\wat\debug\loader.obj : inc\help.hpp
+src\wat\debug\loader.obj : inc\sbar.hpp
+src\wat\debug\loader.obj : inc\compiled.hpp
+src\wat\debug\loader.obj : inc\clisp.hpp
+src\wat\debug\loader.obj : ../imlib/include\dprint.hpp
+src\wat\debug\loader.obj : ../imlib/include\morph.hpp
+src\wat\debug\loader.obj : inc\console.hpp
+src\wat\debug\loader.obj : inc\director.hpp
+src\wat\debug\loader.obj : inc\id.hpp
+src\wat\debug\loader.obj : inc\extend.hpp
+src\wat\debug\loader.obj : inc\crc.hpp
+src\wat\debug\loader.obj : inc\light.hpp
+src\wat\debug\loader.obj : inc\view.hpp
+src\wat\debug\loader.obj : inc\config.hpp
+src\wat\debug\loader.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\loader.obj : inc\morpher.hpp
+src\wat\debug\loader.obj : ../imlib/include\input.hpp
+src\wat\debug\loader.obj : inc\objects.hpp
+src\wat\debug\loader.obj : inc\level.hpp
+src\wat\debug\loader.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\loader.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\loader.obj : inc\game.hpp
+src\wat\debug\loader.obj : inc\dev.hpp
+src\wat\debug\loader.obj : inc\menu.hpp
+src\wat\debug\loader.obj : ../imlib/include\jrand.hpp
+src\wat\debug\loader.obj : inc\parse.hpp
+src\wat\debug\loader.obj : inc\ability.hpp
+src\wat\debug\loader.obj : inc\particle.hpp
+src\wat\debug\loader.obj : inc\cache.hpp
+src\wat\debug\loader.obj : inc\points.hpp
+src\wat\debug\loader.obj : inc\items.hpp
+src\wat\debug\loader.obj : inc\seq.hpp
+src\wat\debug\loader.obj : inc\chars.hpp
+src\wat\debug\loader.obj : ../imlib/include\sound.hpp
+src\wat\debug\loader.obj : inc\lisp_opt.hpp
+src\wat\debug\loader.obj : inc\lisp.hpp
+src\wat\debug\loader.obj : ../imlib/include\timage.hpp
+src\wat\debug\loader.obj : ../imlib/include\fonts.hpp
+src\wat\debug\loader.obj : ../imlib/include\filter.hpp
+src\wat\debug\loader.obj : ../imlib/include\mouse.hpp
+src\wat\debug\loader.obj : ../imlib/include\macs.hpp
+src\wat\debug\loader.obj : ../imlib/include\sprite.hpp
+src\wat\debug\loader.obj : ../imlib/include\keys.hpp
+src\wat\debug\loader.obj : ../imlib/include\event.hpp
+src\wat\debug\loader.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\loader.obj : ../imlib/include\specs.hpp
+src\wat\debug\loader.obj : ../imlib/include\palette.hpp
+src\wat\debug\loader.obj : ../imlib/include\linked.hpp
+src\wat\debug\loader.obj : ../imlib/include\image.hpp
+src\wat\debug\loader.obj : ../imlib/include\system.h
+src\wat\debug\loader.obj : ../imlib/include\video.hpp
+src\wat\debug\loader.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\loader.obj : inc\loader.hpp
+src\wat\debug\loader.obj : ../imlib/include\timing.hpp
+src\wat\debug\seq.obj : src\seq.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\seq.c -fo=src\wat\debug\seq.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\seq.obj : inc\parse.hpp
+src\wat\debug\seq.obj : ../imlib/include\timing.hpp
+src\wat\debug\seq.obj : inc\lisp_opt.hpp
+src\wat\debug\seq.obj : inc\lisp.hpp
+src\wat\debug\seq.obj : inc\particle.hpp
+src\wat\debug\seq.obj : ../imlib/include\sound.hpp
+src\wat\debug\seq.obj : inc\cache.hpp
+src\wat\debug\seq.obj : ../imlib/include\filter.hpp
+src\wat\debug\seq.obj : ../imlib/include\macs.hpp
+src\wat\debug\seq.obj : ../imlib/include\timage.hpp
+src\wat\debug\seq.obj : inc\points.hpp
+src\wat\debug\seq.obj : inc\items.hpp
+src\wat\debug\seq.obj : ../imlib/include\system.h
+src\wat\debug\seq.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\seq.obj : ../imlib/include\specs.hpp
+src\wat\debug\seq.obj : ../imlib/include\palette.hpp
+src\wat\debug\seq.obj : ../imlib/include\linked.hpp
+src\wat\debug\seq.obj : ../imlib/include\image.hpp
+src\wat\debug\seq.obj : inc\seq.hpp
+src\wat\debug\points.obj : src\points.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\points.c -fo=src\wat\debug\points.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\points.obj : inc\console.hpp
+src\wat\debug\points.obj : inc\director.hpp
+src\wat\debug\points.obj : inc\id.hpp
+src\wat\debug\points.obj : inc\extend.hpp
+src\wat\debug\points.obj : inc\crc.hpp
+src\wat\debug\points.obj : inc\light.hpp
+src\wat\debug\points.obj : inc\view.hpp
+src\wat\debug\points.obj : inc\config.hpp
+src\wat\debug\points.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\points.obj : inc\morpher.hpp
+src\wat\debug\points.obj : inc\ability.hpp
+src\wat\debug\points.obj : inc\particle.hpp
+src\wat\debug\points.obj : inc\cache.hpp
+src\wat\debug\points.obj : inc\seq.hpp
+src\wat\debug\points.obj : inc\chars.hpp
+src\wat\debug\points.obj : ../imlib/include\input.hpp
+src\wat\debug\points.obj : inc\objects.hpp
+src\wat\debug\points.obj : inc\level.hpp
+src\wat\debug\points.obj : inc\items.hpp
+src\wat\debug\points.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\points.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\points.obj : ../imlib/include\sound.hpp
+src\wat\debug\points.obj : ../imlib/include\timing.hpp
+src\wat\debug\points.obj : inc\lisp_opt.hpp
+src\wat\debug\points.obj : inc\lisp.hpp
+src\wat\debug\points.obj : ../imlib/include\timage.hpp
+src\wat\debug\points.obj : ../imlib/include\fonts.hpp
+src\wat\debug\points.obj : ../imlib/include\filter.hpp
+src\wat\debug\points.obj : ../imlib/include\mouse.hpp
+src\wat\debug\points.obj : ../imlib/include\macs.hpp
+src\wat\debug\points.obj : ../imlib/include\sprite.hpp
+src\wat\debug\points.obj : ../imlib/include\keys.hpp
+src\wat\debug\points.obj : ../imlib/include\event.hpp
+src\wat\debug\points.obj : ../imlib/include\palette.hpp
+src\wat\debug\points.obj : ../imlib/include\image.hpp
+src\wat\debug\points.obj : ../imlib/include\video.hpp
+src\wat\debug\points.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\points.obj : inc\loader.hpp
+src\wat\debug\points.obj : inc\game.hpp
+src\wat\debug\points.obj : inc\dev.hpp
+src\wat\debug\points.obj : ../imlib/include\system.h
+src\wat\debug\points.obj : ../imlib/include\linked.hpp
+src\wat\debug\points.obj : ../imlib/include\specs.hpp
+src\wat\debug\points.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\points.obj : inc\points.hpp
+src\wat\debug\fnt6x13.obj : src\fnt6x13.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\fnt6x13.c -fo=src\wat\debug\fnt6x13.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\fnt6x13.obj : src\fnt6x13.c
+src\wat\debug\morpher.obj : src\morpher.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\morpher.c -fo=src\wat\debug\morpher.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\morpher.obj : inc\director.hpp
+src\wat\debug\morpher.obj : inc\id.hpp
+src\wat\debug\morpher.obj : inc\extend.hpp
+src\wat\debug\morpher.obj : inc\crc.hpp
+src\wat\debug\morpher.obj : inc\light.hpp
+src\wat\debug\morpher.obj : inc\view.hpp
+src\wat\debug\morpher.obj : inc\ability.hpp
+src\wat\debug\morpher.obj : inc\particle.hpp
+src\wat\debug\morpher.obj : inc\cache.hpp
+src\wat\debug\morpher.obj : inc\seq.hpp
+src\wat\debug\morpher.obj : inc\chars.hpp
+src\wat\debug\morpher.obj : ../imlib/include\input.hpp
+src\wat\debug\morpher.obj : inc\objects.hpp
+src\wat\debug\morpher.obj : inc\level.hpp
+src\wat\debug\morpher.obj : inc\points.hpp
+src\wat\debug\morpher.obj : inc\items.hpp
+src\wat\debug\morpher.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\morpher.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\morpher.obj : ../imlib/include\sound.hpp
+src\wat\debug\morpher.obj : ../imlib/include\timing.hpp
+src\wat\debug\morpher.obj : inc\lisp_opt.hpp
+src\wat\debug\morpher.obj : inc\lisp.hpp
+src\wat\debug\morpher.obj : ../imlib/include\fonts.hpp
+src\wat\debug\morpher.obj : ../imlib/include\mouse.hpp
+src\wat\debug\morpher.obj : ../imlib/include\sprite.hpp
+src\wat\debug\morpher.obj : ../imlib/include\keys.hpp
+src\wat\debug\morpher.obj : ../imlib/include\event.hpp
+src\wat\debug\morpher.obj : ../imlib/include\video.hpp
+src\wat\debug\morpher.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\morpher.obj : inc\loader.hpp
+src\wat\debug\morpher.obj : inc\game.hpp
+src\wat\debug\morpher.obj : inc\config.hpp
+src\wat\debug\morpher.obj : ../imlib/include\filter.hpp
+src\wat\debug\morpher.obj : ../imlib/include\macs.hpp
+src\wat\debug\morpher.obj : ../imlib/include\system.h
+src\wat\debug\morpher.obj : ../imlib/include\specs.hpp
+src\wat\debug\morpher.obj : ../imlib/include\palette.hpp
+src\wat\debug\morpher.obj : ../imlib/include\linked.hpp
+src\wat\debug\morpher.obj : ../imlib/include\image.hpp
+src\wat\debug\morpher.obj : ../imlib/include\timage.hpp
+src\wat\debug\morpher.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\morpher.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\morpher.obj : inc\morpher.hpp
+src\wat\debug\menu.obj : src\menu.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\menu.c -fo=src\wat\debug\menu.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\menu.obj : inc\loadgame.hpp
+src\wat\debug\menu.obj : inc\demo.hpp
+src\wat\debug\menu.obj : ../imlib/include\dprint.hpp
+src\wat\debug\menu.obj : inc\gamma.hpp
+src\wat\debug\menu.obj : inc\clisp.hpp
+src\wat\debug\menu.obj : inc\console.hpp
+src\wat\debug\menu.obj : inc\dev.hpp
+src\wat\debug\menu.obj : inc\property.hpp
+src\wat\debug\menu.obj : inc\gui.hpp
+src\wat\debug\menu.obj : ../imlib/include\pmenu.hpp
+src\wat\debug\menu.obj : inc\director.hpp
+src\wat\debug\menu.obj : inc\id.hpp
+src\wat\debug\menu.obj : inc\extend.hpp
+src\wat\debug\menu.obj : inc\crc.hpp
+src\wat\debug\menu.obj : inc\light.hpp
+src\wat\debug\menu.obj : inc\view.hpp
+src\wat\debug\menu.obj : inc\config.hpp
+src\wat\debug\menu.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\menu.obj : inc\morpher.hpp
+src\wat\debug\menu.obj : inc\ability.hpp
+src\wat\debug\menu.obj : inc\particle.hpp
+src\wat\debug\menu.obj : inc\cache.hpp
+src\wat\debug\menu.obj : inc\seq.hpp
+src\wat\debug\menu.obj : inc\chars.hpp
+src\wat\debug\menu.obj : ../imlib/include\input.hpp
+src\wat\debug\menu.obj : inc\objects.hpp
+src\wat\debug\menu.obj : inc\level.hpp
+src\wat\debug\menu.obj : inc\points.hpp
+src\wat\debug\menu.obj : inc\items.hpp
+src\wat\debug\menu.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\menu.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\menu.obj : inc\game.hpp
+src\wat\debug\menu.obj : ../imlib/include\sound.hpp
+src\wat\debug\menu.obj : ../imlib/include\mouse.hpp
+src\wat\debug\menu.obj : ../imlib/include\sprite.hpp
+src\wat\debug\menu.obj : ../imlib/include\keys.hpp
+src\wat\debug\menu.obj : ../imlib/include\event.hpp
+src\wat\debug\menu.obj : ../imlib/include\video.hpp
+src\wat\debug\menu.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\menu.obj : inc\loader.hpp
+src\wat\debug\menu.obj : ../imlib/include\timing.hpp
+src\wat\debug\menu.obj : inc\lisp_opt.hpp
+src\wat\debug\menu.obj : inc\lisp.hpp
+src\wat\debug\menu.obj : ../imlib/include\filter.hpp
+src\wat\debug\menu.obj : ../imlib/include\macs.hpp
+src\wat\debug\menu.obj : ../imlib/include\timage.hpp
+src\wat\debug\menu.obj : ../imlib/include\system.h
+src\wat\debug\menu.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\menu.obj : ../imlib/include\specs.hpp
+src\wat\debug\menu.obj : ../imlib/include\palette.hpp
+src\wat\debug\menu.obj : ../imlib/include\linked.hpp
+src\wat\debug\menu.obj : ../imlib/include\image.hpp
+src\wat\debug\menu.obj : ../imlib/include\fonts.hpp
+src\wat\debug\menu.obj : inc\menu.hpp
+src\wat\debug\director.obj : src\director.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\director.c -fo=src\wat\debug\director.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\director.obj : inc\id.hpp
+src\wat\debug\director.obj : inc\extend.hpp
+src\wat\debug\director.obj : inc\crc.hpp
+src\wat\debug\director.obj : inc\light.hpp
+src\wat\debug\director.obj : inc\view.hpp
+src\wat\debug\director.obj : inc\config.hpp
+src\wat\debug\director.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\director.obj : inc\morpher.hpp
+src\wat\debug\director.obj : inc\ability.hpp
+src\wat\debug\director.obj : inc\particle.hpp
+src\wat\debug\director.obj : inc\cache.hpp
+src\wat\debug\director.obj : inc\seq.hpp
+src\wat\debug\director.obj : inc\chars.hpp
+src\wat\debug\director.obj : ../imlib/include\input.hpp
+src\wat\debug\director.obj : inc\objects.hpp
+src\wat\debug\director.obj : inc\level.hpp
+src\wat\debug\director.obj : inc\points.hpp
+src\wat\debug\director.obj : inc\items.hpp
+src\wat\debug\director.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\director.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\director.obj : ../imlib/include\sound.hpp
+src\wat\debug\director.obj : inc\lisp_opt.hpp
+src\wat\debug\director.obj : inc\lisp.hpp
+src\wat\debug\director.obj : ../imlib/include\timage.hpp
+src\wat\debug\director.obj : ../imlib/include\fonts.hpp
+src\wat\debug\director.obj : ../imlib/include\filter.hpp
+src\wat\debug\director.obj : ../imlib/include\mouse.hpp
+src\wat\debug\director.obj : ../imlib/include\macs.hpp
+src\wat\debug\director.obj : ../imlib/include\sprite.hpp
+src\wat\debug\director.obj : ../imlib/include\keys.hpp
+src\wat\debug\director.obj : ../imlib/include\event.hpp
+src\wat\debug\director.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\director.obj : ../imlib/include\specs.hpp
+src\wat\debug\director.obj : ../imlib/include\palette.hpp
+src\wat\debug\director.obj : ../imlib/include\linked.hpp
+src\wat\debug\director.obj : ../imlib/include\image.hpp
+src\wat\debug\director.obj : ../imlib/include\system.h
+src\wat\debug\director.obj : ../imlib/include\video.hpp
+src\wat\debug\director.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\director.obj : inc\loader.hpp
+src\wat\debug\director.obj : inc\game.hpp
+src\wat\debug\director.obj : ../imlib/include\timing.hpp
+src\wat\debug\director.obj : inc\director.hpp
+src\wat\debug\view.obj : src\view.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\view.c -fo=src\wat\debug\view.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\view.obj : inc\chat.hpp
+src\wat\debug\view.obj : src/net/inc\indian.hpp
+src\wat\debug\view.obj : inc\netface.hpp
+src\wat\debug\view.obj : inc\nfserver.hpp
+src\wat\debug\view.obj : inc\sbar.hpp
+src\wat\debug\view.obj : inc\demo.hpp
+src\wat\debug\view.obj : inc\clisp.hpp
+src\wat\debug\view.obj : inc\transp.hpp
+src\wat\debug\view.obj : ../imlib/include\dprint.hpp
+src\wat\debug\view.obj : ../imlib/include\jrand.hpp
+src\wat\debug\view.obj : inc\console.hpp
+src\wat\debug\view.obj : inc\director.hpp
+src\wat\debug\view.obj : inc\extend.hpp
+src\wat\debug\view.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\view.obj : inc\morpher.hpp
+src\wat\debug\view.obj : inc\ability.hpp
+src\wat\debug\view.obj : inc\particle.hpp
+src\wat\debug\view.obj : inc\cache.hpp
+src\wat\debug\view.obj : inc\seq.hpp
+src\wat\debug\view.obj : inc\chars.hpp
+src\wat\debug\view.obj : inc\objects.hpp
+src\wat\debug\view.obj : inc\level.hpp
+src\wat\debug\view.obj : inc\points.hpp
+src\wat\debug\view.obj : inc\items.hpp
+src\wat\debug\view.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\view.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\view.obj : ../imlib/include\sound.hpp
+src\wat\debug\view.obj : inc\loader.hpp
+src\wat\debug\view.obj : inc\game.hpp
+src\wat\debug\view.obj : inc\dev.hpp
+src\wat\debug\view.obj : inc\id.hpp
+src\wat\debug\view.obj : ../imlib/include\input.hpp
+src\wat\debug\view.obj : ../imlib/include\scroller.hpp
+src\wat\debug\view.obj : ../imlib/include\timing.hpp
+src\wat\debug\view.obj : inc\lisp_opt.hpp
+src\wat\debug\view.obj : inc\lisp.hpp
+src\wat\debug\view.obj : ../imlib/include\timage.hpp
+src\wat\debug\view.obj : ../imlib/include\fonts.hpp
+src\wat\debug\view.obj : ../imlib/include\filter.hpp
+src\wat\debug\view.obj : ../imlib/include\mouse.hpp
+src\wat\debug\view.obj : ../imlib/include\sprite.hpp
+src\wat\debug\view.obj : ../imlib/include\keys.hpp
+src\wat\debug\view.obj : ../imlib/include\event.hpp
+src\wat\debug\view.obj : ../imlib/include\video.hpp
+src\wat\debug\view.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\view.obj : ../imlib/include\macs.hpp
+src\wat\debug\view.obj : inc\crc.hpp
+src\wat\debug\view.obj : inc\config.hpp
+src\wat\debug\view.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\view.obj : ../imlib/include\specs.hpp
+src\wat\debug\view.obj : ../imlib/include\palette.hpp
+src\wat\debug\view.obj : ../imlib/include\linked.hpp
+src\wat\debug\view.obj : ../imlib/include\image.hpp
+src\wat\debug\view.obj : inc\light.hpp
+src\wat\debug\view.obj : inc\view.hpp
+src\wat\debug\view.obj : ../imlib/include\system.h
+src\wat\debug\config.obj : src\config.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\config.c -fo=src\wat\debug\config.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\config.obj : inc\director.hpp
+src\wat\debug\config.obj : inc\id.hpp
+src\wat\debug\config.obj : inc\extend.hpp
+src\wat\debug\config.obj : inc\crc.hpp
+src\wat\debug\config.obj : inc\light.hpp
+src\wat\debug\config.obj : inc\view.hpp
+src\wat\debug\config.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\config.obj : inc\morpher.hpp
+src\wat\debug\config.obj : inc\ability.hpp
+src\wat\debug\config.obj : inc\particle.hpp
+src\wat\debug\config.obj : inc\cache.hpp
+src\wat\debug\config.obj : inc\seq.hpp
+src\wat\debug\config.obj : inc\chars.hpp
+src\wat\debug\config.obj : ../imlib/include\input.hpp
+src\wat\debug\config.obj : inc\objects.hpp
+src\wat\debug\config.obj : inc\level.hpp
+src\wat\debug\config.obj : inc\points.hpp
+src\wat\debug\config.obj : inc\items.hpp
+src\wat\debug\config.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\config.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\config.obj : ../imlib/include\sound.hpp
+src\wat\debug\config.obj : inc\loader.hpp
+src\wat\debug\config.obj : inc\game.hpp
+src\wat\debug\config.obj : inc\config.hpp
+src\wat\debug\config.obj : ../imlib/include\timage.hpp
+src\wat\debug\config.obj : ../imlib/include\fonts.hpp
+src\wat\debug\config.obj : ../imlib/include\filter.hpp
+src\wat\debug\config.obj : ../imlib/include\mouse.hpp
+src\wat\debug\config.obj : ../imlib/include\macs.hpp
+src\wat\debug\config.obj : ../imlib/include\sprite.hpp
+src\wat\debug\config.obj : ../imlib/include\event.hpp
+src\wat\debug\config.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\config.obj : ../imlib/include\specs.hpp
+src\wat\debug\config.obj : ../imlib/include\palette.hpp
+src\wat\debug\config.obj : ../imlib/include\linked.hpp
+src\wat\debug\config.obj : ../imlib/include\image.hpp
+src\wat\debug\config.obj : ../imlib/include\system.h
+src\wat\debug\config.obj : ../imlib/include\video.hpp
+src\wat\debug\config.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\config.obj : ../imlib/include\joy.hpp
+src\wat\debug\config.obj : ../imlib/include\timing.hpp
+src\wat\debug\config.obj : inc\lisp_opt.hpp
+src\wat\debug\config.obj : inc\lisp.hpp
+src\wat\debug\config.obj : ../imlib/include\keys.hpp
+src\wat\debug\game.obj : src\game.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\game.c -fo=src\wat\debug\game.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\game.obj : inc\chat.hpp
+src\wat\debug\game.obj : ../imlib/include\pmenu.hpp
+src\wat\debug\game.obj : inc\compiled.hpp
+src\wat\debug\game.obj : inc\profile.hpp
+src\wat\debug\game.obj : inc\sbar.hpp
+src\wat\debug\game.obj : inc\demo.hpp
+src\wat\debug\game.obj : inc\fakelib.hpp
+src\wat\debug\game.obj : inc\stack.hpp
+src\wat\debug\game.obj : inc\lisp_gc.hpp
+src\wat\debug\game.obj : inc\gamma.hpp
+src\wat\debug\game.obj : inc\menu.hpp
+src\wat\debug\game.obj : ../imlib/include\visobj.hpp
+src\wat\debug\game.obj : ../imlib/include\status.hpp
+src\wat\debug\game.obj : ../imlib/include\guistat.hpp
+src\wat\debug\game.obj : inc\clisp.hpp
+src\wat\debug\game.obj : inc\transp.hpp
+src\wat\debug\game.obj : src/net/inc\indian.hpp
+src\wat\debug\game.obj : inc\netface.hpp
+src\wat\debug\game.obj : inc\nfserver.hpp
+src\wat\debug\game.obj : ../imlib/include\dprint.hpp
+src\wat\debug\game.obj : ../imlib/include\scroller.hpp
+src\wat\debug\game.obj : ../imlib/include\jrand.hpp
+src\wat\debug\game.obj : inc\help.hpp
+src\wat\debug\game.obj : inc\automap.hpp
+src\wat\debug\game.obj : ../imlib/include\joy.hpp
+src\wat\debug\game.obj : inc\console.hpp
+src\wat\debug\game.obj : inc\dev.hpp
+src\wat\debug\game.obj : inc\director.hpp
+src\wat\debug\game.obj : inc\id.hpp
+src\wat\debug\game.obj : inc\extend.hpp
+src\wat\debug\game.obj : inc\crc.hpp
+src\wat\debug\game.obj : inc\light.hpp
+src\wat\debug\game.obj : inc\view.hpp
+src\wat\debug\game.obj : inc\config.hpp
+src\wat\debug\game.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\game.obj : inc\morpher.hpp
+src\wat\debug\game.obj : inc\ability.hpp
+src\wat\debug\game.obj : inc\particle.hpp
+src\wat\debug\game.obj : inc\cache.hpp
+src\wat\debug\game.obj : inc\seq.hpp
+src\wat\debug\game.obj : inc\chars.hpp
+src\wat\debug\game.obj : ../imlib/include\input.hpp
+src\wat\debug\game.obj : inc\objects.hpp
+src\wat\debug\game.obj : inc\level.hpp
+src\wat\debug\game.obj : inc\points.hpp
+src\wat\debug\game.obj : inc\items.hpp
+src\wat\debug\game.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\game.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\game.obj : ../imlib/include\sound.hpp
+src\wat\debug\game.obj : ../imlib/include\timing.hpp
+src\wat\debug\game.obj : inc\lisp_opt.hpp
+src\wat\debug\game.obj : inc\lisp.hpp
+src\wat\debug\game.obj : ../imlib/include\timage.hpp
+src\wat\debug\game.obj : ../imlib/include\fonts.hpp
+src\wat\debug\game.obj : ../imlib/include\filter.hpp
+src\wat\debug\game.obj : ../imlib/include\mouse.hpp
+src\wat\debug\game.obj : ../imlib/include\macs.hpp
+src\wat\debug\game.obj : ../imlib/include\sprite.hpp
+src\wat\debug\game.obj : ../imlib/include\keys.hpp
+src\wat\debug\game.obj : ../imlib/include\event.hpp
+src\wat\debug\game.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\game.obj : ../imlib/include\specs.hpp
+src\wat\debug\game.obj : ../imlib/include\palette.hpp
+src\wat\debug\game.obj : ../imlib/include\linked.hpp
+src\wat\debug\game.obj : ../imlib/include\image.hpp
+src\wat\debug\game.obj : ../imlib/include\system.h
+src\wat\debug\game.obj : ../imlib/include\video.hpp
+src\wat\debug\game.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\game.obj : inc\loader.hpp
+src\wat\debug\game.obj : inc\game.hpp
+src\wat\debug\light.obj : src\light.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\light.c -fo=src\wat\debug\light.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\light.obj : inc\console.hpp
+src\wat\debug\light.obj : inc\director.hpp
+src\wat\debug\light.obj : inc\id.hpp
+src\wat\debug\light.obj : inc\extend.hpp
+src\wat\debug\light.obj : inc\view.hpp
+src\wat\debug\light.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\light.obj : inc\morpher.hpp
+src\wat\debug\light.obj : inc\ability.hpp
+src\wat\debug\light.obj : inc\particle.hpp
+src\wat\debug\light.obj : inc\cache.hpp
+src\wat\debug\light.obj : inc\seq.hpp
+src\wat\debug\light.obj : inc\chars.hpp
+src\wat\debug\light.obj : ../imlib/include\input.hpp
+src\wat\debug\light.obj : inc\objects.hpp
+src\wat\debug\light.obj : inc\level.hpp
+src\wat\debug\light.obj : inc\points.hpp
+src\wat\debug\light.obj : inc\items.hpp
+src\wat\debug\light.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\light.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\light.obj : ../imlib/include\sound.hpp
+src\wat\debug\light.obj : inc\lisp_opt.hpp
+src\wat\debug\light.obj : inc\lisp.hpp
+src\wat\debug\light.obj : inc\loader.hpp
+src\wat\debug\light.obj : inc\game.hpp
+src\wat\debug\light.obj : inc\dev.hpp
+src\wat\debug\light.obj : ../imlib/include\timage.hpp
+src\wat\debug\light.obj : ../imlib/include\fonts.hpp
+src\wat\debug\light.obj : ../imlib/include\mouse.hpp
+src\wat\debug\light.obj : ../imlib/include\sprite.hpp
+src\wat\debug\light.obj : ../imlib/include\keys.hpp
+src\wat\debug\light.obj : ../imlib/include\event.hpp
+src\wat\debug\light.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\light.obj : ../imlib/include\visobj.hpp
+src\wat\debug\light.obj : ../imlib/include\status.hpp
+src\wat\debug\light.obj : ../imlib/include\filter.hpp
+src\wat\debug\light.obj : ../imlib/include\dprint.hpp
+src\wat\debug\light.obj : ../imlib/include\timing.hpp
+src\wat\debug\light.obj : ../imlib/include\video.hpp
+src\wat\debug\light.obj : ../imlib/include\macs.hpp
+src\wat\debug\light.obj : inc\crc.hpp
+src\wat\debug\light.obj : inc\config.hpp
+src\wat\debug\light.obj : ../imlib/include\system.h
+src\wat\debug\light.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\light.obj : ../imlib/include\specs.hpp
+src\wat\debug\light.obj : ../imlib/include\palette.hpp
+src\wat\debug\light.obj : ../imlib/include\linked.hpp
+src\wat\debug\light.obj : ../imlib/include\image.hpp
+src\wat\debug\light.obj : inc\light.hpp
+src\wat\debug\devsel.obj : src\devsel.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\devsel.c -fo=src\wat\debug\devsel.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\devsel.obj : inc\director.hpp
+src\wat\debug\devsel.obj : inc\id.hpp
+src\wat\debug\devsel.obj : inc\extend.hpp
+src\wat\debug\devsel.obj : inc\crc.hpp
+src\wat\debug\devsel.obj : inc\light.hpp
+src\wat\debug\devsel.obj : inc\view.hpp
+src\wat\debug\devsel.obj : inc\config.hpp
+src\wat\debug\devsel.obj : ../imlib/include\supmorph.hpp
+src\wat\debug\devsel.obj : inc\morpher.hpp
+src\wat\debug\devsel.obj : inc\ability.hpp
+src\wat\debug\devsel.obj : inc\seq.hpp
+src\wat\debug\devsel.obj : inc\chars.hpp
+src\wat\debug\devsel.obj : inc\objects.hpp
+src\wat\debug\devsel.obj : inc\level.hpp
+src\wat\debug\devsel.obj : ../imlib/include\monoprnt.hpp
+src\wat\debug\devsel.obj : ../imlib/include\mdlread.hpp
+src\wat\debug\devsel.obj : inc\game.hpp
+src\wat\debug\devsel.obj : inc\loader.hpp
+src\wat\debug\devsel.obj : ../imlib/include\timing.hpp
+src\wat\debug\devsel.obj : inc\lisp_opt.hpp
+src\wat\debug\devsel.obj : inc\lisp.hpp
+src\wat\debug\devsel.obj : inc\particle.hpp
+src\wat\debug\devsel.obj : ../imlib/include\sound.hpp
+src\wat\debug\devsel.obj : inc\points.hpp
+src\wat\debug\devsel.obj : inc\items.hpp
+src\wat\debug\devsel.obj : inc\cache.hpp
+src\wat\debug\devsel.obj : ../imlib/include\timage.hpp
+src\wat\debug\devsel.obj : ../imlib/include\fonts.hpp
+src\wat\debug\devsel.obj : ../imlib/include\filter.hpp
+src\wat\debug\devsel.obj : ../imlib/include\mouse.hpp
+src\wat\debug\devsel.obj : ../imlib/include\macs.hpp
+src\wat\debug\devsel.obj : ../imlib/include\sprite.hpp
+src\wat\debug\devsel.obj : ../imlib/include\keys.hpp
+src\wat\debug\devsel.obj : ../imlib/include\event.hpp
+src\wat\debug\devsel.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\devsel.obj : ../imlib/include\specs.hpp
+src\wat\debug\devsel.obj : ../imlib/include\palette.hpp
+src\wat\debug\devsel.obj : ../imlib/include\linked.hpp
+src\wat\debug\devsel.obj : ../imlib/include\image.hpp
+src\wat\debug\devsel.obj : ../imlib/include\system.h
+src\wat\debug\devsel.obj : ../imlib/include\video.hpp
+src\wat\debug\devsel.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\devsel.obj : ../imlib/include\input.hpp
+src\wat\debug\devsel.obj : ../imlib/include\scroller.hpp
+src\wat\debug\devsel.obj : inc\devsel.hpp
+src\wat\debug\crc.obj : src\crc.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\crc.c -fo=src\wat\debug\crc.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\crc.obj : ../imlib/include\macs.hpp
+src\wat\debug\crc.obj : ../imlib/include\system.h
+src\wat\debug\crc.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\crc.obj : ../imlib/include\linked.hpp
+src\wat\debug\crc.obj : ../imlib/include\specs.hpp
+src\wat\debug\crc.obj : inc\crc.hpp
+src\wat\debug\gamma.obj : src\gamma.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\gamma.c -fo=src\wat\debug\gamma.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\gamma.obj : ../imlib/include\dprint.hpp
+src\wat\debug\gamma.obj : inc\loader.hpp
+src\wat\debug\gamma.obj : inc\language.hpp
+src\wat\debug\gamma.obj : inc\particle.hpp
+src\wat\debug\gamma.obj : ../imlib/include\sound.hpp
+src\wat\debug\gamma.obj : inc\points.hpp
+src\wat\debug\gamma.obj : inc\items.hpp
+src\wat\debug\gamma.obj : inc\cache.hpp
+src\wat\debug\gamma.obj : inc\id.hpp
+src\wat\debug\gamma.obj : ../imlib/include\input.hpp
+src\wat\debug\gamma.obj : ../imlib/include\scroller.hpp
+src\wat\debug\gamma.obj : ../imlib/include\timing.hpp
+src\wat\debug\gamma.obj : inc\lisp_opt.hpp
+src\wat\debug\gamma.obj : inc\lisp.hpp
+src\wat\debug\gamma.obj : ../imlib/include\timage.hpp
+src\wat\debug\gamma.obj : ../imlib/include\fonts.hpp
+src\wat\debug\gamma.obj : ../imlib/include\filter.hpp
+src\wat\debug\gamma.obj : ../imlib/include\mouse.hpp
+src\wat\debug\gamma.obj : ../imlib/include\macs.hpp
+src\wat\debug\gamma.obj : ../imlib/include\sprite.hpp
+src\wat\debug\gamma.obj : ../imlib/include\keys.hpp
+src\wat\debug\gamma.obj : ../imlib/include\event.hpp
+src\wat\debug\gamma.obj : ../imlib/include\jmalloc.hpp
+src\wat\debug\gamma.obj : ../imlib/include\specs.hpp
+src\wat\debug\gamma.obj : ../imlib/include\palette.hpp
+src\wat\debug\gamma.obj : ../imlib/include\linked.hpp
+src\wat\debug\gamma.obj : ../imlib/include\image.hpp
+src\wat\debug\gamma.obj : ../imlib/include\system.h
+src\wat\debug\gamma.obj : ../imlib/include\video.hpp
+src\wat\debug\gamma.obj : ../imlib/include\jwindow.hpp
+src\wat\debug\language.obj : src\language.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\language.c -fo=src\wat\debug\language.obj /zq /d2 -DMANAGE_MEM
+
+src\wat\debug\language.obj : ../imlib/include\timing.hpp
+src\wat\debug\language.obj : inc\lisp_opt.hpp
+src\wat\debug\language.obj : inc\lisp.hpp
+
+WATCOM_gameo_opt_o_files = &
+ src\net\dos4gw\wat\opt\ipx.obj &
+ src\wat\opt\text_gui.obj &
+ src\wat\opt\innet.obj &
+ src\net\unix\wat\opt\gserver.obj &
+ src\net\unix\wat\opt\gclient.obj &
+ src\net\unix\wat\opt\fileman.obj &
+ src\net\wat\opt\sock.obj &
+ src\wat\opt\chat.obj &
+ src\wat\opt\endgame.obj &
+ src\wat\opt\setup.obj &
+ src\wat\opt\version.obj &
+ src\wat\opt\loadgame.obj &
+ src\wat\opt\profile.obj &
+ src\wat\opt\cop.obj &
+ src\wat\opt\statbar.obj &
+ src\wat\opt\compiled.obj &
+ src\wat\opt\ant.obj &
+ src\wat\opt\sensor.obj &
+ src\wat\opt\lisp_opt.obj &
+ src\wat\opt\demo.obj &
+ src\wat\opt\lcache.obj &
+ src\wat\opt\lisp_gc.obj &
+ src\wat\opt\nfclient.obj &
+ src\wat\opt\username.obj &
+ src\wat\opt\clisp.obj &
+ src\wat\opt\gui.obj &
+ src\wat\opt\transp.obj &
+ src\wat\opt\collide.obj &
+ src\wat\opt\trig.obj &
+ src\wat\opt\property.obj &
+ src\wat\opt\lisp.obj &
+ src\wat\opt\cache.obj &
+ src\wat\opt\particle.obj &
+ src\wat\opt\objects.obj &
+ src\wat\opt\extend.obj &
+ src\wat\opt\console.obj &
+ src\wat\opt\ability.obj &
+ src\wat\opt\items.obj &
+ src\wat\opt\dev.obj &
+ src\wat\opt\chars.obj &
+ src\wat\opt\level.obj &
+ src\wat\opt\smallfnt.obj &
+ src\wat\opt\automap.obj &
+ src\wat\opt\help.obj &
+ src\wat\opt\intsect.obj &
+ src\wat\opt\loader.obj &
+ src\wat\opt\seq.obj &
+ src\wat\opt\points.obj &
+ src\wat\opt\fnt6x13.obj &
+ src\wat\opt\morpher.obj &
+ src\wat\opt\menu.obj &
+ src\wat\opt\director.obj &
+ src\wat\opt\view.obj &
+ src\wat\opt\config.obj &
+ src\wat\opt\game.obj &
+ src\wat\opt\light.obj &
+ src\wat\opt\devsel.obj &
+ src\wat\opt\crc.obj &
+ src\wat\opt\gamma.obj &
+ src\wat\opt\remap8x4.obj &
+ src\wat\opt\language.obj
+
+gameo.exe : $(WATCOM_gameo_opt_o_files)
+ wlink @gameo.lnk
+
+src\net\dos4gw\wat\opt\ipx.obj : src\net\dos4gw\ipx.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\net\dos4gw\ipx.c -fo=src\net\dos4gw\wat\opt\ipx.obj /omaxne /zp1 /zq -DNO_CHECK -DMANAGE_MEM
+
+src\wat\opt\remap8x4.obj : src\remap8x4.asm
+ wasm src\remap8x4.asm -fo=src\wat\opt\remap8x4.obj -3r
+
+src\net\dos4gw\wat\opt\ipx.obj : ../imlib/include\jmalloc.hpp
+src\net\dos4gw\wat\opt\ipx.obj : ../imlib/include\doscall.hpp
+src\net\dos4gw\wat\opt\ipx.obj : ../imlib/include\timing.hpp
+src\net\dos4gw\wat\opt\ipx.obj : ../imlib/include\system.h
+src\net\dos4gw\wat\opt\ipx.obj : ../imlib/include\macs.hpp
+src\net\dos4gw\wat\opt\ipx.obj : src/net/inc\sock.hpp
+src\net\dos4gw\wat\opt\ipx.obj : src/net/inc\ipx.hpp
+src\wat\opt\text_gui.obj : src\text_gui.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\text_gui.c -fo=src\wat\opt\text_gui.obj /omaxne /zp1 /zq -DNO_CHECK -DMANAGE_MEM
+
+src\wat\opt\text_gui.obj : inc\fakelib.hpp
+src\wat\opt\text_gui.obj : ../imlib/include\jmalloc.hpp
+src\wat\opt\text_gui.obj : inc\stack.hpp
+src\wat\opt\text_gui.obj : inc\lisp_gc.hpp
+src\wat\opt\text_gui.obj : ../imlib/include\timing.hpp
+src\wat\opt\text_gui.obj : inc\lisp_opt.hpp
+src\wat\opt\text_gui.obj : inc\lisp.hpp
+src\wat\opt\innet.obj : src\innet.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\innet.c -fo=src\wat\opt\innet.obj /omaxne /zp1 /zq -DNO_CHECK -DMANAGE_MEM
+
+src\wat\opt\innet.obj : src/net/unix\gclient.hpp
+src\wat\opt\innet.obj : src/net/unix\ghandler.hpp
+src\wat\opt\innet.obj : src/net/unix\gserver.hpp
+src\wat\opt\innet.obj : src/net/inc\indian.hpp
+src\wat\opt\innet.obj : inc\netface.hpp
+src\wat\opt\innet.obj : src/net/inc\sock.hpp
+src\wat\opt\innet.obj : src/net/unix\fileman.hpp
+src\wat\opt\innet.obj : inc\director.hpp
+src\wat\opt\innet.obj : ../imlib/include\monoprnt.hpp
+src\wat\opt\innet.obj : ../imlib/include\mdlread.hpp
+src\wat\opt\innet.obj : inc\game.hpp
+src\wat\opt\innet.obj : inc\id.hpp
+src\wat\opt\innet.obj : inc\extend.hpp
+src\wat\opt\innet.obj : inc\crc.hpp
+src\wat\opt\innet.obj : inc\light.hpp
+src\wat\opt\innet.obj : inc\view.hpp
+src\wat\opt\innet.obj : inc\loader.hpp
+src\wat\opt\innet.obj : inc\config.hpp
+src\wat\opt\innet.obj : ../imlib/include\supmorph.hpp
+src\wat\opt\innet.obj : inc\morpher.hpp
+src\wat\opt\innet.obj : inc\ability.hpp
+src\wat\opt\innet.obj : ../imlib/include\timing.hpp
+src\wat\opt\innet.obj : inc\lisp_opt.hpp
+src\wat\opt\innet.obj : inc\lisp.hpp
+src\wat\opt\innet.obj : inc\particle.hpp
+src\wat\opt\innet.obj : ../imlib/include\sound.hpp
+src\wat\opt\innet.obj : inc\cache.hpp
+src\wat\opt\innet.obj : inc\points.hpp
+src\wat\opt\innet.obj : inc\items.hpp
+src\wat\opt\innet.obj : inc\seq.hpp
+src\wat\opt\innet.obj : inc\chars.hpp
+src\wat\opt\innet.obj : ../imlib/include\timage.hpp
+src\wat\opt\innet.obj : ../imlib/include\fonts.hpp
+src\wat\opt\innet.obj : ../imlib/include\filter.hpp
+src\wat\opt\innet.obj : ../imlib/include\mouse.hpp
+src\wat\opt\innet.obj : ../imlib/include\sprite.hpp
+src\wat\opt\innet.obj : ../imlib/include\keys.hpp
+src\wat\opt\innet.obj : ../imlib/include\event.hpp
+src\wat\opt\innet.obj : ../imlib/include\palette.hpp
+src\wat\opt\innet.obj : ../imlib/include\image.hpp
+src\wat\opt\innet.obj : ../imlib/include\video.hpp
+src\wat\opt\innet.obj : ../imlib/include\jwindow.hpp
+src\wat\opt\innet.obj : ../imlib/include\input.hpp
+src\wat\opt\innet.obj : inc\objects.hpp
+src\wat\opt\innet.obj : inc\level.hpp
+src\wat\opt\innet.obj : ../imlib/include\jmalloc.hpp
+src\wat\opt\innet.obj : ../imlib/include\linked.hpp
+src\wat\opt\innet.obj : ../imlib/include\specs.hpp
+src\wat\opt\innet.obj : ../imlib/include\system.h
+src\wat\opt\innet.obj : ../imlib/include\macs.hpp
+src\net\unix\wat\opt\gserver.obj : src\net\unix\gserver.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\net\unix\gserver.c -fo=src\net\unix\wat\opt\gserver.obj /omaxne /zp1 /zq -DNO_CHECK -DMANAGE_MEM
+
+src\net\unix\wat\opt\gserver.obj : ../imlib/include\timing.hpp
+src\net\unix\wat\opt\gserver.obj : src/net/inc\indian.hpp
+src\net\unix\wat\opt\gserver.obj : inc\netface.hpp
+src\net\unix\wat\opt\gserver.obj : src/net/unix\ghandler.hpp
+src\net\unix\wat\opt\gserver.obj : src/net/inc\sock.hpp
+src\net\unix\wat\opt\gserver.obj : src/net/unix\gserver.hpp
+src\net\unix\wat\opt\gserver.obj : ../imlib/include\macs.hpp
+src\net\unix\wat\opt\gserver.obj : ../imlib/include\system.h
+src\net\unix\wat\opt\gclient.obj : src\net\unix\gclient.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\net\unix\gclient.c -fo=src\net\unix\wat\opt\gclient.obj /omaxne /zp1 /zq -DNO_CHECK -DMANAGE_MEM
+
+src\net\unix\wat\opt\gclient.obj : ../imlib/include\timing.hpp
+src\net\unix\wat\opt\gclient.obj : src/net/unix\undrv.hpp
+src\net\unix\wat\opt\gclient.obj : src/net/inc\indian.hpp
+src\net\unix\wat\opt\gclient.obj : inc\netface.hpp
+src\net\unix\wat\opt\gclient.obj : src/net/unix\ghandler.hpp
+src\net\unix\wat\opt\gclient.obj : src/net/inc\sock.hpp
+src\net\unix\wat\opt\gclient.obj : src/net/unix\gclient.hpp
+src\net\unix\wat\opt\fileman.obj : src\net\unix\fileman.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\net\unix\fileman.c -fo=src\net\unix\wat\opt\fileman.obj /omaxne /zp1 /zq -DNO_CHECK -DMANAGE_MEM
+
+src\net\unix\wat\opt\fileman.obj : src/net/unix\ghandler.hpp
+src\net\unix\wat\opt\fileman.obj : src/net/inc\indian.hpp
+src\net\unix\wat\opt\fileman.obj : inc\netface.hpp
+src\net\unix\wat\opt\fileman.obj : src/net/inc\sock.hpp
+src\net\unix\wat\opt\fileman.obj : src/net/unix\fileman.hpp
+src\net\unix\wat\opt\fileman.obj : ../imlib/include\system.h
+src\net\unix\wat\opt\fileman.obj : ../imlib/include\macs.hpp
+src\net\wat\opt\sock.obj : src\net\sock.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\net\sock.c -fo=src\net\wat\opt\sock.obj /omaxne /zp1 /zq -DNO_CHECK -DMANAGE_MEM
+
+src\net\wat\opt\sock.obj : src/net/inc\sock.hpp
+src\wat\opt\chat.obj : src\chat.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\chat.c -fo=src\wat\opt\chat.obj /omaxne /zp1 /zq -DNO_CHECK -DMANAGE_MEM
+
+src\wat\opt\chat.obj : ../imlib/include\timage.hpp
+src\wat\opt\chat.obj : ../imlib/include\fonts.hpp
+src\wat\opt\chat.obj : ../imlib/include\filter.hpp
+src\wat\opt\chat.obj : ../imlib/include\mouse.hpp
+src\wat\opt\chat.obj : ../imlib/include\macs.hpp
+src\wat\opt\chat.obj : ../imlib/include\sprite.hpp
+src\wat\opt\chat.obj : ../imlib/include\keys.hpp
+src\wat\opt\chat.obj : ../imlib/include\event.hpp
+src\wat\opt\chat.obj : ../imlib/include\jmalloc.hpp
+src\wat\opt\chat.obj : ../imlib/include\specs.hpp
+src\wat\opt\chat.obj : ../imlib/include\palette.hpp
+src\wat\opt\chat.obj : ../imlib/include\linked.hpp
+src\wat\opt\chat.obj : ../imlib/include\image.hpp
+src\wat\opt\chat.obj : ../imlib/include\system.h
+src\wat\opt\chat.obj : ../imlib/include\video.hpp
+src\wat\opt\chat.obj : ../imlib/include\jwindow.hpp
+src\wat\opt\chat.obj : inc\console.hpp
+src\wat\opt\chat.obj : inc\chat.hpp
+src\wat\opt\endgame.obj : src\endgame.c
+ set include=$(%WATCOM)\h;inc;../imlib/include;src/net/inc;src/net/unix;src/net/inc
+ wpp386 src\endgame.c -fo=src\wat\opt\endgame.obj /omaxne /zp1 /zq -DNO_CHECK -DMANAGE_MEM
+
+src\wat\opt\endgame.obj : inc\fakelib.hpp
+src\wat\opt\endgame.obj : inc\stack.hpp
+src\wat\opt\endgame.obj : inc\lisp_gc.hpp
+src\wat\opt\endgame.obj : ../imlib/include\jrand.hpp
+src\wat\opt\endgame.obj : ../imlib/include\dprint.h