/[cebix]/Frodo4/Src/main.h
ViewVC logotype

Diff of /Frodo4/Src/main.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by cebix, Mon Jan 12 15:13:20 2004 UTC revision 1.7 by cebix, Wed Jan 14 17:24:19 2004 UTC
# Line 187  extern HWND hwnd; Line 187  extern HWND hwnd;
187  // Command line options.  // Command line options.
188  extern BOOL full_screen;  extern BOOL full_screen;
189    
 #if defined(DEBUG)  
   
 inline void Debug(const char *format, ...)  
 {  
         va_list args;  
         va_start(args, format);  
         char tmp[256];  
         vsprintf(tmp, format, args);  
         va_end(args);  
         OutputDebugString(tmp);  
 }  
   
 #else  
   
 inline void Debug(const char *format, ...)  
 {  
 }  
   
 #endif  
   
 #define DebugResult(message, val) \  
         Debug("%s: 0x%x (%d)\n", message, val, HRESULT_CODE(val))  
   
190  #endif  #endif
191    
192    
# Line 237  private: Line 214  private:
214  extern C64 *TheC64;  extern C64 *TheC64;
215    
216    
217    /*
218     *  Functions
219     */
220    
221    // Determine whether path name refers to a directory
222    extern bool IsDirectory(const char *path);
223    
224  #endif  #endif

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

Christian Bauer">Christian Bauer
ViewVC Help
Powered by ViewVC 1.1.17