summaryrefslogtreecommitdiff
path: root/src/d/d_a_ship_static.cpp
blob: cc7ae92e7d641dc19c2a80cee4357cffbaedfd97 (plain)
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
27
28
29
30
/*
 * d_a_ship_static.cpp
 */
#include "d/actor/d_a_ship.h"

void daShip_c::initStartPos(const cXyz* pos, short rotY) {
    current.pos.x = pos->x;
    current.pos.y = pos->y;
    current.pos.z = pos->z;
    next.pos.x = pos->x;
    next.pos.y = pos->y;
    next.pos.z = pos->z;
    shape_angle.y = rotY;
    current.angle.y = shape_angle.y;
    field_0x0358 &= 0xffffffef;
    mGravity = -2.5;


    mWaveR.remove();
    mWaveL.remove();

    mSplash.remove();
    mTrack.remove();
    field_0x1970.end();
    field_0x1984.end();
    field_0x1998.end();
    field_0x19ac.end();
    field_0x19c0.end();
}