Mercurial > might-and-magic-trilogy
diff mm7_2.cpp @ 45:bcc051713d20
BLV render & seffects
author | Nomad |
---|---|
date | Mon, 22 Oct 2012 20:45:14 +0200 |
parents | f4450ff595fe |
children | 79a30ee1ecdb |
line wrap: on
line diff
--- a/mm7_2.cpp Sun Oct 21 23:26:23 2012 +0600 +++ b/mm7_2.cpp Mon Oct 22 20:45:14 2012 +0200 @@ -7894,7 +7894,7 @@ v6->uAlly = 9999; v6->uGroup = 0; v6->uCurrentActionTime = 0; - v6->uAIState = 17; + v6->uAIState = Summoned; v6->uCurrentActionLength = 256; v6->UpdateAnimation(); if ( uCurrentlyLoadedLevelType == LEVEL_Outdoor @@ -11237,30 +11237,6 @@ } - - - - - - - -//----- (0045BAA5) -------------------------------------------------------- -int __thiscall sub_45BAA5(int _this) -{ - sub_45BAB6(_this); - return 0; -} - -//----- (0045BAB6) -------------------------------------------------------- -std::string *__fastcall sub_45BAB6(int a1) -{ - size_t v1; // eax@1 - - stru_69BD44 = "effpar03"; - return &stru_69BD44; -} - - //----- (0045E03A) -------------------------------------------------------- unsigned __int16 *__fastcall MakeScreenshot(signed int width, signed int height) { @@ -16439,21 +16415,6 @@ return v19; } -//----- (0046AC59) -------------------------------------------------------- -std::string *__fastcall crt_intit_global_46AC59(int a1) -{ - size_t v1; // eax@1 - - //std__string_720990.field_0 = BYTE3(a1); - //std::string::dtor(&std__string_720990, 0); - //v1 = strlen("micon1"); - //return std::stringoperator_assign__const_char_ptr__(&std__string_720990, "micon1", v1); - std__string_720990 = "micon1"; - return &std__string_720990; -} - - - //----- (0046BDA8) -------------------------------------------------------- unsigned int __cdecl GetGravityStrength() @@ -16916,7 +16877,7 @@ v138 = 0; if ( v2->uItemType == 8030 ) { - pActors[v108].uAIState = 0; + pActors[v108].uAIState = Standing; pActors[v108].UpdateAnimation(); } ((SpellBuff *)((char *)&pActors[0].pActorBuffs[v136] + v108 * 836))->Apply(