ObjectGDK is an OOP wrapper for DarkGDK. It wraps all of DarkGDK into about 25 different classes.
You can find ObjectGDK here:
http://objectgdk.leadhoster.com/home.html
Here's some example code of spinning a cube in ObjectGDK:
#include "DarkGDK.h"
#include "ObjectGDK.h"
void DarkGDK ( void )
{
IVideoDevice* Video = NewVideoDevice( 800, 600, 32, 60, false, Blue );
ISceneDevice* Scene = NewSceneDevice( );
ICamera* Camera = Scene->NewCamera( );
IObject* Cube = Scene->NewCube( 10.0f );
while ( Video->Run( ) )
{
Cube->Turn( 1.0f );
Video->Sync( );
}
return;
}
Instructions
Just place the folders wherever you want, then in VC++ Express go to Options->Projects and Solutions->VC++ Directories and set the Include folder of ObjectGDK to the Include directories.
Credits
-jason p sage, who helped me out quite a bit when I started my wrapper.
-WindowsKiller, for pixel-perfect collision code. I haven't actually added it yet, but I figured I'd add this now so I don't forget.
...plus several people/sites for media; you can find a list in the README.
If you guys have any ideas of what else I can add feel free to make suggestions.
<<---------
CLICK IT