It Just made it worse
Main.cpp
#include "DarkGDK.h"
#include "Globals.h"
#include "Commands.h"
// Note: All commands without "db" on them are custom-made commands
// Note: Commands Next to each other (No space) mean that they are related in some fashion (Refer to
void DarkGDK ( void ) // Main
{
//////////////////////////////
// Setup and Loading Section//
//////////////////////////////
SetupWindowsMain (); // Sets up the Main Window (Generic Window)
dbSyncOn ( ); // Turns On Syncing (Moving Picture)
dbSyncRate ( 60 ); // Sets the Max Rate to 60 (Generic)
///////////////////////////////
///////////////////////////////
///////////////////////////////
// Main Loop and Exit Section//
///////////////////////////////
while ( LoopGDK ( ) ) // Main Loop
{
if (g_game == true){ // For the MENU
dbSync ( ); // Syncs the game (Menu)
}
if (g_game == false){ // For the GAME
SetupDebugFPS(); // DEBUG (Remove after BETA)
dbMakeMatrix ( 1, 1000, 1000, 10, 10 ); // DEBUG (Remove after BETA)
dbSync ( ); // Syncs the game (Ingame)
} // Closing bracket for g_game == true (Game Loop)
} // Main Loop Closing Bracket
if ( g_exit == true ) { // To EXIT
return; // Exits (Final[All deleting of media should be above this line])
///////////////////////////////
///////////////////////////////
}// Closing bracket for g_exit == true (Exit)
} // Main Closing Bracket
commands.cpp
#pragma once
#include "DarkGDK.h"
#include "Commands.h"
////////////////////////////////////////////////////////////////////
///////////////////// ---===*Notes*===--- //////////////////////////
////////////////////////////////////////////////////////////////////
/* (9.27.09) - I Have Started The Commands And My Goal Is To */
/* Finish The Main Menu And Beginning Cinematic */
/* */
/* */
/* */
/* */
/* */
/* */
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////
// Menu+Cinematic Commands ///
////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////
// Audio+Media Commands ///
////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////
// GUI+Mouse Commands ///
////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////
// Windows+Input Commands ///
////////////////////////////////////////////////////////////////
void SetupWindowsMain ( void ){ // Sets up the Main Window (Generic Window)
dbSetDisplayMode ( dbScreenWidth ( ), dbScreenHeight ( ), dbScreenDepth ());
dbSetWindowTitle ("Dog Tag Version 0.01 CLOSED BETA");
dbMaximizeWindow ();
dbSetWindowLayout ( 0, 1, 0 );
dbShowWindow ();
dbBackdropOff ();
}
////////////////////////////////////////////////////////////////
// DEBUG BETA Commands ///
////////////////////////////////////////////////////////////////
void SetupDebugFPS ( void ){ // Sets up the Debug Mode for closed beta
char szFPS [ 256 ] = "";
strcpy ( szFPS, "fps = " );
strcat ( szFPS, dbStr ( dbScreenFPS ( ) ) );
dbSetCursor ( dbScreenWidth ( ) - 20 - dbTextWidth ( szFPS ), dbScreenHeight ( ) - 40 ); // DEBUG (Remove after BETA)
dbPrint ( szFPS );
}
Help xD? (If you need anymore info let me know)
Edit: I know about the matrix in the loop. I moved it out of the loop and i got the same results.
LOL