summaryrefslogtreecommitdiff
path: root/src/d/d_a_ship_static.cpp
blob: d594d4aab61b04ea400c155eff74128c5a7a0a1f (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
/**
 * d_a_ship_static.cpp
 * King of Red Lions - Static
 */

#include "d/dolzel.h" // IWYU pragma: keep
#include "d/actor/d_a_ship.h"

/* 80067D94-80067E78       .text initStartPos__8daShip_cFPC4cXyzs */
void daShip_c::initStartPos(const cXyz* pos, short rotY) {
    current.pos = *pos;
    old.pos = *pos;
    shape_angle.y = rotY;
    current.angle.y = shape_angle.y;
    offStateFlg(daSFLG_UNK10_e);
    gravity = -2.5f;

    mWaveL.remove();
    mWaveR.remove();
    mSplash.remove();
    mTrack.remove();
    mRipple.remove();
    m1984.remove();
    m1998.remove();
    m19AC.remove();
    m19C0.remove();
}