Mercurial > mm7
comparison mm7_4.cpp @ 323:d720a13e2273
Very basic picking & entering houses
author | Nomad |
---|---|
date | Wed, 20 Feb 2013 08:23:12 +0200 |
parents | 15decc249a94 |
children | 8e23edf57e27 |
comparison
equal
deleted
inserted
replaced
322:ce39b96acf5c | 323:d720a13e2273 |
---|---|
7458 v20 = 11 - v18; | 7458 v20 = 11 - v18; |
7459 v116 = stru_F81018.field_0.field_8 >> i; | 7459 v116 = stru_F81018.field_0.field_8 >> i; |
7460 v21 = stru_F81018.field_0.field_8 >> i >> (11 - v18); | 7460 v21 = stru_F81018.field_0.field_8 >> i >> (11 - v18); |
7461 v22 = stru_5C6E00; | 7461 v22 = stru_5C6E00; |
7462 v122 = (unsigned __int16 *)v20; | 7462 v122 = (unsigned __int16 *)v20; |
7463 v121 = (stru_F81018.field_0.field_4 >> i) + 4 * stru_5C6E00->SinCos(v104 + v21); | 7463 v121 = (stru_F81018.field_0.field_4 >> i) + 4 * stru_5C6E00->Cos(v104 + v21); |
7464 v23 = stru_5C6E00->SinCos(v104 + (v19 >> (char)v122) - stru_5C6E00->uIntegerHalfPi); | 7464 v23 = stru_5C6E00->Sin(v104 + (v19 >> (char)v122)); |
7465 v120 = v116 + 4 * v23; | 7465 v120 = v116 + 4 * v23; |
7466 if ( v123 < v117 ) | 7466 if ( v123 < v117 ) |
7467 { | 7467 { |
7468 v24 = (char *)&stru_F81018.field_34.field_8; | 7468 v24 = (char *)&stru_F81018.field_34.field_8; |
7469 v114 = &stru_F81018.field_34.field_8; | 7469 v114 = &stru_F81018.field_34.field_8; |
7487 v107 = v29 >> v27; | 7487 v107 = v29 >> v27; |
7488 v30 = v28 >> i; | 7488 v30 = v28 >> i; |
7489 v102 = v4->uHeightMinus1 >> v27 << (v27 + 16); | 7489 v102 = v4->uHeightMinus1 >> v27 << (v27 + 16); |
7490 v31 = *v114 >> i; | 7490 v31 = *v114 >> i; |
7491 v122 = (unsigned __int16 *)(11 - v27); | 7491 v122 = (unsigned __int16 *)(11 - v27); |
7492 v116 = v30 + 4 * stru_5C6E00->SinCos(v104 + (v31 >> (11 - v27))); | 7492 v116 = v30 + 4 * stru_5C6E00->Cos(v104 + (v31 >> (11 - v27))); |
7493 v90 = v31 + 4 * stru_5C6E00->SinCos(v104 + (v30 >> (char)v122) - stru_5C6E00->uIntegerHalfPi); | 7493 v90 = v31 + 4 * stru_5C6E00->Sin(v104 + (v30 >> (char)v122)); |
7494 v108 = (signed int)(v116 - v121) >> 4; | 7494 v108 = (signed int)(v116 - v121) >> 4; |
7495 v103 = (v90 - v120) >> 4; | 7495 v103 = (v90 - v120) >> 4; |
7496 v32 = v123 + 32; | 7496 v32 = v123 + 32; |
7497 if ( LOBYTE(viewparams->field_20) ) | 7497 if ( LOBYTE(viewparams->field_20) ) |
7498 v32 = v123 + 64; | 7498 v32 = v123 + 64; |