Skip to content

Commit

Permalink
[10790] Moved vmap code from shared to game project
Browse files Browse the repository at this point in the history
After this, realmd code does not contain anymore vmap code
Small cleanup in VC100 filter about vmap files

Signed-off-by: Neo2003 <Neo.2003@Hotmail.fr>
  • Loading branch information
Neo2003 authored and Neo2003 committed Nov 28, 2010
1 parent 78c684f commit d6b1e5b
Show file tree
Hide file tree
Showing 34 changed files with 288 additions and 311 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -356,9 +356,9 @@ AC_CONFIG_FILES([
src/shared/Auth/Makefile
src/shared/Config/Makefile
src/shared/Database/Makefile
src/shared/vmap/Makefile
src/shared/SystemConfig.h
src/game/Makefile
src/game/vmap/Makefile
src/realmd/Makefile
src/realmd/realmd.conf.dist
src/mangosd/Makefile
Expand Down
3 changes: 2 additions & 1 deletion src/game/Makefile.am
Expand Up @@ -17,9 +17,10 @@
## Process this file with automake to produce Makefile.in

## Sub-directories to parse
SUBDIRS = vmap

## CPP flags for includes, defines, etc.
AM_CPPFLAGS = $(MANGOS_INCLUDES) -I$(top_builddir)/src/shared -I$(srcdir) -I$(srcdir)/../../dep/include -I$(srcdir)/../framework -I$(srcdir)/../shared -I$(srcdir)/../shared/vmap -I$(srcdir)/../realmd -DSYSCONFDIR=\"$(sysconfdir)/\"
AM_CPPFLAGS = $(MANGOS_INCLUDES) -I$(top_builddir)/src/shared -I$(srcdir) -I$(srcdir)/../../dep/include -I$(srcdir)/../framework -I$(srcdir)/../shared -I$(srcdir)/vmap -I$(srcdir)/../realmd -I$(srcdir)/../../dep/include/g3dlite -DSYSCONFDIR=\"$(sysconfdir)/\"

## Build MaNGOS game library as convenience library.
# All libraries will be convenience libraries. Might be changed to shared
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/mangosd/Makefile.am
Expand Up @@ -42,11 +42,11 @@ mangos_worldd_SOURCES = \
mangos_worldd_LDADD = \
../bindings/universal/libmangosscript.la \
../game/libmangosgame.a \
../game/vmap/libmangosvmaps.a \
../shared/Database/libmangosdatabase.a \
../shared/Config/libmangosconfig.a \
../shared/Auth/libmangosauth.a \
../shared/libmangosshared.a \
../shared/vmap/libmangosvmaps.a \
../framework/libmangosframework.a \
../../dep/src/g3dlite/libg3dlite.a \
../../dep/src/gsoap/libgsoap.a
Expand Down
4 changes: 2 additions & 2 deletions src/shared/Makefile.am
Expand Up @@ -17,10 +17,10 @@
## Process this file with automake to produce Makefile.in

## Sub-directories to parse
SUBDIRS = Auth Config Database vmap
SUBDIRS = Auth Config Database

## CPP flags for includes, defines, etc.
AM_CPPFLAGS = $(MANGOS_INCLUDES) -I$(top_builddir)/src/shared -I$(srcdir) -I$(srcdir)/../../dep/include -I$(srcdir)/../framework -I$(srcdir)/../shared -I$(srcdir)/../../dep/include/g3dlite -DSYSCONFDIR=\"$(sysconfdir)/\"
AM_CPPFLAGS = $(MANGOS_INCLUDES) -I$(top_builddir)/src/shared -I$(srcdir) -I$(srcdir)/../../dep/include -I$(srcdir)/../framework -I$(srcdir)/../shared -DSYSCONFDIR=\"$(sysconfdir)/\"
## AM_CPPFLAGS += -I$(srcdir)/../game -I$(srcdir)/../realmd

## Build MaNGOS shared library and its parts as convenience library.
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10789"
#define REVISION_NR "10790"
#endif // __REVISION_NR_H__
41 changes: 35 additions & 6 deletions win/VC100/game.vcxproj
Expand Up @@ -142,7 +142,7 @@
<ClCompile>
<AdditionalOptions>/MP /Zm200 %(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\..\dep\include;..\..\src\framework;..\..\src\shared;..\..\src\shared\vmap;..\..\dep\ACE_wrappers;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\..\dep\include;..\..\src\framework;..\..\src\shared;..\..\src\game\vmap;..\..\dep\ACE_wrappers;..\..\dep\include\g3dlite;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;MANGOS_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>false</StringPooling>
<MinimalRebuild>false</MinimalRebuild>
Expand All @@ -168,6 +168,8 @@
<Culture>0x0409</Culture>
</ResourceCompile>
<Lib>
<AdditionalDependencies>.\shared__$(Platform)_$(Configuration)\shared.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>.\g3dlite__$(Platform)_$(Configuration)\g3dlite.lib;%(AdditionalDependencies)</AdditionalDependencies>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Lib>
</ItemDefinitionGroup>
Expand All @@ -178,7 +180,7 @@
<ClCompile>
<AdditionalOptions>/MP /bigobj /Zm200 %(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\..\dep\include;..\..\src\framework;..\..\src\shared;..\..\src\shared\vmap;..\..\dep\ACE_wrappers;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\..\dep\include;..\..\src\framework;..\..\src\shared;..\..\src\game\vmap;..\..\dep\ACE_wrappers;..\..\dep\include\g3dlite;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;MANGOS_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>false</StringPooling>
<MinimalRebuild>false</MinimalRebuild>
Expand All @@ -205,14 +207,15 @@
</ResourceCompile>
<Lib>
<AdditionalDependencies>.\shared__$(Platform)_$(Configuration)\shared.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>.\g3dlite__$(Platform)_$(Configuration)\g3dlite.lib;%(AdditionalDependencies)</AdditionalDependencies>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<AdditionalOptions>/MP /Zm200 %(AdditionalOptions)</AdditionalOptions>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<AdditionalIncludeDirectories>..\..\dep\include;..\..\src\framework;..\..\src\shared;..\..\src\shared\vmap;..\..\dep\ACE_wrappers;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\..\dep\include;..\..\src\framework;..\..\src\shared;..\..\src\game\vmap;..\..\dep\ACE_wrappers;..\..\dep\include\g3dlite;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
Expand All @@ -237,6 +240,8 @@
<Culture>0x0409</Culture>
</ResourceCompile>
<Lib>
<AdditionalDependencies>.\shared__$(Platform)_$(Configuration)\shared.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>.\g3dlite__$(Platform)_$(Configuration)\g3dlite.lib;%(AdditionalDependencies)</AdditionalDependencies>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Lib>
</ItemDefinitionGroup>
Expand All @@ -247,7 +252,7 @@
<ClCompile>
<AdditionalOptions>/MP /bigobj /Zm200 %(AdditionalOptions)</AdditionalOptions>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<AdditionalIncludeDirectories>..\..\dep\include;..\..\src\framework;..\..\src\shared;..\..\src\shared\vmap;..\..\dep\ACE_wrappers;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\..\dep\include;..\..\src\framework;..\..\src\shared;..\..\src\game\vmap;..\..\dep\ACE_wrappers;..\..\dep\include\g3dlite;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
Expand All @@ -273,14 +278,15 @@
</ResourceCompile>
<Lib>
<AdditionalDependencies>.\shared__$(Platform)_$(Configuration)\shared.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>.\g3dlite__$(Platform)_$(Configuration)\g3dlite.lib;%(AdditionalDependencies)</AdditionalDependencies>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug_NoPCH|Win32'">
<ClCompile>
<AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\..\dep\include;..\..\src\framework;..\..\src\shared;..\..\src\shared\vmap;..\..\dep\ACE_wrappers;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\..\dep\include;..\..\src\framework;..\..\src\shared;..\..\src\game\vmap;..\..\dep\ACE_wrappers;..\..\dep\include\g3dlite;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;MANGOS_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>false</StringPooling>
<MinimalRebuild>false</MinimalRebuild>
Expand All @@ -305,6 +311,8 @@
<Culture>0x0409</Culture>
</ResourceCompile>
<Lib>
<AdditionalDependencies>.\shared__$(Platform)_$(Configuration)\shared.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>.\g3dlite__$(Platform)_$(Configuration)\g3dlite.lib;%(AdditionalDependencies)</AdditionalDependencies>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Lib>
</ItemDefinitionGroup>
Expand All @@ -315,7 +323,7 @@
<ClCompile>
<AdditionalOptions>/MP /bigobj %(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\..\dep\include;..\..\src\framework;..\..\src\shared;..\..\src\shared\vmap;..\..\dep\ACE_wrappers;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\..\dep\include;..\..\src\framework;..\..\src\shared;..\..\src\game\vmap;..\..\dep\ACE_wrappers;..\..\dep\include\g3dlite;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;MANGOS_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>false</StringPooling>
<MinimalRebuild>false</MinimalRebuild>
Expand All @@ -341,6 +349,7 @@
</ResourceCompile>
<Lib>
<AdditionalDependencies>.\shared__$(Platform)_$(Configuration)\shared.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>.\g3dlite__$(Platform)_$(Configuration)\g3dlite.lib;%(AdditionalDependencies)</AdditionalDependencies>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Lib>
</ItemDefinitionGroup>
Expand Down Expand Up @@ -495,6 +504,13 @@
<ClCompile Include="..\..\src\game\WorldSession.cpp" />
<ClCompile Include="..\..\src\game\WorldSocket.cpp" />
<ClCompile Include="..\..\src\game\WorldSocketMgr.cpp" />
<ClCompile Include="..\..\src\game\vmap\BIH.cpp" />
<ClCompile Include="..\..\src\game\vmap\MapTree.cpp" />
<ClCompile Include="..\..\src\game\vmap\ModelInstance.cpp" />
<ClCompile Include="..\..\src\game\vmap\TileAssembler.cpp" />
<ClCompile Include="..\..\src\game\vmap\VMapFactory.cpp" />
<ClCompile Include="..\..\src\game\vmap\VMapManager2.cpp" />
<ClCompile Include="..\..\src\game\vmap\WorldModel.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\game\AccountMgr.h" />
Expand Down Expand Up @@ -627,11 +643,24 @@
<ClInclude Include="..\..\src\game\WorldSession.h" />
<ClInclude Include="..\..\src\game\WorldSocket.h" />
<ClInclude Include="..\..\src\game\WorldSocketMgr.h" />
<ClInclude Include="..\..\src\game\vmap\BIH.h" />
<ClInclude Include="..\..\src\game\vmap\IVMapManager.h" />
<ClInclude Include="..\..\src\game\vmap\MapTree.h" />
<ClInclude Include="..\..\src\game\vmap\ModelInstance.h" />
<ClInclude Include="..\..\src\game\vmap\TileAssembler.h" />
<ClInclude Include="..\..\src\game\vmap\VMapDefinitions.h" />
<ClInclude Include="..\..\src\game\vmap\VMapFactory.h" />
<ClInclude Include="..\..\src\game\vmap\VMapManager2.h" />
<ClInclude Include="..\..\src\game\vmap\VMapTools.h" />
<ClInclude Include="..\..\src\game\vmap\WorldModel.h" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="shared.vcxproj">
<Project>{90297c34-f231-4df4-848e-a74bcc0e40ed}</Project>
</ProjectReference>
<ProjectReference Include="g3dlite.vcxproj">
<Project>{8072769E-CF10-48BF-B9E1-12752A5DAC6E}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
Expand Down
54 changes: 54 additions & 0 deletions win/VC100/game.vcxproj.filters
Expand Up @@ -22,6 +22,9 @@
<Filter Include="References">
<UniqueIdentifier>{64bb42b8-e7ba-4247-b337-492f644daeeb}</UniqueIdentifier>
</Filter>
<Filter Include="vmaps">
<UniqueIdentifier>{948284d3-9d89-4609-8cdd-28a213edb53e}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\game\AccountMgr.cpp">
Expand Down Expand Up @@ -445,6 +448,27 @@
<ClCompile Include="..\..\src\game\UnitAuraProcHandler.cpp">
<Filter>World/Handlers</Filter>
</ClCompile>
<ClCompile Include="..\..\src\game\vmap\BIH.cpp">
<Filter>vmaps</Filter>
</ClCompile>
<ClCompile Include="..\..\src\game\vmap\MapTree.cpp">
<Filter>vmaps</Filter>
</ClCompile>
<ClCompile Include="..\..\src\game\vmap\ModelInstance.cpp">
<Filter>vmaps</Filter>
</ClCompile>
<ClCompile Include="..\..\src\game\vmap\TileAssembler.cpp">
<Filter>vmaps</Filter>
</ClCompile>
<ClCompile Include="..\..\src\game\vmap\VMapFactory.cpp">
<Filter>vmaps</Filter>
</ClCompile>
<ClCompile Include="..\..\src\game\vmap\VMapManager2.cpp">
<Filter>vmaps</Filter>
</ClCompile>
<ClCompile Include="..\..\src\game\vmap\WorldModel.cpp">
<Filter>vmaps</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\game\AccountMgr.h">
Expand Down Expand Up @@ -835,5 +859,35 @@
<ClInclude Include="..\..\src\game\Camera.h">
<Filter>Object</Filter>
</ClInclude>
<ClInclude Include="..\..\src\game\vmap\BIH.h">
<Filter>vmaps</Filter>
</ClInclude>
<ClInclude Include="..\..\src\game\vmap\IVMapManager.h">
<Filter>vmaps</Filter>
</ClInclude>
<ClInclude Include="..\..\src\game\vmap\MapTree.h">
<Filter>vmaps</Filter>
</ClInclude>
<ClInclude Include="..\..\src\game\vmap\ModelInstance.h">
<Filter>vmaps</Filter>
</ClInclude>
<ClInclude Include="..\..\src\game\vmap\TileAssembler.h">
<Filter>vmaps</Filter>
</ClInclude>
<ClInclude Include="..\..\src\game\vmap\VMapDefinitions.h">
<Filter>vmaps</Filter>
</ClInclude>
<ClInclude Include="..\..\src\game\vmap\VMapFactory.h">
<Filter>vmaps</Filter>
</ClInclude>
<ClInclude Include="..\..\src\game\vmap\VMapManager2.h">
<Filter>vmaps</Filter>
</ClInclude>
<ClInclude Include="..\..\src\game\vmap\VMapTools.h">
<Filter>vmaps</Filter>
</ClInclude>
<ClInclude Include="..\..\src\game\vmap\WorldModel.h">
<Filter>vmaps</Filter>
</ClInclude>
</ItemGroup>
</Project>

0 comments on commit d6b1e5b

Please sign in to comment.