comparison mm7_3.cpp @ 860:8fc2f035abc0

* AI function renames * more PID replaces
author zipi
date Sun, 31 Mar 2013 12:39:29 +0100
parents e4bd2a0bf08b
children fea81e031484
comparison
equal deleted inserted replaced
859:48c230c37d74 860:8fc2f035abc0
1112 _46E889_collide_against_bmodels(1u); 1112 _46E889_collide_against_bmodels(1u);
1113 v29 = WorldPosToGridCellZ(v0->vPosition.y); 1113 v29 = WorldPosToGridCellZ(v0->vPosition.y);
1114 v30 = WorldPosToGridCellX(v0->vPosition.x); 1114 v30 = WorldPosToGridCellX(v0->vPosition.x);
1115 _46E26D_collide_against_sprites(v30, v29); 1115 _46E26D_collide_against_sprites(v30, v29);
1116 _46EF01_collision_chech_player(0); 1116 _46EF01_collision_chech_player(0);
1117 _46ED8A_collide_against_sprite_objects(8 * v75 | OBJECT_Actor); 1117 _46ED8A_collide_against_sprite_objects(PID(v75,OBJECT_Actor));
1118 v31 = 0; 1118 v31 = 0;
1119 for ( i = 0; v31 < ai_arrays_size; ++v31 ) 1119 for ( i = 0; v31 < ai_arrays_size; ++v31 )
1120 { 1120 {
1121 v33 = ai_near_actors_ids[v31]; 1121 v33 = ai_near_actors_ids[v31];
1122 if ( v33 != v75 && _46DF1A_collide_against_actor(v33, 40) ) 1122 if ( v33 != v75 && _46DF1A_collide_against_actor(v33, 40) )
1176 //v34 = 0; 1176 //v34 = 0;
1177 if ( v0->pMonsterInfo.uHostilityType ) 1177 if ( v0->pMonsterInfo.uHostilityType )
1178 { 1178 {
1179 if ( v71 == 0 ) 1179 if ( v71 == 0 )
1180 { 1180 {
1181 Actor::_402968(v75, v38, 0, (AIDirection *)0); 1181 Actor::Flee(v75, v38, 0, (AIDirection *)0);
1182 } 1182 }
1183 else 1183 else
1184 { 1184 {
1185 Actor::AI_StandOrBored(v75, 4, 0, (AIDirection *)0); 1185 Actor::AI_StandOrBored(v75, 4, 0, (AIDirection *)0);
1186 } 1186 }
1189 { 1189 {
1190 Actor::AI_StandOrBored(v75, 4, 0, (AIDirection *)0); 1190 Actor::AI_StandOrBored(v75, 4, 0, (AIDirection *)0);
1191 } 1191 }
1192 else if ( pActors[v39].pMonsterInfo.uHostilityType == MonsterInfo::Hostility_Friendly ) 1192 else if ( pActors[v39].pMonsterInfo.uHostilityType == MonsterInfo::Hostility_Friendly )
1193 { 1193 {
1194 Actor::_402968(v75, v38, 0, (AIDirection *)0); 1194 Actor::Flee(v75, v38, 0, (AIDirection *)0);
1195 } 1195 }
1196 else 1196 else
1197 { 1197 {
1198 Actor::FaceObject(v75, v38, 0, (AIDirection *)0); 1198 Actor::FaceObject(v75, v38, 0, (AIDirection *)0);
1199 } 1199 }
1445 goto LABEL_35; 1445 goto LABEL_35;
1446 } 1446 }
1447 v10 = i; 1447 v10 = i;
1448 if ( !(v9 & 0x40) ) 1448 if ( !(v9 & 0x40) )
1449 goto LABEL_35; 1449 goto LABEL_35;
1450 _46BFFA_check_object_intercept(i, 8 * i | OBJECT_Item); 1450 _46BFFA_check_object_intercept(i, PID(i,OBJECT_Item));
1451 } 1451 }
1452 } 1452 }
1453 LABEL_36: 1453 LABEL_36:
1454 ; 1454 ;
1455 //v2 += 112; 1455 //v2 += 112;
2341 { 2341 {
2342 v7 = pOutdoor->pBModels[v108 >> 6].pFaces; 2342 v7 = pOutdoor->pBModels[v108 >> 6].pFaces;
2343 v6 = v108 & 0x3F; 2343 v6 = v108 & 0x3F;
2344 /*if ( *(char *)(v7->pFacePlane.vNormal.x + 308 * v6 + 31) & 4 ) 2344 /*if ( *(char *)(v7->pFacePlane.vNormal.x + 308 * v6 + 31) & 4 )
2345 { 2345 {
2346 pParty->field_6F4_packedid = 8 * v108 | OBJECT_BModel; 2346 pParty->field_6F4_packedid = PID(v108,OBJECT_BModel);
2347 v103 = *(short *)(v7->pFacePlane.vNormal.x + 308 * v6 + 292); 2347 v103 = *(short *)(v7->pFacePlane.vNormal.x + 308 * v6 + 292);
2348 }*/ 2348 }*/
2349 if ( BYTE3(v7[v6].uAttributes) & 4 ) 2349 if ( BYTE3(v7[v6].uAttributes) & 4 )
2350 { 2350 {
2351 pParty->floor_face_pid = PID(OBJECT_BModel, v108); 2351 pParty->floor_face_pid = PID(OBJECT_BModel, v108);
11150 v15->world_y = a2; 11150 v15->world_y = a2;
11151 v15->world_z = a3; 11151 v15->world_z = a3;
11152 v15->uScreenSpaceX = a5; 11152 v15->uScreenSpaceX = a5;
11153 v15->uScreenSpaceY = a6; 11153 v15->uScreenSpaceY = a6;
11154 //v23 = 8 * uDecorationID; 11154 //v23 = 8 * uDecorationID;
11155 //LOBYTE(v23) = 8 * uDecorationID | OBJECT_Decoration; 11155 //LOBYTE(v23) = PID(uDecorationID,OBJECT_Decoration);
11156 11156
11157 //v15->sZValue = v22 + v23; 11157 //v15->sZValue = v22 + v23;
11158 v15->actual_z = HIWORD(x); 11158 v15->actual_z = HIWORD(x);
11159 v15->object_pid = 8 * uDecorationID | OBJECT_Decoration; 11159 v15->object_pid = PID(uDecorationID,OBJECT_Decoration);
11160 11160
11161 v15->uTintColor = 0; 11161 v15->uTintColor = 0;
11162 v15->pSpriteFrame = v12; 11162 v15->pSpriteFrame = v12;
11163 } 11163 }
11164 } 11164 }
11307 v3->uScreenSpaceX = v36; 11307 v3->uScreenSpaceX = v36;
11308 v22 = v35; 11308 v22 = v35;
11309 v3->uTintColor = 0; 11309 v3->uTintColor = 0;
11310 v3->uScreenSpaceY = v22; 11310 v3->uScreenSpaceY = v22;
11311 //v23 = 8 * i; 11311 //v23 = 8 * i;
11312 //LOBYTE(v23) = 8 * i | OBJECT_Item; 11312 //LOBYTE(v23) = PID(i,OBJECT_Item);
11313 v3->pSpriteFrame = v24; 11313 v3->pSpriteFrame = v24;
11314 //v12 = (p->uAttributes & 0x20) == 0; 11314 //v12 = (p->uAttributes & 0x20) == 0;
11315 //v3->sZValue = v21 + v23; 11315 //v3->sZValue = v21 + v23;
11316 v3->actual_z = HIWORD(x); 11316 v3->actual_z = HIWORD(x);
11317 v3->object_pid = 8 * i | OBJECT_Item; 11317 v3->object_pid = PID(i,OBJECT_Item);
11318 if (p->uAttributes & 0x20) 11318 if (p->uAttributes & 0x20)
11319 { 11319 {
11320 if ( !pRenderer->pRenderD3D ) 11320 if ( !pRenderer->pRenderD3D )
11321 v3->sZValue = 0; 11321 v3->sZValue = 0;
11322 } 11322 }
15386 v21->pMonsterInfo.uRecoveryTime = v28 - v27; 15386 v21->pMonsterInfo.uRecoveryTime = v28 - v27;
15387 if ( v21->pMonsterInfo.uRecoveryTime< 0 ) 15387 if ( v21->pMonsterInfo.uRecoveryTime< 0 )
15388 v21->pMonsterInfo.uRecoveryTime = 0; 15388 v21->pMonsterInfo.uRecoveryTime = 0;
15389 if ( !(v21->uAttributes & 0x8000) ) 15389 if ( !(v21->uAttributes & 0x8000) )
15390 v21->uAttributes |= 0x8000; 15390 v21->uAttributes |= 0x8000;
15391 a1 = 8 * actor_id | OBJECT_Actor; 15391 a1 = PID(actor_id,OBJECT_Actor);
15392 v30 = Actor::GetDirectionInfo(8 * actor_id | OBJECT_Actor, target_pid, &a3, 0); 15392 v30 = Actor::GetDirectionInfo(PID(actor_id,OBJECT_Actor), target_pid, &a3, 0);
15393 memcpy(&v75, v30, sizeof(v75)); 15393 memcpy(&v75, v30, sizeof(v75));
15394 memcpy(&pDir, &v75, sizeof(pDir)); 15394 memcpy(&pDir, &v75, sizeof(pDir));
15395 uAIState = v21->uAIState; 15395 uAIState = v21->uAIState;
15396 /*if ( v21->pMonsterInfo.uHostilityType != MonsterInfo::Hostility_Friendly 15396 /*if ( v21->pMonsterInfo.uHostilityType != MonsterInfo::Hostility_Friendly
15397 && (signed int)v21->pMonsterInfo.uRecoveryTime <= 0 15397 && (signed int)v21->pMonsterInfo.uRecoveryTime <= 0
15427 ); 15427 );
15428 } 15428 }
15429 else if ( v21->uAIState == AttackingRanged1 ) 15429 else if ( v21->uAIState == AttackingRanged1 )
15430 { 15430 {
15431 v34 = v21->pMonsterInfo.uMissleAttack1Type; 15431 v34 = v21->pMonsterInfo.uMissleAttack1Type;
15432 Actor::_404874(actor_id, &pDir, v34, 0); 15432 Actor::RangedAttack(actor_id, &pDir, v34, 0);
15433 } 15433 }
15434 else if ( v21->uAIState == AttackingRanged2 ) 15434 else if ( v21->uAIState == AttackingRanged2 )
15435 { 15435 {
15436 v34 = v21->pMonsterInfo.uMissleAttack2Type; 15436 v34 = v21->pMonsterInfo.uMissleAttack2Type;
15437 Actor::_404874(actor_id, &pDir, v34, 1); 15437 Actor::RangedAttack(actor_id, &pDir, v34, 1);
15438 } 15438 }
15439 else if ( v21->uAIState == AttackingRanged3 ) 15439 else if ( v21->uAIState == AttackingRanged3 )
15440 { 15440 {
15441 v65 = v21->pMonsterInfo.uSpellSkillAndMastery1; 15441 v65 = v21->pMonsterInfo.uSpellSkillAndMastery1;
15442 v33 = v21->pMonsterInfo.uSpell1ID; 15442 v33 = v21->pMonsterInfo.uSpell1ID;
15443 Actor::_404AC7(actor_id, &pDir, v33, 2, v65); 15443 Actor::SpellAttack(actor_id, &pDir, v33, 2, v65);
15444 } 15444 }
15445 else if ( v21->uAIState == AttackingRanged4 ) 15445 else if ( v21->uAIState == AttackingRanged4 )
15446 { 15446 {
15447 v65 = v21->pMonsterInfo.uSpellSkillAndMastery2; 15447 v65 = v21->pMonsterInfo.uSpellSkillAndMastery2;
15448 v33 = v21->pMonsterInfo.uSpell2ID; 15448 v33 = v21->pMonsterInfo.uSpell2ID;
15449 Actor::_404AC7(actor_id, &pDir, v33, 3, v65); 15449 Actor::SpellAttack(actor_id, &pDir, v33, 3, v65);
15450 } 15450 }
15451 } 15451 }
15452 15452
15453 v36 = v75.uDistance; 15453 v36 = v75.uDistance;
15454 if ( v21->pMonsterInfo.uHostilityType == MonsterInfo::Hostility_Friendly) 15454 if ( v21->pMonsterInfo.uHostilityType == MonsterInfo::Hostility_Friendly)
15490 } 15490 }
15491 else 15491 else
15492 { 15492 {
15493 //peasents after attacked 15493 //peasents after attacked
15494 //guard after attacked 15494 //guard after attacked
15495 Actor::_402968(actor_id, target_pid, 0, &pDir); 15495 Actor::Flee(actor_id, target_pid, 0, &pDir);
15496 } 15496 }
15497 continue; 15497 continue;
15498 } 15498 }
15499 15499
15500 if ( /*v21->pMonsterInfo.uHostilityType == MonsterInfo::Hostility_Long &&*/ target_pid ) // temporary 15500 if ( /*v21->pMonsterInfo.uHostilityType == MonsterInfo::Hostility_Long &&*/ target_pid ) // temporary
15506 { 15506 {
15507 Actor::AI_Stand(actor_id, target_pid, (signed __int64)((double)(signed int)v21->pMonsterInfo.uRecoveryTime * 2.133333333333333), &pDir); 15507 Actor::AI_Stand(actor_id, target_pid, (signed __int64)((double)(signed int)v21->pMonsterInfo.uRecoveryTime * 2.133333333333333), &pDir);
15508 } 15508 }
15509 else 15509 else
15510 { 15510 {
15511 Actor::_402968(actor_id, target_pid, 0, &pDir); 15511 Actor::Flee(actor_id, target_pid, 0, &pDir);
15512 continue; 15512 continue;
15513 } 15513 }
15514 15514
15515 } 15515 }
15516 if ( !(v21->uAttributes & 0x020000) ) 15516 if ( !(v21->uAttributes & 0x020000) )
15523 v43 = (double)(signed int)v21->pMonsterInfo.uHP * 0.1; 15523 v43 = (double)(signed int)v21->pMonsterInfo.uHP * 0.1;
15524 v84 = v21->sCurrentHP; 15524 v84 = v21->sCurrentHP;
15525 v42 = (double)(signed int)v84; 15525 v42 = (double)(signed int)v84;
15526 if ( v43 > v42 && (signed int)v36 < 10240 ) 15526 if ( v43 > v42 && (signed int)v36 < 10240 )
15527 { 15527 {
15528 Actor::_402968(actor_id, target_pid, 0, &pDir); 15528 Actor::Flee(actor_id, target_pid, 0, &pDir);
15529 continue; 15529 continue;
15530 } 15530 }
15531 } 15531 }
15532 } 15532 }
15533 15533
15562 { 15562 {
15563 v64 = (signed __int64)v47; 15563 v64 = (signed __int64)v47;
15564 Actor::AI_Stand(actor_id, target_pid, v64, &pDir); 15564 Actor::AI_Stand(actor_id, target_pid, v64, &pDir);
15565 continue; 15565 continue;
15566 } 15566 }
15567 Actor::_402AD7(actor_id, target_pid, actor_id, (signed __int64)v47, &pDir); 15567 Actor::Pursue1(actor_id, target_pid, actor_id, (signed __int64)v47, &pDir);
15568 } 15568 }
15569 } 15569 }
15570 else 15570 else
15571 { 15571 {
15572 v56 = v80 * 307.2; 15572 v56 = v80 * 307.2;
15581 Actor::AI_Stand(actor_id, target_pid, v64, &pDir); 15581 Actor::AI_Stand(actor_id, target_pid, v64, &pDir);
15582 } 15582 }
15583 else 15583 else
15584 { 15584 {
15585 //monsters 15585 //monsters
15586 Actor::_402686(actor_id, target_pid, 0, &pDir); 15586 Actor::Pursue3(actor_id, target_pid, 0, &pDir);
15587 } 15587 }
15588 } 15588 }
15589 else if ( v21->pMonsterInfo.uMovementType == 5 ) 15589 else if ( v21->pMonsterInfo.uMovementType == 5 )
15590 { 15590 {
15591 v47 = (double)(signed int)v21->pMonsterInfo.uRecoveryTime * 2.133333333333333; 15591 v47 = (double)(signed int)v21->pMonsterInfo.uRecoveryTime * 2.133333333333333;
15596 { 15596 {
15597 v70 = (signed __int64)v56; 15597 v70 = (signed __int64)v56;
15598 //monsters 15598 //monsters
15599 //guard after player runs away 15599 //guard after player runs away
15600 // follow player 15600 // follow player
15601 Actor::_40281C(actor_id, target_pid, 0, &pDir, v70); 15601 Actor::Pursue2(actor_id, target_pid, 0, &pDir, v70);
15602 } 15602 }
15603 } 15603 }
15604 else if ( (signed int)v21->pMonsterInfo.uRecoveryTime > 0 ) 15604 else if ( (signed int)v21->pMonsterInfo.uRecoveryTime > 0 )
15605 { 15605 {
15606 v47 = (double)(signed int)v21->pMonsterInfo.uRecoveryTime * 2.133333333333333; 15606 v47 = (double)(signed int)v21->pMonsterInfo.uRecoveryTime * 2.133333333333333;
15637 Actor::AI_Stand(actor_id, target_pid, v64, &pDir); 15637 Actor::AI_Stand(actor_id, target_pid, v64, &pDir);
15638 } 15638 }
15639 else 15639 else
15640 { 15640 {
15641 v47 = (double)(signed int)v21->pMonsterInfo.uRecoveryTime * 2.133333333333333; 15641 v47 = (double)(signed int)v21->pMonsterInfo.uRecoveryTime * 2.133333333333333;
15642 Actor::_402AD7(actor_id, target_pid, actor_id, (signed __int64)v47, &pDir); 15642 Actor::Pursue1(actor_id, target_pid, actor_id, (signed __int64)v47, &pDir);
15643 } 15643 }
15644 } 15644 }
15645 else 15645 else
15646 { 15646 {
15647 v48 = v80 * 307.2; 15647 v48 = v80 * 307.2;
15655 v64 = (signed __int64)v47; 15655 v64 = (signed __int64)v47;
15656 Actor::AI_Stand(actor_id, target_pid, v64, &pDir); 15656 Actor::AI_Stand(actor_id, target_pid, v64, &pDir);
15657 } 15657 }
15658 else 15658 else
15659 { 15659 {
15660 Actor::_402686(actor_id, target_pid, 256, &pDir); 15660 Actor::Pursue3(actor_id, target_pid, 256, &pDir);
15661 } 15661 }
15662 } 15662 }
15663 else if ( v21->pMonsterInfo.uMovementType == 5 ) 15663 else if ( v21->pMonsterInfo.uMovementType == 5 )
15664 { 15664 {
15665 v47 = (double)(signed int)v21->pMonsterInfo.uRecoveryTime * 2.133333333333333; 15665 v47 = (double)(signed int)v21->pMonsterInfo.uRecoveryTime * 2.133333333333333;
15667 Actor::AI_Stand(actor_id, target_pid, v64, &pDir); 15667 Actor::AI_Stand(actor_id, target_pid, v64, &pDir);
15668 } 15668 }
15669 else 15669 else
15670 { 15670 {
15671 v70 = (signed __int64)v48; 15671 v70 = (signed __int64)v48;
15672 Actor::_40281C(actor_id, target_pid, 0, &pDir, v70); 15672 Actor::Pursue2(actor_id, target_pid, 0, &pDir, v70);
15673 } 15673 }
15674 } 15674 }
15675 else if ( (signed int)v21->pMonsterInfo.uRecoveryTime > 0 ) 15675 else if ( (signed int)v21->pMonsterInfo.uRecoveryTime > 0 )
15676 { 15676 {
15677 v47 = (double)(signed int)v21->pMonsterInfo.uRecoveryTime * 2.133333333333333; 15677 v47 = (double)(signed int)v21->pMonsterInfo.uRecoveryTime * 2.133333333333333;
15729 v64 = (signed __int64)v47; 15729 v64 = (signed __int64)v47;
15730 Actor::AI_Stand(actor_id, target_pid, v64, &pDir); 15730 Actor::AI_Stand(actor_id, target_pid, v64, &pDir);
15731 } 15731 }
15732 else 15732 else
15733 { 15733 {
15734 Actor::_402686(actor_id, target_pid, 256, &pDir); 15734 Actor::Pursue3(actor_id, target_pid, 256, &pDir);
15735 } 15735 }
15736 } 15736 }
15737 else if ( v21->pMonsterInfo.uMovementType == 5 ) 15737 else if ( v21->pMonsterInfo.uMovementType == 5 )
15738 { 15738 {
15739 v47 = (double)(signed int)v21->pMonsterInfo.uRecoveryTime * 2.133333333333333; 15739 v47 = (double)(signed int)v21->pMonsterInfo.uRecoveryTime * 2.133333333333333;
15741 Actor::AI_Stand(actor_id, target_pid, v64, &pDir); 15741 Actor::AI_Stand(actor_id, target_pid, v64, &pDir);
15742 } 15742 }
15743 else 15743 else
15744 { 15744 {
15745 v70 = (signed __int64)v56; 15745 v70 = (signed __int64)v56;
15746 Actor::_40281C(actor_id, target_pid, 0, &pDir, v70); 15746 Actor::Pursue2(actor_id, target_pid, 0, &pDir, v70);
15747 } 15747 }
15748 } 15748 }
15749 else if ( (signed int)v21->pMonsterInfo.uRecoveryTime > 0 ) 15749 else if ( (signed int)v21->pMonsterInfo.uRecoveryTime > 0 )
15750 { 15750 {
15751 v47 = (double)(signed int)v21->pMonsterInfo.uRecoveryTime * 2.133333333333333; 15751 v47 = (double)(signed int)v21->pMonsterInfo.uRecoveryTime * 2.133333333333333;
15765 v64 = (signed __int64)v47; 15765 v64 = (signed __int64)v47;
15766 Actor::AI_Stand(actor_id, target_pid, v64, &pDir); 15766 Actor::AI_Stand(actor_id, target_pid, v64, &pDir);
15767 } 15767 }
15768 else 15768 else
15769 { 15769 {
15770 Actor::_402AD7(actor_id, target_pid, actor_id, (signed __int64)v47, &pDir); 15770 Actor::Pursue1(actor_id, target_pid, actor_id, (signed __int64)v47, &pDir);
15771 } 15771 }
15772 } 15772 }
15773 else 15773 else
15774 { 15774 {
15775 Actor::_40368B(actor_id, target_pid, &pDir); 15775 Actor::_40368B(actor_id, target_pid, &pDir);
16023 v3 = 0; 16023 v3 = 0;
16024 do 16024 do
16025 { 16025 {
16026 if ( v40->CanAct() ) 16026 if ( v40->CanAct() )
16027 { 16027 {
16028 *(&v1->field_0 + 4 * (v1->uActorQueueSize + 2)) = 8 * v3 | OBJECT_Player; 16028 *(&v1->field_0 + 4 * (v1->uActorQueueSize + 2)) = PID(v3,OBJECT_Player);
16029 v1->pQueue[v1->uActorQueueSize].field_C = 2; 16029 v1->pQueue[v1->uActorQueueSize].field_C = 2;
16030 v1->pQueue[v1->uActorQueueSize].uActionLength = 0; 16030 v1->pQueue[v1->uActorQueueSize].uActionLength = 0;
16031 pParty->pTurnBasedPlayerRecoveryTimes[v1->uActorQueueSize++] = 0; 16031 pParty->pTurnBasedPlayerRecoveryTimes[v1->uActorQueueSize++] = 0;
16032 } 16032 }
16033 ++v40; 16033 ++v40;
16053 if ( v7 & 0x8000 < 0 ) 16053 if ( v7 & 0x8000 < 0 )
16054 { 16054 {
16055 v8 = ai_near_actors_targets_pid[v5]; 16055 v8 = ai_near_actors_targets_pid[v5];
16056 LOBYTE(v7) = v7 | 0x80; 16056 LOBYTE(v7) = v7 | 0x80;
16057 v6->uAttributes = v7; 16057 v6->uAttributes = v7;
16058 v33 = 8 * v5 | OBJECT_Actor; 16058 v33 = PID(v5,OBJECT_Actor);
16059 memcpy(&v31, Actor::GetDirectionInfo(8 * v5 | OBJECT_Actor, v8, &a3, 0), sizeof(v31)); 16059 memcpy(&v31, Actor::GetDirectionInfo(PID(v5,OBJECT_Actor), v8, &a3, 0), sizeof(v31));
16060 memcpy(&v30, &v31, sizeof(v30)); 16060 memcpy(&v30, &v31, sizeof(v30));
16061 Actor::AI_StandOrBored(v37, 4, 32, &v30); 16061 Actor::AI_StandOrBored(v37, 4, 32, &v30);
16062 *(&v1->field_0 + 4 * (v1->uActorQueueSize + 2)) = v33; 16062 *(&v1->field_0 + 4 * (v1->uActorQueueSize + 2)) = v33;
16063 v1->pQueue[v1->uActorQueueSize].field_C = 2; 16063 v1->pQueue[v1->uActorQueueSize].field_C = 2;
16064 v1->pQueue[v1->uActorQueueSize++].uActionLength = 0; 16064 v1->pQueue[v1->uActorQueueSize++].uActionLength = 0;