Oolite 1.91.0.7644-241112-7f5034b
Loading...
Searching...
No Matches
PlayerEntityControls.h
Go to the documentation of this file.
1/*
2
3PlayerEntityControls.h
4
5Input management methods.
6
7Oolite
8Copyright (C) 2004-2013 Giles C Williams and contributors
9
10This program is free software; you can redistribute it and/or
11modify it under the terms of the GNU General Public License
12as published by the Free Software Foundation; either version 2
13of the License, or (at your option) any later version.
14
15This program is distributed in the hope that it will be useful,
16but WITHOUT ANY WARRANTY; without even the implied warranty of
17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18GNU General Public License for more details.
19
20You should have received a copy of the GNU General Public License
21along with this program; if not, write to the Free Software
22Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
23MA 02110-1301, USA.
24
25*/
26
27#include "PlayerEntity.h"
28
29
30@interface PlayerEntity (Controls)
31
32- (void) initControls;
34
35- (void) pollControls:(double)delta_t;
38- (void) targetNewSystem:(int) direction;
39- (void) switchToMainView;
40- (void) noteSwitchToView:(OOViewID)toView fromView:(OOViewID)fromView;
41- (void) beginWitchspaceCountdown:(int)spin_time;
44- (NSArray*) processKeyCode:(NSArray*)key_def;
45- (BOOL) checkNavKeyPress:(NSArray*)key_def;
46- (BOOL) checkKeyPress:(NSArray*)key_def;
47- (BOOL) checkKeyPress:(NSArray*)key_def fKey_only:(BOOL)fKey_only;
48- (BOOL) checkKeyPress:(NSArray*)key_def ignore_ctrl:(BOOL)ignore_ctrl;
49- (BOOL) checkKeyPress:(NSArray*)key_def fKey_only:(BOOL)fKey_only ignore_ctrl:(BOOL)ignore_ctrl;
50- (int) getFirstKeyCode:(NSArray*)key_def;
51
52@end
OOViewID
Definition OOTypes.h:43
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque