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

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

struct CPUBehaviour {
    /* 0x0 */ int16_t pathPointStart;
    /* 0x2 */ int16_t pathPointEnd;
    /* 0x4 */ int32_t type;
}; // size = 0x8

namespace MK64 {
class CPU : public Ship::Resource<CPUBehaviour> {
  public:
    using Resource::Resource;

    CPU();

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

    std::vector<CPUBehaviour> CPUList;
};
} // namespace MK64