summaryrefslogtreecommitdiff
path: root/src/engine/objects/ChainChomp.h
blob: 1a28b27bb3a09a4182b77f1af57e76aa73507306 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#pragma once

#include <libultraship.h>
#include <vector>
#include "Object.h"

#include "engine/World.h"

extern "C" {
#include "macros.h"
#include "main.h"
#include "vehicles.h"
#include "waypoints.h"
#include "common_structs.h"
#include "objects.h"
#include "camera.h"
#include "assets/textures/some_data.h"
}

/**
 * Animation crash for custom courses
 */
class OChainChomp : public OObject {
public:
    explicit OChainChomp();
    explicit OChainChomp(const SpawnParams& params);


    ~OChainChomp() {
        _count--;
    }

    static size_t GetCount() {
        return _count;
    }

    virtual void Tick() override;
    virtual void Draw(s32 cameraId) override;
    void func_80055AB8(s32 objectIndex, s32 cameraId);

    void func_80085878(s32 objectIndex, s32 arg1);
    void func_800859C8(s32 objectIndex, s32 arg1);

private:
    FVector _pos;
    static size_t _count;
    size_t _idx;
};