quakeforge/tools/Forge/Bundles/MapEdit/ZView.h
Jeff Teunissen 0e5cd14829 tactical whitespace bomb
Add return-type information to all methods, split up lines properly where
I could find them, and ran the whole thing through uncrustify. Looks purty
now. :)
2010-11-28 15:31:38 +09:00

50 lines
842 B
Objective-C

#ifndef ZView_h
#define ZView_h
#include <AppKit/AppKit.h>
#include "QF/mathlib.h"
#include "render.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;
NSBezierPath *checker;
}
- (id) clearBounds;
- (id) getBounds: (float *)top
: (float *)bottom;
- (id) getPoint: (NSPoint *)pt;
- (id) setPoint: (NSPoint *)pt;
- (id) addToHeightRange: (float)height;
- (id) newRealBounds;
- (id) newSuperBounds;
- (void) XYDrawSelf;
- (BOOL) XYmouseDown: (NSPoint *)pt;
- (id) setXYOrigin: (NSPoint *)pt;
- (id) setOrigin: (NSPoint)pt scale: (float)sc;
@end
#endif // ZView_h