mirror of
https://github.com/id-Software/Quake-Tools.git
synced 2026-03-20 00:49:35 +01:00
Source release of QuakeEd, the map editing application on NEXTSTEP for Quake.
This commit is contained in:
42
QuakeEd/ZView.h
Normal file
42
QuakeEd/ZView.h
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user