summaryrefslogtreecommitdiff
path: root/include/daEnemy_c.h
diff options
context:
space:
mode:
authormegazig <megazig@megazig-laptop.lightning.home>2012-01-12 19:39:28 -0600
committermegazig <megazig@megazig-laptop.lightning.home>2012-01-12 19:39:28 -0600
commit1cac64b9ff7384af650fed2bef25fa27069fd589 (patch)
treefdbb65c847aa5183ceb2cf6ae1118b03f2a96a36 /include/daEnemy_c.h
parent81edb47b7f677ba37e81f896645ecdc023f4adb9 (diff)
downloadkamek-1cac64b9ff7384af650fed2bef25fa27069fd589.tar.gz
kamek-1cac64b9ff7384af650fed2bef25fa27069fd589.zip
fixes for using class functions instead of extern'd calls
updated full daEnDosun_c definition half working daEnMegaDosun_c
Diffstat (limited to 'include/daEnemy_c.h')
-rw-r--r--include/daEnemy_c.h27
1 files changed, 15 insertions, 12 deletions
diff --git a/include/daEnemy_c.h b/include/daEnemy_c.h
index 36fd574..7b74fed 100644
--- a/include/daEnemy_c.h
+++ b/include/daEnemy_c.h
@@ -7,23 +7,26 @@
/* All Addresses NTSCv2 */
+//FIXME :(
+extern "C" void HandlesOverallScale(Vec3* scale);
+
class daEnemy_c : public dEn_c {
public:
- int _vf58(); // 809a54e0 // daEnAkoya_c
- void _vf5C(); // 809a54d0 // daEnAkoya_c
- int _vf68(); // 809a5520 // daEnAkoya_c
+ int _vf58() { return 8; } // 809a54e0 // daEnAkoya_c
+ void _vf5C() { return; } // 809a54d0 // daEnAkoya_c
+ int _vf68() { return 1; } // 809a5520 // daEnAkoya_c
//u8* _vf6C(); // 809a3550 // daEnAkoya_c
//FIXME
- u8* ptrToWhichPlayer(); // 809a3550 // daEnAkoya_c
- int _vf74(); // 809a5510 // dActorState_c
- void _vf7C(); // 809a5500 // dActorState_c
- void _vfB8(); // 809a54f0 // dActorState_c
- void _vf228(); // 809a5560 // smthg w/InitlScale
- void _vf23C(); // 809a5550 // nullsub
- void _vf240(); // 809a5540 // nullsub
- int _vf244(); // 809a5530 // return 0;
+ u8* ptrToWhichPlayer() { return &this->which_player; } // 809a3550 // daEnAkoya_c
+ int _vf74() { return 1; } // 809a5510 // dActorState_c
+ void _vf7C() { return; } // 809a5500 // dActorState_c
+ void _vfB8() { return; } // 809a54f0 // dActorState_c
+ void _vf228() { HandlesOverallScale(&this->initialScale); } // 809a5560 // smthg w/InitlScale
+ void _vf23C() { return; } // 809a5550 // nullsub
+ void _vf240() { return; } // 809a5540 // nullsub
+ int _vf244() { return 0; } // 809a5530 // return 0;
- void setupBodyModel(); //FIXME
+ //void setupBodyModel(); //FIXME
};
#endif