mirror of
https://github.com/id-Software/Quake-Tools.git
synced 2026-03-19 16:39:31 +01:00
43 lines
677 B
Objective-C
43 lines
677 B
Objective-C
|
|
#import <appkit/appkit.h>
|
|
#import "mathlib.h"
|
|
|
|
extern id zview_i;
|
|
|
|
// zplane controls the objects displayed in the xyview
|
|
extern float zplane;
|
|
extern float zplanedir;
|
|
|
|
@interface ZView : View
|
|
{
|
|
float minheight, maxheight;
|
|
float oldminheight, oldmaxheight;
|
|
float topbound, bottombound; // for floor clipping
|
|
|
|
float scale;
|
|
|
|
vec3_t origin;
|
|
}
|
|
|
|
- clearBounds;
|
|
- getBounds: (float *)top :(float *)bottom;
|
|
|
|
- getPoint: (NXPoint *)pt;
|
|
- setPoint: (NXPoint *)pt;
|
|
|
|
- addToHeightRange: (float)height;
|
|
|
|
- newRealBounds;
|
|
- newSuperBounds;
|
|
|
|
- XYDrawSelf;
|
|
|
|
- (BOOL)XYmouseDown: (NXPoint *)pt;
|
|
|
|
- setXYOrigin: (NXPoint *)pt;
|
|
|
|
- setOrigin: (NXPoint *)pt scale: (float)sc;
|
|
|
|
@end
|
|
|