Mercurial > mm7
comparison mm7_2.cpp @ 186:d65528fc3bda
D3D constants, shore tiles, camera flags
author | Nomad |
---|---|
date | Fri, 15 Feb 2013 19:53:40 +0200 |
parents | 428cbb33872c |
children | 49728858c35e |
comparison
equal
deleted
inserted
replaced
185:16d257ffc802 | 186:d65528fc3bda |
---|---|
4870 | 4870 |
4871 static struct FrameTableTxtLine static_stru_F8BA58; // weak | 4871 static struct FrameTableTxtLine static_stru_F8BA58; // weak |
4872 static_stru_F8BA58.field_0 = 0; | 4872 static_stru_F8BA58.field_0 = 0; |
4873 if ( _this && *_this ) | 4873 if ( _this && *_this ) |
4874 { | 4874 { |
4875 v2 = (char *)&unk_F8B668; | 4875 int i = 0; |
4876 v2 = (char *)&array_F8B668; | |
4876 v3 = 1; | 4877 v3 = 1; |
4877 v7 = 0; | 4878 v7 = 0; |
4878 v4 = _this - (char *)&unk_F8B668; | 4879 v4 = _this - (char *)&array_F8B668; |
4879 do | 4880 do |
4880 { | 4881 { |
4881 v5 = v2[v4]; | 4882 v5 = v2[v4]; |
4882 *v2 = v5; | 4883 *v2 = v5; |
4883 if ( !v5 ) | 4884 if ( !v5 ) |
4918 v3 = 1; | 4919 v3 = 1; |
4919 } | 4920 } |
4920 if ( static_stru_F8BA58.field_0 >= 30 ) | 4921 if ( static_stru_F8BA58.field_0 >= 30 ) |
4921 break; | 4922 break; |
4922 ++v2; | 4923 ++v2; |
4923 } | 4924 ++i; |
4924 while ( (unsigned int)v2 < (unsigned int)&unk_F8BA50 ); | 4925 } |
4926 while (i < 1000); | |
4925 *v2 = 0; | 4927 *v2 = 0; |
4926 } | 4928 } |
4927 result = a2; | 4929 result = a2; |
4928 memcpy(a2, &static_stru_F8BA58, 0x7Cu); | 4930 memcpy(a2, &static_stru_F8BA58, 0x7Cu); |
4929 return result; | 4931 return result; |