# HG changeset patch # User Ritor1 # Date 1396451119 -21600 # Node ID ddb803517a48b75b2d466e5d7635890b171d3862 # Parent 82851980e3d88afa97c08be5c5d3d1efb10eb0c5 unused local variables I commented diff -r 82851980e3d8 -r ddb803517a48 Actor.cpp --- a/Actor.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/Actor.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -3922,12 +3922,12 @@ int for_x; // ebx@5 int for_y; // [sp+Ch] [bp-10h]@5 int for_z; // [sp+10h] [bp-Ch]@5 - int v3; // eax@5 - int v4; // ebx@5 - unsigned int v5; // ecx@5 - int v6; // edx@6 - unsigned int v7; // edx@8 - unsigned int v8; // edx@10 +// int v3; // eax@5 +// int v4; // ebx@5 +// unsigned int v5; // ecx@5 +// int v6; // edx@6 +// unsigned int v7; // edx@8 +// unsigned int v8; // edx@10 distance = 5120; diff -r 82851980e3d8 -r ddb803517a48 Arcomage.cpp --- a/Arcomage.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/Arcomage.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -971,11 +971,11 @@ ArcomageCard *v12; // ecx@20 int v56; // ecx@141 int v57; // edx@141 - int v64; // eax@169 - ArcomageCard *pCard; // ecx@169 - char v66; // dl@169 - char v67; // dl@173 - int v68; // edx@174 +// int v64; // eax@169 +// ArcomageCard *pCard; // ecx@169 +// char v66; // dl@169 +// char v67; // dl@173 +// int v68; // edx@174 int v132; // [sp-14h] [bp-14h]@0 ArcomagePlayer *enemy; // [sp-10h] [bp-10h]@5 ArcomagePlayer *player; // [sp-Ch] [bp-Ch]@5 @@ -1416,19 +1416,19 @@ //----- (0040A560) -------------------------------------------------------- char PlayerTurn( int player_num ) { - int v1; // ebp@0 - unsigned __int64 v2; // qax@3 +// int v1; // ebp@0 +// unsigned __int64 v2; // qax@3 unsigned __int64 v3; // kr00_8@3 - int v5; // esi@67 - char Dest[100]; // [sp+8h] [bp-A8h]@67 - int v8; // [sp+6Ch] [bp-44h]@3 +// int v5; // esi@67 +// char Dest[100]; // [sp+8h] [bp-A8h]@67 +// int v8; // [sp+6Ch] [bp-44h]@3 RECT pSrcXYZW; // [sp+70h] [bp-40h]@75 - int v10[4]; // [sp+80h] [bp-30h]@69 +// int v10[4]; // [sp+80h] [bp-30h]@69 POINT pTargetXY; // [sp+90h] [bp-20h]@75 ArcomageGame_stru1 a2; // [sp+98h] [bp-18h]@8 int animation_stage; // [sp+A4h] [bp-Ch]@1 - char v15; // [sp+AEh] [bp-2h]@63 +// char v15; // [sp+AEh] [bp-2h]@63 bool break_loop; // [sp+AFh] [bp-1h]@1 uCardID = -1; @@ -2061,10 +2061,10 @@ { int v0; // eax@1 int v1; // eax@4 - LONG v2; // ecx@4 +// LONG v2; // ecx@4 int v3; // eax@5 int v4; // eax@8 - LONG v5; // esi@8 +// LONG v5; // esi@8 RECT pSrcXYZW; // [sp+4h] [bp-18h]@4 POINT pTargetXY; // [sp+14h] [bp-8h]@4 @@ -2104,27 +2104,27 @@ void DrawCards() { int v0; // esi@1 - char v1; // bl@1 +// char v1; // bl@1 int v2; // edi@1 //int v3; // edx@2 - int v4; // eax@3 - int v5; // ecx@3 - int v6; // eax@3 +// int v4; // eax@3 +// int v5; // ecx@3 +// int v6; // eax@3 unsigned int v7; // ecx@4 - int v8; // eax@16 - int v9; // ecx@16 - int v10; // eax@16 +// int v8; // eax@16 +// int v9; // ecx@16 +// int v10; // eax@16 signed int v11; // edi@18 - signed int v12; // esi@20 - int v13; // ecx@20 - int v14; // eax@23 - signed int v15; // eax@25 - int v16; // ecx@25 - POINT *v17; // esi@26 - signed int v18; // eax@29 - AcromageCardOnTable *v19; // ecx@29 - int v20; // ecx@31 - int v21; // [sp-4h] [bp-2Ch]@8 +// signed int v12; // esi@20 +// int v13; // ecx@20 +// int v14; // eax@23 +// signed int v15; // eax@25 +// int v16; // ecx@25 +// POINT *v17; // esi@26 +// signed int v18; // eax@29 +// AcromageCardOnTable *v19; // ecx@29 +// int v20; // ecx@31 +// int v21; // [sp-4h] [bp-2Ch]@8 RECT pSrcXYZW; // [sp+Ch] [bp-1Ch]@8 POINT pTargetXY; // [sp+1Ch] [bp-Ch]@1 int v24; // [sp+24h] [bp-4h]@1 @@ -2239,26 +2239,26 @@ { int v1; // eax@3 int v2; // eax@3 - int v3; // esi@4 +// int v3; // esi@4 int v4; // eax@4 - POINT *v5; // edx@6 - RECT *v6; // ecx@6 +// POINT *v5; // edx@6 +// RECT *v6; // ecx@6 int v8; // eax@15 - AcromageCardOnTable *v9; // ecx@15 - int v10; // ecx@19 - int v11; // eax@20 - int v12; // ecx@20 - int v13; // eax@20 - unsigned int v14; // ecx@21 +// AcromageCardOnTable *v9; // ecx@15 +// int v10; // ecx@19 +// int v11; // eax@20 +// int v12; // ecx@20 +// int v13; // eax@20 +// unsigned int v14; // ecx@21 double v15; // st7@22 - POINT *v16; // edx@23 +// POINT *v16; // edx@23 int v17; // eax@32 char v18; // zf@37 int v19; // eax@41 - int v20; // eax@46 - int v21; // ecx@46 - int v22; // eax@46 - int v23; // [sp-4h] [bp-2Ch]@28 +// int v20; // eax@46 +// int v21; // ecx@46 +// int v22; // eax@46 +// int v23; // [sp-4h] [bp-2Ch]@28 RECT pSrcXYZW; // [sp+Ch] [bp-1Ch]@6 POINT pTargetXY; // [sp+1Ch] [bp-Ch]@20 int v26; // [sp+24h] [bp-4h]@1 @@ -2456,7 +2456,7 @@ signed int DrawCardsRectangles( int player_num ) { int v5; // eax@3 - int i; // ecx@6 +// int i; // ecx@6 int color; // ST00_4@19 RECT pXYZW; // [sp+Ch] [bp-3Ch]@3 stru273 v26; // [sp+1Ch] [bp-2Ch]@2 @@ -2521,19 +2521,19 @@ bool DiscardCard( int player_num, signed int card_slot_index ) { int v2; // esi@2 - signed int v3; // edi@2 - char *v4; // eax@2 - int v5; // ecx@7 - int v6; // ebx@7 - int v7; // esi@8 +// signed int v3; // edi@2 +// char *v4; // eax@2 +// int v5; // ecx@7 +// int v6; // ebx@7 +// int v7; // esi@8 int v8; // eax@8 - int v9; // esi@8 +// int v9; // esi@8 int v10; // ecx@8 - int v11; // eax@8 +// int v11; // eax@8 int v12; // eax@8 - signed int v13; // edx@9 - unsigned int v14; // eax@12 - char result; // al@12 +// signed int v13; // edx@9 +// unsigned int v14; // eax@12 +// char result; // al@12 int i; if ( card_slot_index <= -1 ) @@ -2582,20 +2582,20 @@ //----- (0040BE0E) -------------------------------------------------------- bool PlayCard( int player_num, int card_slot_num ) { - int v3; // ebp@1 +// int v3; // ebp@1 int v4; // ecx@2 - ArcomagePlayer *v5; // esi@2 +// ArcomagePlayer *v5; // esi@2 int card_index; // edi@2 - int v7; // eax@2 - int v8; // ebx@8 +// int v7; // eax@2 +// int v8; // ebx@8 int cards_at_hand; // eax@8 - int v10; // ebx@8 - int v11; // ebp@8 +// int v10; // ebx@8 +// int v11; // ebp@8 int v12; // ecx@8 - int v13; // eax@8 +// int v13; // eax@8 ArcomageCard *pCard; // eax@8 - int v15; // ecx@8 - int v16; // ecx@8 +// int v15; // ecx@8 +// int v16; // ecx@8 if ( card_slot_num <= -1 ) return false; @@ -2706,26 +2706,26 @@ }\ } ArcomagePlayer *player; // esi@1 - int v3; // eax@1 +// int v3; // eax@1 ArcomagePlayer *enemy; // edi@1 - int v5; // eax@2 - char v6; // sf@2 - unsigned __int8 v7; // of@2 - int v8; // eax@3 - int v9; // eax@4 - char v10; // zf@5 - int v11; // eax@8 - unsigned __int8 v12; // zf@8 - char v13; // sf@8 - unsigned __int8 v14; // of@8 - int v15; // eax@9 - int v16; // eax@10 - char v17; // zf@12 - char v18; // al@15 - int v19; // eax@16 - int v20; // eax@17 - int v21; // eax@22 - int v22; // eax@23 +// int v5; // eax@2 +// char v6; // sf@2 +// unsigned __int8 v7; // of@2 +// int v8; // eax@3 +// int v9; // eax@4 +// char v10; // zf@5 +// int v11; // eax@8 +// unsigned __int8 v12; // zf@8 +// char v13; // sf@8 +// unsigned __int8 v14; // of@8 +// int v15; // eax@9 +// int v16; // eax@10 +// char v17; // zf@12 +// char v18; // al@15 +// int v19; // eax@16 +// int v20; // eax@17 +// int v21; // eax@22 +// int v22; // eax@23 int v23; // eax@26 signed int v24; // ebx@26 int v103; @@ -3275,7 +3275,7 @@ int am_40D2B4( POINT* startXY, int effect_value ) { int v2; // ebp@1 - POINT *v3; // edi@1 +// POINT *v3; // edi@1 int result; // eax@3 int v6; stru272_stru0 *v8; // ecx@12 @@ -3344,7 +3344,7 @@ //----- (0040D402) -------------------------------------------------------- int ApplyDamageToBuildings( int player_num, int damage ) { - ArcomagePlayer *v2; // ecx@1 +// ArcomagePlayer *v2; // ecx@1 int v3; // esi@1 int result; // eax@3 @@ -3380,8 +3380,8 @@ int pl_resource; // edx@25 int en_resource; // eax@28 unsigned int tavern_num; // eax@54 - char pText[64]; // [sp+Ch] [bp-48h]@1 - POINT xy; // [sp+4Ch] [bp-8h]@1 +// char pText[64]; // [sp+Ch] [bp-48h]@1 +// POINT xy; // [sp+4Ch] [bp-8h]@1 winner = -1; victory_type = -1; @@ -3558,11 +3558,11 @@ //----- (00409C8B) -------------------------------------------------------- void PrepareArcomage() { - signed __int64 v1; // qax@4 +// signed __int64 v1; // qax@4 int v2; // esi@4 int v3; // esi@5 signed int v4; // edi@5 - int v6; // edx@9 +// int v6; // edx@9 RECT pXYZW; // [sp+8h] [bp-1Ch]@5 POINT pXY; // [sp+18h] [bp-Ch]@5 diff -r 82851980e3d8 -r ddb803517a48 AudioPlayer.cpp --- a/AudioPlayer.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/AudioPlayer.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -527,10 +527,10 @@ int v52; // eax@104 float v53; // ST0C_4@106 float v54; // ST04_4@106 - SoundDesc *pSoundDesc; // edx@107 - SpriteObject *pLayingItem3; // eax@114 +// SoundDesc *pSoundDesc; // edx@107 +// SpriteObject *pLayingItem3; // eax@114 signed int v62; // esi@133 - int v68; // eax@143 +// int v68; // eax@143 unsigned int v86; // [sp+14h] [bp-60h]@84 RenderVertexSoft pRenderVertexSoft; // [sp+24h] [bp-50h]@1 int v90; // [sp+58h] [bp-1Ch]@68 @@ -1402,7 +1402,7 @@ double v11; // st7@13 SpriteObject *v12; // eax@14 Actor *v13; // eax@15 - signed int v14; // edx@15 +// signed int v14; // edx@15 BLVDoor *pDoor; // eax@19 double v16; // st7@22 double v17; // st6@22 @@ -1416,8 +1416,8 @@ int v25; // eax@32 float v26; // ST10_4@34 float v27; // ST08_4@34 - int v38; // eax@53 - __int16 v51; // ax@71 +// int v38; // eax@53 +// __int16 v51; // ax@71 signed int v53; // eax@88 RenderVertexSoft a1; // [sp+24h] [bp-48h]@1 float v55; // [sp+54h] [bp-18h]@22 @@ -1804,9 +1804,9 @@ int source_type = PID_TYPE(pMixerChannels[i].source_pid), source_id = PID_ID(pMixerChannels[i].source_pid); - int source_x, - source_y, - source_z; +// int source_x, +// int source_y, +// source_z; switch (source_type) { @@ -2142,7 +2142,7 @@ _PROVIDER *v6; // eax@9 //HWND v7; // ST00_4@9 //MixerChannel *pChannel; // edi@14 - _SAMPLE *v9; // eax@15 +// _SAMPLE *v9; // eax@15 //_REDBOOK *v10; // eax@19 //int v11; // ecx@21 int v12; // [sp+Ch] [bp-Ch]@9 @@ -2335,7 +2335,7 @@ void AudioPlayer::Release() //Освободить { MixerChannel *pMixerChannel; // ebx@3 - char v4; // dl@5 +// char v4; // dl@5 AudioPlayer_3DSample *p3DSample; // edi@7 void *v9; // ecx@15 @@ -2396,13 +2396,13 @@ //int v2; // ebx@1 //AudioPlayer *v3; // esi@1 //SoundDesc *v4; // eax@2 - unsigned __int8 v5; // zf@5 +// unsigned __int8 v5; // zf@5 //unsigned __int8 v6; // sf@5 //char *v7; // edi@6 int num_same_sound_on_channels; // eax@8 //int v9; // ST04_4@8 int v10; // ecx@12 - int v11; // edi@13 +// int v11; // edi@13 int v12; // eax@13 //unsigned __int8 v13; // of@13 int v14[16]; // [sp+Ch] [bp-48h]@8 @@ -2456,10 +2456,10 @@ unsigned __int8 v6; // sf@5 char *v7; // edi@6 int v8; // eax@8 - int v9; // ST04_4@8 +// int v9; // ST04_4@8 int v10; // ecx@12 int v11; // eax@13 - unsigned __int8 v12; // of@13 +// unsigned __int8 v12; // of@13 int v13[16]; // [sp+Ch] [bp-48h]@8 int v14; // [sp+4Ch] [bp-8h]@5 int v15; // [sp+50h] [bp-4h]@5 diff -r 82851980e3d8 -r ddb803517a48 CastSpellInfo.cpp --- a/CastSpellInfo.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/CastSpellInfo.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -38,15 +38,15 @@ signed int v6; // eax@14 unsigned __int16 v11; // cx@45 signed int i; // esi@76 - Actor *pActor; // edi@177 +// Actor *pActor; // edi@177 int v61; // ecx@184 int v111; // eax@274 int dist_X; // eax@278 - int new_dist_Y; +// int new_dist_Y; int dist_Z; - int v116; // edx@279 - int v117; // edx@281 - int v118; // edx@283 +// int v116; // edx@279 +// int v117; // edx@281 +// int v118; // edx@283 int v169; // eax@344 int v188; // esi@369 int v189; // edi@369 @@ -76,7 +76,7 @@ int v295; // edx@575 char v313; // al@606pGame->GetStru6() const char *v317; // ecx@617 - int v396; // eax@752 +// int v396; // eax@752 __int16 v448; // ax@864 DDM_DLV_Header *v613; // eax@1108 int v642; // edi@1156 diff -r 82851980e3d8 -r ddb803517a48 Chest.cpp --- a/Chest.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/Chest.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -224,13 +224,13 @@ Texture *item_texture; // esi@4 signed int itemPixelWidth; // ecx@4 signed int itemPixelHeght; // edx@4 - signed int v11; // eax@4 +// signed int v11; // eax@4 int v12; // eax@6 int v13; // eax@6 unsigned int itemPixelPosX; // ST34_4@8 int itemPixelPosY; // edi@8 int *v16; // [sp+Ch] [bp-28h]@1 - int v17; // [sp+10h] [bp-24h]@4 +// int v17; // [sp+10h] [bp-24h]@4 int chest_offs_y; // [sp+14h] [bp-20h]@1 signed int chestHeghtCells; // [sp+18h] [bp-1Ch]@1 int chest_offs_x; // [sp+1Ch] [bp-18h]@1 @@ -280,20 +280,20 @@ //----- (0041FE71) -------------------------------------------------------- bool Chest::CanPlaceItemAt( signed int test_cell_position, int item_id, signed int uChestID ) { - int v3; // eax@1 +// int v3; // eax@1 unsigned int item_texture_id; // eax@1 Texture *item_texture; // ecx@1 signed int v6; // eax@1 - signed int v7; // edi@3 +// signed int v7; // edi@3 signed int v8; // eax@3 int texture_cell_width; // edi@3 int texture_cell_height; // ebx@5 int _row; // esi@9 int _cell_rows; // edx@10 int _column; // ecx@11 - char *v14; // eax@12 +// char *v14; // eax@12 int chest_cell_heght; // [sp+Ch] [bp-Ch]@1 - signed int v17; // [sp+10h] [bp-8h]@1 +// signed int v17; // [sp+10h] [bp-8h]@1 signed int chest_cell_width; // [sp+14h] [bp-4h]@1 chest_cell_heght = pChestHeightsByType[pChests[uChestID].uChestBitmapID]; @@ -390,7 +390,7 @@ int v19; // [sp+14h] [bp-10h]@1 int v20; // [sp+18h] [bp-Ch]@19 signed int v21; // [sp+1Ch] [bp-8h]@1 - signed int v22; // [sp+20h] [bp-4h]@3 +// signed int v22; // [sp+20h] [bp-4h]@3 int v23; // [sp+20h] [bp-4h]@19 v21 = 0; diff -r 82851980e3d8 -r ddb803517a48 DecalBuilder.cpp --- a/DecalBuilder.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/DecalBuilder.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -56,10 +56,10 @@ void DecalBuilder::AddBloodsplat(float x, float y, float z, float r, float g, float b, float radius, int a8, int a9) { //double v10; // ST1C_8@1 - char v11; // ST24_1@1 +// char v11; // ST24_1@1 //double v12; // ST1C_8@1 //double v13; // ST1C_8@1 - int a7a; // [sp+40h] [bp+18h]@1 +// int a7a; // [sp+40h] [bp+18h]@1 //float arg14a; // [sp+44h] [bp+1Ch]@1 //float arg14b; // [sp+44h] [bp+1Ch]@1 //float arg14c; // [sp+44h] [bp+1Ch]@1 @@ -113,7 +113,7 @@ //int v27; // edi@21 //double v28; // st7@21 //float v29; // ST10_4@21 - int v30; // ST08_4@21 +// int v30; // ST08_4@21 //DecalBuilder *v31; // esi@21 //int v32; // [sp+4h] [bp-44h]@18 //float v33; // [sp+8h] [bp-40h]@21 @@ -129,7 +129,7 @@ int v43; // [sp+3Ch] [bp-Ch]@21 //DecalBuilder *thisa; // [sp+40h] [bp-8h]@1 //RenderVertexSoft *a11; // [sp+44h] [bp-4h]@8 - int a6a; +// int a6a; //int *a6b; @@ -261,12 +261,12 @@ double v28; // st7@5 //double v29; // st7@6 char result; // al@6 - unsigned int *v31; // edi@7 - RenderVertexSoft *v32; // ebx@8 - std::string *v33; // ecx@15 +// unsigned int *v31; // edi@7 +// RenderVertexSoft *v32; // ebx@8 +// std::string *v33; // ecx@15 int v34; // eax@19 - const char *v35; // [sp-Ch] [bp-2Ch]@15 - int v36; // [sp-8h] [bp-28h]@15 +// const char *v35; // [sp-Ch] [bp-2Ch]@15 +// int v36; // [sp-8h] [bp-28h]@15 std::string v37; // [sp-4h] [bp-24h]@15 //float v38; // [sp+8h] [bp-18h]@6 //RenderVertexSoft *v39; // [sp+Ch] [bp-14h]@6 @@ -509,14 +509,14 @@ //int v17; // edx@24 //DecalBuilder *v18; // eax@24 std::string v19; // [sp-18h] [bp-54h]@12 - const char *v20; // [sp-8h] [bp-44h]@12 +// const char *v20; // [sp-8h] [bp-44h]@12 //int v21; // [sp-4h] [bp-40h]@12 double v22; // [sp+Ch] [bp-30h]@19 unsigned int v23; // [sp+14h] [bp-28h]@1 //DecalBuilder *v24; // [sp+18h] [bp-24h]@1 //int v25; // [sp+1Ch] [bp-20h]@19 float v26; // [sp+20h] [bp-1Ch]@12 - int v27; // [sp+24h] [bp-18h]@12 +// int v27; // [sp+24h] [bp-18h]@12 float v28; // [sp+28h] [bp-14h]@13 //float v29; // [sp+2Ch] [bp-10h]@7 float v30; // [sp+30h] [bp-Ch]@6 diff -r 82851980e3d8 -r ddb803517a48 DecorationList.cpp --- a/DecorationList.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/DecorationList.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -52,15 +52,15 @@ //__int16 v11; // ax@16 //const char *v12; // ST14_4@16 //unsigned __int16 v13; // ax@16 - const char *v14; // ST10_4@16 +// const char *v14; // ST10_4@16 //__int16 v15; // ax@16 - const char *v16; // ST0C_4@16 - unsigned __int8 v17; // al@16 - const char *v18; // ST08_4@16 - unsigned __int8 v19; // al@16 - const char *v20; // ST04_4@16 - unsigned __int8 v21; // al@16 - const char *v22; // ST00_4@16 +// const char *v16; // ST0C_4@16 +// unsigned __int8 v17; // al@16 +// const char *v18; // ST08_4@16 +// unsigned __int8 v19; // al@16 +// const char *v20; // ST04_4@16 +// unsigned __int8 v21; // al@16 +// const char *v22; // ST00_4@16 unsigned __int8 v23; // zf@16 char v24; // sf@16 unsigned __int8 v25; // of@16 diff -r 82851980e3d8 -r ddb803517a48 Events.cpp --- a/Events.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/Events.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -281,7 +281,7 @@ //----- (0044684A) -------------------------------------------------------- void EventProcessor(int uEventID, int targetObj, int canShowMessages, int entry_line) { - unsigned int v3; // eax@5 +// unsigned int v3; // eax@5 signed int v4; // esi@7 int v11; // eax@14 char *v12; // eax@15 @@ -296,60 +296,60 @@ unsigned __int16 v24; // ax@45 LevelDecoration *v26; // eax@55 int v27; // eax@57 - int v28; // ecx@57 +// int v28; // ecx@57 int pEventID; // eax@58 int pNPC_ID; // ecx@58 int pIndex; // esi@58 NPCData *pNPC; // ecx@58 - int v34; // esi@59 - int v35; // esi@60 - int v36; // esi@61 - int v37; // esi@62 +// int v34; // esi@59 +// int v35; // esi@60 +// int v36; // esi@61 +// int v37; // esi@62 int v38; // eax@78 int v39; // ecx@78 int v42; // eax@84 int v43; // ecx@84 - void *v46; // eax@91 - GUIWindow *v47; // eax@93 +// void *v46; // eax@91 +// GUIWindow *v47; // eax@93 GUIButton *v48; // ecx@93 GUIButton *v49; // esi@94 - char v50; // al@100 - Player *v51; // esi@103 - Player *v52; // ecx@106 - int v53; // ecx@107 - char v54; // al@111 - Player *v55; // esi@114 - Player *v56; // ecx@117 - int v57; // ecx@118 +// char v50; // al@100 +// Player *v51; // esi@103 +// Player *v52; // ecx@106 +// int v53; // ecx@107 +// char v54; // al@111 +// Player *v55; // esi@114 +// Player *v56; // ecx@117 +// int v57; // ecx@118 signed int pValue; // ebp@124 Player *pPlayer; // esi@125 - int v60; // eax@126 - int v61; // edx@133 - int v62; // eax@139 - int v63; // ebp@145 - signed int v64; // edi@146 - unsigned int v65; // edx@148 - Player *v66; // ecx@148 - int v67; // esi@148 - signed int v68; // eax@151 - int v69; // esi@151 - Player *v70; // ecx@158 - unsigned int v71; // eax@159 - int v72; // esi@159 - signed int v73; // eax@162 - int v74; // esi@162 - int v75; // edx@172 - Player *v76; // esi@173 - signed int v77; // ebp@186 - int v78; // edx@186 - Player *v79; // esi@187 - Player *v82; // esi@201 +// int v60; // eax@126 +// int v61; // edx@133 +// int v62; // eax@139 +// int v63; // ebp@145 +// signed int v64; // edi@146 +// unsigned int v65; // edx@148 +// Player *v66; // ecx@148 +// int v67; // esi@148 +// signed int v68; // eax@151 +// int v69; // esi@151 +// Player *v70; // ecx@158 +// unsigned int v71; // eax@159 +// int v72; // esi@159 +// signed int v73; // eax@162 +// int v74; // esi@162 +// int v75; // edx@172 +// Player *v76; // esi@173 +// signed int v77; // ebp@186 +// int v78; // edx@186 +// Player *v79; // esi@187 +// Player *v82; // esi@201 int v83; // eax@212 int v84; // ebp@220 int v90; // eax@243 const char *v91; // ecx@247 - int v92; // eax@251 - char *v93; // eax@252 +// int v92; // eax@251 +// char *v93; // eax@252 int v94; // ecx@262 int v95; // ebp@262 int v96; // edx@262 @@ -358,17 +358,17 @@ const char *v99; // esi@267 int v100; // edx@267 unsigned int v102; // esi@281 - int v103; // edi@284 +// int v103; // edi@284 int v104; // eax@288 - int v105; // edx@294 +// int v105; // edx@294 int v106; // [sp-20h] [bp-4C8h]@278 signed int v109; // [sp-14h] [bp-4BCh]@278 signed int v110; // [sp-10h] [bp-4B8h]@278 - int v113; // [sp-8h] [bp-4B0h]@106 - int v114; // [sp-8h] [bp-4B0h]@117 - int v117; // [sp-4h] [bp-4ACh]@106 - int v118; // [sp-4h] [bp-4ACh]@117 - int v121; // [sp-4h] [bp-4ACh]@294 +// int v113; // [sp-8h] [bp-4B0h]@106 +// int v114; // [sp-8h] [bp-4B0h]@117 +// int v117; // [sp-4h] [bp-4ACh]@106 +// int v118; // [sp-4h] [bp-4ACh]@117 +// int v121; // [sp-4h] [bp-4ACh]@294 int curr_seq_num; // [sp+10h] [bp-498h]@4 int v126; // [sp+1Ch] [bp-48Ch]@262 int player_choose; // [sp+20h] [bp-488h]@4 diff -r 82851980e3d8 -r ddb803517a48 GUIWindow.cpp --- a/GUIWindow.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/GUIWindow.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -1090,8 +1090,8 @@ int v18; // edi@32 int v19; // esi@38 std::string v21; // [sp-18h] [bp-50h]@2 - const char *v22; // [sp-8h] [bp-40h]@2 - int v23; // [sp-4h] [bp-3Ch]@2 +// const char *v22; // [sp-8h] [bp-40h]@2 +// int v23; // [sp-4h] [bp-3Ch]@2 char Dest[6]; // [sp+Ch] [bp-2Ch]@32 //char v25; // [sp+Fh] [bp-29h]@32 //char v26; // [sp+11h] [bp-27h]@34 @@ -1239,25 +1239,25 @@ signed int v13; // esi@19 signed int v14; // ebx@19 unsigned __int8 v15; // cl@21 - int v16; // eax@22 - int v17; // ecx@22 - int v18; // ecx@23 - int v19; // ecx@24 +// int v16; // eax@22 +// int v17; // ecx@22 +// int v18; // ecx@23 +// int v19; // ecx@24 unsigned int v20; // ecx@26 unsigned char* v21; // eax@28 - int v22; // ebx@34 +// int v22; // ebx@34 int v23; // eax@34 int v24; // ebx@36 char Str[6]; // [sp+Ch] [bp-20h]@34 - char v26; // [sp+Fh] [bp-1Dh]@34 - char v27; // [sp+11h] [bp-1Bh]@35 +// char v26; // [sp+Fh] [bp-1Dh]@34 +// char v27; // [sp+11h] [bp-1Bh]@35 int v28; // [sp+20h] [bp-Ch]@17 GUIWindow *pWindow; // [sp+24h] [bp-8h]@1 size_t pNumLen; // [sp+28h] [bp-4h]@1 size_t Str1a; // [sp+40h] [bp+14h]@5 - size_t Str1b; // [sp+40h] [bp+14h]@19 - const char *Sourcea; // [sp+44h] [bp+18h]@20 - int v34; // [sp+48h] [bp+1Ch]@26 +// size_t Str1b; // [sp+40h] [bp+14h]@19 +// const char *Sourcea; // [sp+44h] [bp+18h]@20 +// int v34; // [sp+48h] [bp+1Ch]@26 int i; @@ -1373,15 +1373,15 @@ int a6, int a7, UIMessageType msg, unsigned int msg_param, unsigned __int8 uHotkey, const char *pName, Texture *pTextures, ...) { GUIButton *pButton; // esi@1 - unsigned int v13; // eax@1 - unsigned int v14; // ebx@4 - unsigned int v15; // eax@4 +// unsigned int v13; // eax@1 +// unsigned int v14; // ebx@4 +// unsigned int v15; // eax@4 unsigned int TextureNum=0; // ebx@4 - unsigned int v17; // eax@4 - Texture *v18; // eax@4 - Texture **v19; // ecx@5 - Texture **v20; // edx@5 - GUIButton *v21; // eax@7 +// unsigned int v17; // eax@4 +// Texture *v18; // eax@4 +// Texture **v19; // ecx@5 +// Texture **v20; // edx@5 +// GUIButton *v21; // eax@7 va_list texturs_ptr; pButton = (GUIButton *)malloc(0xBC); @@ -1445,12 +1445,12 @@ int v20; // eax@35 int v22; // eax@40 int v24; // eax@45 - int v25; // eax@65 +// int v25; // eax@65 unsigned int v26; // ebx@65 char *v27; // eax@71 const char *v29; // [sp-8h] [bp-18h]@68 char *v30; // [sp-4h] [bp-14h]@68 - int uWidtha; // [sp+14h] [bp+4h]@66 +// int uWidtha; // [sp+14h] [bp+4h]@66 int num_menu_buttons; // [sp+20h] [bp+10h]@15 for (uNextFreeWindowID = 0; uNextFreeWindowID < 20; ++uNextFreeWindowID) @@ -1715,12 +1715,12 @@ GUIWindow *pWindow; // esi@4 //unsigned int pWindowType; // eax@4 const char *pHint; // edx@66 - GUIButton *pButtonPtr_1C; // ebp@79 - char *pHint1; // edx@80 +// GUIButton *pButtonPtr_1C; // ebp@79 +// char *pHint1; // edx@80 int v26; // eax@98 unsigned int v27; // ebp@106 GUIWindow *pGUIWindow2; // ecx@109 - GUIFont *pGUIFont; // ST1C_4@115 +// GUIFont *pGUIFont; // ST1C_4@115 int v31; // eax@115 GUIButton *pButton; // ebp@118 int v39; // eax@129 @@ -1731,7 +1731,7 @@ //Texture *pTexture; // [sp-14h] [bp-11Ch]@17 //Texture *pTexture2; // [sp-14h] [bp-11Ch]@86 int i; // [sp+0h] [bp-108h]@3 - ItemGen pItemGen; // [sp+4h] [bp-104h]@98 +// ItemGen pItemGen; // [sp+4h] [bp-104h]@98 GUIButton GUIButton2; // [sp+28h] [bp-E0h]@133 ItemGen ItemGen2; // [sp+E4h] [bp-24h]@129 diff -r 82851980e3d8 -r ddb803517a48 Game.cpp --- a/Game.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/Game.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -1112,15 +1112,15 @@ unsigned __int8 v17; // al@105 int v18; // eax@106 float v19; // ST64_4@121 - unsigned int v20; // ecx@121 +// unsigned int v20; // ecx@121 float v21; // ST64_4@126 float v22; // ST64_4@127 - unsigned int v23; // ecx@135 +// unsigned int v23; // ecx@135 unsigned int v24; // ecx@149 - unsigned int v25; // ecx@165 - GUIWindow *pWindow; // eax@204 - unsigned int v27; // edx@204 - unsigned int v28; // ecx@204 +// unsigned int v25; // ecx@165 +// GUIWindow *pWindow; // eax@204 +// unsigned int v27; // edx@204 +// unsigned int v28; // ecx@204 GUIWindow *pWindow2; // ecx@248 //int v30; // edx@258 //const char *v31; // ecx@262 @@ -1135,7 +1135,7 @@ //signed int v40; // eax@365 char *v41; // eax@380 int v42; // eax@396 - POINT *pPoint; // eax@397 +// POINT *pPoint; // eax@397 signed int v44; // eax@398 int v45; // edx@398 signed int v46; // ecx@398 @@ -1144,7 +1144,7 @@ BLVFace *pBLVFace; // ecx@410 ODMFace *pODMFace; // ecx@412 CastSpellInfo *pSpellInfo; // ecx@415 - void *v52; // eax@424 +// void *v52; // eax@424 __int16 v53; // ax@431 int v54; // eax@432 int v55; // ecx@432 @@ -1174,7 +1174,7 @@ //int v79; // ecx@550 //unsigned int v80; // edx@550 signed int v81; // eax@552 - POINT *pPoint2; // eax@553 +// POINT *pPoint2; // eax@553 signed int v83; // ecx@554 signed int v84; // ecx@554 GUIButton *pButton; // eax@578 @@ -1191,10 +1191,10 @@ //const char *v96; // ecx@621 unsigned int v97; // eax@624 int v98; // eax@636 - unsigned __int8 v99; // al@643 - Player *pPlayer3; // eax@648 - int v101; // ecx@648 - int v102; // edx@652 +// unsigned __int8 v99; // al@643 +// Player *pPlayer3; // eax@648 +// int v101; // ecx@648 +// int v102; // edx@652 int v103; // eax@671 Player *pPlayer4; // ecx@718 int v105; // eax@718 @@ -1203,71 +1203,71 @@ unsigned int v108; // eax@758 unsigned int v115; // eax@764 int v116; // eax@776 - POINT *pPoint3; // eax@777 +// POINT *pPoint3; // eax@777 unsigned int v118; // eax@785 unsigned int v119; // ecx@786 - unsigned int v120; // [sp-28h] [bp-624h]@86 +// unsigned int v120; // [sp-28h] [bp-624h]@86 unsigned int v121; // [sp-28h] [bp-624h]@711 - unsigned int v122; // [sp-24h] [bp-620h]@86 +// unsigned int v122; // [sp-24h] [bp-620h]@86 unsigned int v123; // [sp-24h] [bp-620h]@711 - unsigned int v124; // [sp-20h] [bp-61Ch]@86 +// unsigned int v124; // [sp-20h] [bp-61Ch]@86 unsigned int v125; // [sp-20h] [bp-61Ch]@711 - unsigned int v126; // [sp-1Ch] [bp-618h]@86 +// unsigned int v126; // [sp-1Ch] [bp-618h]@86 int v127; // [sp-1Ch] [bp-618h]@107 unsigned int v128; // [sp-1Ch] [bp-618h]@711 - int v129; // [sp-18h] [bp-614h]@86 +// int v129; // [sp-18h] [bp-614h]@86 //signed int v130; // [sp-18h] [bp-614h]@107 - int v131; // [sp-14h] [bp-610h]@86 +// int v131; // [sp-14h] [bp-610h]@86 //unsigned int v132; // [sp-14h] [bp-610h]@107 //unsigned int v133; // [sp-10h] [bp-60Ch]@60 - unsigned int v134; // [sp-10h] [bp-60Ch]@86 +// unsigned int v134; // [sp-10h] [bp-60Ch]@86 //signed int v135; // [sp-10h] [bp-60Ch]@107 - unsigned int v136; // [sp-10h] [bp-60Ch]@121 +// unsigned int v136; // [sp-10h] [bp-60Ch]@121 //unsigned int v137; // [sp-Ch] [bp-608h]@60 - unsigned int v138; // [sp-Ch] [bp-608h]@86 +// unsigned int v138; // [sp-Ch] [bp-608h]@86 //signed int v139; // [sp-Ch] [bp-608h]@107 - unsigned int v140; // [sp-Ch] [bp-608h]@121 - enum WindowType pWindowType; // [sp-8h] [bp-604h]@56 +// unsigned int v140; // [sp-Ch] [bp-608h]@121 +// enum WindowType pWindowType; // [sp-8h] [bp-604h]@56 //enum WindowType pWindowType1; // [sp-8h] [bp-604h]@60 - unsigned __int8 v143; // [sp-8h] [bp-604h]@86 +// unsigned __int8 v143; // [sp-8h] [bp-604h]@86 //int v144; // [sp-8h] [bp-604h]@107 - enum WindowType pWindowType2; // [sp-8h] [bp-604h]@121 +// enum WindowType pWindowType2; // [sp-8h] [bp-604h]@121 //const char *v146; // [sp-8h] [bp-604h]@449 //unsigned int v147; // [sp-8h] [bp-604h]@550 //int v148; // [sp-4h] [bp-600h]@56 GUIButton *pButton2; // [sp-4h] [bp-600h]@59 - const char *v150; // [sp-4h] [bp-600h]@86 +// const char *v150; // [sp-4h] [bp-600h]@86 //unsigned int v151; // [sp-4h] [bp-600h]@107 - int v152; // [sp-4h] [bp-600h]@121 - int v153; // [sp-4h] [bp-600h]@135 +// int v152; // [sp-4h] [bp-600h]@121 +// int v153; // [sp-4h] [bp-600h]@135 //int v154; // [sp-4h] [bp-600h]@149 - int v155; // [sp-4h] [bp-600h]@165 - int v156; // [sp-4h] [bp-600h]@204 +// int v155; // [sp-4h] [bp-600h]@165 +// int v156; // [sp-4h] [bp-600h]@204 //const char *v157; // [sp-4h] [bp-600h]@444 //unsigned int v158; // [sp-4h] [bp-600h]@449 //__int16 v159; // [sp-4h] [bp-600h]@550 - int v160; // [sp-4h] [bp-600h]@599 +// int v160; // [sp-4h] [bp-600h]@599 const char *v161; // [sp-4h] [bp-600h]@637 //int v162; // [sp+0h] [bp-5FCh]@56 //int v163; // [sp+0h] [bp-5FCh]@59 - Texture *pTexture; // [sp+0h] [bp-5FCh]@86 +// Texture *pTexture; // [sp+0h] [bp-5FCh]@86 //int v165; // [sp+0h] [bp-5FCh]@107 - int v166; // [sp+0h] [bp-5FCh]@121 - int v167; // [sp+0h] [bp-5FCh]@135 +// int v166; // [sp+0h] [bp-5FCh]@121 +// int v167; // [sp+0h] [bp-5FCh]@135 //int v168; // [sp+0h] [bp-5FCh]@149 - int v169; // [sp+0h] [bp-5FCh]@165 - int v170; // [sp+0h] [bp-5FCh]@204 +// int v169; // [sp+0h] [bp-5FCh]@165 +// int v170; // [sp+0h] [bp-5FCh]@204 //signed int v171; // [sp+0h] [bp-5FCh]@259 KeyToggleType pKeyToggleType; // [sp+0h] [bp-5FCh]@287 char *v173; // [sp+0h] [bp-5FCh]@444 char *v174; // [sp+0h] [bp-5FCh]@449 //int v175; // [sp+0h] [bp-5FCh]@550 - int v176; // [sp+0h] [bp-5FCh]@599 +// int v176; // [sp+0h] [bp-5FCh]@599 const char *v177; // [sp+0h] [bp-5FCh]@629 char *v178; // [sp+0h] [bp-5FCh]@637 - int v179; // [sp+4h] [bp-5F8h]@0 +// int v179; // [sp+4h] [bp-5F8h]@0 //signed int _this; // [sp+14h] [bp-5E8h]@22 - signed int thisa; // [sp+14h] [bp-5E8h]@251 +// signed int thisa; // [sp+14h] [bp-5E8h]@251 signed int thisb; // [sp+14h] [bp-5E8h]@272 Player *pPlayer7; // [sp+14h] [bp-5E8h]@373 Player *pPlayer8; // [sp+14h] [bp-5E8h]@377 @@ -1278,7 +1278,7 @@ signed int thisi; // [sp+14h] [bp-5E8h]@535 MapInfo *pMapInfo; // [sp+14h] [bp-5E8h]@604 Player *pPlayer10; // [sp+14h] [bp-5E8h]@641 - int thisl; // [sp+14h] [bp-5E8h]@648 +// int thisl; // [sp+14h] [bp-5E8h]@648 int uMessageParam; // [sp+18h] [bp-5E4h]@7 int uAction; // [sp+1Ch] [bp-5E0h]@18 NPCData *pNPCData4; // [sp+20h] [bp-5DCh]@23 @@ -1287,16 +1287,16 @@ enum UIMessageType uMessage; // [sp+2Ch] [bp-5D0h]@7 unsigned int v199; // [sp+30h] [bp-5CCh]@7 char *v200; // [sp+34h] [bp-5C8h]@518 - POINT v201; // [sp+38h] [bp-5C4h]@553 +// POINT v201; // [sp+38h] [bp-5C4h]@553 POINT v202; // [sp+40h] [bp-5BCh]@141 POINT a2; // [sp+48h] [bp-5B4h]@127 - POINT v204; // [sp+50h] [bp-5ACh]@777 +// POINT v204; // [sp+50h] [bp-5ACh]@777 POINT v205; // [sp+58h] [bp-5A4h]@171 - POINT v206; // [sp+60h] [bp-59Ch]@553 +// POINT v206; // [sp+60h] [bp-59Ch]@553 POINT v207; // [sp+68h] [bp-594h]@155 - POINT v208; // [sp+70h] [bp-58Ch]@397 - POINT v209; // [sp+78h] [bp-584h]@777 - POINT v210; // [sp+80h] [bp-57Ch]@397 +// POINT v208; // [sp+70h] [bp-58Ch]@397 +// POINT v209; // [sp+78h] [bp-584h]@777 +// POINT v210; // [sp+80h] [bp-57Ch]@397 POINT v211; // [sp+88h] [bp-574h]@704 //__int64 v212; // [sp+90h] [bp-56Ch]@467 int v213; // [sp+98h] [bp-564h]@385 @@ -4248,8 +4248,8 @@ Player *pPlayer; // ebx@2 void *v3; // edi@21 signed int v4; // eax@29 - int v5; // ecx@29 - PLAYER_SKILL_TYPE v6; // edi@37 +// int v5; // ecx@29 +// PLAYER_SKILL_TYPE v6; // edi@37 GUIWindow *pWindow; // eax@56 GUIButton *pButton; // eax@59 int v15; // edi@70 @@ -4257,8 +4257,8 @@ unsigned int v21; // eax@116 unsigned int v25; // eax@120 unsigned int v26; // ecx@127 - SoundID pSoundID; // [sp-2Ch] [bp-3Ch]@36 - signed int v41; // [sp-10h] [bp-20h]@29 +// SoundID pSoundID; // [sp-2Ch] [bp-3Ch]@36 +// signed int v41; // [sp-10h] [bp-20h]@29 int pParam; // [sp+4h] [bp-Ch]@3 UIMessageType pUIMessageType; // [sp+8h] [bp-8h]@3 int pSex; // [sp+Ch] [bp-4h]@3 diff -r 82851980e3d8 -r ddb803517a48 Indoor.cpp --- a/Indoor.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/Indoor.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -144,21 +144,21 @@ void BLVRenderParams::Reset() { int v7; // eax@1 - int v8; // ST08_4@2 - int v9; // ST04_4@2 - int v10; // ST00_4@2 - double v17; // st7@5 - int v18; // eax@5 - double v19; // st7@5 - int v20; // eax@5 - double v21; // st7@5 - int v22; // eax@5 - unsigned int v23; // edx@5 - unsigned int v24; // ecx@5 - int v25; // eax@5 - int v26; // eax@5 - signed int v27; // eax@6 - int v29; // [sp+24h] [bp+8h]@5 +// int v8; // ST08_4@2 +// int v9; // ST04_4@2 +// int v10; // ST00_4@2 +// double v17; // st7@5 +// int v18; // eax@5 +// double v19; // st7@5 +// int v20; // eax@5 +// double v21; // st7@5 +// int v22; // eax@5 +// unsigned int v23; // edx@5 +// unsigned int v24; // ecx@5 +// int v25; // eax@5 +// int v26; // eax@5 +// signed int v27; // eax@6 +// int v29; // [sp+24h] [bp+8h]@5 this->field_0_timer_ = pEventTimer->uTotalGameTimeElapsed; @@ -343,8 +343,8 @@ { //int v0; // eax@1 //IndoorLocation_drawstru _this; // [sp+0h] [bp-4Ch]@5 - int v2; // [sp+44h] [bp-8h]@5 - int v3; // [sp+48h] [bp-4h]@5 +// int v2; // [sp+44h] [bp-8h]@5 +// int v3; // [sp+48h] [bp-4h]@5 /*_this.uFlags = 0; if (viewparams->draw_sw_outlines) @@ -423,10 +423,10 @@ void IndoorLocation::ExecDraw_d3d(unsigned int uFaceID, IndoorCameraD3D_Vec4 *pVertices, unsigned int uNumVertices, RenderVertexSoft *pPortalBounding) { //unsigned int v4; // esi@1 - char *v5; // eax@4 - signed int v6; // ecx@4 - char *v7; // eax@8 - signed int v8; // ecx@8 +// char *v5; // eax@4 +// signed int v6; // ecx@4 +// char *v7; // eax@8 +// signed int v8; // ecx@8 //BLVFace *v9; // esi@13 //IndoorCameraD3D *v10; // edi@16 //int v11; // ebx@17 @@ -441,7 +441,7 @@ //double v20; // st5@27 //char v21; // dl@27 //unsigned int v22; // eax@44 - unsigned int v23; // eax@35 +// unsigned int v23; // eax@35 //DWORD v24; // eax@37 //int v25; // eax@38 //char *v26; // edi@38 @@ -588,21 +588,21 @@ //BLVFace *v5; // eax@1 //int v6; // ecx@2 unsigned __int16 pTransitionSector; // ax@11 - Vec3_short_ *v8; // esi@15 +// Vec3_short_ *v8; // esi@15 int v9; // edx@15 //signed int v10; // eax@18 //signed int v11; // edi@19 //signed int v12; // ecx@19 //signed int v13; // esi@19 - signed int v14; // edx@20 - int v15; // edx@24 +// signed int v14; // edx@20 +// int v15; // edx@24 //int v16; // esi@29 //BLVFace *v17; // edi@34 //unsigned __int16 v18; // ax@34 - char *v19; // eax@38 - signed int v20; // ecx@38 - char *v21; // eax@42 - signed int v22; // ecx@42 +// char *v19; // eax@38 +// signed int v20; // ecx@38 +// char *v21; // eax@42 +// signed int v22; // ecx@42 //signed int v23; // edx@45 //char *v24; // ecx@46 //int v25; // eax@47 @@ -838,8 +838,8 @@ //----- (00444810) -------------------------------------------------------- unsigned int IndoorLocation::GetLocationIndex(const char *Str1) { - const char *v1; // edi@1 - signed int v2; // esi@1 +// const char *v1; // edi@1 +// signed int v2; // esi@1 for (uint i = 0; i < 11; ++i) if (!_stricmp(Str1, _4E6BDC_loc_names[i])) @@ -998,37 +998,37 @@ //const char *v201; // [sp-8h] [bp-670h]@4 //int v202; // [sp-4h] [bp-66Ch]@4 char v203[875]; // [sp+Ch] [bp-65Ch]@130 - char FileName[260]; // [sp+378h] [bp-2F0h]@1 +// char FileName[260]; // [sp+378h] [bp-2F0h]@1 //char DstBuf; // [sp+47Ch] [bp-1ECh]@4 - __int32 Offset; // [sp+480h] [bp-1E8h]@4 - __int32 v207; // [sp+48Ch] [bp-1DCh]@4 - __int32 v208; // [sp+498h] [bp-1D0h]@4 - __int32 v209; // [sp+4A4h] [bp-1C4h]@4 - __int32 v210; // [sp+4B0h] [bp-1B8h]@4 - __int32 v211; // [sp+4BCh] [bp-1ACh]@15 - __int32 v212; // [sp+4C8h] [bp-1A0h]@15 - __int32 v213; // [sp+4D4h] [bp-194h]@25 - __int32 v214; // [sp+4E0h] [bp-188h]@25 - __int32 v215; // [sp+4ECh] [bp-17Ch]@32 - __int32 v216; // [sp+4F8h] [bp-170h]@32 - __int32 v217; // [sp+504h] [bp-164h]@40 - __int32 v218; // [sp+510h] [bp-158h]@40 - __int32 v219; // [sp+51Ch] [bp-14Ch]@43 - __int32 v220; // [sp+528h] [bp-140h]@43 - __int32 v221; // [sp+534h] [bp-134h]@52 - __int32 v222; // [sp+540h] [bp-128h]@52 - __int32 v223; // [sp+54Ch] [bp-11Ch]@52 - __int32 v224; // [sp+558h] [bp-110h]@52 - __int32 v225; // [sp+564h] [bp-104h]@52 - __int32 v226; // [sp+570h] [bp-F8h]@52 - __int32 v227; // [sp+57Ch] [bp-ECh]@52 - __int32 v228; // [sp+588h] [bp-E0h]@52 - __int32 v229; // [sp+594h] [bp-D4h]@52 - __int32 v230; // [sp+5A0h] [bp-C8h]@52 - __int32 v231; // [sp+5ACh] [bp-BCh]@52 - __int32 v232; // [sp+5B8h] [bp-B0h]@52 - __int32 v233; // [sp+5C4h] [bp-A4h]@52 - __int32 v234; // [sp+5D0h] [bp-98h]@52 +// __int32 Offset; // [sp+480h] [bp-1E8h]@4 +// __int32 v207; // [sp+48Ch] [bp-1DCh]@4 +// __int32 v208; // [sp+498h] [bp-1D0h]@4 +// __int32 v209; // [sp+4A4h] [bp-1C4h]@4 +// __int32 v210; // [sp+4B0h] [bp-1B8h]@4 +// __int32 v211; // [sp+4BCh] [bp-1ACh]@15 +// __int32 v212; // [sp+4C8h] [bp-1A0h]@15 +// __int32 v213; // [sp+4D4h] [bp-194h]@25 +// __int32 v214; // [sp+4E0h] [bp-188h]@25 +// __int32 v215; // [sp+4ECh] [bp-17Ch]@32 +// __int32 v216; // [sp+4F8h] [bp-170h]@32 +// __int32 v217; // [sp+504h] [bp-164h]@40 +// __int32 v218; // [sp+510h] [bp-158h]@40 +// __int32 v219; // [sp+51Ch] [bp-14Ch]@43 +// __int32 v220; // [sp+528h] [bp-140h]@43 +// __int32 v221; // [sp+534h] [bp-134h]@52 +// __int32 v222; // [sp+540h] [bp-128h]@52 +// __int32 v223; // [sp+54Ch] [bp-11Ch]@52 +// __int32 v224; // [sp+558h] [bp-110h]@52 +// __int32 v225; // [sp+564h] [bp-104h]@52 +// __int32 v226; // [sp+570h] [bp-F8h]@52 +// __int32 v227; // [sp+57Ch] [bp-ECh]@52 +// __int32 v228; // [sp+588h] [bp-E0h]@52 +// __int32 v229; // [sp+594h] [bp-D4h]@52 +// __int32 v230; // [sp+5A0h] [bp-C8h]@52 +// __int32 v231; // [sp+5ACh] [bp-BCh]@52 +// __int32 v232; // [sp+5B8h] [bp-B0h]@52 +// __int32 v233; // [sp+5C4h] [bp-A4h]@52 +// __int32 v234; // [sp+5D0h] [bp-98h]@52 //char pName[40]; // [sp+5FCh] [bp-6Ch]@42 //size_t pSource; // [sp+624h] [bp-44h]@67 //char Dst[12]; // [sp+628h] [bp-40h]@9 @@ -1041,16 +1041,16 @@ //BLVSector *v244; // [sp+65Ch] [bp-Ch]@72 //int v245; // [sp+660h] [bp-8h]@72 //BLVFace *Src; // [sp+664h] [bp-4h]@73 - signed int Argsa; // [sp+670h] [bp+8h]@4 - signed int Argsb; // [sp+670h] [bp+8h]@7 - signed int Argsc; // [sp+670h] [bp+8h]@15 - signed int Argsd; // [sp+670h] [bp+8h]@18 - int Argse; // [sp+670h] [bp+8h]@25 - int Argsf; // [sp+670h] [bp+8h]@28 - int Argsg; // [sp+670h] [bp+8h]@32 - int Argsh; // [sp+670h] [bp+8h]@35 - signed int Argsi; // [sp+670h] [bp+8h]@40 - signed int Argsj; // [sp+670h] [bp+8h]@45 +// signed int Argsa; // [sp+670h] [bp+8h]@4 +// signed int Argsb; // [sp+670h] [bp+8h]@7 +// signed int Argsc; // [sp+670h] [bp+8h]@15 +// signed int Argsd; // [sp+670h] [bp+8h]@18 +// int Argse; // [sp+670h] [bp+8h]@25 +// int Argsf; // [sp+670h] [bp+8h]@28 +// int Argsg; // [sp+670h] [bp+8h]@32 +// int Argsh; // [sp+670h] [bp+8h]@35 +// signed int Argsi; // [sp+670h] [bp+8h]@40 +// signed int Argsj; // [sp+670h] [bp+8h]@45 //int Argsk; // [sp+670h] [bp+8h]@143 //void *Argsl; // [sp+670h] [bp+8h]@155 //signed int Argsm; // [sp+670h] [bp+8h]@161 @@ -2195,15 +2195,15 @@ //Vec3_short_ *v30; // edx@26 //int v31; // edx@26 //signed int v32; // edi@27 - signed __int64 v33; // qtt@27 +// signed __int64 v33; // qtt@27 //Vec3_short_ *v34; // edx@27 //int v35; // edx@32 int v37; // edi@38 int pSectorID; // ebx@40 int v39; // eax@41 - BLVFace *pFace; // esi@42 - PolygonType pPolygonType; // dl@42 - int v42; // edx@43 +// BLVFace *pFace; // esi@42 +// PolygonType pPolygonType; // dl@42 +// int v42; // edx@43 int v43[50]; // [sp+Ch] [bp-108h]@1 //int v44; // [sp+D4h] [bp-40h]@9 //int v45; // [sp+D8h] [bp-3Ch]@14 @@ -2217,8 +2217,8 @@ int v53; // [sp+F8h] [bp-1Ch]@10 int v54; // [sp+FCh] [bp-18h]@16 int v55; // [sp+100h] [bp-14h]@1 - int v56; // [sp+104h] [bp-10h]@1 - int v57; // [sp+108h] [bp-Ch]@16 +// int v56; // [sp+104h] [bp-10h]@1 +// int v57; // [sp+108h] [bp-Ch]@16 //Vec3_short_ *v58; // [sp+10Ch] [bp-8h]@20 int v59; // [sp+110h] [bp-4h]@16 @@ -2474,9 +2474,9 @@ int v25; // eax@25 signed __int64 v27; // qtt@27 BLVFaceExtra *v28; // esi@32 - int v29; // ecx@34 - int v30; // edx@34 - unsigned __int64 v31; // qax@34 +// int v29; // ecx@34 +// int v30; // edx@34 +// unsigned __int64 v31; // qax@34 int v32; // eax@34 Vec3_short_ *v34; // eax@35 int v35; // ecx@35 @@ -2486,11 +2486,11 @@ int v39; // eax@35 int v40; // edx@35 Vec3_short_ *v43; // edi@36 - unsigned int v49; // ecx@46 - unsigned __int16 v50; // ax@48 - unsigned int v51; // eax@51 - unsigned __int16 v52; // ax@54 - int v56; // ecx@58 +// unsigned int v49; // ecx@46 +// unsigned __int16 v50; // ax@48 +// unsigned int v51; // eax@51 +// unsigned __int16 v52; // ax@54 +// int v56; // ecx@58 int v57; // eax@58 Vec3_int_ v67; Vec3_int_ v70; @@ -2501,7 +2501,7 @@ int v82; // [sp+44h] [bp-20h]@35 int v83; // [sp+48h] [bp-1Ch]@34 int v84; // [sp+4Ch] [bp-18h]@34 - int v85; // [sp+50h] [bp-14h]@19 +// int v85; // [sp+50h] [bp-14h]@19 SoundID eDoorSoundID; // [sp+54h] [bp-10h]@1 int v88; // [sp+5Ch] [bp-8h]@18 int v89; // [sp+60h] [bp-4h]@6 @@ -2677,21 +2677,21 @@ int v4; // eax@8 __int16 v5; // ax@11 signed int v6; // ebx@14 - signed __int16 v9; // ax@17 +// signed __int16 v9; // ax@17 signed __int64 v10; // qax@18 - int v12; // eax@29 - unsigned __int64 v13; // qax@29 - int v14; // eax@30 - unsigned __int64 v15; // qax@30 - BLVFace *v17; // edx@33 - int v18; // ecx@33 - BLVFace *v19; // eax@34 - int v20; // ecx@46 +// int v12; // eax@29 +// unsigned __int64 v13; // qax@29 +// int v14; // eax@30 +// unsigned __int64 v15; // qax@30 +// BLVFace *v17; // edx@33 +// int v18; // ecx@33 +// BLVFace *v19; // eax@34 +// int v20; // ecx@46 int v22; // edi@46 - int v23; // eax@48 +// int v23; // eax@48 unsigned int v24; // eax@51 - int v25; // eax@52 - int v26; // ebx@54 +// int v25; // eax@52 +// int v26; // ebx@54 int v27; // ST08_4@54 int v28; // edi@54 int v29; // eax@54 @@ -2699,21 +2699,21 @@ int v31; // ebx@62 int v32; // eax@62 int v33; // eax@64 - unsigned int v34; // ecx@64 - int v35; // ecx@64 +// unsigned int v34; // ecx@64 +// int v35; // ecx@64 signed int v37; // ebx@85 - int v39; // ecx@90 - int v40; // ebx@90 - PolygonType v41; // al@94 - int v42; // eax@96 - __int16 v43; // dx@96 +// int v39; // ecx@90 +// int v40; // ebx@90 +// PolygonType v41; // al@94 +// int v42; // eax@96 +// __int16 v43; // dx@96 int v44; // ecx@96 int v45; // edi@101 - unsigned __int8 v49; // zf@103 - unsigned __int8 v50; // sf@103 +// unsigned __int8 v49; // zf@103 +// unsigned __int8 v50; // sf@103 AIDirection v52; // [sp+0h] [bp-60h]@75 AIDirection v53; // [sp+1Ch] [bp-44h]@116 - int v54; // [sp+38h] [bp-28h]@53 +// int v54; // [sp+38h] [bp-28h]@53 unsigned int uSectorID; // [sp+3Ch] [bp-24h]@6 int v56; // [sp+40h] [bp-20h]@6 unsigned int _this; // [sp+44h] [bp-1Ch]@51 @@ -3072,11 +3072,11 @@ unsigned int map_id; // eax@8 MapInfo *map_info; // edi@9 int v4; // eax@11 - char *v14; // esi@49 +// char *v14; // esi@49 DecorationDesc *decoration; // eax@54 - char v22; // cl@64 +// char v22; // cl@64 char v28; // zf@81 - __int16 v29; // ax@85 +// __int16 v29; // ax@85 signed int v30; // edi@94 int v34[4]; // [sp+3E8h] [bp-2Ch]@96 int v35; // [sp+3F8h] [bp-1Ch]@1 @@ -3331,10 +3331,10 @@ //int v22; // ecx@29 signed int v28; // eax@45 int v29; // ebx@47 - int v30; // edx@49 +// int v30; // edx@49 //int v31; // ST10_4@49 //signed int v32; // edx@49 - signed __int64 v33; // qtt@49 +// signed __int64 v33; // qtt@49 //signed int v34; // eax@54 //signed int v35; // esi@56 //int result; // eax@57 @@ -3547,48 +3547,48 @@ { //Actor *v0; // esi@2 int v1; // eax@4 - int v2; // ebx@4 - unsigned int v3; // ecx@4 - int v4; // edx@5 - int v5; // edx@7 - unsigned int v6; // edx@9 +// int v2; // ebx@4 +// unsigned int v3; // ecx@4 +// int v4; // edx@5 +// int v5; // edx@7 +// unsigned int v6; // edx@9 unsigned int v7; // ST24_4@10 - int v8; // eax@10 +// int v8; // eax@10 int v9; // edi@10 - int v10; // ebx@14 - char v11; // zf@16 +// int v10; // ebx@14 +// char v11; // zf@16 int v12; // eax@22 int v13; // edx@24 - int v14; // ecx@25 +// int v14; // ecx@25 int v15; // ebx@26 - unsigned int *v16; // ecx@27 +// unsigned int *v16; // ecx@27 unsigned int v17; // esi@27 int v18; // ecx@31 signed int v19; // edi@31 - Actor *v20; // esi@32 - bool v21; // eax@33 - int v22; // eax@34 - signed int v23; // ebx@36 - Actor *v24; // esi@37 +// Actor *v20; // esi@32 +// bool v21; // eax@33 +// int v22; // eax@34 +// signed int v23; // ebx@36 +// Actor *v24; // esi@37 signed int v25; // eax@40 - int v26; // eax@43 +// int v26; // eax@43 int v27; // ebx@45 int j; // edi@45 - unsigned int v29; // eax@46 +// unsigned int v29; // eax@46 int v30; // eax@48 - int v31; // ecx@51 - int v32; // eax@51 - signed int v33; // eax@53 - __int64 v34; // qax@55 - char *v35; // ecx@56 +// int v31; // ecx@51 +// int v32; // eax@51 +// signed int v33; // eax@53 +// __int64 v34; // qax@55 +// char *v35; // ecx@56 int v37; // [sp+Ch] [bp-18h]@1 int v38; // [sp+10h] [bp-14h]@4 int v39; // [sp+14h] [bp-10h]@4 //int v40; // [sp+18h] [bp-Ch]@10 - int v41; // [sp+18h] [bp-Ch]@29 +// int v41; // [sp+18h] [bp-Ch]@29 int i; // [sp+18h] [bp-Ch]@31 //signed int v43; // [sp+1Ch] [bp-8h]@1 - signed int v44; // [sp+1Ch] [bp-8h]@25 +// signed int v44; // [sp+1Ch] [bp-8h]@25 int v45; // [sp+20h] [bp-4h]@1 // __debugbreak(); // refactor for blv ai @@ -3725,26 +3725,26 @@ //----- (0043FDED) -------------------------------------------------------- void PrepareActorRenderList_BLV() { - unsigned __int16 v3; // ax@3 +// unsigned __int16 v3; // ax@3 unsigned int v4; // eax@5 int v6; // esi@5 - unsigned int v7; // eax@7 +// unsigned int v7; // eax@7 int v8; // eax@10 SpriteFrame *v9; // eax@16 int v12; // ecx@28 signed __int64 v18; // qtt@36 - int v19; // ST5C_4@36 - signed __int64 v20; // qtt@37 - int v21; // ST5C_4@37 - signed __int16 v22; // cx@39 - int v23; // ST50_4@40 - signed int v24; // ecx@40 +// int v19; // ST5C_4@36 +// signed __int64 v20; // qtt@37 +// int v21; // ST5C_4@37 +// signed __int16 v22; // cx@39 +// int v23; // ST50_4@40 +// signed int v24; // ecx@40 int v25; // edx@44 __int16 v26; // ax@44 - unsigned __int8 v30; // sf@44 - int a3; // [sp+20h] [bp-34h]@5 +// unsigned __int8 v30; // sf@44 +// int a3; // [sp+20h] [bp-34h]@5 int a5a; // [sp+2Ch] [bp-28h]@36 - int a5b; // [sp+2Ch] [bp-28h]@40 +// int a5b; // [sp+2Ch] [bp-28h]@40 __int16 v41; // [sp+3Ch] [bp-18h]@18 int a6; // [sp+40h] [bp-14h]@34 int v43; // [sp+44h] [bp-10h]@34 @@ -3870,12 +3870,12 @@ unsigned int v6; // eax@12 int v7; // ecx@12 int v9; // ecx@12 - unsigned __int16 v10; // ax@12 +// unsigned __int16 v10; // ax@12 //int *v11; // eax@20 __int64 v18; // ST5C_4@27 - signed __int64 v19; // qtt@28 - int v20; // ST5C_4@28 - __int16 v22; // ax@29 +// signed __int64 v19; // qtt@28 +// int v20; // ST5C_4@28 +// __int16 v22; // ax@29 int a6; // [sp+2Ch] [bp-30h]@12 int v31; // [sp+38h] [bp-24h]@27 signed __int16 v34; // [sp+44h] [bp-18h]@14 @@ -4070,9 +4070,9 @@ int v9; // edi@5 int v10; // eax@7 SpriteFrame *v11; // eax@7 - char v16; // zf@18 +// char v16; // zf@18 signed __int64 v20; // qtt@19 - signed __int64 v21; // qtt@20 +// signed __int64 v21; // qtt@20 Particle_sw particle; // [sp+Ch] [bp-A0h]@3 int v30; // [sp+8Ch] [bp-20h]@7 int a5; // [sp+94h] [bp-18h]@17 @@ -4329,14 +4329,14 @@ int v12; // eax@4 int v13; // ebx@4 int v14; // edx@6 - char *v15; // edi@16 - ODMFace *v16; // esi@19 +// char *v15; // edi@16 +// ODMFace *v16; // esi@19 int v17; // ST34_4@25 int v18; // ST38_4@25 int v19; // eax@25 char v20; // zf@25 int v21; // ebx@25 - int v22; // eax@26 +// int v22; // eax@26 signed int v23; // edi@26 int v24; // ST34_4@30 //signed __int64 v25; // qtt@31 @@ -4355,7 +4355,7 @@ //char *v38; // edi@51 ODMFace *odm_face; // esi@54 int v40; // ebx@60 - int v41; // eax@61 +// int v41; // eax@61 signed int v42; // edi@61 //signed __int64 v43; // qtt@66 //int v44; // eax@66 @@ -4375,13 +4375,13 @@ int v58; // esi@81 int v59; // eax@90 //BLVSector *v60; // edx@90 - int v61; // ecx@90 +// int v61; // ecx@90 BLVFace *face; // esi@91 int v63; // ST34_4@98 int v64; // ST30_4@98 int v65; // eax@98 int v66; // ebx@98 - int v67; // eax@99 +// int v67; // eax@99 signed int v68; // edi@99 int v69; // ST2C_4@103 //signed __int64 v70; // qtt@104 @@ -4402,11 +4402,11 @@ int v85; // eax@119 int v86; // esi@119 int v87; // ecx@128 - BLVSector *v88; // eax@128 - int v89; // ecx@128 +// BLVSector *v88; // eax@128 +// int v89; // ecx@128 //BLVFace *v90; // esi@129 int v91; // ebx@136 - int v92; // eax@137 +// int v92; // eax@137 signed int v93; // edi@137 //signed __int64 v94; // qtt@142 //int v95; // eax@142 @@ -4419,13 +4419,13 @@ int v103; // [sp-4h] [bp-80h]@126 //int v104; // [sp+Ch] [bp-70h]@13 //int v105; // [sp+Ch] [bp-70h]@48 - int v106; // [sp+10h] [bp-6Ch]@18 +// int v106; // [sp+10h] [bp-6Ch]@18 int v107; // [sp+10h] [bp-6Ch]@98 int v108; // [sp+10h] [bp-6Ch]@104 int v109; // [sp+18h] [bp-64h]@25 int v110; // [sp+18h] [bp-64h]@31 - int i; // [sp+18h] [bp-64h]@90 - int v112; // [sp+18h] [bp-64h]@128 +// int i; // [sp+18h] [bp-64h]@90 +// int v112; // [sp+18h] [bp-64h]@128 signed int v113; // [sp+20h] [bp-5Ch]@1 signed int v114; // [sp+24h] [bp-58h]@1 //unsigned __int64 a4; // [sp+28h] [bp-54h]@1 @@ -4466,10 +4466,10 @@ int v150; // [sp+54h] [bp-28h]@39 int v151; // [sp+54h] [bp-28h]@75 int v152; // [sp+54h] [bp-28h]@113 - int sDepth; // [sp+58h] [bp-24h]@17 - int sDeptha; // [sp+58h] [bp-24h]@52 +// int sDepth; // [sp+58h] [bp-24h]@17 +// int sDeptha; // [sp+58h] [bp-24h]@52 int sDepthb; // [sp+58h] [bp-24h]@90 - char *a5; // [sp+5Ch] [bp-20h]@16 +// char *a5; // [sp+5Ch] [bp-20h]@16 //char *a5a; // [sp+5Ch] [bp-20h]@51 signed int a5b; // [sp+5Ch] [bp-20h]@83 signed int a5c; // [sp+5Ch] [bp-20h]@121 @@ -4493,7 +4493,7 @@ int v_4a; // [sp+8Ch] [bp+10h]@65 int v_4b; // [sp+8Ch] [bp+10h]@136 int v_4c; // [sp+8Ch] [bp+10h]@141 - int v_8; // [sp+90h] [bp+14h]@53 +// int v_8; // [sp+90h] [bp+14h]@53 //__debugbreak();срабатывает при стрельбе огненным шаром @@ -4987,7 +4987,7 @@ //----- (0043F333) -------------------------------------------------------- void BspRenderer::MakeVisibleSectorList() { - int v6; // ebx@3 +// int v6; // ebx@3 uNumVisibleNotEmptySectors = 0; for (uint i = 0; i < num_nodes; ++i) @@ -5141,12 +5141,12 @@ int v22; // edi@46 int v24; // edx@48 int v26; // eax@55 - signed int v27; // edi@55 +// signed int v27; // edi@55 int v29; // edx@57 int v31; // eax@64 - signed int v32; // edi@64 - int v34; // eax@66 - int v35; // dx@66 +// signed int v32; // edi@64 +// int v34; // eax@66 +// int v35; // dx@66 __int16 v36; // dx@67 //__int16 v37; // di@67 __int16 v38; // dx@67 @@ -5410,15 +5410,15 @@ signed int right_num_vertices; // ebx@41 signed int top_num_vertices; // edi@51 int bottom_num_vertices; // ebx@61 - signed int v62; // edx@75 - int v63; // ecx@76 - int v64; // esi@76 - int v65; // ecx@83 - signed int v71; // [sp+14h] [bp-14h]@75 +// signed int v62; // edx@75 +// int v63; // ecx@76 +// int v64; // esi@76 +// int v65; // ecx@83 +// signed int v71; // [sp+14h] [bp-14h]@75 bool current_vertices_flag; // [sp+18h] [bp-10h]@9 - int thisf; // [sp+18h] [bp-10h]@74 +// int thisf; // [sp+18h] [bp-10h]@74 signed int depth_num_vertices; // [sp+1Ch] [bp-Ch]@9 - int v80; // [sp+1Ch] [bp-Ch]@76 +// int v80; // [sp+1Ch] [bp-Ch]@76 bool next_vertices_flag; // [sp+20h] [bp-8h]@10 //Доп инфо "Программирование трёхмерных игр для windows" Ламот стр 910 @@ -5871,20 +5871,20 @@ int v1; // ebx@1 int v2; // edi@1 double v10; // st7@27 - unsigned int v12; // eax@49 - double v13; // st7@50 - int v17; // eax@62 - double v18; // st7@62 - int v19; // ST40_4@62 - int v20; // eax@65 - double v21; // st7@65 - int v22; // ST40_4@65 - int v23; // eax@66 - double v24; // st7@66 - int v25; // ST40_4@66 - int v26; // eax@67 - double v27; // st7@67 - int v28; // ST40_4@67 +// unsigned int v12; // eax@49 +// double v13; // st7@50 +// int v17; // eax@62 +// double v18; // st7@62 +// int v19; // ST40_4@62 +// int v20; // eax@65 +// double v21; // st7@65 +// int v22; // ST40_4@65 +// int v23; // eax@66 +// double v24; // st7@66 +// int v25; // ST40_4@66 +// int v26; // eax@67 +// double v27; // st7@67 +// int v28; // ST40_4@67 int new_party_z; // esi@96 int v38; // eax@96 int v39; // ecx@106 @@ -5894,8 +5894,8 @@ int v46; // ecx@133 int v52; // eax@140 int v54; // ebx@146 - int v63; // [sp-8h] [bp-68h]@75 - int v65; // [sp-4h] [bp-64h]@75 +// int v63; // [sp-8h] [bp-68h]@75 +// int v65; // [sp-4h] [bp-64h]@75 unsigned int uFaceEvent; // [sp+14h] [bp-4Ch]@1 bool party_running_flag; // [sp+1Ch] [bp-44h]@1 bool bFeatherFall; // [sp+24h] [bp-3Ch]@15 diff -r 82851980e3d8 -r ddb803517a48 IndoorCameraD3D.cpp --- a/IndoorCameraD3D.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/IndoorCameraD3D.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -106,7 +106,7 @@ int v14; // [sp+8h] [bp-4h]@3 int to_x; // [sp+14h] [bp+8h]@1 int to_y; // [sp+18h] [bp+Ch]@1 - int a2b; // [sp+18h] [bp+Ch]@5 +// int a2b; // [sp+18h] [bp+Ch]@5 int a3a; // [sp+1Ch] [bp+10h]@5 to_x = x - pGame->pIndoorCameraD3D->vPartyPos.x; @@ -712,7 +712,7 @@ void IndoorCameraD3D::CreateWorldMatrixAndSomeStuff() { //IndoorCameraD3D *v1; // esi@1 - double v2; // st7@1 +// double v2; // st7@1 //signed int v3; // edi@1 //int v4; // eax@1 //double v5; // st7@2 @@ -722,7 +722,7 @@ Matrix3x3_float_ m3; // [sp+58h] [bp-70h]@1 Matrix3x3_float_ m4; // [sp+7Ch] [bp-4Ch]@1 Matrix3x3_float_ m5; // [sp+A0h] [bp-28h]@1 - float v12; // [sp+C4h] [bp-4h]@1 +// float v12; // [sp+C4h] [bp-4h]@1 //RotationZ(0) m5._11 = cosf(0); m5._12 = sinf(0); m5._13 = 0; @@ -848,7 +848,7 @@ signed int v14; // ebx@17 //RenderVertexSoft *v15; // eax@18 unsigned int *v16; // eax@20 - char result; // al@24 +// char result; // al@24 RenderVertexSoft v18; // [sp+Ch] [bp-34h]@2 int v19; // [sp+3Ch] [bp-4h]@8 signed int thisb; // [sp+48h] [bp+8h]@6 @@ -918,8 +918,8 @@ //----- (00437285) -------------------------------------------------------- bool IndoorCameraD3D::CalcPortalShape(RenderVertexSoft *a1, unsigned int *pOutNumVertices, RenderVertexSoft *pVertices, IndoorCameraD3D_Vec4 *a4, signed int uNumVertices, char a6, int _unused) { - char *v8; // eax@2 - signed int v9; // ecx@2 +// char *v8; // eax@2 +// signed int v9; // ecx@2 //bool result; // eax@5 int v11; // ecx@5 //signed int v12; // ecx@6 @@ -985,8 +985,8 @@ //----- (004371C3) -------------------------------------------------------- bool IndoorCameraD3D::_4371C3(RenderVertexSoft *pVertices, unsigned int *pOutNumVertices, int _unused) { - char *v4; // eax@2 - signed int v5; // ecx@2 +// char *v4; // eax@2 +// signed int v5; // ecx@2 RenderVertexSoft *v6; // esi@5 unsigned int *v7; // edi@5 char *v8; // ecx@6 @@ -1333,8 +1333,8 @@ double v6; // ST00_8@2 //double v7; // ST08_8@2 //double v8; // ST00_8@2 - signed __int64 v9; // qtt@3 - int v10; // ST04_4@3 +// signed __int64 v9; // qtt@3 +// int v10; // ST04_4@3 float a2a; // [sp+18h] [bp+8h]@2 float a2b; // [sp+18h] [bp+8h]@2 diff -r 82851980e3d8 -r ddb803517a48 Items.cpp --- a/Items.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/Items.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -989,7 +989,7 @@ unsigned int v27; // eax@89 int v32; // ecx@91 int v33; // eax@91 - unsigned int v34; // eax@97 +// unsigned int v34; // eax@97 int v45; // eax@120 int v46; // edx@120 int j; // eax@121 diff -r 82851980e3d8 -r ddb803517a48 Keyboard.cpp --- a/Keyboard.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/Keyboard.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -492,8 +492,8 @@ //char v8; // bl@100 unsigned __int16 v9; // ax@102 int spell_price; // eax@103 - char v14; // al@159 - unsigned int v15; // eax@168 +// char v14; // al@159 +// unsigned int v15; // eax@168 PartyAction partyAction; // [sp-14h] [bp-1Ch]@20 InputAction inputAction; // [sp+0h] [bp-8h]@7 //int v24; // [sp+4h] [bp-4h]@87 diff -r 82851980e3d8 -r ddb803517a48 LOD.cpp --- a/LOD.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/LOD.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -231,7 +231,7 @@ FILE *sprite_file; // eax@12 LODSprite temp_sprite_hdr; // [sp+Ch] [bp-3Ch]@12 - int i, sprite_indx; + int i;//, sprite_indx; //find if already loaded //if ( pRenderer->pRenderD3D ) @@ -1345,8 +1345,8 @@ LOD::File() { LODFile_IconsBitmaps *v1; // esi@1 - Texture *v2; // ebx@1 - signed int v3; // [sp+4h] [bp-10h]@1 +// Texture *v2; // ebx@1 +// signed int v3; // [sp+4h] [bp-10h]@1 v1 = this; /*v2 = v1->pTextures; @@ -2370,7 +2370,7 @@ void LODFile_IconsBitmaps::ReleaseHardwareTextures() { //LODFile_IconsBitmaps *v1; // esi@1 - unsigned int v2; // edi@1 +// unsigned int v2; // edi@1 //struct IDirect3DTexture2 **v3; // eax@2 //struct IDirect3DTexture2 *v4; // eax@3 //struct IDirectDrawSurface **v5; // eax@5 @@ -2536,23 +2536,23 @@ enum TEXTURE_TYPE v12; // eax@14 signed int v13; // esi@14 unsigned int v14; // eax@21 - unsigned int v15; // ecx@25 - unsigned int *v16; // ebx@25 - void *v17; // eax@27 - unsigned int v18; // ST28_4@27 +// unsigned int v15; // ecx@25 +// unsigned int *v16; // ebx@25 +// void *v17; // eax@27 +// unsigned int v18; // ST28_4@27 void *v19; // ST3C_4@27 //Allocator *v20; // ebx@29 void *v21; // eax@29 size_t v22; // ST2C_4@29 const void *v23; // ecx@29 - unsigned __int16 v24; // ax@29 - unsigned __int16 v25; // cx@29 - __int16 v26; // dx@29 - unsigned int v27; // ecx@29 - Texture *v28; // eax@29 - unsigned int v29; // ST28_4@30 +// unsigned __int16 v24; // ax@29 +// unsigned __int16 v25; // cx@29 +// __int16 v26; // dx@29 +// unsigned int v27; // ecx@29 +// Texture *v28; // eax@29 +// unsigned int v29; // ST28_4@30 void *v30; // eax@30 - unsigned int v31; // ST2C_4@30 +// unsigned int v31; // ST2C_4@30 void *v32; // eax@32 void *v33; // eax@34 signed int v34; // eax@37 diff -r 82851980e3d8 -r ddb803517a48 LightmapBuilder.cpp --- a/LightmapBuilder.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/LightmapBuilder.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -114,18 +114,18 @@ Lightmap *v11; // edi@3 double v17; // st7@5 double v24; // st7@6 - int v31; // eax@8 - int v32; // ebx@8 - unsigned int v33; // ecx@8 - int v34; // edx@9 - int v35; // edx@11 - unsigned int v36; // edx@13 - int v37; // ecx@14 +// int v31; // eax@8 +// int v32; // ebx@8 +// unsigned int v33; // ecx@8 +// int v34; // edx@9 +// int v35; // edx@11 +// unsigned int v36; // edx@13 +// int v37; // ecx@14 double v38; // st7@14 double v39; // st7@16 double v40; // st7@16 int v45; // eax@24 - int v53; // [sp-8h] [bp-54h]@34 +// int v53; // [sp-8h] [bp-54h]@34 if (fabsf(radius) < 1e-6f) return true; @@ -323,7 +323,7 @@ int v8; // edx@3 RenderVertexSoft *v9; // esi@3 int v10; // eax@6 - char *v11; // edi@7 +// char *v11; // edi@7 RenderVertexSoft *v12; // ecx@8 char v13; // bl@17 signed int v14; // edx@17 @@ -757,11 +757,11 @@ { float v7; // esi@1 int v8; // eax@1 - int v9; // ebx@1 - unsigned int v10; // ecx@1 - int v11; // edx@2 - int v12; // edx@4 - unsigned int v13; // edx@6 +// int v9; // ebx@1 +// unsigned int v10; // ecx@1 +// int v11; // edx@2 +// int v12; // edx@4 +// unsigned int v13; // edx@6 double v14; // st7@7 double result; // st7@8 double v16; // st7@9 @@ -772,7 +772,7 @@ std::string v21; // [sp-10h] [bp-40h]@13 const char *v22[6]; // [sp+0h] [bp-30h]@10 double v23; // [sp+18h] [bp-18h]@1 - double v24; // [sp+20h] [bp-10h]@1 +// double v24; // [sp+20h] [bp-10h]@1 int v25; // [sp+28h] [bp-8h]@1 int v26; // [sp+2Ch] [bp-4h]@1 @@ -974,7 +974,7 @@ return true;*/ // bool __stdcall sub_45D036(struct Vec3 *pNormal, int a2, struct RenderVertex *a3, int a4, signed int X) //{ - float v6; // ebx@2 +// float v6; // ebx@2 unsigned int v10; // [sp+Ch] [bp-4h]@1 int i; @@ -1005,48 +1005,48 @@ { StationaryLight *v8; // edi@1 bool result; // eax@1 - unsigned int v10; // esi@2 +// unsigned int v10; // esi@2 RenderVertexSoft *v11; // ebx@2 float v12; // eax@3 float v13; // eax@4 - double v14; // st7@11 +// double v14; // st7@11 double maxz; // st7@11 double v16; // st7@11 double v17; // st6@11 - __int16 v18; // fps@11 - char v19; // c0@11 +// __int16 v18; // fps@11 +// char v19; // c0@11 char v20; // c2@11 - char v21; // c3@11 - double v22; // st6@12 - __int16 v23; // fps@12 - char v24; // c0@12 - char v25; // c2@12 - char v26; // c3@12 - double v27; // st7@13 - double v28; // st6@13 - __int16 v29; // fps@13 - char v30; // c0@13 - char v31; // c2@13 - char v32; // c3@13 - double v33; // st6@14 - __int16 v34; // fps@14 - char v35; // c0@14 - char v36; // c2@14 - char v37; // c3@14 - double v38; // st7@15 - double v39; // st6@15 - __int16 v40; // fps@15 - char v41; // c0@15 - char v42; // c2@15 - char v43; // c3@15 - double v44; // st6@16 - __int16 v45; // fps@16 - char v46; // c0@16 - char v47; // c2@16 - char v48; // c3@16 +// char v21; // c3@11 +// double v22; // st6@12 +// __int16 v23; // fps@12 +// char v24; // c0@12 +// char v25; // c2@12 +// char v26; // c3@12 +// double v27; // st7@13 +// double v28; // st6@13 +// __int16 v29; // fps@13 +// char v30; // c0@13 +// char v31; // c2@13 +// char v32; // c3@13 +// double v33; // st6@14 +// __int16 v34; // fps@14 +// char v35; // c0@14 +// char v36; // c2@14 +// char v37; // c3@14 +// double v38; // st7@15 +// double v39; // st6@15 +// __int16 v40; // fps@15 +// char v41; // c0@15 +// char v42; // c2@15 +// char v43; // c3@15 +// double v44; // st6@16 +// __int16 v45; // fps@16 +// char v46; // c0@16 +// char v47; // c2@16 +// char v48; // c3@16 Vec3_float_ *v49; // esi@17 - double v50; // st7@17 - double v51; // st6@17 +// double v50; // st7@17 +// double v51; // st6@17 signed int v52; // ecx@17 unsigned int *v53; // esi@18 int v54; // eax@18 @@ -1275,15 +1275,15 @@ bool LightmapBuilder::DrawLightmaps(int *indices) { //char v3; // zf@1 - IDirect3DDevice3 *v4; // eax@2 - HRESULT v5; // eax@2 +// IDirect3DDevice3 *v4; // eax@2 +// HRESULT v5; // eax@2 //char *v6; // eax@2 //struct IDirect3DTexture2 *v7; // edi@4 - HRESULT v8; // eax@8 - HRESULT v9; // eax@8 - HRESULT v10; // eax@8 - HRESULT v11; // eax@8 - HRESULT v12; // eax@8 +// HRESULT v8; // eax@8 +// HRESULT v9; // eax@8 +// HRESULT v10; // eax@8 +// HRESULT v11; // eax@8 +// HRESULT v12; // eax@8 //int *v13; // eax@8 //float v14; // ecx@15 //IDirect3DDevice3 *v15; // eax@21 @@ -1296,17 +1296,17 @@ //HRESULT v22; // eax@21 //IDirect3DDevice3 *v23; // eax@23 std::string v25; // [sp+44h] [bp-44h]@12 - signed int v26; // [sp+48h] [bp-40h]@21 - signed int v27; // [sp+4Ch] [bp-3Ch]@21 +// signed int v26; // [sp+48h] [bp-40h]@21 +// signed int v27; // [sp+4Ch] [bp-3Ch]@21 Lightmap *v28; // [sp+50h] [bp-38h]@2 - int v29; // [sp+54h] [bp-34h]@2 +// int v29; // [sp+54h] [bp-34h]@2 //float v30; // [sp+58h] [bp-30h]@2 Vec3_float_ arg4; //int arg4; // [sp+68h] [bp-20h]@8 //float v32; // [sp+6Ch] [bp-1Ch]@8 //float v33; // [sp+70h] [bp-18h]@8 - int v34; // [sp+74h] [bp-14h]@19 - int v35; // [sp+78h] [bp-10h]@2 +// int v34; // [sp+74h] [bp-14h]@19 +// int v35; // [sp+78h] [bp-10h]@2 //int *v36; // [sp+7Ch] [bp-Ch]@10 //int a1; // [sp+80h] [bp-8h]@12 //float v38; // [sp+84h] [bp-4h]@1 @@ -1367,11 +1367,11 @@ { double v10; // st7@4 double v14; // st7@7 - __int16 v15; // fps@8 +// __int16 v15; // fps@8 double v18; // st3@8 signed int v24; // [sp-1Ch] [bp-670h]@13 - const char *v25; // [sp-18h] [bp-66Ch]@13 - int v26; // [sp-14h] [bp-668h]@13 +// const char *v25; // [sp-18h] [bp-66Ch]@13 +// int v26; // [sp-14h] [bp-668h]@13 RenderVertexD3D3 a2[32]; // [sp+0h] [bp-654h]@7 diff -r 82851980e3d8 -r ddb803517a48 MMT.cpp --- a/MMT.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/MMT.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -168,12 +168,12 @@ { GUIButton *pButton; // eax@27 unsigned int pControlParam; // ecx@35 - int v10; // ecx@36 - int v11; // ecx@37 +// int v10; // ecx@36 +// int v11; // ecx@37 unsigned int pX; unsigned int pY; // [sp-18h] [bp-54h]@39 Texture *pTexture; // [sp-14h] [bp-50h]@39 - GUIButton *pButton2; // [sp+0h] [bp-3Ch]@27 +// GUIButton *pButton2; // [sp+0h] [bp-3Ch]@27 char pContainerName[64]; diff -r 82851980e3d8 -r ddb803517a48 MapInfo.cpp --- a/MapInfo.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/MapInfo.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -22,7 +22,7 @@ unsigned int temp_str_len; char* tmp_pos; int decode_step; - int item_counter; +// int item_counter; if ( pMapStatsTXT_Raw ) free(pMapStatsTXT_Raw); @@ -370,7 +370,7 @@ //SpawnPointMM7 *v3; // esi@1 //int v4; // eax@1 int v5; // edx@1 - int v6; // eax@1 +// int v6; // eax@1 int v7; // ecx@1 int v8; // ebx@1 int v9; // eax@1 @@ -381,7 +381,7 @@ int v14; // edx@10 signed int v15; // ebx@20 unsigned __int16 v16; // dx@20 - ObjectDesc *v17; // ecx@21 +// ObjectDesc *v17; // ecx@21 unsigned __int16 v18; // ax@24 int v19; // ST0C_4@27 int v20; // ST08_4@27 @@ -389,7 +389,7 @@ int v22; // eax@27 signed int v23; // ebx@29 unsigned __int16 v24; // dx@29 - ObjectDesc *v25; // ecx@30 +// ObjectDesc *v25; // ecx@30 unsigned __int16 v26; // ax@33 //int v27; // ecx@35 //int v28; // eax@35 diff -r 82851980e3d8 -r ddb803517a48 Monsters.cpp --- a/Monsters.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/Monsters.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -523,7 +523,7 @@ unsigned int temp_str_len; char* tmp_pos; int decode_step; - int item_counter; +// int item_counter; pMonsterPlacementTXT_Raw = (char *)pEvents_LOD->LoadRaw("placemon.txt", 0); strtok(pMonsterPlacementTXT_Raw, "\r"); @@ -564,14 +564,14 @@ //----- (0045501E) -------------------------------------------------------- void MonsterStats::Initialize() { - int i,j; + int i;//,j; char* test_string; unsigned char c; bool break_loop; unsigned int temp_str_len; char* tmp_pos; int decode_step; - int item_counter; +// int item_counter; int curr_rec_num; char parse_str[64]; char Src[120]; @@ -1083,8 +1083,8 @@ break; case 38: { - int param_num; - char type_flag; +// int param_num; +// char type_flag; pInfos[curr_rec_num].uSpecialAbilityType=0; pInfos[curr_rec_num].uSpecialAbilityDamageDiceBonus=0; strcpy(parse_str,test_string); diff -r 82851980e3d8 -r ddb803517a48 Mouse.cpp --- a/Mouse.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/Mouse.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -53,7 +53,7 @@ //----- (00469903) -------------------------------------------------------- void Mouse::SetCursorBitmap(const char *pName) { - DDSURFACEDESC2 Dst; +// DDSURFACEDESC2 Dst; if ( !this->bInitialized || !pName ) return; @@ -132,7 +132,7 @@ if ( this->field_C ) LABEL_23: this->bActive = false; -LABEL_24: +//LABEL_24: this->field_8 = 0; return result; } @@ -317,12 +317,12 @@ { unsigned int pTextureID; // eax@2 Texture *pTexture; // edi@2 - int v8; // ecx@25 - int v9; // ebx@26 - unsigned int v10; // eax@26 - int v11; // edx@27 +// int v8; // ecx@25 +// int v9; // ebx@26 +// unsigned int v10; // eax@26 +// int v11; // edx@27 int pTextureHeight; // [sp+20h] [bp-8h]@15 - unsigned __int16 *v20; // [sp+20h] [bp-8h]@28 +// unsigned __int16 *v20; // [sp+20h] [bp-8h]@28 int pTextureWidth; // [sp+24h] [bp-4h]@12 unsigned __int16 *v22; // [sp+24h] [bp-4h]@25 @@ -436,7 +436,7 @@ signed int v5; // eax@17 GUIButton *control; // esi@37 signed int v10; // eax@50 - int v11; // ecx@52 +// int v11; // ecx@52 unsigned int pX; // [sp+14h] [bp-8h]@7 unsigned int pY; // [sp+18h] [bp-4h]@7 diff -r 82851980e3d8 -r ddb803517a48 NPC.cpp --- a/NPC.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/NPC.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -40,18 +40,18 @@ int v4; // ecx@9 //int v5; // edx@9 //NPCData *v6; // eax@9 - char *v7; // ebx@14 - NPCData *v8; // edi@14 +// char *v7; // ebx@14 +// NPCData *v8; // edi@14 char v9; // al@22 - char v10; +// char v10; //std::string v10; // [sp-18h] [bp-2Ch]@4 - int v11; +// int v11; //const char *v11; // [sp-8h] [bp-1Ch]@4 - int v12; // [sp-4h] [bp-18h]@4 - int v13; - char *v14; +// int v12; // [sp-4h] [bp-18h]@4 +// int v13; +// char *v14; //std::string *v13; // [sp+Ch] [bp-8h]@4 - int a3; // [sp+13h] [bp-1h]@4 +// int a3; // [sp+13h] [bp-1h]@4 int i; /*v1 = npcid; @@ -752,7 +752,7 @@ int test_prof_summ; // ecx@37 int gen_profession; // eax@37 int max_prof_cap; // edx@37 - signed int result; // eax@39 +// signed int result; // eax@39 int uRace; // [sp+Ch] [bp-Ch]@1 bool break_gen; // [sp+10h] [bp-8h]@1 signed int gen_attempts; // [sp+14h] [bp-4h]@1 @@ -1332,7 +1332,7 @@ //unsigned int v16; // ebp@62 char *v17; // ecx@63 char *v18; // eax@65 - const char *v19; // ecx@68 +// const char *v19; // ecx@68 //unsigned int v20; // eax@69 signed int pPrice; // ecx@70 char *v22; // [sp-Ch] [bp-18h]@73 diff -r 82851980e3d8 -r ddb803517a48 Outdoor.cpp --- a/Outdoor.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/Outdoor.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -206,7 +206,7 @@ //OutdoorLocation *v3; // esi@1 unsigned int v4; // edi@1 unsigned int v5; // eax@1 - int result; // eax@5 +// int result; // eax@5 /* v3 = this; v4 = WorldPosToGridCellZ(sY); @@ -738,7 +738,7 @@ int v12; // ecx@6 int v13; // edi@7 int v14; // edx@9 - int v15; // eax@15 +// int v15; // eax@15 unsigned __int8 *pMapHeight; // ebx@15 int v17; // eax@15 int v18; // ecx@15 @@ -777,7 +777,7 @@ float v52; // [sp+44h] [bp-4h]@21 float v53; // [sp+50h] [bp+8h]@15 float v54; // [sp+50h] [bp+8h]@21 - int v55; // [sp+54h] [bp+Ch]@15 +// int v55; // [sp+54h] [bp+Ch]@15 float v56; // [sp+54h] [bp+Ch]@15 float v57; // [sp+54h] [bp+Ch]@21 @@ -904,26 +904,26 @@ int OutdoorLocationTerrain::_47CB57(int a1, int a2, int a3) { signed int result; // eax@2 - unsigned __int16 *v5; // edx@3 - double v6; // st7@3 - int v8; // eax@3 - int v9; // eax@4 - int v10; // eax@5 - double v11; // st6@7 - signed int v12; // edi@7 - int v13; // esi@9 - char *v14; // esi@10 - signed int v15; // ecx@10 - char v16[256]; // [sp+4h] [bp-124h]@9 - unsigned __int16 *v17; // [sp+104h] [bp-24h]@3 - float v22; // [sp+118h] [bp-10h]@3 - float v23; // [sp+11Ch] [bp-Ch]@3 - int i; // [sp+120h] [bp-8h]@3 - unsigned int v25; // [sp+124h] [bp-4h]@5 - signed int a2a; // [sp+134h] [bp+Ch]@3 - unsigned int a2b; // [sp+134h] [bp+Ch]@7 - float a3a; // [sp+138h] [bp+10h]@7 - int a3b; // [sp+138h] [bp+10h]@9 +// unsigned __int16 *v5; // edx@3 +// double v6; // st7@3 +// int v8; // eax@3 +// int v9; // eax@4 +// int v10; // eax@5 +// double v11; // st6@7 +// signed int v12; // edi@7 +// int v13; // esi@9 +// char *v14; // esi@10 +// signed int v15; // ecx@10 +// char v16[256]; // [sp+4h] [bp-124h]@9 +// unsigned __int16 *v17; // [sp+104h] [bp-24h]@3 +// float v22; // [sp+118h] [bp-10h]@3 +// float v23; // [sp+11Ch] [bp-Ch]@3 +// int i; // [sp+120h] [bp-8h]@3 +// unsigned int v25; // [sp+124h] [bp-4h]@5 +// signed int a2a; // [sp+134h] [bp+Ch]@3 +// unsigned int a2b; // [sp+134h] [bp+Ch]@7 +// float a3a; // [sp+138h] [bp+10h]@7 +// int a3b; // [sp+138h] [bp+10h]@9 int num_r_bits = 5; int num_g_bits = 6; @@ -1230,12 +1230,12 @@ //unsigned int v99; // eax@147 //int v100; // ecx@150 //unsigned int v101; // eax@157 - int v102; // edi@159 +// int v102; // edi@159 //void *v103; // [sp-14h] [bp-B94h]@55 //void *v104; // [sp-10h] [bp-B90h]@59 //size_t v105; // [sp-Ch] [bp-B8Ch]@59 //char *v106; // [sp-8h] [bp-B88h]@59 - int v107; // [sp-4h] [bp-B84h]@12 +// int v107; // [sp-4h] [bp-B84h]@12 int v108; // [sp+0h] [bp-B80h]@10 char Src[968]; // [sp+10h] [bp-B70h]@110 char Dst[968]; // [sp+3D8h] [bp-7A8h]@50 @@ -2159,7 +2159,7 @@ _47F0E2(); -LABEL_150: +//LABEL_150: if ( pWeather->bRenderSnow ) //Ritor1: it's include for snow strcpy(loc_time.sky_texture_name, "sky19"); else if (loc_time.uLastVisitDay) @@ -2253,7 +2253,7 @@ unsigned int OutdoorLocation::DoGetTileTexture(signed int sX, signed int sY) { int v3; // esi@5 - unsigned int result; // eax@9 +// unsigned int result; // eax@9 assert(sX < 128 && sY < 128); @@ -2337,7 +2337,7 @@ { signed int v4; // eax@5 signed int v5; // eax@7 - int v6; // eax@8 +// int v6; // eax@8 signed int v8; // eax@9 int modif=0; @@ -2380,7 +2380,7 @@ int v6; // edi@2 int v9; // ebx@4 int v10; // eax@5 - int v12; // esi@12 +// int v12; // esi@12 char v13; // al@12 int v15; // [sp+4h] [bp-14h]@7 @@ -2523,7 +2523,7 @@ bool OutdoorLocation::InitalizeActors(int a1) { int alert_status; // [sp+348h] [bp-8h]@1 - int v9; // [sp+34Ch] [bp-4h]@1 +// int v9; // [sp+34Ch] [bp-4h]@1 alert_status = 0; for( int i = 0; i < uNumActors; ++i ) @@ -2634,10 +2634,10 @@ int v27; // ecx@45 //RenderBillboard *v28; // esi@45 //__int16 v29; // ax@46 - unsigned __int8 v30; // zf@46 - unsigned __int8 v31; // sf@46 - signed __int16 v32; // ax@49 - signed int v33; // ecx@50 +// unsigned __int8 v30; // zf@46 +// unsigned __int8 v31; // sf@46 +// signed __int16 v32; // ax@49 +// signed int v33; // ecx@50 int v34; // ecx@54 //MonsterDesc *v35; // edx@54 //int v36; // ecx@54 @@ -2656,7 +2656,7 @@ signed int v49; // [sp+34h] [bp-2Ch]@5 int v50; // [sp+34h] [bp-2Ch]@36 int v51; // [sp+34h] [bp-2Ch]@41 - int v52; // [sp+34h] [bp-2Ch]@50 +// int v52; // [sp+34h] [bp-2Ch]@50 int v53; // [sp+38h] [bp-28h]@36 //int v54; // [sp+3Ch] [bp-24h]@2 int y; // [sp+40h] [bp-20h]@5 @@ -2875,24 +2875,24 @@ { BSPModel *pBModel; // esi@4 ODMFace *pFace; // ecx@11 - int v14; // edx@20 +// int v14; // edx@20 signed int v18; // edx@26 int v19; // eax@28 - int v20; // edx@30 - int v21; // ST1C_4@30 +// int v20; // edx@30 +// int v21; // ST1C_4@30 signed int v22; // edx@30 signed __int64 v23; // qtt@30 int v24; // eax@36 signed int v25; // ecx@38 - int result; // eax@42 +// int result; // eax@42 signed int current_floor_level; // ecx@43 - int v28; // edi@44 +// int v28; // edi@44 signed int v29; // edx@44 - int v30; // esi@45 - int v31; // eax@45 - int v33; // ecx@59 - int v36; // [sp+14h] [bp-2Ch]@24 - int v38; // [sp+1Ch] [bp-24h]@2 +// int v30; // esi@45 +// int v31; // eax@45 +// int v33; // ecx@59 +// int v36; // [sp+14h] [bp-2Ch]@24 +// int v38; // [sp+1Ch] [bp-24h]@2 int v39; // [sp+20h] [bp-20h]@9 signed int pBModelNum; // [sp+28h] [bp-18h]@1 int pFaceNum; // [sp+2Ch] [bp-14h]@8 @@ -3113,11 +3113,11 @@ void MakeActorAIList_ODM() { int v1; // eax@4 - int v2; // ebx@4 - unsigned int v3; // ecx@4 - int v4; // edx@5 - int v5; // edx@7 - unsigned int v6; // edx@9 +// int v2; // ebx@4 +// unsigned int v3; // ecx@4 +// int v4; // edx@5 +// int v5; // edx@7 +// unsigned int v6; // edx@9 unsigned int v7; // ST20_4@10 int v9; // edi@10 int v10; // ebx@14 @@ -3347,9 +3347,9 @@ int v34; // esi@143 int v35; // esi@147 int v36; // eax@155 - signed int v37; // esi@159 - signed int v38; // eax@159 - signed int i; // esi@159 +// signed int v37; // esi@159 +// signed int v38; // eax@159 +// signed int i; // esi@159 int v40; // esi@162 bool v42; // eax@180 signed int v43; // ecx@184 @@ -3361,15 +3361,15 @@ int v48; // eax@203 int v54; // eax@215 int v55; // eax@217 - BSPModel *v58; // eax@228 +// BSPModel *v58; // eax@228 //unsigned __int64 v59; // qax@228 - BSPModel *v60; // eax@228 +// BSPModel *v60; // eax@228 //unsigned __int64 v61; // qax@228 - int v62; // eax@241 +// int v62; // eax@241 unsigned int v66; // esi@263 signed int v68; // ecx@263 int v69; // eax@263 - unsigned int v76; // edi@293 +// unsigned int v76; // edi@293 bool v77; // edx@297 bool v78; // ecx@303 int v79; // ecx@314 @@ -3377,15 +3377,15 @@ //int v81; // ebx@318 //int v82; // ecx@318 int pTerrainHeight; // eax@321 - int v86; // [sp-20h] [bp-B4h]@246 +// int v86; // [sp-20h] [bp-B4h]@246 int v87; // [sp-20h] [bp-B4h]@248 - signed int v88; // [sp-1Ch] [bp-B0h]@246 - unsigned int v89; // [sp-18h] [bp-ACh]@246 - signed int v90; // [sp-14h] [bp-A8h]@246 - signed int v91; // [sp-10h] [bp-A4h]@246 - int v92; // [sp-Ch] [bp-A0h]@246 - unsigned int v94; // [sp-8h] [bp-9Ch]@246 - int v96; // [sp-4h] [bp-98h]@246 +// signed int v88; // [sp-1Ch] [bp-B0h]@246 +// unsigned int v89; // [sp-18h] [bp-ACh]@246 +// signed int v90; // [sp-14h] [bp-A8h]@246 +// signed int v91; // [sp-10h] [bp-A4h]@246 +// int v92; // [sp-Ch] [bp-A0h]@246 +// unsigned int v94; // [sp-8h] [bp-9Ch]@246 +// int v96; // [sp-4h] [bp-98h]@246 int v97; // [sp+Ch] [bp-88h]@180 Vec3_int_ v98; bool not_high_fall; // [sp+1Ch] [bp-78h]@33 @@ -4364,8 +4364,8 @@ int v19; // eax@35 signed int v20; // ecx@37 signed int v22; // ebx@42 - int v24; // edx@44 - int v25; // eax@44 +// int v24; // edx@44 +// int v25; // eax@44 int v27; // [sp+10h] [bp-34h]@21 bool v34; // [sp+30h] [bp-14h]@21 bool v35; // [sp+34h] [bp-10h]@23 diff -r 82851980e3d8 -r ddb803517a48 PaletteManager.cpp --- a/PaletteManager.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/PaletteManager.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -148,10 +148,10 @@ double v8; // st5@12 double v9; // st7@15 double v10; // st7@17 - double v11; // st7@21 - __int16 v12; // fps@21 - unsigned __int8 v13; // c0@21 - unsigned __int8 v14; // c2@21 +// double v11; // st7@21 +// __int16 v12; // fps@21 +// unsigned __int8 v13; // c0@21 +// unsigned __int8 v14; // c2@21 float a6a; // [sp+14h] [bp+14h]@16 if ( a3 <= (double)a4 ) @@ -175,7 +175,7 @@ if ( v8 == 0.0 ) { v9 = 0.0; -LABEL_23: +//LABEL_23: *a1 = v9; return; } @@ -279,9 +279,9 @@ //int v12; // ebx@8 //int v13; // eax@8 //float v14; // ebx@8 - float v15; // ST08_4@8 - float v16; // ST04_4@8 - float v17; // ST00_4@8 +// float v15; // ST08_4@8 +// float v16; // ST04_4@8 +// float v17; // ST00_4@8 //unsigned __int8 v18; // sf@8 //unsigned __int8 v19; // of@8 //int v20; // eax@10 @@ -330,7 +330,7 @@ float v63[256]; // [sp+1Ch] [bp-C38h]@5 float v64[256]; // [sp+41Ch] [bp-838h]@5 float a6[256]; // [sp+81Ch] [bp-438h]@5 - int v66; // [sp+C1Ch] [bp-38h]@43 +// int v66; // [sp+C1Ch] [bp-38h]@43 float v67; // [sp+C20h] [bp-34h]@43 float v68; // [sp+C24h] [bp-30h]@43 //PaletteManager *v69; // [sp+C28h] [bp-2Ch]@9 diff -r 82851980e3d8 -r ddb803517a48 ParticleEngine.cpp --- a/ParticleEngine.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/ParticleEngine.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -244,53 +244,53 @@ signed __int64 v6; // qtt@4 //double v7; // st7@4 //float v8; // ST18_4@4 - int v9; // ecx@4 +// int v9; // ecx@4 //int v10; // eax@4 //double v11; // ST44_8@7 //double v12; // ST4C_8@7 - double v13; // ST4C_8@7 - int v14; // ecx@7 +// double v13; // ST4C_8@7 +// int v14; // ecx@7 //signed __int64 v15; // qtt@7 - int v16; // eax@7 - int v17; // edx@7 - float v18; // edx@7 - int v19; // eax@7 - int v20; // edx@7 - int v21; // ST50_4@8 - int v22; // ebx@8 - int v23; // ecx@10 - int v24; // edi@10 +// int v16; // eax@7 +// int v17; // edx@7 +// float v18; // edx@7 +// int v19; // eax@7 +// int v20; // edx@7 +// int v21; // ST50_4@8 +// int v22; // ebx@8 +// int v23; // ecx@10 +// int v24; // edi@10 //double v25; // ST44_8@12 //double v26; // ST4C_8@12 - int v27; // edi@12 - int v28; // ST40_4@12 - int v29; // ecx@12 +// int v27; // edi@12 +// int v28; // ST40_4@12 +// int v29; // ecx@12 //signed __int64 v30; // qtt@12 - int v31; // eax@12 - int v32; // edx@12 - float v33; // edx@12 +// int v31; // eax@12 +// int v32; // edx@12 +// float v33; // edx@12 //int v34; // eax@12 - int v35; // ecx@12 - int v36; // ST38_4@13 - int v37; // ST30_4@15 - int v38; // eax@16 +// int v35; // ecx@12 +// int v36; // ST38_4@13 +// int v37; // ST30_4@15 +// int v38; // eax@16 //signed __int64 v40; // qtt@18 - int v41; // eax@18 - int v42; // ecx@18 - int v43; // eax@18 - unsigned __int64 v44; // qax@18 +// int v41; // eax@18 +// int v42; // ecx@18 +// int v43; // eax@18 +// unsigned __int64 v44; // qax@18 //double v45; // st7@18 //int v46; // ecx@18 //float v47; // ST18_4@18 //unsigned __int64 v48; // qax@18 int y_int_; // [sp+10h] [bp-40h]@2 - int a2; // [sp+18h] [bp-38h]@10 +// int a2; // [sp+18h] [bp-38h]@10 int x_int; // [sp+20h] [bp-30h]@2 int z_int_; // [sp+24h] [bp-2Ch]@2 - int z_int_4; // [sp+28h] [bp-28h]@8 +// int z_int_4; // [sp+28h] [bp-28h]@8 int z; // [sp+3Ch] [bp-14h]@3 - double a5; // [sp+40h] [bp-10h]@4 - int a6; // [sp+48h] [bp-8h]@4 +// double a5; // [sp+40h] [bp-10h]@4 +// int a6; // [sp+48h] [bp-8h]@4 int y; // [sp+4Ch] [bp-4h]@3 pParticle = &this->pParticles[uParticleID]; @@ -555,9 +555,9 @@ //----- (0048BBA6) -------------------------------------------------------- void ParticleEngine::DrawParticles_BLV() { - int v11; // eax@18 - int v12; // ecx@20 - int v13; // edx@20 +// int v11; // eax@18 +// int v12; // ecx@20 +// int v13; // edx@20 //Particle *v14; // eax@28 RenderBillboardTransform_local0 v15; // [sp+Ch] [bp-58h]@1 @@ -661,19 +661,19 @@ { ParticleEngine *pParticleEngine; // esi@1 //int pParticleNum; // eax@1 - unsigned __int8 v3; // zf@1 - char v4; // sf@1 - unsigned __int8 v5; // of@1 +// unsigned __int8 v3; // zf@1 +// char v4; // sf@1 +// unsigned __int8 v5; // of@1 //char *v7; // edi@2 //int v8; // eax@6 //signed int pNumLines; // eax@8 - int v10; // eax@14 - int v11; // ecx@16 - int v12; // edx@16 +// int v10; // eax@14 +// int v11; // ecx@16 +// int v12; // edx@16 //Particle *pParticle; // eax@24 RenderBillboardTransform_local0 pBillboard; // [sp+Ch] [bp-58h]@1 //int v15; // [sp+5Ch] [bp-8h]@9 - int v16; // [sp+60h] [bp-4h]@1 +// int v16; // [sp+60h] [bp-4h]@1 pBillboard.sParentBillboardID = -1; pParticleEngine = this; diff -r 82851980e3d8 -r ddb803517a48 Player.cpp --- a/Player.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/Player.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -7925,11 +7925,11 @@ int effectiveActorArmor; // esi@8 int attBonus; // eax@9 int v9; // edx@11 - unsigned __int8 v12; // sf@13 - unsigned __int8 v13; // of@13 +// unsigned __int8 v12; // sf@13 +// unsigned __int8 v13; // of@13 int attPositiveMod; // edx@14 int attNegativeMod; // eax@14 - signed int result; // eax@17 +// signed int result; // eax@17 naturalArmor = pActor->pMonsterInfo.uAC; armorBuff = 0; @@ -7965,11 +7965,11 @@ //----- (0042ECB5) -------------------------------------------------------- void Player::_42ECB5_PlayerAttacksActor() { - char *v5; // eax@8 - unsigned int v9; // ecx@21 - char *v11; // eax@26 - unsigned int v12; // eax@47 - SoundID v24; // [sp-4h] [bp-40h]@58 +// char *v5; // eax@8 +// unsigned int v9; // ecx@21 +// char *v11; // eax@26 +// unsigned int v12; // eax@47 +// SoundID v24; // [sp-4h] [bp-40h]@58 //result = pParty->pPlayers[uActiveCharacter-1].CanAct(); Player* player = &pParty->pPlayers[uActiveCharacter - 1]; diff -r 82851980e3d8 -r ddb803517a48 Random.cpp --- a/Random.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/Random.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -45,9 +45,9 @@ //----- (004BE623) -------------------------------------------------------- int Random::GetInRange() { - Random *v1; // esi@1 +// Random *v1; // esi@1 float v2; // ST10_4@1 - double v3; // ST04_8@1 +// double v3; // ST04_8@1 int floored_random; // ecx@1 v2 = GetRandom() * (double)this->range; diff -r 82851980e3d8 -r ddb803517a48 Render.cpp --- a/Render.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/Render.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -228,7 +228,7 @@ { int v6; // ecx@8 struct Polygon *pTilePolygon; // ebx@8 - float Light_tile_dist; +// float Light_tile_dist; //warning: the game uses CW culling by default, ccw is incosistent pRenderer->pRenderD3D->pDevice->SetRenderState(D3DRENDERSTATE_CULLMODE, D3DCULL_CCW); @@ -478,16 +478,16 @@ //__int16 v6; // di@3 //int v7; // eax@3 //int v8; // ebx@4 - unsigned __int16 *v9; // eax@7 - char v10; // zf@9 +// unsigned __int16 *v9; // eax@7 +// char v10; // zf@9 //DWORD v11; // eax@13 - int v12; // eax@13 - int v13; // eax@14 +// int v12; // eax@13 +// int v13; // eax@14 RenderBillboardTransform_local0 billboard; // [sp+4h] [bp-60h]@1 - int v15; // [sp+54h] [bp-10h]@13 +// int v15; // [sp+54h] [bp-10h]@13 //int v16; // [sp+58h] [bp-Ch]@1 //int v17; // [sp+5Ch] [bp-8h]@2 - int v18; // [sp+60h] [bp-4h]@13 +// int v18; // [sp+60h] [bp-4h]@13 billboard.sParentBillboardID = -1; billboard.pTarget = pRenderer->pTargetSurface; @@ -552,10 +552,10 @@ int v9; // ecx@10 int v17; // ecx@25 int v18; // eax@25 - int v22; // ST3C_4@29 +// int v22; // ST3C_4@29 signed __int64 v23; // qtt@30 int v26; // eax@31 - char v27; // zf@31 +// char v27; // zf@31 int v30; // [sp+14h] [bp-2Ch]@23 int v37; // [sp+1Ch] [bp-24h]@23 int a6; // [sp+20h] [bp-20h]@10 @@ -1811,55 +1811,55 @@ unsigned int v6; // ebx@1 LightmapBuilder *v7; // esi@3 int v8; // eax@7 - ODMFace *v9; // eax@12 - char *v10; // esi@12 - double v11; // st7@14 - double v12; // st7@14 - int v13; // eax@14 - ODMFace *v14; // ecx@14 - double v15; // st7@14 - float v16; // ST48_4@15 - int v17; // eax@15 - char v18; // zf@17 - HRESULT v19; // eax@18 - HRESULT v20; // eax@18 - HRESULT v21; // eax@20 - HRESULT v22; // eax@20 - unsigned int v23; // ecx@20 - char *v24; // eax@21 - HRESULT v25; // eax@23 - HRESULT v26; // eax@23 - HRESULT v27; // eax@24 - HRESULT v28; // eax@25 - HRESULT v29; // eax@25 - HRESULT v30; // eax@25 - HRESULT v31; // eax@25 - HRESULT v32; // eax@26 - unsigned int v33; // ecx@26 - char *v34; // eax@27 - int v35; // edx@28 - HRESULT v36; // eax@29 - HRESULT v37; // eax@29 - HRESULT v38; // eax@29 - HRESULT v39; // eax@29 +// ODMFace *v9; // eax@12 +// char *v10; // esi@12 +// double v11; // st7@14 +// double v12; // st7@14 +// int v13; // eax@14 +// ODMFace *v14; // ecx@14 +// double v15; // st7@14 +// float v16; // ST48_4@15 +// int v17; // eax@15 +// char v18; // zf@17 +// HRESULT v19; // eax@18 +// HRESULT v20; // eax@18 +// HRESULT v21; // eax@20 +// HRESULT v22; // eax@20 +// unsigned int v23; // ecx@20 +// char *v24; // eax@21 +// HRESULT v25; // eax@23 +// HRESULT v26; // eax@23 +// HRESULT v27; // eax@24 +// HRESULT v28; // eax@25 +// HRESULT v29; // eax@25 +// HRESULT v30; // eax@25 +// HRESULT v31; // eax@25 +// HRESULT v32; // eax@26 +// unsigned int v33; // ecx@26 +// char *v34; // eax@27 +// int v35; // edx@28 +// HRESULT v36; // eax@29 +// HRESULT v37; // eax@29 +// HRESULT v38; // eax@29 +// HRESULT v39; // eax@29 //IDirect3DDevice3Vtbl *v40; // ebx@29 unsigned int v41; // eax@29 - HRESULT v42; // eax@30 - HRESULT v43; // eax@30 - HRESULT v44; // eax@30 - char *v45; // esi@34 - int v46; // ecx@35 - double v47; // st6@35 - int v48; // eax@36 - const char *v49; // [sp+4Ch] [bp-1Ch]@0 - const char *v50; // [sp+4Ch] [bp-1Ch]@20 - int v51; // [sp+50h] [bp-18h]@0 - unsigned int v52; // [sp+54h] [bp-14h]@0 +// HRESULT v42; // eax@30 +// HRESULT v43; // eax@30 +// HRESULT v44; // eax@30 +// char *v45; // esi@34 +// int v46; // ecx@35 +// double v47; // st6@35 +// int v48; // eax@36 +// const char *v49; // [sp+4Ch] [bp-1Ch]@0 +// const char *v50; // [sp+4Ch] [bp-1Ch]@20 +// int v51; // [sp+50h] [bp-18h]@0 +// unsigned int v52; // [sp+54h] [bp-14h]@0 LightmapBuilder *v53; // [sp+58h] [bp-10h]@3 unsigned int v54; // [sp+5Ch] [bp-Ch]@3 - unsigned int v55; // [sp+5Ch] [bp-Ch]@34 - unsigned int v56; // [sp+60h] [bp-8h]@12 - int v57; // [sp+60h] [bp-8h]@34 +// unsigned int v55; // [sp+5Ch] [bp-Ch]@34 +// unsigned int v56; // [sp+60h] [bp-8h]@12 +// int v57; // [sp+60h] [bp-8h]@34 signed int a2; // [sp+64h] [bp-4h]@4 v5 = this; @@ -2039,8 +2039,8 @@ Render::Render() { //Render *v1; // esi@1 - int v2; // eax@1 - char v3; // zf@1 +// int v2; // eax@1 +// char v3; // zf@1 //v1 = this; this->pDirectDraw4 = 0; @@ -2156,10 +2156,10 @@ int v5; // eax@8 FILE *pOutFile; // edi@10 unsigned short *v8; // eax@11 - int v9; // eax@13 - int v10; // ecx@15 +// int v9; // eax@13 +// int v10; // ecx@15 signed int v12; // eax@18 - HRESULT v14; // eax@29 +// HRESULT v14; // eax@29 char v15[56]; // [sp+Ch] [bp-158h]@10 DDSURFACEDESC2 Dst; // [sp+48h] [bp-11Ch]@7 char color_map[48]; // [sp+C4h] [bp-A0h]@10 @@ -2311,19 +2311,19 @@ { unsigned int v6; // eax@8 //FILE *v7; // edi@10 - int v8; // ecx@11 +// int v8; // ecx@11 unsigned short *v9; // eax@11 int v10; // eax@13 signed int v13; // eax@18 - char v14; // zf@27 - HRESULT v15; // eax@29 +// char v14; // zf@27 +// HRESULT v15; // eax@29 char v16[56]; // [sp+Ch] [bp-12Ch]@10 __int16 v17; // [sp+44h] [bp-F4h]@10 DDSURFACEDESC2 Dst; // [sp+48h] [bp-F0h]@7 - int v19; // [sp+58h] [bp-E0h]@8 - unsigned __int16 *v20; // [sp+6Ch] [bp-CCh]@8 +// int v19; // [sp+58h] [bp-E0h]@8 +// unsigned __int16 *v20; // [sp+6Ch] [bp-CCh]@8 char color_map[48]; // [sp+C4h] [bp-74h]@10 - unsigned int v22; // [sp+F4h] [bp-44h]@11 +// unsigned int v22; // [sp+F4h] [bp-44h]@11 char *lineB; // [sp+F8h] [bp-40h]@14 int image_width; // [sp+FCh] [bp-3Ch]@11 int v25; // [sp+100h] [bp-38h]@4 @@ -2477,11 +2477,11 @@ void *v8; // esi@3 void *v9; // esi@3 unsigned short* v11; // eax@4 - int v13; // eax@8 - int v14; // ecx@8 +// int v13; // eax@8 +// int v14; // ecx@8 signed int v15; // eax@11 - char v16; // zf@20 - int result; // eax@21 +// char v16; // zf@20 +// int result; // eax@21 char v18[58]; // [sp+Ch] [bp-ACh]@3 char v20[48]; // [sp+48h] [bp-70h]@3 char *lineG; // [sp+78h] [bp-40h]@7 @@ -2619,14 +2619,14 @@ FILE *result; // eax@1 FILE *pOutFile; // edi@4 unsigned short* v9; // eax@5 - int v10; // eax@7 +// int v10; // eax@7 signed int v12; // eax@12 - char v13; // zf@21 +// char v13; // zf@21 char v14[56]; // [sp+4h] [bp-A0h]@4 __int16 v15; // [sp+3Ch] [bp-68h]@4 char color_map[48]; // [sp+40h] [bp-64h]@4 int v18; // [sp+74h] [bp-30h]@5 - char *v19; // [sp+78h] [bp-2Ch]@5 +// char *v19; // [sp+78h] [bp-2Ch]@5 int image_width; // [sp+7Ch] [bp-28h]@5 PCXHeader_1 header1; // [sp+80h] [bp-24h]@4 PCXHeader_2 header2; // [sp+90h] [bp-14h]@4 @@ -2836,18 +2836,18 @@ //RenderD3D *v2; // ecx@1 //char v3; // zf@4 //void *v4; // ebx@6 - IDirectDraw *v5; // eax@10 - IDirectDrawSurface2 *v6; // eax@11 - IDirectDrawSurface2 *v7; // eax@13 - IDirectDrawSurface2 *v8; // eax@15 - IDirectDraw2 *v9; // eax@17 - IDirectDraw4 *v10; // eax@19 - IDirectDrawSurface4 *v11; // eax@20 - IDirectDrawSurface4 *v12; // eax@22 - IDirectDrawSurface4 *v13; // eax@24 - IDirectDraw4 *v14; // eax@26 - unsigned __int16 **v15; // ebx@28 - void **v16; // esi@29 +// IDirectDraw *v5; // eax@10 +// IDirectDrawSurface2 *v6; // eax@11 +// IDirectDrawSurface2 *v7; // eax@13 +// IDirectDrawSurface2 *v8; // eax@15 +// IDirectDraw2 *v9; // eax@17 +// IDirectDraw4 *v10; // eax@19 +// IDirectDrawSurface4 *v11; // eax@20 +// IDirectDrawSurface4 *v12; // eax@22 +// IDirectDrawSurface4 *v13; // eax@24 +// IDirectDraw4 *v14; // eax@26 +// unsigned __int16 **v15; // ebx@28 +// void **v16; // esi@29 v1 = this; if (pRenderD3D) @@ -2990,23 +2990,23 @@ void Present_NoColorKey() { //unsigned __int16 *v0; // eax@4 - unsigned __int16 *v1; // esi@4 +// unsigned __int16 *v1; // esi@4 void *v2; // edi@4 //signed int v4; // ebx@4 //signed int v5; // ebx@6 //void *v6; // edi@7 //const void *v7; // esi@7 - signed int v8; // ebx@8 +// signed int v8; // ebx@8 int v9; // eax@10 unsigned int v10; // esi@10 unsigned __int32 v11; // edi@10 //int v12; // ecx@10 unsigned int v13; // ebx@10 - int v14; // eax@11 - int v15; // eax@13 - int v16; // eax@14 - int v17; // eax@16 - HRESULT v18; // eax@22 +// int v14; // eax@11 +// int v15; // eax@13 +// int v16; // eax@14 +// int v17; // eax@16 +// HRESULT v18; // eax@22 DDSURFACEDESC2 Dst; // [sp+Ch] [bp-98h]@3 //int v20; // [sp+88h] [bp-1Ch]@10 int v21; // [sp+8Ch] [bp-18h]@10 @@ -3172,21 +3172,21 @@ RenderD3D *v9; // ecx@13 unsigned int v10; // eax@13 RenderD3D *v11; // eax@25 - HRESULT v12; // eax@25 +// HRESULT v12; // eax@25 int v13; // ecx@25 int v14; // eax@27 signed int v15; // ebx@31 //bool v16; // eax@35 //char v17; // zf@35 - IDirectDraw4 *v18; // eax@38 - HRESULT v19; // eax@38 +// IDirectDraw4 *v18; // eax@38 +// HRESULT v19; // eax@38 //int *v20; // eax@39 int *v22; // eax@42 int v23; // ecx@42 D3DDEVICEDESC refCaps; // [sp+Ch] [bp-300h]@25 DDSURFACEDESC2 pDesc; // [sp+108h] [bp-204h]@40 D3DDEVICEDESC halCaps; // [sp+184h] [bp-188h]@25 - DDSURFACEDESC2 ddsd2; // [sp+280h] [bp-8Ch]@38 +// DDSURFACEDESC2 ddsd2; // [sp+280h] [bp-8Ch]@38 void *v28; // [sp+2FCh] [bp-10h]@2 int v29; // [sp+308h] [bp-4h]@2 @@ -3389,23 +3389,23 @@ bool v7; // eax@7 //RenderD3D *v8; // ecx@12 unsigned int v9; // eax@12 - RenderD3D *v10; // eax@24 - HRESULT v11; // eax@24 +// RenderD3D *v10; // eax@24 +// HRESULT v11; // eax@24 int v12; // eax@24 int v13; // eax@26 //bool v14; // eax@32 //char v15; // zf@32 - IDirectDraw4 *v16; // eax@35 - HRESULT v17; // eax@35 +// IDirectDraw4 *v16; // eax@35 +// HRESULT v17; // eax@35 //int *v18; // eax@36 - int *v19; // edx@38 - int v20; // eax@38 - unsigned int v21; // ecx@38 - int v22; // eax@41 +// int *v19; // edx@38 +// int v20; // eax@38 +// unsigned int v21; // ecx@38 +// int v22; // eax@41 D3DDEVICEDESC refCaps; // [sp+Ch] [bp-300h]@24 DDSURFACEDESC2 pDesc; // [sp+108h] [bp-204h]@37 D3DDEVICEDESC halCaps; // [sp+184h] [bp-188h]@24 - DDSURFACEDESC2 ddsd2; // [sp+280h] [bp-8Ch]@35 +// DDSURFACEDESC2 ddsd2; // [sp+280h] [bp-8Ch]@35 //RenderD3D *thisa; // [sp+2FCh] [bp-10h]@2 int v29; // [sp+308h] [bp-4h]@2 @@ -3620,8 +3620,8 @@ //----- (0044F2B2) -------------------------------------------------------- bool Render::IsGammaSupported() { - bool result; // eax@3 - HRESULT v1; // eax@4 +// bool result; // eax@3 +// HRESULT v1; // eax@4 //if ( pVersion->pVersionInfo.dwPlatformId != VER_PLATFORM_WIN32_NT || pVersion->pVersionInfo.dwMajorVersion != 4 ) { @@ -3640,7 +3640,7 @@ void Render::RasterLine2D(signed int uX, signed int uY, signed int uZ, signed int uW, unsigned __int16 uColor) { signed int lower_bound; // eax@17 - signed int left_bound; +// signed int left_bound; unsigned int v21; // edi@46 int v22; // esi@47 int v23; // ebx@47 @@ -3925,8 +3925,8 @@ //IDirectDrawSurface4 *v4; // esi@1 HRESULT result; // eax@1 HRESULT v6; // eax@4 - int v7; // [sp-8h] [bp-14h]@10 - unsigned int v8; // [sp-4h] [bp-10h]@10 +// int v7; // [sp-8h] [bp-14h]@10 +// unsigned int v8; // [sp-4h] [bp-10h]@10 char v9; // [sp+Bh] [bp-1h]@1 //v4 = pSurface; @@ -3955,7 +3955,7 @@ { //v8 = 0; //v7 = 2161; -LABEL_19: +//LABEL_19: //CheckHRESULT((CheckHRESULT_stru0 *)&pSurface, result, "E:\\WORK\\MSDEV\\MM7\\MM7\\Code\\Screen16.cpp", v7, v8); goto LABEL_20; } @@ -3985,10 +3985,10 @@ void Render::CreateDirectDraw() { Render *v1; // edi@1 - HRESULT v2; // eax@1 - HRESULT v3; // eax@5 - int v6; // [sp-Ch] [bp-20h]@3 - unsigned int v9; // [sp+0h] [bp-14h]@0 +// HRESULT v2; // eax@1 +// HRESULT v3; // eax@5 +// int v6; // [sp-Ch] [bp-20h]@3 +// unsigned int v9; // [sp+0h] [bp-14h]@0 IDirectDraw *lpDD; // [sp+10h] [bp-4h]@1 v1 = this; @@ -4006,10 +4006,10 @@ void Render::SetDirectDrawCooperationMode(HWND hWnd, bool bFullscreen) { DWORD flags; // eax@1 - IDirectDraw *v4; // ecx@3 - HRESULT v5; // eax@5 - int v6; // [sp-8h] [bp-8h]@3 - unsigned int v7; // [sp-4h] [bp-4h]@3 +// IDirectDraw *v4; // ecx@3 +//// HRESULT v5; // eax@5 +// int v6; // [sp-8h] [bp-8h]@3 +// unsigned int v7; // [sp-4h] [bp-4h]@3 flags = bFullscreen ? DDSCL_NORMAL | DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN : DDSCL_NORMAL; @@ -4030,7 +4030,7 @@ IDirectDraw *pDD; // eax@3 IDirectDrawSurface **pOutSurf; // esi@3 struct _DDSURFACEDESC *v4; // edx@3 - HRESULT v5; // eax@5 +//// HRESULT v5; // eax@5 int v6; // [sp-8h] [bp-8Ch]@3 unsigned int v7; // [sp-4h] [bp-88h]@3 DDSURFACEDESC2 a2; // [sp+4h] [bp-80h]@3 @@ -4071,7 +4071,7 @@ IDirectDraw *v2; // eax@3 IDirectDrawSurface **ppBackBuffer; // esi@3 struct _DDSURFACEDESC *v4; // edx@3 - HRESULT v5; // eax@5 +// HRESULT v5; // eax@5 int v6; // [sp-8h] [bp-8Ch]@3 unsigned int v7; // [sp-4h] [bp-88h]@3 DDSURFACEDESC2 a2; // [sp+4h] [bp-80h]@3 @@ -4114,22 +4114,22 @@ { Render *v1; // esi@1 //int v2; // ebx@3 - IDirectDraw2 *v3; // eax@3 - HRESULT v4; // eax@3 +// IDirectDraw2 *v3; // eax@3 +// HRESULT v4; // eax@3 IDirectDrawSurface *pFrontBuffer; // eax@3 DDSCAPS2 *v6; // edx@3 IDirectDraw4 *v7; // eax@4 - HRESULT v8; // eax@4 +// HRESULT v8; // eax@4 int v9; // ST14_4@5 IDirectDrawSurface *v10; // ST10_4@5 - HRESULT v11; // eax@5 +// HRESULT v11; // eax@5 IDirectDrawSurface **ppBackBuffer; // [sp-4h] [bp-A4h]@3 - const char *v13; // [sp+0h] [bp-A0h]@0 - int v14; // [sp+4h] [bp-9Ch]@0 - unsigned int v15; // [sp+8h] [bp-98h]@0 +// const char *v13; // [sp+0h] [bp-A0h]@0 +// int v14; // [sp+4h] [bp-9Ch]@0 +// unsigned int v15; // [sp+8h] [bp-98h]@0 DDSURFACEDESC2 ddsd2; // [sp+Ch] [bp-94h]@3 DDSCAPS2 v17; // [sp+88h] [bp-18h]@4 - int a4; // [sp+98h] [bp-8h]@3 +// int a4; // [sp+98h] [bp-8h]@3 v1 = this; //if (pVersion->pVersionInfo.dwPlatformId != VER_PLATFORM_WIN32_NT || @@ -4555,66 +4555,66 @@ //RenderVertexSoft *pVertices; // esi@0 //int v7; // edi@1 unsigned int v8; // ebx@1 - LightmapBuilder *v9; // esi@3 - unsigned int v10; // edx@3 +// LightmapBuilder *v9; // esi@3 +// unsigned int v10; // edx@3 int v11; // eax@5 - int v12; // eax@11 - char *v13; // esi@11 - double v14; // st7@13 - double v15; // st7@13 - signed int v16; // eax@13 - int v17; // ecx@13 - double v18; // st7@13 - float v19; // ST78_4@14 +// int v12; // eax@11 +// char *v13; // esi@11 +// double v14; // st7@13 +// double v15; // st7@13 +// signed int v16; // eax@13 +// int v17; // ecx@13 +// double v18; // st7@13 +// float v19; // ST78_4@14 int v20; // eax@14 - char v21; // zf@16 - HRESULT v22; // eax@17 - HRESULT v23; // eax@17 - HRESULT v24; // eax@19 - HRESULT v25; // eax@19 - unsigned int v26; // ecx@19 - char *v27; // eax@20 - HRESULT v28; // eax@22 - HRESULT v29; // eax@22 - HRESULT v30; // eax@23 - HRESULT v31; // eax@24 - HRESULT v32; // eax@24 - HRESULT v33; // eax@24 - HRESULT v34; // eax@24 - HRESULT v35; // eax@25 - HRESULT v36; // eax@25 - unsigned int v37; // ecx@25 - char *v38; // eax@26 - int v39; // edx@27 - HRESULT v40; // eax@28 - HRESULT v41; // eax@28 - HRESULT v42; // eax@28 - HRESULT v43; // eax@28 +// char v21; // zf@16 +// HRESULT v22; // eax@17 +// HRESULT v23; // eax@17 +// HRESULT v24; // eax@19 +// HRESULT v25; // eax@19 +// unsigned int v26; // ecx@19 +// char *v27; // eax@20 +// HRESULT v28; // eax@22 +// HRESULT v29; // eax@22 +// HRESULT v30; // eax@23 +// HRESULT v31; // eax@24 +// HRESULT v32; // eax@24 +// HRESULT v33; // eax@24 +// HRESULT v34; // eax@24 +// HRESULT v35; // eax@25 +// HRESULT v36; // eax@25 +// unsigned int v37; // ecx@25 +// char *v38; // eax@26 +// int v39; // edx@27 +// HRESULT v40; // eax@28 +// HRESULT v41; // eax@28 +// HRESULT v42; // eax@28 +// HRESULT v43; // eax@28 //IDirect3DDevice3Vtbl *v44; // ebx@28 unsigned int v45; // eax@28 - HRESULT v46; // eax@29 - HRESULT v47; // eax@29 - HRESULT v48; // eax@29 +// HRESULT v46; // eax@29 +// HRESULT v47; // eax@29 +// HRESULT v48; // eax@29 //IDirect3DDevice3 *v49; // eax@35 //IDirect3DDevice3Vtbl *v50; // ecx@35 - int v51; // eax@40 - char *v52; // esi@40 - double v53; // st7@42 - double v54; // st7@42 - signed int v55; // eax@42 - int v56; // ecx@42 - double v57; // st7@42 - float v58; // ST7C_4@43 - int v59; // eax@43 +// int v51; // eax@40 +// char *v52; // esi@40 +// double v53; // st7@42 +// double v54; // st7@42 +// signed int v55; // eax@42 +// int v56; // ecx@42 +// double v57; // st7@42 +// float v58; // ST7C_4@43 +// int v59; // eax@43 //signed int v60; // [sp+78h] [bp-14h]@31 //RenderVertexSoft *v61; // [sp+7Ch] [bp-10h]@3 - const char *v62; // [sp+80h] [bp-Ch]@0 - const char *v63; // [sp+80h] [bp-Ch]@19 - int v64; // [sp+84h] [bp-8h]@0 - LightmapBuilder *v65; // [sp+88h] [bp-4h]@3 - unsigned int v66; // [sp+88h] [bp-4h]@40 - unsigned int a6a; // [sp+A0h] [bp+14h]@11 - int a7; +// const char *v62; // [sp+80h] [bp-Ch]@0 +// const char *v63; // [sp+80h] [bp-Ch]@19 +// int v64; // [sp+84h] [bp-8h]@0 +// LightmapBuilder *v65; // [sp+88h] [bp-4h]@3 +// unsigned int v66; // [sp+88h] [bp-4h]@40 +// unsigned int a6a; // [sp+A0h] [bp+14h]@11 +// int a7; //v7 = (int)this; v8 = 0; @@ -4859,7 +4859,7 @@ signed __int64 v6; // qax@3 int v12; // edx@7 int v13; // eax@7 - void *v15; // ecx@9 +// void *v15; // ecx@9 int v17; // edi@9 double v18; // st7@9 signed int v19; // ebx@9 @@ -4867,16 +4867,16 @@ int v21; // ebx@11 int v22; // eax@14 signed __int64 v23; // qtt@16 - double v24; // st7@16 - unsigned __int8 v25; // sf@16 - unsigned __int8 v26; // of@16 +// double v24; // st7@16 +// unsigned __int8 v25; // sf@16 +// unsigned __int8 v26; // of@16 double v28; // st7@20 - char *v29; // ebx@20 - char *v30; // edx@20 - unsigned __int8 v31; // c0@21 - unsigned __int8 v32; // c3@21 +// char *v29; // ebx@20 +// char *v30; // edx@20 +// unsigned __int8 v31; // c0@21 +// unsigned __int8 v32; // c3@21 double v33; // st6@23 - char *v34; // esi@30 +// char *v34; // esi@30 const void *v35; // ecx@31 int v36; // eax@31 const void *v37; // edi@31 @@ -4886,19 +4886,19 @@ int v41; // eax@36 signed __int64 v42; // qtt@39 int v43; // eax@39 - char v44; // zf@39 - double v45; // st7@39 - double v46; // st7@39 - unsigned int v47; // edx@40 +// char v44; // zf@39 +// double v45; // st7@39 +// double v46; // st7@39 +// unsigned int v47; // edx@40 double v48; // st7@41 - RenderVertexSoft *v49; // ebx@41 - void *v50; // edi@43 +// RenderVertexSoft *v49; // ebx@41 +// void *v50; // edi@43 double v51; // st7@46 - RenderVertexSoft *v52; // edx@46 - void *v53; // edi@48 - signed int v59; // [sp-4h] [bp-178h]@17 - struct Polygon *v60; // [sp+0h] [bp-174h]@17 - IDirect3DTexture2 *v61; // [sp+4h] [bp-170h]@17 +// RenderVertexSoft *v52; // edx@46 +// void *v53; // edi@48 +// signed int v59; // [sp-4h] [bp-178h]@17 +// struct Polygon *v60; // [sp+0h] [bp-174h]@17 +// IDirect3DTexture2 *v61; // [sp+4h] [bp-170h]@17 struct Polygon pSkyPolygon; // [sp+14h] [bp-160h]@6 unsigned int v63; // [sp+120h] [bp-54h]@7 unsigned int v65; // [sp+128h] [bp-4Ch]@1 @@ -5206,14 +5206,14 @@ { //Render *v8; // edi@1 //unsigned int v9; // esi@3 - RenderVertexSoft *v12; // ecx@9 - RenderVertexD3D3 *v13; // eax@9 - double v14; // st6@10 - int v15; // edx@10 - Texture *v16; // edx@10 - double v17; // st6@10 +// RenderVertexSoft *v12; // ecx@9 +// RenderVertexD3D3 *v13; // eax@9 +// double v14; // st6@10 +// int v15; // edx@10 +// Texture *v16; // edx@10 +// double v17; // st6@10 //char v18; // zf@10 - Texture *v19; // edx@10 +// Texture *v19; // edx@10 //Texture *v23; // edx@16 //char *v24; // ecx@16 //char *v25; // eax@16 @@ -5228,12 +5228,12 @@ //double v48; // st6@24 //int v49; // esi@24 //double v50; // st6@24 - const char *v53; // [sp-Ch] [bp-20h]@21 +// const char *v53; // [sp-Ch] [bp-20h]@21 //int v54; // [sp-8h] [bp-1Ch]@21 //unsigned int v55; // [sp-4h] [bp-18h]@21 - const char *v56; // [sp+0h] [bp-14h]@0 - int v57; // [sp+4h] [bp-10h]@0 - unsigned int v58; // [sp+8h] [bp-Ch]@0 +// const char *v56; // [sp+0h] [bp-14h]@0 +// int v57; // [sp+4h] [bp-10h]@0 +// unsigned int v58; // [sp+8h] [bp-Ch]@0 //LightmapBuilder *v59; // [sp+Ch] [bp-8h]@3 //int a3a; // [sp+10h] [bp-4h]@4 @@ -5254,7 +5254,7 @@ if (pFace->uAttributes & FACE_OUTLINED) { - int color; +// int color; if (GetTickCount() % 300 >= 150) uColor = sCorrectedColor = 0xFF20FF20; else uColor = sCorrectedColor = 0xFF109010; @@ -6088,7 +6088,7 @@ void Render::_4A4CC9_AddSomeBillboard(stru6_stru1_indoor_sw_billboard *a1, int diffuse) { unsigned int v5; // eax@7 - char *v7; // edx@8 +// char *v7; // edx@8 double v10; // st6@9 double v11; // st6@10 int v12; // ebx@13 @@ -6139,11 +6139,11 @@ //----- (004A4DE1) -------------------------------------------------------- bool Render::LoadTexture(const char *pName, unsigned int bMipMaps, IDirectDrawSurface4 **pOutSurface, IDirect3DTexture2 **pOutTexture) { - HRESULT v12; // eax@14 +// HRESULT v12; // eax@14 unsigned __int16 *v13; // ecx@19 unsigned __int16 *v14; // eax@19 DWORD v15; // edx@20 - HRESULT v16; // eax@23 +// HRESULT v16; // eax@23 stru350 Dst; // [sp+Ch] [bp-F8h]@12 HWLTexture* pHWLTexture = pD3DBitmaps.LoadTexture(pName, bMipMaps); @@ -6295,7 +6295,7 @@ /*int v3; // eax@5 unsigned __int16 **v4; // edi@6 char *v5; // ebx@7*/ - DDSURFACEDESC2 Dst; // [sp+Ch] [bp-7Ch]@4 +// DDSURFACEDESC2 Dst; // [sp+Ch] [bp-7Ch]@4 //v1 = this; v2 = this->uNumSceneBegins; @@ -6372,36 +6372,36 @@ unsigned int v7; // eax@6 double v8; // st5@6 double v9; // st4@6 - HRESULT v10; // eax@6 - HRESULT v11; // eax@6 - unsigned int result; // eax@6 - unsigned int v13; // eax@7 - unsigned __int16 *v14; // ecx@7 - int *v15; // eax@7 - unsigned int v16; // ecx@8 - __int16 v17; // ax@10 - int v18; // esi@10 - float v19; // edi@10 - void *v20; // esi@10 - int v21; // edx@10 - int v22; // ecx@11 - int v23; // edx@12 - __int16 v24; // ax@15 - int v25; // esi@15 - float v26; // edi@15 - char *v27; // esi@15 - int v28; // edx@15 - int v29; // ecx@16 - int v30; // edx@17 - int v31; // [sp-Ch] [bp-ACh]@11 - int v32; // [sp-Ch] [bp-ACh]@16 - const char *v33; // [sp+0h] [bp-A0h]@0 - int v34; // [sp+4h] [bp-9Ch]@0 - unsigned int v35; // [sp+8h] [bp-98h]@0 +// HRESULT v10; // eax@6 +// HRESULT v11; // eax@6 +// unsigned int result; // eax@6 +// unsigned int v13; // eax@7 +// unsigned __int16 *v14; // ecx@7 +// int *v15; // eax@7 +// unsigned int v16; // ecx@8 +// __int16 v17; // ax@10 +// int v18; // esi@10 +// float v19; // edi@10 +// void *v20; // esi@10 +// int v21; // edx@10 +// int v22; // ecx@11 +// int v23; // edx@12 +// __int16 v24; // ax@15 +// int v25; // esi@15 +// float v26; // edi@15 +// char *v27; // esi@15 +// int v28; // edx@15 +// int v29; // ecx@16 +// int v30; // edx@17 +// int v31; // [sp-Ch] [bp-ACh]@11 +// int v32; // [sp-Ch] [bp-ACh]@16 +// const char *v33; // [sp+0h] [bp-A0h]@0 +// int v34; // [sp+4h] [bp-9Ch]@0 +// unsigned int v35; // [sp+8h] [bp-98h]@0 RenderVertexD3D3 v36[4]; // [sp+Ch] [bp-94h]@6 - unsigned int v37; // [sp+8Ch] [bp-14h]@7 - int v38; // [sp+90h] [bp-10h]@7 - double v39; // [sp+94h] [bp-Ch]@6 +// unsigned int v37; // [sp+8Ch] [bp-14h]@7 +// int v38; // [sp+90h] [bp-10h]@7 +// double v39; // [sp+94h] [bp-Ch]@6 int v40; // [sp+9Ch] [bp-4h]@6 v3 = 0; @@ -6609,12 +6609,12 @@ //unsigned __int16 *v5; // edx@3 unsigned __int16 *v6; // esi@3 unsigned int v8; // eax@5 - //unsigned int v9; // ebx@5 + unsigned int v9; // ebx@5 unsigned int v11; // eax@7 unsigned int v12; // ebx@8 unsigned int v15; // eax@14 - //int v19; // [sp+10h] [bp-8h]@3 - unsigned int uOutXa; // [sp+20h] [bp+8h]@16 + int v19; // [sp+10h] [bp-8h]@3 +// unsigned int uOutXa; // [sp+20h] [bp+8h]@16 int v23; // [sp+28h] [bp+10h]@3 if ( this->uNumSceneBegins && a4 ) @@ -6623,31 +6623,35 @@ //v5 = &this->pTargetSurface[uOutX + uOutY * this->uTargetSurfacePitch]; v6 = a4->pPixels; v23 = a4->uHeight; - ///v19 = v4; + v19 = v4; if ( this->bClip ) { if ( (signed int)uOutX < (signed int)this->uClipX ) { v8 = this->uClipX - uOutX; - //v9 = uOutX - this->uClipX; + v9 = uOutX - this->uClipX; v8 *= 2; - v4 += uOutX - this->uClipX; + v4 += v9; v6 = (unsigned __int16 *)((char *)v6 + v8); //v5 = (unsigned __int16 *)((char *)v5 + v8); } if ( (signed int)uOutY < (signed int)this->uClipY ) { v11 = this->uClipY - uOutY; - v6 += a4->uWidth * v11; + v6 += v19 * v11; v23 += uOutY - this->uClipY; //v5 += this->uTargetSurfacePitch * v11; } v12 = max(this->uClipX, uOutX); if ( (signed int)(v4 + v12) > (signed int)this->uClipZ ) + { v4 = this->uClipZ - max(this->uClipX, uOutX); + } v15 = max(this->uClipY, uOutY); if ( (signed int)(v15 + v23) > (signed int)this->uClipW ) + { v23 = this->uClipW - max(this->uClipY, uOutY); + } } for (int y = 0; y < v23; y++) @@ -6659,7 +6663,7 @@ //++v5; ++v6; } - v6 += a4->uWidth - v4; + v6 += v19 - v4; //v5 += this->uTargetSurfacePitch - v4; } } @@ -6753,14 +6757,14 @@ unsigned int v14; // ebx@15 unsigned int v15; // esi@17 unsigned int v16; // edi@18 - char v17; // zf@29 +// char v17; // zf@29 int v18; // [sp+14h] [bp-Ch]@4 int v19; // [sp+18h] [bp-8h]@4 unsigned __int8 *v20; // [sp+1Ch] [bp-4h]@4 - int v21; // [sp+28h] [bp+8h]@25 - int v22; // [sp+28h] [bp+8h]@34 - unsigned int v23; // [sp+2Ch] [bp+Ch]@23 - unsigned int v24; // [sp+2Ch] [bp+Ch]@32 +// int v21; // [sp+28h] [bp+8h]@25 +// int v22; // [sp+28h] [bp+8h]@34 +// unsigned int v23; // [sp+2Ch] [bp+Ch]@23 +// unsigned int v24; // [sp+2Ch] [bp+Ch]@32 if ( this->uNumSceneBegins && a4 && a4->pPalette16 ) { @@ -7050,16 +7054,16 @@ signed int v18; // ebx@13 unsigned int v19; // edx@15 signed int v20; // esi@16 - int v21; // ebx@22 - char v22; // zf@28 - int v23; // ebx@31 +// int v21; // ebx@22 +// char v22; // zf@28 +// int v23; // ebx@31 unsigned __int16 v24; // si@35 int v25; // [sp+Ch] [bp-4h]@2 - int v26; // [sp+1Ch] [bp+Ch]@24 - int v27; // [sp+1Ch] [bp+Ch]@33 +// int v26; // [sp+1Ch] [bp+Ch]@24 +// int v27; // [sp+1Ch] [bp+Ch]@33 unsigned int v28; // [sp+20h] [bp+10h]@30 - unsigned int v29; // [sp+24h] [bp+14h]@22 - unsigned int v30; // [sp+24h] [bp+14h]@31 +// unsigned int v29; // [sp+24h] [bp+14h]@22 +// unsigned int v30; // [sp+24h] [bp+14h]@31 int a2 = x; int a3 = y; @@ -7338,12 +7342,12 @@ signed int v13; // esi@15 signed int v15; // esi@18 unsigned __int8 *v16; // ebx@22 - char v17; // zf@28 +// char v17; // zf@28 int v18; // [sp+10h] [bp-10h]@4 unsigned __int8 *v19; // [sp+18h] [bp-8h]@4 int v20; // [sp+1Ch] [bp-4h]@4 - int v21; // [sp+28h] [bp+8h]@24 - unsigned int v22; // [sp+2Ch] [bp+Ch]@22 +// int v21; // [sp+28h] [bp+8h]@24 +// unsigned int v22; // [sp+2Ch] [bp+Ch]@22 if (!uNumSceneBegins || !pTexture) return; @@ -7446,10 +7450,10 @@ unsigned int v19; // edx@20 int v20; // eax@27 int v21; // edx@29 - int v23; // [sp+Ch] [bp-Ch]@24 +// int v23; // [sp+Ch] [bp-Ch]@24 unsigned __int8 *v24; // [sp+14h] [bp-4h]@6 - int xa; // [sp+20h] [bp+8h]@26 - unsigned int ya; // [sp+24h] [bp+Ch]@24 +// int xa; // [sp+20h] [bp+8h]@26 +// unsigned int ya; // [sp+24h] [bp+Ch]@24 int Width; // [sp+2Ch] [bp+14h]@6 if ( this->uNumSceneBegins && a4 && a4->pPalette16 && a5 && a5->pPalette16 ) @@ -7554,7 +7558,7 @@ unsigned int v19; // edx@20 int v20; // eax@27 int v21; // edx@29 - int v23; // [sp+Ch] [bp-Ch]@24 +// int v23; // [sp+Ch] [bp-Ch]@24 int Height; // [sp+10h] [bp-8h]@6 int Width; // [sp+14h] [bp-4h]@6 int v27; // [sp+24h] [bp+Ch]@23 @@ -7977,12 +7981,12 @@ unsigned int v12; // esi@12 unsigned int v13; // esi@15 unsigned int v15; // esi@18 - char v17; // zf@26 +// char v17; // zf@26 int v18; // [sp+10h] [bp-10h]@4 unsigned __int8 *v19; // [sp+18h] [bp-8h]@4 int v20; // [sp+1Ch] [bp-4h]@4 - int uXa; // [sp+28h] [bp+8h]@24 - unsigned int uYa; // [sp+2Ch] [bp+Ch]@22 +// int uXa; // [sp+28h] [bp+8h]@24 +// unsigned int uYa; // [sp+2Ch] [bp+Ch]@22 if ( this->uNumSceneBegins ) { @@ -8090,7 +8094,7 @@ ObjectDesc *v5; // eax@26 RGBTexture *v6; // esi@33 const char *v8; // [sp-4h] [bp-28h]@33 - struct tagRECT Rect; // [sp+14h] [bp-10h]@15 +// struct tagRECT Rect; // [sp+14h] [bp-10h]@15 /*if ( !pRenderer->bWindowMode && (dword_6BE364_game_settings_1 & 2) ) { @@ -8684,7 +8688,7 @@ Texture *pFaceTexture; // eax@10 unsigned int v16; // edi@22 int v27; // eax@57 - int vertex_id; // eax@58 +// int vertex_id; // eax@58 unsigned int v34; // eax@80 int v40; // [sp-4h] [bp-5Ch]@2 int v49; // [sp+2Ch] [bp-2Ch]@10 @@ -9045,21 +9049,21 @@ unsigned int v6; // ecx@9 unsigned __int16 *v7; // edi@9 int j; // ecx@9 - unsigned int screen_x; // qax@18 - HRESULT v14; // eax@21 - int v15; // edi@29 - signed __int64 v16; // qax@30 - signed int v17; // edx@34 - unsigned __int16 *v18; // edi@36 - int k; // ecx@36 +// unsigned int screen_x; // qax@18 +// HRESULT v14; // eax@21 +// int v15; // edi@29 +// signed __int64 v16; // qax@30 +// signed int v17; // edx@34 +// unsigned __int16 *v18; // edi@36 +// int k; // ecx@36 DDSURFACEDESC2 Dst; // [sp+4h] [bp-A0h]@6 unsigned __int16 *pPixels; // [sp+80h] [bp-24h]@1 float interval_x; // [sp+84h] [bp-20h]@1 - unsigned __int16 *_this; // [sp+88h] [bp-1Ch]@21 + //unsigned __int16 *_this; // [sp+88h] [bp-1Ch]@21 float interval_y; // [sp+8Ch] [bp-18h]@1 - unsigned int screen_y; // [sp+90h] [bp-14h]@17 - int v28; // [sp+98h] [bp-Ch]@16 - int v29; // [sp+9Ch] [bp-8h]@15 +// unsigned int screen_y; // [sp+90h] [bp-14h]@17 +// int v28; // [sp+98h] [bp-Ch]@16 +// int v29; // [sp+9Ch] [bp-8h]@15 interval_x = game_viewport_width / (double)width; interval_y = game_viewport_height / (double)height; @@ -9326,11 +9330,11 @@ { double v6; // st7@2 //IDirect3DDevice3 *v7; // eax@2 - HRESULT v8; // eax@2 +// HRESULT v8; // eax@2 std::string v9; // [sp-18h] [bp-60h]@3 - const char *v10; // [sp-Ch] [bp-54h]@2 - const char *v11; // [sp-8h] [bp-50h]@2 - int v12; // [sp-4h] [bp-4Ch]@2 +// const char *v10; // [sp-Ch] [bp-54h]@2 +// const char *v11; // [sp-8h] [bp-50h]@2 +// int v12; // [sp-4h] [bp-4Ch]@2 RenderVertexD3D3 v13[2]; // [sp+8h] [bp-40h]@2 //if ( pRenderer->pRenderD3D ) diff -r 82851980e3d8 -r ddb803517a48 SaveLoad.cpp --- a/SaveLoad.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/SaveLoad.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -37,8 +37,8 @@ { bool v25; // esi@62 bool v26; // eax@62 - int v30; // [sp-Ch] [bp-FCh]@65 - int v31; // [sp-8h] [bp-F8h]@4 +// int v30; // [sp-Ch] [bp-FCh]@65 +// int v31; // [sp-8h] [bp-F8h]@4 SavegameHeader header; // [sp+Ch] [bp-E4h]@23 char Str[123]; // [sp+70h] [bp-80h]@25 diff -r 82851980e3d8 -r ddb803517a48 Spells.cpp --- a/Spells.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/Spells.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -365,7 +365,7 @@ int i; // esi@42 int j; // esi@60 unsigned __int64 v36; // qax@99 - SpellBuff *v37; // ecx@99 +// SpellBuff *v37; // ecx@99 int v38; // esi@103 signed __int64 v39; // qax@105 int v42; // esi@111 diff -r 82851980e3d8 -r ddb803517a48 SpriteObject.cpp --- a/SpriteObject.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/SpriteObject.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -213,13 +213,13 @@ int v7; // ecx@1 int v8; // edi@1 int v9; // eax@4 - int v17; // ST10_4@25 +// int v17; // ST10_4@25 //signed int v19; // eax@28 //Actor *v20; // edi@31 int v21; // eax@41 - int v22; // ecx@43 - __int16 v23; // bx@45 - char v24; // al@46 +// int v22; // ecx@43 +// __int16 v23; // bx@45 +// char v24; // al@46 signed int i; // edi@50 int v26; // edi@52 int v27; // eax@52 @@ -228,22 +228,22 @@ //signed int v30; // edi@59 BSPModel *bmodel; // ecx@61 ODMFace *face; // edi@61 - int v33; // eax@62 - int v34; // ecx@62 +// int v33; // eax@62 +// int v34; // ecx@62 int v35; // eax@63 int v36; // ecx@67 __int16 v37; // ax@67 int v38; // eax@72 //int v39; // eax@72 - unsigned __int64 v40; // qax@72 - int v41; // eax@72 - unsigned __int8 v42; // sf@74 - unsigned __int8 v43; // of@74 +// unsigned __int64 v40; // qax@72 +// int v41; // eax@72 +// unsigned __int8 v42; // sf@74 +// unsigned __int8 v43; // of@74 int v44; // eax@77 - __int16 v45; // bx@81 - int v46; // eax@85 - const char *v47; // [sp-8h] [bp-B0h]@83 - enum TEXTURE_TYPE v48; // [sp-4h] [bp-ACh]@46 +// __int16 v45; // bx@81 +// int v46; // eax@85 +// const char *v47; // [sp-8h] [bp-B0h]@83 +// enum TEXTURE_TYPE v48; // [sp-4h] [bp-ACh]@46 int v49; // [sp+Ch] [bp-9Ch]@52 int v50; // [sp+10h] [bp-98h]@52 Vec3_int_ v51; // [sp+14h] [bp-94h]@11 @@ -545,20 +545,20 @@ { SpriteObject *pSpriteObject; // esi@1 ObjectDesc *pObject; // edi@1 - int v9; // ecx@16 - __int16 v10; // di@18 - int v14; // ebx@34 +// int v9; // ecx@16 +// __int16 v10; // di@18 +// int v14; // ebx@34 signed int v15; // ebx@46 int v17; // eax@50 - int v18; // eax@52 - int v19; // ecx@52 - Vec3_short_ *v20; // ecx@53 +// int v18; // eax@52 +// int v19; // ecx@52 +// Vec3_short_ *v20; // ecx@53 __int16 v22; // ax@57 int v23; // edi@62 - unsigned __int8 v27; // sf@64 - unsigned __int8 v28; // of@64 - __int16 v29; // di@67 - char v30; // al@68 +// unsigned __int8 v27; // sf@64 +// unsigned __int8 v28; // of@64 +// __int16 v29; // di@67 +// char v30; // al@68 Particle_sw Dst; // [sp+Ch] [bp-84h]@18 unsigned int uFaceID; // [sp+7Ch] [bp-14h]@4 int v39; // [sp+80h] [bp-10h]@33 diff -r 82851980e3d8 -r ddb803517a48 Sprites.cpp --- a/Sprites.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/Sprites.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -60,22 +60,22 @@ unsigned int v3; // ebx@3 //char *v4; // edx@3 //int v5; // eax@3 - SpriteFrame *v6; // ecx@5 - int v7; // eax@5 +// SpriteFrame *v6; // ecx@5 +// int v7; // eax@5 __int16 v8; // ax@6 //signed int v9; // edx@6 //int v10; // ecx@6 - signed int v11; // edi@10 +// signed int v11; // edi@10 __int16 v12; // ax@16 - int v13; // ecx@16 +// int v13; // ecx@16 size_t v14; // eax@19 - signed int v15; // edi@19 - __int16 v16; // ax@27 - int v17; // ecx@27 - signed int v18; // edi@29 - SpriteFrame *v19; // eax@30 - __int16 v20; // ax@45 - int v21; // ecx@45 +// signed int v15; // edi@19 +// __int16 v16; // ax@27 +// int v17; // ecx@27 +// signed int v18; // edi@29 +// SpriteFrame *v19; // eax@30 +// __int16 v20; // ax@45 +// int v21; // ecx@45 char Str[32]; // [sp+Ch] [bp-3Ch]@19 char sprite_name[20]; // [sp+2Ch] [bp-1Ch]@15 diff -r 82851980e3d8 -r ddb803517a48 Texture.cpp --- a/Texture.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/Texture.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -606,7 +606,7 @@ //----- (0040F037) -------------------------------------------------------- signed int RGBTexture::DecodePCX(char *pPcx, unsigned __int16 *pOutPixels, unsigned int uNumPixels) { - signed int result; // eax@2 +// signed int result; // eax@2 unsigned char test_byte; // edx@3 unsigned int read_offset; // ebx@37 unsigned int row_position; // edi@40 @@ -617,7 +617,7 @@ unsigned short *temp_dec_position; PCXHeader1 psx_head1; PCXHeader2 psx_head2; - short int width, height; +// short int width, height; BYTE color_map[48]; // Colormap for 16-color images @@ -1111,18 +1111,18 @@ //----- (0040EAD8) -------------------------------------------------------- unsigned int RGBTexture::LoadFromFILE(FILE *pFile, unsigned int mode, unsigned int bCloseFile) { - signed int result; // eax@2 - unsigned char test_byte; // edx@3 +// signed int result; // eax@2 +// unsigned char test_byte; // edx@3 //unsigned int read_offset; // ebx@37 - unsigned int row_position; // edi@40 - unsigned char value; // cl@63 - char count; // [sp+50h] [bp-Ch]@43 - unsigned short current_line; // [sp+54h] [bp-8h]@38 - unsigned short *dec_position; - unsigned short *temp_dec_position; +// unsigned int row_position; // edi@40 +// unsigned char value; // cl@63 +// char count; // [sp+50h] [bp-Ch]@43 +// unsigned short current_line; // [sp+54h] [bp-8h]@38 +// unsigned short *dec_position; +// unsigned short *temp_dec_position; PCXHeader1 psx_head1; PCXHeader2 psx_head2; - short int width, height; +// short int width, height; BYTE color_map[48]; // Colormap for 16-color images unsigned int num_r_bits = 5; @@ -1314,15 +1314,15 @@ char v8; // cl@4 signed int v14; // ecx@19 signed int v15; // ecx@24 - int v16; // eax@57 - unsigned __int16 *v17; // ecx@57 - unsigned __int16 *v18; // edi@57 - signed int x; // eax@59 - unsigned __int16 *v20; // edi@64 - signed int v21; // eax@66 - unsigned __int16 *v22; // edi@71 - signed int v23; // eax@73 - int v24; // eax@78 +// int v16; // eax@57 +// unsigned __int16 *v17; // ecx@57 +// unsigned __int16 *v18; // edi@57 +// signed int x; // eax@59 +// unsigned __int16 *v20; // edi@64 +// signed int v21; // eax@66 +// unsigned __int16 *v22; // edi@71 +// signed int v23; // eax@73 +// int v24; // eax@78 char v25[48]; // [sp+Ch] [bp-54h]@3 PCXHeader1 pcx_header1; PCXHeader2 pcx_header2; diff -r 82851980e3d8 -r ddb803517a48 UI/Books/UIMapBook.cpp --- a/UI/Books/UIMapBook.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/UI/Books/UIMapBook.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -268,48 +268,48 @@ int v28; // edx@21 int v29; // eax@21 double v30; // st7@23 - signed __int64 v31; // qax@23 - unsigned short *v32; // edx@23 +// signed __int64 v31; // qax@23 +// unsigned short *v32; // edx@23 int textr_width; // esi@23 - signed int v34; // eax@23 - signed int v35; // ecx@23 - int v36; // esi@27 - int v37; // ecx@27 - int v38; // edx@31 - unsigned int v39; // eax@33 - short *v40; // esi@33 - short *v41; // edi@33 - unsigned __int8 v42; // cf@33 - unsigned int v43; // ecx@33 - short *v44; // edi@33 - short *v45; // esi@33 - int v46; // ecx@33 +// signed int v34; // eax@23 +// signed int v35; // ecx@23 +// int v36; // esi@27 +// int v37; // ecx@27 +// int v38; // edx@31 +// unsigned int v39; // eax@33 +// short *v40; // esi@33 +// short *v41; // edi@33 +// unsigned __int8 v42; // cf@33 +// unsigned int v43; // ecx@33 +// short *v44; // edi@33 +// short *v45; // esi@33 +// int v46; // ecx@33 signed int v47; // esi@38 signed int v48; // ecx@38 int v49; // eax@38 signed int v50; // edx@55 unsigned int v51; // ecx@55 - int result; // eax@72 +// int result; // eax@72 int v54; // esi@75 int v55; // eax@75 - __int16 v56; // si@85 +// __int16 v56; // si@85 double v57; // st7@85 - int v58; // ebx@85 - signed __int64 v59; // qax@85 +// int v58; // ebx@85 +// signed __int64 v59; // qax@85 signed int v60; // edi@85 - signed __int64 v61; // qax@85 +// signed __int64 v61; // qax@85 signed int v62; // ebx@85 signed int v63; // esi@85 int v64; // eax@87 - unsigned int v65; // ebx@95 - unsigned short *v66; // edx@95 - unsigned __int16 *v67; // esi@96 - int v68; // edi@98 - unsigned __int16 v69; // cx@99 - signed int v73; // [sp-4h] [bp-48068h]@59 - unsigned __int16 v74; // [sp-4h] [bp-48068h]@79 +// unsigned int v65; // ebx@95 +// unsigned short *v66; // edx@95 +// unsigned __int16 *v67; // esi@96 +// int v68; // edi@98 +// unsigned __int16 v69; // cx@99 +// signed int v73; // [sp-4h] [bp-48068h]@59 +// unsigned __int16 v74; // [sp-4h] [bp-48068h]@79 //unsigned short map_texture_16[320 * 460 + 256]; // [sp+Ch] [bp-48058h]@23 - int v76; // [sp+4800Ch] [bp-58h]@23 +// int v76; // [sp+4800Ch] [bp-58h]@23 //unsigned __int16 *v77; // [sp+48010h] [bp-54h]@27 unsigned __int16 *pPalette_16; // [sp+48014h] [bp-50h]@23 int map_tile_X; // [sp+48020h] [bp-44h]@23 @@ -335,7 +335,7 @@ unsigned int v95; // [sp+48058h] [bp-Ch]@16 int map_tile_Y; // [sp+4805Ch] [bp-8h]@10 const void *v97; // [sp+48060h] [bp-4h]@16 - unsigned short *a4a; // [sp+4806Ch] [bp+8h]@85 +// unsigned short *a4a; // [sp+4806Ch] [bp+8h]@85 //int a5a; // [sp+48070h] [bp+Ch]@86 screenCenter_X = (signed int)(tl_x + br_x) / 2; diff -r 82851980e3d8 -r ddb803517a48 UI/Books/UISpellBook.cpp --- a/UI/Books/UISpellBook.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/UI/Books/UISpellBook.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -75,7 +75,7 @@ unsigned int pX_coord; // esi@18 unsigned int pY_coord; // edi@18 Texture *pPageTexture; // eax@21 - signed int v22; // [sp-4h] [bp-24h]@22 +// signed int v22; // [sp-4h] [bp-24h]@22 POINT a2; // [sp+18h] [bp-8h]@13 static unsigned int texture_tab_coord1[9][2]= diff -r 82851980e3d8 -r ddb803517a48 UI/UICharacter.cpp --- a/UI/UICharacter.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/UI/UICharacter.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -733,7 +733,7 @@ int index; // eax@65 int v59; // ebx@129 unsigned int v75; // ebx@170 - int pArmorShoulderNum; // eax@197 +// int pArmorShoulderNum; // eax@197 int v94; // ebx@214 unsigned int v127; // ebx@314 unsigned int v153; // eax@370 @@ -1541,7 +1541,7 @@ void CharacterUI_InventoryTab_Draw(Player *player, bool a2) { Texture *pTexture; // esi@6 - int v13; // eax@13 +// int v13; // eax@13 //int v15; // eax@13 unsigned int v17; // edi@15 unsigned int uCellX; // [sp+30h] [bp-8h]@5 @@ -1674,21 +1674,21 @@ { int v3; // ebx@10 Player *pPlayer; // edi@12 - int v6; // edi@16 - unsigned int v7; // eax@16 - Player *pPlayer2; // ebx@16 - char *v9; // ebx@16 - unsigned int v22; // eax@76 - int v23; // ecx@76 - unsigned int v24; // eax@78 - int v25; // ecx@78 - unsigned int v27; // eax@80 - int v28; // ecx@80 +// int v6; // edi@16 +// unsigned int v7; // eax@16 +// Player *pPlayer2; // ebx@16 +// char *v9; // ebx@16 +// unsigned int v22; // eax@76 +// int v23; // ecx@76 +// unsigned int v24; // eax@78 +// int v25; // ecx@78 +// unsigned int v27; // eax@80 +// int v28; // ecx@80 signed int v32; // [sp+10h] [bp-28h]@75 signed int v33; // [sp+10h] [bp-28h]@77 - int v34; // [sp+10h] [bp-28h]@79 +// int v34; // [sp+10h] [bp-28h]@79 int pItemTXTNum; // [sp+14h] [bp-24h]@75 - int v37; // [sp+14h] [bp-24h]@77 +// int v37; // [sp+14h] [bp-24h]@77 signed int v38; // [sp+14h] [bp-24h]@79 char pContainer[128]; // [sp+24h] [bp-14h]@12 @@ -2329,12 +2329,12 @@ int v17; // eax@44 unsigned int v18; // ecx@55 unsigned int v19; // eax@55 - unsigned int v22; // eax@61 +// unsigned int v22; // eax@61 int v23; // eax@62 int v26; // eax@69 int v34; // esi@90 ItemGen _this; // [sp+Ch] [bp-40h]@1 - unsigned int v48; // [sp+30h] [bp-1Ch]@88 +// unsigned int v48; // [sp+30h] [bp-1Ch]@88 unsigned int v50; // [sp+38h] [bp-14h]@50 int v51; // [sp+3Ch] [bp-10h]@1 int v52; // [sp+40h] [bp-Ch]@5 diff -r 82851980e3d8 -r ddb803517a48 UI/UIGuilds.cpp --- a/UI/UIGuilds.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/UI/UIGuilds.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -20,7 +20,7 @@ int v6; // esi@13 signed int v7; // esi@17 int v8; // esi@22 - const char *statusbar_string; // ecx@26 +// const char *statusbar_string; // ecx@26 int v13; // ecx@30 ItemGen *v15; // ST18_4@31 int v17; // eax@31 diff -r 82851980e3d8 -r ddb803517a48 UI/UIHouses.cpp --- a/UI/UIHouses.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/UI/UIHouses.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -765,19 +765,19 @@ { signed int uOpenTime; // eax@5 signed int uCloseTime; // esi@5 - unsigned int v5; // esi@5 - int v6; // edx@5 +// unsigned int v5; // esi@5 +// int v6; // edx@5 signed int am_pm_flag_open; // ecx@10 signed int am_pm_flag_close; // eax@10 - int v9; // esi@10 - int v11; // ecx@17 - unsigned int v12; // kr00_4@25 - int v14; // eax@25 +// int v9; // esi@10 +// int v11; // ecx@17 +// unsigned int v12; // kr00_4@25 +// int v14; // eax@25 unsigned int v17; // eax@37 signed int v18; // edi@37 signed int v19; // edi@41 char pContainer[40]; // [sp+Ch] [bp-30h]@32 - unsigned int v24; // [sp+34h] [bp-8h]@5 +// unsigned int v24; // [sp+34h] [bp-8h]@5 GameUI_Footer_TimedString[0] = 0; pFooterString[0] = 0; @@ -909,8 +909,8 @@ void PrepareHouse(HOUSE_ID house) { __int16 uExitMapID; // ax@2 - int v7; // ebx@11 - int v13; // [sp+30h] [bp-30h]@11 +// int v7; // ebx@11 +// int v13; // [sp+30h] [bp-30h]@11 int npc_id_arr[6]; // [sp+34h] [bp-2Ch]@1 int uAnimationID; // [sp+50h] [bp-10h]@1 @@ -1883,7 +1883,7 @@ int pSkillCount; signed int pOptionsCount; // edi@77 signed int i; // esi@79 - signed int v53; // edi@81 +// signed int v53; // edi@81 int v54; // edi@81 const char *pText; // [sp-4h] [bp-278h]@93 char pTopic1[100]; // [sp+Ch] [bp-268h]@55 @@ -2203,7 +2203,7 @@ unsigned int v30; // edx@36 int v35; // edi@50 GUIButton *pButton; // edi@64 - int v47; // edi@71 +// int v47; // edi@71 GUIWindow tample_window; // [sp+13Ch] [bp-88h]@1 unsigned __int8 index; // [sp+1B7h] [bp-Dh]@64 int v64; // [sp+1B8h] [bp-Ch]@6 @@ -2466,7 +2466,7 @@ signed int v10; // esi@6 int pPrice; // ecx@6 signed int v14; // esi@14 - int v16; // eax@16 +// int v16; // eax@16 int v19; // ecx@24 int v33; // eax@36 unsigned int v36; // eax@38 @@ -2697,14 +2697,14 @@ int pPrice; // ebx@1 unsigned int v5; // esi@5 int v6; // edi@6 - int result; // eax@13 +// int result; // eax@13 int all_text_height; // eax@20 - int v13; // eax@21 +// int v13; // eax@21 GUIButton *pButton; // esi@27 - unsigned int v16; // eax@28 +// unsigned int v16; // eax@28 int pTextHeight; // eax@29 unsigned __int16 pTextColor; // ax@29 - unsigned __int16 v22; // ST14_2@36 +// unsigned __int16 v22; // ST14_2@36 int v27; // [sp-4h] [bp-80h]@8 GUIWindow dialog_window; // [sp+Ch] [bp-70h]@1 int v32; // [sp+6Ch] [bp-10h]@1 diff -r 82851980e3d8 -r ddb803517a48 UI/UIPartyCreation.cpp --- a/UI/UIPartyCreation.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/UI/UIPartyCreation.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -85,7 +85,7 @@ PLAYER_SKILL_TYPE pSkillId; // edi@72 size_t pLenText; // eax@72 signed int v104; // ecx@72 - int pTextY; // ST08_4@81 +// int pTextY; // ST08_4@81 signed int pBonusNum; // edi@82 const char *uRaceName; // [sp+0h] [bp-170h]@39 char pText[200]; // [sp+10h] [bp-160h]@14 @@ -536,7 +536,7 @@ //int pControlParam; // esi@12 signed int v8; // edi@30 int v9; // edx@31 - char *v10; // ebx@37 +// char *v10; // ebx@37 ItemGen item; // [sp+Ch] [bp-74h]@37 char v20[32]; // [sp+30h] [bp-50h]@29 MSG Msg; // [sp+50h] [bp-30h]@17 diff -r 82851980e3d8 -r ddb803517a48 UI/UIPopup.cpp --- a/UI/UIPopup.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/UI/UIPopup.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -428,20 +428,20 @@ //----- (0041E360) -------------------------------------------------------- void MonsterPopup_Draw(unsigned int uActorID, GUIWindow *pWindow) { - int v8; // eax@4 +// int v8; // eax@4 unsigned __int16 v9; // dx@4 SpriteFrame *v10; // edi@17 unsigned int v18; // ecx@19 unsigned int v19; // eax@21 - char *v20; // esi@28 - int v21; // edx@29 - unsigned __int16 *v22; // ecx@29 - int v23; // eax@29 - int v25; // esi@32 - char *v26; // edx@34 - unsigned __int8 v27; // sf@36 - unsigned __int8 v28; // of@36 - SpellBuff *v40; // eax@60 +// char *v20; // esi@28 +// int v21; // edx@29 +// unsigned __int16 *v22; // ecx@29 +// int v23; // eax@29 +// int v25; // esi@32 +// char *v26; // edx@34 +// unsigned __int8 v27; // sf@36 +// unsigned __int8 v28; // of@36 +// SpellBuff *v40; // eax@60 int skill_points; // edi@61 unsigned int skill_level; // eax@61 int pTextHeight; // edi@90 @@ -454,9 +454,9 @@ unsigned char resistances[11]; // [sp+124h] [bp-C8h]@127 RenderBillboardTransform_local0 v106; // [sp+150h] [bp-9Ch]@3 unsigned int v107; // [sp+1A0h] [bp-4Ch]@18 - unsigned __int16 *v108; // [sp+1A4h] [bp-48h]@34 - unsigned int v109; // [sp+1A8h] [bp-44h]@32 - LPVOID v110; // [sp+1ACh] [bp-40h]@28 +// unsigned __int16 *v108; // [sp+1A4h] [bp-48h]@34 +// unsigned int v109; // [sp+1A8h] [bp-44h]@32 +// LPVOID v110; // [sp+1ACh] [bp-40h]@28 bool for_effects; // [sp+1C0h] [bp-2Ch]@3 bool normal_level; // [sp+1D0h] [bp-1Ch]@18 bool expert_level; // [sp+1C4h] [bp-28h]@18 @@ -464,7 +464,7 @@ bool grandmaster_level; // [sp+1B4h] [bp-38h]@3 const char *pText; // [sp+1D4h] [bp-18h]@18 int pTextColorID; // [sp+1E4h] [bp-8h]@18 - int a4; // [sp+1E8h] [bp-4h]@18 +// int a4; // [sp+1E8h] [bp-4h]@18 int v115; bool monster_full_informations = false; diff -r 82851980e3d8 -r ddb803517a48 UI/UISaveLoad.cpp --- a/UI/UISaveLoad.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/UI/UISaveLoad.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -20,7 +20,7 @@ //----- (004601B7) -------------------------------------------------------- static void UI_DrawSaveLoad(bool save) { - const char *pSlotName; // edi@36 +// const char *pSlotName; // edi@36 GUIWindow save_load_window; // [sp+Ch] [bp-78h]@8 unsigned int pSaveFiles; // [sp+70h] [bp-14h]@10 unsigned __int64 full_hours; diff -r 82851980e3d8 -r ddb803517a48 UI/UIShops.cpp --- a/UI/UIShops.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/UI/UIShops.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -1737,7 +1737,7 @@ void ShowPopupShopItem() { int v3; // ecx@5 - unsigned int v6; // eax@13 +// unsigned int v6; // eax@13 ItemGen *v7; // ecx@13 POINT cursor; // [sp+30h] [bp-1Ch]@17 diff -r 82851980e3d8 -r ddb803517a48 UI/UiGame.cpp --- a/UI/UiGame.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/UI/UiGame.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -357,7 +357,7 @@ int v45; unsigned __int16 pTextColor; // ax@104 GUIWindow window; // [sp+ACh] [bp-68h]@42 - GUIFont *pOutString; // [sp+10Ch] [bp-8h]@39 +// GUIFont *pOutString; // [sp+10Ch] [bp-8h]@39 const char *pInString=NULL; // [sp+110h] [bp-4h]@32 if ( !pDialogueWindow ) @@ -1147,20 +1147,20 @@ GUIButton *pButton; // ecx@11 int v7; // ecx@19 enum UIMessageType pMessageType1; // esi@24 - int v14; // eax@41 +// int v14; // eax@41 ItemGen *pItemGen; // ecx@44 int v16; // ecx@46 signed int v18; // eax@55 signed int v18b; signed int v19; // ecx@63 const char *pText; // ecx@79 - char *v28; // esi@82 - enum UIMessageType pMessageType2; // esi@110 - enum UIMessageType pMessageType3; // edx@117 +// char *v28; // esi@82 +// enum UIMessageType pMessageType2; // esi@110 +// enum UIMessageType pMessageType3; // edx@117 char Str1[200]; // [sp+Ch] [bp-D4h]@129 unsigned int pX; // [sp+D4h] [bp-Ch]@1 unsigned int pY; // [sp+D8h] [bp-8h]@1 - unsigned int v45; // [sp+DCh] [bp-4h]@21 +// unsigned int v45; // [sp+DCh] [bp-4h]@21 int interaction_distance_limit = 512; int monster_info_distance_limit = 5120; diff -r 82851980e3d8 -r ddb803517a48 VideoPlayer.cpp --- a/VideoPlayer.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/VideoPlayer.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -67,13 +67,13 @@ _BINKBUF *VideoPlayer::CreateBinkBuffer(unsigned int uWidth, unsigned int uHeight, char a4) { _BINKBUF *v5; // esi@3 - HRESULT v6; // eax@5 +// HRESULT v6; // eax@5 IDirectDrawSurface *v7; // eax@6 - HRESULT v8; // eax@9 +// HRESULT v8; // eax@9 DDSURFACEDESC2 v11; // [sp+Ch] [bp-108h]@7 - DDSURFACEDESC Dst; // [sp+88h] [bp-8Ch]@3 +// DDSURFACEDESC Dst; // [sp+88h] [bp-8Ch]@3 IDirectDrawSurface4 *v15; // [sp+108h] [bp-Ch]@7 - IDirectDrawSurface2 *a2; // [sp+10Ch] [bp-8h]@3 +// IDirectDrawSurface2 *a2; // [sp+10Ch] [bp-8h]@3 //if (pVersion->pVersionInfo.dwPlatformId != VER_PLATFORM_WIN32_NT || //pVersion->pVersionInfo.dwMajorVersion >= 5u ) @@ -195,7 +195,7 @@ //----- (004C0133) -------------------------------------------------------- bool BinkLockBuffer(_BINKBUF *_this) { - IDirectDrawSurface *v2; // edi@5 +// IDirectDrawSurface *v2; // edi@5 IDirectDrawSurface4 *v6; // edi@11 //if ( pVersion->pVersionInfo.dwPlatformId != VER_PLATFORM_WIN32_NT || pVersion->pVersionInfo.dwMajorVersion >= 5u ) @@ -289,7 +289,7 @@ if ( !pVideoPlayer->bStopBeforeSchedule ) PlayFullscreenMovie(MOVIE_Intro, true); } - char pContainerName[64]; +// char pContainerName[64]; tex.Load("mm6title.pcx", 2); pRenderer->BeginScene(); @@ -1074,7 +1074,7 @@ //----- (004BF411) -------------------------------------------------------- void VideoPlayer::OpenGlobalMovie(const char *pFilename, unsigned int bLoop, int a4) { - unsigned int v10; // eax@11 +// unsigned int v10; // eax@11 if (!this->bBufferLoaded) { diff -r 82851980e3d8 -r ddb803517a48 VideoPlayer.h --- a/VideoPlayer.h Wed Apr 02 20:53:47 2014 +0600 +++ b/VideoPlayer.h Wed Apr 02 21:05:19 2014 +0600 @@ -790,7 +790,7 @@ if (frame->Type() == AVMEDIA_TYPE_AUDIO) { //continue; - uint8_t *data; +// uint8_t *data; if (frame->Decode() >= 0) { auto f = frame->GetAVFrame(); diff -r 82851980e3d8 -r ddb803517a48 Viewport.cpp --- a/Viewport.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/Viewport.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -266,9 +266,9 @@ unsigned int pTextureID; // eax@19 int pEventID; // ecx@21 int v15; // ecx@29 - signed int v16; // edx@30 - int v18; // ebx@47 - signed int v21; // eax@58 +// signed int v16; // edx@30 +// int v18; // ebx@47 +// signed int v21; // eax@58 SpriteObject a1; // [sp+Ch] [bp-80h]@1 POINT a2; // [sp+84h] [bp-8h]@3 diff -r 82851980e3d8 -r ddb803517a48 Vis.cpp --- a/Vis.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/Vis.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -30,10 +30,10 @@ //----- (004C1026) -------------------------------------------------------- Vis_ObjectInfo *Vis::DetermineFacetIntersection(BLVFace *face, unsigned int pid, float pick_depth) { - char *v4; // eax@4 - signed int v5; // ecx@4 +// char *v4; // eax@4 +// signed int v5; // ecx@4 RenderVertexSoft pRay[2]; // [sp+20h] [bp-70h]@17 - int v20; // [sp+84h] [bp-Ch]@10 +// int v20; // [sp+84h] [bp-Ch]@10 static Vis_SelectionList SelectedPointersList;//stru_F8FE00 SelectedPointersList.uNumPointers = 0; @@ -198,9 +198,9 @@ //----- (004C1495) -------------------------------------------------------- void Vis::GetPolygonScreenSpaceCenter(RenderVertexSoft *vertices, int num_vertices, float *out_center_x, float *out_center_y) { - char *v5; // eax@2 - signed int v6; // ecx@2 - float *result; // eax@5 +// char *v5; // eax@2 +// signed int v6; // ecx@2 +// float *result; // eax@5 static RenderVertexSoft static_sub_4C1495_array_F8DDF8[64]; @@ -238,26 +238,26 @@ double v5; // st7@2 float v6; // ecx@2 float v7; // ST00_4@3 - __int16 v8; // fps@6 +// __int16 v8; // fps@6 double v9; // st6@6 - char v10; // c0@6 - char v11; // c2@6 - char v12; // c3@6 - __int16 v13; // fps@7 +// char v10; // c0@6 +// char v11; // c2@6 +// char v12; // c3@6 +// __int16 v13; // fps@7 double v14; // st6@7 - unsigned __int8 v15; // c0@7 - char v16; // c2@7 - unsigned __int8 v17; // c3@7 - __int16 v18; // fps@8 +// unsigned __int8 v15; // c0@7 +// char v16; // c2@7 +// unsigned __int8 v17; // c3@7 +// __int16 v18; // fps@8 double v19; // st6@8 - char v20; // c0@8 - char v21; // c2@8 - char v22; // c3@8 - __int16 v23; // fps@9 +// char v20; // c0@8 +// char v21; // c2@8 +// char v22; // c3@8 +// __int16 v23; // fps@9 double v24; // st6@9 - unsigned __int8 v25; // c0@9 - char v26; // c2@9 - unsigned __int8 v27; // c3@9 +// unsigned __int8 v25; // c0@9 +// char v26; // c2@9 +// unsigned __int8 v27; // c3@9 float v28; // [sp+4h] [bp-8h]@2 float v29; // [sp+8h] [bp-4h]@2 float a1a; // [sp+14h] [bp+8h]@2 @@ -305,10 +305,10 @@ { int v5; // eax@1 signed int pFaceID; // edi@2 - int v8; // ecx@7 +// int v8; // ecx@7 int v9; // eax@7 unsigned int *pNumPointers; // eax@7 - unsigned int v11; // ecx@7 +// unsigned int v11; // ecx@7 Vis_ObjectInfo *v12; // edi@7 RenderVertexSoft a1; // [sp+Ch] [bp-44h]@1 BLVFace *pFace; // [sp+3Ch] [bp-14h]@7 @@ -591,7 +591,7 @@ int v5; // esi@10 bool v6; // edi@10 signed int v10; // ebx@14 - int v15; // [sp+10h] [bp-Ch]@10 +// int v15; // [sp+10h] [bp-Ch]@10 signed int v16; // [sp+18h] [bp-4h]@10 int a = 0, b = 0; @@ -970,7 +970,7 @@ unsigned int more_lz_val; // ebx@4 unsigned int less_lz_val; // ebx@6 Vis_ObjectInfo *temp_pointer; // eax@7 - Vis_ObjectInfo *a3a; // [sp+14h] [bp+Ch]@2 +// Vis_ObjectInfo *a3a; // [sp+14h] [bp+Ch]@2 sort_start = start; @@ -1294,13 +1294,13 @@ //int v6; // ecx@2 //char v7; // zf@3 int v8; // esi@5 - std::string *v9; // ecx@7 +// std::string *v9; // ecx@7 Actor *v10; // edi@18 //const char *v12; // [sp-20h] [bp-2Ch]@7 - int v13; // [sp-1Ch] [bp-28h]@7 +// int v13; // [sp-1Ch] [bp-28h]@7 //std::string v14; // [sp-18h] [bp-24h]@7 //const char *v15; // [sp-8h] [bp-14h]@7 - int v16; // [sp-4h] [bp-10h]@7 +// int v16; // [sp-4h] [bp-10h]@7 switch (filter->object_type) { @@ -1397,27 +1397,27 @@ //float v7; // ST00_4@7 //int v8; // eax@10 //unsigned int v9; // eax@12 - int v10; // eax@17 - double v11; // st6@18 - double v12; // st7@18 - double v13; // st4@18 - float v14; // ST0C_4@22 - float v15; // ST08_4@22 +// int v10; // eax@17 +// double v11; // st6@18 +// double v12; // st7@18 +// double v13; // st4@18 +// float v14; // ST0C_4@22 +// float v15; // ST08_4@22 //float v16; // ST04_4@23 //float v17; // ST00_4@24 //signed int v18; // eax@27 //unsigned int v19; // eax@29 - double v20; // st6@32 - double v21; // st7@32 - int v22; // eax@32 - double v23; // st7@36 +// double v20; // st6@32 +// double v21; // st7@32 +// int v22; // eax@32 +// double v23; // st7@36 //void *v24; // esi@40 - float v25; // ST08_4@40 +// float v25; // ST08_4@40 //float v26; // ST04_4@41 //float v27; // ST00_4@42 - int v28; // eax@45 - unsigned int v29; // eax@47 - char result; // al@48 +// int v28; // eax@45 +// unsigned int v29; // eax@47 +// char result; // al@48 struct RenderVertexSoft pPickingRay[2]; //int v31; // [sp+20h] [bp-DCh]@5 struct RenderVertexSoft local_80[2]; @@ -1430,7 +1430,7 @@ float t2_x; float t2_y; float swap_temp; - int v37; // [sp+F0h] [bp-Ch]@5 +// int v37; // [sp+F0h] [bp-Ch]@5 signed int v40; // [sp+108h] [bp+Ch]@17 diff -r 82851980e3d8 -r ddb803517a48 mm7_2.cpp --- a/mm7_2.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/mm7_2.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -377,17 +377,17 @@ { int v0; // edi@1 char *v1; // eax@7 - Player *v2; // edi@9 +// Player *v2; // edi@9 int v3; // eax@10 signed int v4; // esi@10 //signed __int64 v5; // qax@18 signed int v6; // ebx@34 //char *v7; // edi@34 - int v8; // eax@37 +// int v8; // eax@37 //int v9; // esi@43 //int v10; // eax@44 - unsigned __int8 v11; // sf@44 - unsigned __int8 v12; // of@44 +// unsigned __int8 v11; // sf@44 +// unsigned __int8 v12; // of@44 signed int v13; // eax@49 int v14; // esi@49 int v15; // edx@50 @@ -395,8 +395,8 @@ signed int v17; // ecx@51 int v18; // edx@53 int i; // edi@55 - int monster_y; // ST18_4@56 - int v21; // eax@56 +// int monster_y; // ST18_4@56 +// int v21; // eax@56 signed int v22; // [sp-4h] [bp-144h]@51 __int16 v23[100]; // [sp+Ch] [bp-134h]@39 GUIWindow window; // [sp+D4h] [bp-6Ch]@1 @@ -665,9 +665,9 @@ { const char *v1; // eax@2 unsigned int result; // eax@3 - Player *v3; // eax@7 - const char *v4; // ST24_4@9 - int v5; // eax@9 +// Player *v3; // eax@7 +// const char *v4; // ST24_4@9 +// int v5; // eax@9 const char *v6; // eax@10 const char *v7; // edx@10 const char *v8; // ecx@12 @@ -682,7 +682,7 @@ unsigned int v18; // [sp+B4h] [bp-1Ch]@5 unsigned int v19; // [sp+B8h] [bp-18h]@5 int v20; // [sp+BCh] [bp-14h]@7 - Player *i; // [sp+C0h] [bp-10h]@7 +// Player *i; // [sp+C0h] [bp-10h]@7 GUIFont *pFont; // [sp+C4h] [bp-Ch]@1 unsigned __int64 v23; // [sp+C8h] [bp-8h]@5 @@ -853,7 +853,7 @@ unsigned int widthRatio; // [sp+Ch] [bp-7Ch]@218 unsigned int heightRatio; // [sp+14h] [bp-74h]@12 unsigned int widthRatioPlusOne; // [sp+14h] [bp-74h]@218 - int v160; // [sp+3Ch] [bp-4Ch]@13 +// int v160; // [sp+3Ch] [bp-4Ch]@13 unsigned __int16 *v175; // [sp+4Ch] [bp-3Ch]@13 unsigned __int16 *v193; // [sp+5Ch] [bp-2Ch]@7 //signed int v231; // [sp+78h] [bp-10h]@7 @@ -970,15 +970,15 @@ //SpawnPointMM7 *v6; // ebx@1 int v7; // eax@2 char v8; // zf@5 - int v9; // edi@9 - int v10; // eax@9 - int v11; // ecx@9 +// int v9; // edi@9 +// int v10; // eax@9 +// int v11; // ecx@9 int v12; // edx@9 - int v13; // eax@9 - int v14; // eax@14 - int v15; // ecx@14 - int v16; // eax@19 - int v17; // ecx@19 +// int v13; // eax@9 +// int v14; // eax@14 +// int v15; // ecx@14 +// int v16; // eax@19 +// int v17; // ecx@19 int v18; // esi@31 //int pPosX; // ecx@32 //int v20; // edx@32 @@ -987,22 +987,22 @@ int v23; // edx@36 signed int v24; // edi@36 int v25; // ecx@36 - unsigned __int16 v26; // ax@47 +// unsigned __int16 v26; // ax@47 MonsterDesc *v27; // edi@48 signed int v28; // eax@48 - __int16 v29; // cx@50 - __int16 v30; // ax@50 - __int16 v31; // ax@50 +// __int16 v29; // cx@50 +// __int16 v30; // ax@50 +// __int16 v31; // ax@50 int v32; // eax@50 - int v33; // edi@50 - int v34; // eax@50 - int v35; // eax@50 - int v36; // eax@50 +// int v33; // edi@50 +// int v34; // eax@50 +// int v35; // eax@50 +// int v36; // eax@50 int v37; // eax@51 int v38; // eax@52 int v39; // edi@52 std::string v40; // [sp-18h] [bp-100h]@60 - void *v41; // [sp-14h] [bp-FCh]@50 +// void *v41; // [sp-14h] [bp-FCh]@50 //void *v42; // [sp-10h] [bp-F8h]@50 //size_t v43; // [sp-Ch] [bp-F4h]@50 const char *v44; // [sp-8h] [bp-F0h]@13 @@ -1375,7 +1375,7 @@ int v7; // esi@1 signed int v8; // edi@1 unsigned __int16 v9; // cx@1 - char *v10; // edx@2 +// char *v10; // edx@2 unsigned __int16 v11; // ax@5 SpriteObject a1; // [sp+8h] [bp-70h]@1 @@ -1946,7 +1946,7 @@ unsigned int temp_str_len; char* tmp_pos; int decode_step; - int item_counter; +// int item_counter; if ( pHostileTXT_Raw ) free(pHostileTXT_Raw); @@ -2055,8 +2055,8 @@ signed int v6; // esi@14 //char *v7; // edx@15 signed int v8; // ecx@16 - int v9; // ecx@23 - MonsterInfo *v10; // ebx@23 +// int v9; // ecx@23 +// MonsterInfo *v10; // ebx@23 //int *v11; // esi@23 int v12; // esi@25 int v13; // eax@26 @@ -2207,11 +2207,11 @@ { GUIButton *pButton; // eax@27 unsigned int pControlParam; // ecx@35 - int v10; // ecx@36 - int v11; // ecx@37 +// int v10; // ecx@36 +// int v11; // ecx@37 unsigned int pY; // [sp-18h] [bp-54h]@39 Texture *pTexture; // [sp-14h] [bp-50h]@39 - GUIButton *pButton2; // [sp+0h] [bp-3Ch]@27 +// GUIButton *pButton2; // [sp+0h] [bp-3Ch]@27 GUIWindow *pWindow; // [sp+4h] [bp-38h]@11 pCurrentScreen = SCREEN_GAME; @@ -3902,27 +3902,27 @@ char *v11; // edx@20 unsigned __int16 v12; // ax@23 int v13; // eax@27 - unsigned int v14; // ebx@33 +// unsigned int v14; // ebx@33 int v16; // eax@36 - unsigned int v17; // eax@37 +// unsigned int v17; // eax@37 __int16 v18; // di@37 signed int v19; // edx@37 - unsigned __int8 v20; // sf@37 - char *v21; // ecx@38 +// unsigned __int8 v20; // sf@37 +// char *v21; // ecx@38 unsigned __int16 v22; // ax@41 - unsigned int v23; // eax@46 +// unsigned int v23; // eax@46 signed int v24; // ebx@46 char *v25; // edx@47 int v26; // edx@54 int v27; // edx@55 int v28; // edx@56 int v29; // edx@57 - unsigned __int16 v30; // ax@60 - unsigned int v31; // ecx@60 - int v32; // edi@60 - unsigned int v33; // eax@65 +// unsigned __int16 v30; // ax@60 +// unsigned int v31; // ecx@60 +// int v32; // edi@60 +// unsigned int v33; // eax@65 signed int v34; // edx@65 - char *v35; // ecx@66 +// char *v35; // ecx@66 unsigned __int16 v36; // ax@69 int v37; // ST14_4@72 int v38; // eax@72 @@ -3939,66 +3939,66 @@ int v49; // edx@88 int v50; // edx@89 signed int v52; // ebx@93 - char *v53; // edx@94 - unsigned __int16 v54; // ax@98 - unsigned int v55; // ecx@98 +// char *v53; // edx@94 +// unsigned __int16 v54; // ax@98 +// unsigned int v55; // ecx@98 signed int v56; // ebx@98 - char *v57; // edx@99 +// char *v57; // edx@99 unsigned __int16 v58; // ax@102 unsigned __int16 v59; // ax@107 - unsigned int v60; // ecx@107 +// unsigned int v60; // ecx@107 signed int v61; // ebx@107 - char *v62; // edx@108 +// char *v62; // edx@108 unsigned __int16 v63; // ax@111 int v64; // ebx@114 signed int v65; // eax@114 - unsigned int v66; // edi@123 - unsigned __int16 v67; // ax@124 - unsigned int v68; // ecx@124 +// unsigned int v66; // edi@123 +// unsigned __int16 v67; // ax@124 +// unsigned int v68; // ecx@124 signed int v69; // ebx@124 - char *v70; // edx@125 +// char *v70; // edx@125 unsigned __int16 v71; // ax@128 unsigned int v72; // ebx@131 int v78; // eax@133 char v79; // zf@139 - unsigned int v80; // eax@140 +// unsigned int v80; // eax@140 signed int v81; // edx@140 - char *v82; // ecx@141 +// char *v82; // ecx@141 unsigned __int16 v83; // ax@144 - unsigned __int16 v84; // ax@151 - unsigned int v85; // ecx@151 +// unsigned __int16 v84; // ax@151 +// unsigned int v85; // ecx@151 signed int v86; // ebx@151 - char *v87; // edx@152 +// char *v87; // edx@152 unsigned __int16 v88; // ax@155 unsigned int v89; // eax@158 int v90; // ST34_4@159 int v91; // eax@159 unsigned int v92; // eax@163 - unsigned int v93; // eax@177 - char *v94; // ecx@178 +// unsigned int v93; // eax@177 +// char *v94; // ecx@178 unsigned __int16 v95; // ax@181 unsigned __int16 v96; // ax@184 int v97; // eax@185 - unsigned __int16 v98; // ax@191 +// unsigned __int16 v98; // ax@191 char v100; // ST18_1@198 int v102; // eax@198 signed int v106; // eax@208 unsigned int v107; // edx@220 signed int v108; // ebx@225 - unsigned int v109; // eax@234 +// unsigned int v109; // eax@234 signed int v110; // ebx@234 - char *v111; // ecx@235 +// char *v111; // ecx@235 unsigned __int16 v112; // ax@238 unsigned __int16 v113; // si@241 int v114; // eax@242 int v115; // eax@245 - unsigned __int16 v117; // ax@251 - unsigned int v118; // ecx@251 +// unsigned __int16 v117; // ax@251 +// unsigned int v118; // ecx@251 signed int v119; // ebx@251 - char *v120; // edx@252 +// char *v120; // edx@252 unsigned __int16 v121; // ax@255 - unsigned int v122; // eax@260 - char *v123; // edx@261 +// unsigned int v122; // eax@260 +// char *v123; // edx@261 int v124; // eax@267 int v125; // [sp-20h] [bp-4Ch]@28 char v132; // [sp-8h] [bp-34h]@131 @@ -4008,11 +4008,11 @@ int v137; // [sp+10h] [bp-1Ch]@208 signed int v138; // [sp+14h] [bp-18h]@207 signed int v139; // [sp+18h] [bp-14h]@208 - char *v140; // [sp+1Ch] [bp-10h]@61 +// char *v140; // [sp+1Ch] [bp-10h]@61 signed int v141; // [sp+1Ch] [bp-10h]@117 unsigned int v142; // [sp+1Ch] [bp-10h]@158 signed int v143; // [sp+1Ch] [bp-10h]@172 - char *v144; // [sp+1Ch] [bp-10h]@192 +// char *v144; // [sp+1Ch] [bp-10h]@192 signed int v146; // [sp+20h] [bp-Ch]@60 int v147; // [sp+20h] [bp-Ch]@72 signed int v148; // [sp+20h] [bp-Ch]@158 diff -r 82851980e3d8 -r ddb803517a48 mm7_3.cpp --- a/mm7_3.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/mm7_3.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -631,8 +631,8 @@ int v5; // eax@10 int v6; // ecx@10 signed int v8; // ebx@17 - unsigned __int8 v10; // sf@17 - unsigned __int16 v11; // ax@21 +// unsigned __int8 v10; // sf@17 +// unsigned __int16 v11; // ax@21 __int16 v20; // ax@42 int v25; // eax@45 signed int v26; // ecx@50 @@ -649,12 +649,12 @@ int v46; // ecx@82 signed int v47; // ebx@85 int v48; // edi@85 - int v55; // eax@107 - unsigned int v56; // edi@107 - int v57; // ST10_4@107 +// int v55; // eax@107 +// unsigned int v56; // edi@107 +// int v57; // ST10_4@107 unsigned int v58; // edi@107 unsigned int v59; // ebx@107 - signed int v60; // eax@107 +// signed int v60; // eax@107 int v61; // eax@124 Vec3_int_ v62; // [sp+Ch] [bp-44h]@42 int v63; // [sp+18h] [bp-38h]@64 @@ -975,18 +975,18 @@ //----- (0047253E) -------------------------------------------------------- void UpdateObjects() { - unsigned int v0; // ebx@0 +// unsigned int v0; // ebx@0 ObjectDesc *object; // eax@5 int v5; // ecx@6 - __int16 v6; // cx@7 +// __int16 v6; // cx@7 signed int v7; // eax@9 signed int v11; // eax@17 int v12; // edi@27 - int v13; // eax@27 - int v14; // ebx@27 - unsigned int v15; // ecx@27 - unsigned int v16; // edx@30 - unsigned int v17; // edx@32 +// int v13; // eax@27 +// int v14; // ebx@27 +// unsigned int v15; // ecx@27 +// unsigned int v16; // edx@30 +// unsigned int v17; // edx@32 int v18; // [sp+4h] [bp-10h]@27 int v19; // [sp+8h] [bp-Ch]@27 @@ -1422,7 +1422,7 @@ int v12; // ST14_4@11 Vec3_int_ *v14; // [sp+Ch] [bp-18h]@1 Vec3_int_ *v15; // [sp+14h] [bp-10h]@1 - int v16; // [sp+18h] [bp-Ch]@2 +// int v16; // [sp+18h] [bp-Ch]@2 int v17; // [sp+20h] [bp-4h]@10 int a4b; // [sp+30h] [bp+Ch]@2 int a4c; // [sp+30h] [bp+Ch]@9 @@ -1556,7 +1556,7 @@ int v26; // esi@8 int *v27; // edi@10 int v28; // esi@10 - int result; // eax@12 +// int result; // eax@12 __int64 v30; // [sp+A8h] [bp-30h]@8 float v31; // [sp+B0h] [bp-28h]@6 float v32; // [sp+B4h] [bp-24h]@6 @@ -1705,7 +1705,7 @@ int v26; // esi@8 int *v27; // edi@10 int v28; // esi@10 - int result; // eax@12 +// int result; // eax@12 __int64 v30; // [sp+A8h] [bp-30h]@8 float v31; // [sp+B0h] [bp-28h]@6 float v32; // [sp+B4h] [bp-24h]@6 @@ -1842,9 +1842,9 @@ int v14; // esi@13 char *v15; // esi@15 //signed int v16; // eax@16 - __int16 v17; // fps@16 - unsigned __int8 v18; // c2@16 - unsigned __int8 v19; // c3@16 +// __int16 v17; // fps@16 +// unsigned __int8 v18; // c2@16 +// unsigned __int8 v19; // c3@16 double v20; // st6@16 float v21; // ST18_4@17 float v22; // ST2C_4@17 @@ -2141,7 +2141,7 @@ int v3; // ecx@4 int v4; // eax@4 int v5; // edx@4 - int v6; // ST14_4@5 +// int v6; // ST14_4@5 Vec3_int_ thisa; // [sp+Ch] [bp-10h]@8 int v11; // [sp+18h] [bp-4h]@4 @@ -2887,7 +2887,7 @@ int v18; // ST14_4@44 //double v19; // ST0C_8@44 signed int v20; // [sp+10h] [bp-4h]@10 - float a3a; // [sp+1Ch] [bp+8h]@33 +// float a3a; // [sp+1Ch] [bp+8h]@33 //float a3b; // [sp+1Ch] [bp+8h]@34 float a3c; // [sp+1Ch] [bp+8h]@44 //float a3d; // [sp+1Ch] [bp+8h]@44 @@ -3122,7 +3122,7 @@ //----- (0048257A) -------------------------------------------------------- int __fastcall GetTerrainHeightsAroundParty2(int a1, int a2, int *pIsOnWater, int bFloatAboveWater) { - int result; // eax@9 +// int result; // eax@9 int v8; // ebx@11 int v9; // eax@11 int v10; // ecx@11 @@ -3325,13 +3325,13 @@ { __int16 result; // ax@1 int v2; // ebx@1 - char *v3; // esi@1 - int v4; // edi@4 +// char *v3; // esi@1 +// int v4; // edi@4 bool v5; // ecx@4 SpriteFrame *pFrame; // eax@6 //SpriteFrame *v7; // edi@6 int v8; // eax@6 - unsigned __int16 v9; // ax@6 +// unsigned __int16 v9; // ax@6 RenderBillboardTransform_local0 v10; // [sp+Ch] [bp-5Ch]@1 int v11; // [sp+5Ch] [bp-Ch]@6 int v12; // [sp+60h] [bp-8h]@1 @@ -3630,10 +3630,10 @@ void LoadLevel_InitializeLevelStr() { - char Args[100]; +// char Args[100]; int string_num; int max_string_length; - int current_string_length; +// int current_string_length; int prev_string_offset; if (sizeof(pLevelStrOffsets) != 2000) @@ -3690,15 +3690,15 @@ //----- (00443FDC) -------------------------------------------------------- void OnMapLoad() { - __int16 v4; // cx@9 +// __int16 v4; // cx@9 int v6; // eax@9 unsigned __int64 v8; // qax@26 - unsigned int v9; // ecx@26 +// unsigned int v9; // ecx@26 unsigned __int64 v10; // qax@26 unsigned __int64 v11; // qax@26 unsigned __int64 v13; // qax@26 unsigned __int64 v14; // qax@26 - int v15; // ST58_4@26 +// int v15; // ST58_4@26 unsigned __int64 v16; // qax@26 int hours; // ebx@26 unsigned __int64 v18; // [sp+Ch] [bp-44h]@12 @@ -3710,10 +3710,10 @@ int v26; // [sp+3Ch] [bp-14h]@15 unsigned int days; // [sp+3Ch] [bp-14h]@26 unsigned int months; // [sp+40h] [bp-10h]@26 - __int16 v29; // [sp+46h] [bp-Ah]@9 - __int16 v30; // [sp+48h] [bp-8h]@9 - __int16 v32; // [sp+4Ch] [bp-4h]@9 - __int16 v33; // [sp+4Eh] [bp-2h]@9 +// __int16 v29; // [sp+46h] [bp-Ah]@9 +// __int16 v30; // [sp+48h] [bp-8h]@9 +// __int16 v32; // [sp+4Ch] [bp-4h]@9 +// __int16 v33; // [sp+4Eh] [bp-2h]@9 for (uint i = 0; i < uLevelEVT_NumEvents; ++i) { diff -r 82851980e3d8 -r ddb803517a48 mm7_4.cpp --- a/mm7_4.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/mm7_4.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -249,20 +249,20 @@ int *v8; // ecx@10 int v9; // edi@15 signed int v10; // eax@15 - __int16 *v11; // edx@16 - int v12; // eax@20 +// __int16 *v11; // edx@16 +// int v12; // eax@20 int numberOfActorsAffected; // ebx@20 unsigned int v14; // esi@21 //unsigned int v15; // ecx@21 //unsigned int v16; // eax@21 - int v18; // eax@21 +// int v18; // eax@21 signed int v19; // eax@21 bool recovery_HP; // ebx@25 - ITEM_EQUIP_TYPE v22; // edi@30 +// ITEM_EQUIP_TYPE v22; // edi@30 signed int v25; // eax@33 - int v26; // eax@35 - int v27; // eax@36 - int v28; // eax@37 +// int v26; // eax@35 +// int v27; // eax@36 +// int v28; // eax@37 signed int v31; // ecx@53 int actorsAffectedByImmolation[100]; // [sp+4h] [bp-22Ch]@20 SpriteObject a1; // [sp+194h] [bp-9Ch]@15 @@ -544,7 +544,7 @@ { signed __int64 v0; // qax@1 unsigned int v4; // edi@1 - signed int v12; // edi@29 +// signed int v12; // edi@29 int v24; // ecx@60 int v26; // ecx@64 int v28; // ecx@68 @@ -557,9 +557,9 @@ int v42; // ecx@96 bool v43; // ebx@102 bool v46; // edi@111 - unsigned int v56; // [sp-8h] [bp-38h]@55 - int v59; // [sp-4h] [bp-34h]@55 - unsigned int v61; // [sp+14h] [bp-1Ch]@1 +// unsigned int v56; // [sp-8h] [bp-38h]@55 +// int v59; // [sp-4h] [bp-34h]@55 +// unsigned int v61; // [sp+14h] [bp-1Ch]@1 signed int a2a; // [sp+18h] [bp-18h]@47 signed int old_day; // [sp+1Ch] [bp-14h]@47 signed int old_hour; @@ -1021,12 +1021,12 @@ void *v5; // eax@10 FILE *v6; // ST0C_4@12 char *i; // eax@12 - __int16 v8; // ax@15 - const char *v9; // ST10_4@15 - unsigned __int16 v10; // ax@15 - const char *v11; // ST0C_4@15 +// __int16 v8; // ax@15 +// const char *v9; // ST10_4@15 +// unsigned __int16 v10; // ax@15 +// const char *v11; // ST0C_4@15 int j; // esi@15 - int v13; // eax@17 +// int v13; // eax@17 int v14; // edx@22 int v15; // ecx@23 int v16; // eax@24 @@ -1692,18 +1692,18 @@ void OracleDialogue() { __int16 *v0; // edi@1 - int v1; // ebx@3 - Player *v2; // esi@3 - int v3; // eax@4 +// int v1; // ebx@3 +// Player *v2; // esi@3 +// int v3; // eax@4 signed int v4; // eax@9 int v5; // ebx@11 - Player *v6; // esi@13 - ItemGen *v7; // eax@14 +// Player *v6; // esi@13 +// ItemGen *v7; // eax@14 signed int v8; // edi@14 ItemGen *v9; // [sp+Ch] [bp-Ch]@11 signed int v10; // [sp+10h] [bp-8h]@13 int v11; // [sp+14h] [bp-4h]@1 - Player *v12; // [sp+14h] [bp-4h]@11 +// Player *v12; // [sp+14h] [bp-4h]@11 contract_approved = 0; v11 = 0; diff -r 82851980e3d8 -r ddb803517a48 mm7_5.cpp --- a/mm7_5.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/mm7_5.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -49,12 +49,12 @@ int target_type; // eax@6 int v10; // edi@8 Vec3_int_ attacker_coord; // ST04_12@9 - int v12; // ST0C_4@10 +// int v12; // ST0C_4@10 int v15; // edx@15 int v19; // edi@15 int v23; // edx@18 int v24; // eax@18 - int v30; // eax@29 +// int v30; // eax@29 int v31; // edx@29 int v32; // eax@29 int v33; // ST24_4@29 @@ -337,7 +337,7 @@ //----- (0043F5C8) -------------------------------------------------------- int __fastcall _43F5C8_get_point_light_level_with_respect_to_lights(unsigned int uBaseLightLevel, int uSectorID, float x, float y, float z) { - int v5; // esi@1 +// int v5; // esi@1 signed int v6; // edi@1 int v8; // eax@6 int v9; // ebx@6 @@ -347,23 +347,23 @@ signed int v13; // ecx@12 BLVLightMM7 *v16; // esi@20 int v17; // ebx@21 - int v18; // eax@24 - int v19; // ebx@24 - unsigned int v20; // ecx@24 - int v21; // edx@25 - unsigned int v22; // edx@27 - unsigned int v23; // edx@29 +// int v18; // eax@24 +// int v19; // ebx@24 +// unsigned int v20; // ecx@24 +// int v21; // edx@25 +// unsigned int v22; // edx@27 +// unsigned int v23; // edx@29 signed int v24; // ecx@30 int v26; // ebx@35 - int v27; // eax@38 - int v28; // ebx@38 - unsigned int v29; // ecx@38 - int v30; // edx@39 - unsigned int v31; // edx@41 - unsigned int v32; // edx@43 +// int v27; // eax@38 +// int v28; // ebx@38 +// unsigned int v29; // ecx@38 +// int v30; // edx@39 +// unsigned int v31; // edx@41 +// unsigned int v32; // edx@43 //signed int v33; // ecx@44 int v37; // [sp+Ch] [bp-18h]@37 - int v38; // [sp+10h] [bp-14h]@5 +// int v38; // [sp+10h] [bp-14h]@5 int v39; // [sp+10h] [bp-14h]@23 int v40; // [sp+10h] [bp-14h]@36 int v42; // [sp+14h] [bp-10h]@22 @@ -479,20 +479,20 @@ bool __fastcall sub_4070EF_prolly_detect_player(unsigned int uObjID, unsigned int uObj2ID) { signed int v2; // eax@1 - int v5; // ecx@2 +// int v5; // ecx@2 int obj1_sector; // eax@4 float v8; // ST24_4@5 - double v9; // ST18_8@5 - int v11; // ecx@6 +// double v9; // ST18_8@5 +// int v11; // ecx@6 signed int v12; // eax@7 - int v13; // esi@7 - int v14; // esi@8 - int v15; // esi@9 +// int v13; // esi@7 +// int v14; // esi@8 +// int v15; // esi@9 int obj2_z; // edi@11 int obj2_x; // esi@11 int obj2_sector; // eax@13 float v20; // ST24_4@14 - double v21; // ST18_8@14 +// double v21; // ST18_8@14 int dist_x; // ebx@16 signed int dist_3d; // ecx@16 int v25; // eax@18 @@ -503,10 +503,10 @@ int v33; // ST54_4@44 int v34; // eax@44 signed int v38; // esi@45 - signed __int64 v40; // qtt@50 +// signed __int64 v40; // qtt@50 __int16 next_sector; // bx@58 - int v43; // [sp-8h] [bp-70h]@11 - int v44; // [sp-4h] [bp-6Ch]@11 +// int v43; // [sp-8h] [bp-70h]@11 +// int v44; // [sp-4h] [bp-6Ch]@11 int v47; // [sp+18h] [bp-50h]@20 int v48; // [sp+1Ch] [bp-4Ch]@20 int v49; // [sp+20h] [bp-48h]@20 @@ -913,8 +913,8 @@ //void *v4; // esi@5 //int *v5; // edi@5 //int v6; // eax@5 - int v7; // ecx@6 - int v11; // [sp+18h] [bp-8h]@1 +// int v7; // ecx@6 +// int v11; // [sp+18h] [bp-8h]@1 //void *v12; // [sp+1Ch] [bp-4h]@5 if ( pIcons_LOD->dword_011BA4 && pTex->uDecompressedSize ) @@ -949,8 +949,8 @@ {//срабатывает в покупке в магазине void *v4; // eax@3 //int *v5; // edi@5 - int v6; // ecx@6 - int v9; // [sp+18h] [bp-4h]@1 +// int v6; // ecx@6 +// int v9; // [sp+18h] [bp-4h]@1 if ( pIcons_LOD->dword_011BA4 && a2->uDecompressedSize ) v4 = a2->UnzipPalette(); diff -r 82851980e3d8 -r ddb803517a48 mm7_6.cpp --- a/mm7_6.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/mm7_6.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -39,31 +39,31 @@ stru319 *v5; // esi@1 int v6; // eax@2 int v7; // eax@4 - int result; // eax@5 - int *v9; // edx@8 - signed int v10; // ebx@10 - int v11; // edi@11 +// int result; // eax@5 +// int *v9; // edx@8 +// signed int v10; // ebx@10 +// int v11; // edi@11 //Actor *v12; // esi@12 //unsigned __int16 v13; // ax@12 - int v14; // eax@22 +// int v14; // eax@22 //char v15; // zf@30 - int v16; // esi@32 - int v17; // ecx@34 - stru319 *v18; // eax@39 - int v19; // edx@39 - int v20; // ecx@41 - unsigned __int16 v21; // ax@42 - unsigned int v22; // [sp+8h] [bp-24h]@11 +// int v16; // esi@32 +// int v17; // ecx@34 +// stru319 *v18; // eax@39 +// int v19; // edx@39 +// int v20; // ecx@41 +// unsigned __int16 v21; // ax@42 +// unsigned int v22; // [sp+8h] [bp-24h]@11 //unsigned int v23; // [sp+Ch] [bp-20h]@7 stru319 *v24; // [sp+10h] [bp-1Ch]@1 - unsigned int v25; // [sp+14h] [bp-18h]@8 - int *v26; // [sp+18h] [bp-14h]@8 - int v27; // [sp+1Ch] [bp-10h]@10 - int *v28; // [sp+20h] [bp-Ch]@10 +// unsigned int v25; // [sp+14h] [bp-18h]@8 +// int *v26; // [sp+18h] [bp-14h]@8 +// int v27; // [sp+1Ch] [bp-10h]@10 +// int *v28; // [sp+20h] [bp-Ch]@10 //unsigned int v29; // [sp+24h] [bp-8h]@7 - int v30; // [sp+28h] [bp-4h]@6 - int i; // [sp+38h] [bp+Ch]@33 - signed int v32; // [sp+3Ch] [bp+10h]@32 +// int v30; // [sp+28h] [bp-4h]@6 +// int i; // [sp+38h] [bp+Ch]@33 +// signed int v32; // [sp+3Ch] [bp+10h]@32 v4 = 0; v5 = this; diff -r 82851980e3d8 -r ddb803517a48 stru6.cpp --- a/stru6.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/stru6.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -55,11 +55,11 @@ //----- (0042620A) -------------------------------------------------------- bool sr_42620A(RenderVertexSoft *p) { - __int16 v1; // fps@1 +// __int16 v1; // fps@1 unsigned __int8 v2; // c0@2 char v3; // c2@2 unsigned __int8 v4; // c3@2 - bool result; // eax@2 +// bool result; // eax@2 unsigned __int8 v6; // c0@4 char v7; // c2@4 unsigned __int8 v8; // c3@4 @@ -771,7 +771,7 @@ { //stru6 *v2; // ebx@1 int result; // eax@1 - int v4; // eax@27 +// int v4; // eax@27 //unsigned int diffuse; // esi@41 //int v6; // ecx@49 int v7; // eax@54 @@ -792,7 +792,7 @@ //SpriteObject *v22; // [sp-8h] [bp-20h]@81 //unsigned int v23; // [sp-4h] [bp-1Ch]@4 //unsigned int v24; // [sp-4h] [bp-1Ch]@5 - unsigned int v25; // [sp-4h] [bp-1Ch]@30 +// unsigned int v25; // [sp-4h] [bp-1Ch]@30 //unsigned int v26; // [sp-4h] [bp-1Ch]@57 //unsigned int v27; // [sp-4h] [bp-1Ch]@66 //int v28; // [sp-4h] [bp-1Ch]@81 @@ -1427,14 +1427,14 @@ double v13; // st7@9 double v14; // st7@9 double v15; // st6@9 - HRESULT v16; // eax@9 - HRESULT v17; // eax@9 - signed __int64 v18; // qtt@10 - const char *v19; // [sp+4h] [bp-E8h]@0 - int v20; // [sp+8h] [bp-E4h]@0 - unsigned int v21; // [sp+Ch] [bp-E0h]@0 +// HRESULT v16; // eax@9 +// HRESULT v17; // eax@9 +// signed __int64 v18; // qtt@10 +// const char *v19; // [sp+4h] [bp-E8h]@0 +// int v20; // [sp+8h] [bp-E4h]@0 +// unsigned int v21; // [sp+Ch] [bp-E0h]@0 RenderVertexD3D3 vd3d[4]; // [sp+60h] [bp-8Ch]@9 - int v24; // [sp+E0h] [bp-Ch]@10 +// int v24; // [sp+E0h] [bp-Ch]@10 SpriteFrame *v70; // [sp+E4h] [bp-8h]@8 unsigned int v26; // [sp+E8h] [bp-4h]@3 diff -r 82851980e3d8 -r ddb803517a48 stru9.cpp --- a/stru9.cpp Wed Apr 02 20:53:47 2014 +0600 +++ b/stru9.cpp Wed Apr 02 21:05:19 2014 +0600 @@ -27,7 +27,7 @@ signed int v21; // [sp+1Ch] [bp-Ch]@7 //RenderVertexSoft *a2; // [sp+20h] [bp-8h]@8 //stru9 *thisa; // [sp+24h] [bp-4h]@1 - signed int a3a; // [sp+38h] [bp+10h]@12 +// signed int a3a; // [sp+38h] [bp+10h]@12 //int a3b; // [sp+38h] [bp+10h]@25 //__debugbreak();