comparison mm7_3.cpp @ 35:aac67e0d2c10

uMovementSpeed = v9->uBaseSpe
author Ritor1
date Sun, 20 Jan 2013 20:03:36 +0600
parents a9e9c6989d04
children 979f13f456dc
comparison
equal deleted inserted replaced
34:bf67f3164041 35:aac67e0d2c10
18667 __int16 v8; // di@1 18667 __int16 v8; // di@1
18668 __int16 v9; // si@1 18668 __int16 v9; // si@1
18669 unsigned int v10; // eax@1 18669 unsigned int v10; // eax@1
18670 size_t v11; // ebx@2 18670 size_t v11; // ebx@2
18671 signed int v12; // esi@2 18671 signed int v12; // esi@2
18672 char *v13;//Actor_uYawAngle_cr *v13; // ebx@3 18672 Actor *pActor;//Actor_uYawAngle_cr *v13; // ebx@3
18673 AIDirection a3; // [sp+Ch] [bp-50h]@2 18673 AIDirection a3; // [sp+Ch] [bp-50h]@2
18674 AIDirection v15; // [sp+28h] [bp-34h]@2 18674 AIDirection v15; // [sp+28h] [bp-34h]@2
18675 //SpawnPointMM7 v16; // [sp+44h] [bp-18h]@1 18675 //SpawnPointMM7 v16; // [sp+44h] [bp-18h]@1
18676 18676
18677 v8 = typeindex; 18677 v8 = typeindex;
18694 SpawnEncounter((MapInfo *)&pMapStats->pInfos[v10], &v16, 0, count, 0); 18694 SpawnEncounter((MapInfo *)&pMapStats->pInfos[v10], &v16, 0, count, 0);
18695 memcpy(&v15, Actor::GetDirectionInfo(8 * v11 | AI_OBJECT_ACTOR, 4u, &a3, 1), sizeof(v15)); 18695 memcpy(&v15, Actor::GetDirectionInfo(8 * v11 | AI_OBJECT_ACTOR, 4u, &a3, 1), sizeof(v15));
18696 v12 = v11; 18696 v12 = v11;
18697 if ( (signed int)v11 < (signed int)uNumActors ) 18697 if ( (signed int)v11 < (signed int)uNumActors )
18698 { 18698 {
18699 v13 = (char *)&pActors[v11].uYawAngle; 18699
18700 do 18700 for ( pActor = &pActors[v11]; v12 < (signed int)uNumActors; ++pActor )
18701 { 18701 {
18702 ((Actor *)((char *)v13 - 154))->PrepareSprites(0); 18702 pActor->PrepareSprites(0);
18703 ++v12; 18703 ++v12;
18704 *(short *)v13/*->uYawAngle*/ = LOWORD(v15.uYawAngle); 18704 pActor->uYawAngle = v15.uYawAngle;
18705 *(int *)(v13+666)/*->dword_000334_unique_name*/ = uUniqueName; 18705 pActor->dword_000334_unique_name = uUniqueName;
18706 ++v13; 18706 }
18707 }
18708 while ( v12 < (signed int)uNumActors );
18709 } 18707 }
18710 } 18708 }
18711 } 18709 }
18712 18710
18713 18711