Created
February 19, 2011 01:11
-
-
Save SkirnirMaNGOS/834711 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/configure.ac b/configure.ac | |
deleted file mode 100644 | |
index a60f5f3..0000000 | |
--- a/configure.ac | |
+++ /dev/null | |
@@ -1,387 +0,0 @@ | |
-# Copyright (C) 2005-2011 MaNGOS project <http://getmangos.com/> | |
-# | |
-# This file is free software; as a special exception the author gives | |
-# unlimited permission to copy and/or distribute it, with or without | |
-# modifications, as long as this notice is preserved. | |
-# | |
-# This program is distributed in the hope that it will be useful, but | |
-# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the | |
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
- | |
-## Process this file with autoconf to produce a configure script. | |
- | |
-# TODO: create m4 directory and put the checks there, because this file got realy poluted ( by Derex ) | |
- | |
-## Prelude, basic settings for Autoconf | |
-# PACKAGE: mangos | |
-# VERSION: 0.17.0 (trunk) | |
-# BUG-REPORT-ADDRESS: mangos-devs@lists.sourceforge.net | |
-AC_INIT( [mangos], [0.17.0], [mangos-devs@lists.sourceforge.net]) | |
-AC_CONFIG_SRCDIR([src/shared/Common.h]) | |
-AC_CONFIG_MACRO_DIR([m4]) | |
- | |
-## Prelude, basic settings for Automake | |
-# Turn on all warnings and error messages, and enforce GNU | |
-# standards for the package. | |
-AM_INIT_AUTOMAKE([foreign -Wall -Werror gnu tar-pax]) | |
-m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) | |
- | |
-AM_MAINTAINER_MODE | |
- | |
-## Prevent the configure script from continuing any further if | |
-# configuration is being performed in the top-level directory. | |
-# The idea is to prevent this ,because some maintainers tend | |
-# to break parallel build trees (a.k.a. VPATH builds). | |
-if test "$srcdir" = "." && test "$enable_maintainer_mode" != "yes"; then | |
- AC_MSG_ERROR( | |
- [ | |
- Please configure and build in a directory other than the | |
- top-level source directory. This is needed because a lot | |
- of maintainers tend to break parallel build trees | |
- (a.k.a. VPATH builds). This is kinda real ensurance they | |
- will not do it (by enforcing everybody to do VPATH builds). | |
- | |
- For example, try the following from the top-level source | |
- directory: | |
- | |
- mkdir objdir | |
- cd objdir | |
- ../configure | |
- make | |
- | |
- This will create a build space in the directory 'objdir' and | |
- start a build in that directory. | |
- | |
- If however you realy want to disable this error, | |
- use --enable-maintainer-mode switch. | |
- ]) | |
-fi | |
- | |
-## Disable building of static libraries by default | |
-AC_DISABLE_STATIC | |
- | |
-## Check for required dependencies. | |
- | |
-## Check for a valid build environment. | |
-# Valid equals having: | |
-# - a C++ compiler compliant with the ISO98 C++ specification. | |
-# - a working library tool for creating convenience libraries. | |
-# - a working linker for creating static and shared libraries. | |
-AC_PROG_CC | |
-AC_PROG_CXX | |
-AM_PROG_CC_C_O | |
-AC_PROG_LIBTOOL | |
-AC_PROG_INSTALL | |
-PKG_PROG_PKG_CONFIG | |
- | |
-# Check for doxygen | |
-AC_ARG_ENABLE(doxygen, AC_HELP_STRING([--enable-doxygen], [turn on generating documentation])) | |
- | |
-enable_doxygen_support=no | |
- | |
-if test "x$enable_doxygen" = "xyes"; | |
-then | |
- AC_PATH_PROG(DOXYGEN, doxygen, no) | |
- if test "x$DOXYGEN" = "xno"; then | |
- AC_MSG_ERROR([You need to install the doxygen package]) | |
- fi | |
- enable_doxygen_support=yes | |
-fi | |
-AM_CONDITIONAL(DOXYGEN_ENABLED, test x$enable_doxygen_support = xyes) | |
- | |
-## Check for required libraries. | |
-AC_CHECK_LIB( pthread, pthread_create, [], | |
- [LDFLAGS="-pthread $LDFLAGS" | |
- AC_TRY_LINK([char pthread_create();], | |
- pthread_create();, | |
- [], [AC_MSG_ERROR([Missing pthread])]) | |
- ]) | |
-AC_CHECK_LIB( z, compress, [ZLIB=-lz],[AC_MSG_ERROR([Missing zlib])] ) | |
-AC_CHECK_LIB( compat, ftime, [COMPATLIB=-lcompat] ) | |
-AX_CHECK_OPENSSL([], [AC_MSG_ERROR([Missing OpenSSL])]) | |
- | |
-AC_ARG_WITH(postgresql, | |
-[ --with-postgresql Use PostgreSQL as a backend (default: no)], | |
-[case "${withval}" in | |
- yes) DO_POSTGRESQL=yes ;; | |
- no) DO_POSTGRESQL=no ;; | |
- maybe) DO_POSTGRESQL=maybe ;; | |
- *) | |
- if test ! -x "${withval}" ; then | |
- AC_MSG_ERROR([${withval} is not a executable file]) | |
- fi | |
- POSTGRE_CONFIG_HOME="${withval}" | |
- DO_POSTGRESQL=yes | |
- ;; | |
- esac], | |
-[DO_POSTGRESQL=no]) | |
- | |
-AC_ARG_WITH(mysql, | |
-[ --with-mysql Use MySQL as a backend (default: yes)], | |
-[case "${withval}" in | |
- yes) DO_MYSQL=yes ;; | |
- no) DO_MYSQL=no ;; | |
- maybe) DO_MYSQL=maybe ;; | |
- *) AC_MSG_ERROR(Bad value ${withval} for --with-mysql) ;; | |
- esac], | |
-[DO_MYSQL=yes]) | |
- | |
-# here Postgre | |
-case "$DO_POSTGRESQL" in | |
- yes|maybe) | |
- | |
- if test -z "$POSTGRE_CONFIG_HOME"; then | |
- AC_PATH_PROG([POSTGRE_CONFIG_HOME], [pg_config], [no]) | |
- fi | |
- | |
- if test "$POSTGRE_CONFIG_HOME" != "no" ; then | |
- POSTGRE_VERSION="`$POSTGRE_CONFIG_HOME --version`" | |
- POSTGRE_LIBS="-L`$POSTGRE_CONFIG_HOME --libdir` `$POSTGRE_CONFIG_HOME --libs` -lpq $OPENSSL_LIBS $POSTGRE_LIBS" | |
- POSTGRE_INCLUDES="-I`$POSTGRE_CONFIG_HOME --includedir` $POSTGRE_INCLUDES" | |
- else | |
- POSTGRE_VERSION="unknown" | |
- POSTGRE_LIBS="-L/usr/lib/postgresql/lib -lpq -lz -lpthread -lcrypt -lnsl -lm $OPENSSL_LIBS $POSTGRE_LIBS" | |
- POSTGRE_INCLUDES="-I/usr/include/postgresql $POSTGRE_INCLUDES" | |
- fi | |
- | |
- POSTGRESQL_OLD_LIBS="$LIBS" ; LIBS="$LIBS ${POSTGRE_LIBS}" | |
- POSTGRESQL_OLD_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS="$CPPFLAGS ${POSTGRE_INCLUDES}" | |
- AC_CHECK_LIB([pq], [PQsetdbLogin], [HAVE_POSTGRESQL="yes"], []) | |
- AC_CHECK_HEADER([libpq-fe.h], [], [HAVE_POSTGRESQL="yes"], []) | |
- | |
- AC_MSG_CHECKING(whether to build/link POSTGRESQL) | |
- if test "${HAVE_POSTGRESQL}" != "yes" ; then | |
- AC_MSG_RESULT([no]) | |
- if test "${DO_POSTGRESQL}" = "yes" ; then | |
- AC_MSG_ERROR([PostgreSQL not found or incompatible (requested)]) | |
- else | |
- AC_MSG_NOTICE([disabling PostgreSQL (optional)]) | |
- POSTGRE_VERSION="" | |
- POSTGRE_INCLUDES="" | |
- POSTGRE_LIBS="" | |
- fi | |
- else | |
- AC_MSG_RESULT([yes ($POSTGRE_VERSION)]) | |
- fi | |
- AC_MSG_CHECKING([PostgreSQL libs is a thread-safe]) | |
- AC_RUN_IFELSE([ | |
- AC_LANG_SOURCE( | |
- [[ | |
- #include <libpq-fe.h> | |
- int main() { | |
- return !PQisthreadsafe(); | |
- } | |
- ]]) | |
- ], | |
- [ | |
- AC_MSG_RESULT([yes]) | |
- ], | |
- [ | |
- AC_MSG_RESULT([no]) | |
- AC_MSG_ERROR([postgre libs is not thread-safe, check your postgresql installation and /etc/ld.config*]) | |
- ]) | |
- CPPFLAGS="${POSTGRESQL_OLD_CPPFLAGS}" | |
- LIBS="${POSTGRESQL_OLD_LIBS}" | |
- CXXFLAGS="-DDO_POSTGRESQL $CXXFLAGS" | |
- ;; | |
-esac | |
- | |
-# here mysql | |
-AC_MSG_CHECKING(whether to build/link MYSQL) | |
-if test "x$DO_MYSQL" = "xyes"; then | |
-AC_MSG_RESULT($DO_MYSQL) | |
-AC_PATH_PROGS(MYSQL_CONFIG, mysql_config, mysql_config, $PATH) | |
- if test -x "$MYSQL_CONFIG" | |
- then | |
- # MySQL v4 uses --include while v3 uses --cflags | |
- MYSQL_INCLUDES="`$MYSQL_CONFIG --include`" || \ | |
- MYSQL_INCLUDES="`$MYSQL_CONFIG --cflags`" | |
- MYSQL_LIBS="`$MYSQL_CONFIG --libs_r`" | |
- CXXFLAGS="-DDO_MYSQL $CXXFLAGS" | |
- # Workaround for --as-needed linker flag that comes sometimes from mysql | |
- if echo $MYSQL_LIBS|grep "\-Wl,--as-needed" > /dev/null; then | |
- MYSQL_LIBS=`echo $MYSQL_LIBS|sed -e "s/-Wl,--as-needed//"`; | |
- AC_MSG_WARN([Your mysql libs contains -Wl,--as-needed, this is not good, problem fixed in more recent mysql versions]) | |
- fi | |
- fi | |
-else | |
-AC_MSG_RESULT($DO_MYSQL) | |
-fi | |
- | |
-## Check for memory allocator | |
-# Use libc-malloc or libtbb-malloc? | |
-AC_MSG_CHECKING(whether to use libc malloc) | |
-MANGOSD_STD_MALLOC=no | |
-TBB_LIBS="-L\$(top_builddir)/dep/tbb -ltbb -ltbbmalloc" | |
-AC_ARG_WITH(std-malloc, | |
-[ | |
-Memory allocation options: | |
- | |
- --with-std-malloc Use standard malloc], | |
-[ | |
- if test "$withval" = "yes" ; then | |
- CFLAGS="-DUSE_STANDARD_MALLOC $CFLAGS" | |
- CXXFLAGS="-DUSE_STANDARD_MALLOC $CXXFLAGS" | |
- MANGOSD_STD_MALLOC=yes | |
- TBB_LIBS="" | |
- elif test "$withval" != "no" ; then | |
- AC_MSG_ERROR(Please choose yes or no) | |
- fi | |
-]) | |
-AC_MSG_RESULT($MANGOSD_STD_MALLOC) | |
- | |
-## Check for options | |
-# Include debug info in library? | |
-AC_MSG_CHECKING(whether to include debug info in library) | |
-MANGOSD_DEBUG_INFO=no | |
-AC_ARG_WITH(debug-info, | |
-[ | |
-Debugging options: | |
- | |
- --with-debug-info Include debug info in library], | |
-[ | |
- if test "$withval" = "yes" ; then | |
- CFLAGS="-g -DMANGOS_DEBUG $CFLAGS" | |
- CXXFLAGS="-g -DMANGOS_DEBUG $CXXFLAGS" | |
- MANGOSD_DEBUG_INFO=yes | |
- elif test "$withval" != "no" ; then | |
- AC_MSG_ERROR(Please choose yes or no) | |
- fi | |
-]) | |
-AC_MSG_RESULT($MANGOSD_DEBUG_INFO) | |
- | |
-## Check for required header files. | |
-AC_HEADER_STDC | |
-AC_HEADER_DIRENT | |
-AC_CHECK_HEADERS([ arpa/inet.h fcntl.h limits.h locale.h malloc.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h strings.h sys/ioctl.h sys/param.h sys/socket.h sys/timeb.h sys/time.h termios.h unistd.h ]) | |
- | |
-AC_CHECK_HEADERS([pthread.h]) | |
-AC_CHECK_HEADERS([mysql.h mysql/mysql.h]) | |
-AC_CHECK_HEADERS([zlib.h]) | |
- | |
-## Check for typedefs, structures, and compiler characteristics. | |
-AC_HEADER_STDBOOL | |
-AC_C_CONST | |
-AC_C_INLINE | |
-AC_HEADER_TIME | |
-AC_STRUCT_TM | |
-AC_C_VOLATILE | |
-AC_CHECK_TYPES([ptrdiff_t]) | |
- | |
-## Check for required library functions. | |
-AC_FUNC_CLOSEDIR_VOID | |
-AC_FUNC_ERROR_AT_LINE | |
-AC_FUNC_MALLOC | |
-AC_FUNC_MEMCMP | |
-AC_FUNC_REALLOC | |
-AC_FUNC_SELECT_ARGTYPES | |
-AC_TYPE_SIGNAL | |
-AC_FUNC_VPRINTF | |
-AC_CHECK_FUNCS([atexit ftime gethostbyaddr gethostbyname gethostname gettimeofday memmove memset pow realpath select socket sqrt strchr strdup strerror strstr]) | |
- | |
- | |
-# Check for use buildtin ACE sources | |
-AC_ARG_ENABLE(builtin_ace, AC_HELP_STRING([--enable-builtin-ace], [turn on/off using builtin ACE sources])) | |
- | |
-enable_builtin_ace_support=yes | |
- | |
-if test "x$enable_builtin_ace" = "xno"; then | |
- PKG_CHECK_MODULES(ACE, [ACE >= 5.5.2], [need_builtin_ace=no], [need_builtin_ace=yes]) | |
- if test X$need_builtin_ace = Xyes ; then | |
- AC_MSG_ERROR([You need to install ACE package or use built-in ACE sources]) | |
- fi | |
- enable_builtin_ace_support=no | |
-fi | |
- | |
-if test X$enable_builtin_ace_support = Xno; then | |
- | |
- # old ace versions might not have ace/Stack_Trace.h... | |
- AC_LANG_PUSH([C++]) | |
- AC_CHECK_HEADERS([ace/Stack_Trace.h]) | |
- AC_LANG_POP | |
-else | |
- # ...but we certainly have it in our included version | |
- AC_DEFINE(HAVE_ACE_STACK_TRACE_H) | |
- ACE_INCLUDES="-I\$(top_srcdir)/dep/ACE_wrappers -I\$(top_builddir)/dep/ACE_wrappers" | |
- ACE_LIBS="\$(top_builddir)/dep/ACE_wrappers/ace/libACE.la" | |
-fi | |
- | |
-AM_CONDITIONAL([MANGOS_BUILD_ACE], [test X$enable_builtin_ace_support = Xyes]) | |
- | |
-## Unify all additional includes/libs in one variable. | |
-# TODO this looks kinda ugly, but when we add m4 folder I will make it look very pritey ( by Derex ). | |
-MANGOS_INCLUDES="$ACE_INCLUDES $POSTGRE_INCLUDES $MYSQL_INCLUDES $OPENSSL_INCLUDES" | |
-MANGOS_LIBS="$ACE_LIBS $POSTGRE_LIBS $MYSQL_LIBS $ZLIB $COMPATLIB $OPENSSL_LDFLAGS $OPENSSL_LIBS $TBB_LIBS" | |
- | |
-## Export defined variables | |
-AC_SUBST(DOXYGEN) | |
-AC_SUBST(MANGOSD_DEBUG_INFO) | |
- | |
-## Additional CPPFLAGS and LDFLAGS. | |
-AC_SUBST(MANGOS_INCLUDES) | |
-AC_SUBST(MANGOS_LIBS) | |
- | |
-## Set output files. | |
-AC_CONFIG_HEADERS([config.h]) | |
- | |
-AC_SEARCH_LIBS(poll, [poll], [AC_DEFINE(HAVE_POLL, 1, [Define to 1 if the OS is usabl... err, has poll().])]) | |
- | |
-AH_TOP([ | |
-#ifndef AC_CONFIG_H | |
-#define AC_CONFIG_H | |
-]) | |
- | |
-AH_BOTTOM([#endif /* !AC_CONFIG_H */]) | |
- | |
-AC_CONFIG_FILES([ | |
- dep/include/Makefile | |
- dep/lib/Makefile | |
- dep/src/Makefile | |
- dep/src/g3dlite/Makefile | |
- dep/src/zlib/Makefile | |
- dep/src/gsoap/Makefile | |
- dep/Makefile | |
- dep/tbb/Makefile | |
- doc/Doxyfile | |
- doc/Makefile | |
- Makefile | |
- sql/Makefile | |
- sql/tools/Makefile | |
- sql/updates/Makefile | |
- src/Makefile | |
- src/tools/Makefile | |
- src/tools/genrevision/Makefile | |
- src/framework/Makefile | |
- src/shared/Makefile | |
- src/shared/Auth/Makefile | |
- src/shared/Config/Makefile | |
- src/shared/Database/Makefile | |
- src/shared/SystemConfig.h | |
- src/game/Makefile | |
- src/game/playerbot/Makefile | |
- src/game/playerbot/config.h | |
- src/game/playerbot/playerbot.conf.dist | |
- src/game/vmap/Makefile | |
- src/realmd/Makefile | |
- src/realmd/realmd.conf.dist | |
- src/mangosd/Makefile | |
- src/mangosd/mangosd.conf.dist | |
- src/bindings/Makefile | |
-]) | |
- | |
-## Configure ACE, if needed | |
-if test X$enable_builtin_ace_support = Xyes; then | |
- AC_CONFIG_SUBDIRS([dep/ACE_wrappers]) | |
-fi | |
- | |
-AC_CONFIG_COMMANDS([default],[ | |
- echo "" | |
- echo "Configuration of MaNGOS $PACKAGE_VERSION is now complete." | |
- echo "" | |
- ],[PACKAGE_VERSION=$PACKAGE_VERSION]) | |
- | |
-## Disabled Makefiles, until they are ready for a successful make and | |
-# make dist run. | |
- | |
-## Output files. | |
-AC_OUTPUT | |
diff --git a/src/game/CMakeLists.txt b/src/game/CMakeLists.txt | |
index b583e92..ec1f04f 100644 | |
--- a/src/game/CMakeLists.txt | |
+++ b/src/game/CMakeLists.txt | |
@@ -20,6 +20,7 @@ file(GLOB_RECURSE game_SRCS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.cpp *.h) | |
include_directories( | |
${CMAKE_CURRENT_SOURCE_DIR} | |
+ ${CMAKE_CURRENT_SOURCE_DIR}/playerbot | |
${CMAKE_CURRENT_SOURCE_DIR}/vmap | |
${CMAKE_SOURCE_DIR}/dep/include/g3dlite | |
${CMAKE_SOURCE_DIR}/dep/include | |
diff --git a/src/game/Makefile.am b/src/game/Makefile.am | |
deleted file mode 100644 | |
index df90b37..0000000 | |
--- a/src/game/Makefile.am | |
+++ /dev/null | |
@@ -1,311 +0,0 @@ | |
-# Copyright (C) 2005-2011 MaNGOS <http://getmangos.com/> | |
-# | |
-# This program is free software; you can redistribute it and/or modify | |
-# it under the terms of the GNU General Public License as published by | |
-# the Free Software Foundation; either version 2 of the License, or | |
-# (at your option) any later version. | |
-# | |
-# This program is distributed in the hope that it will be useful, | |
-# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
-# GNU General Public License for more details. | |
-# | |
-# You should have received a copy of the GNU General Public License | |
-# along with this program; if not, write to the Free Software | |
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
- | |
-## Process this file with automake to produce Makefile.in | |
- | |
-## Sub-directories to parse | |
-SUBDIRS = playerbot 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)/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 | |
-# later. | |
-noinst_LIBRARIES = libmangosgame.a | |
- | |
-# libmangossgame library will later be reused by ... | |
-libmangosgame_a_SOURCES = \ | |
- AccountMgr.cpp \ | |
- AccountMgr.h \ | |
- AchievementMgr.h \ | |
- AchievementMgr.cpp \ | |
- AggressorAI.cpp \ | |
- AggressorAI.h \ | |
- ArenaTeam.cpp \ | |
- ArenaTeam.h \ | |
- ArenaTeamHandler.cpp \ | |
- AuctionHouseHandler.cpp \ | |
- AuctionHouseMgr.cpp \ | |
- AuctionHouseMgr.h \ | |
- Bag.cpp \ | |
- Bag.h \ | |
- BattleGround.cpp \ | |
- BattleGroundAA.cpp \ | |
- BattleGroundAB.cpp \ | |
- BattleGroundRB.cpp \ | |
- BattleGroundAV.cpp \ | |
- BattleGroundBE.cpp \ | |
- BattleGroundDS.cpp \ | |
- BattleGroundEY.cpp \ | |
- BattleGroundIC.cpp \ | |
- BattleGroundNA.cpp \ | |
- BattleGroundRL.cpp \ | |
- BattleGroundRV.cpp \ | |
- BattleGroundSA.cpp \ | |
- BattleGroundWS.cpp \ | |
- BattleGround.h \ | |
- BattleGroundAA.h \ | |
- BattleGroundAB.h \ | |
- BattleGroundRB.h \ | |
- BattleGroundAV.h \ | |
- BattleGroundBE.h \ | |
- BattleGroundDS.h \ | |
- BattleGroundEY.h \ | |
- BattleGroundIC.h \ | |
- BattleGroundNA.h \ | |
- BattleGroundRL.h \ | |
- BattleGroundRV.h \ | |
- BattleGroundSA.h \ | |
- BattleGroundWS.h \ | |
- BattleGroundHandler.cpp \ | |
- BattleGroundMgr.cpp \ | |
- BattleGroundMgr.h \ | |
- Calendar.cpp \ | |
- Calendar.h \ | |
- CalendarHandler.cpp \ | |
- Camera.cpp \ | |
- Camera.h \ | |
- Cell.h \ | |
- CellImpl.h \ | |
- Channel.cpp \ | |
- Channel.h \ | |
- ChannelHandler.cpp \ | |
- ChannelMgr.cpp \ | |
- ChannelMgr.h \ | |
- CharacterDatabaseCleaner.cpp \ | |
- CharacterDatabaseCleaner.h \ | |
- CharacterHandler.cpp \ | |
- Chat.cpp \ | |
- Chat.h \ | |
- ChatHandler.cpp \ | |
- CombatHandler.cpp \ | |
- ConfusedMovementGenerator.cpp \ | |
- ConfusedMovementGenerator.h \ | |
- Corpse.cpp \ | |
- Corpse.h \ | |
- CreatureAI.cpp \ | |
- CreatureAI.h \ | |
- CreatureAIImpl.h \ | |
- CreatureAIRegistry.cpp \ | |
- CreatureAIRegistry.h \ | |
- CreatureAISelector.cpp \ | |
- CreatureAISelector.h \ | |
- CreatureEventAI.cpp \ | |
- CreatureEventAI.h \ | |
- CreatureEventAIMgr.cpp \ | |
- CreatureEventAIMgr.h \ | |
- Creature.cpp \ | |
- Creature.h \ | |
- DBCEnums.h \ | |
- DBCfmt.h \ | |
- DBCStores.cpp \ | |
- DBCStores.h \ | |
- DBCStructure.h \ | |
- debugcmds.cpp \ | |
- DestinationHolder.cpp \ | |
- DestinationHolder.h \ | |
- DestinationHolderImp.h \ | |
- DuelHandler.cpp \ | |
- DynamicObject.cpp \ | |
- DynamicObject.h \ | |
- FleeingMovementGenerator.cpp \ | |
- FleeingMovementGenerator.h \ | |
- Formulas.h \ | |
- GameEventMgr.cpp \ | |
- GameEventMgr.h \ | |
- GameObject.cpp \ | |
- GameObject.h \ | |
- GMTicketHandler.cpp \ | |
- GMTicketMgr.cpp \ | |
- GMTicketMgr.h \ | |
- GossipDef.cpp \ | |
- GossipDef.h \ | |
- GridDefines.h \ | |
- GridMap.cpp \ | |
- GridMap.h \ | |
- GridNotifiers.cpp \ | |
- GridNotifiers.h \ | |
- GridNotifiersImpl.h \ | |
- GridStates.cpp \ | |
- GridStates.h \ | |
- Group.cpp \ | |
- Group.h \ | |
- GroupHandler.cpp \ | |
- GuardAI.cpp \ | |
- GuardAI.h \ | |
- Guild.cpp \ | |
- Guild.h \ | |
- GuildHandler.cpp \ | |
- HomeMovementGenerator.cpp \ | |
- HomeMovementGenerator.h \ | |
- HostileRefManager.cpp \ | |
- HostileRefManager.h \ | |
- IdleMovementGenerator.cpp \ | |
- IdleMovementGenerator.h \ | |
- InstanceData.cpp \ | |
- InstanceData.h \ | |
- InstanceSaveMgr.cpp \ | |
- InstanceSaveMgr.h \ | |
- Item.cpp \ | |
- Item.h \ | |
- ItemEnchantmentMgr.cpp \ | |
- ItemEnchantmentMgr.h \ | |
- ItemHandler.cpp \ | |
- ItemPrototype.h \ | |
- Language.h \ | |
- Level0.cpp \ | |
- Level1.cpp \ | |
- Level2.cpp \ | |
- Level3.cpp \ | |
- LFGHandler.cpp \ | |
- LootHandler.cpp \ | |
- LootMgr.cpp \ | |
- LootMgr.h \ | |
- Mail.cpp \ | |
- Mail.h \ | |
- Map.cpp \ | |
- Map.h \ | |
- MapManager.cpp \ | |
- MapManager.h \ | |
- MapReference.h \ | |
- MapRefManager.h \ | |
- MassMailMgr.cpp \ | |
- MassMailMgr.h \ | |
- MiscHandler.cpp \ | |
- MotionMaster.cpp \ | |
- MotionMaster.h \ | |
- MovementGenerator.cpp \ | |
- MovementGenerator.h \ | |
- MovementGeneratorImpl.h \ | |
- MovementHandler.cpp \ | |
- NPCHandler.cpp \ | |
- NPCHandler.h \ | |
- NullCreatureAI.cpp \ | |
- NullCreatureAI.h \ | |
- ObjectAccessor.cpp \ | |
- ObjectAccessor.h \ | |
- Object.cpp \ | |
- ObjectGuid.cpp \ | |
- ObjectGuid.h \ | |
- ObjectGridLoader.cpp \ | |
- ObjectGridLoader.h \ | |
- Object.h \ | |
- ObjectMgr.cpp \ | |
- ObjectMgr.h \ | |
- ObjectPosSelector.cpp \ | |
- ObjectPosSelector.h \ | |
- Opcodes.cpp \ | |
- Opcodes.h \ | |
- Path.h \ | |
- PetAI.cpp \ | |
- PetAI.h \ | |
- Pet.cpp \ | |
- Pet.h \ | |
- PetHandler.cpp \ | |
- PetitionsHandler.cpp \ | |
- Player.cpp \ | |
- Player.h \ | |
- PlayerDump.cpp \ | |
- PlayerDump.h \ | |
- PointMovementGenerator.cpp \ | |
- PointMovementGenerator.h \ | |
- PoolManager.cpp \ | |
- PoolManager.h \ | |
- QueryHandler.cpp \ | |
- QuestDef.cpp \ | |
- QuestDef.h \ | |
- QuestHandler.cpp \ | |
- RandomMovementGenerator.cpp \ | |
- RandomMovementGenerator.h \ | |
- ReactorAI.cpp \ | |
- ReactorAI.h \ | |
- ReputationMgr.cpp \ | |
- ReputationMgr.h \ | |
- ScriptMgr.cpp \ | |
- ScriptMgr.h \ | |
- SharedDefines.h \ | |
- SkillHandler.cpp \ | |
- SpellAuraDefines.h \ | |
- SpellAuras.cpp \ | |
- SpellAuras.h \ | |
- Spell.cpp \ | |
- SpellEffects.cpp \ | |
- Spell.h \ | |
- SkillDiscovery.cpp \ | |
- SkillDiscovery.h \ | |
- SkillExtraItems.cpp \ | |
- SkillExtraItems.h \ | |
- SpellHandler.cpp \ | |
- SocialMgr.cpp \ | |
- SocialMgr.h \ | |
- SpellMgr.cpp \ | |
- SpellMgr.h \ | |
- SQLStorages.cpp \ | |
- SQLStorages.h \ | |
- StatSystem.cpp \ | |
- TargetedMovementGenerator.cpp \ | |
- TargetedMovementGenerator.h \ | |
- TaxiHandler.cpp \ | |
- TemporarySummon.cpp \ | |
- TemporarySummon.h \ | |
- TotemAI.cpp \ | |
- TotemAI.h \ | |
- Totem.cpp \ | |
- Totem.h \ | |
- TradeHandler.cpp \ | |
- Transports.cpp \ | |
- Transports.h \ | |
- ThreatManager.cpp \ | |
- ThreatManager.h \ | |
- Traveller.h \ | |
- Unit.cpp \ | |
- Unit.h \ | |
- UnitAuraProcHandler.cpp \ | |
- UnitEvents.h \ | |
- UpdateData.cpp \ | |
- UpdateData.h \ | |
- UpdateFields.h \ | |
- UpdateMask.h \ | |
- Vehicle.cpp \ | |
- Vehicle.h \ | |
- VoiceChatHandler.cpp \ | |
- WaypointManager.cpp \ | |
- WaypointManager.h \ | |
- WaypointMovementGenerator.cpp \ | |
- WaypointMovementGenerator.h \ | |
- Weather.cpp \ | |
- Weather.h \ | |
- World.cpp \ | |
- World.h \ | |
- WorldSession.cpp \ | |
- WorldSession.h \ | |
- WorldSocket.cpp \ | |
- WorldSocket.h \ | |
- WorldSocketMgr.cpp \ | |
- WorldSocketMgr.h \ | |
- FollowerReference.cpp \ | |
- FollowerReference.h \ | |
- FollowerRefManager.h \ | |
- GroupReference.cpp \ | |
- GroupReference.h \ | |
- GroupRefManager.h | |
- | |
-## Additional files to include when running 'make dist' | |
-# Precompiled Headers for WIN | |
-EXTRA_DIST = \ | |
- pchdef.cpp \ | |
- pchdef.h | |
diff --git a/src/game/playerbot/Makefile.am b/src/game/playerbot/Makefile.am | |
deleted file mode 100644 | |
index 3f6b4b7..0000000 | |
--- a/src/game/playerbot/Makefile.am | |
+++ /dev/null | |
@@ -1,81 +0,0 @@ | |
-# Copyright (C) 2005-2010 MaNGOS <http://getmangos.com/> | |
-# | |
-# This program is free software; you can redistribute it and/or modify | |
-# it under the terms of the GNU General Public License as published by | |
-# the Free Software Foundation; either version 2 of the License, or | |
-# (at your option) any later version. | |
-# | |
-# This program is distributed in the hope that it will be useful, | |
-# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
-# GNU General Public License for more details. | |
-# | |
-# You should have received a copy of the GNU General Public License | |
-# along with this program; if not, write to the Free Software | |
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
- | |
-## Process this file with automake to produce Makefile.in | |
- | |
-## Sub-directories to parse | |
- | |
-## 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)/\" | |
- | |
-## Build MaNGOS game library as convenience library. | |
-# libmangosbot shared library will later be reused by world server daemon. | |
-noinst_LIBRARIES = libmangosbot.a | |
- | |
-# libmangossgame library will later be reused by ... | |
-libmangosbot_a_SOURCES = \ | |
- config.h \ | |
- PlayerbotMgr.cpp \ | |
- PlayerbotMgr.h \ | |
- PlayerbotAI.cpp \ | |
- PlayerbotAI.h \ | |
- PlayerbotClassAI.cpp \ | |
- PlayerbotClassAI.h \ | |
- PlayerbotDeathKnightAI.cpp \ | |
- PlayerbotDeathKnightAI.h \ | |
- PlayerbotDruidAI.cpp \ | |
- PlayerbotDruidAI.h \ | |
- PlayerbotHunterAI.cpp \ | |
- PlayerbotHunterAI.h \ | |
- PlayerbotMageAI.cpp \ | |
- PlayerbotMageAI.h \ | |
- PlayerbotPaladinAI.cpp \ | |
- PlayerbotPaladinAI.h \ | |
- PlayerbotPriestAI.cpp \ | |
- PlayerbotPriestAI.h \ | |
- PlayerbotRogueAI.cpp \ | |
- PlayerbotRogueAI.h \ | |
- PlayerbotShamanAI.cpp \ | |
- PlayerbotShamanAI.h \ | |
- PlayerbotWarlockAI.cpp \ | |
- PlayerbotWarlockAI.h \ | |
- PlayerbotWarriorAI.cpp \ | |
- PlayerbotWarriorAI.h | |
- | |
-## Additional files to include when running 'make dist' | |
-# Precompiled Headers for WIN | |
-EXTRA_DIST = \ | |
- config.h \ | |
- playerbot.conf.dist | |
- | |
-## Additional files to install | |
-sysconf_DATA = \ | |
- playerbot.conf.dist | |
- | |
-install-data-hook: | |
- @list='$(sysconf_DATA)' | |
- for p in $$list; do \ | |
- dest=`echo $$p | sed -e s/.dist//`; \ | |
- if test -f $(DESTDIR)$(sysconfdir)/$$dest; then \ | |
- echo "$@ will not overwrite existing $(DESTDIR)$(sysconfdir)/$$dest"; \ | |
- else \ | |
- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$dest"; \ | |
- $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$dest; \ | |
- fi; \ | |
- done | |
- | |
-clean-local: | |
- rm -f $(sysconf_DATA) | |
diff --git a/src/mangosd/Makefile.am b/src/mangosd/Makefile.am | |
deleted file mode 100644 | |
index 8492ea3..0000000 | |
--- a/src/mangosd/Makefile.am | |
+++ /dev/null | |
@@ -1,78 +0,0 @@ | |
-# Copyright (C) 2005-2011 MaNGOS <http://getmangos.com/> | |
-# | |
-# This program is free software; you can redistribute it and/or modify | |
-# it under the terms of the GNU General Public License as published by | |
-# the Free Software Foundation; either version 2 of the License, or | |
-# (at your option) any later version. | |
-# | |
-# This program is distributed in the hope that it will be useful, | |
-# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
-# GNU General Public License for more details. | |
-# | |
-# You should have received a copy of the GNU General Public License | |
-# along with this program; if not, write to the Free Software | |
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
- | |
-## Process this file with automake to produce Makefile.in | |
- | |
-## CPP flags for includes, defines, etc. | |
-AM_CPPFLAGS = $(MANGOS_INCLUDES) -I$(top_builddir)/src/shared -I$(srcdir)/../../dep/include -I$(srcdir)/../../dep/include/gsoap -I$(srcdir)/../framework -I$(srcdir)/../shared -I$(srcdir)/../game -I$(srcdir) -DSYSCONFDIR=\"$(sysconfdir)/\" | |
- | |
-## Build world daemon as standalone program | |
-bin_PROGRAMS = mangos-worldd | |
-mangos_worldd_SOURCES = \ | |
- CliRunnable.cpp \ | |
- CliRunnable.h \ | |
- Main.cpp \ | |
- Master.cpp \ | |
- Master.h \ | |
- RASocket.cpp \ | |
- RASocket.h \ | |
- MaNGOSsoap.cpp \ | |
- MaNGOSsoap.h \ | |
- WorldRunnable.cpp \ | |
- WorldRunnable.h \ | |
- soapH.h \ | |
- soapStub.h \ | |
- soapC.cpp \ | |
- soapServer.cpp | |
- | |
-## Link world daemon against the shared library | |
-mangos_worldd_LDADD = \ | |
- ../game/libmangosgame.a \ | |
- ../game/vmap/libmangosvmaps.a \ | |
- ../shared/Database/libmangosdatabase.a \ | |
- ../shared/Config/libmangosconfig.a \ | |
- ../game/playerbot/libmangosbot.a \ | |
- ../shared/Auth/libmangosauth.a \ | |
- ../shared/libmangosshared.a \ | |
- ../framework/libmangosframework.a \ | |
- ../../dep/src/g3dlite/libg3dlite.a \ | |
- ../../dep/src/gsoap/libgsoap.a | |
- | |
-mangos_worldd_LDFLAGS = -L../../dep/src/g3dlite -L../../dep/src/gsoap -L$(libdir) $(MANGOS_LIBS) -export-dynamic | |
- | |
-## Additional files to include when running 'make dist' | |
-# Include world daemon configuration | |
-EXTRA_DIST = \ | |
- mangosd.conf.dist | |
- | |
-## Additional files to install | |
-sysconf_DATA = \ | |
- mangosd.conf.dist | |
- | |
-install-data-hook: | |
- @list='$(sysconf_DATA)' | |
- for p in $$list; do \ | |
- dest=`echo $$p | sed -e s/.dist//`; \ | |
- if test -f $(DESTDIR)$(sysconfdir)/$$dest; then \ | |
- echo "$@ will not overwrite existing $(DESTDIR)$(sysconfdir)/$$dest"; \ | |
- else \ | |
- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$dest"; \ | |
- $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$dest; \ | |
- fi; \ | |
- done | |
- | |
-clean-local: | |
- rm -f $(sysconf_DATA) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment