summaryrefslogtreecommitdiff
path: root/include/g3dhax.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-02-22 00:22:16 +0100
committerTreeki <treeki@gmail.com>2013-02-22 00:22:16 +0100
commit47c6a8826430eb0836cb0ef811f7492cae76e91c (patch)
treef014a382f3858de1c1d38bbccafb5c3f3236646c /include/g3dhax.h
parent79bc1010ca47c234fe372bca82368f076970a2b8 (diff)
downloadkamek-47c6a8826430eb0836cb0ef811f7492cae76e91c.tar.gz
kamek-47c6a8826430eb0836cb0ef811f7492cae76e91c.zip
lots of API updates
Diffstat (limited to 'include/g3dhax.h')
-rw-r--r--include/g3dhax.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/g3dhax.h b/include/g3dhax.h
index 85dc922..bc52403 100644
--- a/include/g3dhax.h
+++ b/include/g3dhax.h
@@ -252,7 +252,7 @@ namespace m3d {
virtual void _vf0C();
virtual void _vf10();
virtual bool scheduleForDrawing();
- virtual void bindAnim(void *anim, float boo);
+ virtual void bindAnim(banm_c *anim);
virtual void _vf1C();
bool setup(nw4r::g3d::ResMdl model, void *allocator, u32 bufferOption, int nView, u32 *size);
@@ -336,7 +336,7 @@ namespace m3d {
void bind(/*b*/mdl_c *model, nw4r::g3d::ResAnmVis anmRes, bool playsOnce);
};
- class anmClr_c : public fanm_c {
+ class anmClr_c : public banm_c {
public:
class child_c : public fanm_c {
~child_c();
@@ -364,6 +364,9 @@ namespace m3d {
void setEntryByte34(u8 value, int number);
float getEntryField28(int number);
+ private:
+ child_c *children;
+
};
class anmTexPat_c : public banm_c {
@@ -397,7 +400,7 @@ namespace m3d {
void setEntryByte34(u8 value, int number);
float getEntryField28(int number);
- private:
+ //private:
child_c *children;
void processOneEntry(int number);