summaryrefslogtreecommitdiff
path: root/src/heretic/vgaview.h
diff options
context:
space:
mode:
authorSimon Howard2008-09-04 23:15:36 +0000
committerSimon Howard2008-09-04 23:15:36 +0000
commit0df2cb80cf03d7259746834220d209b306a8c503 (patch)
treefdc5037429c91dcbc8207c3e75fc787ef96e207a /src/heretic/vgaview.h
parent6a294daa7859eaf0250aa4a77484dd11550e5c5e (diff)
downloadchocolate-doom-0df2cb80cf03d7259746834220d209b306a8c503.tar.gz
chocolate-doom-0df2cb80cf03d7259746834220d209b306a8c503.tar.bz2
chocolate-doom-0df2cb80cf03d7259746834220d209b306a8c503.zip
Add GPLed Heretic/Hexen source.
Subversion-branch: /branches/raven-branch Subversion-revision: 1195
Diffstat (limited to 'src/heretic/vgaview.h')
-rw-r--r--src/heretic/vgaview.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/heretic/vgaview.h b/src/heretic/vgaview.h
new file mode 100644
index 00000000..52d2a0e4
--- /dev/null
+++ b/src/heretic/vgaview.h
@@ -0,0 +1,24 @@
+
+#import <appkit/appkit.h>
+
+#import "DoomDef.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