summaryrefslogtreecommitdiff
path: root/src/engine/objects/CheepCheep.h
blob: 32e9a5aeb4d3ffca405530ac4ed62e6024f521b6 (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 "World.h"

extern "C" {
#include "macros.h"
#include "main.h"
#include "common_structs.h"
#include "objects.h"
#include "course_offsets.h"
#include "some_data.h"
}


class OCheepCheep : public OObject {
public:
    enum CheepType {
        RACE,
        PODIUM_CEREMONY
    };

    enum Behaviour : uint16_t {
    };

public:

    explicit OCheepCheep(const FVector& pos, CheepType type, IPathSpan span);

    virtual void Tick() override;
    virtual void Draw(s32 cameraId) override;
    void func_8007BBBC(s32 objectIndex);
    void func_8007BD04(s32 playerId);
    void init_var_cheep_cheep(s32 objectIndex);
    void func_8007BEC8(s32 objectIndex);
    void func_8007BFB0(s32 objectIndex);

private:

    s32 _idx;
    CheepType _type;
    FVector _spawnPos;
    IPathSpan _span;

};