Mercurial > might-and-magic-trilogy
comparison mm7_3.cpp @ 146:1b7ca63e472e
Слияние
author | Ritor1 |
---|---|
date | Mon, 19 Nov 2012 09:41:32 +0600 |
parents | b90504bbb93b |
children | 062e8a8e09bc |
comparison
equal
deleted
inserted
replaced
145:dac041fc74e8 | 146:1b7ca63e472e |
---|---|
9137 //----- (0047F458) -------------------------------------------------------- | 9137 //----- (0047F458) -------------------------------------------------------- |
9138 int __stdcall WorldPosToGridCellZ(signed int a1) | 9138 int __stdcall WorldPosToGridCellZ(signed int a1) |
9139 { | 9139 { |
9140 return 64 - (a1 >> 9); | 9140 return 64 - (a1 >> 9); |
9141 } | 9141 } |
9142 // 47F458: using guessed type int __stdcall WorldPosToGridCellZ(int); | |
9143 | 9142 |
9144 //----- (0047F469) -------------------------------------------------------- | 9143 //----- (0047F469) -------------------------------------------------------- |
9145 int __stdcall GridCellToWorldPosX(int a1) | 9144 int __stdcall GridCellToWorldPosX(int a1) |
9146 { | 9145 { |
9147 return (a1 - 64) << 9; | 9146 return (a1 - 64) << 9; |
9148 } | 9147 } |
9149 // 47F469: using guessed type int __stdcall GridCellToWorldPosX(int); | |
9150 | 9148 |
9151 //----- (0047F476) -------------------------------------------------------- | 9149 //----- (0047F476) -------------------------------------------------------- |
9152 int __stdcall GridCellToWorldPosZ(int a1) | 9150 int __stdcall GridCellToWorldPosZ(int a1) |
9153 { | 9151 { |
9154 return (64 - a1) << 9; | 9152 return (64 - a1) << 9; |
9155 } | 9153 } |
9156 // 47F476: using guessed type int __stdcall GridCellToWorldPosZ(int); | |
9157 | 9154 |
9158 //----- (0047F4D3) -------------------------------------------------------- | 9155 //----- (0047F4D3) -------------------------------------------------------- |
9159 void __fastcall sub_47F4D3(int band1, int band2, int band3) | 9156 void __fastcall sub_47F4D3(int band1, int band2, int band3) |
9160 { | 9157 { |
9161 int v3; // edi@1 | 9158 int v3; // edi@1 |