From 47c6a8826430eb0836cb0ef811f7492cae76e91c Mon Sep 17 00:00:00 2001 From: Treeki Date: Fri, 22 Feb 2013 00:22:16 +0100 Subject: lots of API updates --- include/g3dhax.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'include/g3dhax.h') 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); -- cgit v1.2.3