The Overlay function is not working under Linux
The overlay function has nothing to do
with DirextX or Linux. The whole thing
is done by code within CSBwin.
But it appears that the conversion of
CSBwin to Linux rewrote the 'Screen.cpp'
module. It probably never got updated
after we implemented overlays. I think
this was a big mistake. It was the wrong
place to convert the graphics....much too
early in the process. There is nothing wrong
with using SDL for the graphics. In fact,
I might be persuaded to change the Windows
implementation to SDL. That would make
other conversions easier, too.
Quote:
Code: Select all
/*
* Linux screen handling...
* I use SDL for for the graphics part,
* and Hermes to stretch the image
* (oddy enough SDL doesn't appear to
* have any stretch-blit functionality?)
* Anyway... SDL uses some pre-
* processor magic that requiers
* pragma pack NOT to be used,
* at least not pack(1),
* unfortunately CSBTypes.h defines pack(1),
* so SDL is included in stdafx.h, before
* we define any pragma packing.
*/