vgaview.h

来自「使用Doom引擎开发的著名游戏《毁灭巫师》的源代码。」· C头文件 代码 · 共 35 行

H
35
字号
//**************************************************************************//**//** VGAView.h : Heretic 2 : Raven Software, Corp.//**//** $RCSfile: VGAView.h,v $//** $Revision: 1.1 $//** $Date: 95/05/11 00:19:48 $//** $Author: bgokey $//**//**************************************************************************#import <appkit/appkit.h>#import "h2def.h"// a few globalsextern byte	*bytebuffer;@interface VGAView:View{    id		game;    int		nextpalette[256];	// color lookup table    int		*nextimage;		// palette expanded and scaled    unsigned	scale;    NXWindowDepth	depth;}- updateView;- (unsigned)scale;- setPalette:(byte *)pal;- setScale:(int)newscale;@end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?