blob: 5fd89f5c877dffa088165b04893acdf012fd1d0e (
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
|
#include "TrackSections.h"
#include "libultraship/libultra/gbi.h"
#include "src/engine/tracks/Track.h"
namespace MK64 {
TrackSectionsClass::TrackSectionsClass() : Resource(std::shared_ptr<Ship::ResourceInitData>()) {
}
TrackSections* TrackSectionsClass::GetPointer() {
return TrackSectionsList.data();
}
size_t TrackSectionsClass::GetPointerSize() {
return TrackSectionsList.size() * sizeof(TrackSections);
}
TrackSectionsO2RClass::TrackSectionsO2RClass() : Resource(std::shared_ptr<Ship::ResourceInitData>()) {
}
TrackSections* TrackSectionsO2RClass::GetPointer() {
return TrackSectionsList.data();
}
size_t TrackSectionsO2RClass::GetPointerSize() {
return TrackSectionsList.size() * sizeof(TrackSections);
}
} // namespace MK64
|