2006-02-25 20:50:29 +00:00
|
|
|
#pragma once
|
|
|
|
|
2016-03-21 23:48:02 +00:00
|
|
|
#include "SaveState_Structs_common.h"
|
2014-08-14 16:48:38 +00:00
|
|
|
#include "Common.h"
|
2014-08-13 20:30:35 +00:00
|
|
|
|
2016-09-06 20:38:00 +00:00
|
|
|
void LogFileTimeUntilFirstKeyReadReset(void);
|
|
|
|
void LogFileTimeUntilFirstKeyRead(void);
|
|
|
|
|
2008-06-21 11:48:15 +00:00
|
|
|
void SetCurrentCLK6502();
|
2015-01-11 00:56:47 +00:00
|
|
|
bool SetCurrentImageDir(const char* pszImageDir);
|
2016-03-21 23:48:02 +00:00
|
|
|
void SetCharsetType(void);
|
2008-06-21 11:48:15 +00:00
|
|
|
|
2016-03-21 23:48:02 +00:00
|
|
|
extern const UINT16* GetAppleWinVersion(void);
|
2014-07-15 19:33:29 +00:00
|
|
|
extern char VERSIONSTRING[]; // Constructed in WinMain()
|
2006-02-25 20:50:29 +00:00
|
|
|
|
2006-06-27 02:34:46 +00:00
|
|
|
extern TCHAR *g_pAppTitle;
|
|
|
|
|
2012-03-20 23:17:06 +00:00
|
|
|
extern eApple2Type g_Apple2Type;
|
2016-03-21 23:48:02 +00:00
|
|
|
eApple2Type GetApple2Type(void);
|
|
|
|
void SetApple2Type(eApple2Type type);
|
2006-06-12 22:06:50 +00:00
|
|
|
|
2017-02-26 13:45:06 +00:00
|
|
|
void SingleStep(bool bReinit);
|
2017-02-25 22:32:46 +00:00
|
|
|
|
2006-02-25 20:50:29 +00:00
|
|
|
extern bool g_bFullSpeed;
|
2006-07-02 09:56:50 +00:00
|
|
|
|
2008-06-20 23:47:25 +00:00
|
|
|
//===========================================
|
|
|
|
|
2006-07-02 09:56:50 +00:00
|
|
|
// Win32
|
|
|
|
extern HINSTANCE g_hInstance;
|
2006-06-12 22:06:50 +00:00
|
|
|
|
|
|
|
extern AppMode_e g_nAppMode;
|
2013-04-26 21:55:45 +00:00
|
|
|
bool GetLoadedSaveStateFlag(void);
|
|
|
|
void SetLoadedSaveStateFlag(const bool bFlag);
|
2006-06-12 22:06:50 +00:00
|
|
|
|
2006-06-25 03:41:52 +00:00
|
|
|
extern TCHAR g_sProgramDir[MAX_PATH];
|
|
|
|
extern TCHAR g_sCurrentDir[MAX_PATH];
|
|
|
|
|
2016-09-10 21:58:26 +00:00
|
|
|
extern bool g_bRestart;
|
2016-07-23 21:53:29 +00:00
|
|
|
extern bool g_bRestartFullScreen;
|
2006-02-25 20:50:29 +00:00
|
|
|
|
|
|
|
extern DWORD g_dwSpeed;
|
|
|
|
extern double g_fCurrentCLK6502;
|
|
|
|
|
2006-03-12 09:05:39 +00:00
|
|
|
extern int g_nCpuCyclesFeedback;
|
|
|
|
extern DWORD g_dwCyclesThisFrame;
|
|
|
|
|
2006-02-25 20:50:29 +00:00
|
|
|
extern FILE* g_fh; // Filehandle for log file
|
2013-03-23 14:14:48 +00:00
|
|
|
extern bool g_bDisableDirectInput; // Cmd line switch: don't init DI (so no DIMouse support)
|
2009-10-07 21:38:42 +00:00
|
|
|
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
|
2014-07-18 03:18:59 +00:00
|
|
|
extern int g_nMemoryClearType; // Cmd line switch: use specific MIP (Memory Initialization Pattern)
|
2006-02-25 20:50:29 +00:00
|
|
|
|
2012-01-22 13:46:36 +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
|
|
|
|
2008-02-22 21:28:35 +00:00
|
|
|
extern HANDLE g_hCustomRomF8; // NULL if no custom rom
|
2008-08-19 21:36:31 +00:00
|
|
|
|
2010-02-14 21:11:26 +00:00
|
|
|
#ifdef USE_SPEECH_API
|
|
|
|
class CSpeech;
|
|
|
|
extern CSpeech g_Speech;
|
2012-05-06 22:14:03 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
extern __interface IPropertySheet& sg_PropertySheet;
|