VGAVIEW.H 374 B

12345678910111213141516171819202122232425
  1. #import <appkit/appkit.h>
  2. #import "DoomDef.h"
  3. // a few globals
  4. extern byte *bytebuffer;
  5. @interface VGAView:View
  6. {
  7. id game;
  8. int nextpalette[256]; // color lookup table
  9. int *nextimage; // palette expanded and scaled
  10. unsigned scale;
  11. NXWindowDepth depth;
  12. }
  13. - updateView;
  14. - (unsigned)scale;
  15. - setPalette:(byte *)pal;
  16. - setScale:(int)newscale;
  17. @end