Mercurial > mm7
comparison AudioPlayer.cpp @ 147:c70fea5013aa
12.02.13
author | Ritor1 |
---|---|
date | Tue, 12 Feb 2013 09:11:03 +0600 |
parents | 1faa29fd4c2d |
children | d92c78ab54fe |
comparison
equal
deleted
inserted
replaced
146:30e731fc0f7a | 147:c70fea5013aa |
---|---|
1756 int __fastcall sub_4AB66C(int a1, int a2) | 1756 int __fastcall sub_4AB66C(int a1, int a2) |
1757 { | 1757 { |
1758 signed int v2; // eax@1 | 1758 signed int v2; // eax@1 |
1759 | 1759 |
1760 v2 = stru_5C6E00->uDoublePiMask & (stru_5C6E00->Atan2(a1 - pParty->vPosition.x, a2 - pParty->vPosition.y) | 1760 v2 = stru_5C6E00->uDoublePiMask & (stru_5C6E00->Atan2(a1 - pParty->vPosition.x, a2 - pParty->vPosition.y) |
1761 - stru_5C6E00->uIntegerHalfPi | 1761 - stru_5C6E00->uIntegerHalfPi - pParty->sRotationY); |
1762 - pParty->sRotationY); | |
1763 if ( v2 > (signed int)stru_5C6E00->uIntegerPi ) | 1762 if ( v2 > (signed int)stru_5C6E00->uIntegerPi ) |
1764 v2 = 2 * stru_5C6E00->uIntegerPi - v2; | 1763 v2 = 2 * stru_5C6E00->uIntegerPi - v2; |
1765 return (v2 >> 3) - (v2 >> 10); | 1764 return (v2 >> 3) - (v2 >> 10); |
1766 } | 1765 } |
1767 // 4AB66C: using guessed type int __fastcall sub_4AB66C(int, int); | 1766 // 4AB66C: using guessed type int __fastcall sub_4AB66C(int, int); |