AppleWin/source/Applewin.h

61 lines
1.6 KiB
C
Raw Normal View History

2006-02-25 20:50:29 +00:00
#pragma once
#include "Structs.h"
#include "Common.h"
void SetCurrentCLK6502();
bool SetCurrentImageDir(const char* pszImageDir);
2014-07-15 19:33:29 +00:00
extern char VERSIONSTRING[]; // Constructed in WinMain()
2006-02-25 20:50:29 +00:00
extern TCHAR *g_pAppTitle;
extern eApple2Type g_Apple2Type;
2006-02-25 20:50:29 +00:00
extern bool g_bFullSpeed;
2006-07-02 09:56:50 +00:00
//Pravets 8A/C only variables
extern bool P8CAPS_ON;
extern bool P8Shift;
//===========================================
2006-07-02 09:56:50 +00:00
// Win32
extern HINSTANCE g_hInstance;
extern AppMode_e g_nAppMode;
bool GetLoadedSaveStateFlag(void);
void SetLoadedSaveStateFlag(const bool bFlag);
extern TCHAR g_sProgramDir[MAX_PATH];
extern TCHAR g_sCurrentDir[MAX_PATH];
2006-02-25 20:50:29 +00:00
extern BOOL restart;
extern DWORD g_dwSpeed;
extern double g_fCurrentCLK6502;
extern int g_nCpuCyclesFeedback;
extern DWORD g_dwCyclesThisFrame;
2006-02-25 20:50:29 +00:00
extern FILE* g_fh; // Filehandle for log file
extern bool g_bDisableDirectInput; // Cmd line switch: don't init DI (so no DIMouse support)
extern bool g_bDisableDirectSound; // Cmd line switch: don't init DS (so no MB/Speaker support)
extern bool g_bDisableDirectSoundMockingboard; // Cmd line switch: don't init MB support
extern int g_nMemoryClearType; // Cmd line switch: use specific MIP (Memory Initialization Pattern)
2006-02-25 20:50:29 +00:00
extern SS_CARDTYPE g_Slot4; // Mockingboard, Z80, Mouse in slot4
extern SS_CARDTYPE g_Slot5; // Mockingboard, Z80, in slot5
2009-02-14 03:54:12 +00:00
extern HANDLE g_hCustomRomF8; // NULL if no custom rom
enum eCPU {CPU_6502=1, CPU_Z80};
extern eCPU g_ActiveCPU;
#ifdef USE_SPEECH_API
class CSpeech;
extern CSpeech g_Speech;
#endif
extern __interface IPropertySheet& sg_PropertySheet;