From 23b4ff77fa809538aa1db347d5812a3e709f31b1 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Thu, 20 Feb 2014 03:10:06 +0100 Subject: [PATCH] Configure shard patch --- workspace/projects.py | 13 +++- .../shard/data_leveldesign/directories.py | 61 +++++++++++++++++++ workspace/shard/data_leveldesign/process.py | 44 +++++++++++++ 3 files changed, 117 insertions(+), 1 deletion(-) create mode 100644 workspace/shard/data_leveldesign/directories.py create mode 100644 workspace/shard/data_leveldesign/process.py diff --git a/workspace/projects.py b/workspace/projects.py index d6c9c8c..e975c82 100644 --- a/workspace/projects.py +++ b/workspace/projects.py @@ -56,6 +56,7 @@ ProjectsToProcess += [ "common/cfg" ] # Shard specific ProjectsToProcess += [ "shard/data_shard" ] ProjectsToProcess += [ "shard/data_language" ] +ProjectsToProcess += [ "shard/data_leveldesign" ] # Ecosystem projects ProjectsToProcess += [ "ecosystems/desert" ] @@ -76,14 +77,24 @@ InstallShardDataDirectories = [ ] InstallShardDataDirectories += [ "data_game_share" ] InstallShardDataDirectories += [ "data_common" ] InstallShardDataDirectories += [ "data_language" ] +InstallShardDataDirectories += [ "data_leveldesign" ] +InstallShardDataDirectories += [ "data_www" ] # TODO -# [ [ "", [ "", "" ] ] ] target_dir under shard data, source_dir under install +# [ [ "", [ "", "" ] ] ] target_package under shard data, source_file under install +InstallShardDataFiles = [ ] + +# [ [ "", [ "", "" ] ] ] target_package under shard data, source_dir under install InstallShardDataMultiDirectories = [ ] InstallShardDataMultiDirectories += [ [ "cfg", [ ] ] ] InstallShardDataMultiDirectories += [ [ "data_www", [ ] ] ] InstallShardDataMultiDirectories += [ [ "data_newbieland", [ "newbieland_ai", "newbieland_ig", "newbieland_pacs" ] ] ] InstallShardDataMultiDirectories += [ [ "data_indoors", [ "indoors_ai", "indoors_ig", "indoors_pacs" ] ] ] InstallShardDataMultiDirectories += [ [ "data_pacs_prim", [ "desert_pacs_prim", "jungle_pacs_prim", "lacustre_pacs_prim", "primes_racines_pacs_prim" ] ] ] +InstallShardDataMultiDirectories += [ [ "data_r2_desert", [ ] ] ] # TODO +InstallShardDataMultiDirectories += [ [ "data_r2_forest", [ ] ] ] # TODO +InstallShardDataMultiDirectories += [ [ "data_r2_jungle", [ ] ] ] # TODO +InstallShardDataMultiDirectories += [ [ "data_r2_lakes", [ ] ] ] # TODO +InstallShardDataMultiDirectories += [ [ "data_r2_roots", [ ] ] ] # TODO # [ [ "", [ "", "" ] ] ] target_dir under shard data, source_dir under primitives InstallShardDataPrimitivesDirectories = [ ] diff --git a/workspace/shard/data_leveldesign/directories.py b/workspace/shard/data_leveldesign/directories.py new file mode 100644 index 0000000..d342132 --- /dev/null +++ b/workspace/shard/data_leveldesign/directories.py @@ -0,0 +1,61 @@ +#!/usr/bin/python +# +# \file directories.py +# \brief Directories configuration +# \date 2014-02-13 20:32GMT +# \author Jan Boon (Kaetemi) +# Python port of game data build pipeline. +# Directories configuration. +# +# NeL - MMORPG Framework +# Copyright (C) 2014 by authors +# +# 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 * +import os + +# *** COMMON NAMES AND PATHS *** +CommonName = "data_leveldesign" +CommonPath = "shard/" + CommonName + + +# *** DIRECT SOURCE DIRECTORIES *** + +# Copy dir directories +CopyDirectSourceDirectories = [ ] +CopyDirectSourceFiles = [ WorldEditorFilesDirectory + "/world_editor_classes.xml" ] + + +# *** SOURCE DIRECTORIES IN LEVELDESIGN *** +CopyLeveldesignSourceDirectories = [ "DFN" ] +CopyLeveldesignSourceFiles = [ "game_elem/sheet_id.bin", "game_elem/localisation.localisation_table" ] +CopyLeveldesignWorldSourceDirectories = [ ] +CopyLeveldesignWorldSourceFiles = [ "ryzom.light_cycle" ] +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/shard/data_leveldesign/process.py b/workspace/shard/data_leveldesign/process.py new file mode 100644 index 0000000..7c8d412 --- /dev/null +++ b/workspace/shard/data_leveldesign/process.py @@ -0,0 +1,44 @@ +#!/usr/bin/python +# +# \file config.py +# \brief Process configuration +# \date 2014-02-13 20:32GMT +# \author Jan Boon (Kaetemi) +# Python port of game data build pipeline. +# Process configuration. +# +# NeL - MMORPG Framework +# Copyright (C) 2014 by authors +# +# 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_leveldesign" +CommonPath = "shard/" + CommonName + + +# *** PACS PRIM LIST OPTIONS *** + + +# *** COPY DIR OPTIONS *** + +