00001 /***************************************************************************************************/ 00002 /***************************************************************************************************/ 00009 /***************************************************************************************************/ 00010 /***************************************************************************************************/ 00011 #ifndef MAIN_H 00012 #define MAIN_H 00013 00014 #define WIN32_LEAN_AND_MEAN 00015 00016 #include <windows.h> 00017 #include <dinput.h> 00018 00019 #include "dxutil.h" 00020 #include "ddutil.h" 00021 #include "mydebug.h" 00022 00023 extern CDisplay * g_pDisplay; 00024 extern CSurface * g_pText ; 00025 extern CSurface * g_pSprites; 00026 extern CSurface * g_pMessages; 00027 extern CSurface * g_pFond; 00028 extern CSurface * g_pLeft_Time_Text; 00029 extern CSurface * g_pScore_Text; 00030 00031 extern LPDIRECTINPUTDEVICE8 g_pKeyboard ; 00032 00033 extern Debugger Debug_File; 00034 extern Debugger Fatal_Error; 00035 00036 extern HWND hWnd; 00037 00038 #define TX_SCREEN 800 00039 #define TY_SCREEN 600 00040 #define BIT_DEPTH 8 00041 00042 00043 00044 00045 #endif 00046 00047 00048 /*********************************************************************************************/ 00049 /*********************************************************************************************/ 00050 /********************************** DOXYGEN MAINPAGE *****************************************/ 00051 /*********************************************************************************************/ 00052 /*********************************************************************************************/ 00053