VGAVIEW.H 698 B

1234567891011121314151617181920212223242526272829303132333435
  1. //**************************************************************************
  2. //**
  3. //** VGAView.h : Heretic 2 : Raven Software, Corp.
  4. //**
  5. //** $RCSfile: VGAView.h,v $
  6. //** $Revision: 1.1 $
  7. //** $Date: 95/05/11 00:19:48 $
  8. //** $Author: bgokey $
  9. //**
  10. //**************************************************************************
  11. #import <appkit/appkit.h>
  12. #import "h2def.h"
  13. // a few globals
  14. extern byte *bytebuffer;
  15. @interface VGAView:View
  16. {
  17. id game;
  18. int nextpalette[256]; // color lookup table
  19. int *nextimage; // palette expanded and scaled
  20. unsigned scale;
  21. NXWindowDepth depth;
  22. }
  23. - updateView;
  24. - (unsigned)scale;
  25. - setPalette:(byte *)pal;
  26. - setScale:(int)newscale;
  27. @end