home *** CD-ROM | disk | FTP | other *** search
/ Superpower (Alt) / SUPERPOWER.iso / q / source / zview.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-08  |  677 b   |  43 lines

  1.  
  2. #import <appkit/appkit.h>
  3. #import "mathlib.h"
  4.  
  5. extern    id zview_i;
  6.  
  7. // zplane controls the objects displayed in the xyview
  8. extern    float    zplane;
  9. extern    float    zplanedir;
  10.  
  11. @interface ZView :  View
  12. {
  13.     float        minheight, maxheight;
  14.     float        oldminheight, oldmaxheight;
  15.     float        topbound, bottombound;        // for floor clipping
  16.     
  17.     float        scale;
  18.     
  19.     vec3_t        origin;
  20. }
  21.  
  22. - clearBounds;
  23. - getBounds: (float *)top :(float *)bottom;
  24.  
  25. - getPoint: (NXPoint *)pt;
  26. - setPoint: (NXPoint *)pt;
  27.  
  28. - addToHeightRange: (float)height;
  29.  
  30. - newRealBounds;
  31. - newSuperBounds;
  32.  
  33. - XYDrawSelf;
  34.  
  35. - (BOOL)XYmouseDown: (NXPoint *)pt;
  36.  
  37. - setXYOrigin: (NXPoint *)pt;
  38.  
  39. - setOrigin: (NXPoint *)pt scale: (float)sc;
  40.  
  41. @end
  42.  
  43.