Sorry to butt in for a moment IanM,
Here is a full "Main.CPP" for robster, based on your code fragment.
It will display the model and produce the list.
If the model does not show, then you obviously have not loaded it properly (ie: maybe in wrong directory)
Just change the "dbLoadObject ( "L-Tank.x", 30 );" to match your model.
Make sure your model is in the same folder as your source files.
// Dark GDK - The Game Creators - www.thegamecreators.com
// the wizard has created a very simple project that uses Dark GDK
// it contains the basic code for a GDK application
// whenever using Dark GDK you must ensure you include the header file
#include "DarkGDK.h"
#include <GlobStruct.h>
// the main entry point for the application is this function
void DarkGDK ( void )
{
// turn on sync rate and set maximum rate to 60 fps
dbSyncOn ( );
dbSyncRate ( 60 );
dbLoadObject ( "L-Tank.x", 30 );
dbPerformCheckListForObjectLimbs (30);
// our main loop
while ( LoopGDK ( ) )
{
dbSetCursor(0, 0);
for (int i = 0; i < g_pGlob->checklistqty; ++i)
{
dbPrint(g_pGlob->checklist[i].string);
}
// update the screen
dbSync ( );
}
// return back to windows
return;
}
@IanM, Thanks for that code fragment.... I was also looking for a solution for this exact problem myself.