comparison mm7_2.cpp @ 100:81e93310f73c

rest screen, enemy status color fixed
author zipi
date Thu, 07 Feb 2013 22:23:10 +0000
parents d61f6bc04bf2
children 8a10c9780e17
comparison
equal deleted inserted replaced
99:b7ff791b1333 100:81e93310f73c
10094 char v5; // dl@5 10094 char v5; // dl@5
10095 char *v6; // ecx@5 10095 char *v6; // ecx@5
10096 int v7; // esi@9 10096 int v7; // esi@9
10097 signed int v8; // [sp+4h] [bp-Ch]@3 10097 signed int v8; // [sp+4h] [bp-Ch]@3
10098 signed int v9; // [sp+8h] [bp-8h]@4 10098 signed int v9; // [sp+8h] [bp-8h]@4
10099 FactionTable *v10; // [sp+Ch] [bp-4h]@1 10099 char *v10; // [sp+Ch] [bp-4h]@1
10100 10100
10101 v1 = 0; 10101 v1 = 0;
10102 v10 = this; 10102 v10 = (char *)relations;
10103 if ( pHostileTXT_Raw ) 10103 if ( pHostileTXT_Raw )
10104 pAllocator->FreeChunk(pHostileTXT_Raw); 10104 pAllocator->FreeChunk(pHostileTXT_Raw);
10105 pHostileTXT_Raw = 0; 10105 pHostileTXT_Raw = 0;
10106 pHostileTXT_Raw = (char *)pEvents_LOD->LoadRaw("hostile.txt", 0); 10106 pHostileTXT_Raw = (char *)pEvents_LOD->LoadRaw("hostile.txt", 0);
10107 strtok(pHostileTXT_Raw, "\r"); 10107 strtok(pHostileTXT_Raw, "\r");
10109 do 10109 do
10110 { 10110 {
10111 v2 = strtok(v1, "\r") + 1; 10111 v2 = strtok(v1, "\r") + 1;
10112 v3 = 0; 10112 v3 = 0;
10113 v9 = (signed int)v1; 10113 v9 = (signed int)v1;
10114 v4 = (int)((char *)&v10[-7] + v8 - 5); 10114 v4 = (int)&v10[v8-89];
10115 do 10115 do
10116 { 10116 {
10117 v5 = *v2; 10117 v5 = *v2;
10118 v6 = 0; 10118 v6 = 0;
10119 if ( *v2 != 9 ) 10119 if ( *v2 != 9 )