Mercurial > mm7
comparison Actor.cpp @ 823:c1da83d8223f
More spell renames
author | Nomad |
---|---|
date | Tue, 26 Mar 2013 20:05:57 +0200 |
parents | c232f160e6f3 |
children | 0f56abdcce94 |
comparison
equal
deleted
inserted
replaced
822:c232f160e6f3 | 823:c1da83d8223f |
---|---|
611 a1.uSectorID = pIndoor->GetSector(v13, v14, v15); | 611 a1.uSectorID = pIndoor->GetSector(v13, v14, v15); |
612 v18 = 8 * LODWORD(v120); | 612 v18 = 8 * LODWORD(v120); |
613 LOBYTE(v18) = 8 * LOBYTE(v120) | AI_OBJECT_ACTOR; | 613 LOBYTE(v18) = 8 * LOBYTE(v120) | AI_OBJECT_ACTOR; |
614 a1.spell_caster_pid = v18; | 614 a1.spell_caster_pid = v18; |
615 a1.uSpriteFrameID = 0; | 615 a1.uSpriteFrameID = 0; |
616 a1.field_5C = 0; | 616 a1.spell_target_pid = 0; |
617 a1.field_60_distance_related_prolly_lod = 3; | 617 a1.field_60_distance_related_prolly_lod = 3; |
618 v19 = spellnuma / -2; | 618 v19 = spellnuma / -2; |
619 a1a = spellnuma / 2; | 619 a1a = spellnuma / 2; |
620 if ( spellnuma / -2 > spellnuma / 2 ) | 620 if ( spellnuma / -2 > spellnuma / 2 ) |
621 { | 621 { |
695 LODWORD(v119) = v89; | 695 LODWORD(v119) = v89; |
696 v90 = 8 * LODWORD(v120); | 696 v90 = 8 * LODWORD(v120); |
697 LOBYTE(v90) = 8 * LOBYTE(v120) | OBJECT_Actor; | 697 LOBYTE(v90) = 8 * LOBYTE(v120) | OBJECT_Actor; |
698 a1.uSpriteFrameID = 0; | 698 a1.uSpriteFrameID = 0; |
699 a1.spell_caster_pid = v90; | 699 a1.spell_caster_pid = v90; |
700 a1.field_5C = 0; | 700 a1.spell_target_pid = 0; |
701 a1.field_60_distance_related_prolly_lod = 3; | 701 a1.field_60_distance_related_prolly_lod = 3; |
702 if ( (double)v89 >= 307.2 ) | 702 if ( (double)v89 >= 307.2 ) |
703 { | 703 { |
704 if ( v89 >= 1024 ) | 704 if ( v89 >= 1024 ) |
705 { | 705 { |
830 a1.spell_skill = 0; | 830 a1.spell_skill = 0; |
831 a1.uAttributes = 0; | 831 a1.uAttributes = 0; |
832 a1.uSectorID = 0; | 832 a1.uSectorID = 0; |
833 a1.uSpriteFrameID = 0; | 833 a1.uSpriteFrameID = 0; |
834 a1.spell_caster_pid = v116; | 834 a1.spell_caster_pid = v116; |
835 a1.field_5C = 0; | 835 a1.spell_target_pid = 0; |
836 a1.field_60_distance_related_prolly_lod = stru_50C198._427546(v30 + 2500); | 836 a1.field_60_distance_related_prolly_lod = stru_50C198._427546(v30 + 2500); |
837 a1.uFacing = v32; | 837 a1.uFacing = v32; |
838 a1.uSoundID = 0; | 838 a1.uSoundID = 0; |
839 v35 = v117->uDistance; | 839 v35 = v117->uDistance; |
840 LODWORD(v119) = v117->uDistance; | 840 LODWORD(v119) = v117->uDistance; |
1384 a1.uSectorID = pIndoor->GetSector(v73, v74, v75); | 1384 a1.uSectorID = pIndoor->GetSector(v73, v74, v75); |
1385 v78 = 8 * LODWORD(v120); | 1385 v78 = 8 * LODWORD(v120); |
1386 LOBYTE(v78) = 8 * LOBYTE(v120) | OBJECT_Actor; | 1386 LOBYTE(v78) = 8 * LOBYTE(v120) | OBJECT_Actor; |
1387 a1.spell_caster_pid = v78; | 1387 a1.spell_caster_pid = v78; |
1388 a1.uSpriteFrameID = 0; | 1388 a1.uSpriteFrameID = 0; |
1389 a1.field_5C = 0; | 1389 a1.spell_target_pid = 0; |
1390 a1.field_60_distance_related_prolly_lod = 3; | 1390 a1.field_60_distance_related_prolly_lod = 3; |
1391 a1c = spellnume / -2; | 1391 a1c = spellnume / -2; |
1392 if ( spellnume / -2 > spellnume / 2 ) | 1392 if ( spellnume / -2 > spellnume / 2 ) |
1393 { | 1393 { |
1394 v80 = spellnume / -2; | 1394 v80 = spellnume / -2; |
1582 a1.uSectorID = v10; | 1582 a1.uSectorID = v10; |
1583 v12 = 8 * v15; | 1583 v12 = 8 * v15; |
1584 LOBYTE(v12) = 8 * v15 | AI_OBJECT_ACTOR; | 1584 LOBYTE(v12) = 8 * v15 | AI_OBJECT_ACTOR; |
1585 a1.uSpriteFrameID = 0; | 1585 a1.uSpriteFrameID = 0; |
1586 a1.spell_caster_pid = v12; | 1586 a1.spell_caster_pid = v12; |
1587 a1.field_5C = 0; | 1587 a1.spell_target_pid = 0; |
1588 if ( (double)v11 >= 307.2 ) | 1588 if ( (double)v11 >= 307.2 ) |
1589 { | 1589 { |
1590 if ( v11 >= 1024 ) | 1590 if ( v11 >= 1024 ) |
1591 { | 1591 { |
1592 a1.field_60_distance_related_prolly_lod = 2; | 1592 a1.field_60_distance_related_prolly_lod = 2; |
1688 a1.uSectorID = pIndoor->GetSector(v5, a1.vPosition.y, v6); | 1688 a1.uSectorID = pIndoor->GetSector(v5, a1.vPosition.y, v6); |
1689 v7 = 8 * v10; | 1689 v7 = 8 * v10; |
1690 LOBYTE(v7) = 8 * v10 | OBJECT_Actor; | 1690 LOBYTE(v7) = 8 * v10 | OBJECT_Actor; |
1691 a1.uSpriteFrameID = 0; | 1691 a1.uSpriteFrameID = 0; |
1692 a1.spell_caster_pid = v7; | 1692 a1.spell_caster_pid = v7; |
1693 a1.field_5C = 0; | 1693 a1.spell_target_pid = 0; |
1694 a1.field_60_distance_related_prolly_lod = 3; | 1694 a1.field_60_distance_related_prolly_lod = 3; |
1695 a1.field_61 = 4; | 1695 a1.field_61 = 4; |
1696 return a1.Create(0, 0, 0, 0); | 1696 return a1.Create(0, 0, 0, 0); |
1697 } | 1697 } |
1698 | 1698 |