# HG changeset patch
# User Ritor1
# Date 1358020071 -21600
# Node ID 89240115d392d17949c8b424cc65793437281c96
# Parent 98b091cbabf730842439546fd178503d66c11d73
MainMenuBtn(work)
diff -r 98b091cbabf7 -r 89240115d392 Debug/AIL.obj
Binary file Debug/AIL.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Actor.obj
Binary file Debug/Actor.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Allocator.obj
Binary file Debug/Allocator.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Arcomage.obj
Binary file Debug/Arcomage.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/AudioPlayer.obj
Binary file Debug/AudioPlayer.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/BSPModel.obj
Binary file Debug/BSPModel.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Bink_Smacker.obj
Binary file Debug/Bink_Smacker.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/CL.read.1.tlog
Binary file Debug/CL.read.1.tlog has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/CL.write.1.tlog
Binary file Debug/CL.write.1.tlog has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Chest.obj
Binary file Debug/Chest.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/DecalBuilder.obj
Binary file Debug/DecalBuilder.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Events.obj
Binary file Debug/Events.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/FrameTableInc.obj
Binary file Debug/FrameTableInc.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/GUIButton.obj
Binary file Debug/GUIButton.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/GUIFont.obj
Binary file Debug/GUIFont.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/GUIProgressBar.obj
Binary file Debug/GUIProgressBar.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/GUIWindow.obj
Binary file Debug/GUIWindow.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Game.obj
Binary file Debug/Game.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/GameUIs.obj
Binary file Debug/GameUIs.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/GammaControl.obj
Binary file Debug/GammaControl.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Indoor.obj
Binary file Debug/Indoor.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/IndoorCamera.obj
Binary file Debug/IndoorCamera.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/IndoorCameraD3D.obj
Binary file Debug/IndoorCameraD3D.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Items.obj
Binary file Debug/Items.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Keyboard.obj
Binary file Debug/Keyboard.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/LOD.obj
Binary file Debug/LOD.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/LayingItem.obj
Binary file Debug/LayingItem.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/LightmapBuilder.obj
Binary file Debug/LightmapBuilder.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/LightsStack.obj
Binary file Debug/LightsStack.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Log.obj
Binary file Debug/Log.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/MM7.exe
Binary file Debug/MM7.exe has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/MM7.exe.embed.manifest
--- a/Debug/MM7.exe.embed.manifest Sat Jan 12 11:30:46 2013 +0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff -r 98b091cbabf7 -r 89240115d392 Debug/MM7.exe.embed.manifest.res
Binary file Debug/MM7.exe.embed.manifest.res has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/MM7.exe.intermediate.manifest
--- a/Debug/MM7.exe.intermediate.manifest Sat Jan 12 11:30:46 2013 +0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff -r 98b091cbabf7 -r 89240115d392 Debug/MM7.ilk
Binary file Debug/MM7.ilk has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/MM7.lastbuildstate
--- a/Debug/MM7.lastbuildstate Sat Jan 12 11:30:46 2013 +0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#v4.0:v100
-Debug|Win32|D:\Моя папка\MM7 original\|
diff -r 98b091cbabf7 -r 89240115d392 Debug/MM7.log
--- a/Debug/MM7.log Sat Jan 12 11:30:46 2013 +0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-Построение начато 12.01.2013 9:43:01.
- 1>Проект "D:\Моя папка\MM7 original\MM7.vcxproj" в узле 2 (целевые объекты build).
- 1>InitializeBuildStatus:
- Создание "Debug\MM7.unsuccessfulbuild", так как было задано "AlwaysCreate".
- ClCompile:
- Для всех выходных данных обновления не требуется.
- Для всех выходных данных обновления не требуется.
- ResourceCompile:
- Для всех выходных данных обновления не требуется.
- ManifestResourceCompile:
- Для всех выходных данных обновления не требуется.
- Link:
- Для всех выходных данных обновления не требуется.
- Manifest:
- Для всех выходных данных обновления не требуется.
- FinalizeBuildStatus:
- Файл "Debug\MM7.unsuccessfulbuild" удаляется.
- Обращение к "Debug\MM7.lastbuildstate".
- 1>Построение проекта "D:\Моя папка\MM7 original\MM7.vcxproj" завершено (целевые объекты build).
-
-Построение успешно завершено.
-
-Затраченное время: 00:00:00.12
diff -r 98b091cbabf7 -r 89240115d392 Debug/MM7.pdb
Binary file Debug/MM7.pdb has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/MM7_manifest.rc
Binary file Debug/MM7_manifest.rc has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Might and Magic Trilogy.res
Binary file Debug/Might and Magic Trilogy.res has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Monsters.obj
Binary file Debug/Monsters.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Mouse.obj
Binary file Debug/Mouse.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/OSAPI.obj
Binary file Debug/OSAPI.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Outdoor.obj
Binary file Debug/Outdoor.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Overlays.obj
Binary file Debug/Overlays.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/PaletteManager.obj
Binary file Debug/PaletteManager.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/ParticleEngine.obj
Binary file Debug/ParticleEngine.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Party.obj
Binary file Debug/Party.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Player.obj
Binary file Debug/Player.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/RCa04864
Binary file Debug/RCa04864 has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Random.obj
Binary file Debug/Random.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Render.obj
Binary file Debug/Render.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/SaveLoad.obj
Binary file Debug/SaveLoad.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Spells.obj
Binary file Debug/Spells.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Sprites.obj
Binary file Debug/Sprites.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Texture.obj
Binary file Debug/Texture.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/TileFrameTable.obj
Binary file Debug/TileFrameTable.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Time.obj
Binary file Debug/Time.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/VideoPlayer.obj
Binary file Debug/VideoPlayer.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Vis.obj
Binary file Debug/Vis.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/Weather.obj
Binary file Debug/Weather.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/cl.command.1.tlog
Binary file Debug/cl.command.1.tlog has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/lib/zlib/adler32.obj
Binary file Debug/lib/zlib/adler32.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/lib/zlib/compress.obj
Binary file Debug/lib/zlib/compress.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/lib/zlib/crc32.obj
Binary file Debug/lib/zlib/crc32.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/lib/zlib/deflate.obj
Binary file Debug/lib/zlib/deflate.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/lib/zlib/infblock.obj
Binary file Debug/lib/zlib/infblock.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/lib/zlib/infcodes.obj
Binary file Debug/lib/zlib/infcodes.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/lib/zlib/inffast.obj
Binary file Debug/lib/zlib/inffast.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/lib/zlib/inflate.obj
Binary file Debug/lib/zlib/inflate.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/lib/zlib/inftrees.obj
Binary file Debug/lib/zlib/inftrees.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/lib/zlib/infutil.obj
Binary file Debug/lib/zlib/infutil.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/lib/zlib/trees.obj
Binary file Debug/lib/zlib/trees.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/lib/zlib/uncompr.obj
Binary file Debug/lib/zlib/uncompr.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/lib/zlib/zutil.obj
Binary file Debug/lib/zlib/zutil.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/link-cvtres.read.1.tlog
--- a/Debug/link-cvtres.read.1.tlog Sat Jan 12 11:30:46 2013 +0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-
\ No newline at end of file
diff -r 98b091cbabf7 -r 89240115d392 Debug/link-cvtres.write.1.tlog
--- a/Debug/link-cvtres.write.1.tlog Sat Jan 12 11:30:46 2013 +0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-
\ No newline at end of file
diff -r 98b091cbabf7 -r 89240115d392 Debug/link.command.1.tlog
Binary file Debug/link.command.1.tlog has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/link.read.1.tlog
Binary file Debug/link.read.1.tlog has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/link.write.1.tlog
Binary file Debug/link.write.1.tlog has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/mm6text.cas
--- a/Debug/mm6text.cas Sat Jan 12 11:30:46 2013 +0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,203 +0,0 @@
-//Gender I R D V T P X
-//Dubles names
-F
-M
-M
-F
-M
-F
-M
-F
-M
-M
-F
-F
-F
-M
-F
-F
-F
-F
-M
-F
-F
-F
-F
-F
-M
-F
-M
-M
-M
-M
-M
-F
-F
-F
-M c c c c
-F
-F
-F
-F
-F
-F
-F
-F
-M
-M
-M
-M
-M
-M
-F
-M
-M
-M
-M
-M
-M
-M
-M
-M
-M
-M
-M
-M
-M
-M
-F
-M
-M
-F
-M
-F
-M
-F
-F
-M
-M
-F
-F
-M
-F @
-U
-F
-F
-M
-F
-M
-F
-M
-M
-M
-M
-M
-M
-//Male
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-M * * * * * *
-//Female
-F * * * * * *
-F * * * * * *
-F * * * * * *
-F * * * * * *
-F * * * * * *
-F * * * * * *
-F * * * * * *
-F * * * * * *
-F * * * * * *
-F * * * * * *
-F * * * * * *
-F * * * * * *
-F * * * * * *
-F * * * * * *
-F * * * * * *
-F * * * * * *
-F * * * * * *
-F * * * * * *
-F * * * * * *
-F * * * * * *
-F * * * * * *
-F * * * * * *
-F * * * * * *
-//Middle
-U * * * * * *
-U * * * * * *
-U * * * * * *
-U * * * * * *
-U * * * * * *
-U * * * * * *
-U * * * * * *
-U * * * * * *
-U * * * * * *
-U * * * * * *
-U * * * * * *
-U * * * * * *
-U * * * * * *
-U * * * * * *
-U * * * * * *
-U * * * * * *
-U * * * * * *
-U * * * * * *
-U * * * * * *
-
diff -r 98b091cbabf7 -r 89240115d392 Debug/mm6text.non
--- a/Debug/mm6text.non Sat Jan 12 11:30:46 2013 +0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,747 +0,0 @@
-//Male Female Middle
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
--
--
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff -r 98b091cbabf7 -r 89240115d392 Debug/mm7_1.obj
Binary file Debug/mm7_1.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/mm7_2.obj
Binary file Debug/mm7_2.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/mm7_3.obj
Binary file Debug/mm7_3.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/mm7_4.obj
Binary file Debug/mm7_4.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/mm7_5.obj
Binary file Debug/mm7_5.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/mm7_6.obj
Binary file Debug/mm7_6.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/mm7_data.obj
Binary file Debug/mm7_data.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/mt.command.1.tlog
Binary file Debug/mt.command.1.tlog has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/mt.read.1.tlog
Binary file Debug/mt.read.1.tlog has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/mt.write.1.tlog
Binary file Debug/mt.write.1.tlog has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/rc.command.1.tlog
Binary file Debug/rc.command.1.tlog has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/rc.read.1.tlog
Binary file Debug/rc.read.1.tlog has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/rc.write.1.tlog
Binary file Debug/rc.write.1.tlog has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/stru10.obj
Binary file Debug/stru10.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/stru6.obj
Binary file Debug/stru6.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/stru9.obj
Binary file Debug/stru9.obj has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/vc100.idb
Binary file Debug/vc100.idb has changed
diff -r 98b091cbabf7 -r 89240115d392 Debug/vc100.pdb
Binary file Debug/vc100.pdb has changed
diff -r 98b091cbabf7 -r 89240115d392 GUIButton.cpp
--- a/GUIButton.cpp Sat Jan 12 11:30:46 2013 +0600
+++ b/GUIButton.cpp Sun Jan 13 01:47:51 2013 +0600
@@ -96,10 +96,10 @@
struct GUIButton *pBtn_SliderLeft;
-struct GUIButton *ptr_69BD58;
-struct GUIButton *ptr_69BD5C;
-struct GUIButton *ptr_69BD60;
-struct GUIButton *ptr_69BD64;
+struct GUIButton *pBtnDownArrow;
+struct GUIButton *pBtnArrowUp;
+struct GUIButton *pBtnCancel;
+struct GUIButton *pBtnLoadSlot;
GUIButton *pCreationUI_BtnPressRight2[4];
diff -r 98b091cbabf7 -r 89240115d392 GUIButton.h
--- a/GUIButton.h Sat Jan 12 11:30:46 2013 +0600
+++ b/GUIButton.h Sun Jan 13 01:47:51 2013 +0600
@@ -122,10 +122,10 @@
extern struct GUIButton *pBtn_SliderLeft;
-extern struct GUIButton *ptr_69BD58;
-extern struct GUIButton *ptr_69BD5C;
-extern struct GUIButton *ptr_69BD60;
-extern struct GUIButton *ptr_69BD64;
+extern struct GUIButton *pBtnDownArrow;
+extern struct GUIButton *pBtnArrowUp;
+extern struct GUIButton *pBtnCancel;
+extern struct GUIButton *pBtnLoadSlot;
extern GUIButton *pCreationUI_BtnPressRight2[4];
diff -r 98b091cbabf7 -r 89240115d392 GUIWindow.h
--- a/GUIWindow.h Sat Jan 12 11:30:46 2013 +0600
+++ b/GUIWindow.h Sun Jan 13 01:47:51 2013 +0600
@@ -148,11 +148,11 @@
UIMSG_PlayerCreationVoiceBack = 0x90,
UIMSG_PlayerCreationVoiceForward = 0x91,
UIMSG_StartNPCDialogue = 0xA1,
- UIMSG_A2 = 0xA2,
- UIMSG_A3 = 0xA3,
- UIMSG_A4 = 0xA4,
+ UIMSG_ArrowUp = 0xA2,
+ UIMSG_DownArrow = 0xA3,
+ UIMSG_LoadSlot = 0xA4,
UIMSG_A5 = 0xA5,
- UIMSG_A6 = 0xA6,
+ UIMSG_Cancel = 0xA6,
UIMSG_A7 = 0xA7,
UIMSG_A8 = 0xA8,
UIMSG_A9 = 0xA9,
diff -r 98b091cbabf7 -r 89240115d392 GameUIs.cpp
--- a/GameUIs.cpp Sat Jan 12 11:30:46 2013 +0600
+++ b/GameUIs.cpp Sun Jan 13 01:47:51 2013 +0600
@@ -71,9 +71,9 @@
pGUIWindow_CurrentMenu->DrawText(pFontSmallnum, 25, 199, 0, pGlobalTXT_LocalizationStrings[505], 0, 0, 0);// "Reading..."
pRenderer->Present();
pSavegameList->Initialize(0);
- if ( dword_6A0C9C > (signed int)uNumSavegameFiles )
+ if ( pSaveListPosition > (signed int)uNumSavegameFiles )
{
- dword_6A0C9C = 0;
+ pSaveListPosition = 0;
uLoadGameUI_SelectedSlot = 0;
}
pLODFile.AllocSubIndicesAndIO(0x12C, 0);
@@ -147,13 +147,13 @@
pGUIWindow_CurrentMenu->CreateButton(21, 282, 191, 18, 1, 0, 0xA5, 4, 0, "", 0);
pGUIWindow_CurrentMenu->CreateButton(21, 303, 191, 18, 1, 0, 0xA5, 5, 0, "", 0);
pGUIWindow_CurrentMenu->CreateButton(21, 324, 191, 18, 1, 0, 0xA5, 6, 0, "", 0);
- ptr_69BD64 = pGUIWindow_CurrentMenu->CreateButton(241, 302, 105, 40, 1, 0, 0xA4, 0, 0, "",
+ pBtnLoadSlot = pGUIWindow_CurrentMenu->CreateButton(241, 302, 105, 40, 1, 0, 0xA4, 0, 0, "",
(Texture *)(uTextureID_LS_ != -1 ? (int)&pIcons_LOD->pTextures[uTextureID_LS_] : 0), 0);
- ptr_69BD60 = pGUIWindow_CurrentMenu->CreateButton(350, 302, 105, 40, 1, 0, 0xA6, 0, 0, "",
+ pBtnCancel = pGUIWindow_CurrentMenu->CreateButton(350, 302, 105, 40, 1, 0, 0xA6, 0, 0, "",
(Texture *)(uTextureID_x_d != -1 ? (int)&pIcons_LOD->pTextures[uTextureID_x_d] : 0), 0);
- ptr_69BD5C = pGUIWindow_CurrentMenu->CreateButton(215, 199, 17, 17, 1, 0, 0xA2, 0, 0, "",
+ pBtnArrowUp = pGUIWindow_CurrentMenu->CreateButton(215, 199, 17, 17, 1, 0, 0xA2, 0, 0, "",
(Texture *)(uTextureID_AR_UP_DN != -1 ? (int)&pIcons_LOD->pTextures[uTextureID_AR_UP_DN] : 0), 0);
- ptr_69BD58 = pGUIWindow_CurrentMenu->CreateButton(215, 0x143, 0x11, 0x11, 1, 0, 0xA3, uNumSavegameFiles, 0, "",
+ pBtnDownArrow = pGUIWindow_CurrentMenu->CreateButton(215, 0x143, 0x11, 0x11, 1, 0, 0xA3, uNumSavegameFiles, 0, "",
(Texture *)(uTextureID_AR_DN_DN != -1 ? (int)&pIcons_LOD->pTextures[uTextureID_AR_DN_DN] : 0), 0);
v16 = -1;
//ptr_69BD58 = v7;
@@ -264,58 +264,14 @@
pGUIWindow_CurrentMenu->CreateButton(21u, 278u, 0xBFu, 0x12u, 1, 0, 0xA5u, 4u, 0, "", 0);
pGUIWindow_CurrentMenu->CreateButton(21u, 298u, 0xBFu, 0x12u, 1, 0, 0xA5u, 5u, 0, "", 0);
pGUIWindow_CurrentMenu->CreateButton(21u, 318u, 0xBFu, 0x12u, 1, 0, 0xA5u, 6u, 0, "", 0);
- ptr_69BD64 = pGUIWindow_CurrentMenu->CreateButton(
- 0xF1u,
- 0x12Eu,
- 0x69u,
- 0x28u,
- 1,
- 0,
- 0xA4u,
- 0,
- 0,
- "",
- (Texture *)(uTextureID_LS_ != -1 ? (int)&pIcons_LOD->pTextures[uTextureID_LS_] : 0),
- 0);
- ptr_69BD60 = pGUIWindow_CurrentMenu->CreateButton(
- 0x15Eu,
- 0x12Eu,
- 0x69u,
- 0x28u,
- 1,
- 0,
- 0xA6u,
- 0,
- 0,
- "",
- (Texture *)(uTextureID_x_d != -1 ? (int)&pIcons_LOD->pTextures[uTextureID_x_d] : 0),
- 0);
- ptr_69BD5C = pGUIWindow_CurrentMenu->CreateButton(
- 0xD7u,
- 0xC7u,
- 0x11u,
- 0x11u,
- 1,
- 0,
- 0xA2u,
- 0,
- 0,
- "",
- (Texture *)(uTextureID_AR_UP_DN != -1 ? (int)&pIcons_LOD->pTextures[uTextureID_AR_UP_DN] : 0),
- 0);
- v7 = pGUIWindow_CurrentMenu->CreateButton(
- 0xD7u,
- 0x143u,
- 0x11u,
- 0x11u,
- 1,
- 0,
- 0xA3u,
- 0x22u,
- 0,
- "",
- (Texture *)(uTextureID_AR_DN_DN != -1 ? (int)&pIcons_LOD->pTextures[uTextureID_AR_DN_DN] : 0),
- 0);
+ pBtnLoadSlot = pGUIWindow_CurrentMenu->CreateButton(0xF1u, 0x12Eu, 0x69u, 0x28u, 1, 0, 0xA4u, 0, 0, "",
+ (Texture *)(uTextureID_LS_ != -1 ? (int)&pIcons_LOD->pTextures[uTextureID_LS_] : 0), 0);
+ pBtnCancel = pGUIWindow_CurrentMenu->CreateButton(0x15Eu, 0x12Eu, 0x69u, 0x28u, 1, 0, 0xA6u, 0, 0, "",
+ (Texture *)(uTextureID_x_d != -1 ? (int)&pIcons_LOD->pTextures[uTextureID_x_d] : 0), 0);
+ pBtnArrowUp = pGUIWindow_CurrentMenu->CreateButton( 0xD7u, 0xC7u, 0x11u, 0x11u, 1, 0, 0xA2u, 0, 0, "",
+ (Texture *)(uTextureID_AR_UP_DN != -1 ? (int)&pIcons_LOD->pTextures[uTextureID_AR_UP_DN] : 0), 0);
+ pBtnDownArrow = pGUIWindow_CurrentMenu->CreateButton( 0xD7u, 0x143u, 0x11u, 0x11u, 1, 0, 0xA3u, 0x22u, 0, "",
+ (Texture *)(uTextureID_AR_DN_DN != -1 ? (int)&pIcons_LOD->pTextures[uTextureID_AR_DN_DN] : 0), 0);
v12 = -1;
- ptr_69BD58 = v7;
+ //pBtnDownArrow = v7;
}
\ No newline at end of file
diff -r 98b091cbabf7 -r 89240115d392 MM7.sdf
Binary file MM7.sdf has changed
diff -r 98b091cbabf7 -r 89240115d392 MM7.suo
Binary file MM7.suo has changed
diff -r 98b091cbabf7 -r 89240115d392 MM7.vcxproj
--- a/MM7.vcxproj Sat Jan 12 11:30:46 2013 +0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,293 +0,0 @@
-
-
-
-
- Debug
- Win32
-
-
- Release
- Win32
-
-
-
- {4CB238C2-3039-4BF6-966A-1ED1285BE23B}
- Win32Proj
- MightandMagicTrilogy
-
-
-
- Application
- true
- Unicode
-
-
- Application
- false
- true
- Unicode
-
-
-
-
-
-
-
-
-
-
-
-
- true
- $(ProjectName)
-
-
- false
-
-
-
-
-
- Level3
- Disabled
- WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
- ProgramDatabase
- MultiThreadedDebug
- $(IntDir)/%(RelativeDir)
-
-
- Windows
- true
- $(OutDir)$(TargetName)$(TargetExt)
-
-
-
-
- Level3
-
-
- MaxSpeed
- true
- true
- WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
-
-
- Windows
- true
- true
- true
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- MultiThreadedDebug
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff -r 98b091cbabf7 -r 89240115d392 MM7.vcxproj.user
--- a/MM7.vcxproj.user Sat Jan 12 11:30:46 2013 +0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
- ..\..\Buka\MMCollection\MM_VII
- WindowsLocalDebugger
-
-
\ No newline at end of file
diff -r 98b091cbabf7 -r 89240115d392 ipch/mm7-91968f84/mm7-c5fbce5d.ipch
Binary file ipch/mm7-91968f84/mm7-c5fbce5d.ipch has changed
diff -r 98b091cbabf7 -r 89240115d392 mm7_2.cpp
--- a/mm7_2.cpp Sat Jan 12 11:30:46 2013 +0600
+++ b/mm7_2.cpp Sun Jan 13 01:47:51 2013 +0600
@@ -11572,8 +11572,8 @@
else
pSaveFiles = uNumSavegameFiles;
a4 = 199;
- pFilesID = dword_6A0C9C;
- pSlotName = (const char *)(&pSavegameHeader[dword_6A0C9C]);//draw name for save slot
+ pFilesID = pSaveListPosition;
+ pSlotName = (const char *)(&pSavegameHeader[pSaveListPosition]);//draw name for save slot
do
{
if ( pFilesID >= (signed int)pSaveFiles )
@@ -14031,13 +14031,12 @@
CreditsMenu__Loop(); //
break;
}
- if (GetCurrentMenuID() == MENU_5 || GetCurrentMenuID() == MENU_LOAD) //???
- __debugbreak();
- /*{
+ if (GetCurrentMenuID() == MENU_5 || GetCurrentMenuID() == MENU_LOAD) //
+ {
uGameState = 0;
- }*/
- else
- __debugbreak();//
+ }
+ else //???
+ __debugbreak();
/*{
if (GetCurrentMenuID() != MENU_10)
goto LABEL_49;
@@ -14066,10 +14065,10 @@
pAsyncMouse->Resume();
if ( LOBYTE(pGame->pKeyboardInstance->bUsingAsynKeyboard) && pAsyncKeyboard )
pAsyncKeyboard->Resume();
- }
+ }*/
//LABEL_48:
-// pGame->Loop(); //game
-LABEL_49:*/
+ pGame->Loop(); //game
+LABEL_49:
if ( uGameState == 3 )
__debugbreak();
/*{
diff -r 98b091cbabf7 -r 89240115d392 mm7_5.cpp
--- a/mm7_5.cpp Sat Jan 12 11:30:46 2013 +0600
+++ b/mm7_5.cpp Sun Jan 13 01:47:51 2013 +0600
@@ -456,45 +456,45 @@
v148 = 0;
pWindowType = (WindowType)8;
goto LABEL_439;
- case UIMSG_A2:
- --dword_6A0C9C;
- if ( dword_6A0C9C < 0 )
- dword_6A0C9C = 0;
+ case UIMSG_ArrowUp:
+ --pSaveListPosition;
+ if ( pSaveListPosition < 0 )
+ pSaveListPosition = 0;
v163 = 0;
v8 = 199;
- pButton2 = ptr_69BD5C;
+ pButton2 = pBtnArrowUp;
//goto LABEL_60;
- pWindowType1 = (WindowType)90;
+ pWindowType1 = (WindowType)90;
v137 = 17;
v133 = 17;
v9 = 215;
goto LABEL_733;
- case UIMSG_A3:
- ++dword_6A0C9C;
- if ( dword_6A0C9C >= uMessageParam )
- dword_6A0C9C = uMessageParam - 1;
+ case UIMSG_DownArrow:
+ ++pSaveListPosition;
+ if ( pSaveListPosition >= uMessageParam )
+ pSaveListPosition = uMessageParam - 1;
v163 = 0;
v8 = 323;
- pButton2 = ptr_69BD58;
+ pButton2 = pBtnDownArrow;
//LABEL_60:
pWindowType1 = (WindowType)90;
v137 = 17;
v133 = 17;
v9 = 215;
goto LABEL_733;
- case UIMSG_A6:
+ case UIMSG_Cancel:
v163 = 0;
v8 = 302;
- pButton2 = ptr_69BD60;
+ pButton2 = pBtnCancel;
v9 = 350;
pWindowType1 = (WindowType)96;
v137 = 42;
v133 = 106;
goto LABEL_733;
- case UIMSG_A4:
+ case UIMSG_LoadSlot:
v163 = 0;
v8 = 302;
- pButton2 = ptr_69BD64;
+ pButton2 = pBtnLoadSlot;
v9 = 241;
pWindowType1 = (WindowType)94;
v137 = 42;
@@ -503,10 +503,10 @@
case UIMSG_A5:
if ( pGUIWindow_CurrentMenu->field_40 == v0 )
pKeyActionMap->_459ED1(0);
- if ( pCurrentScreen != 11 || uLoadGameUI_SelectedSlot != dword_6A0C9C + uMessageParam )
- {
- v10 = dword_6A0C9C + uMessageParam;
- if ( dword_6BE138 == dword_6A0C9C + uMessageParam )
+ if ( pCurrentScreen != 11 || uLoadGameUI_SelectedSlot != pSaveListPosition + uMessageParam )
+ {
+ v10 = pSaveListPosition + uMessageParam;
+ if ( dword_6BE138 == pSaveListPosition + uMessageParam )
{
if ( (signed int)pMessageQueue_50CBD0->uNumMessages < 40 )
{
@@ -3081,7 +3081,7 @@
void __cdecl GUI_MainMenuMessageProc()
{
//AudioPlayer *v0; // ebp@2
- char *v1; // ebx@2
+ //Player *pPlayer1; // ebx@2
unsigned int v2; // ecx@18
void *v3; // edi@21
signed int v4; // eax@29
@@ -3128,38 +3128,38 @@
if ( pMessageQueue_50CBD0->uNumMessages )
{
//v0 = pAudioPlayer;
- v1 = (char *)pParty->pPlayers;
- pPlayer = pParty->pPlayers;
+ //pPlayer1 = pParty->pPlayers;
+ pPlayer = pParty->pPlayers;
do
{
pMessageQueue_50CBD0->PopMessage(&pUIMessageType, &uNum, &pSex);
- switch (pUIMessageType)
- {
- case UIMSG_MainMenu_ShowPartyCreationWnd:
+ switch (pUIMessageType) //
+ {
+ case UIMSG_MainMenu_ShowPartyCreationWnd://
{
GUIWindow::Create(495, 172, 0, 0, WINDOW_5A, (int)pMainMenu_BtnNew, 0);
SetCurrentMenuID(MENU_NEWGAME);
}
continue;
- case UIMSG_MainMenu_ShowLoadWindow:
+ case UIMSG_MainMenu_ShowLoadWindow://
{
GUIWindow::Create(495, 227, 0, 0, WINDOW_5A, (int)pMainMenu_BtnLoad, 0);
SetCurrentMenuID(MENU_SAVELOAD);
}
continue;
- case UIMSG_ShowCredits:
+ case UIMSG_ShowCredits://
{
GUIWindow::Create(495, 282, 0, 0, WINDOW_5A, (int)pMainMenu_BtnCredits, 0);
SetCurrentMenuID(MENU_CREDITS);
}
continue;
- case UIMSG_ExitToWindows:
+ case UIMSG_ExitToWindows://
{
GUIWindow::Create(495, 337, 0, 0, WINDOW_5A, (int)pMainMenu_BtnExit, 0);
SetCurrentMenuID(MENU_FINISHED);
}
continue;
- case UIMSG_LoadGame:
+ case UIMSG_LoadGame://
{
if (!pSavegameUsedSlots[uLoadGameUI_SelectedSlot])
continue;
@@ -3174,13 +3174,13 @@
//main menu save/load wnd clicking on savegame lines
if (pGUIWindow_CurrentMenu->field_40 == 1)
pKeyActionMap->_459ED1(0);
- if ( pCurrentScreen != 11 || uLoadGameUI_SelectedSlot != uNum + dword_6A0C9C )
+ if ( pCurrentScreen != 11 || uLoadGameUI_SelectedSlot != uNum + pSaveListPosition )
{
//load clicked line
- v26 = uNum + dword_6A0C9C;
- if ( dword_6BE138 == uNum + dword_6A0C9C )
+ v26 = uNum + pSaveListPosition;
+ if ( dword_6BE138 == uNum + pSaveListPosition )
{
- pMessageQueue_50CBD0->SendMessage(UIMSG_A4, 0, 0);
+ pMessageQueue_50CBD0->SendMessage(UIMSG_LoadSlot, 0, 0);
pMessageQueue_50CBD0->SendMessage(UIMSG_LoadGame, 0, 0);
}
uLoadGameUI_SelectedSlot = v26;
@@ -3195,19 +3195,19 @@
}
}
continue;
- case UIMSG_A4:
- {
- GUIWindow::Create(pGUIWindow_CurrentMenu->uFrameX + 241, pGUIWindow_CurrentMenu->uFrameY + 302, 61, 28, WINDOW_5E, (int)ptr_69BD64, 0);
+ case UIMSG_LoadSlot: //
+ {
+ GUIWindow::Create(pGUIWindow_CurrentMenu->uFrameX + 241, pGUIWindow_CurrentMenu->uFrameY + 302, 61, 28, WINDOW_5E, (int)pBtnLoadSlot, 0);
}
continue;
}
if ( (signed int)pUIMessageType > UIMSG_PlayerCreationRemoveDownSkill )
{
- if ( pUIMessageType > UIMSG_A3 )
- {
- if ( pUIMessageType == UIMSG_A6 )
- {
- GUIWindow::Create(pGUIWindow_CurrentMenu->uFrameX + 350, pGUIWindow_CurrentMenu->uFrameY + 302, 61, 28, (WindowType)95, (int)ptr_69BD60, 0);
+ if ( pUIMessageType > UIMSG_DownArrow )
+ {
+ if ( pUIMessageType == UIMSG_Cancel )//
+ {
+ GUIWindow::Create(pGUIWindow_CurrentMenu->uFrameX + 350, pGUIWindow_CurrentMenu->uFrameY + 302, 61, 28, (WindowType)95, (int)pBtnCancel, 0);
continue;
}
if ( pUIMessageType == UIMSG_SelectFacePlayerBack )
@@ -3231,13 +3231,13 @@
pAudioPlayer->PlaySound((SoundID)66, 0, 0, -1, 0, 0, 0.0, 0);
v22 = pPlayer;
v22->PlaySound(102, 0);
- v1 = (char *)pParty->pPlayers;
+ //v1 = (char *)pParty->pPlayers;
continue;
}
if ( pUIMessageType == UIMSG_SelectFacePlayerForward )
{
pPlayer = &pParty->pPlayers[uNum];
- v20 = (char)((int)pPlayer->uFace + 1) % 20;
+ v20 = (char)((int)pPlayer->uFace + 1) % 20;
pPlayer->uFace = v20;
pPlayer->uVoiceID = v20;
pPlayer->SetInitialStats();
@@ -3248,12 +3248,12 @@
% 7 + pGUIWindow_CurrentMenu->pStartingPosActiveItem + 7 * uNum;
uPlayerCreationUI_SelectedCharacter = v21;
GUIWindow::Create(pCreationUI_BtnPressRight[v21]->uX, pCreationUI_BtnPressRight[v21]->uY, 0, 0, (enum WindowType)92,
- (int)pCreationUI_BtnPressRight[v21], 1);
+ (int)pCreationUI_BtnPressRight[v21], 1);
//v0 = pAudioPlayer;
pAudioPlayer->PlaySound((SoundID)66, 0, 0, -1, 0, 0, 0, 0);
v22 = pPlayer;
v22->PlaySound(102, 0);
- v1 = (char *)pParty->pPlayers;
+ //v1 = (char *)pParty->pPlayers;
continue;
}
if ( pUIMessageType == UIMSG_AD )
@@ -3265,25 +3265,24 @@
if ( pUIMessageType != UIMSG_AE )
continue;
GUIWindow::Create(pMainMenu_BtnExit->uX, pMainMenu_BtnExit->uY, 0, 0, (enum WindowType)90, (int)pMainMenu_BtnExit, 0);
-LABEL_114:
+//LABEL_114:
v40 = 10;
-LABEL_89:
+//LABEL_89:
v2 = v40;
SetCurrentMenuID((MENU_STATE)v2);
continue;
}
- if ( pUIMessageType == UIMSG_A3 )
- {
- ++dword_6A0C9C;
- if ( dword_6A0C9C >= uNum )
- dword_6A0C9C = uNum - 1;
- if ( dword_6A0C9C < 1 )
- dword_6A0C9C = 0;
+ if ( pUIMessageType == UIMSG_DownArrow )//
+ {
+ ++pSaveListPosition;
+ if ( pSaveListPosition >= uNum )
+ pSaveListPosition = uNum - 1;
+ if ( pSaveListPosition < 1 )
+ pSaveListPosition = 0;
pWindow = pGUIWindow_CurrentMenu;
- v43 = 0;
- v39 = (int)ptr_69BD58;
v8 = pGUIWindow_CurrentMenu->uFrameY + 323;
- goto LABEL_105;
+ GUIWindow::Create(pWindow->uFrameX + 215, v8, 0, 0, (WindowType)90, (int)pBtnDownArrow, 0);
+ continue;
}
if ( pUIMessageType == UIMSG_6B )
{
@@ -3326,12 +3325,18 @@
if (GetCurrentMenuID() == MENU_7)
{
v40 = 6;
- goto LABEL_89;
+ //goto LABEL_89;
+ v2 = v40;
+ SetCurrentMenuID((MENU_STATE)v2);
+ continue;
}
if (GetCurrentMenuID() == MENU_Credits)
{
v40 = 11;
- goto LABEL_89;
+ //goto LABEL_89;
+ v2 = v40;
+ SetCurrentMenuID((MENU_STATE)v2);
+ continue;
}
if ( (signed int)pMessageQueue_50CBD0->uNumMessages < 40 )
{
@@ -3356,7 +3361,7 @@
pTexture_PCX.Load("title.pcx", 0);
SetCurrentMenuID(MENU_MAIN);
v15 = 1;
-LABEL_81:
+//LABEL_81:
pGUIWindow_CurrentMenu->Release();
pGUIWindow2->Release();
pGUIWindow2 = 0;
@@ -3372,7 +3377,16 @@
else
{
if ( pCurrentScreen != 27 )
- goto LABEL_81;
+ //goto LABEL_81;
+ {
+ pGUIWindow_CurrentMenu->Release();
+ pGUIWindow2->Release();
+ pGUIWindow2 = 0;
+ pEventTimer->Resume();
+ pCurrentScreen = 0;
+ viewparams->bRedrawGameUI = v15;
+ continue;
+ }
//VideoPlayer::dtor();
}
}
@@ -3420,17 +3434,14 @@
pCurrentPlayer->PlaySound(102, 0);
continue;
}
- if ( pUIMessageType == UIMSG_A2 )
- {
- --dword_6A0C9C;
- if ( dword_6A0C9C < 0 )
- dword_6A0C9C = 0;
+ if ( pUIMessageType == UIMSG_ArrowUp )//
+ {
+ --pSaveListPosition;
+ if ( pSaveListPosition < 0 )
+ pSaveListPosition = 0;
pWindow = pGUIWindow_CurrentMenu;
- v43 = 0;
- v39 = (int)ptr_69BD5C;
v8 = pGUIWindow_CurrentMenu->uFrameY + 197;
-LABEL_105:
- GUIWindow::Create(pWindow->uFrameX + 215, v8, 0, 0, (WindowType)90, v39, v43);
+ GUIWindow::Create(pWindow->uFrameX + 215, v8, 0, 0, (WindowType)90, (int)pBtnArrowUp, 0);
continue;
}
}
@@ -3441,7 +3452,7 @@
{
uPlayerCreationUI_SelectedCharacter = uNum;
v41 = 3;
- v1 = (char *)pParty->pPlayers;
+ //v1 = (char *)pParty->pPlayers;
v5 = (pGUIWindow_CurrentMenu->pCurrentPosActiveItem - pGUIWindow_CurrentMenu->pStartingPosActiveItem) % 7
+ pGUIWindow_CurrentMenu->pStartingPosActiveItem + 7 * uNum;
pGUIWindow_CurrentMenu->pCurrentPosActiveItem = v5;
@@ -3531,7 +3542,13 @@
break;
default:
if ( pUIMessageType == 58 )
- goto LABEL_114;
+ //goto LABEL_114;
+ {
+ v40 = 10;
+ v2 = v40;
+ SetCurrentMenuID((MENU_STATE)v2);
+ continue;
+ }
break;
}
}
diff -r 98b091cbabf7 -r 89240115d392 mm7_data.cpp
--- a/mm7_data.cpp Sat Jan 12 11:30:46 2013 +0600
+++ b/mm7_data.cpp Sun Jan 13 01:47:51 2013 +0600
@@ -1555,7 +1555,7 @@
unsigned int uTextureID_loadsave;
_UNKNOWN _69FBB4_ptr_iterator_end; // weak
_UNKNOWN unk_6A0758; // weak
-int dword_6A0C9C; // weak
+int pSaveListPosition; // weak
unsigned int uLoadGameUI_SelectedSlot;
HWND hInsertCDWindow; // idb
int uCPUSpeed; // weak
diff -r 98b091cbabf7 -r 89240115d392 mm7_data.h
--- a/mm7_data.h Sat Jan 12 11:30:46 2013 +0600
+++ b/mm7_data.h Sun Jan 13 01:47:51 2013 +0600
@@ -1447,7 +1447,7 @@
extern unsigned int uTextureID_loadsave;
extern _UNKNOWN _69FBB4_ptr_iterator_end; // weak
extern _UNKNOWN unk_6A0758; // weak
-extern int dword_6A0C9C; // weak
+extern int pSaveListPosition; // weak
extern unsigned int uLoadGameUI_SelectedSlot;
extern HWND hInsertCDWindow; // idb
extern int uCPUSpeed; // weak