Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 1998 00:17:25 -0700 (MST)
From:      Kurt Olsen <kurto@bootp.sls.usu.edu>
To:        doconnor@gsoft.com.au, mike@smith.net.au
Cc:        hackers@FreeBSD.ORG, multimedia@FreeBSD.ORG
Subject:   Re: Descent Sources
Message-ID:  <199801300717.AAA29832@bootp.sls.usu.edu>

next in thread | raw e-mail | index | archive | help

>I've put a trivial patch to the ldescent-0.0.1 release above at
>ftp://ftp.gsoft.com.au/misc/bdescent.diff.gz
>
>This is enough to get it compiled under -current; I don't expect that 
>it will run.  Outstanding issues (before we get to the point the Linux 
>people are at):
>
> - No palette support (Soren, libvgl has no documented palette handling 
>   functions!)

What about this from the man page:

     void VGLSetPalette(byte *red, byte *green, byte *blue)

     This function sets the palette used, the arguments red, green, blue
     should point to byte arrays of 256 positions each.

and

     void VGLSetPaletteIndex(byte color, byte red, byte green, byte blue)

     Set the palette index color to the specified RGB value.

> - No keyboard support. (The Linux svgalib seems to support calling a 
>   user-supplied keyboard handler on interrupt.  This is unspeakably 
>   bogus if true.)

VGL needs a little adjustment to it's keyboard init function to
really support games.  In the raw and code modes the tty code in
the kernel filters out all TABs, 'u's and a couple of others (at
least I think it's the tty.)  I have a few lines of code I put into
doom to make it work under VGL.  Let me know if you are interested.

> - Possibly broken joystick support (I've never used the joy(4) driver 
>   before...).

Kurt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801300717.AAA29832>