Mercurial > mm7
comparison GUIWindow.cpp @ 291:0ea5fbd16edb
NPC mostly done
author | Gloval |
---|---|
date | Tue, 19 Feb 2013 00:34:15 +0400 |
parents | 1f0af5cac2dd |
children | 6581a2cc21b4 |
comparison
equal
deleted
inserted
replaced
290:4776715a964b | 291:0ea5fbd16edb |
---|---|
1841 if ( v12->joins ) | 1841 if ( v12->joins ) |
1842 { | 1842 { |
1843 pWindow->CreateButton(480, 130, 140, v11, 1, 0, 0x88u, 0xDu, 0, "", 0); | 1843 pWindow->CreateButton(480, 130, 140, v11, 1, 0, 0x88u, 0xDu, 0, "", 0); |
1844 a4a = 1; | 1844 a4a = 1; |
1845 } | 1845 } |
1846 v13 = (void *)v12->bDrawSomeAnim; | 1846 v13 = (void *)v12->evt_A; |
1847 if ( v13 ) | 1847 if ( v13 ) |
1848 { | 1848 { |
1849 if ( a4a < 4 ) | 1849 if ( a4a < 4 ) |
1850 { | 1850 { |
1851 v14 = sub_4466C4(v13); | 1851 v14 = sub_4466C4(v13); |
1852 if ( v14 == 1 || v14 == 2 ) | 1852 if ( v14 == 1 || v14 == 2 ) |
1853 pWindow->CreateButton(0x1E0u, a4a++ * v11 + 130, 0x8Cu, v11, 1, 0, 0x88u, 0x13u, 0, "", 0); | 1853 pWindow->CreateButton(0x1E0u, a4a++ * v11 + 130, 0x8Cu, v11, 1, 0, 0x88u, 0x13u, 0, "", 0); |
1854 } | 1854 } |
1855 } | 1855 } |
1856 v15 = (void *)v12->_anim_current_time; | 1856 v15 = (void *)v12->evt_B; |
1857 if ( v15 ) | 1857 if ( v15 ) |
1858 { | 1858 { |
1859 if ( a4a < 4 ) | 1859 if ( a4a < 4 ) |
1860 { | 1860 { |
1861 v16 = sub_4466C4(v15); | 1861 v16 = sub_4466C4(v15); |
1862 if ( v16 == 1 || v16 == 2 ) | 1862 if ( v16 == 1 || v16 == 2 ) |
1863 pWindow->CreateButton(0x1E0u, a4a++ * v11 + 130, 0x8Cu, v11, 1, 0, 0x88u, 0x14u, 0, "", 0); | 1863 pWindow->CreateButton(0x1E0u, a4a++ * v11 + 130, 0x8Cu, v11, 1, 0, 0x88u, 0x14u, 0, "", 0); |
1864 } | 1864 } |
1865 } | 1865 } |
1866 v17 = (void *)v12->_anim_end_time; | 1866 v17 = (void *)v12->evt_C; |
1867 if ( v17 ) | 1867 if ( v17 ) |
1868 { | 1868 { |
1869 if ( a4a < 4 ) | 1869 if ( a4a < 4 ) |
1870 { | 1870 { |
1871 v18 = sub_4466C4(v17); | 1871 v18 = sub_4466C4(v17); |
1872 if ( v18 == 1 || v18 == 2 ) | 1872 if ( v18 == 1 || v18 == 2 ) |
1873 pWindow->CreateButton( 0x1E0u, a4a++ * v11 + 130, 0x8Cu, v11, 1, 0, 0x88u, 0x15u, 0, "", 0); | 1873 pWindow->CreateButton( 0x1E0u, a4a++ * v11 + 130, 0x8Cu, v11, 1, 0, 0x88u, 0x15u, 0, "", 0); |
1874 } | 1874 } |
1875 } | 1875 } |
1876 v19 = (void *)v12->evtd; | 1876 v19 = (void *)v12->evt_D; |
1877 if ( v19 ) | 1877 if ( v19 ) |
1878 { | 1878 { |
1879 if ( a4a < 4 ) | 1879 if ( a4a < 4 ) |
1880 { | 1880 { |
1881 v20 = sub_4466C4(v19); | 1881 v20 = sub_4466C4(v19); |
1882 if ( v20 == 1 || v20 == 2 ) | 1882 if ( v20 == 1 || v20 == 2 ) |
1883 pWindow->CreateButton(0x1E0u, a4a++ * v11 + 130, 0x8Cu, v11, 1, 0, 0x88u, 0x16u, 0, "", 0); | 1883 pWindow->CreateButton(0x1E0u, a4a++ * v11 + 130, 0x8Cu, v11, 1, 0, 0x88u, 0x16u, 0, "", 0); |
1884 } | 1884 } |
1885 } | 1885 } |
1886 v21 = (void *)v12->evte; | 1886 v21 = (void *)v12->evt_E; |
1887 if ( v21 ) | 1887 if ( v21 ) |
1888 { | 1888 { |
1889 if ( a4a < 4 ) | 1889 if ( a4a < 4 ) |
1890 { | 1890 { |
1891 v22 = sub_4466C4(v21); | 1891 v22 = sub_4466C4(v21); |
1892 if ( v22 == 1 || v22 == 2 ) | 1892 if ( v22 == 1 || v22 == 2 ) |
1893 pWindow->CreateButton(0x1E0u, a4a++ * v11 + 130, 0x8Cu, v11, 1, 0, 0x88u, 0x17u, 0, "", 0); | 1893 pWindow->CreateButton(0x1E0u, a4a++ * v11 + 130, 0x8Cu, v11, 1, 0, 0x88u, 0x17u, 0, "", 0); |
1894 } | 1894 } |
1895 } | 1895 } |
1896 v23 = (void *)v12->evtf; | 1896 v23 = (void *)v12->evt_F; |
1897 if ( v23 ) | 1897 if ( v23 ) |
1898 { | 1898 { |
1899 if ( a4a < 4 ) | 1899 if ( a4a < 4 ) |
1900 { | 1900 { |
1901 v24 = sub_4466C4(v23); | 1901 v24 = sub_4466C4(v23); |