D3D Maverik-0.3

Changes from 0.2

Compatibility with OpenGL versions

gfx files

These are now included with Maverik-6.1.

Include files and building

You will need to download some DirectX8 include files and gunzip and untar them to a suitable directory (e.g. /usr/local/include). These are only the include files needed for direct 3D, and they have been changed slightly so they compile using gcc -ansi.

Run the Maverik setup script, using --D3DINCL to set the include path of the Dx8 files (and any other setup options required).

Now you should be able to make Maverik as usual.

Compiling, linking and running applications

make should create two Maverik libraries, and soft link libmaverik.a with one of them. Link with -lmaverik for d3d gfx if you used --D3D or --D3DINCL options with setup. Link with -lmaverikOpenGLWin32 (and -lopengl32 -lglu32) for opengl gfx.

Applications should now run ok using a default D3D configuration. Download d3dconfigtool which can be used to set up D3D (fullscreen mode, display drivers, texture depths) for Maverik applications.

D3D Maverik has a fullscreen/windowed mode change callback, accessed by pressing <crtl>-F1. For a multiple window application the window containing the mouse pointer is changed to fullscreen (not the focus window), and the other windows are set to render to small offscreen buffers. You can use <alt>-<tab> to switch back to the desktop during fullscreen mode. To reactivate the window either click on its icon on the task bar, or select another maverik window (if there is one) and use <crtl>-F1 to switch back to windowed rendering.