Source release of QuakeEd, the map editing application on NEXTSTEP for Quake.

This commit is contained in:
Travis Bradshaw
2012-01-31 15:51:12 -06:00
parent 6df9737f9c
commit e4cb063480
82 changed files with 28345 additions and 0 deletions

42
QuakeEd/ZView.h Normal file
View File

@@ -0,0 +1,42 @@
#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