[iortcw] 67/95: All: Don't include pak_checksums in standalone build
Simon McVittie
smcv at debian.org
Fri Sep 8 10:42:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to tag 1.51
in repository iortcw.
commit 51fe163e6b79af0122cad385d52b4071de9a981d
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date: Thu May 25 11:06:32 2017 -0400
All: Don't include pak_checksums in standalone build
---
MP/code/qcommon/files.c | 2 ++
SP/code/qcommon/files.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/MP/code/qcommon/files.c b/MP/code/qcommon/files.c
index 3ad6a8b..2e9ad2b 100644
--- a/MP/code/qcommon/files.c
+++ b/MP/code/qcommon/files.c
@@ -188,6 +188,7 @@ or configs will never get loaded from disk!
// the easiest way to get it is to just run the game and see what it spits out
//DHM - Nerve :: Wolf Multiplayer demo checksum
// NOTE TTimo: always needs the 'u' for unsigned int (gcc)
+#ifndef STANDALONE
#define DEMO_PAK0_CHECKSUM 2031778175u
static const unsigned int pak_checksums[] = {
@@ -202,6 +203,7 @@ static const unsigned int mppak_checksums[] = {
-137448799u,
2149774797u
};
+#endif
#define MAX_ZPATH 256
#define MAX_SEARCH_PATHS 4096
diff --git a/SP/code/qcommon/files.c b/SP/code/qcommon/files.c
index 260dc95..180628c 100644
--- a/SP/code/qcommon/files.c
+++ b/SP/code/qcommon/files.c
@@ -177,6 +177,7 @@ or configs will never get loaded from disk!
// every time a new demo pk3 file is built, this checksum must be updated.
// the easiest way to get it is to just run the game and see what it spits out
+#ifndef STANDALONE
#define DEMO_PAK0_CHECKSUM 2985661941u
static const unsigned int pak_checksums[] = {
@@ -222,6 +223,7 @@ static const unsigned int sp_sppak_checksums[] = {
// sp_pak4.pk3 from GOTY edition
4131017020u
};
+#endif
// if this is defined, the executable positively won't work with any paks other
// than the demo pak, even if productid is present. This is only used for our
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git
More information about the Pkg-games-commits
mailing list