Mercurial > mm7
comparison mm7_1.cpp @ 1544:499761153844
stru149
author | Nomad |
---|---|
date | Sat, 07 Sep 2013 15:20:57 +0200 |
parents | a109bb203e28 |
children | c4ab816fcc5e |
comparison
equal
deleted
inserted
replaced
1543:888157f45502 | 1544:499761153844 |
---|---|
64 //----- (004453C0) mm6----------------------------------------------------- | 64 //----- (004453C0) mm6----------------------------------------------------- |
65 //----- (004A1760) mm6_chinese--------------------------------------------- | 65 //----- (004A1760) mm6_chinese--------------------------------------------- |
66 int fixpoint_sub0(int a1, int a2) | 66 int fixpoint_sub0(int a1, int a2) |
67 { | 67 { |
68 return ((__int64)a1 * (__int64)a2) >> 16; | 68 return ((__int64)a1 * (__int64)a2) >> 16; |
69 } | |
70 | |
71 int fixpoint_dot(int x1, int x2, int y1, int y2, int z1, int z2) | |
72 { | |
73 return fixpoint_sub0(x1, x2) + | |
74 fixpoint_sub0(y1, y2) + | |
75 fixpoint_sub0(z1, z2); | |
69 } | 76 } |
70 | 77 |
71 //----- (0041D20D) -------------------------------------------------------- | 78 //----- (0041D20D) -------------------------------------------------------- |
72 void __fastcall sub_41D20D_buff_remaining_time_string( int ecx0, struct GUIWindow *edx0, __int64 a3, struct GUIFont *a2 ) | 79 void __fastcall sub_41D20D_buff_remaining_time_string( int ecx0, struct GUIWindow *edx0, __int64 a3, struct GUIFont *a2 ) |
73 { | 80 { |