From 1a8b3e05a3ce6220f5049264e26ad49a72ed1ba8 Mon Sep 17 00:00:00 2001 From: Gyedo Jeon Date: Mon, 10 Aug 2009 21:05:38 +0000 Subject: [PATCH] Added description for textureswap keyword --- pandatool/src/egg-palettize/eggPalettize.cxx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pandatool/src/egg-palettize/eggPalettize.cxx b/pandatool/src/egg-palettize/eggPalettize.cxx index fcb9c3fe34..d34179c676 100644 --- a/pandatool/src/egg-palettize/eggPalettize.cxx +++ b/pandatool/src/egg-palettize/eggPalettize.cxx @@ -548,6 +548,19 @@ describe_input_file() { "The keyword 'includes' names one or more groups that depend " "on this group.\n\n"); + show_text(" :textureswap groupname texturename0 texturename1 [texturename2 ...]", 10, + "This option builds a set of matching, interchangeable palette images. " + "All palette images in the set share the same internal texture layout. " + "The intention is to be able to swap palette images out at runtime, " + "to replace entire sets of textures on a model in one operation. " + "The textures named by this option indicate the texture images " + "which are similar to each other, and which all should be assigned " + "to the same placement on the different palette images: " + "texturename0 will be assigned to palette image 0, " + "texturename1 to the same position on palette image 1, " + "texturename2 to the same position on palette image 2, and so on. " + "To define a complete palette image, you must repeat this option " + "several times to associate all of the similar texture images.\n\n"); nout << "Comments may appear freely throughout the file, and are set off by a "