Mercurial > mm7
changeset 32:4c90ae1041aa
Слияние
author | Ritor1 |
---|---|
date | Sat, 19 Jan 2013 22:26:31 +0600 |
parents | b46b1404725b (diff) 739d8f3b50f9 (current diff) |
children | a9e9c6989d04 |
files | |
diffstat | 1 files changed, 9 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/Vis.cpp Sat Jan 19 16:15:06 2013 +0000 +++ b/Vis.cpp Sat Jan 19 22:26:31 2013 +0600 @@ -301,7 +301,10 @@ result = a1; if ( a1->uParentBillboardID == -1 ) - goto LABEL_14; + { + result = 0; + return (bool)result; + } v5 = a1->pQuards[0].pos.x; a1a = a1->pQuards[3].pos.x; v6 = result->pQuards[0].pos.y; @@ -326,14 +329,13 @@ v10 = v9 < v5; v11 = 0; v12 = v9 == v5; - BYTE1(result) = HIBYTE(v8);//crash + //BYTE1(result) = HIBYTE(v8);//crash if ( v9 >= v5 - && (v14 = x - 1.0, /*UNDEF(v13),*/ v15 = v14 < a1a, v16 = 0, v17 = v14 == a1a, BYTE1(result) = HIBYTE(v13), v15 | v17) - && (v19 = y + 1.0, /*UNDEF(v18),*/ v20 = v19 < v29, v21 = 0, v22 = v19 == v29, BYTE1(result) = HIBYTE(v18), v19 >= v29) - && (v24 = y - 1.0, /*UNDEF(v23),*/ v25 = v24 < v28, v26 = 0, v27 = v24 == v28, BYTE1(result) = HIBYTE(v23), v25 | v27) ) + && (v14 = x - 1.0, /*UNDEF(v13),*/ v15 = v14 < a1a, v16 = 0, v17 = v14 == a1a, /*BYTE1(result) = HIBYTE(v13),*/ v15 | v17) + && (v19 = y + 1.0, /*UNDEF(v18),*/ v20 = v19 < v29, v21 = 0, v22 = v19 == v29, /*BYTE1(result) = HIBYTE(v18),*/ v19 >= v29) + && (v24 = y - 1.0, /*UNDEF(v23),*/ v25 = v24 < v28, v26 = 0, v27 = v24 == v28, /*BYTE1(result) = HIBYTE(v23),*/ v25 | v27) ) LOBYTE(result) = 1; else -LABEL_14: LOBYTE(result) = 0; return (bool)result; } @@ -1820,7 +1822,7 @@ v9 = v8 < fDepth, v10 = 0, v11 = v8 == fDepth, - BYTE1(result) = HIBYTE(v7), + /*BYTE1(result) = HIBYTE(v7),*/ v9 | v11) ) { LOWORD(v5) = 0;