summaryrefslogtreecommitdiff
path: root/src/engine/actors/BowserStatue.h
blob: 06d53fcbdf90a8e416502c23ec9fea321dd6933b (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
#pragma once

#include <libultraship.h>
#include <libultra/gbi.h>
#include "engine/Actor.h"
#include "engine/CoreMath.h"

extern "C" {
#include "common_structs.h"
#include "assets/textures/other_textures.h"
}

extern Vtx gBowserStatueVtx[717];
extern Gfx gBowserStatueGfx[162];

// The data for this actor is generated and cut out from the actual track geography
// That generator is currently commented out. So this actor is not usable atm.
class ABowserStatue : public AActor {
public:
    enum Behaviour : int16_t {
        DEFAULT,
        CRUSH
    };

    virtual ~ABowserStatue() = default;
    explicit ABowserStatue(const SpawnParams& params);

    virtual void Tick() override;
    virtual void Draw(Camera*) override;
    virtual bool IsMod() override;
private:
    ABowserStatue::Behaviour mBehaviour;
    static size_t _count;
    size_t _idx;
};