Hello people,
I have an initial version of OpenGL mame (for X) to be released.
This version is vector only! It looks great for games like
Star Wars at high scale factors, the raster based stuff comes
next. (If anyone gives a damn about this mini-port)
To find it:
ftp://preston.net/pub/webtools/gl-xmame-0.1.tgz [1209k]
The link isn't roaring fast so be patient.
The source is based on xmame-0.30.1 due to problems with the
latest source and the DCC compiler on SGI.
Stuff that is new:
src/unix/opengl.[ch]
changed:
src/unix/unixdrawgfx.c Small amount of ifdefing
src/unxi/xdep.c Fair amount of ifdefing
src/unix/update_dsp.c Smal amountof ifdefing
I've tried to make opengl.c as general as possible so some poor
soul can port it to Windows/DOS/whatever.
The toplevel makefile.unix has some new entries:
# *** where does your OpenGL live? Only GL and GLU needed (Shane - 15 June 98)
# Use OpenGL
OPENGL_INC_PATH = -I/usr/include
OPENGL_LIB_PATH = -L/usr/lib
OPENGL_LIBS = -lGL -lGLU
OPENGL_MINUS_DS = -Dopengl
# Don't use OpenGL
#OPENGL_INC =
#OPENGL_LIB =
#OPENGL_LIBS =
#OPENGL_MINUS_DS =
All you need to do is comment or uncomment these lines, that is it.
Each X based platform should have it's arch specific stuff working
but I haven't tested it (other than the IRIX no sound version).
I plead with anyone to have a look to see if I'm going in the right
direction, or even if it compiles with gcc (even without OpenGL to
make sure my changes haven't made something blow up).
It seems to work fine for me both ways, the raster code is faked out
by bounding boxes about where the pixmaps would be, so if you see
some red boxes looking at you it's most likely the intro text, hit
return until the vector graphics comes up.
(Try playing a raster game with it, it looks funny)
I look forward to peoples comments.
.... __ooOOoo__ ....
Shane Arnott E-Mail: [EMAIL PROTECTED] WWW: http://www.preston.net
The Preston Group - World Leaders in Simulation and Scheduling Software
488 Victoria Street Ph: +61 3 9428 8899
Richmond Melbourne Australia 3121 Fax: +61 3 9427 1969
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]