Rewrite .map extractor
+ extract more useful data
+ add "-f 0" option for disable size/accuracy optimisation
+ Compatability vs 2.4.3 client data
More fast get .map data
Implement fatigue timer
Rewrite breath timer
Allow absorb/resist for lava/slime environmental damage
Need re-extract map for work.
Author: DiSlord
--HG--
branch : trunk
27 lines
990 B
CMake
27 lines
990 B
CMake
# Copyright (C) 2005-2009 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.
|
|
|
|
cmake_minimum_required (VERSION 2.6)
|
|
project (MANGOS_MAP_EXTRACTOR)
|
|
|
|
add_subdirectory (libmpq)
|
|
add_subdirectory (loadlib)
|
|
|
|
include_directories (${MANGOS_MAP_EXTRACTOR_SOURCE_DIR}/libmpq)
|
|
include_directories (${MANGOS_MAP_EXTRACTOR_SOURCE_DIR}/loadlib)
|
|
|
|
link_directories (${MANGOS_MAP_EXTRACTOR_SOURCE_DIR}/libmpq)
|
|
link_directories (${MANGOS_MAP_EXTRACTOR_SOURCE_DIR}/loadlib)
|
|
|
|
add_executable (ad dbcfile.cpp mpq_libmpq.cpp System.cpp)
|
|
|
|
target_link_libraries (ad libmpq)
|
|
target_link_libraries (ad loadlib)
|