# HG changeset patch
# User Ritor1
# Date 1395142466 -21600
# Node ID 4b052671da984f8ddb88910967d1ad52f4b8b9cf
# Parent 8a62bd4d51e229f3653e47ce0a962b859687d1ff
MediaPlayer.cpp
diff -r 8a62bd4d51e2 -r 4b052671da98 Build/Visual Studio 2010/World of Might and Magic.vcxproj
--- a/Build/Visual Studio 2010/World of Might and Magic.vcxproj Mon Mar 17 17:44:32 2014 +0600
+++ b/Build/Visual Studio 2010/World of Might and Magic.vcxproj Tue Mar 18 17:34:26 2014 +0600
@@ -180,6 +180,7 @@
+
@@ -424,6 +425,7 @@
+
@@ -435,6 +437,7 @@
+
@@ -465,6 +468,7 @@
+
diff -r 8a62bd4d51e2 -r 4b052671da98 Build/Visual Studio 2010/World of Might and Magic.vcxproj.filters
--- a/Build/Visual Studio 2010/World of Might and Magic.vcxproj.filters Mon Mar 17 17:44:32 2014 +0600
+++ b/Build/Visual Studio 2010/World of Might and Magic.vcxproj.filters Tue Mar 18 17:34:26 2014 +0600
@@ -524,6 +524,9 @@
lib\libpng
+
+
+
@@ -948,6 +951,7 @@
lib\libpng
+
diff -r 8a62bd4d51e2 -r 4b052671da98 MMT.cpp
--- a/MMT.cpp Mon Mar 17 17:44:32 2014 +0600
+++ b/MMT.cpp Tue Mar 18 17:34:26 2014 +0600
@@ -12,6 +12,7 @@
#include "CShow.h"
#include "GUIFont.h"
#include "lib/libpng/png.h"
+#include "MediaPlayer.h"
void ShowLogoVideo()
{
@@ -181,6 +182,11 @@
pGUIWindow2 = 0;
pAudioPlayer->StopChannels(-1, -1);//остановить/подготовить канал
+
+ //Media::Player *p = new Media::Player;//создаётся плеер
+ //Media::ITrack *track = p->LoadTrack(L"Sounds\\New_Sounds/Stronghold_Theme.mp3");
+ //track->Play();
+
pMouse->RemoveHoldingItem();//избавить курсор от вещи
pIcons_LOD->_inlined_sub2();