diff options
author | Treeki <treeki@gmail.com> | 2012-09-24 05:40:39 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-09-24 05:40:39 +0200 |
commit | 245bb3325f613f81973866100e86ee681b0fde9d (patch) | |
tree | 7837866a91fc6c422ffb9b730c2fdbbb6577ea53 /src/shyguy.cpp | |
parent | aafa2a57c88c01067266244eae2a906d8771c065 (diff) | |
parent | 4f567256d015cf7a835ac03b9e5abb8a2a7eb12a (diff) | |
download | kamek-245bb3325f613f81973866100e86ee681b0fde9d.tar.gz kamek-245bb3325f613f81973866100e86ee681b0fde9d.zip |
Merge branch 'level-select' into new-hud
Diffstat (limited to '')
-rw-r--r-- | src/shyguy.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/shyguy.cpp b/src/shyguy.cpp index 174b075..5a21e6c 100644 --- a/src/shyguy.cpp +++ b/src/shyguy.cpp @@ -114,6 +114,7 @@ class daShyGuy : public dEn_c { void _vf148(); void _vf14C(); + bool CreateIceActors(); USING_STATES(daShyGuy); DECLARE_STATE(Walk); @@ -354,6 +355,20 @@ daShyGuy *daShyGuy::build() { doStateChange(&StateID_Die); } + extern "C" void sub_80024C20(void); + extern "C" void __destroy_arr(void*, void(*)(void), int, int); + //extern "C" __destroy_arr(struct DoSomethingCool, void(*)(void), int cnt, int bar); + + bool daShyGuy::CreateIceActors() + { + struct DoSomethingCool my_struct = { 0, this->pos, {1.0, 1.5, 1.5}, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 }; + this->frzMgr.Create_ICEACTORs( (void*)&my_struct, 1 ); + __destroy_arr( (void*)&my_struct, sub_80024C20, 0x3C, 1 ); + return true; + } + + + void daShyGuy::collisionCat13_Hammer(ActivePhysics *apThis, ActivePhysics *apOther) { doStateChange(&StateID_Die); } |