4#include <game/bases/d_cd_blocks.hpp>
5#include <game/sLib/s_RangeData.hpp>
6#include <lib/egg/core/eggHeap.h>
14 virtual ~dCdFile_c() {}
16 void loadCourseData(
int fileNo);
23 int getAreaScroll(u8
id);
24 int getAreaZoomType(u8
id);
25 int getAreaZoomID(u8
id);
26 int getAreaZoomChange(u8
id);
27 int getAreaBgm(u8
id);
28 int getAreaBgmMode(u8
id);
29 int getAreaMaskNo(u8
id);
30 int getAreaBg2(u8
id);
31 int getAreaBg3(u8
id);
32 int getAreaColorOBJ(u8
id);
33 int getAreaColorBG(u8
id);
34 int getAreaDirection(u8
id);
35 int getAreaSizeX(u8
id);
45 void *mpBlocks[CD_BLOCK_COUNT];
63 u32 mBlockSizes[CD_BLOCK_COUNT];
65 u32 mBlockElementCounts[CD_BLOCK_COUNT];
70 int mBlock4ElementCount;
74 int mActorCreateCount;
75 int mBlock8ElementCount;
92 dCd_c() { m_instance =
this; }
93 ~dCd_c() { m_instance =
nullptr; }
95 void loadCourseData();
97 static void setCourseArcName(
int world,
int course,
char *buffer);
98 static void createInstance(
EGG::Heap *heap);
99 static void deleteInstance();
103 if (course->mpAreas !=
nullptr) {
111 static dCd_c *m_instance;
Course data file holder. A course data file contains the actual course elements - areas,...
A three-dimensional floating point vector.
#define COURSE_FILE_COUNT
The number of files in a course.