CtrlReset cleanup

Ctrl-F2 = CtrlReset
This commit is contained in:
mpohoreski 2009-02-17 02:12:39 +00:00
parent f42592c7cd
commit 5e388cdbff

View File

@ -1,42 +1,48 @@
#pragma once #pragma once
// Keyboard -- keystroke type
enum {NOT_ASCII=0, ASCII}; enum {NOT_ASCII=0, ASCII};
// 3D Border // 3D Border
#define VIEWPORTX 5 #define VIEWPORTX 5
#define VIEWPORTY 5 #define VIEWPORTY 5
// 560 = Double Hi-Res // 560 = Double Hi-Res
// 384 = Doule Scan Line // 384 = Doule Scan Line
#define FRAMEBUFFER_W 560 #define FRAMEBUFFER_W 560
#define FRAMEBUFFER_H 384 #define FRAMEBUFFER_H 384
// Direct Draw -- For Full Screen // Direct Draw -- For Full Screen
extern LPDIRECTDRAW g_pDD; extern LPDIRECTDRAW g_pDD;
extern LPDIRECTDRAWSURFACE g_pDDPrimarySurface; extern LPDIRECTDRAWSURFACE g_pDDPrimarySurface;
extern IDirectDrawPalette* g_pDDPal; extern IDirectDrawPalette* g_pDDPal;
// Win32 // Win32
extern HWND g_hFrameWindow; extern HWND g_hFrameWindow;
extern HDC g_hFrameDC; extern HDC g_hFrameDC;
extern BOOL g_bIsFullScreen; extern BOOL g_bIsFullScreen;
void FrameCreateWindow (); // Emulator
HDC FrameGetDC (); extern bool g_bFreshReset;
HDC FrameGetVideoDC (LPBYTE *,LONG *); extern string PathFilename[2];
void FrameRefreshStatus (int); extern bool g_bScrollLock_FullSpeed;
void FrameRegisterClass (); extern int g_nCharsetType;
void FrameReleaseDC ();
void FrameReleaseVideoDC ();
void FrameSetCursorPosByMousePos();
extern string PathFilename[2]; // Prototypes
void CtrlReset();
LRESULT CALLBACK FrameWndProc ( void FrameCreateWindow ();
HWND window, HDC FrameGetDC ();
UINT message, HDC FrameGetVideoDC (LPBYTE *,LONG *);
WPARAM wparam, void FrameRefreshStatus (int);
LPARAM lparam ); void FrameRegisterClass ();
void FrameReleaseDC ();
void FrameReleaseVideoDC ();
void FrameSetCursorPosByMousePos();
LRESULT CALLBACK FrameWndProc (
HWND window,
UINT message,
WPARAM wparam,
LPARAM lparam );
extern bool g_bScrollLock_FullSpeed;
extern int g_nCharsetType;