This is the changelog for developers, != changelog for the end user
that we distribute with the binaries. (see changelog)
+30/09/2006
+namespace
+- Fixed Etb saving custom tags to global tagfile (Shaderman/namespace)
+- Fixed postbuild step for brushexport, shaderplug and sunplug (Shaderman)
+- Added installersupport for new files and plugins (Shaderman)
+
30/09/2006
namespace
- Added LocalLcPath to plugin interface
Name="VCMIDLTool"/>\r
<Tool\r
Name="VCPostBuildEventTool"\r
- CommandLine="copy "$(TargetPath)" "$(SolutionDir)install\plugins""/>\r
+ CommandLine="copy "$(TargetPath)" "$(SolutionDir)install\plugins"\r
+ copy "$(TargetDir)$(TargetName).pdb" "$(SolutionDir)install\plugins""/>\r
<Tool\r
Name="VCPreBuildEventTool"/>\r
<Tool\r
Name="VCMIDLTool"/>\r
<Tool\r
Name="VCPostBuildEventTool"\r
- CommandLine="copy "$(TargetPath)" "$(SolutionDir)install\plugins""/>\r
+ CommandLine="copy "$(TargetPath)" "$(SolutionDir)install\plugins"\r
+ copy "$(TargetDir)$(TargetName).pdb" "$(SolutionDir)install\plugins""/>\r
<Tool\r
Name="VCPreBuildEventTool"/>\r
<Tool\r
Name="VCMIDLTool"/>\r
<Tool\r
Name="VCPostBuildEventTool"\r
- CommandLine="copy "$(TargetPath)" "$(SolutionDir)install\plugins""/>\r
+ CommandLine="copy "$(TargetPath)" "$(SolutionDir)install\plugins"\r
+ copy "$(TargetDir)$(TargetName).pdb" "$(SolutionDir)install\plugins""/>\r
<Tool\r
Name="VCPreBuildEventTool"/>\r
<Tool\r
Name="VCMIDLTool"/>\r
<Tool\r
Name="VCPostBuildEventTool"\r
- CommandLine="copy "$(TargetPath)" "$(SolutionDir)install\plugins""/>\r
+ CommandLine="copy "$(TargetPath)" "$(SolutionDir)install\plugins"\r
+ copy "$(TargetDir)$(TargetName).pdb" "$(SolutionDir)install\plugins""/>\r
<Tool\r
Name="VCPreBuildEventTool"/>\r
<Tool\r
Name="VCMIDLTool"/>\r
<Tool\r
Name="VCPostBuildEventTool"\r
- CommandLine="copy "$(TargetPath)" "$(SolutionDir)install\plugins""/>\r
+ CommandLine="copy "$(TargetPath)" "$(SolutionDir)install\plugins"\r
+ copy "$(TargetDir)$(TargetName).pdb" "$(SolutionDir)install\plugins""/>\r
<Tool\r
Name="VCPreBuildEventTool"/>\r
<Tool\r
Name="VCMIDLTool"/>\r
<Tool\r
Name="VCPostBuildEventTool"\r
- CommandLine="copy "$(TargetPath)" "$(SolutionDir)install\plugins""/>\r
+ CommandLine="copy "$(TargetPath)" "$(SolutionDir)install\plugins"\r
+ copy "$(TargetDir)$(TargetName).pdb" "$(SolutionDir)install\plugins""/>\r
<Tool\r
Name="VCPreBuildEventTool"/>\r
<Tool\r
}\r
}\r
\r
-bool XmlTagBuilder::OpenXmlDoc(const char* file)\r
+bool XmlTagBuilder::OpenXmlDoc(const char* file, const char* savefile)\r
{\r
/* Reads a XML document from a file\r
\r
returns TRUE if the document was read successfully or FALSE when failed\r
*/\r
\r
- filename = file;\r
+ if(savefile)\r
+ m_savefilename = savefile;\r
+ else\r
+ m_savefilename = file;\r
+ \r
doc = xmlParseFile(file); // TODO error checking!\r
\r
if(!doc)\r
\r
bool XmlTagBuilder::SaveXmlDoc(void)\r
{\r
- return SaveXmlDoc(filename.c_str());\r
+ return SaveXmlDoc(m_savefilename.c_str());\r
}\r
\r
bool XmlTagBuilder::SaveXmlDoc(const char* file)\r
class XmlTagBuilder\r
{\r
private:\r
- CopiedString filename;\r
+ CopiedString m_savefilename;\r
xmlDocPtr doc;\r
xmlXPathContextPtr context;\r
xmlNodeSetPtr nodePtr;\r
~XmlTagBuilder();\r
\r
bool CreateXmlDocument();\r
- bool OpenXmlDoc(const char* file);\r
+ bool OpenXmlDoc(const char* file, const char* savefile = 0);\r
bool SaveXmlDoc(const char* file);\r
bool SaveXmlDoc(void);\r
bool AddShaderNode(const char* shader, TextureType textureType, NodeShaderType nodeShaderType);\r
return true;
}
- globalErrorStream() << "failed to parse build menu: " << makeQuoted(filename);
+ globalErrorStream() << "failed to parse build menu: " << makeQuoted(filename) << "\n";
}
return false;
}
void TextureBrowser_checkTagFile()
{
const char SHADERTAG_FILE[] = "shadertags.xml";
- CopiedString filename;
+ CopiedString default_filename, rc_filename;
StringOutputStream stream(256);
stream << LocalRcPath_get();
stream << SHADERTAG_FILE;
- filename = stream.c_str();
+ rc_filename = stream.c_str();
- if(file_exists(filename.c_str()))
+ if(file_exists(rc_filename.c_str()))
{
- g_TextureBrowser.m_tags = TagBuilder.OpenXmlDoc(filename.c_str());
+ g_TextureBrowser.m_tags = TagBuilder.OpenXmlDoc(rc_filename.c_str());
if(g_TextureBrowser.m_tags)
{
- globalOutputStream() << "Loading tag file " << filename.c_str() << ".\n";
+ globalOutputStream() << "Loading tag file " << rc_filename.c_str() << ".\n";
}
}
else
{
- // default tagfile laden
+ // load default tagfile
stream.clear();
stream << g_pGameDescription->mGameToolsPath.c_str();
stream << SHADERTAG_FILE;
- filename = stream.c_str();
+ default_filename = stream.c_str();
- globalErrorStream() << filename.c_str() << "\n";
-
- if(file_exists(filename.c_str()))
+ if(file_exists(default_filename.c_str()))
{
- g_TextureBrowser.m_tags = TagBuilder.OpenXmlDoc(filename.c_str());
+ g_TextureBrowser.m_tags = TagBuilder.OpenXmlDoc(default_filename.c_str(), rc_filename.c_str());
if(g_TextureBrowser.m_tags)
{
- globalOutputStream() << "Loading default tag file " << filename.c_str() << ".\n";
+ globalOutputStream() << "Loading default tag file " << default_filename.c_str() << ".\n";
}
}
else
{
- globalErrorStream() << "Unable to find default tag file " << filename.c_str() << ". No tag support.\n";
+ globalErrorStream() << "Unable to find default tag file " << default_filename.c_str() << ". No tag support.\n";
}
}
}
<dir name="et.game">
<file name="game.xlink"/>
<file name="default_build_menu.xml"/>
+ <file name="shadertags.xml"/>
<dir name="bitmaps">
<file name="splash.bmp"/>
</dir>
<file name="cap_ibevel.bmp"/>
<file name="cap_iendcap.bmp"/>
<file name="cap_cylinder.bmp"/>
+ <file name="console.bmp"/>
<file name="curve_cap.bmp"/>
<file name="dontselectcurve.bmp"/>
<file name="dontselectmodel.bmp"/>
<file name="ellipsis.bmp"/>
+ <file name="entities.bmp"/>
<file name="file_open.bmp"/>
<file name="file_save.bmp"/>
<file name="icon.bmp"/>
+ <file name="lightinspector.bmp"/>
<file name="logo.bmp"/>
<file name="modify_edges.bmp"/>
<file name="modify_faces.bmp"/>
<file name="select_mouseresize.bmp"/>
<file name="show_entities.bmp"/>
<file name="splash.bmp"/>
+ <file name="texture_browser.bmp"/>
<file name="texture_lock.bmp"/>
<file name="textures_popup.bmp"/>
<file name="view_cameratoggle.bmp"/>
<feature name="PrtView Plugin" desc="Geoffrey Dewan's Portal Viewer">
<component name=".\components\prtview.xml" root="..\..\install"/>
</feature>
+ <feature name="Brush Export Plugin" desc="namespace's Wavefront Brush Export">
+ <component name=".\components\brushexport.xml" root="..\..\install"/>
+ </feature>
+ <feature name="Sunplug Plugin" desc="Topsun's Sunplug for Enemy Territory">
+ <component name=".\components\sunplug.xml" root="..\..\install"/>
+ </feature>
+ <feature name="Shaderplug Plugin" desc="Shaderman's plugin for creating shader tag files">
+ <component name=".\components\shaderplug.xml" root="..\..\install"/>
+ </feature>
<feature name="GtkRadiant Editor Manual" desc="Documentation for GtkRadiant users.">
<component name=".\components\radiant_manual.xml" root="..\..\docs\manual"/>
</feature>