Mercurial > mm7
comparison mm7_3.cpp @ 998:e4383e6dfbef
ProcessInput
author | Ritor1 |
---|---|
date | Tue, 14 May 2013 17:37:24 +0600 |
parents | 9334a8c59c8d |
children | dcdfbb6eede9 |
comparison
equal
deleted
inserted
replaced
997:1c13fbaad0c5 | 998:e4383e6dfbef |
---|---|
4098 } | 4098 } |
4099 | 4099 |
4100 //----- (00477C61) -------------------------------------------------------- | 4100 //----- (00477C61) -------------------------------------------------------- |
4101 int stru6_stru1_indoor_sw_billboard::sub_477C61() | 4101 int stru6_stru1_indoor_sw_billboard::sub_477C61() |
4102 { | 4102 { |
4103 stru6_stru1_indoor_sw_billboard *v1; // ebx@1 | 4103 //stru6_stru1_indoor_sw_billboard *v1; // ebx@1 |
4104 int v2; // ecx@2 | 4104 int v2; // ecx@2 |
4105 int v3; // eax@3 | 4105 int v3; // eax@3 |
4106 double v4; // st7@4 | 4106 double v4; // st7@4 |
4107 double v5; // st7@5 | 4107 double v5; // st7@5 |
4108 double v6; // st6@5 | 4108 double v6; // st6@5 |
4140 float v39; // [sp+28h] [bp-8h]@9 | 4140 float v39; // [sp+28h] [bp-8h]@9 |
4141 float v40; // [sp+28h] [bp-8h]@16 | 4141 float v40; // [sp+28h] [bp-8h]@16 |
4142 float v41; // [sp+2Ch] [bp-4h]@6 | 4142 float v41; // [sp+2Ch] [bp-4h]@6 |
4143 float v42; // [sp+2Ch] [bp-4h]@9 | 4143 float v42; // [sp+2Ch] [bp-4h]@9 |
4144 | 4144 |
4145 v1 = this; | 4145 //v1 = this; |
4146 if ( uCurrentlyLoadedLevelType == LEVEL_Indoor ) | 4146 if ( uCurrentlyLoadedLevelType == LEVEL_Indoor ) |
4147 { | 4147 { |
4148 v2 = 0; | 4148 v2 = 0; |
4149 if ( v1->field_10 > 0 ) | 4149 if ( this->field_10 > 0 ) |
4150 { | 4150 { |
4151 v3 = (int)&v1->field_14[1]; | 4151 v3 = (int)&this->field_14[1]; |
4152 do | 4152 do |
4153 { | 4153 { |
4154 v4 = *(float *)(v3 - 4); | 4154 v4 = *(float *)(v3 - 4); |
4155 LODWORD(v37) = *(int *)v3; | 4155 LODWORD(v37) = *(int *)v3; |
4156 LODWORD(v36) = *(int *)(v3 + 4); | 4156 LODWORD(v36) = *(int *)(v3 + 4); |
4197 *(float *)(v3 + 76) = v10; | 4197 *(float *)(v3 + 76) = v10; |
4198 *(int *)(v3 + 88) = v14; | 4198 *(int *)(v3 + 88) = v14; |
4199 *(float *)(v3 + 80) = v11; | 4199 *(float *)(v3 + 80) = v11; |
4200 v3 += 16; | 4200 v3 += 16; |
4201 } | 4201 } |
4202 while ( v2 < v1->field_10 ); | 4202 while ( v2 < this->field_10 ); |
4203 } | 4203 } |
4204 } | 4204 } |
4205 else | 4205 else |
4206 { | 4206 { |
4207 v15 = (char *)&this->field_14[1]; | 4207 v15 = (char *)&this->field_14[1]; |
4242 v15 += 16; | 4242 v15 += 16; |
4243 --v31; | 4243 --v31; |
4244 } | 4244 } |
4245 while ( v31 ); | 4245 while ( v31 ); |
4246 } | 4246 } |
4247 v1->field_10 = 3; | 4247 this->field_10 = 3; |
4248 return 1; | 4248 return 1; |
4249 } | 4249 } |
4250 | 4250 |
4251 //----- (00477F63) -------------------------------------------------------- | 4251 //----- (00477F63) -------------------------------------------------------- |
4252 bool stru6_stru1_indoor_sw_billboard::sub_477F63() | 4252 bool stru6_stru1_indoor_sw_billboard::sub_477F63() |