comparison Outdoor.cpp @ 2156:eaaaa50d34e9

GetItemBonusEnchantment
author Ritor1
date Fri, 10 Jan 2014 17:42:37 +0600
parents d28d3c006077
children c6d8253d4cbc
comparison
equal deleted inserted replaced
2153:d28d3c006077 2156:eaaaa50d34e9
4207 } 4207 }
4208 //--------------------------------------------------------------------- 4208 //---------------------------------------------------------------------
4209 stru_721530.field_84 = -1; 4209 stru_721530.field_84 = -1;
4210 stru_721530.field_70 = 0; 4210 stru_721530.field_70 = 0;
4211 stru_721530.prolly_normal_d = pParty->field_14_radius; 4211 stru_721530.prolly_normal_d = pParty->field_14_radius;
4212 stru_721530.field_8_radius = pParty->field_14_radius >> 1; 4212 stru_721530.field_8_radius = pParty->field_14_radius / 2;
4213 stru_721530.field_0 = 1; 4213 stru_721530.field_0 = 1;
4214 stru_721530.height = pParty->uPartyHeight - 32; 4214 stru_721530.height = pParty->uPartyHeight - 32;
4215 for ( uint i = 0; i < 100; i++ ) 4215 for ( uint i = 0; i < 100; i++ )
4216 { 4216 {
4217 stru_721530.position.x = pX; 4217 stru_721530.position.x = pX;
4659 pParty->vPosition.z = pParty->vPosition.z + pParty->uPartyHeight - ceiling_height + 1; 4659 pParty->vPosition.z = pParty->vPosition.z + pParty->uPartyHeight - ceiling_height + 1;
4660 pParty->field_6F0 = pParty->vPosition.z + pParty->uPartyHeight - ceiling_height + 1; 4660 pParty->field_6F0 = pParty->vPosition.z + pParty->uPartyHeight - ceiling_height + 1;
4661 } 4661 }
4662 } 4662 }
4663 } 4663 }
4664
4664 //----- (0046D8E3) -------------------------------------------------------- 4665 //----- (0046D8E3) --------------------------------------------------------
4665 int GetCeilingHeight(int Party_X, signed int Party_Y, int Party_ZHeight, int pFaceID) 4666 int GetCeilingHeight(int Party_X, signed int Party_Y, int Party_ZHeight, int pFaceID)
4666 { 4667 {
4667 signed int v13; // eax@25 4668 signed int v13; // eax@25
4668 int v14; // edx@27 4669 int v14; // edx@27