summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-04-25 20:44:34 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2025-04-25 20:44:34 -0400
commitadc8a35063e0fd2e21483801af5abef1ee256dcb (patch)
tree74d209d2cd5199048b9ac84154543393eab4fc63 /include
parentdaf1badf85c9869c6336b91b691cd276a8705ff7 (diff)
d_grass OK
Diffstat (limited to 'include')
-rw-r--r--include/d/d_grass.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/include/d/d_grass.h b/include/d/d_grass.h
index 9f0395c6..71038494 100644
--- a/include/d/d_grass.h
+++ b/include/d/d_grass.h
@@ -59,12 +59,18 @@ public:
dGrass_data_c* newData(cXyz&, int, s8);
s32 newAnm();
void setAnm(int, s16);
- dGrass_anm_c& getAnm(s32 idx) { return mGrassAnm[idx]; }
- void deleteRoom(s32 roomNo) { mGrassRoom[roomNo].deleteData(); }
+ dGrass_data_c* getData() { return mGrassData; }
+ dGrass_anm_c* getAnm() { return mGrassAnm; }
+ dGrass_anm_c& getAnm(int idx) { return mGrassAnm[idx]; }
+ void deleteAnm(int idx) { mGrassAnm[idx].mState = 0; }
+ void deleteRoom(int roomNo) { mGrassRoom[roomNo].deleteData(); }
u16 getKusaRunPID() { return mCoParticle; }
u16 getKusaKenPID() { return mAtParticle; }
+ // TODO
+ void getNum() {}
+
virtual void draw();
virtual ~dGrass_packet_c();
@@ -86,4 +92,4 @@ public:
/* 0x1A66A */ u16 mAtParticle;
};
-#endif /* D_GRASS_H */ \ No newline at end of file
+#endif /* D_GRASS_H */