2006-02-25 20:50:29 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
enum {NOT_ASCII=0, ASCII};
|
|
|
|
|
2006-07-05 21:23:13 +00:00
|
|
|
// 3D Border
|
|
|
|
#define VIEWPORTX 5
|
|
|
|
#define VIEWPORTY 5
|
|
|
|
|
2008-08-31 04:31:35 +00:00
|
|
|
// 560 = Double Hi-Res
|
|
|
|
// 384 = Doule Scan Line
|
|
|
|
#define FRAMEBUFFER_W 560
|
|
|
|
#define FRAMEBUFFER_H 384
|
|
|
|
|
2006-07-02 09:56:50 +00:00
|
|
|
// Win32
|
2006-05-14 00:44:38 +00:00
|
|
|
extern HWND g_hFrameWindow;
|
2006-07-05 21:23:13 +00:00
|
|
|
extern HDC g_hFrameDC;
|
2006-07-02 09:56:50 +00:00
|
|
|
|
2006-02-25 20:50:29 +00:00
|
|
|
extern BOOL fullscreen;
|
|
|
|
void FrameCreateWindow ();
|
|
|
|
HDC FrameGetDC ();
|
|
|
|
HDC FrameGetVideoDC (LPBYTE *,LONG *);
|
|
|
|
void FrameRefreshStatus (int);
|
|
|
|
void FrameRegisterClass ();
|
|
|
|
void FrameReleaseDC ();
|
|
|
|
void FrameReleaseVideoDC ();
|
2008-05-17 23:20:33 +00:00
|
|
|
void FrameSetCursorPosByMousePos();
|
2006-06-12 22:06:50 +00:00
|
|
|
|
2008-06-20 23:47:25 +00:00
|
|
|
extern string PathFilename[2];
|
|
|
|
|
2006-06-12 22:06:50 +00:00
|
|
|
LRESULT CALLBACK FrameWndProc (
|
|
|
|
HWND window,
|
|
|
|
UINT message,
|
|
|
|
WPARAM wparam,
|
|
|
|
LPARAM lparam );
|
2007-08-06 21:38:35 +00:00
|
|
|
|
|
|
|
extern bool g_bScrollLock_FullSpeed;
|
2008-06-20 23:47:25 +00:00
|
|
|
extern int g_nCharsetType;
|