Added black and white mode

This commit is contained in:
pagefault
2001-05-16 00:32:33 +00:00
parent bbd4414f09
commit 36da242ddd
5 changed files with 37 additions and 9 deletions

View File

@@ -1218,6 +1218,8 @@ void Stop36HZ(void)
char WinMessage[256];
extern unsigned char cvidmode;
extern BYTE BlackAndWhite;
extern BYTE V8Mode;
DWORD FirstVid=1;
DWORD FirstFull=1;
extern BYTE GUIWFVID[];
@@ -1231,6 +1233,10 @@ void initwinvideo(void)
WINDOWPLACEMENT wndpl;
RECT rc1, swrect;
DWORD newmode=0;
if (BlackAndWhite == 1) V8Mode = 1;
else V8Mode = 0;
if(CurMode!=cvidmode)
{
CurMode=cvidmode;