Re: C++ and lisp and Games




"Frank Buss" <fb@xxxxxxxxxxxxx> wrote in message
news:rolncbvpp1f0$.164xuxng0nhlg$.dlg@xxxxxxxxxxxxx
> bradb wrote:
>
>>>>From a pure API point of view, the last time I looked at DX it was a
>> mess, where OpenGL is actually nice. I really doubt that OGL support
>> will be bad on Vista because there are too many developers (not just
>> games, CAD tools) with an interest it OGL on Win being good.
>
> it's not that bad, just emulated with Direct3D, and only if you enable the
> new 3D Windows GUI, AFAIK. I don't think that CAD tool users would care
> about, if there are native OpenGL with 200 fps or Direct3D emulated with
> 150 fps. And games are fullscreen anyway most of the time, so disabling
> the
> 3D Windows interface is no problem, as long as it can be done by the game
> program and restored after program exit.

Well my preference would be

(with-graphics-standard ((gl #|(or :open-gl :win-dx3d ...)|# &body body)
...)

and have the code work correctly in either case.

I keep thinking about a 'Game-Lisp', with the ability to: lock the REPL
in a package so READ could only use symbols explicitly included in that
package (user console + scripting); fine control over the gc, including
the ability to create areas that the gc never looks at but instead can
be collected en masse for things like level data; full CL + compiler.

Picture walking across an open field, in the distance a translucent flat
rectangle floats in the air and on it, in glowing type, is written:

+--------------------------+-+
|WELCOME,FRIEND |x|
+--------------------------+-+
|GAME-USER 1 > _ |
| |
| |
| |
+----------------------------+

----
Geoff


.