📄 win_vid.h
字号:
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
// $Id: win_vid.h,v 1.5 2000/09/28 20:57:23 bpereira Exp $
//
// Copyright (C) 1998-2000 by DooM Legacy Team.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
//
// $Log: win_vid.h,v $
// Revision 1.5 2000/09/28 20:57:23 bpereira
// no message
//
// Revision 1.4 2000/09/01 19:34:38 bpereira
// no message
//
// Revision 1.3 2000/03/29 20:14:21 hurdler
// your fix didn't work under windows, find another solution
//
// Revision 1.2 2000/02/27 00:42:12 hurdler
// fix CR+LF problem
//
// Revision 1.1.1.1 2000/02/22 20:32:33 hurdler
// Initial import into CVS (v1.29 pr3)
//
//
// DESCRIPTION:
//
//
//-----------------------------------------------------------------------------
#ifndef __WIN_VID_H__
#define __WIN_VID_H__
#include "../command.h"
#include "../screen.h"
// these are utilised among different display drivers (glide/ddraw/dosvesa/..)
extern int numvidmodes; //total number of DirectDraw display modes
extern vmode_t *pvidmodes; //start of videomodes list.
// setup a video mode, this is to be called from the menu
int VID_SetMode (int modenum);
BOOL VID_FreeAndAllocVidbuffer (viddef_t *lvid);
// uses memcpy
void VID_BlitLinearScreen (byte *srcptr, byte *destptr,
int width, int height,
int srcrowbytes, int destrowbytes);
#endif //__WIN_VID_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -