mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-24 05:11:42 +00:00
25f8a50ef4
writing makefiles by hand. Add a makefile preamble to set up our flags. Compartmentalize all the headers into a Headers/ dir.
42 lines
684 B
Objective-C
42 lines
684 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) point;
|
|
- setPoint: (NSPoint) point;
|
|
|
|
- addToHeightRange: (float)height;
|
|
|
|
- newRealBounds;
|
|
- newSuperBounds;
|
|
|
|
- XYDrawSelf;
|
|
|
|
- (BOOL)XYmouseDown: (NSPoint *)pt;
|
|
|
|
- setXYOrigin: (NSPoint) point;
|
|
|
|
- setOrigin: (NSPoint *)pt scale: (float)sc;
|
|
|
|
@end
|
|
|