31#define MAX_CLEAR_DEPTH 10000000000.0
33#define INTERMEDIATE_CLEAR_DEPTH 100.0
36#define MIN_FOV_DEG 30.0f
37#define MAX_FOV_DEG 80.0f
38#define MIN_FOV (tan((MIN_FOV_DEG / 2) * M_PI / 180.0f))
39#define MAX_FOV (tan((MAX_FOV_DEG / 2) * M_PI / 180.0f))
42#define MOUSE_DOUBLE_CLICK_INTERVAL 0.40
43#define OOMOUSEWHEEL_EVENTS_DELAY_INTERVAL 0.05
44#define OOMOUSEWHEEL_DELTA 1.0
170- (void) initKeyMappingData;
172- (void) allowStringInput: (BOOL) value;
174- (NSString *) typedString;
175- (void) resetTypedString;
176- (void) setTypedString:(NSString*) value;
179- (NSSize) backingViewSize;
180- (GLfloat) display_z;
189- (void) initialiseGLWithSize:(NSSize) v_size;
191- (NSData *)pixelFormatAttributes;
193- (void) drawRect:(NSRect)rect;
194- (void) updateScreen;
195- (void) pollControls;
197- (void) stringToClipboard:(NSString *)stringToCopy;
199- (BOOL) snapShot:(NSString *)filename;
201- (void)mouseDown:(NSEvent *)theEvent;
202- (void)mouseUp:(NSEvent *)theEvent;
205- (void) setVirtualJoystick:(
double) vmx :(
double) vmy;
206- (NSPoint) virtualJoystickPosition;
210- (void) clearKey: (
int)theKey;
211- (BOOL) isAlphabetKeyDown;
212- (void) suppressKeysUntilKeyUp;
213- (BOOL) isDown: (
int) key;
216- (BOOL) isCommandDown;
218- (BOOL) isCapsLockOn;
219- (BOOL) lastKeyWasShifted;
221- (
int) mouseWheelState;
222- (float) mouseWheelDelta;
223- (void) setMouseWheelDelta: (
float) newWheelDelta;
226- (BOOL) isCommandQDown;
227- (BOOL) isCommandFDown;
228- (void) clearCommandF;
237- (void) dumpRGBAToFileNamed:(NSString *)name
238 bytes:(uint8_t *)bytes
239 width:(NSUInteger)width
240 height:(NSUInteger)height
241 rowBytes:(NSUInteger)rowBytes;
243- (void) dumpRGBToFileNamed:(NSString *)name
244 bytes:(uint8_t *)bytes
245 width:(NSUInteger)width
246 height:(NSUInteger)height
247 rowBytes:(NSUInteger)rowBytes;
249- (void) dumpGrayToFileNamed:(NSString *)name
250 bytes:(uint8_t *)bytes
251 width:(NSUInteger)width
252 height:(NSUInteger)height
253 rowBytes:(NSUInteger)rowBytes;
255- (void) dumpGrayAlphaToFileNamed:(NSString *)name
256 bytes:(uint8_t *)bytes
257 width:(NSUInteger)width
258 height:(NSUInteger)height
259 rowBytes:(NSUInteger)rowBytes;
262- (void) dumpRGBAToRGBFileNamed:(NSString *)rgbName
263 andGrayFileNamed:(NSString *)grayName
264 bytes:(uint8_t *)bytes
265 width:(NSUInteger)width
266 height:(NSUInteger)height
267 rowBytes:(NSUInteger)rowBytes;
271- (void) setGammaValue: (
float) value;
274- (void) setFov:(
float)value fromFraction:(BOOL)fromFraction;
275- (float) fov:(BOOL)inFraction;
BOOL m_glContextInitialized
NSDictionary * keyMappings_shifted
NSMutableString * typedString
int scancode2Unicode[NUM_KEYS]
NSTimeInterval timeIntervalAtLastMouseWheel
NSData * _pixelFormatAttributes
NSPoint virtualJoystickPosition
OOOpenGLMatrixManager * matrixManager
NSTimeInterval timeIntervalAtLastClick
NSDictionary * keyMappings_normal
GameController * gameController
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque