Well I made it 0 and nothing happened... Here, I shall post ALL my code...
Commands.h
#pragma once
#include "DarkGDK.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 ///
////////////////////////////////////////////////////////////////
void SetupMenuMain ( void ); // When Loading Procedure is complete it will create the Main Menu
void CheckMenuMain ( void ); // Checks for input via mouse/keyboard on the Main Menu
////////////////////////////////////////////////////////////////
// Audio+Media Commands ///
////////////////////////////////////////////////////////////////
void LoadAudioAll ( void ); // Loads all the Sounds, Music, etc for in-game use (Loads When App is Executed)
void LoadMediaAll ( void ); // Loads all the Models, Textures, Animations, etc for in-game use (Loads When App is Executed)
////////////////////////////////////////////////////////////////
// GUI+Mouse Commands ///
////////////////////////////////////////////////////////////////
void LoadGUI ( void ); // Loads the in-game GUI
void LoadMouse ( void ); // Loads Crosshairs and Custom Mouse Pointers
////////////////////////////////////////////////////////////////
// Windows+Input Commands ///
////////////////////////////////////////////////////////////////
void SetupWindowsMain ( void ); // Sets up the Main Window (Generic Window)
void SetupInputGame ( void ); // Sets up the input that takes place during the game
Globals.h (Nothing in here atm)
#pragma once
#include "DarkGDK.h"
Commands.cpp (This is where i set up my menu)
#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 ///
////////////////////////////////////////////////////////////////
void SetupMenuMain ( void ){ // When Loading Procedure is complete it will create the Main Menu
dbLoadImage ("Media//DogTagMenu.jpg",1);
dbSprite(1,400,300,1);
}
////////////////////////////////////////////////////////////////
// Audio+Media Commands ///
////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////
// GUI+Mouse Commands ///
////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////
// Windows+Input Commands ///
////////////////////////////////////////////////////////////////
void SetupWindowsMain ( void ){ // Sets up the Main Window (Generic Window)
dbSetDisplayMode ( 800, 600, 32 );
dbSetWindowTitle ("D-O-G Tag Version 0.01 CLOSED BETA");
dbMaximizeWindow ();
dbSetWindowLayout ( 0, 1, 0 );
dbShowWindow ();
}
Main.cpp (This is where i put the command to start my menu)
#include "DarkGDK.h"
#include "Globals.h"
#include "Commands.h"
// Note: All commands with comments on them are custom-made commands
void DarkGDK ( void )
{
SetupMenuMain(); // Sets up the Main Menu (Generic Menu)
SetupWindowsMain (); // Sets up the Main Window (Generic Window)
dbSyncOn ( );
dbSyncRate ( 60 );
while ( LoopGDK ( ) )
{
dbSync ( );
}
return;
}
I'm pretty sure it's not a positioning problem... (My Comp is 1024x768x32). I'm thinking it's just not loading... Help? (attached main menu picture with it. *Note that I changed the picture to JPG*)
LOL