# HG changeset patch
# User Ritor1
# Date 1431526152 -21600
# Node ID 5d6fb8eb023c065ef2c6c5551b71b6f275270588
# Parent bbef1435eb8d2c764110ead70d8046f9a247e043# Parent f2a8ed07e921515aed74647c2681f5d5b32795d6
Слияние
diff -r f2a8ed07e921 -r 5d6fb8eb023c Build/Visual Studio 2012/World of Might and Magic.vcxproj
--- a/Build/Visual Studio 2012/World of Might and Magic.vcxproj Wed May 13 11:31:58 2015 +0200
+++ b/Build/Visual Studio 2012/World of Might and Magic.vcxproj Wed May 13 20:09:12 2015 +0600
@@ -93,8 +93,8 @@
+
-
@@ -152,15 +152,24 @@
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
@@ -168,10 +177,10 @@
-
-
+
+
@@ -253,10 +262,10 @@
+
-
@@ -312,7 +321,6 @@
-
@@ -324,15 +332,24 @@
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
@@ -340,10 +357,10 @@
-
-
+
+
diff -r f2a8ed07e921 -r 5d6fb8eb023c Build/Visual Studio 2012/World of Might and Magic.vcxproj.filters
--- a/Build/Visual Studio 2012/World of Might and Magic.vcxproj.filters Wed May 13 11:31:58 2015 +0200
+++ b/Build/Visual Studio 2012/World of Might and Magic.vcxproj.filters Wed May 13 20:09:12 2015 +0600
@@ -109,6 +109,9 @@
{740b8731-e3ff-44cb-b6c8-85a64c7cbfc0}
+
+ {6dd9bc0c-a6d9-40ea-9eb9-d0f38abd514b}
+
@@ -441,9 +444,6 @@
Engine
-
- Engine
-
Engine
@@ -490,15 +490,6 @@
GUI\NewUI
-
- GUI\UI\Books
-
-
- GUI\UI\Books
-
-
- GUI\UI\Books
-
GUI\UI
@@ -508,12 +499,6 @@
GUI\UI
-
- GUI\UI
-
-
- GUI\UI
-
GUI\UI
@@ -574,6 +559,51 @@
Media
+
+ Engine
+
+
+ Game
+
+
+ Game
+
+
+ Game
+
+
+ GUI\UI
+
+
+ GUI\UI
+
+
+ GUI\UI\Books
+
+
+ GUI\UI\Books
+
+
+ GUI\UI\Books
+
+
+ GUI\UI\Books
+
+
+ GUI\UI\Books
+
+
+ GUI\UI\Books
+
+
+ GUI\UI\Books
+
+
+ GUI\UI
+
+
+ GUI\UI
+
@@ -1140,9 +1170,6 @@
Engine
-
- Engine
-
Engine
@@ -1173,9 +1200,6 @@
Engine
-
- Engine
-
Engine
@@ -1234,15 +1258,6 @@
GUI\NewUI
-
- GUI\UI\Books
-
-
- GUI\UI\Books
-
-
- GUI\UI\Books
-
GUI\UI
@@ -1255,12 +1270,6 @@
GUI\UI
-
- GUI\UI
-
-
- GUI\UI
-
GUI\UI
@@ -1321,6 +1330,51 @@
Media
+
+ Engine
+
+
+ Game
+
+
+ Game
+
+
+ Game
+
+
+ GUI\UI
+
+
+ GUI\UI
+
+
+ GUI\UI\Books
+
+
+ GUI\UI\Books
+
+
+ GUI\UI\Books
+
+
+ GUI\UI\Books
+
+
+ GUI\UI\Books
+
+
+ GUI\UI\Books
+
+
+ GUI\UI\Books
+
+
+ GUI\UI
+
+
+ GUI\UI
+
diff -r f2a8ed07e921 -r 5d6fb8eb023c GUI/GUIWindow.cpp
--- a/GUI/GUIWindow.cpp Wed May 13 11:31:58 2015 +0200
+++ b/GUI/GUIWindow.cpp Wed May 13 20:09:12 2015 +0600
@@ -1246,7 +1246,7 @@
}
//GUIWindow* pWindow = &pWindowList[uNextFreeWindowID];
- pWindowList[uNextFreeWindowID] = this;
+ pWindowList[uNextFreeWindowID] = this;//sometimes uNextFreeWindowID == 20. it's result crash
this->uFrameWidth = uWidth;
this->uFrameHeight = uHeight;
diff -r f2a8ed07e921 -r 5d6fb8eb023c Media/Audio/AudioPlayer.cpp
--- a/Media/Audio/AudioPlayer.cpp Wed May 13 11:31:58 2015 +0200
+++ b/Media/Audio/AudioPlayer.cpp Wed May 13 20:09:12 2015 +0600
@@ -1425,7 +1425,6 @@
double v11; // st7@13
SpriteObject *v12; // eax@14
Actor *v13; // eax@15
-// signed int v14; // edx@15
BLVDoor *pDoor; // eax@19
double v16; // st7@22
double v17; // st6@22
@@ -1439,8 +1438,6 @@
int v25; // eax@32
float v26; // ST10_4@34
float v27; // ST08_4@34
-// 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
@@ -1449,11 +1446,7 @@
float v58; // [sp+60h] [bp-Ch]@23
int v59; // [sp+64h] [bp-8h]@4
- //pAudioPlayer = this;
v2 = 0;
- //thisa = this;
- //v3 = this->bPlayerReady == 0;
- //a1.flt_2C = 0.0;
if (!bPlayerReady)
return;
@@ -1515,11 +1508,11 @@
v19 = *(float *)&uNumRepeats * v56 + v58 * v55;
v20 = v58 * v56 - *(float *)&uNumRepeats * v55;
}
- /*else
- {
- v19 = v58 * v55 - *(float *)&uNumRepeats * v56;
- v20 = v58 * v56 + *(float *)&uNumRepeats * v55;
- }*/
+ //else
+ // {
+ // v19 = v58 * v55 - *(float *)&uNumRepeats * v56;
+ // v20 = v58 * v56 + *(float *)&uNumRepeats * v55;
+ //}
a1.vWorldViewPosition.x = v19 * v16 - v18 * v17;
a1.vWorldViewPosition.y = v20;
a1.vWorldViewPosition.z = v19 * v17 + v18 * v16;
@@ -1533,11 +1526,11 @@
a1.vWorldViewPosition.x = *(float *)&uNumRepeats * v56 + v58 * v55;
v21 = v58 * v56 - *(float *)&uNumRepeats * v55;
}
- /*else
- {
- a1.vWorldViewPosition.x = v58 * v55 - *(float *)&uNumRepeats * v56;
- v21 = v58 * v56 + *(float *)&uNumRepeats * v55;
- }*/
+ //else
+ //{
+ // a1.vWorldViewPosition.x = v58 * v55 - *(float *)&uNumRepeats * v56;
+ // v21 = v58 * v56 + *(float *)&uNumRepeats * v55;
+ //}
a1.vWorldViewPosition.y = v21;
a1.vWorldViewPosition.z = a1.vWorldPosition.z - (double)pParty->vPosition.z;
}
@@ -1586,11 +1579,11 @@
v19 = *(float *)&uNumRepeats * v56 + v58 * v55;
v20 = v58 * v56 - *(float *)&uNumRepeats * v55;
}
- /*else
- {
- v19 = v58 * v55 - *(float *)&uNumRepeats * v56;
- v20 = v58 * v56 + *(float *)&uNumRepeats * v55;
- }*/
+ //else
+ //{
+ // v19 = v58 * v55 - *(float *)&uNumRepeats * v56;
+ // v20 = v58 * v56 + *(float *)&uNumRepeats * v55;
+ //}
a1.vWorldViewPosition.x = v19 * v16 - v18 * v17;
a1.vWorldViewPosition.y = v20;
a1.vWorldViewPosition.z = v19 * v17 + v18 * v16;
@@ -1604,11 +1597,11 @@
a1.vWorldViewPosition.x = *(float *)&uNumRepeats * v56 + v58 * v55;
v21 = v58 * v56 - *(float *)&uNumRepeats * v55;
}
- /*else
- {
- a1.vWorldViewPosition.x = v58 * v55 - *(float *)&uNumRepeats * v56;
- v21 = v58 * v56 + *(float *)&uNumRepeats * v55;
- }*/
+ //else
+ //{
+ // a1.vWorldViewPosition.x = v58 * v55 - *(float *)&uNumRepeats * v56;
+ // v21 = v58 * v56 + *(float *)&uNumRepeats * v55;
+ //}
a1.vWorldViewPosition.y = v21;
a1.vWorldViewPosition.z = a1.vWorldPosition.z - (double)pParty->vPosition.z;
}
@@ -1660,11 +1653,11 @@
v19 = *(float *)&uNumRepeats * v56 + v58 * v55;
v20 = v58 * v56 - *(float *)&uNumRepeats * v55;
}
- /*else
- {
- v19 = v58 * v55 - *(float *)&uNumRepeats * v56;
- v20 = v58 * v56 + *(float *)&uNumRepeats * v55;
- }*/
+ //else
+ // {
+ // v19 = v58 * v55 - *(float *)&uNumRepeats * v56;
+ // v20 = v58 * v56 + *(float *)&uNumRepeats * v55;
+ //}
a1.vWorldViewPosition.x = v19 * v16 - v18 * v17;
a1.vWorldViewPosition.y = v20;
a1.vWorldViewPosition.z = v19 * v17 + v18 * v16;
@@ -1678,11 +1671,11 @@
a1.vWorldViewPosition.x = *(float *)&uNumRepeats * v56 + v58 * v55;
v21 = v58 * v56 - *(float *)&uNumRepeats * v55;
}
- /*else
- {
- a1.vWorldViewPosition.x = v58 * v55 - *(float *)&uNumRepeats * v56;
- v21 = v58 * v56 + *(float *)&uNumRepeats * v55;
- }*/
+ //else
+ //{
+ //a1.vWorldViewPosition.x = v58 * v55 - *(float *)&uNumRepeats * v56;
+ //v21 = v58 * v56 + *(float *)&uNumRepeats * v55;
+ //}
a1.vWorldViewPosition.y = v21;
a1.vWorldViewPosition.z = a1.vWorldPosition.z - (double)pParty->vPosition.z;
}
@@ -1758,11 +1751,11 @@
v19 = *(float *)&uNumRepeats * v56 + v58 * v55;
v20 = v58 * v56 - *(float *)&uNumRepeats * v55;
}
- /*else
- {
- v19 = v58 * v55 - *(float *)&uNumRepeats * v56;
- v20 = v58 * v56 + *(float *)&uNumRepeats * v55;
- }*/
+ //else
+ //{
+ // v19 = v58 * v55 - *(float *)&uNumRepeats * v56;
+ // v20 = v58 * v56 + *(float *)&uNumRepeats * v55;
+ //}
a1.vWorldViewPosition.x = v19 * v16 - v18 * v17;
a1.vWorldViewPosition.y = v20;
a1.vWorldViewPosition.z = v19 * v17 + v18 * v16;
@@ -1776,11 +1769,11 @@
a1.vWorldViewPosition.x = *(float *)&uNumRepeats * v56 + v58 * v55;
v21 = v58 * v56 - *(float *)&uNumRepeats * v55;
}
- /*else
- {
- a1.vWorldViewPosition.x = v58 * v55 - *(float *)&uNumRepeats * v56;
- v21 = v58 * v56 + *(float *)&uNumRepeats * v55;
- }*/
+ //else
+ //{
+ // a1.vWorldViewPosition.x = v58 * v55 - *(float *)&uNumRepeats * v56;
+ // v21 = v58 * v56 + *(float *)&uNumRepeats * v55;
+ //}
a1.vWorldViewPosition.y = v21;
a1.vWorldViewPosition.z = a1.vWorldPosition.z - (double)pParty->vPosition.z;
}