Try this instead :
#include "DarkSDK.h"
void DarkSDK ( void )
{
dbSyncOn ( );
dbSyncRate ( 60 );
dbBackdropOn (5000);
dbFogDistance (5000);
dbHideMouse ();
dbMakeMatrix (1,1000, 1000, 10, 10);
dbPositionMatrix (1, 0, 0, 0);
dbRandomizeMatrix ( 1, 100 );
// dbLoadImage ( "grass.jpg", 1,1 );
// dbPrepareMatrixTexture ( 1, 1, 4, 4 );
dbPositionCamera ( 0, 200, 0 );
while ( LoopSDK ( ) )
{
if ( dbEscapeKey ( ) )
return;
dbControlCameraUsingArrowKeys (0, 30, 5);
dbUpdateMatrix (1);
dbSync ( );
}
}
Beware the cat... The alien... The heretic...