quakeforge/tools/Forge/ZView.h
Jeff Teunissen 317d3bddb8 New program (incomplete, and horridly broken): Forge.app. It's going to be
a GNUstep port of the original Quake editor for NeXTstep, QuakeEd.app.
2001-02-09 01:52:44 +00:00

42 lines
678 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: NSView
{
float minheight, maxheight;
float oldminheight, oldmaxheight;
float topbound, bottombound; // for floor clipping
float scale;
vec3_t origin;
}
- clearBounds;
- getBounds: (float *)top :(float *)bottom;
- getPoint: (NSPoint *)pt;
- setPoint: (NSPoint *)pt;
- addToHeightRange: (float)height;
- newRealBounds;
- newSuperBounds;
- XYDrawSelf;
- (BOOL)XYmouseDown: (NSPoint *)pt;
- setXYOrigin: (NSPoint *)pt;
- setOrigin: (NSPoint *)pt scale: (float)sc;
@end