/*
    Open1560 - An Open Source Re-Implementation of Midtown Madness 1 Beta
    Copyright (C) 2020 Brick

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include "arts7/node.h"
#include "vector7/vector3.h"

class mmWaypointObject final : public asNode
{
public:
    // ??0mmWaypointObject@@QAE@AAVVector4@@PADHMHM@Z
    ARTS_IMPORT mmWaypointObject(Vector4& arg1, char* arg2, i32 arg3, f32 arg4, i32 arg5, f32 arg6);

    // ??1mmWaypointObject@@UAE@XZ
    ARTS_EXPORT ~mmWaypointObject() override = default;

    // ?Activate@mmWaypointObject@@QAEXXZ
    ARTS_IMPORT void Activate();

    // ?Deactivate@mmWaypointObject@@QAEXXZ
    ARTS_IMPORT void Deactivate();

    // ?Move@mmWaypointObject@@QAEXXZ
    ARTS_IMPORT void Move();

    // ?Reset@mmWaypointObject@@UAEXXZ
    ARTS_IMPORT void Reset() override;

    // ?SetHeading@mmWaypointObject@@QAEXM@Z
    ARTS_IMPORT void SetHeading(f32 arg1);

    // ?Update@mmWaypointObject@@UAEXXZ
    ARTS_IMPORT void Update() override;

    b32 Initialized;
    i32 IdentMask;
    i32 HitId;
    i32* Inst;
    Vector3 Position;
    i32 Heading;
    i32 Type;
    i32 Radius;
    i32 RadiusSqr;
};

check_size(mmWaypointObject, 0x4C);