26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
void
initEntities()
{
ents = [[OFMutableArray alloc] init];
}
static void
renderent(Entity *e, OFString *mdlname, float z, float yaw, int frame /* = 0*/,
int numf /* = 1*/, int basetime /* = 0*/, float speed /* = 10.0f*/)
{
rendermodel(mdlname, frame, numf, 0, 1.1f,
OFMakeVector3D(e.x, z + S(e.x, e.y)->floor, e.y), yaw, 0, false,
1.0f, speed, 0, basetime);
}
void
|
|
|
|
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
void
initEntities()
{
ents = [[OFMutableArray alloc] init];
}
static void
renderent(Entity *e, OFString *mdlname, float z, float yaw, int frame, int numf,
int basetime, float speed)
{
rendermodel(mdlname, frame, numf, 0, 1.1f,
OFMakeVector3D(e.x, z + S(e.x, e.y)->floor, e.y), yaw, 0, false,
1.0f, speed, 0, basetime);
}
void
|