From 230fb4030521fbe007d86b9caae6d1ee02fe4536 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Fri, 7 Feb 2014 14:54:45 +0100 Subject: [PATCH] Add data_shard build project --- workspace/common/data_common/directories.py | 1 + workspace/common/data_shard/directories.py | 64 +++++++++++++++++++++ workspace/common/data_shard/process.py | 44 ++++++++++++++ workspace/projects.py | 4 ++ 4 files changed, 113 insertions(+) create mode 100644 workspace/common/data_shard/directories.py create mode 100644 workspace/common/data_shard/process.py diff --git a/workspace/common/data_common/directories.py b/workspace/common/data_common/directories.py index 246ab84..f83aca6 100644 --- a/workspace/common/data_common/directories.py +++ b/workspace/common/data_common/directories.py @@ -38,6 +38,7 @@ CommonPath = "common/" + CommonName # Copy dir directories CopyDirectSourceDirectories = [ ] CopyDirectSourceDirectories += [ DataCommonDirectory ] +CopyDirectSourceDirectories += [ LeveldesignDataCommonDirectory ] CopyDirectSourceFiles = [ ] diff --git a/workspace/common/data_shard/directories.py b/workspace/common/data_shard/directories.py new file mode 100644 index 0000000..83fce73 --- /dev/null +++ b/workspace/common/data_shard/directories.py @@ -0,0 +1,64 @@ +#!/usr/bin/python +# +# \file directories.py +# \brief Directories configuration +# \date 2010-08-27 17:13GMT +# \author Jan Boon (Kaetemi) +# \date 2001-2005 +# \author Nevrax +# Python port of game data build pipeline. +# Directories configuration. +# +# NeL - MMORPG Framework +# Copyright (C) 2010 Winch Gate Property Limited +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + +from buildsite import * + +# *** COMMON NAMES AND PATHS *** +CommonName = "data_shard" +CommonPath = "common/" + CommonName + + +# *** DIRECT SOURCE DIRECTORIES *** + +# Copy dir directories +CopyDirectSourceDirectories = [ ] +CopyDirectSourceDirectories += [ DataShardDirectory ] +CopyDirectSourceDirectories += [ LeveldesignDataShardDirectory ] +CopyDirectSourceFiles = [ ] + + +# *** SOURCE DIRECTORIES IN LEVELDESIGN *** +CopyLeveldesignSourceDirectories = [ ] +CopyLeveldesignSourceFiles = [ ] +CopyLeveldesignWorldSourceDirectories = [ ] +CopyLeveldesignWorldSourceFiles = [ ] +CopyLeveldesignDfnSourceDirectories = [ ] +CopyLeveldesignDfnSourceFiles = [ ] + + +# *** SOURCE DIRECTORIES IN THE DATABASE *** + +# Copy dir directories +CopyDatabaseSourceDirectories = [ ] +CopyDatabaseSourceFiles = [ ] + + +# *** INSTALL DIRECTORIES IN THE CLIENT DATA *** + +# Common data install directory +CopyInstallDirectory = CommonName diff --git a/workspace/common/data_shard/process.py b/workspace/common/data_shard/process.py new file mode 100644 index 0000000..54e5e14 --- /dev/null +++ b/workspace/common/data_shard/process.py @@ -0,0 +1,44 @@ +#!/usr/bin/python +# +# \file config.py +# \brief Process configuration +# \date 2010-08-27 17:02GMT +# \author Jan Boon (Kaetemi) +# Python port of game data build pipeline. +# Process configuration. +# +# NeL - MMORPG Framework +# Copyright (C) 2010 Winch Gate Property Limited +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + +# *** PROCESS CONFIGURATION *** + +# *** PROCESS CONFIG *** +ProcessToComplete = [ ] +ProcessToComplete += [ "copy" ] + + +# *** COMMON NAMES AND PATHS *** +CommonName = "data_shard" +CommonPath = "common/" + CommonName + + +# *** PACS PRIM LIST OPTIONS *** + + +# *** COPY DIR OPTIONS *** + + diff --git a/workspace/projects.py b/workspace/projects.py index d5c0007..241e6b6 100644 --- a/workspace/projects.py +++ b/workspace/projects.py @@ -46,6 +46,7 @@ ProjectsToProcess += [ "common/fonts" ] ProjectsToProcess += [ "common/gamedev" ] ProjectsToProcess += [ "common/leveldesign" ] ProjectsToProcess += [ "common/data_common" ] +ProjectsToProcess += [ "common/data_shard" ] ProjectsToProcess += [ "common/exedll" ] ProjectsToProcess += [ "common/cfg" ] @@ -65,7 +66,10 @@ ProjectsToProcess += [ "continents/indoors" ] # Note: must be after other contin InstallShardDataDirectories = [ ] +InstallShardDataDirectories += [ "data_shard" ] +InstallShardDataDirectories += [ "data_common" ] +InstallShardDataCollisionsDirectory = "data_shard/collisions" InstallShardDataCollisionsDirectories = [ ] InstallShardDataCollisionsDirectories += [ "newbieland_ai" ] InstallShardDataCollisionsDirectories += [ "newbieland_ig" ]