Mercurial > mm7
comparison Chest.cpp @ 469:0dbf780e247f
CompareVariable part 1
author | Ritor1 |
---|---|
date | Mon, 25 Feb 2013 17:27:27 +0600 |
parents | 94546824edad |
children | cb0ad52d6a26 426682cf4a75 |
comparison
equal
deleted
inserted
replaced
468:8822405efad2 | 469:0dbf780e247f |
---|---|
102 v29 = 811; | 102 v29 = 811; |
103 v30 = 812; | 103 v30 = 812; |
104 v31 = 813; | 104 v31 = 813; |
105 v32 = 814; | 105 v32 = 814; |
106 v5 = rand() % 4; | 106 v5 = rand() % 4; |
107 v6 = dword_5B5920 >> 3; | 107 v6 = EvtTargetObj >> 3; |
108 v35 = v5; | 108 v35 = v5; |
109 if ( (dword_5B5920 & 7) == OBJECT_Decoration) | 109 if ( (EvtTargetObj & 7) == OBJECT_Decoration) |
110 { | 110 { |
111 v16 = v6; | 111 v16 = v6; |
112 v14 = pLevelDecorations[v6].vPosition.x; | 112 v14 = pLevelDecorations[v6].vPosition.x; |
113 v38 = pLevelDecorations[v6].vPosition.y; | 113 v38 = pLevelDecorations[v6].vPosition.y; |
114 v17 = pDecorationList->pDecorations[pLevelDecorations[v6].uDecorationDescID].uDecorationHeight; | 114 v17 = pDecorationList->pDecorations[pLevelDecorations[v6].uDecorationDescID].uDecorationHeight; |
115 v15 = pLevelDecorations[v16].vPosition.z + (((signed int)v17 - HIDWORD(v17)) >> 1); | 115 v15 = pLevelDecorations[v16].vPosition.z + (((signed int)v17 - HIDWORD(v17)) >> 1); |
116 } | 116 } |
117 else | 117 else |
118 { | 118 { |
119 if ( (dword_5B5920 & 7) != OBJECT_BModel) | 119 if ( (EvtTargetObj & 7) != OBJECT_BModel) |
120 goto LABEL_12; | 120 goto LABEL_12; |
121 if ( uCurrentlyLoadedLevelType == LEVEL_Outdoor) | 121 if ( uCurrentlyLoadedLevelType == LEVEL_Outdoor) |
122 { | 122 { |
123 v7 = &pOutdoor->pBModels[dword_5B5920 >> 9].pFaces[(dword_5B5920 >> 3) & 0x3F]; | 123 v7 = &pOutdoor->pBModels[EvtTargetObj >> 9].pFaces[(EvtTargetObj >> 3) & 0x3F]; |
124 v8 = v7->pBoundingBox.y1; | 124 v8 = v7->pBoundingBox.y1; |
125 v9 = v7->pBoundingBox.z2; | 125 v9 = v7->pBoundingBox.z2; |
126 v10 = v7->pBoundingBox.x1 + v7->pBoundingBox.x2; | 126 v10 = v7->pBoundingBox.x1 + v7->pBoundingBox.x2; |
127 v11 = v7->pBoundingBox.y2; | 127 v11 = v7->pBoundingBox.y2; |
128 v12 = v7->pBoundingBox.z1; | 128 v12 = v7->pBoundingBox.z1; |