mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-09-07 00:54:25 +00:00
Color console support (still have a bug with MA1 xxxx, if xxxx has 0x60) Main Message loop is more 'game' like for debugger cursor timing
28 lines
527 B
C
28 lines
527 B
C
#pragma once
|
|
|
|
enum {NOT_ASCII=0, ASCII};
|
|
|
|
// 3D Border
|
|
#define VIEWPORTX 5
|
|
#define VIEWPORTY 5
|
|
|
|
// Win32
|
|
extern HWND g_hFrameWindow;
|
|
extern HDC g_hFrameDC;
|
|
|
|
extern BOOL fullscreen;
|
|
|
|
void FrameCreateWindow ();
|
|
HDC FrameGetDC ();
|
|
HDC FrameGetVideoDC (LPBYTE *,LONG *);
|
|
void FrameRefreshStatus (int);
|
|
void FrameRegisterClass ();
|
|
void FrameReleaseDC ();
|
|
void FrameReleaseVideoDC ();
|
|
|
|
LRESULT CALLBACK FrameWndProc (
|
|
HWND window,
|
|
UINT message,
|
|
WPARAM wparam,
|
|
LPARAM lparam );
|