1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
+
-
+
-
-
|
#import <ObjFW/ObjFW.h>
OF_ASSUME_NONNULL_BEGIN
@class MapModelInfo;
@interface MD2: OFObject
@property (nonatomic) MapModelInfo *mmi;
@property (copy, nonatomic) OFString *loadname;
@property (nonatomic) int mdlnum;
@property (nonatomic) bool loaded;
+ (instancetype)md2;
- (bool)loadWithIRI:(OFIRI *)IRI;
- (void)renderWithLight:(OFVector3D)light
frame:(int)frame
range:(int)range
x:(float)x
position:(OFVector3D)position
y:(float)y
z:(float)z
yaw:(float)yaw
pitch:(float)pitch
scale:(float)scale
speed:(float)speed
snap:(int)snap
basetime:(int)basetime;
- (void)scaleWithFrame:(int)frame scale:(float)scale snap:(int)snap;
|