osezer patch 003
[theoddone33/hhexen.git] / include / vgaview.h
1
2 //**************************************************************************
3 //**
4 //** VGAView.h : Heretic 2 : Raven Software, Corp.
5 //**
6 //** $RCSfile$
7 //** $Revision$
8 //** $Date$
9 //** $Author$
10 //**
11 //**************************************************************************
12
13 #import <appkit/appkit.h>
14 #import "h2def.h"
15
16 // a few globals
17 extern byte     *bytebuffer;
18
19
20 @interface VGAView:View
21 {
22     id          game;
23     int         nextpalette[256];       // color lookup table
24     int         *nextimage;             // palette expanded and scaled
25     unsigned    scale;
26     NXWindowDepth       depth;
27 }
28
29 - updateView;
30 - (unsigned)scale;
31 - setPalette:(byte *)pal;
32 - setScale:(int)newscale;
33
34 @end
35