/*
    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 "carcamcs.h"
#include "vector7/vector3.h"

class PovCamCS final : public CarCamCS
{
public:
    // ??0PovCamCS@@QAE@XZ
    ARTS_IMPORT PovCamCS();

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

#ifdef ARTS_DEV_BUILD
    // ?AddWidgets@PovCamCS@@UAEXPAVBank@@@Z
    ARTS_IMPORT void AddWidgets(Bank* arg1) override;
#endif

    // ?AfterLoad@PovCamCS@@UAEXXZ
    ARTS_IMPORT void AfterLoad() override;

    // ?GetClass@PovCamCS@@UAEPAVMetaClass@@XZ
    ARTS_IMPORT MetaClass* GetClass() override;

    // ?MakeActive@PovCamCS@@UAEXXZ
    ARTS_IMPORT void MakeActive() override;

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

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

    // ?UpdateInput@PovCamCS@@UAEXXZ
    ARTS_EXPORT void UpdateInput() override;

    // ?DeclareFields@PovCamCS@@SAXXZ
    ARTS_IMPORT static void DeclareFields();

    Vector3 Offset {0.0f, 1.6f, 0.7f};

private:
    // ?UpdatePOV@PovCamCS@@AAEXXZ
    ARTS_IMPORT void UpdatePOV();

    u8 gap124[0x20];
};

check_size(PovCamCS, 0x144);
