#pragma once

#include <libultraship.h>
#include <vector>
#include "ParticleEmitter.h"
#include "World.h"

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

/**
 * Used in the podium ceremony when the trophy appears
 */
class StarEmitter : public ParticleEmitter {
public:
    enum Behaviour : uint16_t {
    };

public:
    f32 Diameter = 0.0f; // Waddle in a circle around the spawn point at this diameter.
    uint16_t MirrorModeAngleOffset;

    explicit StarEmitter();

    virtual void Tick() override;
    virtual void Draw(s32 cameraId) override;
    void Emit(Vec3f arg1, s32 arg2);
    void func_80077428(s32 objectIndex);
    void func_80077584(s32 objectIndex);
    void func_80077450(s32 objectIndex);
    void func_80054AFC(s32 objectIndex, Vec3f arg1);

private:
    s32 ObjectIndex[128];
    s32 _next = 0;
};
