home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / Epoc / Palmtime / files / FrotzCE2_src.ZIP / FrotzCE / FrotzCE.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-09-15  |  2.0 KB  |  92 lines

  1. // FrotzCE.h : main header file for the FROTZCE application
  2. //
  3.  
  4. #ifndef __AFXWIN_H__
  5.     #error include 'stdafx.h' before including this file for PCH
  6. #endif
  7.  
  8. #include "resource.h"       // main symbols
  9.  
  10. #define FROTZCEAPP ((CFrotzCEApp *) AfxGetApp())
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CFrotzCEApp:
  14. // See FrotzCE.cpp for the implementation of this class
  15. //
  16.  
  17. class CFrotzCEApp : public CWinApp
  18. {
  19. private:
  20.     CWinThread*
  21.         // Thread pointer for Z machine thread
  22.         m_pcZThread;
  23.  
  24. public:
  25.     BOOL
  26.         // Flag to indicate if OS interface is initialised
  27.         m_bInitialised;
  28.  
  29.     BOOL
  30.         // Flag to indicate if Z machine is running
  31.         m_bZmachineRunning;
  32.  
  33.     int
  34.         // Font height and width to use as default
  35.         m_nFontHeight,
  36.         m_nFontWidth;
  37.  
  38.     int
  39.         // Default style to use
  40.         m_nDefaultStyle;
  41.  
  42.     BOOL
  43.         // Flag to indicate if text style support should be enabled
  44.         m_bUseStyles;
  45.  
  46.     BOOL
  47.         // Flag to indicate if colour support should be enabled
  48.         m_bUseColours;
  49.  
  50.     BOOL
  51.         // Flag to indicate if euro chars should be remapped
  52.         m_bUseEuroChars;
  53.  
  54.     BOOL
  55.         // Flag to indicate if game should run with "Tandy" bit set
  56.         m_bTandy;
  57.  
  58.     CString
  59.         // Default directory to open files in
  60.         m_strDefaultDir;
  61.  
  62.     char
  63.         // Current story file name
  64.         m_achStoryFile[256];
  65.  
  66. public:
  67.     CFrotzCEApp(LPCTSTR lpszAppName, LPCTSTR lpszHelpName);
  68.  
  69. // Overrides
  70.     // ClassWizard generated virtual function overrides
  71.     //{{AFX_VIRTUAL(CFrotzCEApp)
  72.     public:
  73.     virtual BOOL InitInstance();
  74.     virtual int ExitInstance();
  75.     //}}AFX_VIRTUAL
  76.  
  77. // Implementation
  78.     void 
  79.         // Start Z machine thread
  80.         StartZMachine( LPVOID pParam=NULL );
  81.  
  82.     //{{AFX_MSG(CFrotzCEApp)
  83.     afx_msg void OnAppAbout();
  84.     afx_msg void OnFileOpen( ); 
  85.         // NOTE - the ClassWizard will add and remove member functions here.
  86.         //    DO NOT EDIT what you see in these blocks of generated code !
  87.     //}}AFX_MSG
  88.     DECLARE_MESSAGE_MAP()
  89. };
  90.  
  91. /////////////////////////////////////////////////////////////////////////////
  92.