aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/Item.cpp2
-rw-r--r--win/BTSC/ReadMe.txt33
-rw-r--r--win/BTSC/stdafx.cpp8
-rw-r--r--win/BTSC/stdafx.h15
-rw-r--r--win/BTSC/targetver.h13
-rw-r--r--win/TrinityCore&Script VC90.sln8
6 files changed, 78 insertions, 1 deletions
diff --git a/src/game/Item.cpp b/src/game/Item.cpp
index e08f2e2e5dc..e5fb2ce4a40 100644
--- a/src/game/Item.cpp
+++ b/src/game/Item.cpp
@@ -582,7 +582,7 @@ void Item::SetItemRandomProperties(int32 randomPropId)
if (GetInt32Value(ITEM_FIELD_RANDOM_PROPERTIES_ID) != int32(item_rand->ID))
{
SetInt32Value(ITEM_FIELD_RANDOM_PROPERTIES_ID,item_rand->ID);
- SetState(ITEM_CHANGED);
+ SetState(ITEM_CHANGED, GetOwner());
}
for (uint32 i = PROP_ENCHANTMENT_SLOT_2; i < PROP_ENCHANTMENT_SLOT_2 + 3; ++i)
SetEnchantment(EnchantmentSlot(i),item_rand->enchant_id[i - PROP_ENCHANTMENT_SLOT_2],0,0);
diff --git a/win/BTSC/ReadMe.txt b/win/BTSC/ReadMe.txt
new file mode 100644
index 00000000000..3151af38be4
--- /dev/null
+++ b/win/BTSC/ReadMe.txt
@@ -0,0 +1,33 @@
+========================================================================
+ CONSOLE APPLICATION : BTSC Project Overview
+========================================================================
+
+AppWizard has created this BTSC application for you.
+
+This file contains a summary of what you will find in each of the files that
+make up your BTSC application.
+
+
+BTSC.vcproj
+ This is the main project file for VC++ projects generated using an Application Wizard.
+ It contains information about the version of Visual C++ that generated the file, and
+ information about the platforms, configurations, and project features selected with the
+ Application Wizard.
+
+BTSC.cpp
+ This is the main application source file.
+
+/////////////////////////////////////////////////////////////////////////////
+Other standard files:
+
+StdAfx.h, StdAfx.cpp
+ These files are used to build a precompiled header (PCH) file
+ named BTSC.pch and a precompiled types file named StdAfx.obj.
+
+/////////////////////////////////////////////////////////////////////////////
+Other notes:
+
+AppWizard uses "TODO:" comments to indicate parts of the source code you
+should add to or customize.
+
+/////////////////////////////////////////////////////////////////////////////
diff --git a/win/BTSC/stdafx.cpp b/win/BTSC/stdafx.cpp
new file mode 100644
index 00000000000..4a467449627
--- /dev/null
+++ b/win/BTSC/stdafx.cpp
@@ -0,0 +1,8 @@
+// stdafx.cpp : source file that includes just the standard includes
+// BTSC.pch will be the pre-compiled header
+// stdafx.obj will contain the pre-compiled type information
+
+#include "stdafx.h"
+
+// TODO: reference any additional headers you need in STDAFX.H
+// and not in this file
diff --git a/win/BTSC/stdafx.h b/win/BTSC/stdafx.h
new file mode 100644
index 00000000000..b005a839def
--- /dev/null
+++ b/win/BTSC/stdafx.h
@@ -0,0 +1,15 @@
+// stdafx.h : include file for standard system include files,
+// or project specific include files that are used frequently, but
+// are changed infrequently
+//
+
+#pragma once
+
+#include "targetver.h"
+
+#include <stdio.h>
+#include <tchar.h>
+
+
+
+// TODO: reference additional headers your program requires here
diff --git a/win/BTSC/targetver.h b/win/BTSC/targetver.h
new file mode 100644
index 00000000000..6fe8eb79e1a
--- /dev/null
+++ b/win/BTSC/targetver.h
@@ -0,0 +1,13 @@
+#pragma once
+
+// The following macros define the minimum required platform. The minimum required platform
+// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
+// your application. The macros work by enabling all features available on platform versions up to and
+// including the version specified.
+
+// Modify the following defines if you have to target a platform prior to the ones specified below.
+// Refer to MSDN for the latest info on corresponding values for different platforms.
+#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista.
+#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows.
+#endif
+
diff --git a/win/TrinityCore&Script VC90.sln b/win/TrinityCore&Script VC90.sln
index 52dd31caf53..b50b5e1754e 100644
--- a/win/TrinityCore&Script VC90.sln
+++ b/win/TrinityCore&Script VC90.sln
@@ -40,6 +40,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "genrevision", "VC90\genrevi
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ACE_Wrappers", "VC90\ACE_vc9.vcproj", "{BD537C9A-FECA-1BAD-6757-8A6348EA12C8}"
EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "BTSC", "BTSC\BTSC.vcproj", "{CDD5021C-2801-432C-B266-986D7EBF851D}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
@@ -128,6 +130,12 @@ Global
{BD537C9A-FECA-1BAD-6757-8A6348EA12C8}.Release|Win32.Build.0 = Release|Win32
{BD537C9A-FECA-1BAD-6757-8A6348EA12C8}.Release|x64.ActiveCfg = Release|x64
{BD537C9A-FECA-1BAD-6757-8A6348EA12C8}.Release|x64.Build.0 = Release|x64
+ {CDD5021C-2801-432C-B266-986D7EBF851D}.Debug|Win32.ActiveCfg = Debug|Win32
+ {CDD5021C-2801-432C-B266-986D7EBF851D}.Debug|Win32.Build.0 = Debug|Win32
+ {CDD5021C-2801-432C-B266-986D7EBF851D}.Debug|x64.ActiveCfg = Debug|Win32
+ {CDD5021C-2801-432C-B266-986D7EBF851D}.Release|Win32.ActiveCfg = Release|Win32
+ {CDD5021C-2801-432C-B266-986D7EBF851D}.Release|Win32.Build.0 = Release|Win32
+ {CDD5021C-2801-432C-B266-986D7EBF851D}.Release|x64.ActiveCfg = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE