Skip to content

Commit

Permalink
Merge pull request #13 from pvpgn/master
Browse files Browse the repository at this point in the history
Sync
  • Loading branch information
RElesgoe committed May 23, 2016
2 parents 9385d02 + 2461e89 commit 94dc3e6
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ compiler: gcc
before_install:
- sudo apt-get update --fix-missing
- sudo apt-get install build-essential zlib1g-dev libmysqlclient-dev liblua5.1-0-dev
- (cd /tmp && wget http://www.cmake.org/files/v3.3/cmake-3.3.2.tar.gz && tar zxf cmake-3.3.2.tar.gz)
- (cd /tmp/cmake-3.3.2 && cmake . && make && sudo make install) > /dev/null 2>&1
- (cd /tmp && wget --no-check-certificate https://cmake.org/files/v3.4/cmake-3.4.0.tar.gz && tar zxf cmake-3.4.0.tar.gz)
- (cd /tmp/cmake-3.4.0 && cmake . && make && sudo make install) > /dev/null 2>&1
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get -qq update
- sudo apt-get -qq install g++-5
Expand All @@ -24,4 +24,4 @@ script:
- cmake -D WITH_MYSQL=true -D WITH_LUA=true ../
- make
- sudo make install
- sudo make uninstall
- sudo make uninstall
5 changes: 2 additions & 3 deletions ConfigureChecks.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ include(CheckLibraryExists)
include(CheckCXXCompilerFlag)
include(CheckCXXSourceCompiles)
include(CheckMkdirArgs)
include(CheckIncludeFiles)

# setup short variable path names
set(BINDIR ${BIN_INSTALL_DIR})
Expand Down Expand Up @@ -113,9 +114,7 @@ message(STATUS "Checking optional POSIX/required SUS headers")
check_include_file_cxx(sys/timeb.h HAVE_SYS_TIMEB_H)

message(STATUS "Checking FreeBSD-based headers")
if (HAVE_SYS_TYPES_H)
check_include_file_cxx(sys/event.h HAVE_SYS_EVENT_H)
endif()
check_include_files("sys/types.h;sys/event.h" HAVE_SYS_EVENT_H)
check_include_file_cxx(sys/param.h HAVE_SYS_PARAM_H)

message(STATUS "Checking BSD headers")
Expand Down
1 change: 1 addition & 0 deletions conf/supportfile.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

IX86ver1.mpq
ver-ix86-1.mpq
ver-IX86-2.mpq
PMACver1.mpq
XMACver1.mpq
bnserver-D2DV.ini
Expand Down
12 changes: 12 additions & 0 deletions conf/versioncheck.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,18 @@

# -=-=-=-=-=-=- Latest Versions -=-=-=-=-=-=- No Update Required -=-=-=-=-=-=-

# Warcraft III - TFT (Expansion) 1.27a
# Note: this version check is sent in both FT and ROC mode
"B=454282227 C=2370009462 A=2264812340 4 A=A^S B=B-C C=C-A A=A+B" \
ver-IX86-2.mpq \
IX86 \
W3XP \
"war3.exe 02/11/16 22:40:40 514536" \
0x0000001b \
1.27.0.16 \
0x5714f86e \
W3XP_127A

# Warcraft III - TFT (Expansion) 1.26a
# Note: this version check is sent in both FT and ROC mode
"A=3845581634 B=880823580 C=1363937103 4 A=A-S B=B-C C=C-A A=A-B" \
Expand Down
2 changes: 1 addition & 1 deletion files/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/var/ DESTINATION ${LOCALSTATEDIR})

install(FILES ad000001.png ad000001.smk ad000002.mng newbie.save
bnserver.ini bnserver-D2DV.ini bnserver-D2XP.ini bnserver-WAR3.ini
ver-ix86-1.mpq IX86ver1.mpq PMACver1.mpq XMACver1.mpq IX86ExtraWork.mpq
ver-ix86-1.mpq ver-IX86-2.mpq IX86ver1.mpq PMACver1.mpq XMACver1.mpq IX86ExtraWork.mpq
icons.bni icons-WAR3.bni
DESTINATION ${LOCALSTATEDIR}/files)
Binary file added files/ver-IX86-2.mpq
Binary file not shown.

0 comments on commit 94dc3e6

Please sign in to comment.