Compilation for MSVC2013, thanks @dalkon

OTclient now compiles in "Microsoft Visual Studio 2013 Express for Windows Desktop"
All the needed libraries you can download at https://www.dropbox.com/s/2yfb1c763io8efy/otclient-msvc13-libs.zip
NOTE: You have to change VC++ Directories to the properly directories
NOTE: Latested MSVC 2013 or greated is required
This commit is contained in:
Eduardo Bart 2013-11-12 16:31:51 -02:00
parent c9597d6682
commit 1060c6f78c
17 changed files with 1514 additions and 34 deletions

View File

@ -351,17 +351,10 @@ void Map::setShowZone(tileflags_t zone, bool show)
void Map::setShowZones(bool show) void Map::setShowZones(bool show)
{ {
#ifdef _MSC_VER
static const uint32 defaultZoneFlags
= TILESTATE_HOUSE | TILESTATE_PROTECTIONZONE;
#else
static constexpr uint32 defaultZoneFlags
= TILESTATE_HOUSE | TILESTATE_PROTECTIONZONE;
#endif
if(!show) if(!show)
m_zoneFlags = 0; m_zoneFlags = 0;
else if(m_zoneFlags == 0) else if(m_zoneFlags == 0)
m_zoneFlags = defaultZoneFlags; m_zoneFlags = TILESTATE_HOUSE | TILESTATE_PROTECTIONZONE;
} }
void Map::setZoneColor(tileflags_t zone, const Color& color) void Map::setZoneColor(tileflags_t zone, const Color& color)

View File

@ -52,13 +52,8 @@
namespace Fw namespace Fw
{ {
#ifdef _MSC_VER
static const float pi = 3.14159265; static const float pi = 3.14159265;
static const float MIN_ALPHA = 0.003f; static const float MIN_ALPHA = 0.003f;
#else
constexpr float pi = 3.14159265;
constexpr float MIN_ALPHA = 0.003f;
#endif
enum Key : unsigned char { enum Key : unsigned char {
KeyUnknown = 0, KeyUnknown = 0,
KeyEscape = 1, KeyEscape = 1,

View File

@ -83,7 +83,7 @@ bool Shader::compileSourceFile(const std::string& sourceFile)
std::string sourceCode = g_resources.readFileContents(sourceFile); std::string sourceCode = g_resources.readFileContents(sourceFile);
return compileSourceCode(sourceCode); return compileSourceCode(sourceCode);
} catch(stdext::exception& e) { } catch(stdext::exception& e) {
g_logger.error(stdext::format("unable to load shader source form file: %s", sourceFile)); g_logger.error(stdext::format("unable to load shader source form file '%s': %s", sourceFile, e.what()));
} }
return false; return false;
} }

View File

@ -53,8 +53,8 @@ void LuaInterface::init()
m_globalEnv = ref(); m_globalEnv = ref();
pop(); pop();
// check if demangle_type is working as expected // check if demangle_class is working as expected
assert(stdext::demangle_type<LuaObject>() == "LuaObject"); assert(stdext::demangle_class<LuaObject>() == "LuaObject");
// register LuaObject, the base of all other objects // register LuaObject, the base of all other objects
registerClass<LuaObject>(); registerClass<LuaObject>();

View File

@ -64,24 +64,24 @@ public:
// register shortcuts using templates // register shortcuts using templates
template<class C, class B = LuaObject> template<class C, class B = LuaObject>
void registerClass() { void registerClass() {
registerClass(stdext::demangle_type<C>(), stdext::demangle_type<B>()); registerClass(stdext::demangle_class<C>(), stdext::demangle_class<B>());
} }
template<class C> template<class C>
void registerClassStaticFunction(const std::string& functionName, const LuaCppFunction& function) { void registerClassStaticFunction(const std::string& functionName, const LuaCppFunction& function) {
registerClassStaticFunction(stdext::demangle_type<C>(), functionName, function); registerClassStaticFunction(stdext::demangle_class<C>(), functionName, function);
} }
template<class C> template<class C>
void registerClassMemberFunction(const std::string& functionName, const LuaCppFunction& function) { void registerClassMemberFunction(const std::string& functionName, const LuaCppFunction& function) {
registerClassMemberFunction(stdext::demangle_type<C>(), functionName, function); registerClassMemberFunction(stdext::demangle_class<C>(), functionName, function);
} }
template<class C> template<class C>
void registerClassMemberField(const std::string& field, void registerClassMemberField(const std::string& field,
const LuaCppFunction& getFunction, const LuaCppFunction& getFunction,
const LuaCppFunction& setFunction) { const LuaCppFunction& setFunction) {
registerClassMemberField(stdext::demangle_type<C>(), field, getFunction, setFunction); registerClassMemberField(stdext::demangle_class<C>(), field, getFunction, setFunction);
} }
// methods for binding functions // methods for binding functions

View File

@ -117,5 +117,9 @@ int LuaObject::getUseCount()
std::string LuaObject::getClassName() std::string LuaObject::getClassName()
{ {
// TODO: this could be cached for more performance // TODO: this could be cached for more performance
#ifdef _MSC_VER
return stdext::demangle_name(typeid(*this).name()) + 6;
#else
return stdext::demangle_name(typeid(*this).name()); return stdext::demangle_name(typeid(*this).name());
#endif
} }

View File

@ -148,10 +148,10 @@ LONG CALLBACK ExceptionHandler(LPEXCEPTION_POINTERS e)
MessageBox(NULL, msg.c_str(), "Application crashed", 0); MessageBox(NULL, msg.c_str(), "Application crashed", 0);
// this seems to silently close the application // this seems to silently close the application
return EXCEPTION_EXECUTE_HANDLER; //return EXCEPTION_EXECUTE_HANDLER;
// this triggers the microsoft "application has crashed" error dialog // this triggers the microsoft "application has crashed" error dialog
//return EXCEPTION_CONTINUE_SEARCH; return EXCEPTION_CONTINUE_SEARCH;
} }
void installCrashHandler() void installCrashHandler()

View File

@ -48,7 +48,7 @@ class WIN32Window : public PlatformWindow
bool isExtensionSupported(const char *ext); bool isExtensionSupported(const char *ext);
LRESULT windowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam); LRESULT windowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
friend class WindowProcProxy; friend struct WindowProcProxy;
Fw::Key retranslateVirtualKey(WPARAM wParam, LPARAM lParam); Fw::Key retranslateVirtualKey(WPARAM wParam, LPARAM lParam);

View File

@ -121,7 +121,7 @@ template<>
inline bool cast(const std::string& in, float& f) { inline bool cast(const std::string& in, float& f) {
double d; double d;
if(cast(in, d)) { if(cast(in, d)) {
f=d; f=(float)d;
return true; return true;
} }
return false; return false;

View File

@ -38,7 +38,7 @@ const char* demangle_name(const char* name)
#ifdef _MSC_VER #ifdef _MSC_VER
static char buffer[1024]; static char buffer[1024];
UnDecorateSymbolName(name, buffer, sizeof(buffer), UNDNAME_COMPLETE); UnDecorateSymbolName(name, buffer, sizeof(buffer), UNDNAME_COMPLETE);
return &buffer[6]; return buffer;
#else #else
size_t len; size_t len;
int status; int status;

View File

@ -31,6 +31,15 @@ namespace stdext {
/// Demangle names for GNU g++ compiler /// Demangle names for GNU g++ compiler
const char* demangle_name(const char* name); const char* demangle_name(const char* name);
/// Returns the name of a class
template<typename T> std::string demangle_class() {
#ifdef _MSC_VER
return demangle_name(typeid(T).name()) + 6;
#else
return demangle_name(typeid(T).name());
#endif
}
/// Returns the name of a type /// Returns the name of a type
template<typename T> std::string demangle_type() { return demangle_name(typeid(T).name()); } template<typename T> std::string demangle_type() { return demangle_name(typeid(T).name()); }

View File

@ -55,13 +55,13 @@ template<int N> struct expand_snprintf {
template<typename Tuple, typename... Args> static int call(char *s, size_t maxlen, const char *format, const Tuple& tuple, const Args&... args) { template<typename Tuple, typename... Args> static int call(char *s, size_t maxlen, const char *format, const Tuple& tuple, const Args&... args) {
return expand_snprintf<N-1>::call(s, maxlen, format, tuple, sprintf_cast(std::get<N-1>(tuple)), args...); }}; return expand_snprintf<N-1>::call(s, maxlen, format, tuple, sprintf_cast(std::get<N-1>(tuple)), args...); }};
template<> struct expand_snprintf<0> { template<> struct expand_snprintf<0> {
template<typename Tuple, typename... Args> static int call(char *s, size_t maxlen, const char *format, const Tuple& tuple, const Args&... args) {
#ifdef _MSC_VER #ifdef _MSC_VER
template<typename Tuple, typename... Args> static int call(char *s, size_t maxlen, const char *format, const Tuple& tuple, const Args&... args) { return _snprintf(s, maxlen, format, args...);
return _snprintf(s, maxlen, format, args...); }
#else #else
template<typename Tuple, typename... Args> static int call(char *s, size_t maxlen, const char *format, const Tuple& tuple, const Args&... args) { return snprintf(s, maxlen, format, args...);
return snprintf(s, maxlen, format, args...); }
#endif #endif
}
}; };
// Improved snprintf that accepts std::string and other types // Improved snprintf that accepts std::string and other types

View File

@ -36,7 +36,7 @@ void microsleep(size_t us);
struct timer { struct timer {
public: public:
timer() { restart(); } timer() { restart(); }
float elapsed_seconds() { return (stdext::micros() - m_start)/1000000.0; } float elapsed_seconds() { return (float)((stdext::micros() - m_start)/1000000.0); }
ticks_t elapsed_millis() { return (stdext::micros() - m_start)/1000; } ticks_t elapsed_millis() { return (stdext::micros() - m_start)/1000; }
ticks_t elapsed_micros() { return stdext::micros() - m_start; } ticks_t elapsed_micros() { return stdext::micros() - m_start; }
void restart() { m_start = stdext::micros(); } void restart() { m_start = stdext::micros(); }

View File

@ -172,11 +172,7 @@ enum TiXmlEncoding
TIXML_ENCODING_UTF8, TIXML_ENCODING_UTF8,
TIXML_ENCODING_LEGACY TIXML_ENCODING_LEGACY
}; };
#ifdef _MSC_VER
static const TiXmlEncoding TIXML_DEFAULT_ENCODING = TIXML_ENCODING_UNKNOWN; static const TiXmlEncoding TIXML_DEFAULT_ENCODING = TIXML_ENCODING_UNKNOWN;
#else
constexpr TiXmlEncoding TIXML_DEFAULT_ENCODING = TIXML_ENCODING_UNKNOWN;
#endif
/** TiXmlBase is a base class for every class in TinyXml. /** TiXmlBase is a base class for every class in TinyXml.
It does little except to establish that TinyXml classes It does little except to establish that TinyXml classes
can be printed and provide some utility functions. can be printed and provide some utility functions.

22
vc12/otclient.sln Normal file
View File

@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Express 2013 for Windows Desktop
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "otclient", "otclient.vcxproj", "{17A8F78F-1FFB-4128-A3B3-59CC6C19D89A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{17A8F78F-1FFB-4128-A3B3-59CC6C19D89A}.Debug|Win32.ActiveCfg = Debug|Win32
{17A8F78F-1FFB-4128-A3B3-59CC6C19D89A}.Debug|Win32.Build.0 = Debug|Win32
{17A8F78F-1FFB-4128-A3B3-59CC6C19D89A}.Release|Win32.ActiveCfg = Release|Win32
{17A8F78F-1FFB-4128-A3B3-59CC6C19D89A}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

409
vc12/otclient.vcxproj Normal file
View File

@ -0,0 +1,409 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{17A8F78F-1FFB-4128-A3B3-59CC6C19D89A}</ProjectGuid>
<RootNamespace>otclient</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<IncludePath>E:\DevFolder\C++ Libraries\glew-1.10.0\include;E:\DevFolder\C++ Libraries\boost_1_54_0\include;C:\Users\crille\Documents\GitHub\dalkon\otclient\src;$(IncludePath)</IncludePath>
<LibraryPath>E:\DevFolder\C++ Libraries\glew-1.10.0\lib;E:\DevFolder\C++ Libraries\boost_1_54_0\lib;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<IncludePath>D:\otclient-msvc13-libs\libogg-1.3.1\include;D:\otclient-msvc13-libs\libvorbis-1.3.3\include;D:\otclient-msvc13-libs\physfs-2.0.3\include;D:\otclient-msvc13-libs\OpenSSL-1.0.1e\include;D:\otclient-msvc13-libs\zlib-1.2.5\include;D:\otclient-msvc13-libs\OpenAL\include\AL;D:\otclient-msvc13-libs\glew-1.10.0\include;D:\otclient-msvc13-libs\LuaJIT-2.0.2\include;D:\otclient-msvc13-libs\boost_1_55_0\include;D:\otclient\src;$(IncludePath)</IncludePath>
<LibraryPath>D:\otclient-msvc13-libs\libogg-1.3.1\lib;D:\otclient-msvc13-libs\libvorbis-1.3.3\lib;D:\otclient-msvc13-libs\physfs-2.0.3\lib;D:\otclient-msvc13-libs\OpenSSL-1.0.1e\lib\VC;D:\otclient-msvc13-libs\zlib-1.2.5\lib;D:\otclient-msvc13-libs\OpenAL\lib;D:\otclient-msvc13-libs\LuaJIT-2.0.2\lib;D:\otclient-msvc13-libs\glew-1.10.0\lib;D:\otclient-msvc13-libs\boost_1_55_0\lib;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_WIN32_WINNT=0x0501;BOT_PROTECTION;CLIENT;CRASH_HANDLER;FW_GRAPHICS;FW_NET;FW_SOUND;FW_XML;"BUILD_TYPE=\"RelWithDebInfo\"";"BUILD_COMMIT=\"devel\"";"BUILD_REVISION=\"0\"";"VERSION=\"0.6.3\"";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ObjectFileName>$(IntDir)/%(RelativeDir)/</ObjectFileName>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;_WIN32_WINNT=0x0501;BOT_PROTECTION;CLIENT;CRASH_HANDLER;FW_GRAPHICS;FW_NET;FW_SOUND;FW_XML;BUILD_TYPE="RelWithDebInfo";BUILD_COMMIT="devel";BUILD_REVISION="0";VERSION="0.6.3";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MultiProcessorCompilation>false</MultiProcessorCompilation>
<ObjectFileName>$(IntDir)/%(RelativeDir)/</ObjectFileName>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>glew32.lib;zlib1.lib;libeay32MD.lib;physfs.lib;openal32.lib;luajit.lib;libogg_static.lib;libvorbisfile_static.lib;libvorbis_static.lib;opengl32.lib;dbghelp.lib;%(AdditionalDependencies)</AdditionalDependencies>
<SubSystem>NotSet</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\src\client\animatedtext.cpp" />
<ClCompile Include="..\src\client\client.cpp" />
<ClCompile Include="..\src\client\container.cpp" />
<ClCompile Include="..\src\client\creature.cpp" />
<ClCompile Include="..\src\client\creatures.cpp" />
<ClCompile Include="..\src\client\effect.cpp" />
<ClCompile Include="..\src\client\game.cpp" />
<ClCompile Include="..\src\client\houses.cpp" />
<ClCompile Include="..\src\client\item.cpp" />
<ClCompile Include="..\src\client\itemtype.cpp" />
<ClCompile Include="..\src\client\lightview.cpp" />
<ClCompile Include="..\src\client\localplayer.cpp" />
<ClCompile Include="..\src\client\luafunctions.cpp" />
<ClCompile Include="..\src\client\luavaluecasts.cpp" />
<ClCompile Include="..\src\client\map.cpp" />
<ClCompile Include="..\src\client\mapio.cpp" />
<ClCompile Include="..\src\client\mapview.cpp" />
<ClCompile Include="..\src\client\minimap.cpp" />
<ClCompile Include="..\src\client\missile.cpp" />
<ClCompile Include="..\src\client\outfit.cpp" />
<ClCompile Include="..\src\client\player.cpp" />
<ClCompile Include="..\src\client\protocolcodes.cpp" />
<ClCompile Include="..\src\client\protocolgame.cpp" />
<ClCompile Include="..\src\client\protocolgameparse.cpp" />
<ClCompile Include="..\src\client\protocolgamesend.cpp" />
<ClCompile Include="..\src\client\shadermanager.cpp" />
<ClCompile Include="..\src\client\spritemanager.cpp" />
<ClCompile Include="..\src\client\statictext.cpp" />
<ClCompile Include="..\src\client\thing.cpp" />
<ClCompile Include="..\src\client\thingtype.cpp" />
<ClCompile Include="..\src\client\thingtypemanager.cpp" />
<ClCompile Include="..\src\client\tile.cpp" />
<ClCompile Include="..\src\client\towns.cpp" />
<ClCompile Include="..\src\client\uicreature.cpp" />
<ClCompile Include="..\src\client\uiitem.cpp" />
<ClCompile Include="..\src\client\uimap.cpp" />
<ClCompile Include="..\src\client\uimapanchorlayout.cpp" />
<ClCompile Include="..\src\client\uiminimap.cpp" />
<ClCompile Include="..\src\client\uiprogressrect.cpp" />
<ClCompile Include="..\src\client\uisprite.cpp">
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
</ObjectFileName>
</ClCompile>
<ClCompile Include="..\src\framework\core\adaptativeframecounter.cpp" />
<ClCompile Include="..\src\framework\core\application.cpp" />
<ClCompile Include="..\src\framework\core\asyncdispatcher.cpp" />
<ClCompile Include="..\src\framework\core\binarytree.cpp" />
<ClCompile Include="..\src\framework\core\clock.cpp" />
<ClCompile Include="..\src\framework\core\configmanager.cpp" />
<ClCompile Include="..\src\framework\core\event.cpp">
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">FW_GRAPHICS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<ClCompile Include="..\src\framework\core\eventdispatcher.cpp" />
<ClCompile Include="..\src\framework\core\filestream.cpp" />
<ClCompile Include="..\src\framework\core\graphicalapplication.cpp" />
<ClCompile Include="..\src\framework\core\logger.cpp" />
<ClCompile Include="..\src\framework\core\module.cpp" />
<ClCompile Include="..\src\framework\core\modulemanager.cpp" />
<ClCompile Include="..\src\framework\core\resourcemanager.cpp" />
<ClCompile Include="..\src\framework\core\scheduledevent.cpp" />
<ClCompile Include="..\src\framework\core\timer.cpp" />
<ClCompile Include="..\src\framework\graphics\animatedtexture.cpp" />
<ClCompile Include="..\src\framework\graphics\apngloader.cpp" />
<ClCompile Include="..\src\framework\graphics\bitmapfont.cpp" />
<ClCompile Include="..\src\framework\graphics\cachedtext.cpp" />
<ClCompile Include="..\src\framework\graphics\coordsbuffer.cpp" />
<ClCompile Include="..\src\framework\graphics\fontmanager.cpp" />
<ClCompile Include="..\src\framework\graphics\framebuffer.cpp" />
<ClCompile Include="..\src\framework\graphics\framebuffermanager.cpp" />
<ClCompile Include="..\src\framework\graphics\graphics.cpp" />
<ClCompile Include="..\src\framework\graphics\hardwarebuffer.cpp" />
<ClCompile Include="..\src\framework\graphics\image.cpp" />
<ClCompile Include="..\src\framework\graphics\ogl\painterogl.cpp" />
<ClCompile Include="..\src\framework\graphics\ogl\painterogl1.cpp" />
<ClCompile Include="..\src\framework\graphics\ogl\painterogl2.cpp" />
<ClCompile Include="..\src\framework\graphics\painter.cpp" />
<ClCompile Include="..\src\framework\graphics\paintershaderprogram.cpp" />
<ClCompile Include="..\src\framework\graphics\particle.cpp" />
<ClCompile Include="..\src\framework\graphics\particleaffector.cpp" />
<ClCompile Include="..\src\framework\graphics\particleeffect.cpp" />
<ClCompile Include="..\src\framework\graphics\particleemitter.cpp" />
<ClCompile Include="..\src\framework\graphics\particlemanager.cpp" />
<ClCompile Include="..\src\framework\graphics\particlesystem.cpp" />
<ClCompile Include="..\src\framework\graphics\particletype.cpp" />
<ClCompile Include="..\src\framework\graphics\shader.cpp" />
<ClCompile Include="..\src\framework\graphics\shaderprogram.cpp" />
<ClCompile Include="..\src\framework\graphics\texture.cpp" />
<ClCompile Include="..\src\framework\graphics\texturemanager.cpp" />
<ClCompile Include="..\src\framework\input\mouse.cpp" />
<ClCompile Include="..\src\framework\luaengine\lbitlib.cpp" />
<ClCompile Include="..\src\framework\luaengine\luaexception.cpp" />
<ClCompile Include="..\src\framework\luaengine\luainterface.cpp" />
<ClCompile Include="..\src\framework\luaengine\luaobject.cpp" />
<ClCompile Include="..\src\framework\luaengine\luavaluecasts.cpp">
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(InputDir)\$(IntDir)\</ObjectFileName>
</ClCompile>
<ClCompile Include="..\src\framework\luafunctions.cpp" />
<ClCompile Include="..\src\framework\net\connection.cpp" />
<ClCompile Include="..\src\framework\net\inputmessage.cpp" />
<ClCompile Include="..\src\framework\net\outputmessage.cpp" />
<ClCompile Include="..\src\framework\net\protocol.cpp" />
<ClCompile Include="..\src\framework\net\protocolhttp.cpp" />
<ClCompile Include="..\src\framework\net\server.cpp" />
<ClCompile Include="..\src\framework\otml\otmldocument.cpp" />
<ClCompile Include="..\src\framework\otml\otmlemitter.cpp" />
<ClCompile Include="..\src\framework\otml\otmlexception.cpp" />
<ClCompile Include="..\src\framework\otml\otmlnode.cpp" />
<ClCompile Include="..\src\framework\otml\otmlparser.cpp" />
<ClCompile Include="..\src\framework\platform\platform.cpp" />
<ClCompile Include="..\src\framework\platform\platformwindow.cpp" />
<ClCompile Include="..\src\framework\platform\win32crashhandler.cpp" />
<ClCompile Include="..\src\framework\platform\win32platform.cpp" />
<ClCompile Include="..\src\framework\platform\win32window.cpp" />
<ClCompile Include="..\src\framework\sound\combinedsoundsource.cpp" />
<ClCompile Include="..\src\framework\sound\oggsoundfile.cpp" />
<ClCompile Include="..\src\framework\sound\soundbuffer.cpp" />
<ClCompile Include="..\src\framework\sound\soundchannel.cpp" />
<ClCompile Include="..\src\framework\sound\soundfile.cpp" />
<ClCompile Include="..\src\framework\sound\soundmanager.cpp" />
<ClCompile Include="..\src\framework\sound\soundsource.cpp" />
<ClCompile Include="..\src\framework\sound\streamsoundsource.cpp" />
<ClCompile Include="..\src\framework\stdext\demangle.cpp" />
<ClCompile Include="..\src\framework\stdext\math.cpp" />
<ClCompile Include="..\src\framework\stdext\net.cpp" />
<ClCompile Include="..\src\framework\stdext\string.cpp" />
<ClCompile Include="..\src\framework\stdext\time.cpp" />
<ClCompile Include="..\src\framework\ui\uianchorlayout.cpp" />
<ClCompile Include="..\src\framework\ui\uiboxlayout.cpp" />
<ClCompile Include="..\src\framework\ui\uigridlayout.cpp" />
<ClCompile Include="..\src\framework\ui\uihorizontallayout.cpp" />
<ClCompile Include="..\src\framework\ui\uilayout.cpp" />
<ClCompile Include="..\src\framework\ui\uimanager.cpp" />
<ClCompile Include="..\src\framework\ui\uiparticles.cpp" />
<ClCompile Include="..\src\framework\ui\uitextedit.cpp" />
<ClCompile Include="..\src\framework\ui\uitranslator.cpp" />
<ClCompile Include="..\src\framework\ui\uiverticallayout.cpp" />
<ClCompile Include="..\src\framework\ui\uiwidget.cpp" />
<ClCompile Include="..\src\framework\ui\uiwidgetbasestyle.cpp" />
<ClCompile Include="..\src\framework\ui\uiwidgetimage.cpp" />
<ClCompile Include="..\src\framework\ui\uiwidgettext.cpp" />
<ClCompile Include="..\src\framework\util\color.cpp" />
<ClCompile Include="..\src\framework\util\crypt.cpp" />
<ClCompile Include="..\src\framework\xml\tinystr.cpp" />
<ClCompile Include="..\src\framework\xml\tinyxml.cpp" />
<ClCompile Include="..\src\framework\xml\tinyxmlerror.cpp" />
<ClCompile Include="..\src\framework\xml\tinyxmlparser.cpp" />
<ClCompile Include="..\src\main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\src\client\animatedtext.h" />
<ClInclude Include="..\src\client\client.h" />
<ClInclude Include="..\src\client\const.h" />
<ClInclude Include="..\src\client\container.h" />
<ClInclude Include="..\src\client\creature.h" />
<ClInclude Include="..\src\client\creatures.h" />
<ClInclude Include="..\src\client\declarations.h" />
<ClInclude Include="..\src\client\effect.h" />
<ClInclude Include="..\src\client\game.h" />
<ClInclude Include="..\src\client\global.h" />
<ClInclude Include="..\src\client\houses.h" />
<ClInclude Include="..\src\client\item.h" />
<ClInclude Include="..\src\client\itemtype.h" />
<ClInclude Include="..\src\client\lightview.h" />
<ClInclude Include="..\src\client\localplayer.h" />
<ClInclude Include="..\src\client\luavaluecasts.h" />
<ClInclude Include="..\src\client\map.h" />
<ClInclude Include="..\src\client\mapview.h" />
<ClInclude Include="..\src\client\minimap.h" />
<ClInclude Include="..\src\client\missile.h" />
<ClInclude Include="..\src\client\outfit.h" />
<ClInclude Include="..\src\client\player.h" />
<ClInclude Include="..\src\client\position.h" />
<ClInclude Include="..\src\client\protocolcodes.h" />
<ClInclude Include="..\src\client\protocolgame.h" />
<ClInclude Include="..\src\client\shadermanager.h" />
<ClInclude Include="..\src\client\spritemanager.h" />
<ClInclude Include="..\src\client\statictext.h" />
<ClInclude Include="..\src\client\thing.h" />
<ClInclude Include="..\src\client\thingstype.h" />
<ClInclude Include="..\src\client\thingtype.h" />
<ClInclude Include="..\src\client\thingtypemanager.h" />
<ClInclude Include="..\src\client\tile.h" />
<ClInclude Include="..\src\client\towns.h" />
<ClInclude Include="..\src\client\uicreature.h" />
<ClInclude Include="..\src\client\uiitem.h" />
<ClInclude Include="..\src\client\uimap.h" />
<ClInclude Include="..\src\client\uimapanchorlayout.h" />
<ClInclude Include="..\src\client\uiminimap.h" />
<ClInclude Include="..\src\client\uiprogressrect.h" />
<ClInclude Include="..\src\client\uisprite.h" />
<ClInclude Include="..\src\framework\const.h" />
<ClInclude Include="..\src\framework\core\adaptativeframecounter.h" />
<ClInclude Include="..\src\framework\core\application.h" />
<ClInclude Include="..\src\framework\core\asyncdispatcher.h" />
<ClInclude Include="..\src\framework\core\binarytree.h" />
<ClInclude Include="..\src\framework\core\clock.h" />
<ClInclude Include="..\src\framework\core\configmanager.h" />
<ClInclude Include="..\src\framework\core\declarations.h" />
<ClInclude Include="..\src\framework\core\event.h" />
<ClInclude Include="..\src\framework\core\eventdispatcher.h" />
<ClInclude Include="..\src\framework\core\filestream.h" />
<ClInclude Include="..\src\framework\core\graphicalapplication.h" />
<ClInclude Include="..\src\framework\core\inputevent.h" />
<ClInclude Include="..\src\framework\core\logger.h" />
<ClInclude Include="..\src\framework\core\module.h" />
<ClInclude Include="..\src\framework\core\modulemanager.h" />
<ClInclude Include="..\src\framework\core\resourcemanager.h" />
<ClInclude Include="..\src\framework\core\scheduledevent.h" />
<ClInclude Include="..\src\framework\core\timer.h" />
<ClInclude Include="..\src\framework\global.h" />
<ClInclude Include="..\src\framework\graphics\animatedtexture.h" />
<ClInclude Include="..\src\framework\graphics\apngloader.h" />
<ClInclude Include="..\src\framework\graphics\bitmapfont.h" />
<ClInclude Include="..\src\framework\graphics\cachedtext.h" />
<ClInclude Include="..\src\framework\graphics\coordsbuffer.h" />
<ClInclude Include="..\src\framework\graphics\declarations.h" />
<ClInclude Include="..\src\framework\graphics\fontmanager.h" />
<ClInclude Include="..\src\framework\graphics\framebuffer.h" />
<ClInclude Include="..\src\framework\graphics\framebuffermanager.h" />
<ClInclude Include="..\src\framework\graphics\glutil.h" />
<ClInclude Include="..\src\framework\graphics\graphics.h" />
<ClInclude Include="..\src\framework\graphics\hardwarebuffer.h" />
<ClInclude Include="..\src\framework\graphics\image.h" />
<ClInclude Include="..\src\framework\graphics\ogl\painterogl.h" />
<ClInclude Include="..\src\framework\graphics\ogl\painterogl1.h" />
<ClInclude Include="..\src\framework\graphics\ogl\painterogl2.h" />
<ClInclude Include="..\src\framework\graphics\ogl\painterogl2_shadersources.h" />
<ClInclude Include="..\src\framework\graphics\painter.h" />
<ClInclude Include="..\src\framework\graphics\paintershaderprogram.h" />
<ClInclude Include="..\src\framework\graphics\particle.h" />
<ClInclude Include="..\src\framework\graphics\particleaffector.h" />
<ClInclude Include="..\src\framework\graphics\particleeffect.h" />
<ClInclude Include="..\src\framework\graphics\particleemitter.h" />
<ClInclude Include="..\src\framework\graphics\particlemanager.h" />
<ClInclude Include="..\src\framework\graphics\particlesystem.h" />
<ClInclude Include="..\src\framework\graphics\particletype.h" />
<ClInclude Include="..\src\framework\graphics\shader.h" />
<ClInclude Include="..\src\framework\graphics\shaderprogram.h" />
<ClInclude Include="..\src\framework\graphics\texture.h" />
<ClInclude Include="..\src\framework\graphics\texturemanager.h" />
<ClInclude Include="..\src\framework\graphics\vertexarray.h" />
<ClInclude Include="..\src\framework\input\mouse.h" />
<ClInclude Include="..\src\framework\luaengine\declarations.h" />
<ClInclude Include="..\src\framework\luaengine\lbitlib.h" />
<ClInclude Include="..\src\framework\luaengine\luabinder.h" />
<ClInclude Include="..\src\framework\luaengine\luaexception.h" />
<ClInclude Include="..\src\framework\luaengine\luainterface.h" />
<ClInclude Include="..\src\framework\luaengine\luaobject.h" />
<ClInclude Include="..\src\framework\luaengine\luavaluecasts.h" />
<ClInclude Include="..\src\framework\net\connection.h" />
<ClInclude Include="..\src\framework\net\declarations.h" />
<ClInclude Include="..\src\framework\net\inputmessage.h" />
<ClInclude Include="..\src\framework\net\outputmessage.h" />
<ClInclude Include="..\src\framework\net\protocol.h" />
<ClInclude Include="..\src\framework\net\protocolhttp.h" />
<ClInclude Include="..\src\framework\net\server.h" />
<ClInclude Include="..\src\framework\otml\declarations.h" />
<ClInclude Include="..\src\framework\otml\otml.h" />
<ClInclude Include="..\src\framework\otml\otmldocument.h" />
<ClInclude Include="..\src\framework\otml\otmlemitter.h" />
<ClInclude Include="..\src\framework\otml\otmlexception.h" />
<ClInclude Include="..\src\framework\otml\otmlnode.h" />
<ClInclude Include="..\src\framework\otml\otmlparser.h" />
<ClInclude Include="..\src\framework\pch.h" />
<ClInclude Include="..\src\framework\platform\crashhandler.h" />
<ClInclude Include="..\src\framework\platform\platform.h" />
<ClInclude Include="..\src\framework\platform\platformwindow.h" />
<ClInclude Include="..\src\framework\platform\win32window.h" />
<ClInclude Include="..\src\framework\sound\combinedsoundsource.h" />
<ClInclude Include="..\src\framework\sound\declarations.h" />
<ClInclude Include="..\src\framework\sound\oggsoundfile.h" />
<ClInclude Include="..\src\framework\sound\soundbuffer.h" />
<ClInclude Include="..\src\framework\sound\soundchannel.h" />
<ClInclude Include="..\src\framework\sound\soundfile.h" />
<ClInclude Include="..\src\framework\sound\soundmanager.h" />
<ClInclude Include="..\src\framework\sound\soundsource.h" />
<ClInclude Include="..\src\framework\sound\streamsoundsource.h" />
<ClInclude Include="..\src\framework\stdext\any.h" />
<ClInclude Include="..\src\framework\stdext\boolean.h" />
<ClInclude Include="..\src\framework\stdext\cast.h" />
<ClInclude Include="..\src\framework\stdext\compiler.h" />
<ClInclude Include="..\src\framework\stdext\demangle.h" />
<ClInclude Include="..\src\framework\stdext\dumper.h" />
<ClInclude Include="..\src\framework\stdext\dynamic_storage.h" />
<ClInclude Include="..\src\framework\stdext\exception.h" />
<ClInclude Include="..\src\framework\stdext\format.h" />
<ClInclude Include="..\src\framework\stdext\math.h" />
<ClInclude Include="..\src\framework\stdext\net.h" />
<ClInclude Include="..\src\framework\stdext\packed_any.h" />
<ClInclude Include="..\src\framework\stdext\packed_storage.h" />
<ClInclude Include="..\src\framework\stdext\packed_vector.h" />
<ClInclude Include="..\src\framework\stdext\shared_object.h" />
<ClInclude Include="..\src\framework\stdext\shared_ptr.h" />
<ClInclude Include="..\src\framework\stdext\stdext.h" />
<ClInclude Include="..\src\framework\stdext\string.h" />
<ClInclude Include="..\src\framework\stdext\thread.h" />
<ClInclude Include="..\src\framework\stdext\time.h" />
<ClInclude Include="..\src\framework\stdext\traits.h" />
<ClInclude Include="..\src\framework\stdext\types.h" />
<ClInclude Include="..\src\framework\ui\declarations.h" />
<ClInclude Include="..\src\framework\ui\ui.h" />
<ClInclude Include="..\src\framework\ui\uianchorlayout.h" />
<ClInclude Include="..\src\framework\ui\uiboxlayout.h" />
<ClInclude Include="..\src\framework\ui\uigridlayout.h" />
<ClInclude Include="..\src\framework\ui\uihorizontallayout.h" />
<ClInclude Include="..\src\framework\ui\uilayout.h" />
<ClInclude Include="..\src\framework\ui\uimanager.h" />
<ClInclude Include="..\src\framework\ui\uiparticles.h" />
<ClInclude Include="..\src\framework\ui\uitextedit.h" />
<ClInclude Include="..\src\framework\ui\uitranslator.h" />
<ClInclude Include="..\src\framework\ui\uiverticallayout.h" />
<ClInclude Include="..\src\framework\ui\uiwidget.h" />
<ClInclude Include="..\src\framework\util\color.h" />
<ClInclude Include="..\src\framework\util\crypt.h" />
<ClInclude Include="..\src\framework\util\databuffer.h" />
<ClInclude Include="..\src\framework\util\matrix.h" />
<ClInclude Include="..\src\framework\util\point.h" />
<ClInclude Include="..\src\framework\util\rect.h" />
<ClInclude Include="..\src\framework\util\size.h" />
<ClInclude Include="..\src\framework\xml\tinystr.h" />
<ClInclude Include="..\src\framework\xml\tinyxml.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\src\otcicon.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

File diff suppressed because it is too large Load Diff