summaryrefslogtreecommitdiff
path: root/src/hexen/vgaview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen/vgaview.h')
-rw-r--r--src/hexen/vgaview.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/hexen/vgaview.h b/src/hexen/vgaview.h
new file mode 100644
index 00000000..b880833b
--- /dev/null
+++ b/src/hexen/vgaview.h
@@ -0,0 +1,34 @@
+
+//**************************************************************************
+//**
+//** 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 globals
+extern 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