AppleWin/source/Applewin.h

65 lines
1.7 KiB
C
Raw Normal View History

2006-02-25 20:50:29 +00:00
#pragma once
2016-03-21 23:48:02 +00:00
#include "SaveState_Structs_common.h"
#include "Common.h"
void LogFileTimeUntilFirstKeyReadReset(void);
void LogFileTimeUntilFirstKeyRead(void);
bool SetCurrentImageDir(const std::string & pszImageDir);
extern const UINT16* GetOldAppleWinVersion(void);
extern TCHAR VERSIONSTRING[]; // Constructed in WinMain()
2006-02-25 20:50:29 +00:00
extern std::string g_pAppTitle;
extern eApple2Type g_Apple2Type;
2016-03-21 23:48:02 +00:00
eApple2Type GetApple2Type(void);
void SetApple2Type(eApple2Type type);
double Get6502BaseClock(void);
void SetCurrentCLK6502(void);
void SingleStep(bool bReinit);
2006-02-25 20:50:29 +00:00
extern bool g_bFullSpeed;
2006-07-02 09:56:50 +00:00
//===========================================
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);
bool GetHookAltGrControl(void);
2019-09-06 16:34:25 +00:00
extern std::string g_sProgramDir;
extern std::string g_sCurrentDir;
2016-09-10 21:58:26 +00:00
extern bool g_bRestart;
extern bool g_bRestartFullScreen;
2006-02-25 20:50:29 +00:00
extern DWORD g_dwSpeed;
extern double g_fCurrentCLK6502;
extern int g_nCpuCyclesFeedback;
extern DWORD g_dwCyclesThisFrame;
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_Slot[NUM_SLOTS];
extern SS_CARDTYPE g_SlotAux;
2009-02-14 03:54:12 +00:00
extern HANDLE g_hCustomRomF8; // NULL if no custom rom
#ifdef USE_SPEECH_API
class CSpeech;
extern CSpeech g_Speech;
#endif
extern __interface IPropertySheet& sg_PropertySheet;