summaryrefslogtreecommitdiff
path: root/src/port/resource/type/CourseVtx.h
blob: 7882ee6595cb3648b00b0e0f6fc3d7e801262950 (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
#pragma once

#include "ship/resource/Resource.h"
#include <vector>
#include <libultra/gbi.h>

typedef struct {
    s16 ob[3]; /* x, y, z */
    s16 tc[2]; /* texture coord */
    s8 ca[4];  /* color & alpha */
} CourseVtxData;

namespace MK64 {
class CourseVtxClass : public Ship::Resource<CourseVtxData> {
  public:
    using Resource::Resource;

    CourseVtxClass();

    CourseVtxData* GetPointer() override;
    size_t GetPointerSize() override;

    std::vector<CourseVtxData> CourseVtxList;
};
} // namespace MK64